ETH Price: $3,956.69 (-0.09%)

Contract

0x76Ce4131eedA1a077aBe601a3Fb8B23182955322

Overview

ETH Balance

0 ETH

ETH Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Send Message Pay...1231324102024-07-24 23:26:37141 days ago1721863597IN
0x76Ce4131...182955322
0.000179088139472 ETH0.0000316114790.06226071
Send Message Pay...1231319422024-07-24 23:11:01141 days ago1721862661IN
0x76Ce4131...182955322
0.000179052389653 ETH0.0000318786390.06259984
Send Message Pay...1231318672024-07-24 23:08:31141 days ago1721862511IN
0x76Ce4131...182955322
0.000113556549245 ETH0.0000324643880.06324061
Send Message Pay...1231318292024-07-24 23:07:15141 days ago1721862435IN
0x76Ce4131...182955322
0.001153344764441 ETH0.000031287370.06196106
Send Message Pay...1230740702024-07-23 15:01:57143 days ago1721746917IN
0x76Ce4131...182955322
0.000254930408778 ETH0.0000319375540.06101371
Send Message Pay...1230427412024-07-22 21:37:39143 days ago1721684259IN
0x76Ce4131...182955322
0.000179779904046 ETH0.0000233244130.0619552
Send Message Pay...1230373202024-07-22 18:36:57143 days ago1721673417IN
0x76Ce4131...182955322
0.000110661963944 ETH0.0000227284810.06153269
Send Message Pay...1230372012024-07-22 18:32:59143 days ago1721673179IN
0x76Ce4131...182955322
0.000166523294098 ETH0.0000309930120.06082144
Send Message Pay...1230371522024-07-22 18:31:21143 days ago1721673081IN
0x76Ce4131...182955322
0.000266523294098 ETH0.00002666070.0610899
Send Message Pay...1230364232024-07-22 18:07:03143 days ago1721671623IN
0x76Ce4131...182955322
0.000112086061764 ETH0.0000315793380.06177821
Send Message Pay...1230362362024-07-22 18:00:49143 days ago1721671249IN
0x76Ce4131...182955322
0.000739345958248 ETH0.0000272379210.06158182
Send Message Pay...1230361312024-07-22 17:57:19143 days ago1721671039IN
0x76Ce4131...182955322
0.000287342526589 ETH0.0000147223230.06067015
Send Message Pay...1230360982024-07-22 17:56:13143 days ago1721670973IN
0x76Ce4131...182955322
0.000287342526589 ETH0.0000146387110.06060218
Send Message Pay...1230264332024-07-22 12:34:03144 days ago1721651643IN
0x76Ce4131...182955322
0.000161906099591 ETH0.0000313140620.06141095
Send Message Pay...1230062212024-07-22 1:20:19144 days ago1721611219IN
0x76Ce4131...182955322
0.26493703807262 ETH0.0000272227530.06092988
Send Message Pay...1229941232024-07-21 18:37:03144 days ago1721587023IN
0x76Ce4131...182955322
0.000275022486929 ETH0.0000339096380.0649842
Send Message Pay...1229940842024-07-21 18:35:45144 days ago1721586945IN
0x76Ce4131...182955322
0.000275022486929 ETH0.0000239330460.06193919
Send Message Pay...1229940442024-07-21 18:34:25144 days ago1721586865IN
0x76Ce4131...182955322
0.000246890396991 ETH0.0000360901180.06462106
Send Message Pay...1229857672024-07-21 13:58:31145 days ago1721570311IN
0x76Ce4131...182955322
0.00016712194827 ETH0.000026769260.06139983
Send Message Pay...1229857112024-07-21 13:56:39145 days ago1721570199IN
0x76Ce4131...182955322
0.000157090218257 ETH0.000032137530.0615777
Send Message Pay...1229707832024-07-21 5:39:03145 days ago1721540343IN
0x76Ce4131...182955322
0.000121800685627 ETH0.0000335131370.06043918
Send Message Pay...1228544862024-07-18 13:02:29148 days ago1721307749IN
0x76Ce4131...182955322
0.001097170883129 ETH0.0000308690920.06082908
Send Message Pay...1228544232024-07-18 13:00:23148 days ago1721307623IN
0x76Ce4131...182955322
0.001097170883129 ETH0.0000309743380.06091495
Send Message Pay...1228285052024-07-17 22:36:27148 days ago1721255787IN
0x76Ce4131...182955322
0.000130028037826 ETH0.0000324005060.0618076
Send Message Pay...1228283422024-07-17 22:31:01148 days ago1721255461IN
0x76Ce4131...182955322
0.000132256234789 ETH0.0000266315980.0608551
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
1234774302024-08-01 23:07:17133 days ago1722553637
0x76Ce4131...182955322
0.000994148832083 ETH
1234774302024-08-01 23:07:17133 days ago1722553637
0x76Ce4131...182955322
0.000994148832083 ETH
1232162592024-07-26 22:01:35139 days ago1722031295
0x76Ce4131...182955322
0.000994311700859 ETH
1232162592024-07-26 22:01:35139 days ago1722031295
0x76Ce4131...182955322
0.000994311700859 ETH
1231324102024-07-24 23:26:37141 days ago1721863597
0x76Ce4131...182955322
0.000029848023245 ETH
1231324102024-07-24 23:26:37141 days ago1721863597
0x76Ce4131...182955322
0.000149240116226 ETH
1231319422024-07-24 23:11:01141 days ago1721862661
0x76Ce4131...182955322
0.000029842064942 ETH
1231319422024-07-24 23:11:01141 days ago1721862661
0x76Ce4131...182955322
0.000149210324711 ETH
1231318672024-07-24 23:08:31141 days ago1721862511
0x76Ce4131...182955322
0.00001892609154 ETH
1231318672024-07-24 23:08:31141 days ago1721862511
0x76Ce4131...182955322
0.000094630457704 ETH
1231318292024-07-24 23:07:15141 days ago1721862435
0x76Ce4131...182955322
0.000192224127406 ETH
1231318292024-07-24 23:07:15141 days ago1721862435
0x76Ce4131...182955322
0.000961120637034 ETH
1230740702024-07-23 15:01:57143 days ago1721746917
0x76Ce4131...182955322
0.000042488401463 ETH
1230740702024-07-23 15:01:57143 days ago1721746917
0x76Ce4131...182955322
0.000212442007315 ETH
1230427412024-07-22 21:37:39143 days ago1721684259
0x76Ce4131...182955322
0.000029963317341 ETH
1230427412024-07-22 21:37:39143 days ago1721684259
0x76Ce4131...182955322
0.000149816586705 ETH
1230373202024-07-22 18:36:57143 days ago1721673417
0x76Ce4131...182955322
0.000018443660657 ETH
1230373202024-07-22 18:36:57143 days ago1721673417
0x76Ce4131...182955322
0.000092218303286 ETH
1230372012024-07-22 18:32:59143 days ago1721673179
0x76Ce4131...182955322
0.000027753882349 ETH
1230372012024-07-22 18:32:59143 days ago1721673179
0x76Ce4131...182955322
0.000138769411748 ETH
1230371522024-07-22 18:31:21143 days ago1721673081
0x76Ce4131...182955322
0.000027753882349 ETH
1230371522024-07-22 18:31:21143 days ago1721673081
0x76Ce4131...182955322
0.000138769411748 ETH
1230371522024-07-22 18:31:21143 days ago1721673081
0x76Ce4131...182955322
0.0001 ETH
1230364232024-07-22 18:07:03143 days ago1721671623
0x76Ce4131...182955322
0.000018681010294 ETH
1230364232024-07-22 18:07:03143 days ago1721671623
0x76Ce4131...182955322
0.00009340505147 ETH
View All Internal Transactions

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CCIP

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license
File 1 of 15 : CCIP.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

import "@openzeppelin/contracts/access/Ownable2Step.sol";
import {IRouterClient} from "@chainlink/contracts-ccip/src/v0.8/ccip/interfaces/IRouterClient.sol";
import {Client} from "@chainlink/contracts-ccip/src/v0.8/ccip/libraries/Client.sol";
import {CCIPReceiver} from "@chainlink/contracts-ccip/src/v0.8/ccip/applications/CCIPReceiver.sol";
import {IERC20} from "@chainlink/contracts-ccip/src/v0.8/vendor/openzeppelin-solidity/v4.8.0/contracts/token/ERC20/IERC20.sol";
import {SafeERC20} from "@chainlink/contracts-ccip/src/v0.8/vendor/openzeppelin-solidity/v4.8.0/contracts/token/ERC20/utils/SafeERC20.sol";
import {EnumerableMap} from "@chainlink/contracts-ccip/src/v0.8/vendor/openzeppelin-solidity/v4.8.0/contracts/utils/structs/EnumerableMap.sol";

library Path {
    using BytesLib for bytes;

    /// @dev The length of the bytes encoded address
    uint256 private constant ADDR_SIZE = 20;
    /// @dev The length of the bytes encoded fee
    uint256 private constant FEE_SIZE = 3;

    /// @dev The offset of a single token address and pool fee
    uint256 private constant NEXT_OFFSET = ADDR_SIZE + FEE_SIZE;
    /// @dev The offset of an encoded pool key
    uint256 private constant POP_OFFSET = NEXT_OFFSET + ADDR_SIZE;
    /// @dev The minimum length of an encoding that contains 2 or more pools
    uint256 private constant MULTIPLE_POOLS_MIN_LENGTH = POP_OFFSET + NEXT_OFFSET;

    /// @notice Returns true iff the path contains two or more pools
    /// @param path The encoded swap path
    /// @return True if path contains two or more pools, otherwise false
    function hasMultiplePools(bytes memory path) internal pure returns (bool) {
        return path.length >= MULTIPLE_POOLS_MIN_LENGTH;
    }

    /// @notice Returns the number of pools in the path
    /// @param path The encoded swap path
    /// @return The number of pools in the path
    function numPools(bytes memory path) internal pure returns (uint256) {
        // Ignore the first token address. From then on every fee and token offset indicates a pool.
        return ((path.length - ADDR_SIZE) / NEXT_OFFSET);
    }

    /// @notice Decodes the first pool in path
    /// @param path The bytes encoded swap path
    /// @return tokenA The first token of the given pool
    /// @return tokenB The second token of the given pool
    /// @return fee The fee level of the pool
    function decodeFirstPool(bytes memory path)
        internal
        pure
        returns (
            address tokenA,
            address tokenB,
            uint24 fee
        )
    {
        tokenA = path.toAddress(0);
        fee = path.toUint24(ADDR_SIZE);
        tokenB = path.toAddress(NEXT_OFFSET);
    }

    /// @notice Gets the segment corresponding to the first pool in the path
    /// @param path The bytes encoded swap path
    /// @return The segment containing all data necessary to target the first pool in the path
    function getFirstPool(bytes memory path) internal pure returns (bytes memory) {
        return path.slice(0, POP_OFFSET);
    }

    /// @notice Skips a token + fee element from the buffer and returns the remainder
    /// @param path The swap path
    /// @return The remaining token + fee elements in the path
    function skipToken(bytes memory path) internal pure returns (bytes memory) {
        return path.slice(NEXT_OFFSET, path.length - NEXT_OFFSET);
    }
}

interface IV3SwapRouter {
    struct ExactInputSingleParams {
        address tokenIn;
        address tokenOut;
        uint24 fee;
        address recipient;
        uint256 amountIn;
        uint256 amountOutMinimum;
        uint160 sqrtPriceLimitX96;
    }
    function exactInputSingle(ExactInputSingleParams calldata params) external payable returns (uint256 amountOut);

    struct ExactInputParams {
        bytes path;
        address recipient;
        uint256 amountIn;
        uint256 amountOutMinimum;
    }
    function exactInput(ExactInputParams calldata params) external payable returns (uint256 amountOut);

    struct ExactOutputSingleParams {
        address tokenIn;
        address tokenOut;
        uint24 fee;
        address recipient;
        uint256 amountOut;
        uint256 amountInMaximum;
        uint160 sqrtPriceLimitX96;
    }
    function exactOutputSingle(ExactOutputSingleParams calldata params) external payable returns (uint256 amountIn);

    struct ExactOutputParams {
        bytes path;
        address recipient;
        uint256 amountOut;
        uint256 amountInMaximum;
    }
    function exactOutput(ExactOutputParams calldata params) external payable returns (uint256 amountIn);

    function uniswapV3SwapCallback(
        int256 amount0Delta,
        int256 amount1Delta,
        bytes calldata data
    ) external;

    function swapExactTokensForTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to
    ) external payable returns (uint256 amountOut);
    function swapTokensForExactTokens(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to
    ) external payable returns (uint256 amountIn);

    function WETH9() external view returns (address);
}

interface IUniswapV2Router02 {
    function WETH() external pure returns (address);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
}

interface IWETH is IERC20 {
    function deposit() external payable;
    function withdraw(uint amount) external;
}

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }
    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

library BytesLib {
    function slice(
        bytes memory _bytes,
        uint256 _start,
        uint256 _length
    ) internal pure returns (bytes memory) {
        require(_length + 31 >= _length, 'slice_overflow');
        require(_start + _length >= _start, 'slice_overflow');
        require(_bytes.length >= _start + _length, 'slice_outOfBounds');

        bytes memory tempBytes;

        assembly {
            switch iszero(_length)
                case 0 {
                    // Get a location of some free memory and store it in tempBytes as
                    // Solidity does for memory variables.
                    tempBytes := mload(0x40)

                    // The first word of the slice result is potentially a partial
                    // word read from the original array. To read it, we calculate
                    // the length of that partial word and start copying that many
                    // bytes into the array. The first word we copy will start with
                    // data we don't care about, but the last `lengthmod` bytes will
                    // land at the beginning of the contents of the new array. When
                    // we're done copying, we overwrite the full first word with
                    // the actual length of the slice.
                    let lengthmod := and(_length, 31)

                    // The multiplication in the next line is necessary
                    // because when slicing multiples of 32 bytes (lengthmod == 0)
                    // the following copy loop was copying the origin's length
                    // and then ending prematurely not copying everything it should.
                    let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod)))
                    let end := add(mc, _length)

                    for {
                        // The multiplication in the next line has the same exact purpose
                        // as the one above.
                        let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start)
                    } lt(mc, end) {
                        mc := add(mc, 0x20)
                        cc := add(cc, 0x20)
                    } {
                        mstore(mc, mload(cc))
                    }

                    mstore(tempBytes, _length)

                    //update free-memory pointer
                    //allocating the array padded to 32 bytes like the compiler does now
                    mstore(0x40, and(add(mc, 31), not(31)))
                }
                //if we want a zero-length slice let's just return a zero-length array
                default {
                    tempBytes := mload(0x40)
                    //zero out the 32 bytes slice we are about to return
                    //we need to do it because Solidity does not garbage collect
                    mstore(tempBytes, 0)

                    mstore(0x40, add(tempBytes, 0x20))
                }
        }

        return tempBytes;
    }

    function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) {
        require(_start + 20 >= _start, 'toAddress_overflow');
        require(_bytes.length >= _start + 20, 'toAddress_outOfBounds');
        address tempAddress;

        assembly {
            tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000)
        }

        return tempAddress;
    }

    function toUint24(bytes memory _bytes, uint256 _start) internal pure returns (uint24) {
        require(_start + 3 >= _start, 'toUint24_overflow');
        require(_bytes.length >= _start + 3, 'toUint24_outOfBounds');
        uint24 tempUint;

        assembly {
            tempUint := mload(add(add(_bytes, 0x3), _start))
        }

        return tempUint;
    }
}

/// @title - A simple messenger contract for transferring/receiving tokens and data across chains.
/// @dev - This example shows how to recover tokens in case of revert
contract CCIP is CCIPReceiver, Ownable2Step {
    using EnumerableMap for EnumerableMap.Bytes32ToUintMap;
    using SafeERC20 for IERC20;
    using BytesLib for bytes;
    using Path for bytes; // Using Path library for bytes


    // Custom errors to provide more descriptive revert messages.
    error NotEnoughBalance(uint256 currentBalance, uint256 calculatedFees); // Used to make sure contract has enough balance to cover the fees.
    error NothingToWithdraw(); // Used when trying to withdraw Ether but there's nothing to withdraw.
    error FailedToWithdrawEth(address owner, address target, uint256 value); // Used when the withdrawal of Ether fails.
    error DestinationChainNotAllowlisted(uint64 destinationChainSelector); // Used when the destination chain has not been allowlisted by the contract owner.
    error SourceChainNotAllowed(uint64 sourceChainSelector); // Used when the source chain has not been allowlisted by the contract owner.
    error SenderNotAllowed(address sender); // Used when the sender has not been allowlisted by the contract owner.
    error InvalidReceiverAddress(); // Used when the receiver address is 0.
    error OnlySelf(); // Used when a function is called outside of the contract itself.
    error MessageNotFailed(bytes32 messageId);
    error FailedCall(); // Used when transfer function is failed.
    error InvalidMessage();

    // Example error code, could have many different error codes.
    enum ErrorCode {
        // RESOLVED is first so that the default value is resolved.
        RESOLVED,
        // Could have any number of error codes here.
        FAILED
    }

    struct FailedMessage {
        bytes32 messageId;
        ErrorCode errorCode;
    }

    struct FailedMessagesUsers {
        address token;
        address receiver;
        uint256 amount;
        bool isRedeemed;
        bytes32 messageId;
    }

    struct AddressNumber {
        address user;
        uint256 index;
    }

    // Event emitted when a message is sent to another chain.
    event MessageSent(
        bytes32 indexed messageId, // The unique ID of the CCIP message.
        uint64 indexed destinationChainSelector, // The chain selector of the destination chain.
        address receiver, // The address of the receiver on the destination chain.
        string text, // The text being sent.
        address token, // The token address that was transferred.
        uint256 tokenAmount, // The token amount that was transferred.
        address feeToken, // the token address used to pay CCIP fees.
        uint256 fees // The fees paid for sending the message.
    );

    // Event emitted when a message is received from another chain.
    event MessageReceived(
        bytes32 indexed messageId, // The unique ID of the CCIP message.
        uint64 indexed sourceChainSelector, // The chain selector of the source chain.
        address sender, // The address of the sender from the source chain.
        string text, // The text that was received.
        address token, // The token address that was transferred.
        uint256 tokenAmount // The token amount that was transferred.
    );

    event MessageFailed(bytes32 indexed messageId, bytes reason);
    event MessageRecovered(bytes32 indexed messageId);
    event TimeLockActivated(uint256 indexed time);

    bytes32 private s_lastReceivedMessageId; // Store the last received messageId.
    address private s_lastReceivedTokenAddress; // Store the last received token address.
    uint256 private s_lastReceivedTokenAmount; // Store the last received amount.
    string private s_lastReceivedText; // Store the last received text.

    // Mapping to keep track of allowlisted destination chains.
    mapping(uint64 => bool) public allowlistedDestinationChains;

    // Mapping to keep track of allowlisted source chains.
    mapping(uint64 => bool) public allowlistedSourceChains;

    // Mapping to keep track of allowlisted senders.
    mapping(address => bool) public allowlistedSenders;

    IERC20 private immutable s_linkToken;
    address public immutable weth;
    address public immutable usdc;

    // The message contents of failed messages are stored here.
    mapping(bytes32 messageId => Client.Any2EVMMessage contents) public s_messageContents;

    // User => FailedMessagesUsers[]
    mapping (address => FailedMessagesUsers[]) public failedMessagesUsers;
    // MessageId => (address, number)
    mapping (bytes32 => AddressNumber) public failedMessageByMessageId;

    // Contains failed messages and their state.
    EnumerableMap.Bytes32ToUintMap internal s_failedMessages;
    IV3SwapRouter public v3Router;
    IUniswapV2Router02 public v2Router;
    uint256 public swapFee; // Fee must be by 1000, so if you want 5% this will be 5000
    address public feeReceiver;
    uint256 public constant maxFee = 20000; // Max fee is 20%
    uint256 public constant feeBps = 1000; // 1000 is 1% so we can have many decimals
    uint256 public timeLockTime;

    /// @notice Constructor initializes the contract with the router address.
    /// @param _router The address of the router contract.
    /// @param _link The address of the link contract.
    constructor(
        address _router,
        address _link,
        address _usdc,
        address _v3Router, 
        address _v2Router,
        uint256 _swapFee,
        address _feeReceiver,
        address _owner
    ) CCIPReceiver(_router) Ownable(_owner) {
        s_linkToken = IERC20(_link);
        v3Router = IV3SwapRouter(_v3Router);
        v2Router = IUniswapV2Router02(_v2Router);
        usdc = _usdc;
        weth = v3Router.WETH9();
        swapFee = _swapFee;
        feeReceiver = _feeReceiver;
    }

    /// @dev Modifier that checks if the chain with the given destinationChainSelector is allowlisted.
    /// @param _destinationChainSelector The selector of the destination chain.
    modifier onlyAllowlistedDestinationChain(uint64 _destinationChainSelector) {
        if (!allowlistedDestinationChains[_destinationChainSelector])
            revert DestinationChainNotAllowlisted(_destinationChainSelector);
        _;
    }

    /// @dev Modifier that checks if the chain with the given sourceChainSelector is allowlisted and if the sender is allowlisted.
    /// @param _sourceChainSelector The selector of the destination chain.
    /// @param _sender The address of the sender.
    modifier onlyAllowlisted(uint64 _sourceChainSelector, address _sender) {
        if (!allowlistedSourceChains[_sourceChainSelector])
            revert SourceChainNotAllowed(_sourceChainSelector);
        if (!allowlistedSenders[_sender]) revert SenderNotAllowed(_sender);
        _;
    }

    /// @dev Modifier that checks the receiver address is not 0.
    /// @param _receiver The receiver address.
    modifier validateReceiver(address _receiver) {
        if (_receiver == address(0)) revert InvalidReceiverAddress();
        _;
    }

    /// @dev Modifier to allow only the contract itself to execute a function.
    /// Throws an exception if called by any account other than the contract itself.
    modifier onlySelf() {
        if (msg.sender != address(this)) revert OnlySelf();
        _;
    }

    function activateTimelock() external onlyOwner {
        timeLockTime = block.timestamp + 48 hours;
        emit TimeLockActivated(timeLockTime);
    }
    
    function transferOwnership(address newOwner) public override onlyOwner {
        require(timeLockTime > 0 && block.timestamp > timeLockTime, "Timelocked");
        timeLockTime = 0; // Reset it

        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

    function changeFeeAndAddress(uint256 _fee, address _feeReceiver) external onlyOwner {
        require(timeLockTime > 0 && block.timestamp > timeLockTime, "Timelocked");
        timeLockTime = 0; // Reset it

        require(_fee < maxFee, "Max fee exceeded");
        swapFee = _fee;
        feeReceiver = _feeReceiver;
    }

    function changeRouters(address _v2Router, address _v3Router) external onlyOwner {
        require(timeLockTime > 0 && block.timestamp > timeLockTime, "Timelocked");
        timeLockTime = 0; // Reset it

        v3Router = IV3SwapRouter(_v3Router);
        v2Router = IUniswapV2Router02(_v2Router);
    }

    /// @dev Updates the allowlist status of a destination chain for transactions.
    /// @notice This function can only be called by the owner.
    /// @param _destinationChainSelector The selector of the destination chain to be updated.
    /// @param allowed The allowlist status to be set for the destination chain.
    function allowlistDestinationChain(
        uint64 _destinationChainSelector,
        bool allowed
    ) external onlyOwner {
        allowlistedDestinationChains[_destinationChainSelector] = allowed;
    }

    /// @dev Updates the allowlist status of a source chain
    /// @notice This function can only be called by the owner.
    /// @param _sourceChainSelector The selector of the source chain to be updated.
    /// @param allowed The allowlist status to be set for the source chain.
    function allowlistSourceChain(
        uint64 _sourceChainSelector,
        bool allowed
    ) external onlyOwner {
        allowlistedSourceChains[_sourceChainSelector] = allowed;
    }

    /// @dev Updates the allowlist status of a sender for transactions.
    /// @notice This function can only be called by the owner.
    /// @param _sender The address of the sender to be updated.
    /// @param allowed The allowlist status to be set for the sender.
    function allowlistSender(address _sender, bool allowed) external onlyOwner {
        allowlistedSenders[_sender] = allowed;
    }

    /// @notice Sends data and transfer tokens to receiver on the destination chain.
    /// @notice Pay for fees in LINK.
    /// @dev Assumes your contract has sufficient LINK to pay for CCIP fees.
    /// @param _destinationChainSelector The identifier (aka selector) for the destination blockchain.
    /// @param _receiver The address of the recipient on the destination blockchain.
    /// @param _text The string data to be sent.
    /// @param _token token address.
    /// @param _amount token amount.
    /// @return messageId The ID of the CCIP message that was sent.
    function sendMessagePayLINK(
        uint64 _destinationChainSelector,
        address _receiver,
        string memory _text,
        address _token,
        uint256 _amount,
        uint256 _gasLimitReceiver
    )
        internal
        onlyAllowlistedDestinationChain(_destinationChainSelector)
        validateReceiver(_receiver)
        returns (bytes32 messageId)
    {
        // Create an EVM2AnyMessage struct in memory with necessary information for sending a cross-chain message
        // address(linkToken) means fees are paid in LINK
        Client.EVM2AnyMessage memory evm2AnyMessage = _buildCCIPMessage(
            _receiver,
            _text,
            _token,
            _amount,
            address(s_linkToken),
            _gasLimitReceiver
        );

        // Initialize a router client instance to interact with cross-chain router
        IRouterClient router = IRouterClient(this.getRouter());

        // Get the fee required to send the CCIP message
        uint256 fees = router.getFee(_destinationChainSelector, evm2AnyMessage);

        // Revert invalid message if the fee is zero
         if (fees == 0) 
            revert InvalidMessage();


        if (fees > s_linkToken.balanceOf(address(this)))
            revert NotEnoughBalance(s_linkToken.balanceOf(address(this)), fees);

        // approve the Router to transfer LINK tokens on contract's behalf. It will spend the fees in LINK
        s_linkToken.approve(address(router), fees);

        // approve the Router to spend tokens on contract's behalf. It will spend the amount of the given token
        checkAndApproveAll(_token, address(router), _amount);

        // Send the message through the router and store the returned message ID
        messageId = router.ccipSend(_destinationChainSelector, evm2AnyMessage);

        // Refund any excess LINK tokens to the user
        refundExcessLink(fees);

        // Emit an event with message details
        emit MessageSent(
            messageId,
            _destinationChainSelector,
            _receiver,
            _text,
            _token,
            _amount,
            address(s_linkToken),
            fees
        );

        // Return the message ID
        return messageId;
    }

    /// @notice Refunds any excess LINK tokens to the sender.
    /// @dev This function calculates the difference between the remaining LINK balance and the fees, then transfers any excess back to the sender.
    /// @param fees The amount of LINK tokens used for the transaction fees.
    function refundExcessLink(uint256 fees) internal {
        uint256 remainingLinkBalance = s_linkToken.balanceOf(address(this));
        uint256 excessLink = remainingLinkBalance - fees;

        if (excessLink > 0) {
            s_linkToken.transfer(msg.sender, excessLink);
        }
    }

    /// @notice Sends data and transfer tokens to receiver on the destination chain.
    /// @notice Pay for fees in native gas.
    /// @dev Assumes your contract has sufficient native gas like ETH on Ethereum or MATIC on Polygon.
    /// @param _destinationChainSelector The identifier (aka selector) for the destination blockchain.
    /// @param _receiver The address of the recipient on the destination blockchain.
    /// @param _text The string data to be sent.
    /// @param _token token address.
    /// @param _amount token amount.
    /// @return messageId The ID of the CCIP message that was sent.
    function sendMessagePayNative(
        uint64 _destinationChainSelector,
        address _receiver,
        string memory _text,
        address _token,
        uint256 _amount,
        uint256 _gasLimitReceiver
    )
        internal
        onlyAllowlistedDestinationChain(_destinationChainSelector)
        validateReceiver(_receiver)
        returns (bytes32 messageId)
    {
        // Create an EVM2AnyMessage struct in memory with necessary information for sending a cross-chain message
        // address(0) means fees are paid in native gas
        Client.EVM2AnyMessage memory evm2AnyMessage = _buildCCIPMessage(
            _receiver,
            _text,
            _token,
            _amount,
            address(0),
            _gasLimitReceiver
        );

        // Initialize a router client instance to interact with cross-chain router
        IRouterClient router = IRouterClient(this.getRouter());

        // Get the fee required to send the CCIP message
        uint256 fees = router.getFee(_destinationChainSelector, evm2AnyMessage);

        // Revert invalid message if the fee is zero
         if (fees == 0) 
            revert InvalidMessage();

        if (fees > address(this).balance)
            revert NotEnoughBalance(address(this).balance, fees);

        // approve the Router to spend tokens on contract's behalf. It will spend the amount of the given token
        checkAndApproveAll(_token, address(router), _amount);
        
        // Send the message through the router and store the returned message ID
        messageId = router.ccipSend{value: fees}(
            _destinationChainSelector,
            evm2AnyMessage
        );

        // payable(msg.sender).transfer(address(this).balance); // Refund the remaining msg.value
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        if(!success) {
            revert FailedCall();
        }
        // Emit an event with message details
        emit MessageSent(
            messageId,
            _destinationChainSelector,
            _receiver,
            _text,
            _token,
            _amount,
            address(0),
            fees
        );

        // Return the message ID
        return messageId;
    }


    /*** My functions ***/
    struct ReceiverSwapData {
        address finalToken;
        address userReceiver;
        uint256 minAmountOut;
        uint256 minAmountOutV2Swap;
        bool isV2;
        bool unwrapETH;
        bytes path;
        address[] v2Path;
    }
    struct InitialSwapData {
        address tokenIn;   // Token you're sending for a crosschain swap
        uint256 amountIn;  // For the token you send
        uint256 minAmountOutV2Swap;  // For the token you send
        uint256 minAmountOutV3Swap;
        bool swapTokenInV2First; // Can be true = swap to v2 or false = swap to v3 towards WETH then we do WETH to USDC in v3, this will be false if the path is weth
        bool unwrappedETH; // Users may want to use WETH directly instead of ETH
        bytes v3InitialSwap; // This is the path for token to USDC can be just WETH to USDC or TOKEN to WETH to USDC
    }
    // All it does is encode the parameters and convert that bytes into string for the transfer and executes the right function
    /// swapTokenInV2First Is used to determine how we get USDC. USDC is always at V3, meaning we gotta go from token -v2 or v3-> ETH -v3-> USDC
    /*
        a. If the token is USDC we don't swap it at all and just send it
        b. If the token is a v2 token, swap it for weth first, then swap the weth for USDC (using _v3InitialSwap)
        c. If the token is a v3 token, swap it for weth and for USDC in the same router (using _v3InitialSwap)
    */

    

    /**
     * @notice Extracts the last token address from a given Uniswap V3 path.
     * @param _path The bytes array representing the encoded Uniswap V3 swap path.
     * @return The address of the last token in the path.
     */
    function getLastAddressPath(bytes memory _path) public pure returns (address) {
        // Get the number of pools in the path. Each pool represents a swap step.
        uint256 pools = _path.numPools();
        
        // Declare a variable to store the last token address.
        address last;
        
        // Loop through each pool in the path to decode the tokens.
        for (uint256 i = 0; i < pools; i++) {
            // Decode the first pool in the path to get the output token of the pool.
            // The decodeFirstPool function returns the input token, fee, and output token.
            (, address tokenOut,) = _path.decodeFirstPool();
            
            // Update the last token address with the output token of the current pool.
            last = tokenOut;
            
            // Skip to the next pool in the path by removing the already decoded pool data.
            _path = _path.skipToken();
        }
        
        // Return the last token address in the path.
        return last;
    }


    // Approves from this to the target contract unlimited tokens
    function checkAndApproveAll(address _token, address _target, uint256 _amountToCheck) internal {
        if (IERC20(_token).allowance(address(this), _target) < _amountToCheck) {
            IERC20(_token).safeApprove(_target, 0);
            IERC20(_token).safeApprove(_target, ~uint256(0));
        }
    }

    function swapInitialData(
        InitialSwapData memory _initialSwapData
    ) internal returns(uint256 USDCOut) {
        if (_initialSwapData.tokenIn == usdc) {
            // Step a)
            USDCOut = _initialSwapData.amountIn;
        } else {
            // Step b)
            if (_initialSwapData.swapTokenInV2First) {
                require(_initialSwapData.tokenIn != weth, "Token in must not be WETH");
                checkAndApproveAll(_initialSwapData.tokenIn, address(v2Router), _initialSwapData.amountIn);

                // Swap ReceiverSwapData.finalToken to ETH via V2, then to USDC via uniswap V3
                address[] memory path = new address[](2);
                path[0] = _initialSwapData.tokenIn;
                path[1] = weth;
                uint256 wethBalanceBefore = IERC20(weth).balanceOf(address(this));
                v2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(
                    _initialSwapData.amountIn,
                    _initialSwapData.minAmountOutV2Swap,
                    path,
                    address(this),
                    block.timestamp + 1 hours
                );
                uint256 wethBalanceAfter = IERC20(weth).balanceOf(address(this));
                uint256 wethOut = wethBalanceAfter - wethBalanceBefore;
                _initialSwapData.amountIn = wethOut; // This is updated for the next step
                checkAndApproveAll(weth, address(v3Router), wethOut);
            } else {
                checkAndApproveAll(_initialSwapData.tokenIn, address(v3Router), _initialSwapData.amountIn);
            }
            // Step c)
            uint256 beforeSendingUsdc = IERC20(usdc).balanceOf(address(this));
            IV3SwapRouter.ExactInputParams memory params = IV3SwapRouter.ExactInputParams(
                _initialSwapData.v3InitialSwap, address(this), _initialSwapData.amountIn, _initialSwapData.minAmountOutV3Swap
            );

            // Swap ReceiverSwapData.finalToken to ETH via V3, then to USDC via uniswap V3
            USDCOut = v3Router.exactInput( params );

            uint256 afterSendingUsdc = IERC20(usdc).balanceOf(address(this));
            require(afterSendingUsdc > beforeSendingUsdc, "Must swap into USDC");
        }
        // Send the fee
        uint256 feeAmount = USDCOut * swapFee / (feeBps * 100);
        IERC20(usdc).safeTransfer(feeReceiver, feeAmount);
        USDCOut = USDCOut - feeAmount;
    }

    // The token that will be crossed is always USDC
    function sendMessagePayFirstStep(
        uint64 _destinationChainSelector,
        address _receiverCCIPInOtherChain,
        uint256 _gasLimitReceiver, // How much gas the receiver will have to work with
        bool _isLinkOrNative,   // True = LINK, false = Native
        InitialSwapData calldata _initialSwapData,
        ReceiverSwapData calldata _receiverSwapData
    )
        external
        payable
        returns (bytes32 messageId)
    {
        require(allowlistedSenders[_receiverCCIPInOtherChain], "Must be a valid destination address");
        // Create a memory copy of the InitialSwapData struct
        InitialSwapData memory initialSwapData = _initialSwapData;
        if (!_initialSwapData.unwrappedETH && _initialSwapData.tokenIn == weth) {
            IWETH(weth).deposit{value: msg.value - _initialSwapData.amountIn}(); // _initialSwapData.amountIn will be the CCIP fee when using eth
            initialSwapData.amountIn = msg.value - initialSwapData.amountIn;
        } else {
            // To take into consideration transfer fees
            uint256 beforeSending = IERC20(_initialSwapData.tokenIn).balanceOf(address(this));
            IERC20(_initialSwapData.tokenIn).safeTransferFrom(msg.sender, address(this), _initialSwapData.amountIn);
            uint256 afterSending = IERC20(_initialSwapData.tokenIn).balanceOf(address(this));
            initialSwapData.amountIn = afterSending - beforeSending;
        }
        address outputToken = getLastAddressPath(initialSwapData.v3InitialSwap);
        require(outputToken == usdc, 'Must swap to USDC');
        uint256 USDCOut = swapInitialData(initialSwapData);

        if (_isLinkOrNative) {
            return sendMessagePayLINK(
                _destinationChainSelector,
                _receiverCCIPInOtherChain,
                string(abi.encode(
                    _receiverSwapData
                )),
                usdc,
                USDCOut,
                _gasLimitReceiver
            );
        } else {
            return sendMessagePayNative(
                _destinationChainSelector,
                _receiverCCIPInOtherChain,
                string(abi.encode(
                    _receiverSwapData
                )),
                usdc,
                USDCOut,
                _gasLimitReceiver
            );
        }
    }

    function calculateFeeGas(
        uint64 _destinationChainSelector,
        address _receiver,
        address _token,
        uint256 _amount,
        uint256 _gasLimitReceiver,
        bool _payInLINK,
        ReceiverSwapData memory _receiverSwapData
    ) external view returns (uint256 fees) {
        // Create an EVM2AnyMessage struct in memory with necessary information for sending a cross-chain message
        // address(0) means fees are paid in native gas
        Client.EVM2AnyMessage memory evm2AnyMessage = _buildCCIPMessage(
            _receiver,
            string(abi.encode(_receiverSwapData)),
            _token,
            _amount,
            _payInLINK ? address(s_linkToken) : address(0),
            _gasLimitReceiver
        );
        // Initialize a router client instance to interact with cross-chain router
        IRouterClient router = IRouterClient(this.getRouter());
        // Get the fee required to send the CCIP message
        fees = router.getFee(_destinationChainSelector, evm2AnyMessage);
    }
    /*** My functions ***/


    /**
     * @notice Returns the details of the last CCIP received message.
     * @dev This function retrieves the ID, text, token address, and token amount of the last received CCIP message.
     * @return messageId The ID of the last received CCIP message.
     * @return text The text of the last received CCIP message.
     * @return tokenAddress The address of the token in the last CCIP received message.
     * @return tokenAmount The amount of the token in the last CCIP received message.
     */
    function getLastReceivedMessageDetails()
        public
        view
        returns (
            bytes32 messageId,
            string memory text,
            address tokenAddress,
            uint256 tokenAmount
        )
    {
        return (
            s_lastReceivedMessageId,
            s_lastReceivedText,
            s_lastReceivedTokenAddress,
            s_lastReceivedTokenAmount
        );
    }

    /**
     * @notice Retrieves a paginated list of failed messages.
     * @dev This function returns a subset of failed messages defined by `offset` and `limit` parameters. It ensures that the pagination parameters are within the bounds of the available data set.
     * @param offset The index of the first failed message to return, enabling pagination by skipping a specified number of messages from the start of the dataset.
     * @param limit The maximum number of failed messages to return, restricting the size of the returned array.
     * @return failedMessages An array of `FailedMessage` struct, each containing a `messageId` and an `errorCode` (RESOLVED or FAILED), representing the requested subset of failed messages. The length of the returned array is determined by the `limit` and the total number of failed messages.
     */
    function getFailedMessages(
        uint256 offset,
        uint256 limit
    ) external view returns (FailedMessage[] memory) {
        uint256 length = s_failedMessages.length();

        // Calculate the actual number of items to return (can't exceed total length or requested limit)
        uint256 returnLength = (offset + limit > length)
            ? length - offset
            : limit;
        FailedMessage[] memory failedMessages = new FailedMessage[](
            returnLength
        );

        // Adjust loop to respect pagination (start at offset, end at offset + limit or total length)
        for (uint256 i = 0; i < returnLength; i++) {
            (bytes32 messageId, uint256 errorCode) = s_failedMessages.at(
                offset + i
            );
            failedMessages[i] = FailedMessage(messageId, ErrorCode(errorCode));
        }
        return failedMessages;
    }

    /// @notice The entrypoint for the CCIP router to call. This function should
    /// never revert, all errors should be handled internally in this contract.
    /// @param any2EvmMessage The message to process.
    /// @dev Extremely important to ensure only router calls this.
    function ccipReceive(
        Client.Any2EVMMessage calldata any2EvmMessage
    )
        external
        override
        onlyRouter
        onlyAllowlisted(
            any2EvmMessage.sourceChainSelector,
            abi.decode(any2EvmMessage.sender, (address))
        ) // Make sure the source chain and sender are allowlisted
    {
        /* solhint-disable no-empty-blocks */
        try this.processMessage(any2EvmMessage) {
            // Intentionally empty in this example; no action needed if processMessage succeeds
        } catch (bytes memory err) {
            // Could set different error codes based on the caught error. Each could be
            // handled differently.
            s_failedMessages.set(
                any2EvmMessage.messageId,
                uint256(ErrorCode.FAILED)
            );
            s_messageContents[any2EvmMessage.messageId] = any2EvmMessage;

            /*- My code -*/
            string memory text = abi.decode(any2EvmMessage.data, (string)); // abi-decoding of the sent text
            ReceiverSwapData memory receiverData = abi.decode(bytes(text), (ReceiverSwapData));
            failedMessagesUsers[receiverData.userReceiver].push(FailedMessagesUsers(
                usdc,
                receiverData.userReceiver,
                any2EvmMessage.destTokenAmounts[0].amount,
                false,
                any2EvmMessage.messageId
            ));
            failedMessageByMessageId[any2EvmMessage.messageId] = AddressNumber(
                receiverData.userReceiver, failedMessagesUsers[receiverData.userReceiver].length);
            /*- My code -*/
            
            // Don't revert so CCIP doesn't revert. Emit event instead.
            // The message can be retried later without having to do manual execution of CCIP.
            emit MessageFailed(any2EvmMessage.messageId, err);
            return;
        }
    }

    /// @notice Serves as the entry point for this contract to process incoming messages.
    /// @param any2EvmMessage Received CCIP message.
    /// @dev Transfers specified token amounts to the owner of this contract. This function
    /// must be external because of the  try/catch for error handling.
    /// It uses the `onlySelf`: can only be called from the contract.
    function processMessage(
        Client.Any2EVMMessage calldata any2EvmMessage
    )
        external
        onlySelf
    {
        _ccipReceive(any2EvmMessage); // process the message - may revert as well
    }

    /// @notice Allows the owner to retry a failed message in order to unblock the associated tokens.
    /// @param messageId The unique identifier of the failed message.
    /// @param tokenReceiver The address to which the tokens will be sent.
    /// @dev This function is only callable by the contract owner. It changes the status of the message
    /// from 'failed' to 'resolved' to prevent reentry and multiple retries of the same message.
    function retryFailedMessage(
        bytes32 messageId,
        address tokenReceiver,
        uint256 index
    ) external onlyOwner {
        // Check if the message has failed; if not, revert the transaction.
        if (s_failedMessages.get(messageId) != uint256(ErrorCode.FAILED))
            revert MessageNotFailed(messageId);

        // Set the error code to RESOLVED to disallow reentry and multiple retries of the same failed message.
        s_failedMessages.set(messageId, uint256(ErrorCode.RESOLVED));

        /*- My code -*/
        require(!failedMessagesUsers[tokenReceiver][index].isRedeemed, "Already redeemed");
        failedMessagesUsers[tokenReceiver][index].isRedeemed = true;
        /*- My code -*/

        // Retrieve the content of the failed message.
        Client.Any2EVMMessage storage message = s_messageContents[messageId];

        // This example expects one token to have been sent, but you can handle multiple tokens.
        // Transfer the associated tokens to the specified receiver as an escape hatch.
        IERC20(message.destTokenAmounts[0].token).safeTransfer(
            tokenReceiver,
            message.destTokenAmounts[0].amount
        );

        // Emit an event indicating that the message has been recovered.
        emit MessageRecovered(messageId);
    }

    /*
        1. First we swap the USDC for ETH in v3
        2. Then we check if the token we want is in v3 or v2, and swap that ETH for the token in the right uni swap
    */
    function _ccipReceive(
        Client.Any2EVMMessage memory any2EvmMessage
    ) internal override {
        s_lastReceivedMessageId = any2EvmMessage.messageId; // fetch the messageId
        s_lastReceivedText = abi.decode(any2EvmMessage.data, (string)); // abi-decoding of the sent text
        // Expect one token to be transferred at once, but you can transfer several tokens.
        s_lastReceivedTokenAddress = any2EvmMessage.destTokenAmounts[0].token;
        s_lastReceivedTokenAmount = any2EvmMessage.destTokenAmounts[0].amount;
        emit MessageReceived(
            any2EvmMessage.messageId,
            any2EvmMessage.sourceChainSelector, // fetch the source chain identifier (aka selector)
            abi.decode(any2EvmMessage.sender, (address)), // abi-decoding of the sender address,
            abi.decode(any2EvmMessage.data, (string)),
            any2EvmMessage.destTokenAmounts[0].token,
            any2EvmMessage.destTokenAmounts[0].amount
        );

        ReceiverSwapData memory receiverData = abi.decode(bytes(s_lastReceivedText), (ReceiverSwapData));
        if (receiverData.finalToken == usdc) {
            return IERC20(usdc).safeTransfer(receiverData.userReceiver, s_lastReceivedTokenAmount);
        }

        // 1. Swap USDC to ETH (and/or final token) on v3
        IERC20(usdc).approve(address(v3Router), s_lastReceivedTokenAmount);
        IV3SwapRouter.ExactInputParams memory params = IV3SwapRouter.ExactInputParams(
            receiverData.path, 
            receiverData.isV2 || receiverData.unwrapETH ? address(this) : receiverData.userReceiver,
            s_lastReceivedTokenAmount, receiverData.minAmountOut
        );
        uint256 wethOrFinalTokenOut = v3Router.exactInput(params);

        // 2. Swap ETH to token in V2
        if (receiverData.isV2) { // If it's v2, the previous swap have given us weth for this next swap
            IERC20(weth).approve(address(v2Router), wethOrFinalTokenOut);
            v2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(
                wethOrFinalTokenOut,
                receiverData.minAmountOutV2Swap,
                receiverData.v2Path,
                receiverData.unwrapETH ? address(this) : receiverData.userReceiver,
                block.timestamp + 1 hours
            );
        }

        if (receiverData.unwrapETH) { // Get ETH at the end
            uint256 wethBalance = IERC20(weth).balanceOf(address(this));
            IWETH(weth).withdraw(wethBalance);
            // payable(receiverData.userReceiver).transfer(address(this).balance);
            (bool success, ) = receiverData.userReceiver.call{value: address(this).balance}("");
            if(!success) {
                revert FailedCall();
            }
        }
    }


    /// @notice Construct a CCIP message.
    /// @dev This function will create an EVM2AnyMessage struct with all the necessary information for programmable tokens transfer.
    /// @param _receiver The address of the receiver.
    /// @param _text The string data to be sent.
    /// @param _token The token to be transferred.
    /// @param _amount The amount of the token to be transferred.
    /// @param _feeTokenAddress The address of the token used for fees. Set address(0) for native gas.
    /// @return Client.EVM2AnyMessage Returns an EVM2AnyMessage struct which contains information for sending a CCIP message.
    function _buildCCIPMessage(
        address _receiver,
        string memory _text,
        address _token,
        uint256 _amount,
        address _feeTokenAddress,
        uint256 _gasLimitReceiver
    ) internal pure returns (Client.EVM2AnyMessage memory) {
        // Set the token amounts
        Client.EVMTokenAmount[]
            memory tokenAmounts = new Client.EVMTokenAmount[](1);
        Client.EVMTokenAmount memory tokenAmount = Client.EVMTokenAmount({
            token: _token,
            amount: _amount
        });
        tokenAmounts[0] = tokenAmount;
        // Create an EVM2AnyMessage struct in memory with necessary information for sending a cross-chain message
        Client.EVM2AnyMessage memory evm2AnyMessage = Client.EVM2AnyMessage({
            receiver: abi.encode(_receiver), // ABI-encoded receiver address
            data: abi.encode(_text), // ABI-encoded string
            tokenAmounts: tokenAmounts, // The amount and type of token being transferred
            extraArgs: Client._argsToBytes(
                // Additional arguments, setting gas limit
                Client.EVMExtraArgsV1({gasLimit: _gasLimitReceiver})
            ),
            // Set the feeToken to a feeTokenAddress, indicating specific asset will be used for fees
            feeToken: _feeTokenAddress
        });
        return evm2AnyMessage;
    }

    /// @notice Fallback function to allow the contract to receive Ether.
    /// @dev This function has no function body, making it a default function for receiving Ether.
    /// It is automatically called when Ether is sent to the contract without any data.
    receive() external payable {}

    /// @notice Allows the contract owner to withdraw the entire balance of Ether from the contract.
    /// @dev This function reverts if there are no funds to withdraw or if the transfer fails.
    /// It should only be callable by the owner of the contract.
    /// @param _beneficiary The address to which the Ether should be sent.
    function withdraw(address _beneficiary) public onlyOwner {
        require(timeLockTime > 0 && block.timestamp > timeLockTime, "Timelocked");
        timeLockTime = 0; // Reset it

        // Retrieve the balance of this contract
        uint256 amount = address(this).balance;

        // Revert if there is nothing to withdraw
        if (amount == 0) revert NothingToWithdraw();

        // Attempt to send the funds, capturing the success status and discarding any return data
        (bool sent, ) = _beneficiary.call{value: amount}("");

        // Revert if the send failed, with information about the attempted transfer
        if (!sent) revert FailedToWithdrawEth(msg.sender, _beneficiary, amount);
    }

    /// @notice Allows the owner of the contract to withdraw all tokens of a specific ERC20 token.
    /// @dev This function reverts with a 'NothingToWithdraw' error if there are no tokens to withdraw.
    /// @param _beneficiary The address to which the tokens will be sent.
    /// @param _token The contract address of the ERC20 token to be withdrawn.
    function withdrawToken(
        address _beneficiary,
        address _token
    ) public onlyOwner {
        require(timeLockTime > 0 && block.timestamp > timeLockTime, "Timelocked");
        timeLockTime = 0; // Reset the timelock time to ensure the mechanism is valid for future withdrawals

        // Retrieve the balance of this contract
        uint256 amount = IERC20(_token).balanceOf(address(this));

        // Revert if there is nothing to withdraw
        if (amount == 0) revert NothingToWithdraw();

        IERC20(_token).safeTransfer(_beneficiary, amount);
    }

    /*- My functions -*/
    function recoverFailedTransfer(
        address tokenReceiver,
        uint256 index
    ) external {
        FailedMessagesUsers storage f = failedMessagesUsers[tokenReceiver][index];
        require(!f.isRedeemed, "Already redeemed");
        f.isRedeemed = true;
        require(msg.sender == f.receiver, "Must be executed by the receiver");

        // Check if the message has failed; if not, revert the transaction.
        if (s_failedMessages.get(f.messageId) != uint256(ErrorCode.FAILED))
            revert MessageNotFailed(f.messageId);

        // Set the error code to RESOLVED to disallow reentry and multiple retries of the same failed message.
        s_failedMessages.set(f.messageId, uint256(ErrorCode.RESOLVED));

        // This example expects one token to have been sent, but you can handle multiple tokens.
        // Transfer the associated tokens to the specified receiver as an escape hatch.
        IERC20(f.token).safeTransfer(
            tokenReceiver,
            f.amount
        );

        // Emit an event indicating that the message has been recovered.
        emit MessageRecovered(f.messageId);
    }

    function getFailedMessagesUser(
        address _user,
        uint256 _offset,
        uint256 _limit
    ) external view returns (FailedMessagesUsers[] memory) {
        FailedMessagesUsers[] memory results = new FailedMessagesUsers[](_limit);
        for (uint256 i = 0; i < _limit; i++) {
            results[i] = failedMessagesUsers[_user][_offset+i];
        }
        return results;
    }

    function getLengthFailedMessagesUser(address _user) external view returns (uint256) {
        uint256 size = failedMessagesUsers[_user].length;
        return size;
    }

    function getFailedMessageByMessageId(bytes32 _messageId) external view returns (FailedMessagesUsers memory) {
        AddressNumber storage an = failedMessageByMessageId[_messageId];
        return failedMessagesUsers[an.user][an.index];
    }
    /*- My functions -*/
}

File 2 of 15 : EnumerableMap.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableMap.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableMap.js.

pragma solidity ^0.8.0;

import "./EnumerableSet.sol";

/**
 * @dev Library for managing an enumerable variant of Solidity's
 * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]
 * type.
 *
 * Maps have the following properties:
 *
 * - Entries are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Entries are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableMap for EnumerableMap.UintToAddressMap;
 *
 *     // Declare a set state variable
 *     EnumerableMap.UintToAddressMap private myMap;
 * }
 * ```
 *
 * The following map types are supported:
 *
 * - `uint256 -> address` (`UintToAddressMap`) since v3.0.0
 * - `address -> uint256` (`AddressToUintMap`) since v4.6.0
 * - `bytes32 -> bytes32` (`Bytes32ToBytes32Map`) since v4.6.0
 * - `uint256 -> uint256` (`UintToUintMap`) since v4.7.0
 * - `bytes32 -> uint256` (`Bytes32ToUintMap`) since v4.7.0
 *
 * [WARNING]
 * ====
 * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
 * unusable.
 * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 * In order to clean an EnumerableMap, you can either remove all elements one by one or create a fresh instance using an
 * array of EnumerableMap.
 * ====
 */
library EnumerableMap {
  using EnumerableSet for EnumerableSet.Bytes32Set;

  // To implement this library for multiple types with as little code
  // repetition as possible, we write it in terms of a generic Map type with
  // bytes32 keys and values.
  // The Map implementation uses private functions, and user-facing
  // implementations (such as Uint256ToAddressMap) are just wrappers around
  // the underlying Map.
  // This means that we can only create new EnumerableMaps for types that fit
  // in bytes32.

  struct Bytes32ToBytes32Map {
    // Storage of keys
    EnumerableSet.Bytes32Set _keys;
    mapping(bytes32 => bytes32) _values;
  }

  /**
   * @dev Adds a key-value pair to a map, or updates the value for an existing
   * key. O(1).
   *
   * Returns true if the key was added to the map, that is if it was not
   * already present.
   */
  function set(
    Bytes32ToBytes32Map storage map,
    bytes32 key,
    bytes32 value
  ) internal returns (bool) {
    map._values[key] = value;
    return map._keys.add(key);
  }

  /**
   * @dev Removes a key-value pair from a map. O(1).
   *
   * Returns true if the key was removed from the map, that is if it was present.
   */
  function remove(Bytes32ToBytes32Map storage map, bytes32 key) internal returns (bool) {
    delete map._values[key];
    return map._keys.remove(key);
  }

  /**
   * @dev Returns true if the key is in the map. O(1).
   */
  function contains(Bytes32ToBytes32Map storage map, bytes32 key) internal view returns (bool) {
    return map._keys.contains(key);
  }

  /**
   * @dev Returns the number of key-value pairs in the map. O(1).
   */
  function length(Bytes32ToBytes32Map storage map) internal view returns (uint256) {
    return map._keys.length();
  }

  /**
   * @dev Returns the key-value pair stored at position `index` in the map. O(1).
   *
   * Note that there are no guarantees on the ordering of entries inside the
   * array, and it may change when more entries are added or removed.
   *
   * Requirements:
   *
   * - `index` must be strictly less than {length}.
   */
  function at(Bytes32ToBytes32Map storage map, uint256 index) internal view returns (bytes32, bytes32) {
    bytes32 key = map._keys.at(index);
    return (key, map._values[key]);
  }

  /**
   * @dev Tries to returns the value associated with `key`. O(1).
   * Does not revert if `key` is not in the map.
   */
  function tryGet(Bytes32ToBytes32Map storage map, bytes32 key) internal view returns (bool, bytes32) {
    bytes32 value = map._values[key];
    if (value == bytes32(0)) {
      return (contains(map, key), bytes32(0));
    } else {
      return (true, value);
    }
  }

  /**
   * @dev Returns the value associated with `key`. O(1).
   *
   * Requirements:
   *
   * - `key` must be in the map.
   */
  function get(Bytes32ToBytes32Map storage map, bytes32 key) internal view returns (bytes32) {
    bytes32 value = map._values[key];
    require(value != 0 || contains(map, key), "EnumerableMap: nonexistent key");
    return value;
  }

  /**
   * @dev Same as {get}, with a custom error message when `key` is not in the map.
   *
   * CAUTION: This function is deprecated because it requires allocating memory for the error
   * message unnecessarily. For custom revert reasons use {tryGet}.
   */
  function get(
    Bytes32ToBytes32Map storage map,
    bytes32 key,
    string memory errorMessage
  ) internal view returns (bytes32) {
    bytes32 value = map._values[key];
    require(value != 0 || contains(map, key), errorMessage);
    return value;
  }

  // UintToUintMap

  struct UintToUintMap {
    Bytes32ToBytes32Map _inner;
  }

  /**
   * @dev Adds a key-value pair to a map, or updates the value for an existing
   * key. O(1).
   *
   * Returns true if the key was added to the map, that is if it was not
   * already present.
   */
  function set(
    UintToUintMap storage map,
    uint256 key,
    uint256 value
  ) internal returns (bool) {
    return set(map._inner, bytes32(key), bytes32(value));
  }

  /**
   * @dev Removes a value from a set. O(1).
   *
   * Returns true if the key was removed from the map, that is if it was present.
   */
  function remove(UintToUintMap storage map, uint256 key) internal returns (bool) {
    return remove(map._inner, bytes32(key));
  }

  /**
   * @dev Returns true if the key is in the map. O(1).
   */
  function contains(UintToUintMap storage map, uint256 key) internal view returns (bool) {
    return contains(map._inner, bytes32(key));
  }

  /**
   * @dev Returns the number of elements in the map. O(1).
   */
  function length(UintToUintMap storage map) internal view returns (uint256) {
    return length(map._inner);
  }

  /**
   * @dev Returns the element stored at position `index` in the set. O(1).
   * Note that there are no guarantees on the ordering of values inside the
   * array, and it may change when more values are added or removed.
   *
   * Requirements:
   *
   * - `index` must be strictly less than {length}.
   */
  function at(UintToUintMap storage map, uint256 index) internal view returns (uint256, uint256) {
    (bytes32 key, bytes32 value) = at(map._inner, index);
    return (uint256(key), uint256(value));
  }

  /**
   * @dev Tries to returns the value associated with `key`. O(1).
   * Does not revert if `key` is not in the map.
   */
  function tryGet(UintToUintMap storage map, uint256 key) internal view returns (bool, uint256) {
    (bool success, bytes32 value) = tryGet(map._inner, bytes32(key));
    return (success, uint256(value));
  }

  /**
   * @dev Returns the value associated with `key`. O(1).
   *
   * Requirements:
   *
   * - `key` must be in the map.
   */
  function get(UintToUintMap storage map, uint256 key) internal view returns (uint256) {
    return uint256(get(map._inner, bytes32(key)));
  }

  /**
   * @dev Same as {get}, with a custom error message when `key` is not in the map.
   *
   * CAUTION: This function is deprecated because it requires allocating memory for the error
   * message unnecessarily. For custom revert reasons use {tryGet}.
   */
  function get(
    UintToUintMap storage map,
    uint256 key,
    string memory errorMessage
  ) internal view returns (uint256) {
    return uint256(get(map._inner, bytes32(key), errorMessage));
  }

  // UintToAddressMap

  struct UintToAddressMap {
    Bytes32ToBytes32Map _inner;
  }

  /**
   * @dev Adds a key-value pair to a map, or updates the value for an existing
   * key. O(1).
   *
   * Returns true if the key was added to the map, that is if it was not
   * already present.
   */
  function set(
    UintToAddressMap storage map,
    uint256 key,
    address value
  ) internal returns (bool) {
    return set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));
  }

  /**
   * @dev Removes a value from a set. O(1).
   *
   * Returns true if the key was removed from the map, that is if it was present.
   */
  function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {
    return remove(map._inner, bytes32(key));
  }

  /**
   * @dev Returns true if the key is in the map. O(1).
   */
  function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {
    return contains(map._inner, bytes32(key));
  }

  /**
   * @dev Returns the number of elements in the map. O(1).
   */
  function length(UintToAddressMap storage map) internal view returns (uint256) {
    return length(map._inner);
  }

  /**
   * @dev Returns the element stored at position `index` in the set. O(1).
   * Note that there are no guarantees on the ordering of values inside the
   * array, and it may change when more values are added or removed.
   *
   * Requirements:
   *
   * - `index` must be strictly less than {length}.
   */
  function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {
    (bytes32 key, bytes32 value) = at(map._inner, index);
    return (uint256(key), address(uint160(uint256(value))));
  }

  /**
   * @dev Tries to returns the value associated with `key`. O(1).
   * Does not revert if `key` is not in the map.
   */
  function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {
    (bool success, bytes32 value) = tryGet(map._inner, bytes32(key));
    return (success, address(uint160(uint256(value))));
  }

  /**
   * @dev Returns the value associated with `key`. O(1).
   *
   * Requirements:
   *
   * - `key` must be in the map.
   */
  function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {
    return address(uint160(uint256(get(map._inner, bytes32(key)))));
  }

  /**
   * @dev Same as {get}, with a custom error message when `key` is not in the map.
   *
   * CAUTION: This function is deprecated because it requires allocating memory for the error
   * message unnecessarily. For custom revert reasons use {tryGet}.
   */
  function get(
    UintToAddressMap storage map,
    uint256 key,
    string memory errorMessage
  ) internal view returns (address) {
    return address(uint160(uint256(get(map._inner, bytes32(key), errorMessage))));
  }

  // AddressToUintMap

  struct AddressToUintMap {
    Bytes32ToBytes32Map _inner;
  }

  /**
   * @dev Adds a key-value pair to a map, or updates the value for an existing
   * key. O(1).
   *
   * Returns true if the key was added to the map, that is if it was not
   * already present.
   */
  function set(
    AddressToUintMap storage map,
    address key,
    uint256 value
  ) internal returns (bool) {
    return set(map._inner, bytes32(uint256(uint160(key))), bytes32(value));
  }

  /**
   * @dev Removes a value from a set. O(1).
   *
   * Returns true if the key was removed from the map, that is if it was present.
   */
  function remove(AddressToUintMap storage map, address key) internal returns (bool) {
    return remove(map._inner, bytes32(uint256(uint160(key))));
  }

  /**
   * @dev Returns true if the key is in the map. O(1).
   */
  function contains(AddressToUintMap storage map, address key) internal view returns (bool) {
    return contains(map._inner, bytes32(uint256(uint160(key))));
  }

  /**
   * @dev Returns the number of elements in the map. O(1).
   */
  function length(AddressToUintMap storage map) internal view returns (uint256) {
    return length(map._inner);
  }

  /**
   * @dev Returns the element stored at position `index` in the set. O(1).
   * Note that there are no guarantees on the ordering of values inside the
   * array, and it may change when more values are added or removed.
   *
   * Requirements:
   *
   * - `index` must be strictly less than {length}.
   */
  function at(AddressToUintMap storage map, uint256 index) internal view returns (address, uint256) {
    (bytes32 key, bytes32 value) = at(map._inner, index);
    return (address(uint160(uint256(key))), uint256(value));
  }

  /**
   * @dev Tries to returns the value associated with `key`. O(1).
   * Does not revert if `key` is not in the map.
   */
  function tryGet(AddressToUintMap storage map, address key) internal view returns (bool, uint256) {
    (bool success, bytes32 value) = tryGet(map._inner, bytes32(uint256(uint160(key))));
    return (success, uint256(value));
  }

  /**
   * @dev Returns the value associated with `key`. O(1).
   *
   * Requirements:
   *
   * - `key` must be in the map.
   */
  function get(AddressToUintMap storage map, address key) internal view returns (uint256) {
    return uint256(get(map._inner, bytes32(uint256(uint160(key)))));
  }

  /**
   * @dev Same as {get}, with a custom error message when `key` is not in the map.
   *
   * CAUTION: This function is deprecated because it requires allocating memory for the error
   * message unnecessarily. For custom revert reasons use {tryGet}.
   */
  function get(
    AddressToUintMap storage map,
    address key,
    string memory errorMessage
  ) internal view returns (uint256) {
    return uint256(get(map._inner, bytes32(uint256(uint160(key))), errorMessage));
  }

  // Bytes32ToUintMap

  struct Bytes32ToUintMap {
    Bytes32ToBytes32Map _inner;
  }

  /**
   * @dev Adds a key-value pair to a map, or updates the value for an existing
   * key. O(1).
   *
   * Returns true if the key was added to the map, that is if it was not
   * already present.
   */
  function set(
    Bytes32ToUintMap storage map,
    bytes32 key,
    uint256 value
  ) internal returns (bool) {
    return set(map._inner, key, bytes32(value));
  }

  /**
   * @dev Removes a value from a set. O(1).
   *
   * Returns true if the key was removed from the map, that is if it was present.
   */
  function remove(Bytes32ToUintMap storage map, bytes32 key) internal returns (bool) {
    return remove(map._inner, key);
  }

  /**
   * @dev Returns true if the key is in the map. O(1).
   */
  function contains(Bytes32ToUintMap storage map, bytes32 key) internal view returns (bool) {
    return contains(map._inner, key);
  }

  /**
   * @dev Returns the number of elements in the map. O(1).
   */
  function length(Bytes32ToUintMap storage map) internal view returns (uint256) {
    return length(map._inner);
  }

  /**
   * @dev Returns the element stored at position `index` in the set. O(1).
   * Note that there are no guarantees on the ordering of values inside the
   * array, and it may change when more values are added or removed.
   *
   * Requirements:
   *
   * - `index` must be strictly less than {length}.
   */
  function at(Bytes32ToUintMap storage map, uint256 index) internal view returns (bytes32, uint256) {
    (bytes32 key, bytes32 value) = at(map._inner, index);
    return (key, uint256(value));
  }

  /**
   * @dev Tries to returns the value associated with `key`. O(1).
   * Does not revert if `key` is not in the map.
   */
  function tryGet(Bytes32ToUintMap storage map, bytes32 key) internal view returns (bool, uint256) {
    (bool success, bytes32 value) = tryGet(map._inner, key);
    return (success, uint256(value));
  }

  /**
   * @dev Returns the value associated with `key`. O(1).
   *
   * Requirements:
   *
   * - `key` must be in the map.
   */
  function get(Bytes32ToUintMap storage map, bytes32 key) internal view returns (uint256) {
    return uint256(get(map._inner, key));
  }

  /**
   * @dev Same as {get}, with a custom error message when `key` is not in the map.
   *
   * CAUTION: This function is deprecated because it requires allocating memory for the error
   * message unnecessarily. For custom revert reasons use {tryGet}.
   */
  function get(
    Bytes32ToUintMap storage map,
    bytes32 key,
    string memory errorMessage
  ) internal view returns (uint256) {
    return uint256(get(map._inner, key, errorMessage));
  }
}

File 3 of 15 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/draft-IERC20Permit.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
  using Address for address;

  function safeTransfer(IERC20 token, address to, uint256 value) internal {
    _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
  }

  function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
    _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
  }

  /**
   * @dev Deprecated. This function has issues similar to the ones found in
   * {IERC20-approve}, and its usage is discouraged.
   *
   * Whenever possible, use {safeIncreaseAllowance} and
   * {safeDecreaseAllowance} instead.
   */
  function safeApprove(IERC20 token, address spender, uint256 value) internal {
    // safeApprove should only be called when setting an initial allowance,
    // or when resetting it to zero. To increase and decrease it, use
    // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
    require(
      (value == 0) || (token.allowance(address(this), spender) == 0),
      "SafeERC20: approve from non-zero to non-zero allowance"
    );
    _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
  }

  function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
    uint256 newAllowance = token.allowance(address(this), spender) + value;
    _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
  }

  function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
    unchecked {
      uint256 oldAllowance = token.allowance(address(this), spender);
      require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
      uint256 newAllowance = oldAllowance - value;
      _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }
  }

  function safePermit(
    IERC20Permit token,
    address owner,
    address spender,
    uint256 value,
    uint256 deadline,
    uint8 v,
    bytes32 r,
    bytes32 s
  ) internal {
    uint256 nonceBefore = token.nonces(owner);
    token.permit(owner, spender, value, deadline, v, r, s);
    uint256 nonceAfter = token.nonces(owner);
    require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
  }

  /**
   * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
   * on the return value: the return value is optional (but if data is returned, it must not be false).
   * @param token The token targeted by the call.
   * @param data The call data (encoded using abi.encode or one of its variants).
   */
  function _callOptionalReturn(IERC20 token, bytes memory data) private {
    // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
    // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
    // the target address contains contract code and also asserts for success in the low-level call.

    bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
    if (returndata.length > 0) {
      // Return data is optional
      require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
    }
  }
}

File 4 of 15 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
  /**
   * @dev Emitted when `value` tokens are moved from one account (`from`) to
   * another (`to`).
   *
   * Note that `value` may be zero.
   */
  event Transfer(address indexed from, address indexed to, uint256 value);

  /**
   * @dev Emitted when the allowance of a `spender` for an `owner` is set by
   * a call to {approve}. `value` is the new allowance.
   */
  event Approval(address indexed owner, address indexed spender, uint256 value);

  /**
   * @dev Returns the amount of tokens in existence.
   */
  function totalSupply() external view returns (uint256);

  /**
   * @dev Returns the amount of tokens owned by `account`.
   */
  function balanceOf(address account) external view returns (uint256);

  /**
   * @dev Moves `amount` tokens from the caller's account to `to`.
   *
   * Returns a boolean value indicating whether the operation succeeded.
   *
   * Emits a {Transfer} event.
   */
  function transfer(address to, uint256 amount) external returns (bool);

  /**
   * @dev Returns the remaining number of tokens that `spender` will be
   * allowed to spend on behalf of `owner` through {transferFrom}. This is
   * zero by default.
   *
   * This value changes when {approve} or {transferFrom} are called.
   */
  function allowance(address owner, address spender) external view returns (uint256);

  /**
   * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
   *
   * Returns a boolean value indicating whether the operation succeeded.
   *
   * IMPORTANT: Beware that changing an allowance with this method brings the risk
   * that someone may use both the old and the new allowance by unfortunate
   * transaction ordering. One possible solution to mitigate this race
   * condition is to first reduce the spender's allowance to 0 and set the
   * desired value afterwards:
   * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
   *
   * Emits an {Approval} event.
   */
  function approve(address spender, uint256 amount) external returns (bool);

  /**
   * @dev Moves `amount` tokens from `from` to `to` using the
   * allowance mechanism. `amount` is then deducted from the caller's
   * allowance.
   *
   * Returns a boolean value indicating whether the operation succeeded.
   *
   * Emits a {Transfer} event.
   */
  function transferFrom(address from, address to, uint256 amount) external returns (bool);
}

File 5 of 15 : CCIPReceiver.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import {IAny2EVMMessageReceiver} from "../interfaces/IAny2EVMMessageReceiver.sol";

import {Client} from "../libraries/Client.sol";

import {IERC165} from "../../vendor/openzeppelin-solidity/v4.8.0/contracts/utils/introspection/IERC165.sol";

/// @title CCIPReceiver - Base contract for CCIP applications that can receive messages.
abstract contract CCIPReceiver is IAny2EVMMessageReceiver, IERC165 {
  address internal immutable i_router;

  constructor(address router) {
    if (router == address(0)) revert InvalidRouter(address(0));
    i_router = router;
  }

  /// @notice IERC165 supports an interfaceId
  /// @param interfaceId The interfaceId to check
  /// @return true if the interfaceId is supported
  /// @dev Should indicate whether the contract implements IAny2EVMMessageReceiver
  /// e.g. return interfaceId == type(IAny2EVMMessageReceiver).interfaceId || interfaceId == type(IERC165).interfaceId
  /// This allows CCIP to check if ccipReceive is available before calling it.
  /// If this returns false or reverts, only tokens are transferred to the receiver.
  /// If this returns true, tokens are transferred and ccipReceive is called atomically.
  /// Additionally, if the receiver address does not have code associated with
  /// it at the time of execution (EXTCODESIZE returns 0), only tokens will be transferred.
  function supportsInterface(bytes4 interfaceId) public pure virtual override returns (bool) {
    return interfaceId == type(IAny2EVMMessageReceiver).interfaceId || interfaceId == type(IERC165).interfaceId;
  }

  /// @inheritdoc IAny2EVMMessageReceiver
  function ccipReceive(Client.Any2EVMMessage calldata message) external virtual override onlyRouter {
    _ccipReceive(message);
  }

  /// @notice Override this function in your implementation.
  /// @param message Any2EVMMessage
  function _ccipReceive(Client.Any2EVMMessage memory message) internal virtual;

  /////////////////////////////////////////////////////////////////////
  // Plumbing
  /////////////////////////////////////////////////////////////////////

  /// @notice Return the current router
  /// @return i_router address
  function getRouter() public view returns (address) {
    return address(i_router);
  }

  error InvalidRouter(address router);

  /// @dev only calls from the set router are accepted.
  modifier onlyRouter() {
    if (msg.sender != address(i_router)) revert InvalidRouter(msg.sender);
    _;
  }
}

File 6 of 15 : Client.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

// End consumer library.
library Client {
  /// @dev RMN depends on this struct, if changing, please notify the RMN maintainers.
  struct EVMTokenAmount {
    address token; // token address on the local chain.
    uint256 amount; // Amount of tokens.
  }

  struct Any2EVMMessage {
    bytes32 messageId; // MessageId corresponding to ccipSend on source.
    uint64 sourceChainSelector; // Source chain selector.
    bytes sender; // abi.decode(sender) if coming from an EVM chain.
    bytes data; // payload sent in original message.
    EVMTokenAmount[] destTokenAmounts; // Tokens and their amounts in their destination chain representation.
  }

  // If extraArgs is empty bytes, the default is 200k gas limit.
  struct EVM2AnyMessage {
    bytes receiver; // abi.encode(receiver address) for dest EVM chains
    bytes data; // Data payload
    EVMTokenAmount[] tokenAmounts; // Token transfers
    address feeToken; // Address of feeToken. address(0) means you will send msg.value.
    bytes extraArgs; // Populate this with _argsToBytes(EVMExtraArgsV1)
  }

  // bytes4(keccak256("CCIP EVMExtraArgsV1"));
  bytes4 public constant EVM_EXTRA_ARGS_V1_TAG = 0x97a657c9;
  struct EVMExtraArgsV1 {
    uint256 gasLimit;
  }

  function _argsToBytes(EVMExtraArgsV1 memory extraArgs) internal pure returns (bytes memory bts) {
    return abi.encodeWithSelector(EVM_EXTRA_ARGS_V1_TAG, extraArgs);
  }
}

File 7 of 15 : IRouterClient.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import {Client} from "../libraries/Client.sol";

interface IRouterClient {
  error UnsupportedDestinationChain(uint64 destChainSelector);
  error InsufficientFeeTokenAmount();
  error InvalidMsgValue();

  /// @notice Checks if the given chain ID is supported for sending/receiving.
  /// @param chainSelector The chain to check.
  /// @return supported is true if it is supported, false if not.
  function isChainSupported(uint64 chainSelector) external view returns (bool supported);

  /// @notice Gets a list of all supported tokens which can be sent or received
  /// to/from a given chain id.
  /// @param chainSelector The chainSelector.
  /// @return tokens The addresses of all tokens that are supported.
  function getSupportedTokens(uint64 chainSelector) external view returns (address[] memory tokens);

  /// @param destinationChainSelector The destination chainSelector
  /// @param message The cross-chain CCIP message including data and/or tokens
  /// @return fee returns execution fee for the message
  /// delivery to destination chain, denominated in the feeToken specified in the message.
  /// @dev Reverts with appropriate reason upon invalid message.
  function getFee(
    uint64 destinationChainSelector,
    Client.EVM2AnyMessage memory message
  ) external view returns (uint256 fee);

  /// @notice Request a message to be sent to the destination chain
  /// @param destinationChainSelector The destination chain ID
  /// @param message The cross-chain CCIP message including data and/or tokens
  /// @return messageId The message ID
  /// @dev Note if msg.value is larger than the required fee (from getFee) we accept
  /// the overpayment with no refund.
  /// @dev Reverts with appropriate reason upon invalid message.
  function ccipSend(
    uint64 destinationChainSelector,
    Client.EVM2AnyMessage calldata message
  ) external payable returns (bytes32);
}

File 8 of 15 : Ownable2Step.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable2Step.sol)

pragma solidity ^0.8.20;

import {Ownable} from "./Ownable.sol";

/**
 * @dev Contract module which provides access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * The initial owner is specified at deployment time in the constructor for `Ownable`. This
 * can later be changed with {transferOwnership} and {acceptOwnership}.
 *
 * This module is used through inheritance. It will make available all functions
 * from parent (Ownable).
 */
abstract contract Ownable2Step is Ownable {
    address private _pendingOwner;

    event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Returns the address of the pending owner.
     */
    function pendingOwner() public view virtual returns (address) {
        return _pendingOwner;
    }

    /**
     * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual override onlyOwner {
        _pendingOwner = newOwner;
        emit OwnershipTransferStarted(owner(), newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual override {
        delete _pendingOwner;
        super._transferOwnership(newOwner);
    }

    /**
     * @dev The new owner accepts the ownership transfer.
     */
    function acceptOwnership() public virtual {
        address sender = _msgSender();
        if (pendingOwner() != sender) {
            revert OwnableUnauthorizedAccount(sender);
        }
        _transferOwnership(sender);
    }
}

File 9 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * The initial owner is set to the address provided by the deployer. This can
 * later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 10 of 15 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
 * unusable.
 * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
 * array of EnumerableSet.
 * ====
 */
library EnumerableSet {
  // To implement this library for multiple types with as little code
  // repetition as possible, we write it in terms of a generic Set type with
  // bytes32 values.
  // The Set implementation uses private functions, and user-facing
  // implementations (such as AddressSet) are just wrappers around the
  // underlying Set.
  // This means that we can only create new EnumerableSets for types that fit
  // in bytes32.

  struct Set {
    // Storage of set values
    bytes32[] _values;
    // Position of the value in the `values` array, plus 1 because index 0
    // means a value is not in the set.
    mapping(bytes32 => uint256) _indexes;
  }

  /**
   * @dev Add a value to a set. O(1).
   *
   * Returns true if the value was added to the set, that is if it was not
   * already present.
   */
  function _add(Set storage set, bytes32 value) private returns (bool) {
    if (!_contains(set, value)) {
      set._values.push(value);
      // The value is stored at length-1, but we add 1 to all indexes
      // and use 0 as a sentinel value
      set._indexes[value] = set._values.length;
      return true;
    } else {
      return false;
    }
  }

  /**
   * @dev Removes a value from a set. O(1).
   *
   * Returns true if the value was removed from the set, that is if it was
   * present.
   */
  function _remove(Set storage set, bytes32 value) private returns (bool) {
    // We read and store the value's index to prevent multiple reads from the same storage slot
    uint256 valueIndex = set._indexes[value];

    if (valueIndex != 0) {
      // Equivalent to contains(set, value)
      // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
      // the array, and then remove the last element (sometimes called as 'swap and pop').
      // This modifies the order of the array, as noted in {at}.

      uint256 toDeleteIndex = valueIndex - 1;
      uint256 lastIndex = set._values.length - 1;

      if (lastIndex != toDeleteIndex) {
        bytes32 lastValue = set._values[lastIndex];

        // Move the last value to the index where the value to delete is
        set._values[toDeleteIndex] = lastValue;
        // Update the index for the moved value
        set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
      }

      // Delete the slot where the moved value was stored
      set._values.pop();

      // Delete the index for the deleted slot
      delete set._indexes[value];

      return true;
    } else {
      return false;
    }
  }

  /**
   * @dev Returns true if the value is in the set. O(1).
   */
  function _contains(Set storage set, bytes32 value) private view returns (bool) {
    return set._indexes[value] != 0;
  }

  /**
   * @dev Returns the number of values on the set. O(1).
   */
  function _length(Set storage set) private view returns (uint256) {
    return set._values.length;
  }

  /**
   * @dev Returns the value stored at position `index` in the set. O(1).
   *
   * Note that there are no guarantees on the ordering of values inside the
   * array, and it may change when more values are added or removed.
   *
   * Requirements:
   *
   * - `index` must be strictly less than {length}.
   */
  function _at(Set storage set, uint256 index) private view returns (bytes32) {
    return set._values[index];
  }

  /**
   * @dev Return the entire set in an array
   *
   * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
   * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
   * this function has an unbounded cost, and using it as part of a state-changing function may render the function
   * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
   */
  function _values(Set storage set) private view returns (bytes32[] memory) {
    return set._values;
  }

  // Bytes32Set

  struct Bytes32Set {
    Set _inner;
  }

  /**
   * @dev Add a value to a set. O(1).
   *
   * Returns true if the value was added to the set, that is if it was not
   * already present.
   */
  function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
    return _add(set._inner, value);
  }

  /**
   * @dev Removes a value from a set. O(1).
   *
   * Returns true if the value was removed from the set, that is if it was
   * present.
   */
  function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
    return _remove(set._inner, value);
  }

  /**
   * @dev Returns true if the value is in the set. O(1).
   */
  function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
    return _contains(set._inner, value);
  }

  /**
   * @dev Returns the number of values in the set. O(1).
   */
  function length(Bytes32Set storage set) internal view returns (uint256) {
    return _length(set._inner);
  }

  /**
   * @dev Returns the value stored at position `index` in the set. O(1).
   *
   * Note that there are no guarantees on the ordering of values inside the
   * array, and it may change when more values are added or removed.
   *
   * Requirements:
   *
   * - `index` must be strictly less than {length}.
   */
  function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
    return _at(set._inner, index);
  }

  /**
   * @dev Return the entire set in an array
   *
   * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
   * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
   * this function has an unbounded cost, and using it as part of a state-changing function may render the function
   * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
   */
  function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
    bytes32[] memory store = _values(set._inner);
    bytes32[] memory result;

    /// @solidity memory-safe-assembly
    assembly {
      result := store
    }

    return result;
  }

  // AddressSet

  struct AddressSet {
    Set _inner;
  }

  /**
   * @dev Add a value to a set. O(1).
   *
   * Returns true if the value was added to the set, that is if it was not
   * already present.
   */
  function add(AddressSet storage set, address value) internal returns (bool) {
    return _add(set._inner, bytes32(uint256(uint160(value))));
  }

  /**
   * @dev Removes a value from a set. O(1).
   *
   * Returns true if the value was removed from the set, that is if it was
   * present.
   */
  function remove(AddressSet storage set, address value) internal returns (bool) {
    return _remove(set._inner, bytes32(uint256(uint160(value))));
  }

  /**
   * @dev Returns true if the value is in the set. O(1).
   */
  function contains(AddressSet storage set, address value) internal view returns (bool) {
    return _contains(set._inner, bytes32(uint256(uint160(value))));
  }

  /**
   * @dev Returns the number of values in the set. O(1).
   */
  function length(AddressSet storage set) internal view returns (uint256) {
    return _length(set._inner);
  }

  /**
   * @dev Returns the value stored at position `index` in the set. O(1).
   *
   * Note that there are no guarantees on the ordering of values inside the
   * array, and it may change when more values are added or removed.
   *
   * Requirements:
   *
   * - `index` must be strictly less than {length}.
   */
  function at(AddressSet storage set, uint256 index) internal view returns (address) {
    return address(uint160(uint256(_at(set._inner, index))));
  }

  /**
   * @dev Return the entire set in an array
   *
   * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
   * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
   * this function has an unbounded cost, and using it as part of a state-changing function may render the function
   * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
   */
  function values(AddressSet storage set) internal view returns (address[] memory) {
    bytes32[] memory store = _values(set._inner);
    address[] memory result;

    /// @solidity memory-safe-assembly
    assembly {
      result := store
    }

    return result;
  }

  // UintSet

  struct UintSet {
    Set _inner;
  }

  /**
   * @dev Add a value to a set. O(1).
   *
   * Returns true if the value was added to the set, that is if it was not
   * already present.
   */
  function add(UintSet storage set, uint256 value) internal returns (bool) {
    return _add(set._inner, bytes32(value));
  }

  /**
   * @dev Removes a value from a set. O(1).
   *
   * Returns true if the value was removed from the set, that is if it was
   * present.
   */
  function remove(UintSet storage set, uint256 value) internal returns (bool) {
    return _remove(set._inner, bytes32(value));
  }

  /**
   * @dev Returns true if the value is in the set. O(1).
   */
  function contains(UintSet storage set, uint256 value) internal view returns (bool) {
    return _contains(set._inner, bytes32(value));
  }

  /**
   * @dev Returns the number of values in the set. O(1).
   */
  function length(UintSet storage set) internal view returns (uint256) {
    return _length(set._inner);
  }

  /**
   * @dev Returns the value stored at position `index` in the set. O(1).
   *
   * Note that there are no guarantees on the ordering of values inside the
   * array, and it may change when more values are added or removed.
   *
   * Requirements:
   *
   * - `index` must be strictly less than {length}.
   */
  function at(UintSet storage set, uint256 index) internal view returns (uint256) {
    return uint256(_at(set._inner, index));
  }

  /**
   * @dev Return the entire set in an array
   *
   * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
   * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
   * this function has an unbounded cost, and using it as part of a state-changing function may render the function
   * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
   */
  function values(UintSet storage set) internal view returns (uint256[] memory) {
    bytes32[] memory store = _values(set._inner);
    uint256[] memory result;

    /// @solidity memory-safe-assembly
    assembly {
      result := store
    }

    return result;
  }
}

File 11 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
  /**
   * @dev Returns true if `account` is a contract.
   *
   * [IMPORTANT]
   * ====
   * It is unsafe to assume that an address for which this function returns
   * false is an externally-owned account (EOA) and not a contract.
   *
   * Among others, `isContract` will return false for the following
   * types of addresses:
   *
   *  - an externally-owned account
   *  - a contract in construction
   *  - an address where a contract will be created
   *  - an address where a contract lived, but was destroyed
   * ====
   *
   * [IMPORTANT]
   * ====
   * You shouldn't rely on `isContract` to protect against flash loan attacks!
   *
   * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
   * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
   * constructor.
   * ====
   */
  function isContract(address account) internal view returns (bool) {
    // This method relies on extcodesize/address.code.length, which returns 0
    // for contracts in construction, since the code is only stored at the end
    // of the constructor execution.

    return account.code.length > 0;
  }

  /**
   * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
   * `recipient`, forwarding all available gas and reverting on errors.
   *
   * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
   * of certain opcodes, possibly making contracts go over the 2300 gas limit
   * imposed by `transfer`, making them unable to receive funds via
   * `transfer`. {sendValue} removes this limitation.
   *
   * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
   *
   * IMPORTANT: because control is transferred to `recipient`, care must be
   * taken to not create reentrancy vulnerabilities. Consider using
   * {ReentrancyGuard} or the
   * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
   */
  function sendValue(address payable recipient, uint256 amount) internal {
    require(address(this).balance >= amount, "Address: insufficient balance");

    (bool success, ) = recipient.call{value: amount}("");
    require(success, "Address: unable to send value, recipient may have reverted");
  }

  /**
   * @dev Performs a Solidity function call using a low level `call`. A
   * plain `call` is an unsafe replacement for a function call: use this
   * function instead.
   *
   * If `target` reverts with a revert reason, it is bubbled up by this
   * function (like regular Solidity function calls).
   *
   * Returns the raw returned data. To convert to the expected return value,
   * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
   *
   * Requirements:
   *
   * - `target` must be a contract.
   * - calling `target` with `data` must not revert.
   *
   * _Available since v3.1._
   */
  function functionCall(address target, bytes memory data) internal returns (bytes memory) {
    return functionCallWithValue(target, data, 0, "Address: low-level call failed");
  }

  /**
   * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
   * `errorMessage` as a fallback revert reason when `target` reverts.
   *
   * _Available since v3.1._
   */
  function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
    return functionCallWithValue(target, data, 0, errorMessage);
  }

  /**
   * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
   * but also transferring `value` wei to `target`.
   *
   * Requirements:
   *
   * - the calling contract must have an ETH balance of at least `value`.
   * - the called Solidity function must be `payable`.
   *
   * _Available since v3.1._
   */
  function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
    return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
  }

  /**
   * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
   * with `errorMessage` as a fallback revert reason when `target` reverts.
   *
   * _Available since v3.1._
   */
  function functionCallWithValue(
    address target,
    bytes memory data,
    uint256 value,
    string memory errorMessage
  ) internal returns (bytes memory) {
    require(address(this).balance >= value, "Address: insufficient balance for call");
    (bool success, bytes memory returndata) = target.call{value: value}(data);
    return verifyCallResultFromTarget(target, success, returndata, errorMessage);
  }

  /**
   * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
   * but performing a static call.
   *
   * _Available since v3.3._
   */
  function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
    return functionStaticCall(target, data, "Address: low-level static call failed");
  }

  /**
   * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
   * but performing a static call.
   *
   * _Available since v3.3._
   */
  function functionStaticCall(
    address target,
    bytes memory data,
    string memory errorMessage
  ) internal view returns (bytes memory) {
    (bool success, bytes memory returndata) = target.staticcall(data);
    return verifyCallResultFromTarget(target, success, returndata, errorMessage);
  }

  /**
   * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
   * but performing a delegate call.
   *
   * _Available since v3.4._
   */
  function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
    return functionDelegateCall(target, data, "Address: low-level delegate call failed");
  }

  /**
   * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
   * but performing a delegate call.
   *
   * _Available since v3.4._
   */
  function functionDelegateCall(
    address target,
    bytes memory data,
    string memory errorMessage
  ) internal returns (bytes memory) {
    (bool success, bytes memory returndata) = target.delegatecall(data);
    return verifyCallResultFromTarget(target, success, returndata, errorMessage);
  }

  /**
   * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
   * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
   *
   * _Available since v4.8._
   */
  function verifyCallResultFromTarget(
    address target,
    bool success,
    bytes memory returndata,
    string memory errorMessage
  ) internal view returns (bytes memory) {
    if (success) {
      if (returndata.length == 0) {
        // only check isContract if the call was successful and the return data is empty
        // otherwise we already know that it was a contract
        require(isContract(target), "Address: call to non-contract");
      }
      return returndata;
    } else {
      _revert(returndata, errorMessage);
    }
  }

  /**
   * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
   * revert reason or using the provided one.
   *
   * _Available since v4.3._
   */
  function verifyCallResult(
    bool success,
    bytes memory returndata,
    string memory errorMessage
  ) internal pure returns (bytes memory) {
    if (success) {
      return returndata;
    } else {
      _revert(returndata, errorMessage);
    }
  }

  function _revert(bytes memory returndata, string memory errorMessage) private pure {
    // Look for revert reason and bubble it up if present
    if (returndata.length > 0) {
      // The easiest way to bubble the revert reason is using memory via assembly
      /// @solidity memory-safe-assembly
      assembly {
        let returndata_size := mload(returndata)
        revert(add(32, returndata), returndata_size)
      }
    } else {
      revert(errorMessage);
    }
  }
}

File 12 of 15 : draft-IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
  /**
   * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
   * given ``owner``'s signed approval.
   *
   * IMPORTANT: The same issues {IERC20-approve} has related to transaction
   * ordering also apply here.
   *
   * Emits an {Approval} event.
   *
   * Requirements:
   *
   * - `spender` cannot be the zero address.
   * - `deadline` must be a timestamp in the future.
   * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
   * over the EIP712-formatted function arguments.
   * - the signature must use ``owner``'s current nonce (see {nonces}).
   *
   * For more information on the signature format, see the
   * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
   * section].
   */
  function permit(
    address owner,
    address spender,
    uint256 value,
    uint256 deadline,
    uint8 v,
    bytes32 r,
    bytes32 s
  ) external;

  /**
   * @dev Returns the current nonce for `owner`. This value must be
   * included whenever a signature is generated for {permit}.
   *
   * Every successful call to {permit} increases ``owner``'s nonce by one. This
   * prevents a signature from being used multiple times.
   */
  function nonces(address owner) external view returns (uint256);

  /**
   * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
   */
  // solhint-disable-next-line func-name-mixedcase
  function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 13 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 14 of 15 : IAny2EVMMessageReceiver.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import {Client} from "../libraries/Client.sol";

/// @notice Application contracts that intend to receive messages from
/// the router should implement this interface.
interface IAny2EVMMessageReceiver {
  /// @notice Called by the Router to deliver a message.
  /// If this reverts, any token transfers also revert. The message
  /// will move to a FAILED state and become available for manual execution.
  /// @param message CCIP Message
  /// @dev Note ensure you check the msg.sender is the OffRampRouter
  function ccipReceive(Client.Any2EVMMessage calldata message) external;
}

File 15 of 15 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_router","type":"address"},{"internalType":"address","name":"_link","type":"address"},{"internalType":"address","name":"_usdc","type":"address"},{"internalType":"address","name":"_v3Router","type":"address"},{"internalType":"address","name":"_v2Router","type":"address"},{"internalType":"uint256","name":"_swapFee","type":"uint256"},{"internalType":"address","name":"_feeReceiver","type":"address"},{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint64","name":"destinationChainSelector","type":"uint64"}],"name":"DestinationChainNotAllowlisted","type":"error"},{"inputs":[],"name":"FailedCall","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"FailedToWithdrawEth","type":"error"},{"inputs":[],"name":"InvalidMessage","type":"error"},{"inputs":[],"name":"InvalidReceiverAddress","type":"error"},{"inputs":[{"internalType":"address","name":"router","type":"address"}],"name":"InvalidRouter","type":"error"},{"inputs":[{"internalType":"bytes32","name":"messageId","type":"bytes32"}],"name":"MessageNotFailed","type":"error"},{"inputs":[{"internalType":"uint256","name":"currentBalance","type":"uint256"},{"internalType":"uint256","name":"calculatedFees","type":"uint256"}],"name":"NotEnoughBalance","type":"error"},{"inputs":[],"name":"NothingToWithdraw","type":"error"},{"inputs":[],"name":"OnlySelf","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"SenderNotAllowed","type":"error"},{"inputs":[{"internalType":"uint64","name":"sourceChainSelector","type":"uint64"}],"name":"SourceChainNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"messageId","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"reason","type":"bytes"}],"name":"MessageFailed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"messageId","type":"bytes32"},{"indexed":true,"internalType":"uint64","name":"sourceChainSelector","type":"uint64"},{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"string","name":"text","type":"string"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"MessageReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"messageId","type":"bytes32"}],"name":"MessageRecovered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"messageId","type":"bytes32"},{"indexed":true,"internalType":"uint64","name":"destinationChainSelector","type":"uint64"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"string","name":"text","type":"string"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"indexed":false,"internalType":"address","name":"feeToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"fees","type":"uint256"}],"name":"MessageSent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","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":true,"internalType":"uint256","name":"time","type":"uint256"}],"name":"TimeLockActivated","type":"event"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"activateTimelock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_destinationChainSelector","type":"uint64"},{"internalType":"bool","name":"allowed","type":"bool"}],"name":"allowlistDestinationChain","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_sender","type":"address"},{"internalType":"bool","name":"allowed","type":"bool"}],"name":"allowlistSender","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_sourceChainSelector","type":"uint64"},{"internalType":"bool","name":"allowed","type":"bool"}],"name":"allowlistSourceChain","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"","type":"uint64"}],"name":"allowlistedDestinationChains","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowlistedSenders","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"","type":"uint64"}],"name":"allowlistedSourceChains","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"_destinationChainSelector","type":"uint64"},{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_gasLimitReceiver","type":"uint256"},{"internalType":"bool","name":"_payInLINK","type":"bool"},{"components":[{"internalType":"address","name":"finalToken","type":"address"},{"internalType":"address","name":"userReceiver","type":"address"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"uint256","name":"minAmountOutV2Swap","type":"uint256"},{"internalType":"bool","name":"isV2","type":"bool"},{"internalType":"bool","name":"unwrapETH","type":"bool"},{"internalType":"bytes","name":"path","type":"bytes"},{"internalType":"address[]","name":"v2Path","type":"address[]"}],"internalType":"struct CCIP.ReceiverSwapData","name":"_receiverSwapData","type":"tuple"}],"name":"calculateFeeGas","outputs":[{"internalType":"uint256","name":"fees","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"bytes32","name":"messageId","type":"bytes32"},{"internalType":"uint64","name":"sourceChainSelector","type":"uint64"},{"internalType":"bytes","name":"sender","type":"bytes"},{"internalType":"bytes","name":"data","type":"bytes"},{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct Client.EVMTokenAmount[]","name":"destTokenAmounts","type":"tuple[]"}],"internalType":"struct Client.Any2EVMMessage","name":"any2EvmMessage","type":"tuple"}],"name":"ccipReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"},{"internalType":"address","name":"_feeReceiver","type":"address"}],"name":"changeFeeAndAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_v2Router","type":"address"},{"internalType":"address","name":"_v3Router","type":"address"}],"name":"changeRouters","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"failedMessageByMessageId","outputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"failedMessagesUsers","outputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bool","name":"isRedeemed","type":"bool"},{"internalType":"bytes32","name":"messageId","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeBps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_messageId","type":"bytes32"}],"name":"getFailedMessageByMessageId","outputs":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bool","name":"isRedeemed","type":"bool"},{"internalType":"bytes32","name":"messageId","type":"bytes32"}],"internalType":"struct CCIP.FailedMessagesUsers","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"offset","type":"uint256"},{"internalType":"uint256","name":"limit","type":"uint256"}],"name":"getFailedMessages","outputs":[{"components":[{"internalType":"bytes32","name":"messageId","type":"bytes32"},{"internalType":"enum CCIP.ErrorCode","name":"errorCode","type":"uint8"}],"internalType":"struct CCIP.FailedMessage[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_offset","type":"uint256"},{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"getFailedMessagesUser","outputs":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bool","name":"isRedeemed","type":"bool"},{"internalType":"bytes32","name":"messageId","type":"bytes32"}],"internalType":"struct CCIP.FailedMessagesUsers[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_path","type":"bytes"}],"name":"getLastAddressPath","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getLastReceivedMessageDetails","outputs":[{"internalType":"bytes32","name":"messageId","type":"bytes32"},{"internalType":"string","name":"text","type":"string"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getLengthFailedMessagesUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"bytes32","name":"messageId","type":"bytes32"},{"internalType":"uint64","name":"sourceChainSelector","type":"uint64"},{"internalType":"bytes","name":"sender","type":"bytes"},{"internalType":"bytes","name":"data","type":"bytes"},{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct Client.EVMTokenAmount[]","name":"destTokenAmounts","type":"tuple[]"}],"internalType":"struct Client.Any2EVMMessage","name":"any2EvmMessage","type":"tuple"}],"name":"processMessage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenReceiver","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"recoverFailedTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"messageId","type":"bytes32"},{"internalType":"address","name":"tokenReceiver","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"retryFailedMessage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"messageId","type":"bytes32"}],"name":"s_messageContents","outputs":[{"internalType":"bytes32","name":"messageId","type":"bytes32"},{"internalType":"uint64","name":"sourceChainSelector","type":"uint64"},{"internalType":"bytes","name":"sender","type":"bytes"},{"internalType":"bytes","name":"data","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"_destinationChainSelector","type":"uint64"},{"internalType":"address","name":"_receiverCCIPInOtherChain","type":"address"},{"internalType":"uint256","name":"_gasLimitReceiver","type":"uint256"},{"internalType":"bool","name":"_isLinkOrNative","type":"bool"},{"components":[{"internalType":"address","name":"tokenIn","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"uint256","name":"minAmountOutV2Swap","type":"uint256"},{"internalType":"uint256","name":"minAmountOutV3Swap","type":"uint256"},{"internalType":"bool","name":"swapTokenInV2First","type":"bool"},{"internalType":"bool","name":"unwrappedETH","type":"bool"},{"internalType":"bytes","name":"v3InitialSwap","type":"bytes"}],"internalType":"struct CCIP.InitialSwapData","name":"_initialSwapData","type":"tuple"},{"components":[{"internalType":"address","name":"finalToken","type":"address"},{"internalType":"address","name":"userReceiver","type":"address"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"},{"internalType":"uint256","name":"minAmountOutV2Swap","type":"uint256"},{"internalType":"bool","name":"isV2","type":"bool"},{"internalType":"bool","name":"unwrapETH","type":"bool"},{"internalType":"bytes","name":"path","type":"bytes"},{"internalType":"address[]","name":"v2Path","type":"address[]"}],"internalType":"struct CCIP.ReceiverSwapData","name":"_receiverSwapData","type":"tuple"}],"name":"sendMessagePayFirstStep","outputs":[{"internalType":"bytes32","name":"messageId","type":"bytes32"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"swapFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timeLockTime","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":[],"name":"usdc","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"v2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"v3Router","outputs":[{"internalType":"contract IV3SwapRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"},{"internalType":"address","name":"_token","type":"address"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

610100604052348015610010575f80fd5b50604051615a59380380615a5983398101604081905261002f916101ea565b80886001600160a01b03811661005f576040516335fdcccd60e21b81525f60048201526024015b60405180910390fd5b6001600160a01b03908116608052811661008e57604051631e4fbdf760e01b81525f6004820152602401610056565b61009781610164565b506001600160a01b0387811660a052600f80546001600160a01b03199081168884169081179092556010805490911687841617905590871660e052604080516312a9293f60e21b81529051634aa4a4fc916004808201926020929091908290030181865afa15801561010b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061012f9190610275565b6001600160a01b0390811660c05260119390935550601280546001600160a01b03191691909216179055506102959350505050565b600180546001600160a01b031916905561017d81610180565b50565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146101e5575f80fd5b919050565b5f805f805f805f80610100898b031215610202575f80fd5b61020b896101cf565b975061021960208a016101cf565b965061022760408a016101cf565b955061023560608a016101cf565b945061024360808a016101cf565b935060a0890151925061025860c08a016101cf565b915061026660e08a016101cf565b90509295985092959890939650565b5f60208284031215610285575f80fd5b61028e826101cf565b9392505050565b60805160a05160c05160e0516156c66103935f395f81816103ae01528181610b6701528181610c1301528181610c6a015281816117c101528181611f5f015281816122fb0152818161242d0152818161251a01528181613151015281816131a101526131f801525f818161043e015281816109580152818161099f01528181611fba015281816120a0015281816120ff015281816121fc0152818161228e0152818161335f0152818161347f015261350901525f8181611bae015281816125cb015281816126fa0152818161278701528181612842015281816129630152818161376c015261380e01525f818161073301526115c001526156c65ff3fe60806040526004361061024c575f3560e01c8063715018a611610134578063a05bdb5b116100b3578063d0d1fc3d11610078578063d0d1fc3d146107b4578063db04fa49146107e3578063deadbc1414610802578063e30c397814610821578063eab5b02c1461083e578063f2fde38b1461085d575f80fd5b8063a05bdb5b14610706578063b0f479a114610725578063b3f0067414610757578063b4498fd514610776578063cf6730f814610795575f80fd5b806385572ffb116100f957806385572ffb146106615780638d9d89fe146106805780638da5cb5b146106ac57806396d3b83d146106c857806398895095146106e7575f80fd5b8063715018a6146105c257806375c67c66146105d657806379ba50971461060457806380665c2a1461061857806382b55c7b1461062d575f80fd5b80633e957731116101cb57806351cff8d91161019057806351cff8d91461050157806354cf2aeb146105205780635aacd56a146105355780636122750f146105615780636159ada11461058057806363a5d298146105ae575f80fd5b80633e957731146103d05780633fc8cef31461042d5780634030d521146104605780634b127efd1461048e5780634dd31560146104e2575f80fd5b806324a9d8531161021157806324a9d85314610319578063263596a51461032e5780632c94785a146103525780633aeac4e11461037e5780633e413bee1461039d575f80fd5b806301f59d161461025757806301ffc9a71461027f5780630dc91306146102ae5780631fce30e3146102e557806320446c0b146102f8575f80fd5b3661025357005b5f80fd5b348015610262575f80fd5b5061026c614e2081565b6040519081526020015b60405180910390f35b34801561028a575f80fd5b5061029e610299366004613f88565b61087c565b6040519015158152602001610276565b3480156102b9575f80fd5b50600f546102cd906001600160a01b031681565b6040516001600160a01b039091168152602001610276565b61026c6102f336600461400a565b6108b2565b348015610303575f80fd5b506103176103123660046140bb565b610c9a565b005b348015610324575f80fd5b5061026c6103e881565b348015610339575f80fd5b50610342610d05565b6040516102769493929190614120565b34801561035d575f80fd5b5061037161036c366004614154565b610dbf565b60405161027691906141a8565b348015610389575f80fd5b506103176103983660046140bb565b610e82565b3480156103a8575f80fd5b506102cd7f000000000000000000000000000000000000000000000000000000000000000081565b3480156103db575f80fd5b5061040e6103ea366004614154565b600b6020525f9081526040902080546001909101546001600160a01b039091169082565b604080516001600160a01b039093168352602083019190915201610276565b348015610438575f80fd5b506102cd7f000000000000000000000000000000000000000000000000000000000000000081565b34801561046b575f80fd5b5061029e61047a3660046141b6565b60076020525f908152604090205460ff1681565b348015610499575f80fd5b506104ad6104a83660046141d1565b610f5f565b604080516001600160a01b0396871681529590941660208601529284019190915215156060830152608082015260a001610276565b3480156104ed575f80fd5b506103176104fc3660046141d1565b610fb9565b34801561050c575f80fd5b5061031761051b3660046141fb565b611145565b34801561052b575f80fd5b5061026c60115481565b348015610540575f80fd5b5061055461054f366004614216565b61122b565b6040516102769190614248565b34801561056c575f80fd5b5061031761057b366004614295565b611366565b34801561058b575f80fd5b5061029e61059a3660046141fb565b60086020525f908152604090205460ff1681565b3480156105b9575f80fd5b5061031761151a565b3480156105cd575f80fd5b5061031761155e565b3480156105e1575f80fd5b5061029e6105f03660046141b6565b60066020525f908152604090205460ff1681565b34801561060f575f80fd5b50610317611571565b348015610623575f80fd5b5061026c60135481565b348015610638575f80fd5b5061026c6106473660046141fb565b6001600160a01b03165f908152600a602052604090205490565b34801561066c575f80fd5b5061031761067b3660046142ca565b6115b5565b34801561068b575f80fd5b5061069f61069a366004614300565b61193e565b6040516102769190614334565b3480156106b7575f80fd5b505f546001600160a01b03166102cd565b3480156106d3575f80fd5b506103176106e2366004614397565b611a5d565b3480156106f2575f80fd5b506103176107013660046143c3565b611a8f565b348015610711575f80fd5b506102cd610720366004614538565b611b34565b348015610730575f80fd5b507f00000000000000000000000000000000000000000000000000000000000000006102cd565b348015610762575f80fd5b506012546102cd906001600160a01b031681565b348015610781575f80fd5b5061026c6107903660046145ef565b611b79565b3480156107a0575f80fd5b506103176107af3660046142ca565b611cb5565b3480156107bf575f80fd5b506107d36107ce366004614154565b611ce6565b6040516102769493929190614739565b3480156107ee575f80fd5b506103176107fd366004614397565b611e24565b34801561080d575f80fd5b506010546102cd906001600160a01b031681565b34801561082c575f80fd5b506001546001600160a01b03166102cd565b348015610849575f80fd5b50610317610858366004614772565b611e56565b348015610868575f80fd5b506103176108773660046141fb565b611e88565b5f6001600160e01b031982166385572ffb60e01b14806108ac57506001600160e01b031982166301ffc9a760e01b145b92915050565b6001600160a01b0385165f9081526008602052604081205460ff1661092a5760405162461bcd60e51b815260206004820152602360248201527f4d75737420626520612076616c69642064657374696e6174696f6e206164647260448201526265737360e81b60648201526084015b60405180910390fd5b5f6109348461478e565b905061094660c0850160a08601614821565b15801561099057506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001661098560208601866141fb565b6001600160a01b0316145b15610a2c576001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d0e30db06109d2602087013534614850565b6040518263ffffffff1660e01b81526004015f604051808303818588803b1580156109fb575f80fd5b505af1158015610a0d573d5f803e3d5ffd5b5050505050806020015134610a229190614850565b6020820152610b55565b5f610a3a60208601866141fb565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa158015610a7e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aa29190614863565b9050610acb333060208801803590610aba908a6141fb565b6001600160a01b0316929190611eeb565b5f610ad960208701876141fb565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa158015610b1d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b419190614863565b9050610b4d8282614850565b602084015250505b5f610b638260c00151611b34565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b031614610bda5760405162461bcd60e51b81526020600482015260116024820152704d757374207377617020746f205553444360781b6044820152606401610921565b5f610be483611f5c565b90508615610c4357610c398a8a87604051602001610c02919061496f565b6040516020818303038152906040527f0000000000000000000000000000000000000000000000000000000000000000858d612554565b9350505050610c90565b610c398a8a87604051602001610c59919061496f565b6040516020818303038152906040527f0000000000000000000000000000000000000000000000000000000000000000858d6129ac565b9695505050505050565b610ca2612c87565b5f601354118015610cb4575060135442115b610cd05760405162461bcd60e51b815260040161092190614a3a565b5f601355600f80546001600160a01b039283166001600160a01b03199182161790915560108054939092169216919091179055565b5f60605f80600254600560035f9054906101000a90046001600160a01b0316600454828054610d3390614a5e565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5f90614a5e565b8015610daa5780601f10610d8157610100808354040283529160200191610daa565b820191905f5260205f20905b815481529060010190602001808311610d8d57829003601f168201915b50505050509250935093509350935090919293565b6040805160a0810182525f80825260208083018290528284018290526060830182905260808301829052848252600b815283822080546001600160a01b03168352600a909152929020600183015481549293928110610e2057610e20614a96565b5f9182526020918290206040805160a081018252600590930290910180546001600160a01b03908116845260018201541693830193909352600283015490820152600382015460ff161515606082015260049091015460808201529392505050565b610e8a612c87565b5f601354118015610e9c575060135442115b610eb85760405162461bcd60e51b815260040161092190614a3a565b5f60138190556040516370a0823160e01b81523060048201526001600160a01b038316906370a0823190602401602060405180830381865afa158015610f00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f249190614863565b9050805f03610f4657604051630686827b60e51b815260040160405180910390fd5b610f5a6001600160a01b0383168483612cb3565b505050565b600a602052815f5260405f208181548110610f78575f80fd5b5f918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0393841696509290911693509160ff169085565b6001600160a01b0382165f908152600a60205260408120805483908110610fe257610fe2614a96565b5f9182526020909120600590910201600381015490915060ff161561103c5760405162461bcd60e51b815260206004820152601060248201526f105b1c9958591e481c995919595b595960821b6044820152606401610921565b600381018054600160ff1990911681179091558101546001600160a01b031633146110a95760405162461bcd60e51b815260206004820181905260248201527f4d757374206265206578656375746564206279207468652072656365697665726044820152606401610921565b600160048201546110bc90600c90612ce3565b146110e0576004818101546040516305b73c1360e51b815291820152602401610921565b60048101546110f4905f5b600c9190612cee565b5060028101548154611113916001600160a01b03909116908590612cb3565b60048101546040517fef3bf8c64bc480286c4f3503b870ceb23e648d2d902e31fb7bb46680da6de8ad905f90a2505050565b61114d612c87565b5f60135411801561115f575060135442115b61117b5760405162461bcd60e51b815260040161092190614a3a565b5f601381905547908190036111a357604051630686827b60e51b815260040160405180910390fd5b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f81146111ec576040519150601f19603f3d011682016040523d82523d5f602084013e6111f1565b606091505b5050905080610f5a57604051639d11f56360e01b81523360048201526001600160a01b038416602482015260448101839052606401610921565b60605f826001600160401b03811115611246576112466143e6565b60405190808252806020026020018201604052801561129d57816020015b6040805160a0810182525f808252602080830182905292820181905260608201819052608082015282525f199092019101816112645790505b5090505f5b8381101561135d576001600160a01b0386165f908152600a602052604090206112cb8287614aaa565b815481106112db576112db614a96565b5f9182526020918290206040805160a081018252600590930290910180546001600160a01b03908116845260018201541693830193909352600283015490820152600382015460ff16151560608201526004909101546080820152825183908390811061134a5761134a614a96565b60209081029190910101526001016112a2565b50949350505050565b61136e612c87565b600161137b600c85612ce3565b1461139c576040516305b73c1360e51b815260048101849052602401610921565b6113a6835f6110eb565b506001600160a01b0382165f908152600a602052604090208054829081106113d0576113d0614a96565b5f91825260209091206003600590920201015460ff16156114265760405162461bcd60e51b815260206004820152601060248201526f105b1c9958591e481c995919595b595960821b6044820152606401610921565b6001600160a01b0382165f908152600a602052604090208054600191908390811061145357611453614a96565b905f5260205f2090600502016003015f6101000a81548160ff0219169083151502179055505f60095f8581526020019081526020015f2090506114ea83826004015f815481106114a5576114a5614a96565b905f5260205f20906002020160010154836004015f815481106114ca576114ca614a96565b5f9182526020909120600290910201546001600160a01b03169190612cb3565b60405184907fef3bf8c64bc480286c4f3503b870ceb23e648d2d902e31fb7bb46680da6de8ad905f90a250505050565b611522612c87565b61152f426202a300614aaa565b60138190556040517f7c907b8735e3b64d39d41766c0e80d8acd40b0a9fd407745b5d0b396488a4b48905f90a2565b611566612c87565b61156f5f612d02565b565b60015433906001600160a01b031681146115a95760405163118cdaa760e01b81526001600160a01b0382166004820152602401610921565b6115b281612d02565b50565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614611600576040516335fdcccd60e21b8152336004820152602401610921565b61161060408201602083016141b6565b61161d6040830183614abd565b81019061162a91906141fb565b6001600160401b0382165f9081526007602052604090205460ff1661166d5760405163042784cf60e31b81526001600160401b0383166004820152602401610921565b6001600160a01b0381165f9081526008602052604090205460ff166116b0576040516368692cbb60e11b81526001600160a01b0382166004820152602401610921565b6040516319ece61f60e31b8152309063cf6730f8906116d3908690600401614b46565b5f604051808303815f87803b1580156116ea575f80fd5b505af19250505080156116fb575060015b610f5a573d808015611728576040519150601f19603f3d011682016040523d82523d5f602084013e61172d565b606091505b5061173a843560016110eb565b5083355f90815260096020526040902084906117568282614e6a565b505f90506117676060860186614abd565b8101906117749190614f2c565b90505f8180602001905181019061178b919061503e565b9050600a5f82602001516001600160a01b03166001600160a01b031681526020019081526020015f206040518060a001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316815260200183602001516001600160a01b031681526020018880608001906118119190614d19565b5f81811061182157611821614a96565b60409081029290920160209081013584525f8482018190528c35948401859052865460018082018955978252828220875160059092020180546001600160a01b03199081166001600160a01b0393841617825588850151828b0180548316918516919091179055888701516002830155606089015160038301805460ff1916911515919091179055608090980151600490910155845180860186528984018051831682525182168352600a845285832054818501908152878452600b9094529185902091518254909716961695909517855551939094019290925590519091507f55bc02a9ef6f146737edeeb425738006f67f077e7138de3bf84a15bde1a5b56f9061192e90869061512b565b60405180910390a2505050505050565b60605f61194b600c612d1b565b90505f816119598587614aaa565b11611964578361196e565b61196e8583614850565b90505f816001600160401b03811115611989576119896143e6565b6040519080825280602002602001820160405280156119cd57816020015b604080518082019091525f80825260208201528152602001906001900390816119a75790505b5090505f5b82811015611a53575f806119f16119e9848b614aaa565b600c90612d25565b915091506040518060400160405280838152602001826001811115611a1857611a18614320565b6001811115611a2957611a29614320565b815250848481518110611a3e57611a3e614a96565b602090810291909101015250506001016119d2565b5095945050505050565b611a65612c87565b6001600160401b03919091165f908152600660205260409020805460ff1916911515919091179055565b611a97612c87565b5f601354118015611aa9575060135442115b611ac55760405162461bcd60e51b815260040161092190614a3a565b5f601355614e208210611b0d5760405162461bcd60e51b815260206004820152601060248201526f13585e0819995948195e18d95959195960821b6044820152606401610921565b601191909155601280546001600160a01b0319166001600160a01b03909216919091179055565b5f80611b3f83612d42565b90505f805b82811015611b71575f611b5686612d67565b50915050809250611b6686612da2565b955050600101611b44565b509392505050565b5f80611bd48884604051602001611b909190615176565b604051602081830303815290604052898988611bac575f611bce565b7f00000000000000000000000000000000000000000000000000000000000000005b8a612dd3565b90505f306001600160a01b031663b0f479a16040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c13573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c37919061521d565b6040516320487ded60e01b81529091506001600160a01b038216906320487ded90611c68908d908690600401615238565b602060405180830381865afa158015611c83573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ca79190614863565b9a9950505050505050505050565b333014611cd55760405163029a949d60e31b815260040160405180910390fd5b6115b2611ce182615394565b612f58565b60096020525f908152604090208054600182015460028301805492936001600160401b0390921692611d1790614a5e565b80601f0160208091040260200160405190810160405280929190818152602001828054611d4390614a5e565b8015611d8e5780601f10611d6557610100808354040283529160200191611d8e565b820191905f5260205f20905b815481529060010190602001808311611d7157829003601f168201915b505050505090806003018054611da390614a5e565b80601f0160208091040260200160405190810160405280929190818152602001828054611dcf90614a5e565b8015611e1a5780601f10611df157610100808354040283529160200191611e1a565b820191905f5260205f20905b815481529060010190602001808311611dfd57829003601f168201915b5050505050905084565b611e2c612c87565b6001600160401b03919091165f908152600760205260409020805460ff1916911515919091179055565b611e5e612c87565b6001600160a01b03919091165f908152600860205260409020805460ff1916911515919091179055565b611e90612c87565b5f601354118015611ea2575060135442115b611ebe5760405162461bcd60e51b815260040161092190614a3a565b5f6013556001600160a01b0381166115a957604051631e4fbdf760e01b81525f6004820152602401610921565b6040516001600160a01b0380851660248301528316604482015260648101829052611f569085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526135e4565b50505050565b5f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316825f01516001600160a01b031603611fa4575060208101516124e1565b8160800151156122c65781516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811691160361202a5760405162461bcd60e51b815260206004820152601960248201527f546f6b656e20696e206d757374206e6f742062652057455448000000000000006044820152606401610921565b8151601054602084015161204892916001600160a01b0316906136b5565b6040805160028082526060820183525f92602083019080368337019050509050825f0151815f8151811061207e5761207e614a96565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000000000000000000000000000000000000000000000816001815181106120d2576120d2614a96565b6001600160a01b0392831660209182029290920101526040516370a0823160e01b81523060048201525f917f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa158015612144573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121689190614863565b601054602086015160408701519293506001600160a01b0390911691635c11d7959190853061219942610e10614aaa565b6040518663ffffffff1660e01b81526004016121b9959493929190615445565b5f604051808303815f87803b1580156121d0575f80fd5b505af11580156121e2573d5f803e3d5ffd5b50506040516370a0823160e01b81523060048201525f92507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031691506370a0823190602401602060405180830381865afa15801561224a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061226e9190614863565b90505f61227b8383614850565b60208701819052600f549091506122bd907f0000000000000000000000000000000000000000000000000000000000000000906001600160a01b0316836136b5565b505050506122e4565b8151600f5460208401516122e492916001600160a01b0316906136b5565b6040516370a0823160e01b81523060048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa158015612348573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061236c9190614863565b6040805160808101825260c08601518152306020808301919091528601518183015260608087015190820152600f54915163b858183f60e01b8152929350916001600160a01b039091169063b858183f906123cb908490600401615480565b6020604051808303815f875af11580156123e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061240b9190614863565b6040516370a0823160e01b81523060048201529093505f906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa158015612472573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124969190614863565b90508281116124dd5760405162461bcd60e51b81526020600482015260136024820152724d757374207377617020696e746f205553444360681b6044820152606401610921565b5050505b5f6124ef6103e86064614d5e565b6011546124fc9084614d5e565b61250691906154cd565b601254909150612543906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116911683612cb3565b61254d8183614850565b9392505050565b6001600160401b0386165f90815260066020526040812054879060ff1661259957604051630a503cdb60e01b81526001600160401b0382166004820152602401610921565b866001600160a01b0381166125c15760405163502ffa3f60e11b815260040160405180910390fd5b5f6125f0898989897f00000000000000000000000000000000000000000000000000000000000000008a612dd3565b90505f306001600160a01b031663b0f479a16040518163ffffffff1660e01b8152600401602060405180830381865afa15801561262f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612653919061521d565b90505f816001600160a01b03166320487ded8d856040518363ffffffff1660e01b8152600401612684929190615238565b602060405180830381865afa15801561269f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126c39190614863565b9050805f036126e557604051636eca2e4b60e01b815260040160405180910390fd5b6040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa158015612747573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061276b9190614863565b81111561281c576040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156127d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127f89190614863565b604051634787a10360e11b8152600481019190915260248101829052604401610921565b60405163095ea7b360e01b81526001600160a01b038381166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063095ea7b3906044016020604051808303815f875af1158015612888573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128ac91906154ec565b506128b889838a6136b5565b6040516396f4e9f960e01b81526001600160a01b038316906396f4e9f9906128e6908f908790600401615238565b6020604051808303815f875af1158015612902573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129269190614863565b955061293181613755565b8b6001600160401b0316867f437cb3c5ba4364504dda6ba3c906ffb0897c7beeb1675f3aaf22a1b9a99b39948d8d8d8d7f00000000000000000000000000000000000000000000000000000000000000008860405161299596959493929190615507565b60405180910390a350505050509695505050505050565b6001600160401b0386165f90815260066020526040812054879060ff166129f157604051630a503cdb60e01b81526001600160401b0382166004820152602401610921565b866001600160a01b038116612a195760405163502ffa3f60e11b815260040160405180910390fd5b5f612a28898989895f8a612dd3565b90505f306001600160a01b031663b0f479a16040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a67573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a8b919061521d565b90505f816001600160a01b03166320487ded8d856040518363ffffffff1660e01b8152600401612abc929190615238565b602060405180830381865afa158015612ad7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612afb9190614863565b9050805f03612b1d57604051636eca2e4b60e01b815260040160405180910390fd5b47811115612b4757604051634787a10360e11b815247600482015260248101829052604401610921565b612b5289838a6136b5565b816001600160a01b03166396f4e9f9828e866040518463ffffffff1660e01b8152600401612b81929190615238565b60206040518083038185885af1158015612b9d573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190612bc29190614863565b6040519096505f90339047908381818185875af1925050503d805f8114612c04576040519150601f19603f3d011682016040523d82523d5f602084013e612c09565b606091505b5050905080612c2b5760405163d6bda27560e01b815260040160405180910390fd5b8c6001600160401b0316877f437cb3c5ba4364504dda6ba3c906ffb0897c7beeb1675f3aaf22a1b9a99b39948e8e8e8e5f89604051612c6f96959493929190615507565b60405180910390a35050505050509695505050505050565b5f546001600160a01b0316331461156f5760405163118cdaa760e01b8152336004820152602401610921565b6040516001600160a01b038316602482015260448101829052610f5a90849063a9059cbb60e01b90606401611f1f565b5f61254d8383613880565b5f612cfa8484846138ef565b949350505050565b600180546001600160a01b03191690556115b28161390b565b5f6108ac8261395a565b5f808080612d338686613964565b909450925050505b9250929050565b5f612d4f60036014614aaa565b60148351612d5d9190614850565b6108ac91906154cd565b5f8080612d74848261398d565b9250612d81846014613a40565b9050612d99612d9260036014614aaa565b859061398d565b91509193909250565b60606108ac612db360036014614aaa565b612dbf60036014614aaa565b8451612dcb9190614850565b849190613aea565b612e0d6040518060a001604052806060815260200160608152602001606081526020015f6001600160a01b03168152602001606081525090565b6040805160018082528183019092525f91816020015b604080518082019091525f8082526020820152815260200190600190039081612e235790505090505f6040518060400160405280886001600160a01b0316815260200187815250905080825f81518110612e7f57612e7f614a96565b60209081029190910101526040805160a081019091526001600160a01b038a1660c08201525f908060e0810160405160208183030381529060405281526020018a604051602001612ed0919061512b565b6040516020818303038152906040528152602001848152602001876001600160a01b03168152602001612f4860405180602001604052808981525060408051915160248084019190915281518084039091018152604490920190526020810180516001600160e01b03166397a657c960e01b17905290565b90529a9950505050505050505050565b805160025560608101518051612f7691602091810182019101615559565b600590612f83908261559d565b5080608001515f81518110612f9a57612f9a614a96565b60200260200101515f015160035f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555080608001515f81518110612fe057612fe0614a96565b60200260200101516020015160048190555080602001516001600160401b0316815f01517f90ec910a8f80bb04e184a806e2ae6f8786ef2ae898859a3180f953397edc1201836040015180602001905181019061303d919061521d565b84606001518060200190518101906130559190615559565b85608001515f8151811061306b5761306b614a96565b60200260200101515f015186608001515f8151811061308c5761308c614a96565b6020026020010151602001516040516130a89493929190615657565b60405180910390a35f600580546130be90614a5e565b80601f01602080910402602001604051908101604052809291908181526020018280546130ea90614a5e565b80156131355780601f1061310c57610100808354040283529160200191613135565b820191905f5260205f20905b81548152906001019060200180831161311857829003601f168201915b505050505080602001905181019061314d919061503e565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316815f01516001600160a01b0316036131cb5760208101516004546131c7916001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001691612cb3565b5050565b600f546004805460405163095ea7b360e01b81526001600160a01b039384169281019290925260248201527f00000000000000000000000000000000000000000000000000000000000000009091169063095ea7b3906044016020604051808303815f875af1158015613240573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061326491906154ec565b505f60405180608001604052808360c00151815260200183608001518061328c57508360a001515b61329a57836020015161329c565b305b6001600160a01b03908116825260048054602084015260408681015193810193909352600f54925163b858183f60e01b81529394505f93929091169163b858183f916132ea91869101615480565b6020604051808303815f875af1158015613306573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061332a9190614863565b905082608001511561345e5760105460405163095ea7b360e01b81526001600160a01b039182166004820152602481018390527f00000000000000000000000000000000000000000000000000000000000000009091169063095ea7b3906044016020604051808303815f875af11580156133a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133cb91906154ec565b50601054606084015160e085015160a08601516001600160a01b0390931692635c11d7959285929091613402578760200151613404565b305b61341042610e10614aaa565b6040518663ffffffff1660e01b8152600401613430959493929190615445565b5f604051808303815f87803b158015613447575f80fd5b505af1158015613459573d5f803e3d5ffd5b505050505b8260a0015115611f56576040516370a0823160e01b81523060048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156134cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134f09190614863565b604051632e1a7d4d60e01b8152600481018290529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632e1a7d4d906024015f604051808303815f87803b158015613552575f80fd5b505af1158015613564573d5f803e3d5ffd5b505050505f84602001516001600160a01b0316476040515f6040518083038185875af1925050503d805f81146135b5576040519150601f19603f3d011682016040523d82523d5f602084013e6135ba565b606091505b50509050806135dc5760405163d6bda27560e01b815260040160405180910390fd5b505050505050565b5f613638826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316613c409092919063ffffffff16565b805190915015610f5a578080602001905181019061365691906154ec565b610f5a5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610921565b604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015282919085169063dd62ed3e90604401602060405180830381865afa158015613702573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137269190614863565b1015610f5a576137406001600160a01b038416835f613c4e565b610f5a6001600160a01b038416835f19613c4e565b6040516370a0823160e01b81523060048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156137b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137dd9190614863565b90505f6137ea8383614850565b90508015610f5a5760405163a9059cbb60e01b8152336004820152602481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063a9059cbb906044016020604051808303815f875af115801561385c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f5691906154ec565b5f818152600283016020526040812054801515806138a357506138a38484613d61565b61254d5760405162461bcd60e51b815260206004820152601e60248201527f456e756d657261626c654d61703a206e6f6e6578697374656e74206b657900006044820152606401610921565b5f8281526002840160205260408120829055612cfa8484613d6c565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f6108ac82613d77565b5f80806139718585613d80565b5f81815260029690960160205260409095205494959350505050565b5f8161399a816014614aaa565b10156139dd5760405162461bcd60e51b8152602060048201526012602482015271746f416464726573735f6f766572666c6f7760701b6044820152606401610921565b6139e8826014614aaa565b83511015613a305760405162461bcd60e51b8152602060048201526015602482015274746f416464726573735f6f75744f66426f756e647360581b6044820152606401610921565b500160200151600160601b900490565b5f81613a4d816003614aaa565b1015613a8f5760405162461bcd60e51b8152602060048201526011602482015270746f55696e7432345f6f766572666c6f7760781b6044820152606401610921565b613a9a826003614aaa565b83511015613ae15760405162461bcd60e51b8152602060048201526014602482015273746f55696e7432345f6f75744f66426f756e647360601b6044820152606401610921565b50016003015190565b606081613af881601f614aaa565b1015613b375760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b6044820152606401610921565b82613b428382614aaa565b1015613b815760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b6044820152606401610921565b613b8b8284614aaa565b84511015613bcf5760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b6044820152606401610921565b606082158015613bed5760405191505f82526020820160405261135d565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015613c26578051835260209283019201613c0e565b5050858452601f01601f1916604052505090509392505050565b6060612cfa84845f85613d8b565b801580613cc65750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e90604401602060405180830381865afa158015613ca0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613cc49190614863565b155b613d315760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b6064820152608401610921565b6040516001600160a01b038316602482015260448101829052610f5a90849063095ea7b360e01b90606401611f1f565b5f61254d8383613e62565b5f61254d8383613e79565b5f6108ac825490565b5f61254d8383613ec5565b606082471015613dec5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610921565b5f80866001600160a01b03168587604051613e07919061567a565b5f6040518083038185875af1925050503d805f8114613e41576040519150601f19603f3d011682016040523d82523d5f602084013e613e46565b606091505b5091509150613e5787838387613eeb565b979650505050505050565b5f818152600183016020526040812054151561254d565b5f818152600183016020526040812054613ebe57508154600181810184555f8481526020808220909301849055845484825282860190935260409020919091556108ac565b505f6108ac565b5f825f018281548110613eda57613eda614a96565b905f5260205f200154905092915050565b60608315613f595782515f03613f52576001600160a01b0385163b613f525760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610921565b5081612cfa565b612cfa8383815115613f6e5781518083602001fd5b8060405162461bcd60e51b8152600401610921919061512b565b5f60208284031215613f98575f80fd5b81356001600160e01b03198116811461254d575f80fd5b6001600160401b03811681146115b2575f80fd5b8035613fce81613faf565b919050565b6001600160a01b03811681146115b2575f80fd5b8035613fce81613fd3565b80151581146115b2575f80fd5b8035613fce81613ff2565b5f805f805f8060c0878903121561401f575f80fd5b863561402a81613faf565b9550602087013561403a81613fd3565b945060408701359350606087013561405181613ff2565b925060808701356001600160401b0381111561406b575f80fd5b870160e0818a03121561407c575f80fd5b915060a08701356001600160401b03811115614096575f80fd5b87015f610100828b0312156140a9575f80fd5b81905050809150509295509295509295565b5f80604083850312156140cc575f80fd5b82356140d781613fd3565b915060208301356140e781613fd3565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b848152608060208201525f61413860808301866140f2565b6001600160a01b03949094166040830152506060015292915050565b5f60208284031215614164575f80fd5b5035919050565b80516001600160a01b0390811683526020808301519091169083015260408082015190830152606080820151151590830152608090810151910152565b60a081016108ac828461416b565b5f602082840312156141c6575f80fd5b813561254d81613faf565b5f80604083850312156141e2575f80fd5b82356141ed81613fd3565b946020939093013593505050565b5f6020828403121561420b575f80fd5b813561254d81613fd3565b5f805f60608486031215614228575f80fd5b833561423381613fd3565b95602085013595506040909401359392505050565b602080825282518282018190525f918401906040840190835b8181101561428a5761427483855161416b565b6020939093019260a09290920191600101614261565b509095945050505050565b5f805f606084860312156142a7575f80fd5b8335925060208401356142b981613fd3565b929592945050506040919091013590565b5f602082840312156142da575f80fd5b81356001600160401b038111156142ef575f80fd5b820160a0818503121561254d575f80fd5b5f8060408385031215614311575f80fd5b50508035926020909101359150565b634e487b7160e01b5f52602160045260245ffd5b602080825282518282018190525f918401906040840190835b8181101561428a57835180518452602001516002811061437b57634e487b7160e01b5f52602160045260245ffd5b602084810191909152939093019260409092019160010161434d565b5f80604083850312156143a8575f80fd5b82356143b381613faf565b915060208301356140e781613ff2565b5f80604083850312156143d4575f80fd5b8235915060208301356140e781613fd3565b634e487b7160e01b5f52604160045260245ffd5b60405161010081016001600160401b038111828210171561441d5761441d6143e6565b60405290565b60405160e081016001600160401b038111828210171561441d5761441d6143e6565b604080519081016001600160401b038111828210171561441d5761441d6143e6565b60405160a081016001600160401b038111828210171561441d5761441d6143e6565b604051601f8201601f191681016001600160401b03811182821017156144b1576144b16143e6565b604052919050565b5f6001600160401b038211156144d1576144d16143e6565b50601f01601f191660200190565b5f6144f16144ec846144b9565b614489565b9050828152838383011115614504575f80fd5b828260208301375f602084830101529392505050565b5f82601f830112614529575f80fd5b61254d838335602085016144df565b5f60208284031215614548575f80fd5b81356001600160401b0381111561455d575f80fd5b612cfa8482850161451a565b5f6001600160401b03821115614581576145816143e6565b5060051b60200190565b5f82601f83011261459a575f80fd5b81356145a86144ec82614569565b8082825260208201915060208360051b8601019250858311156145c9575f80fd5b602085015b83811015611a535780356145e181613fd3565b8352602092830192016145ce565b5f805f805f805f60e0888a031215614605575f80fd5b873561461081613faf565b9650602088013561462081613fd3565b9550604088013561463081613fd3565b9450606088013593506080880135925060a088013561464e81613ff2565b915060c08801356001600160401b03811115614668575f80fd5b8801610100818b03121561467a575f80fd5b6146826143fa565b61468b82613fe7565b815261469960208301613fe7565b602082015260408281013590820152606080830135908201526146be60808301613fff565b60808201526146cf60a08301613fff565b60a082015260c08201356001600160401b038111156146ec575f80fd5b6146f88c82850161451a565b60c08301525060e08201356001600160401b03811115614716575f80fd5b6147228c82850161458b565b60e083015250809250505092959891949750929550565b8481526001600160401b0384166020820152608060408201525f61476060808301856140f2565b8281036060840152613e5781856140f2565b5f8060408385031215614783575f80fd5b82356143b381613fd3565b5f60e0823603121561479e575f80fd5b6147a6614423565b6147af83613fe7565b81526020838101359082015260408084013590820152606080840135908201526147db60808401613fff565b60808201526147ec60a08401613fff565b60a082015260c08301356001600160401b03811115614809575f80fd5b6148153682860161451a565b60c08301525092915050565b5f60208284031215614831575f80fd5b813561254d81613ff2565b634e487b7160e01b5f52601160045260245ffd5b818103818111156108ac576108ac61483c565b5f60208284031215614873575f80fd5b5051919050565b5f808335601e1984360301811261488f575f80fd5b83016020810192503590506001600160401b038111156148ad575f80fd5b803603821315612d3b575f80fd5b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b5f808335601e198436030181126148f8575f80fd5b83016020810192503590506001600160401b03811115614916575f80fd5b8060051b3603821315612d3b575f80fd5b8183526020830192505f815f5b8481101561496557813561494781613fd3565b6001600160a01b031686526020958601959190910190600101614934565b5093949350505050565b602081525f823561497f81613fd3565b6001600160a01b03811660208401525061499b60208401613fe7565b6001600160a01b03811660408401525060408301356060838101919091528301356080808401919091526149d0908401613fff565b80151560a0840152506149e560a08401613fff565b80151560c0840152506149fb60c084018461487a565b61010060e0850152614a12610120850182846148bb565b915050614a2260e08501856148e3565b848303601f1901610100860152610c90838284614927565b6020808252600a9082015269151a5b595b1bd8dad95960b21b604082015260600190565b600181811c90821680614a7257607f821691505b602082108103614a9057634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b808201808211156108ac576108ac61483c565b5f808335601e19843603018112614ad2575f80fd5b8301803591506001600160401b03821115614aeb575f80fd5b602001915036819003821315612d3b575f80fd5b8183526020830192505f815f5b84811015614965578135614b1f81613fd3565b6001600160a01b031686526020828101359087015260409586019590910190600101614b0c565b60208082528235828201525f90830135614b5f81613faf565b6001600160401b038116604084015250614b7c604084018461487a565b60a06060850152614b9160c0850182846148bb565b915050614ba1606085018561487a565b848303601f19016080860152614bb88382846148bb565b925050506080840135601e19853603018112614bd2575f80fd5b84016020810190356001600160401b03811115614bed575f80fd5b8060061b3603821315614bfe575f80fd5b848303601f190160a0860152610c90838284614aff565b601f821115610f5a57805f5260205f20601f840160051c81016020851015614c3a5750805b601f840160051c820191505b81811015614c59575f8155600101614c46565b5050505050565b6001600160401b03831115614c7757614c776143e6565b614c8b83614c858354614a5e565b83614c15565b5f601f841160018114614cbc575f8515614ca55750838201355b5f19600387901b1c1916600186901b178355614c59565b5f83815260208120601f198716915b82811015614ceb5786850135825560209485019460019092019101614ccb565b5086821015614d07575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b5f808335601e19843603018112614d2e575f80fd5b8301803591506001600160401b03821115614d47575f80fd5b6020019150600681901b3603821315612d3b575f80fd5b80820281158282048414176108ac576108ac61483c565b8135614d8081613fd3565b81546001600160a01b0319166001600160a01b03919091161781556020919091013560019190910155565b68010000000000000000831115614dc457614dc46143e6565b805483825580841015614e36576001600160ff1b0381168114614de957614de961483c565b6001600160ff1b0384168414614e0157614e0161483c565b815f5260205f208160011b81018560011b820191505b80821015614e33575f82555f6001830155600282019150614e17565b50505b505f8181526020812083915b858110156135dc57614e548383614d75565b6040929092019160029190910190600101614e42565b81358155600181016020830135614e8081613faf565b815467ffffffffffffffff19166001600160401b0391909116179055614ea96040830183614abd565b614eb7818360028601614c60565b5050614ec66060830183614abd565b614ed4818360038601614c60565b50505f806080840135601e19853603018112614eee575f80fd5b8401803591506001600160401b03821115614f07575f80fd5b6020019150600681901b3603821315614f1e575f80fd5b611f56818360048601614dab565b5f60208284031215614f3c575f80fd5b81356001600160401b03811115614f51575f80fd5b8201601f81018413614f61575f80fd5b612cfa848235602084016144df565b8051613fce81613fd3565b8051613fce81613ff2565b5f614f936144ec846144b9565b9050828152838383011115614fa6575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112614fcb575f80fd5b61254d83835160208501614f86565b5f82601f830112614fe9575f80fd5b8151614ff76144ec82614569565b8082825260208201915060208360051b860101925085831115615018575f80fd5b602085015b83811015611a5357805161503081613fd3565b83526020928301920161501d565b5f6020828403121561504e575f80fd5b81516001600160401b03811115615063575f80fd5b82016101008185031215615075575f80fd5b61507d6143fa565b61508682614f70565b815261509460208301614f70565b602082015260408281015190820152606080830151908201526150b960808301614f7b565b60808201526150ca60a08301614f7b565b60a082015260c08201516001600160401b038111156150e7575f80fd5b6150f386828501614fbc565b60c08301525060e08201516001600160401b03811115615111575f80fd5b61511d86828501614fda565b60e083015250949350505050565b602081525f61254d60208301846140f2565b5f8151808452602084019350602083015f5b828110156149655781516001600160a01b031686526020958601959091019060010161514f565b602080825282516001600160a01b0316828201528201515f906151a460408401826001600160a01b03169052565b50604083015160608301526060830151608083015260808301516151cc60a084018215159052565b5060a083015180151560c08401525060c083015161010060e08401526151f66101208401826140f2565b905060e0840151601f1984830301610100850152615214828261513d565b95945050505050565b5f6020828403121561522d575f80fd5b815161254d81613fd3565b6001600160401b0383168152604060208201525f825160a0604084015261526260e08401826140f2565b90506020840151603f1984830301606085015261527f82826140f2565b6040860151858203603f190160808701528051808352602091820194505f93509101905b808310156152da57835180516001600160a01b031683526020908101518184015290930192600192909201916040909101906152a3565b5060608601516001600160a01b031660a08601526080860151858203603f190160c08701529250613e5781846140f2565b5f82601f83011261531a575f80fd5b81356153286144ec82614569565b8082825260208201915060208360061b860101925085831115615349575f80fd5b602085015b83811015611a535760408188031215615365575f80fd5b61536d614445565b813561537881613fd3565b815260208281013581830152908452929092019160400161534e565b5f60a082360312156153a4575f80fd5b6153ac614467565b823581526153bc60208401613fc3565b602082015260408301356001600160401b038111156153d9575f80fd5b6153e53682860161451a565b60408301525060608301356001600160401b03811115615403575f80fd5b61540f3682860161451a565b60608301525060808301356001600160401b0381111561542d575f80fd5b6154393682860161530b565b60808301525092915050565b85815284602082015260a060408201525f61546360a083018661513d565b6001600160a01b0394909416606083015250608001529392505050565b602081525f82516080602084015261549b60a08401826140f2565b905060018060a01b03602085015116604084015260408401516060840152606084015160808401528091505092915050565b5f826154e757634e487b7160e01b5f52601260045260245ffd5b500490565b5f602082840312156154fc575f80fd5b815161254d81613ff2565b6001600160a01b038716815260c0602082018190525f9061552a908301886140f2565b6001600160a01b03968716604084015260608301959095525091909316608082015260a0019190915292915050565b5f60208284031215615569575f80fd5b81516001600160401b0381111561557e575f80fd5b8201601f8101841361558e575f80fd5b612cfa84825160208401614f86565b81516001600160401b038111156155b6576155b66143e6565b6155ca816155c48454614a5e565b84614c15565b6020601f8211600181146155fc575f83156155e55750848201515b5f19600385901b1c1916600184901b178455614c59565b5f84815260208120601f198516915b8281101561562b578785015182556020948501946001909201910161560b565b508482101561564857868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160a01b03851681526080602082018190525f90614138908301866140f2565b5f82518060208501845e5f92019182525091905056fea264697066735822122015197f5972fcaee0402dcabc7cd95dc92d6f4e54f019da6e7f30b867851b576c64736f6c634300081a00330000000000000000000000003206695cae29952f4b0c22a169725a865bc8ce0f000000000000000000000000350a791bfc2c21f9ed5d10980dad2e2638ffa7f60000000000000000000000000b2c639c533813f4aa9d7837caf62653d097ff8500000000000000000000000068b3465833fb72a70ecdf485e0e4c7bd8665fc450000000000000000000000004a7b5da61326a6379179b40d00f57e5bbdc962c200000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000e1ff5a4c489b11e094bfbb5d23c6d4597a3a79ad0000000000000000000000003a510c5a32bcb381c53704aed9c02b0c70041f7a

Deployed Bytecode

0x60806040526004361061024c575f3560e01c8063715018a611610134578063a05bdb5b116100b3578063d0d1fc3d11610078578063d0d1fc3d146107b4578063db04fa49146107e3578063deadbc1414610802578063e30c397814610821578063eab5b02c1461083e578063f2fde38b1461085d575f80fd5b8063a05bdb5b14610706578063b0f479a114610725578063b3f0067414610757578063b4498fd514610776578063cf6730f814610795575f80fd5b806385572ffb116100f957806385572ffb146106615780638d9d89fe146106805780638da5cb5b146106ac57806396d3b83d146106c857806398895095146106e7575f80fd5b8063715018a6146105c257806375c67c66146105d657806379ba50971461060457806380665c2a1461061857806382b55c7b1461062d575f80fd5b80633e957731116101cb57806351cff8d91161019057806351cff8d91461050157806354cf2aeb146105205780635aacd56a146105355780636122750f146105615780636159ada11461058057806363a5d298146105ae575f80fd5b80633e957731146103d05780633fc8cef31461042d5780634030d521146104605780634b127efd1461048e5780634dd31560146104e2575f80fd5b806324a9d8531161021157806324a9d85314610319578063263596a51461032e5780632c94785a146103525780633aeac4e11461037e5780633e413bee1461039d575f80fd5b806301f59d161461025757806301ffc9a71461027f5780630dc91306146102ae5780631fce30e3146102e557806320446c0b146102f8575f80fd5b3661025357005b5f80fd5b348015610262575f80fd5b5061026c614e2081565b6040519081526020015b60405180910390f35b34801561028a575f80fd5b5061029e610299366004613f88565b61087c565b6040519015158152602001610276565b3480156102b9575f80fd5b50600f546102cd906001600160a01b031681565b6040516001600160a01b039091168152602001610276565b61026c6102f336600461400a565b6108b2565b348015610303575f80fd5b506103176103123660046140bb565b610c9a565b005b348015610324575f80fd5b5061026c6103e881565b348015610339575f80fd5b50610342610d05565b6040516102769493929190614120565b34801561035d575f80fd5b5061037161036c366004614154565b610dbf565b60405161027691906141a8565b348015610389575f80fd5b506103176103983660046140bb565b610e82565b3480156103a8575f80fd5b506102cd7f0000000000000000000000000b2c639c533813f4aa9d7837caf62653d097ff8581565b3480156103db575f80fd5b5061040e6103ea366004614154565b600b6020525f9081526040902080546001909101546001600160a01b039091169082565b604080516001600160a01b039093168352602083019190915201610276565b348015610438575f80fd5b506102cd7f000000000000000000000000420000000000000000000000000000000000000681565b34801561046b575f80fd5b5061029e61047a3660046141b6565b60076020525f908152604090205460ff1681565b348015610499575f80fd5b506104ad6104a83660046141d1565b610f5f565b604080516001600160a01b0396871681529590941660208601529284019190915215156060830152608082015260a001610276565b3480156104ed575f80fd5b506103176104fc3660046141d1565b610fb9565b34801561050c575f80fd5b5061031761051b3660046141fb565b611145565b34801561052b575f80fd5b5061026c60115481565b348015610540575f80fd5b5061055461054f366004614216565b61122b565b6040516102769190614248565b34801561056c575f80fd5b5061031761057b366004614295565b611366565b34801561058b575f80fd5b5061029e61059a3660046141fb565b60086020525f908152604090205460ff1681565b3480156105b9575f80fd5b5061031761151a565b3480156105cd575f80fd5b5061031761155e565b3480156105e1575f80fd5b5061029e6105f03660046141b6565b60066020525f908152604090205460ff1681565b34801561060f575f80fd5b50610317611571565b348015610623575f80fd5b5061026c60135481565b348015610638575f80fd5b5061026c6106473660046141fb565b6001600160a01b03165f908152600a602052604090205490565b34801561066c575f80fd5b5061031761067b3660046142ca565b6115b5565b34801561068b575f80fd5b5061069f61069a366004614300565b61193e565b6040516102769190614334565b3480156106b7575f80fd5b505f546001600160a01b03166102cd565b3480156106d3575f80fd5b506103176106e2366004614397565b611a5d565b3480156106f2575f80fd5b506103176107013660046143c3565b611a8f565b348015610711575f80fd5b506102cd610720366004614538565b611b34565b348015610730575f80fd5b507f0000000000000000000000003206695cae29952f4b0c22a169725a865bc8ce0f6102cd565b348015610762575f80fd5b506012546102cd906001600160a01b031681565b348015610781575f80fd5b5061026c6107903660046145ef565b611b79565b3480156107a0575f80fd5b506103176107af3660046142ca565b611cb5565b3480156107bf575f80fd5b506107d36107ce366004614154565b611ce6565b6040516102769493929190614739565b3480156107ee575f80fd5b506103176107fd366004614397565b611e24565b34801561080d575f80fd5b506010546102cd906001600160a01b031681565b34801561082c575f80fd5b506001546001600160a01b03166102cd565b348015610849575f80fd5b50610317610858366004614772565b611e56565b348015610868575f80fd5b506103176108773660046141fb565b611e88565b5f6001600160e01b031982166385572ffb60e01b14806108ac57506001600160e01b031982166301ffc9a760e01b145b92915050565b6001600160a01b0385165f9081526008602052604081205460ff1661092a5760405162461bcd60e51b815260206004820152602360248201527f4d75737420626520612076616c69642064657374696e6174696f6e206164647260448201526265737360e81b60648201526084015b60405180910390fd5b5f6109348461478e565b905061094660c0850160a08601614821565b15801561099057506001600160a01b037f00000000000000000000000042000000000000000000000000000000000000061661098560208601866141fb565b6001600160a01b0316145b15610a2c576001600160a01b037f00000000000000000000000042000000000000000000000000000000000000061663d0e30db06109d2602087013534614850565b6040518263ffffffff1660e01b81526004015f604051808303818588803b1580156109fb575f80fd5b505af1158015610a0d573d5f803e3d5ffd5b5050505050806020015134610a229190614850565b6020820152610b55565b5f610a3a60208601866141fb565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa158015610a7e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aa29190614863565b9050610acb333060208801803590610aba908a6141fb565b6001600160a01b0316929190611eeb565b5f610ad960208701876141fb565b6040516370a0823160e01b81523060048201526001600160a01b0391909116906370a0823190602401602060405180830381865afa158015610b1d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b419190614863565b9050610b4d8282614850565b602084015250505b5f610b638260c00151611b34565b90507f0000000000000000000000000b2c639c533813f4aa9d7837caf62653d097ff856001600160a01b0316816001600160a01b031614610bda5760405162461bcd60e51b81526020600482015260116024820152704d757374207377617020746f205553444360781b6044820152606401610921565b5f610be483611f5c565b90508615610c4357610c398a8a87604051602001610c02919061496f565b6040516020818303038152906040527f0000000000000000000000000b2c639c533813f4aa9d7837caf62653d097ff85858d612554565b9350505050610c90565b610c398a8a87604051602001610c59919061496f565b6040516020818303038152906040527f0000000000000000000000000b2c639c533813f4aa9d7837caf62653d097ff85858d6129ac565b9695505050505050565b610ca2612c87565b5f601354118015610cb4575060135442115b610cd05760405162461bcd60e51b815260040161092190614a3a565b5f601355600f80546001600160a01b039283166001600160a01b03199182161790915560108054939092169216919091179055565b5f60605f80600254600560035f9054906101000a90046001600160a01b0316600454828054610d3390614a5e565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5f90614a5e565b8015610daa5780601f10610d8157610100808354040283529160200191610daa565b820191905f5260205f20905b815481529060010190602001808311610d8d57829003601f168201915b50505050509250935093509350935090919293565b6040805160a0810182525f80825260208083018290528284018290526060830182905260808301829052848252600b815283822080546001600160a01b03168352600a909152929020600183015481549293928110610e2057610e20614a96565b5f9182526020918290206040805160a081018252600590930290910180546001600160a01b03908116845260018201541693830193909352600283015490820152600382015460ff161515606082015260049091015460808201529392505050565b610e8a612c87565b5f601354118015610e9c575060135442115b610eb85760405162461bcd60e51b815260040161092190614a3a565b5f60138190556040516370a0823160e01b81523060048201526001600160a01b038316906370a0823190602401602060405180830381865afa158015610f00573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f249190614863565b9050805f03610f4657604051630686827b60e51b815260040160405180910390fd5b610f5a6001600160a01b0383168483612cb3565b505050565b600a602052815f5260405f208181548110610f78575f80fd5b5f918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b0393841696509290911693509160ff169085565b6001600160a01b0382165f908152600a60205260408120805483908110610fe257610fe2614a96565b5f9182526020909120600590910201600381015490915060ff161561103c5760405162461bcd60e51b815260206004820152601060248201526f105b1c9958591e481c995919595b595960821b6044820152606401610921565b600381018054600160ff1990911681179091558101546001600160a01b031633146110a95760405162461bcd60e51b815260206004820181905260248201527f4d757374206265206578656375746564206279207468652072656365697665726044820152606401610921565b600160048201546110bc90600c90612ce3565b146110e0576004818101546040516305b73c1360e51b815291820152602401610921565b60048101546110f4905f5b600c9190612cee565b5060028101548154611113916001600160a01b03909116908590612cb3565b60048101546040517fef3bf8c64bc480286c4f3503b870ceb23e648d2d902e31fb7bb46680da6de8ad905f90a2505050565b61114d612c87565b5f60135411801561115f575060135442115b61117b5760405162461bcd60e51b815260040161092190614a3a565b5f601381905547908190036111a357604051630686827b60e51b815260040160405180910390fd5b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f81146111ec576040519150601f19603f3d011682016040523d82523d5f602084013e6111f1565b606091505b5050905080610f5a57604051639d11f56360e01b81523360048201526001600160a01b038416602482015260448101839052606401610921565b60605f826001600160401b03811115611246576112466143e6565b60405190808252806020026020018201604052801561129d57816020015b6040805160a0810182525f808252602080830182905292820181905260608201819052608082015282525f199092019101816112645790505b5090505f5b8381101561135d576001600160a01b0386165f908152600a602052604090206112cb8287614aaa565b815481106112db576112db614a96565b5f9182526020918290206040805160a081018252600590930290910180546001600160a01b03908116845260018201541693830193909352600283015490820152600382015460ff16151560608201526004909101546080820152825183908390811061134a5761134a614a96565b60209081029190910101526001016112a2565b50949350505050565b61136e612c87565b600161137b600c85612ce3565b1461139c576040516305b73c1360e51b815260048101849052602401610921565b6113a6835f6110eb565b506001600160a01b0382165f908152600a602052604090208054829081106113d0576113d0614a96565b5f91825260209091206003600590920201015460ff16156114265760405162461bcd60e51b815260206004820152601060248201526f105b1c9958591e481c995919595b595960821b6044820152606401610921565b6001600160a01b0382165f908152600a602052604090208054600191908390811061145357611453614a96565b905f5260205f2090600502016003015f6101000a81548160ff0219169083151502179055505f60095f8581526020019081526020015f2090506114ea83826004015f815481106114a5576114a5614a96565b905f5260205f20906002020160010154836004015f815481106114ca576114ca614a96565b5f9182526020909120600290910201546001600160a01b03169190612cb3565b60405184907fef3bf8c64bc480286c4f3503b870ceb23e648d2d902e31fb7bb46680da6de8ad905f90a250505050565b611522612c87565b61152f426202a300614aaa565b60138190556040517f7c907b8735e3b64d39d41766c0e80d8acd40b0a9fd407745b5d0b396488a4b48905f90a2565b611566612c87565b61156f5f612d02565b565b60015433906001600160a01b031681146115a95760405163118cdaa760e01b81526001600160a01b0382166004820152602401610921565b6115b281612d02565b50565b336001600160a01b037f0000000000000000000000003206695cae29952f4b0c22a169725a865bc8ce0f1614611600576040516335fdcccd60e21b8152336004820152602401610921565b61161060408201602083016141b6565b61161d6040830183614abd565b81019061162a91906141fb565b6001600160401b0382165f9081526007602052604090205460ff1661166d5760405163042784cf60e31b81526001600160401b0383166004820152602401610921565b6001600160a01b0381165f9081526008602052604090205460ff166116b0576040516368692cbb60e11b81526001600160a01b0382166004820152602401610921565b6040516319ece61f60e31b8152309063cf6730f8906116d3908690600401614b46565b5f604051808303815f87803b1580156116ea575f80fd5b505af19250505080156116fb575060015b610f5a573d808015611728576040519150601f19603f3d011682016040523d82523d5f602084013e61172d565b606091505b5061173a843560016110eb565b5083355f90815260096020526040902084906117568282614e6a565b505f90506117676060860186614abd565b8101906117749190614f2c565b90505f8180602001905181019061178b919061503e565b9050600a5f82602001516001600160a01b03166001600160a01b031681526020019081526020015f206040518060a001604052807f0000000000000000000000000b2c639c533813f4aa9d7837caf62653d097ff856001600160a01b0316815260200183602001516001600160a01b031681526020018880608001906118119190614d19565b5f81811061182157611821614a96565b60409081029290920160209081013584525f8482018190528c35948401859052865460018082018955978252828220875160059092020180546001600160a01b03199081166001600160a01b0393841617825588850151828b0180548316918516919091179055888701516002830155606089015160038301805460ff1916911515919091179055608090980151600490910155845180860186528984018051831682525182168352600a845285832054818501908152878452600b9094529185902091518254909716961695909517855551939094019290925590519091507f55bc02a9ef6f146737edeeb425738006f67f077e7138de3bf84a15bde1a5b56f9061192e90869061512b565b60405180910390a2505050505050565b60605f61194b600c612d1b565b90505f816119598587614aaa565b11611964578361196e565b61196e8583614850565b90505f816001600160401b03811115611989576119896143e6565b6040519080825280602002602001820160405280156119cd57816020015b604080518082019091525f80825260208201528152602001906001900390816119a75790505b5090505f5b82811015611a53575f806119f16119e9848b614aaa565b600c90612d25565b915091506040518060400160405280838152602001826001811115611a1857611a18614320565b6001811115611a2957611a29614320565b815250848481518110611a3e57611a3e614a96565b602090810291909101015250506001016119d2565b5095945050505050565b611a65612c87565b6001600160401b03919091165f908152600660205260409020805460ff1916911515919091179055565b611a97612c87565b5f601354118015611aa9575060135442115b611ac55760405162461bcd60e51b815260040161092190614a3a565b5f601355614e208210611b0d5760405162461bcd60e51b815260206004820152601060248201526f13585e0819995948195e18d95959195960821b6044820152606401610921565b601191909155601280546001600160a01b0319166001600160a01b03909216919091179055565b5f80611b3f83612d42565b90505f805b82811015611b71575f611b5686612d67565b50915050809250611b6686612da2565b955050600101611b44565b509392505050565b5f80611bd48884604051602001611b909190615176565b604051602081830303815290604052898988611bac575f611bce565b7f000000000000000000000000350a791bfc2c21f9ed5d10980dad2e2638ffa7f65b8a612dd3565b90505f306001600160a01b031663b0f479a16040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c13573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c37919061521d565b6040516320487ded60e01b81529091506001600160a01b038216906320487ded90611c68908d908690600401615238565b602060405180830381865afa158015611c83573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ca79190614863565b9a9950505050505050505050565b333014611cd55760405163029a949d60e31b815260040160405180910390fd5b6115b2611ce182615394565b612f58565b60096020525f908152604090208054600182015460028301805492936001600160401b0390921692611d1790614a5e565b80601f0160208091040260200160405190810160405280929190818152602001828054611d4390614a5e565b8015611d8e5780601f10611d6557610100808354040283529160200191611d8e565b820191905f5260205f20905b815481529060010190602001808311611d7157829003601f168201915b505050505090806003018054611da390614a5e565b80601f0160208091040260200160405190810160405280929190818152602001828054611dcf90614a5e565b8015611e1a5780601f10611df157610100808354040283529160200191611e1a565b820191905f5260205f20905b815481529060010190602001808311611dfd57829003601f168201915b5050505050905084565b611e2c612c87565b6001600160401b03919091165f908152600760205260409020805460ff1916911515919091179055565b611e5e612c87565b6001600160a01b03919091165f908152600860205260409020805460ff1916911515919091179055565b611e90612c87565b5f601354118015611ea2575060135442115b611ebe5760405162461bcd60e51b815260040161092190614a3a565b5f6013556001600160a01b0381166115a957604051631e4fbdf760e01b81525f6004820152602401610921565b6040516001600160a01b0380851660248301528316604482015260648101829052611f569085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526135e4565b50505050565b5f7f0000000000000000000000000b2c639c533813f4aa9d7837caf62653d097ff856001600160a01b0316825f01516001600160a01b031603611fa4575060208101516124e1565b8160800151156122c65781516001600160a01b037f0000000000000000000000004200000000000000000000000000000000000006811691160361202a5760405162461bcd60e51b815260206004820152601960248201527f546f6b656e20696e206d757374206e6f742062652057455448000000000000006044820152606401610921565b8151601054602084015161204892916001600160a01b0316906136b5565b6040805160028082526060820183525f92602083019080368337019050509050825f0151815f8151811061207e5761207e614a96565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000004200000000000000000000000000000000000006816001815181106120d2576120d2614a96565b6001600160a01b0392831660209182029290920101526040516370a0823160e01b81523060048201525f917f000000000000000000000000420000000000000000000000000000000000000616906370a0823190602401602060405180830381865afa158015612144573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121689190614863565b601054602086015160408701519293506001600160a01b0390911691635c11d7959190853061219942610e10614aaa565b6040518663ffffffff1660e01b81526004016121b9959493929190615445565b5f604051808303815f87803b1580156121d0575f80fd5b505af11580156121e2573d5f803e3d5ffd5b50506040516370a0823160e01b81523060048201525f92507f00000000000000000000000042000000000000000000000000000000000000066001600160a01b031691506370a0823190602401602060405180830381865afa15801561224a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061226e9190614863565b90505f61227b8383614850565b60208701819052600f549091506122bd907f0000000000000000000000004200000000000000000000000000000000000006906001600160a01b0316836136b5565b505050506122e4565b8151600f5460208401516122e492916001600160a01b0316906136b5565b6040516370a0823160e01b81523060048201525f907f0000000000000000000000000b2c639c533813f4aa9d7837caf62653d097ff856001600160a01b0316906370a0823190602401602060405180830381865afa158015612348573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061236c9190614863565b6040805160808101825260c08601518152306020808301919091528601518183015260608087015190820152600f54915163b858183f60e01b8152929350916001600160a01b039091169063b858183f906123cb908490600401615480565b6020604051808303815f875af11580156123e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061240b9190614863565b6040516370a0823160e01b81523060048201529093505f906001600160a01b037f0000000000000000000000000b2c639c533813f4aa9d7837caf62653d097ff8516906370a0823190602401602060405180830381865afa158015612472573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124969190614863565b90508281116124dd5760405162461bcd60e51b81526020600482015260136024820152724d757374207377617020696e746f205553444360681b6044820152606401610921565b5050505b5f6124ef6103e86064614d5e565b6011546124fc9084614d5e565b61250691906154cd565b601254909150612543906001600160a01b037f0000000000000000000000000b2c639c533813f4aa9d7837caf62653d097ff858116911683612cb3565b61254d8183614850565b9392505050565b6001600160401b0386165f90815260066020526040812054879060ff1661259957604051630a503cdb60e01b81526001600160401b0382166004820152602401610921565b866001600160a01b0381166125c15760405163502ffa3f60e11b815260040160405180910390fd5b5f6125f0898989897f000000000000000000000000350a791bfc2c21f9ed5d10980dad2e2638ffa7f68a612dd3565b90505f306001600160a01b031663b0f479a16040518163ffffffff1660e01b8152600401602060405180830381865afa15801561262f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612653919061521d565b90505f816001600160a01b03166320487ded8d856040518363ffffffff1660e01b8152600401612684929190615238565b602060405180830381865afa15801561269f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126c39190614863565b9050805f036126e557604051636eca2e4b60e01b815260040160405180910390fd5b6040516370a0823160e01b81523060048201527f000000000000000000000000350a791bfc2c21f9ed5d10980dad2e2638ffa7f66001600160a01b0316906370a0823190602401602060405180830381865afa158015612747573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061276b9190614863565b81111561281c576040516370a0823160e01b81523060048201527f000000000000000000000000350a791bfc2c21f9ed5d10980dad2e2638ffa7f66001600160a01b0316906370a0823190602401602060405180830381865afa1580156127d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127f89190614863565b604051634787a10360e11b8152600481019190915260248101829052604401610921565b60405163095ea7b360e01b81526001600160a01b038381166004830152602482018390527f000000000000000000000000350a791bfc2c21f9ed5d10980dad2e2638ffa7f6169063095ea7b3906044016020604051808303815f875af1158015612888573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128ac91906154ec565b506128b889838a6136b5565b6040516396f4e9f960e01b81526001600160a01b038316906396f4e9f9906128e6908f908790600401615238565b6020604051808303815f875af1158015612902573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129269190614863565b955061293181613755565b8b6001600160401b0316867f437cb3c5ba4364504dda6ba3c906ffb0897c7beeb1675f3aaf22a1b9a99b39948d8d8d8d7f000000000000000000000000350a791bfc2c21f9ed5d10980dad2e2638ffa7f68860405161299596959493929190615507565b60405180910390a350505050509695505050505050565b6001600160401b0386165f90815260066020526040812054879060ff166129f157604051630a503cdb60e01b81526001600160401b0382166004820152602401610921565b866001600160a01b038116612a195760405163502ffa3f60e11b815260040160405180910390fd5b5f612a28898989895f8a612dd3565b90505f306001600160a01b031663b0f479a16040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a67573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a8b919061521d565b90505f816001600160a01b03166320487ded8d856040518363ffffffff1660e01b8152600401612abc929190615238565b602060405180830381865afa158015612ad7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612afb9190614863565b9050805f03612b1d57604051636eca2e4b60e01b815260040160405180910390fd5b47811115612b4757604051634787a10360e11b815247600482015260248101829052604401610921565b612b5289838a6136b5565b816001600160a01b03166396f4e9f9828e866040518463ffffffff1660e01b8152600401612b81929190615238565b60206040518083038185885af1158015612b9d573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190612bc29190614863565b6040519096505f90339047908381818185875af1925050503d805f8114612c04576040519150601f19603f3d011682016040523d82523d5f602084013e612c09565b606091505b5050905080612c2b5760405163d6bda27560e01b815260040160405180910390fd5b8c6001600160401b0316877f437cb3c5ba4364504dda6ba3c906ffb0897c7beeb1675f3aaf22a1b9a99b39948e8e8e8e5f89604051612c6f96959493929190615507565b60405180910390a35050505050509695505050505050565b5f546001600160a01b0316331461156f5760405163118cdaa760e01b8152336004820152602401610921565b6040516001600160a01b038316602482015260448101829052610f5a90849063a9059cbb60e01b90606401611f1f565b5f61254d8383613880565b5f612cfa8484846138ef565b949350505050565b600180546001600160a01b03191690556115b28161390b565b5f6108ac8261395a565b5f808080612d338686613964565b909450925050505b9250929050565b5f612d4f60036014614aaa565b60148351612d5d9190614850565b6108ac91906154cd565b5f8080612d74848261398d565b9250612d81846014613a40565b9050612d99612d9260036014614aaa565b859061398d565b91509193909250565b60606108ac612db360036014614aaa565b612dbf60036014614aaa565b8451612dcb9190614850565b849190613aea565b612e0d6040518060a001604052806060815260200160608152602001606081526020015f6001600160a01b03168152602001606081525090565b6040805160018082528183019092525f91816020015b604080518082019091525f8082526020820152815260200190600190039081612e235790505090505f6040518060400160405280886001600160a01b0316815260200187815250905080825f81518110612e7f57612e7f614a96565b60209081029190910101526040805160a081019091526001600160a01b038a1660c08201525f908060e0810160405160208183030381529060405281526020018a604051602001612ed0919061512b565b6040516020818303038152906040528152602001848152602001876001600160a01b03168152602001612f4860405180602001604052808981525060408051915160248084019190915281518084039091018152604490920190526020810180516001600160e01b03166397a657c960e01b17905290565b90529a9950505050505050505050565b805160025560608101518051612f7691602091810182019101615559565b600590612f83908261559d565b5080608001515f81518110612f9a57612f9a614a96565b60200260200101515f015160035f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555080608001515f81518110612fe057612fe0614a96565b60200260200101516020015160048190555080602001516001600160401b0316815f01517f90ec910a8f80bb04e184a806e2ae6f8786ef2ae898859a3180f953397edc1201836040015180602001905181019061303d919061521d565b84606001518060200190518101906130559190615559565b85608001515f8151811061306b5761306b614a96565b60200260200101515f015186608001515f8151811061308c5761308c614a96565b6020026020010151602001516040516130a89493929190615657565b60405180910390a35f600580546130be90614a5e565b80601f01602080910402602001604051908101604052809291908181526020018280546130ea90614a5e565b80156131355780601f1061310c57610100808354040283529160200191613135565b820191905f5260205f20905b81548152906001019060200180831161311857829003601f168201915b505050505080602001905181019061314d919061503e565b90507f0000000000000000000000000b2c639c533813f4aa9d7837caf62653d097ff856001600160a01b0316815f01516001600160a01b0316036131cb5760208101516004546131c7916001600160a01b037f0000000000000000000000000b2c639c533813f4aa9d7837caf62653d097ff851691612cb3565b5050565b600f546004805460405163095ea7b360e01b81526001600160a01b039384169281019290925260248201527f0000000000000000000000000b2c639c533813f4aa9d7837caf62653d097ff859091169063095ea7b3906044016020604051808303815f875af1158015613240573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061326491906154ec565b505f60405180608001604052808360c00151815260200183608001518061328c57508360a001515b61329a57836020015161329c565b305b6001600160a01b03908116825260048054602084015260408681015193810193909352600f54925163b858183f60e01b81529394505f93929091169163b858183f916132ea91869101615480565b6020604051808303815f875af1158015613306573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061332a9190614863565b905082608001511561345e5760105460405163095ea7b360e01b81526001600160a01b039182166004820152602481018390527f00000000000000000000000042000000000000000000000000000000000000069091169063095ea7b3906044016020604051808303815f875af11580156133a7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133cb91906154ec565b50601054606084015160e085015160a08601516001600160a01b0390931692635c11d7959285929091613402578760200151613404565b305b61341042610e10614aaa565b6040518663ffffffff1660e01b8152600401613430959493929190615445565b5f604051808303815f87803b158015613447575f80fd5b505af1158015613459573d5f803e3d5ffd5b505050505b8260a0015115611f56576040516370a0823160e01b81523060048201525f907f00000000000000000000000042000000000000000000000000000000000000066001600160a01b0316906370a0823190602401602060405180830381865afa1580156134cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134f09190614863565b604051632e1a7d4d60e01b8152600481018290529091507f00000000000000000000000042000000000000000000000000000000000000066001600160a01b031690632e1a7d4d906024015f604051808303815f87803b158015613552575f80fd5b505af1158015613564573d5f803e3d5ffd5b505050505f84602001516001600160a01b0316476040515f6040518083038185875af1925050503d805f81146135b5576040519150601f19603f3d011682016040523d82523d5f602084013e6135ba565b606091505b50509050806135dc5760405163d6bda27560e01b815260040160405180910390fd5b505050505050565b5f613638826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316613c409092919063ffffffff16565b805190915015610f5a578080602001905181019061365691906154ec565b610f5a5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610921565b604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015282919085169063dd62ed3e90604401602060405180830381865afa158015613702573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137269190614863565b1015610f5a576137406001600160a01b038416835f613c4e565b610f5a6001600160a01b038416835f19613c4e565b6040516370a0823160e01b81523060048201525f907f000000000000000000000000350a791bfc2c21f9ed5d10980dad2e2638ffa7f66001600160a01b0316906370a0823190602401602060405180830381865afa1580156137b9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137dd9190614863565b90505f6137ea8383614850565b90508015610f5a5760405163a9059cbb60e01b8152336004820152602481018290527f000000000000000000000000350a791bfc2c21f9ed5d10980dad2e2638ffa7f66001600160a01b03169063a9059cbb906044016020604051808303815f875af115801561385c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f5691906154ec565b5f818152600283016020526040812054801515806138a357506138a38484613d61565b61254d5760405162461bcd60e51b815260206004820152601e60248201527f456e756d657261626c654d61703a206e6f6e6578697374656e74206b657900006044820152606401610921565b5f8281526002840160205260408120829055612cfa8484613d6c565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f6108ac82613d77565b5f80806139718585613d80565b5f81815260029690960160205260409095205494959350505050565b5f8161399a816014614aaa565b10156139dd5760405162461bcd60e51b8152602060048201526012602482015271746f416464726573735f6f766572666c6f7760701b6044820152606401610921565b6139e8826014614aaa565b83511015613a305760405162461bcd60e51b8152602060048201526015602482015274746f416464726573735f6f75744f66426f756e647360581b6044820152606401610921565b500160200151600160601b900490565b5f81613a4d816003614aaa565b1015613a8f5760405162461bcd60e51b8152602060048201526011602482015270746f55696e7432345f6f766572666c6f7760781b6044820152606401610921565b613a9a826003614aaa565b83511015613ae15760405162461bcd60e51b8152602060048201526014602482015273746f55696e7432345f6f75744f66426f756e647360601b6044820152606401610921565b50016003015190565b606081613af881601f614aaa565b1015613b375760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b6044820152606401610921565b82613b428382614aaa565b1015613b815760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b6044820152606401610921565b613b8b8284614aaa565b84511015613bcf5760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b6044820152606401610921565b606082158015613bed5760405191505f82526020820160405261135d565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015613c26578051835260209283019201613c0e565b5050858452601f01601f1916604052505090509392505050565b6060612cfa84845f85613d8b565b801580613cc65750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e90604401602060405180830381865afa158015613ca0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613cc49190614863565b155b613d315760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b6064820152608401610921565b6040516001600160a01b038316602482015260448101829052610f5a90849063095ea7b360e01b90606401611f1f565b5f61254d8383613e62565b5f61254d8383613e79565b5f6108ac825490565b5f61254d8383613ec5565b606082471015613dec5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610921565b5f80866001600160a01b03168587604051613e07919061567a565b5f6040518083038185875af1925050503d805f8114613e41576040519150601f19603f3d011682016040523d82523d5f602084013e613e46565b606091505b5091509150613e5787838387613eeb565b979650505050505050565b5f818152600183016020526040812054151561254d565b5f818152600183016020526040812054613ebe57508154600181810184555f8481526020808220909301849055845484825282860190935260409020919091556108ac565b505f6108ac565b5f825f018281548110613eda57613eda614a96565b905f5260205f200154905092915050565b60608315613f595782515f03613f52576001600160a01b0385163b613f525760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610921565b5081612cfa565b612cfa8383815115613f6e5781518083602001fd5b8060405162461bcd60e51b8152600401610921919061512b565b5f60208284031215613f98575f80fd5b81356001600160e01b03198116811461254d575f80fd5b6001600160401b03811681146115b2575f80fd5b8035613fce81613faf565b919050565b6001600160a01b03811681146115b2575f80fd5b8035613fce81613fd3565b80151581146115b2575f80fd5b8035613fce81613ff2565b5f805f805f8060c0878903121561401f575f80fd5b863561402a81613faf565b9550602087013561403a81613fd3565b945060408701359350606087013561405181613ff2565b925060808701356001600160401b0381111561406b575f80fd5b870160e0818a03121561407c575f80fd5b915060a08701356001600160401b03811115614096575f80fd5b87015f610100828b0312156140a9575f80fd5b81905050809150509295509295509295565b5f80604083850312156140cc575f80fd5b82356140d781613fd3565b915060208301356140e781613fd3565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b848152608060208201525f61413860808301866140f2565b6001600160a01b03949094166040830152506060015292915050565b5f60208284031215614164575f80fd5b5035919050565b80516001600160a01b0390811683526020808301519091169083015260408082015190830152606080820151151590830152608090810151910152565b60a081016108ac828461416b565b5f602082840312156141c6575f80fd5b813561254d81613faf565b5f80604083850312156141e2575f80fd5b82356141ed81613fd3565b946020939093013593505050565b5f6020828403121561420b575f80fd5b813561254d81613fd3565b5f805f60608486031215614228575f80fd5b833561423381613fd3565b95602085013595506040909401359392505050565b602080825282518282018190525f918401906040840190835b8181101561428a5761427483855161416b565b6020939093019260a09290920191600101614261565b509095945050505050565b5f805f606084860312156142a7575f80fd5b8335925060208401356142b981613fd3565b929592945050506040919091013590565b5f602082840312156142da575f80fd5b81356001600160401b038111156142ef575f80fd5b820160a0818503121561254d575f80fd5b5f8060408385031215614311575f80fd5b50508035926020909101359150565b634e487b7160e01b5f52602160045260245ffd5b602080825282518282018190525f918401906040840190835b8181101561428a57835180518452602001516002811061437b57634e487b7160e01b5f52602160045260245ffd5b602084810191909152939093019260409092019160010161434d565b5f80604083850312156143a8575f80fd5b82356143b381613faf565b915060208301356140e781613ff2565b5f80604083850312156143d4575f80fd5b8235915060208301356140e781613fd3565b634e487b7160e01b5f52604160045260245ffd5b60405161010081016001600160401b038111828210171561441d5761441d6143e6565b60405290565b60405160e081016001600160401b038111828210171561441d5761441d6143e6565b604080519081016001600160401b038111828210171561441d5761441d6143e6565b60405160a081016001600160401b038111828210171561441d5761441d6143e6565b604051601f8201601f191681016001600160401b03811182821017156144b1576144b16143e6565b604052919050565b5f6001600160401b038211156144d1576144d16143e6565b50601f01601f191660200190565b5f6144f16144ec846144b9565b614489565b9050828152838383011115614504575f80fd5b828260208301375f602084830101529392505050565b5f82601f830112614529575f80fd5b61254d838335602085016144df565b5f60208284031215614548575f80fd5b81356001600160401b0381111561455d575f80fd5b612cfa8482850161451a565b5f6001600160401b03821115614581576145816143e6565b5060051b60200190565b5f82601f83011261459a575f80fd5b81356145a86144ec82614569565b8082825260208201915060208360051b8601019250858311156145c9575f80fd5b602085015b83811015611a535780356145e181613fd3565b8352602092830192016145ce565b5f805f805f805f60e0888a031215614605575f80fd5b873561461081613faf565b9650602088013561462081613fd3565b9550604088013561463081613fd3565b9450606088013593506080880135925060a088013561464e81613ff2565b915060c08801356001600160401b03811115614668575f80fd5b8801610100818b03121561467a575f80fd5b6146826143fa565b61468b82613fe7565b815261469960208301613fe7565b602082015260408281013590820152606080830135908201526146be60808301613fff565b60808201526146cf60a08301613fff565b60a082015260c08201356001600160401b038111156146ec575f80fd5b6146f88c82850161451a565b60c08301525060e08201356001600160401b03811115614716575f80fd5b6147228c82850161458b565b60e083015250809250505092959891949750929550565b8481526001600160401b0384166020820152608060408201525f61476060808301856140f2565b8281036060840152613e5781856140f2565b5f8060408385031215614783575f80fd5b82356143b381613fd3565b5f60e0823603121561479e575f80fd5b6147a6614423565b6147af83613fe7565b81526020838101359082015260408084013590820152606080840135908201526147db60808401613fff565b60808201526147ec60a08401613fff565b60a082015260c08301356001600160401b03811115614809575f80fd5b6148153682860161451a565b60c08301525092915050565b5f60208284031215614831575f80fd5b813561254d81613ff2565b634e487b7160e01b5f52601160045260245ffd5b818103818111156108ac576108ac61483c565b5f60208284031215614873575f80fd5b5051919050565b5f808335601e1984360301811261488f575f80fd5b83016020810192503590506001600160401b038111156148ad575f80fd5b803603821315612d3b575f80fd5b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b5f808335601e198436030181126148f8575f80fd5b83016020810192503590506001600160401b03811115614916575f80fd5b8060051b3603821315612d3b575f80fd5b8183526020830192505f815f5b8481101561496557813561494781613fd3565b6001600160a01b031686526020958601959190910190600101614934565b5093949350505050565b602081525f823561497f81613fd3565b6001600160a01b03811660208401525061499b60208401613fe7565b6001600160a01b03811660408401525060408301356060838101919091528301356080808401919091526149d0908401613fff565b80151560a0840152506149e560a08401613fff565b80151560c0840152506149fb60c084018461487a565b61010060e0850152614a12610120850182846148bb565b915050614a2260e08501856148e3565b848303601f1901610100860152610c90838284614927565b6020808252600a9082015269151a5b595b1bd8dad95960b21b604082015260600190565b600181811c90821680614a7257607f821691505b602082108103614a9057634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b808201808211156108ac576108ac61483c565b5f808335601e19843603018112614ad2575f80fd5b8301803591506001600160401b03821115614aeb575f80fd5b602001915036819003821315612d3b575f80fd5b8183526020830192505f815f5b84811015614965578135614b1f81613fd3565b6001600160a01b031686526020828101359087015260409586019590910190600101614b0c565b60208082528235828201525f90830135614b5f81613faf565b6001600160401b038116604084015250614b7c604084018461487a565b60a06060850152614b9160c0850182846148bb565b915050614ba1606085018561487a565b848303601f19016080860152614bb88382846148bb565b925050506080840135601e19853603018112614bd2575f80fd5b84016020810190356001600160401b03811115614bed575f80fd5b8060061b3603821315614bfe575f80fd5b848303601f190160a0860152610c90838284614aff565b601f821115610f5a57805f5260205f20601f840160051c81016020851015614c3a5750805b601f840160051c820191505b81811015614c59575f8155600101614c46565b5050505050565b6001600160401b03831115614c7757614c776143e6565b614c8b83614c858354614a5e565b83614c15565b5f601f841160018114614cbc575f8515614ca55750838201355b5f19600387901b1c1916600186901b178355614c59565b5f83815260208120601f198716915b82811015614ceb5786850135825560209485019460019092019101614ccb565b5086821015614d07575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b5f808335601e19843603018112614d2e575f80fd5b8301803591506001600160401b03821115614d47575f80fd5b6020019150600681901b3603821315612d3b575f80fd5b80820281158282048414176108ac576108ac61483c565b8135614d8081613fd3565b81546001600160a01b0319166001600160a01b03919091161781556020919091013560019190910155565b68010000000000000000831115614dc457614dc46143e6565b805483825580841015614e36576001600160ff1b0381168114614de957614de961483c565b6001600160ff1b0384168414614e0157614e0161483c565b815f5260205f208160011b81018560011b820191505b80821015614e33575f82555f6001830155600282019150614e17565b50505b505f8181526020812083915b858110156135dc57614e548383614d75565b6040929092019160029190910190600101614e42565b81358155600181016020830135614e8081613faf565b815467ffffffffffffffff19166001600160401b0391909116179055614ea96040830183614abd565b614eb7818360028601614c60565b5050614ec66060830183614abd565b614ed4818360038601614c60565b50505f806080840135601e19853603018112614eee575f80fd5b8401803591506001600160401b03821115614f07575f80fd5b6020019150600681901b3603821315614f1e575f80fd5b611f56818360048601614dab565b5f60208284031215614f3c575f80fd5b81356001600160401b03811115614f51575f80fd5b8201601f81018413614f61575f80fd5b612cfa848235602084016144df565b8051613fce81613fd3565b8051613fce81613ff2565b5f614f936144ec846144b9565b9050828152838383011115614fa6575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112614fcb575f80fd5b61254d83835160208501614f86565b5f82601f830112614fe9575f80fd5b8151614ff76144ec82614569565b8082825260208201915060208360051b860101925085831115615018575f80fd5b602085015b83811015611a5357805161503081613fd3565b83526020928301920161501d565b5f6020828403121561504e575f80fd5b81516001600160401b03811115615063575f80fd5b82016101008185031215615075575f80fd5b61507d6143fa565b61508682614f70565b815261509460208301614f70565b602082015260408281015190820152606080830151908201526150b960808301614f7b565b60808201526150ca60a08301614f7b565b60a082015260c08201516001600160401b038111156150e7575f80fd5b6150f386828501614fbc565b60c08301525060e08201516001600160401b03811115615111575f80fd5b61511d86828501614fda565b60e083015250949350505050565b602081525f61254d60208301846140f2565b5f8151808452602084019350602083015f5b828110156149655781516001600160a01b031686526020958601959091019060010161514f565b602080825282516001600160a01b0316828201528201515f906151a460408401826001600160a01b03169052565b50604083015160608301526060830151608083015260808301516151cc60a084018215159052565b5060a083015180151560c08401525060c083015161010060e08401526151f66101208401826140f2565b905060e0840151601f1984830301610100850152615214828261513d565b95945050505050565b5f6020828403121561522d575f80fd5b815161254d81613fd3565b6001600160401b0383168152604060208201525f825160a0604084015261526260e08401826140f2565b90506020840151603f1984830301606085015261527f82826140f2565b6040860151858203603f190160808701528051808352602091820194505f93509101905b808310156152da57835180516001600160a01b031683526020908101518184015290930192600192909201916040909101906152a3565b5060608601516001600160a01b031660a08601526080860151858203603f190160c08701529250613e5781846140f2565b5f82601f83011261531a575f80fd5b81356153286144ec82614569565b8082825260208201915060208360061b860101925085831115615349575f80fd5b602085015b83811015611a535760408188031215615365575f80fd5b61536d614445565b813561537881613fd3565b815260208281013581830152908452929092019160400161534e565b5f60a082360312156153a4575f80fd5b6153ac614467565b823581526153bc60208401613fc3565b602082015260408301356001600160401b038111156153d9575f80fd5b6153e53682860161451a565b60408301525060608301356001600160401b03811115615403575f80fd5b61540f3682860161451a565b60608301525060808301356001600160401b0381111561542d575f80fd5b6154393682860161530b565b60808301525092915050565b85815284602082015260a060408201525f61546360a083018661513d565b6001600160a01b0394909416606083015250608001529392505050565b602081525f82516080602084015261549b60a08401826140f2565b905060018060a01b03602085015116604084015260408401516060840152606084015160808401528091505092915050565b5f826154e757634e487b7160e01b5f52601260045260245ffd5b500490565b5f602082840312156154fc575f80fd5b815161254d81613ff2565b6001600160a01b038716815260c0602082018190525f9061552a908301886140f2565b6001600160a01b03968716604084015260608301959095525091909316608082015260a0019190915292915050565b5f60208284031215615569575f80fd5b81516001600160401b0381111561557e575f80fd5b8201601f8101841361558e575f80fd5b612cfa84825160208401614f86565b81516001600160401b038111156155b6576155b66143e6565b6155ca816155c48454614a5e565b84614c15565b6020601f8211600181146155fc575f83156155e55750848201515b5f19600385901b1c1916600184901b178455614c59565b5f84815260208120601f198516915b8281101561562b578785015182556020948501946001909201910161560b565b508482101561564857868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6001600160a01b03851681526080602082018190525f90614138908301866140f2565b5f82518060208501845e5f92019182525091905056fea264697066735822122015197f5972fcaee0402dcabc7cd95dc92d6f4e54f019da6e7f30b867851b576c64736f6c634300081a0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000003206695cae29952f4b0c22a169725a865bc8ce0f000000000000000000000000350a791bfc2c21f9ed5d10980dad2e2638ffa7f60000000000000000000000000b2c639c533813f4aa9d7837caf62653d097ff8500000000000000000000000068b3465833fb72a70ecdf485e0e4c7bd8665fc450000000000000000000000004a7b5da61326a6379179b40d00f57e5bbdc962c200000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000e1ff5a4c489b11e094bfbb5d23c6d4597a3a79ad0000000000000000000000003a510c5a32bcb381c53704aed9c02b0c70041f7a

-----Decoded View---------------
Arg [0] : _router (address): 0x3206695CaE29952f4b0c22a169725a865bc8Ce0f
Arg [1] : _link (address): 0x350a791Bfc2C21F9Ed5d10980Dad2e2638ffa7f6
Arg [2] : _usdc (address): 0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85
Arg [3] : _v3Router (address): 0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45
Arg [4] : _v2Router (address): 0x4A7b5Da61326A6379179b40d00F57E5bbDC962c2
Arg [5] : _swapFee (uint256): 500
Arg [6] : _feeReceiver (address): 0xe1Ff5a4C489B11E094BFBB5d23c6d4597a3a79AD
Arg [7] : _owner (address): 0x3A510C5a32bCb381c53704AED9c02b0c70041F7A

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000003206695cae29952f4b0c22a169725a865bc8ce0f
Arg [1] : 000000000000000000000000350a791bfc2c21f9ed5d10980dad2e2638ffa7f6
Arg [2] : 0000000000000000000000000b2c639c533813f4aa9d7837caf62653d097ff85
Arg [3] : 00000000000000000000000068b3465833fb72a70ecdf485e0e4c7bd8665fc45
Arg [4] : 0000000000000000000000004a7b5da61326a6379179b40d00f57e5bbdc962c2
Arg [5] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [6] : 000000000000000000000000e1ff5a4c489b11e094bfbb5d23c6d4597a3a79ad
Arg [7] : 0000000000000000000000003a510c5a32bcb381c53704aed9c02b0c70041f7a


Deployed Bytecode Sourcemap

10737:41631:14:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15551:38;;;;;;;;;;;;15584:5;15551:38;;;;;160:25:15;;;148:2;133:18;15551:38:14;;;;;;;;1397:209:0;;;;;;;;;;-1:-1:-1;1397:209:0;;;;;:::i;:::-;;:::i;:::-;;;748:14:15;;741:22;723:41;;711:2;696:18;1397:209:0;583:187:15;15356:29:14;;;;;;;;;;-1:-1:-1;15356:29:14;;;;-1:-1:-1;;;;;15356:29:14;;;;;;-1:-1:-1;;;;;961:32:15;;;943:51;;931:2;916:18;15356:29:14;775:225:15;32458:2342:14;;;;;;:::i;:::-;;:::i;18787:304::-;;;;;;;;;;-1:-1:-1;18787:304:14;;;;;:::i;:::-;;:::i;:::-;;15613:37;;;;;;;;;;;;15646:4;15613:37;;36388:412;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;52098:243::-;;;;;;;;;;-1:-1:-1;52098:243:14;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;49766:579::-;;;;;;;;;;-1:-1:-1;49766:579:14;;;;;:::i;:::-;;:::i;14830:29::-;;;;;;;;;;;;;;;15172:66;;;;;;;;;;-1:-1:-1;15172:66:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15172:66:14;;;;;;;;;;-1:-1:-1;;;;;5864:32:15;;;5846:51;;5928:2;5913:18;;5906:34;;;;5819:18;15172:66:14;5672:274:15;14795:29:14;;;;;;;;;;;;;;;14582:54;;;;;;;;;;-1:-1:-1;14582:54:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;15059:69;;;;;;;;;;-1:-1:-1;15059:69:14;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;6844:32:15;;;6826:51;;6913:32;;;;6908:2;6893:18;;6886:60;6962:18;;;6955:34;;;;7032:14;7025:22;7020:2;7005:18;;6998:50;7079:3;7064:19;;7057:35;6813:3;6798:19;15059:69:14;6573:525:15;50376:1138:14;;;;;;;;;;-1:-1:-1;50376:1138:14;;;;;:::i;:::-;;:::i;48690:714::-;;;;;;;;;;-1:-1:-1;48690:714:14;;;;;:::i;:::-;;:::i;15431:22::-;;;;;;;;;;;;;;;;51520:396;;;;;;;;;;-1:-1:-1;51520:396:14;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;41792:1316::-;;;;;;;;;;-1:-1:-1;41792:1316:14;;;;;:::i;:::-;;:::i;14696:50::-;;;;;;;;;;-1:-1:-1;14696:50:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;17951:151;;;;;;;;;;;;;:::i;2293:101:11:-;;;;;;;;;;;;;:::i;14457:59:14:-;;;;;;;;;;-1:-1:-1;14457:59:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;1761:229:12;;;;;;;;;;;;;:::i;15699:27:14:-;;;;;;;;;;;;;;;;51922:170;;;;;;;;;;-1:-1:-1;51922:170:14;;;;;:::i;:::-;-1:-1:-1;;;;;52031:26:14;51997:7;52031:26;;;:19;:26;;;;;:33;;51922:170;38838:1906;;;;;;;;;;-1:-1:-1;38838:1906:14;;;;;:::i;:::-;;:::i;37652:898::-;;;;;;;;;;-1:-1:-1;37652:898:14;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;1638:85:11:-;;;;;;;;;;-1:-1:-1;1684:7:11;1710:6;-1:-1:-1;;;;;1710:6:11;1638:85;;19418:206:14;;;;;;;;;;-1:-1:-1;19418:206:14;;;;;:::i;:::-;;:::i;18456:325::-;;;;;;;;;;-1:-1:-1;18456:325:14;;;;;:::i;:::-;;:::i;28525:1033::-;;;;;;;;;;-1:-1:-1;28525:1033:14;;;;;:::i;:::-;;:::i;2194:86:0:-;;;;;;;;;;-1:-1:-1;2266:8:0;2194:86;;15519:26:14;;;;;;;;;;-1:-1:-1;15519:26:14;;;;-1:-1:-1;;;;;15519:26:14;;;34806:1040;;;;;;;;;;-1:-1:-1;34806:1040:14;;;;;:::i;:::-;;:::i;41126:212::-;;;;;;;;;;-1:-1:-1;41126:212:14;;;;;:::i;:::-;;:::i;14930:85::-;;;;;;;;;;-1:-1:-1;14930:85:14;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;:::i;19913:186::-;;;;;;;;;;-1:-1:-1;19913:186:14;;;;;:::i;:::-;;:::i;15391:34::-;;;;;;;;;;-1:-1:-1;15391:34:14;;;;-1:-1:-1;;;;;15391:34:14;;;874:99:12;;;;;;;;;;-1:-1:-1;953:13:12;;-1:-1:-1;;;;;953:13:12;874:99;;20374:129:14;;;;;;;;;;-1:-1:-1;20374:129:14;;;;;:::i;:::-;;:::i;18112:338::-;;;;;;;;;;-1:-1:-1;18112:338:14;;;;;:::i;:::-;;:::i;1397:209:0:-;1482:4;-1:-1:-1;;;;;;1501:56:0;;-1:-1:-1;;;1501:56:0;;:100;;-1:-1:-1;;;;;;;1561:40:0;;-1:-1:-1;;;1561:40:0;1501:100;1494:107;1397:209;-1:-1:-1;;1397:209:0:o;32458:2342:14:-;-1:-1:-1;;;;;32927:45:14;;32886:17;32927:45;;;:18;:45;;;;;;;;32919:93;;;;-1:-1:-1;;;32919:93:14;;18646:2:15;32919:93:14;;;18628:21:15;18685:2;18665:18;;;18658:30;18724:34;18704:18;;;18697:62;-1:-1:-1;;;18775:18:15;;;18768:33;18818:19;;32919:93:14;;;;;;;;;33084:38;:57;33125:16;33084:57;:::i;:::-;;-1:-1:-1;33156:29:14;;;;;;;;:::i;:::-;33155:30;:66;;;;-1:-1:-1;;;;;;33217:4:14;33189:32;:24;;;;:16;:24;:::i;:::-;-1:-1:-1;;;;;33189:32:14;;33155:66;33151:754;;;-1:-1:-1;;;;;33243:4:14;33237:19;;33264:37;33276:25;;;;33264:9;:37;:::i;:::-;33237:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33422:15;:24;;;33410:9;:36;;;;:::i;:::-;33383:24;;;:63;33151:754;;;33533:21;33564:24;;;;:16;:24;:::i;:::-;33557:57;;-1:-1:-1;;;33557:57:14;;33608:4;33557:57;;;943:51:15;-1:-1:-1;;;;;33557:42:14;;;;;;;916:18:15;;33557:57:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;33533:81;-1:-1:-1;33628:103:14;33678:10;33698:4;33705:25;;;;;;33635:24;;33705:16;33635:24;:::i;:::-;-1:-1:-1;;;;;33628:49:14;;:103;;:49;:103::i;:::-;33745:20;33775:24;;;;:16;:24;:::i;:::-;33768:57;;-1:-1:-1;;;33768:57:14;;33819:4;33768:57;;;943:51:15;-1:-1:-1;;;;;33768:42:14;;;;;;;916:18:15;;33768:57:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;33745:80;-1:-1:-1;33866:28:14;33881:13;33745:80;33866:28;:::i;:::-;33839:24;;;:55;-1:-1:-1;;33151:754:14;33914:19;33936:49;33955:15;:29;;;33936:18;:49::i;:::-;33914:71;;34018:4;-1:-1:-1;;;;;34003:19:14;:11;-1:-1:-1;;;;;34003:19:14;;33995:49;;;;-1:-1:-1;;;33995:49:14;;20812:2:15;33995:49:14;;;20794:21:15;20851:2;20831:18;;;20824:30;-1:-1:-1;;;20870:18:15;;;20863:47;20927:18;;33995:49:14;20610:341:15;33995:49:14;34054:15;34072:32;34088:15;34072;:32::i;:::-;34054:50;;34119:15;34115:679;;;34157:293;34193:25;34236;34318:17;34286:67;;;;;;;;:::i;:::-;;;;;;;;;;;;;34372:4;34394:7;34419:17;34157:18;:293::i;:::-;34150:300;;;;;;;34115:679;34488:295;34526:25;34569;34651:17;34619:67;;;;;;;;:::i;:::-;;;;;;;;;;;;;34705:4;34727:7;34752:17;34488:20;:295::i;32458:2342::-;;;;;;;;;:::o;18787:304::-;1531:13:11;:11;:13::i;:::-;18900:1:14::1;18885:12;;:16;:50;;;;;18923:12;;18905:15;:30;18885:50;18877:73;;;;-1:-1:-1::0;;;18877:73:14::1;;;;;;;:::i;:::-;18975:1;18960:12;:16:::0;18999:8:::1;:35:::0;;-1:-1:-1;;;;;18999:35:14;;::::1;-1:-1:-1::0;;;;;;18999:35:14;;::::1;;::::0;;;19044:8:::1;:40:::0;;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;;18787:304::o;36388:412::-;36487:17;36518:18;36550:20;36584:19;36649:23;;36686:18;36718:26;;;;;;;;;-1:-1:-1;;;;;36718:26:14;36758:25;;36628:165;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36388:412;;;;:::o;52098:243::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52243:36:14;;;:24;:36;;;;;52316:7;;-1:-1:-1;;;;;52316:7:14;52296:28;;:19;:28;;;;;;52316:7;52325:8;;;52296:38;;-1:-1:-1;;52243:36:14;52296:38;;;;;;:::i;:::-;;;;;;;;;;52289:45;;;;;;;;52296:38;;;;;;;52289:45;;-1:-1:-1;;;;;52289:45:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52098:243;-1:-1:-1;;;52098:243:14:o;49766:579::-;1531:13:11;:11;:13::i;:::-;49899:1:14::1;49884:12;;:16;:50;;;;;49922:12;;49904:15;:30;49884:50;49876:73;;;;-1:-1:-1::0;;;49876:73:14::1;;;;;;;:::i;:::-;49974:1;49959:12;:16:::0;;;50135:39:::1;::::0;-1:-1:-1;;;50135:39:14;;50168:4:::1;50135:39;::::0;::::1;943:51:15::0;-1:-1:-1;;;;;50135:24:14;::::1;::::0;::::1;::::0;916:18:15;;50135:39:14::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;50118:56;;50239:6;50249:1;50239:11:::0;50235:43:::1;;50259:19;;-1:-1:-1::0;;;50259:19:14::1;;;;;;;;;;;50235:43;50289:49;-1:-1:-1::0;;;;;50289:27:14;::::1;50317:12:::0;50331:6;50289:27:::1;:49::i;:::-;49866:479;49766:579:::0;;:::o;15059:69::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;15059:69:14;;;;-1:-1:-1;15059:69:14;;;;;-1:-1:-1;15059:69:14;;;;;:::o;50376:1138::-;-1:-1:-1;;;;;50518:34:14;;50486:29;50518:34;;;:19;:34;;;;;:41;;50553:5;;50518:41;;;;;;:::i;:::-;;;;;;;;;;;;;;50578:12;;;;50518:41;;-1:-1:-1;50578:12:14;;50577:13;50569:42;;;;-1:-1:-1;;;50569:42:14;;25316:2:15;50569:42:14;;;25298:21:15;25355:2;25335:18;;;25328:30;-1:-1:-1;;;25374:18:15;;;25367:46;25430:18;;50569:42:14;25114:340:15;50569:42:14;50621:12;;;:19;;50636:4;-1:-1:-1;;50621:19:14;;;;;;;;50672:10;;;-1:-1:-1;;;;;50672:10:14;50658;:24;50650:69;;;;-1:-1:-1;;;50650:69:14;;25661:2:15;50650:69:14;;;25643:21:15;;;25680:18;;;25673:30;25739:34;25719:18;;;25712:62;25791:18;;50650:69:14;25459:356:15;50650:69:14;50855:16;50831:11;;;;50810:33;;:16;;:20;:33::i;:::-;:62;50806:116;;50910:11;;;;;50893:29;;-1:-1:-1;;;50893:29:14;;;;;160:25:15;133:18;;50893:29:14;14:177:15;50806:116:14;51065:11;;;;51044:62;;51086:18;51078:27;51044:16;;:62;:20;:62::i;:::-;-1:-1:-1;51371:8:14;;;;51309:7;;51302:87;;-1:-1:-1;;;;;51309:7:14;;;;51344:13;;51302:28;:87::i;:::-;51495:11;;;;51478:29;;;;;;;50476:1038;50376:1138;;:::o;48690:714::-;1531:13:11;:11;:13::i;:::-;48780:1:14::1;48765:12;;:16;:50;;;;;48803:12;;48785:15;:30;48765:50;48757:73;;;;-1:-1:-1::0;;;48757:73:14::1;;;;;;;:::i;:::-;48855:1;48840:12;:16:::0;;;48945:21:::1;::::0;49031:11;;;49027:43:::1;;49051:19;;-1:-1:-1::0;;;49051:19:14::1;;;;;;;;;;;49027:43;49180:9;49195:12;-1:-1:-1::0;;;;;49195:17:14::1;49220:6;49195:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49179:52;;;49331:4;49326:71;;49344:53;::::0;-1:-1:-1;;;49344:53:14;;49364:10:::1;49344:53;::::0;::::1;26232:51:15::0;-1:-1:-1;;;;;26319:32:15;;26299:18;;;26292:60;26368:18;;;26361:34;;;26205:18;;49344:53:14::1;26030:371:15::0;51520:396:14;51652:28;51692:36;51757:6;-1:-1:-1;;;;;51731:33:14;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51731:33:14;;-1:-1:-1;;51731:33:14;;;;;;;;;;;;51692:72;;51779:9;51774:112;51798:6;51794:1;:10;51774:112;;;-1:-1:-1;;;;;51838:26:14;;;;;;:19;:26;;;;;51865:9;51873:1;51865:7;:9;:::i;:::-;51838:37;;;;;;;;:::i;:::-;;;;;;;;;;51825:50;;;;;;;;51838:37;;;;;;;51825:50;;-1:-1:-1;;;;;51825:50:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:10;;:7;;51833:1;;51825:10;;;;;;:::i;:::-;;;;;;;;;;:50;51806:3;;51774:112;;;-1:-1:-1;51902:7:14;51520:396;-1:-1:-1;;;;51520:396:14:o;41792:1316::-;1531:13:11;:11;:13::i;:::-;42059:16:14::1;42016:31;:16;42037:9:::0;42016:20:::1;:31::i;:::-;:60;42012:112;;42097:27;::::0;-1:-1:-1;;;42097:27:14;;::::1;::::0;::::1;160:25:15::0;;;133:18;;42097:27:14::1;14:177:15::0;42012:112:14::1;42246:60;42267:9:::0;42286:18:::1;42278:27;::::0;42246:60:::1;-1:-1:-1::0;;;;;;42350:34:14;::::1;;::::0;;;:19:::1;:34;::::0;;;;:41;;42385:5;;42350:41;::::1;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;:52:::1;:41;::::0;;::::1;;:52;::::0;::::1;;42349:53;42341:82;;;::::0;-1:-1:-1;;;42341:82:14;;25316:2:15;42341:82:14::1;::::0;::::1;25298:21:15::0;25355:2;25335:18;;;25328:30;-1:-1:-1;;;25374:18:15;;;25367:46;25430:18;;42341:82:14::1;25114:340:15::0;42341:82:14::1;-1:-1:-1::0;;;;;42433:34:14;::::1;;::::0;;;:19:::1;:34;::::0;;;;:41;;42488:4:::1;::::0;42433:34;42468:5;;42433:41;::::1;;;;;:::i;:::-;;;;;;;;;;;:52;;;:59;;;;;;;;;;;;;;;;;;42582:37;42622:17;:28;42640:9;42622:28;;;;;;;;;;;42582:68;;42846:139;42914:13;42941:7;:24;;42966:1;42941:27;;;;;;;;:::i;:::-;;;;;;;;;;;:34;;;42853:7;:24;;42878:1;42853:27;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;:33:::0;-1:-1:-1;;;;;42853:33:14::1;::::0;42846:139;:54:::1;:139::i;:::-;43074:27;::::0;43091:9;;43074:27:::1;::::0;;;::::1;41926:1182;41792:1316:::0;;;:::o;17951:151::-;1531:13:11;:11;:13::i;:::-;18023:26:14::1;:15;18041:8;18023:26;:::i;:::-;18008:12;:41:::0;;;18064:31:::1;::::0;::::1;::::0;;;::::1;17951:151::o:0;2293:101:11:-;1531:13;:11;:13::i;:::-;2357:30:::1;2384:1;2357:18;:30::i;:::-;2293:101::o:0;1761:229:12:-;953:13;;735:10:13;;-1:-1:-1;;;;;953:13:12;1856:24;;1852:96;;1903:34;;-1:-1:-1;;;1903:34:12;;-1:-1:-1;;;;;961:32:15;;1903:34:12;;;943:51:15;916:18;;1903:34:12;775:225:15;1852:96:12;1957:26;1976:6;1957:18;:26::i;:::-;1803:187;1761:229::o;38838:1906:14:-;2412:10:0;-1:-1:-1;;;;;2434:8:0;2412:31;;2408:69;;2452:25;;-1:-1:-1;;;2452:25:0;;2466:10;2452:25;;;943:51:15;916:18;;2452:25:0;775:225:15;2408:69:0;39010:34:14::1;::::0;;;::::1;::::0;::::1;;:::i;:::-;39069:21;;::::0;::::1;:14:::0;:21:::1;:::i;:::-;39058:44;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;17223:45:14;::::1;;::::0;;;:23:::1;:45;::::0;;;;;::::1;;17218:114;;17289:43;::::0;-1:-1:-1;;;17289:43:14;;-1:-1:-1;;;;;27484:31:15;;17289:43:14::1;::::0;::::1;27466:50:15::0;27439:18;;17289:43:14::1;27322:200:15::0;17218:114:14::1;-1:-1:-1::0;;;;;17347:27:14;::::1;;::::0;;;:18:::1;:27;::::0;;;;;::::1;;17342:66;;17383:25;::::0;-1:-1:-1;;;17383:25:14;;-1:-1:-1;;;;;961:32:15;;17383:25:14::1;::::0;::::1;943:51:15::0;916:18;;17383:25:14::1;775:225:15::0;17342:66:14::1;39234:35:::2;::::0;-1:-1:-1;;;39234:35:14;;:4:::2;::::0;:19:::2;::::0;:35:::2;::::0;39254:14;;39234:35:::2;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;39230:1508;;;::::0;;;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;39541:119:14::2;39579:24:::0;::::2;39629:16;39621:25;::::0;39541:119:::2;-1:-1:-1::0;39692:24:14;::::2;39674:43;::::0;;;:17:::2;:43;::::0;;;;39720:14;;39674:60:::2;39720:14:::0;39674:43;:60:::2;:::i;:::-;-1:-1:-1::0;39777:18:14::2;::::0;-1:-1:-1;39809:19:14::2;;::::0;::::2;:14:::0;:19:::2;:::i;:::-;39798:41;;;;;;;:::i;:::-;39777:62;;39886:36;39942:4;39925:43;;;;;;;;;;;;:::i;:::-;39886:82;;39982:19;:46;40002:12;:25;;;-1:-1:-1::0;;;;;39982:46:14::2;-1:-1:-1::0;;;;;39982:46:14::2;;;;;;;;;;;;40034:222;;;;;;;;40071:4;-1:-1:-1::0;;;;;40034:222:14::2;;;;;40093:12;:25;;;-1:-1:-1::0;;;;;40034:222:14::2;;;;;40136:14;:31;;;;;;;;:::i;:::-;40168:1;40136:34;;;;;;;:::i;:::-;;::::0;;::::2;::::0;;;::::2;:41;::::0;;::::2;;40034:222:::0;;40195:5:::2;40034:222:::0;;::::2;::::0;;;40218:24;::::2;40034:222:::0;;;;;;39982:275;;40034:222;39982:275;;::::2;::::0;;;;;;;;;;::::2;::::0;;::::2;;::::0;;-1:-1:-1;;;;;;39982:275:14;;::::2;-1:-1:-1::0;;;;;39982:275:14;;::::2;;::::0;;;;::::2;::::0;;;::::2;::::0;;;::::2;::::0;;::::2;::::0;;;::::2;::::0;;;;::::2;::::0;::::2;::::0;::::2;::::0;::::2;::::0;::::2;::::0;::::2;::::0;::::2;::::0;;-1:-1:-1;;39982:275:14::2;::::0;::::2;;::::0;;;::::2;::::0;;::::2;::::0;;::::2;::::0;::::2;::::0;;::::2;::::0;40324:112;;;;::::2;::::0;;40355:25;;::::2;::::0;;40324:112;::::2;::::0;;40402:25;40382:46;::::2;::::0;;:19:::2;:46:::0;;;;;:53;40324:112;;::::2;::::0;;;40271:50;;;:24:::2;:50:::0;;;;;;;:165;;;;;;::::2;::::0;::::2;::::0;;;::::2;::::0;;;;;;::::2;::::0;;;;40663:44;;40218:24;;-1:-1:-1;40663:44:14::2;::::0;::::2;::::0;40703:3;;40663:44:::2;:::i;:::-;;;;;;;;40721:7;;;49866:479:::1;49766:579:::0;;:::o;37652:898::-;37755:22;37789:14;37806:25;:16;:23;:25::i;:::-;37789:42;-1:-1:-1;37947:20:14;37789:42;37971:14;37980:5;37971:6;:14;:::i;:::-;:23;37970:75;;38040:5;37970:75;;;38010:15;38019:6;38010;:15;:::i;:::-;37947:98;;38055:37;38128:12;-1:-1:-1;;;;;38095:55:14;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;38095:55:14;;;;;;;;;;;;;;;;38055:95;;38268:9;38263:250;38287:12;38283:1;:16;38263:250;;;38321:17;;38361:61;38398:10;38407:1;38398:6;:10;:::i;:::-;38361:16;;:19;:61::i;:::-;38320:102;;;;38456:46;;;;;;;;38470:9;38456:46;;;;38491:9;38481:20;;;;;;;;:::i;:::-;38456:46;;;;;;;;:::i;:::-;;;;38436:14;38451:1;38436:17;;;;;;;;:::i;:::-;;;;;;;;;;:66;-1:-1:-1;;38301:3:14;;38263:250;;;-1:-1:-1;38529:14:14;37652:898;-1:-1:-1;;;;;37652:898:14:o;19418:206::-;1531:13:11;:11;:13::i;:::-;-1:-1:-1;;;;;19552:55:14;;;::::1;;::::0;;;:28:::1;:55;::::0;;;;:65;;-1:-1:-1;;19552:65:14::1;::::0;::::1;;::::0;;;::::1;::::0;;19418:206::o;18456:325::-;1531:13:11;:11;:13::i;:::-;18573:1:14::1;18558:12;;:16;:50;;;;;18596:12;;18578:15;:30;18558:50;18550:73;;;;-1:-1:-1::0;;;18550:73:14::1;;;;;;;:::i;:::-;18648:1;18633:12;:16:::0;15584:5:::1;18680:13:::0;::::1;18672:42;;;::::0;-1:-1:-1;;;18672:42:14;;39449:2:15;18672:42:14::1;::::0;::::1;39431:21:15::0;39488:2;39468:18;;;39461:30;-1:-1:-1;;;39507:18:15;;;39500:46;39563:18;;18672:42:14::1;39247:340:15::0;18672:42:14::1;18724:7;:14:::0;;;;18748:11:::1;:26:::0;;-1:-1:-1;;;;;;18748:26:14::1;-1:-1:-1::0;;;;;18748:26:14;;::::1;::::0;;;::::1;::::0;;18456:325::o;28525:1033::-;28594:7;28695:13;28711:16;:5;:14;:16::i;:::-;28695:32;-1:-1:-1;28809:12:14;;28908:560;28932:5;28928:1;:9;28908:560;;;29139:16;29160:23;:5;:21;:23::i;:::-;29136:47;;;;29305:8;29298:15;;29440:17;:5;:15;:17::i;:::-;29432:25;-1:-1:-1;;28939:3:14;;28908:560;;;-1:-1:-1;29547:4:14;28525:1033;-1:-1:-1;;;28525:1033:14:o;34806:1040::-;35089:12;35283:43;35329:233;35360:9;35401:17;35390:29;;;;;;;;:::i;:::-;;;;;;;;;;;;;35434:6;35454:7;35475:10;:46;;35519:1;35475:46;;;35496:11;35475:46;35535:17;35329;:233::i;:::-;35283:279;;35655:20;35692:4;-1:-1:-1;;;;;35692:14:14;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;35783:56;;-1:-1:-1;;;35783:56:14;;35655:54;;-1:-1:-1;;;;;;35783:13:14;;;;;:56;;35797:25;;35824:14;;35783:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;35776:63;34806:1040;-1:-1:-1;;;;;;;;;;34806:1040:14:o;41126:212::-;17881:10;17903:4;17881:27;17877:50;;17917:10;;-1:-1:-1;;;17917:10:14;;;;;;;;;;;17877:50;41259:28:::1;;41272:14:::0;41259:28:::1;:::i;:::-;:12;:28::i;14930:85::-:0;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;14930:85:14;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;19913:186::-;1531:13:11;:11;:13::i;:::-;-1:-1:-1;;;;;20037:45:14;;;::::1;;::::0;;;:23:::1;:45;::::0;;;;:55;;-1:-1:-1;;20037:55:14::1;::::0;::::1;;::::0;;;::::1;::::0;;19913:186::o;20374:129::-;1531:13:11;:11;:13::i;:::-;-1:-1:-1;;;;;20459:27:14;;;::::1;;::::0;;;:18:::1;:27;::::0;;;;:37;;-1:-1:-1;;20459:37:14::1;::::0;::::1;;::::0;;;::::1;::::0;;20374:129::o;18112:338::-;1531:13:11;:11;:13::i;:::-;18216:1:14::1;18201:12;;:16;:50;;;;;18239:12;;18221:15;:30;18201:50;18193:73;;;;-1:-1:-1::0;;;18193:73:14::1;;;;;;;:::i;:::-;18291:1;18276:12;:16:::0;-1:-1:-1;;;;;18319:22:14;::::1;18315:91;;18364:31;::::0;-1:-1:-1;;;18364:31:14;;18392:1:::1;18364:31;::::0;::::1;943:51:15::0;916:18;;18364:31:14::1;775:225:15::0;932:197:6;1055:68;;-1:-1:-1;;;;;26250:32:15;;;1055:68:6;;;26232:51:15;26319:32;;26299:18;;;26292:60;26368:18;;;26361:34;;;1028:96:6;;1048:5;;-1:-1:-1;;;1078:27:6;26205:18:15;;1055:68:6;;;;-1:-1:-1;;1055:68:6;;;;;;;;;;;;;;-1:-1:-1;;;;;1055:68:6;-1:-1:-1;;;;;;1055:68:6;;;;;;;;;;1028:19;:96::i;:::-;932:197;;;;:::o;29943:2456:14:-;30040:15;30099:4;-1:-1:-1;;;;;30071:32:14;:16;:24;;;-1:-1:-1;;;;;30071:32:14;;30067:2140;;-1:-1:-1;30152:25:14;;;;30067:2140;;;30235:16;:35;;;30231:1326;;;30298:24;;-1:-1:-1;;;;;30326:4:14;30298:32;;;;;30290:70;;;;-1:-1:-1;;;30290:70:14;;45293:2:15;30290:70:14;;;45275:21:15;45332:2;45312:18;;;45305:30;45371:27;45351:18;;;45344:55;45416:18;;30290:70:14;45091:349:15;30290:70:14;30397:24;;30431:8;;30442:25;;;;30378:90;;30397:24;-1:-1:-1;;;;;30431:8:14;;30378:18;:90::i;:::-;30606:16;;;30620:1;30606:16;;;;;;;;30582:21;;30606:16;;;;;;;;;;-1:-1:-1;30606:16:14;30582:40;;30650:16;:24;;;30640:4;30645:1;30640:7;;;;;;;;:::i;:::-;;;;;;:34;-1:-1:-1;;;;;30640:34:14;;;-1:-1:-1;;;;;30640:34:14;;;;;30702:4;30692;30697:1;30692:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;;30692:14:14;;;:7;;;;;;;;;:14;30752:37;;-1:-1:-1;;;30752:37:14;;30783:4;30752:37;;;943:51:15;30724:25:14;;30759:4;30752:22;;;;916:18:15;;30752:37:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;30807:8;;30891:25;;;;30938:35;;;;30724:65;;-1:-1:-1;;;;;;30807:8:14;;;;:62;;30891:25;30995:4;31029;31056:25;:15;31074:7;31056:25;:::i;:::-;30807:292;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;31144:37:14;;-1:-1:-1;;;31144:37:14;;31175:4;31144:37;;;943:51:15;31117:24:14;;-1:-1:-1;31151:4:14;-1:-1:-1;;;;;31144:22:14;;-1:-1:-1;31144:22:14;;916:18:15;;31144:37:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;31117:64;-1:-1:-1;31199:15:14;31217:36;31236:17;31117:64;31217:36;:::i;:::-;31271:25;;;:35;;;31394:8;;31199:54;;-1:-1:-1;31361:52:14;;31380:4;;-1:-1:-1;;;;;31394:8:14;31199:54;31361:18;:52::i;:::-;30272:1156;;;;30231:1326;;;31471:24;;31505:8;;31516:25;;;;31452:90;;31471:24;-1:-1:-1;;;;;31505:8:14;;31452:18;:90::i;:::-;31621:37;;-1:-1:-1;;;31621:37:14;;31652:4;31621:37;;;943:51:15;31593:25:14;;31628:4;-1:-1:-1;;;;;31621:22:14;;;;916:18:15;;31621:37:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;31719:171;;;;;;;;31767:30;;;;31719:171;;31807:4;31719:171;;;;;;;;31814:25;;;31719:171;;;;;31841:35;;;;31719:171;;;;32006:8;;:29;;-1:-1:-1;;;32006:29:14;;31593:65;;-1:-1:-1;31719:171:14;-1:-1:-1;;;;;32006:8:14;;;;:19;;:29;;31719:171;;32006:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;32077:37;;-1:-1:-1;;;32077:37:14;;32108:4;32077:37;;;943:51:15;31996:39:14;;-1:-1:-1;32050:24:14;;-1:-1:-1;;;;;32084:4:14;32077:22;;;;916:18:15;;32077:37:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;32050:64;;32155:17;32136:16;:36;32128:68;;;;-1:-1:-1;;;32128:68:14;;46823:2:15;32128:68:14;;;46805:21:15;46862:2;46842:18;;;46835:30;-1:-1:-1;;;46881:18:15;;;46874:49;46940:18;;32128:68:14;46621:343:15;32128:68:14;30194:2013;;;30067:2140;32240:17;32281:12;15646:4;32290:3;32281:12;:::i;:::-;32270:7;;32260:17;;:7;:17;:::i;:::-;:34;;;;:::i;:::-;32330:11;;32240:54;;-1:-1:-1;32304:49:14;;-1:-1:-1;;;;;32311:4:14;32304:25;;;32330:11;32240:54;32304:25;:49::i;:::-;32373:19;32383:9;32373:7;:19;:::i;:::-;32363:29;29943:2456;-1:-1:-1;;;29943:2456:14:o;21088:2252::-;-1:-1:-1;;;;;16724:55:14;;21441:17;16724:55;;;:28;:55;;;;;;21361:25;;16724:55;;16719:138;;16800:57;;-1:-1:-1;;;16800:57:14;;-1:-1:-1;;;;;27484:31:15;;16800:57:14;;;27466:50:15;27439:18;;16800:57:14;27322:200:15;16719:138:14;21413:9;-1:-1:-1;;;;;17603:23:14;::::1;17599:60;;17635:24;;-1:-1:-1::0;;;17635:24:14::1;;;;;;;;;;;17599:60;21646:43:::2;21692:175;21723:9;21746:5;21765:6;21785:7;21814:11;21840:17;21692;:175::i;:::-;21646:221;;21961:20;21998:4;-1:-1:-1::0;;;;;21998:14:14::2;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;21961:54;;22083:12;22098:6;-1:-1:-1::0;;;;;22098:13:14::2;;22112:25;22139:14;22098:56;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;22083:71;;22223:4;22231:1;22223:9:::0;22219:51:::2;;22254:16;;-1:-1:-1::0;;;22254:16:14::2;;;;;;;;;;;22219:51;22293:36;::::0;-1:-1:-1;;;22293:36:14;;22323:4:::2;22293:36;::::0;::::2;943:51:15::0;22293:11:14::2;-1:-1:-1::0;;;;;22293:21:14::2;::::0;::::2;::::0;916:18:15;;22293:36:14::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;22286:4;:43;22282:128;;;22367:36;::::0;-1:-1:-1;;;22367:36:14;;22397:4:::2;22367:36;::::0;::::2;943:51:15::0;22367:11:14::2;-1:-1:-1::0;;;;;22367:21:14::2;::::0;::::2;::::0;916:18:15;;22367:36:14::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;22350:60;::::0;-1:-1:-1;;;22350:60:14;;::::2;::::0;::::2;47365:25:15::0;;;;47406:18;;;47399:34;;;47338:18;;22350:60:14::2;47191:248:15::0;22282:128:14::2;22528:42;::::0;-1:-1:-1;;;22528:42:14;;-1:-1:-1;;;;;5864:32:15;;;22528:42:14::2;::::0;::::2;5846:51:15::0;5913:18;;;5906:34;;;22528:11:14::2;:19;::::0;::::2;::::0;5819:18:15;;22528:42:14::2;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;22693:52;22712:6;22728;22737:7;22693:18;:52::i;:::-;22849:58;::::0;-1:-1:-1;;;22849:58:14;;-1:-1:-1;;;;;22849:15:14;::::2;::::0;::::2;::::0;:58:::2;::::0;22865:25;;22892:14;;22849:58:::2;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;22837:70;;22971:22;22988:4;22971:16;:22::i;:::-;23103:25;-1:-1:-1::0;;;;;23055:218:14::2;23080:9;23055:218;23142:9;23165:5;23184:6;23204:7;23233:11;23259:4;23055:218;;;;;;;;;;;:::i;:::-;;;;;;;;23317:16;;;16867:1:::1;21088:2252:::0;;;;;;;;;:::o;24540:::-;-1:-1:-1;;;;;16724:55:14;;24895:17;16724:55;;;:28;:55;;;;;;24815:25;;16724:55;;16719:138;;16800:57;;-1:-1:-1;;;16800:57:14;;-1:-1:-1;;;;;27484:31:15;;16800:57:14;;;27466:50:15;27439:18;;16800:57:14;27322:200:15;16719:138:14;24867:9;-1:-1:-1;;;;;17603:23:14;::::1;17599:60;;17635:24;;-1:-1:-1::0;;;17635:24:14::1;;;;;;;;;;;17599:60;25098:43:::2;25144:165;25175:9;25198:5;25217:6;25237:7;25266:1;25282:17;25144;:165::i;:::-;25098:211;;25403:20;25440:4;-1:-1:-1::0;;;;;25440:14:14::2;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;25403:54;;25525:12;25540:6;-1:-1:-1::0;;;;;25540:13:14::2;;25554:25;25581:14;25540:56;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;25525:71;;25665:4;25673:1;25665:9:::0;25661:51:::2;;25696:16;;-1:-1:-1::0;;;25696:16:14::2;;;;;;;;;;;25661:51;25734:21;25727:4;:28;25723:98;;;25776:45;::::0;-1:-1:-1;;;25776:45:14;;25793:21:::2;25776:45;::::0;::::2;47365:25:15::0;47406:18;;;47399:34;;;47338:18;;25776:45:14::2;47191:248:15::0;25723:98:14::2;25944:52;25963:6;25979;25988:7;25944:18;:52::i;:::-;26108:6;-1:-1:-1::0;;;;;26108:15:14::2;;26131:4;26150:25;26189:14;26108:105;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;26341:49;::::0;26096:117;;-1:-1:-1;26323:12:14::2;::::0;26341:10:::2;::::0;26364:21:::2;::::0;26323:12;26341:49;26323:12;26341:49;26364:21;26341:10;:49:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26322:68;;;26404:7;26400:57;;26434:12;;-1:-1:-1::0;;;26434:12:14::2;;;;;;;;;;;26400:57;26565:25;-1:-1:-1::0;;;;;26517:208:14::2;26542:9;26517:208;26604:9;26627:5;26646:6;26666:7;26695:1;26711:4;26517:208;;;;;;;;;;;:::i;:::-;;;;;;;;26769:16;;;;16867:1:::1;24540:2252:::0;;;;;;;;;:::o;1796:162:11:-;1684:7;1710:6;-1:-1:-1;;;;;1710:6:11;735:10:13;1855:23:11;1851:101;;1901:40;;-1:-1:-1;;;1901:40:11;;735:10:13;1901:40:11;;;943:51:15;916:18;;1901:40:11;775:225:15;759:169:6;864:58;;-1:-1:-1;;;;;5864:32:15;;864:58:6;;;5846:51:15;5913:18;;;5906:34;;;837:86:6;;857:5;;-1:-1:-1;;;887:23:6;5819:18:15;;864:58:6;5672:274:15;15766:135:9;15845:7;15875:20;15879:3;15891;15875;:20::i;13958:165::-;14063:4;14082:36;14086:3;14098;14111:5;14082:3;:36::i;:::-;14075:43;13958:165;-1:-1:-1;;;;13958:165:9:o;1528:153:12:-;1617:13;1610:20;;-1:-1:-1;;;;;;1610:20:12;;;1640:34;1665:8;1640:24;:34::i;14673:114:9:-;14742:7;14764:18;14771:3;14764:6;:18::i;15104:195::-;15184:7;;;;15239:21;15242:3;15254:5;15239:2;:21::i;:::-;15208:52;;-1:-1:-1;15208:52:9;-1:-1:-1;;;15104:195:9;;;;;;:::o;1932:235:14:-;1992:7;1157:20;1047:1;954:2;1157:20;:::i;:::-;954:2;2121:4;:11;:23;;;;:::i;:::-;2120:39;;;;:::i;2429:314::-;2533:14;;;2633:17;:4;2533:14;2633;:17::i;:::-;2624:26;-1:-1:-1;2666:24:14;:4;954:2;2666:13;:24::i;:::-;2660:30;-1:-1:-1;2709:27:14;1157:20;1047:1;954:2;1157:20;:::i;:::-;2709:4;;:14;:27::i;:::-;2700:36;;2429:314;;;;;:::o;3285:149::-;3346:12;3377:50;1157:20;1047:1;954:2;1157:20;:::i;:::-;;1047:1;954:2;1157:20;:::i;:::-;3401:4;:11;:25;;;;:::i;:::-;3377:4;;:50;:10;:50::i;46684:1368::-;46914:28;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46914:28:14;47045:30;;;47073:1;47045:30;;;;;;;;;46987:55;;47045:30;;;;-1:-1:-1;;;;;;;;;;;;;;;;;47045:30:14;;;;;;;;;;;;;;;46987:88;;47085:40;47128:89;;;;;;;;47171:6;-1:-1:-1;;;;;47128:89:14;;;;;47199:7;47128:89;;;47085:132;;47245:11;47227:12;47240:1;47227:15;;;;;;;;:::i;:::-;;;;;;;;;;:29;47426:588;;;;;;;;;-1:-1:-1;;;;;961:32:15;;47472:21:14;;;943:51:15;47380:43:14;;47426:588;916:18:15;;;47472:21:14;;;;;;;;;;;;47426:588;;;;47556:5;47545:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;47426:588;;;;47612:12;47426:588;;;;47987:16;-1:-1:-1;;;;;47426:588:14;;;;;47699:162;47795:52;;;;;;;;47828:17;47795:52;;;1394:56:3;;;54681:13:15;;1394:56:3;;;;54663:32:15;;;;1394:56:3;;;;;;;;;;54636:18:15;;;;1394:56:3;;;;;;;-1:-1:-1;;;;;1394:56:3;-1:-1:-1;;;1394:56:3;;;;1285:170;47699:162:14;47426:588;;47380:634;46684:1368;-1:-1:-1;;;;;;;;;;46684:1368:14:o;43292:2761::-;43427:24;;43401:23;:50;43516:19;;;;43505:41;;;;;;;;;;;;;:::i;:::-;43484:18;;:62;;:18;:62;:::i;:::-;;43710:14;:31;;;43742:1;43710:34;;;;;;;;:::i;:::-;;;;;;;:40;;;43681:26;;:69;;;;;-1:-1:-1;;;;;43681:69:14;;;;;-1:-1:-1;;;;;43681:69:14;;;;;;43788:14;:31;;;43820:1;43788:34;;;;;;;;:::i;:::-;;;;;;;:41;;;43760:25;:69;;;;43911:14;:34;;;-1:-1:-1;;;;;43844:424:14;43873:14;:24;;;43844:424;44022:14;:21;;;44011:44;;;;;;;;;;;;:::i;:::-;44119:14;:19;;;44108:41;;;;;;;;;;;;:::i;:::-;44163:14;:31;;;44195:1;44163:34;;;;;;;;:::i;:::-;;;;;;;:40;;;44217:14;:31;;;44249:1;44217:34;;;;;;;;:::i;:::-;;;;;;;:41;;;43844:424;;;;;;;;;:::i;:::-;;;;;;;;44279:36;44335:18;44318:57;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;44279:96;;44416:4;-1:-1:-1;;;;;44389:31:14;:12;:23;;;-1:-1:-1;;;;;44389:31:14;;44385:148;;44469:25;;;;44496;;44443:79;;-1:-1:-1;;;;;44450:4:14;44443:25;;;:79::i;:::-;44436:86;43292:2761;:::o;44385:148::-;44630:8;;44641:25;;;44601:66;;-1:-1:-1;;;44601:66:14;;-1:-1:-1;;;;;44630:8:14;;;44601:66;;;5846:51:15;;;;5913:18;;;5906:34;44608:4:14;44601:20;;;;;;5819:18:15;;44601:66:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;44677:44;44724:239;;;;;;;;44768:12;:17;;;44724:239;;;;44800:12;:17;;;:43;;;;44821:12;:22;;;44800:43;:87;;44862:12;:25;;;44800:87;;;44854:4;44800:87;-1:-1:-1;;;;;44724:239:14;;;;;44901:25;;;44724:239;;;;;44928:25;;;;44724:239;;;;;;;45003:8;;:27;;-1:-1:-1;;;45003:27:14;;44677:286;;-1:-1:-1;;;45003:8:14;;;;;:19;;:27;;44677:286;;45003:27;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;44973:57;;45083:12;:17;;;45079:519;;;45216:8;;45187:60;;-1:-1:-1;;;45187:60:14;;-1:-1:-1;;;;;45216:8:14;;;45187:60;;;5846:51:15;5913:18;;;5906:34;;;45194:4:14;45187:20;;;;;;5819:18:15;;45187:60:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;45261:8:14;;45378:31;;;;45427:19;;;;45464:22;;;;-1:-1:-1;;;;;45261:8:14;;;;:62;;45341:19;;45378:31;;45464:66;;45505:12;:25;;;45464:66;;;45497:4;45464:66;45548:25;:15;45566:7;45548:25;:::i;:::-;45261:326;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45079:519;45612:12;:22;;;45608:439;;;45694:37;;-1:-1:-1;;;45694:37:14;;45725:4;45694:37;;;943:51:15;45672:19:14;;45701:4;-1:-1:-1;;;;;45694:22:14;;;;916:18:15;;45694:37:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;45745:33;;-1:-1:-1;;;45745:33:14;;;;;160:25:15;;;45672:59:14;;-1:-1:-1;45751:4:14;-1:-1:-1;;;;;45745:20:14;;;;133:18:15;;45745:33:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45876:12;45894;:25;;;-1:-1:-1;;;;;45894:30:14;45932:21;45894:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45875:83;;;45976:7;45972:65;;46010:12;;-1:-1:-1;;;46010:12:14;;;;;;;;;;;45972:65;45636:411;;43391:2662;;;43292:2761;:::o;3401:668:6:-;3804:23;3830:69;3858:4;3830:69;;;;;;;;;;;;;;;;;3838:5;-1:-1:-1;;;;;3830:27:6;;;:69;;;;;:::i;:::-;3909:17;;3804:95;;-1:-1:-1;3909:21:6;3905:160;;3992:10;3981:30;;;;;;;;;;;;:::i;:::-;3973:85;;;;-1:-1:-1;;;3973:85:6;;51501:2:15;3973:85:6;;;51483:21:15;51540:2;51520:18;;;51513:30;51579:34;51559:18;;;51552:62;-1:-1:-1;;;51630:18:15;;;51623:40;51680:19;;3973:85:6;51299:406:15;29631:306:14;29739:48;;-1:-1:-1;;;29739:48:14;;29772:4;29739:48;;;51884:51:15;-1:-1:-1;;;;;51971:32:15;;;51951:18;;;51944:60;29790:14:14;;29739:24;;;;;;51857:18:15;;29739:48:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:65;29735:196;;;29820:38;-1:-1:-1;;;;;29820:26:14;;29847:7;29856:1;29820:26;:38::i;:::-;29872:48;-1:-1:-1;;;;;29872:26:14;;29899:7;-1:-1:-1;;29872:26:14;:48::i;23633:290::-;23723:36;;-1:-1:-1;;;23723:36:14;;23753:4;23723:36;;;943:51:15;23692:28:14;;23723:11;-1:-1:-1;;;;;23723:21:14;;;;916:18:15;;23723:36:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;23692:67;-1:-1:-1;23769:18:14;23790:27;23813:4;23692:67;23790:27;:::i;:::-;23769:48;-1:-1:-1;23832:14:14;;23828:89;;23862:44;;-1:-1:-1;;;23862:44:14;;23883:10;23862:44;;;5846:51:15;5913:18;;;5906:34;;;23862:11:14;-1:-1:-1;;;;;23862:20:14;;;;5819:18:15;;23862:44:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;4425:233:9:-;4507:7;4538:16;;;:11;;;:16;;;;;;4568:10;;;;:32;;;4582:18;4591:3;4596;4582:8;:18::i;:::-;4560:75;;;;-1:-1:-1;;;4560:75:9;;52217:2:15;4560:75:9;;;52199:21:15;52256:2;52236:18;;;52229:30;52295:32;52275:18;;;52268:60;52345:18;;4560:75:9;52015:354:15;2485:180:9;2593:4;2605:16;;;:11;;;:16;;;;;:24;;;2642:18;2605:3;2617;2642:13;:18::i;2912:187:11:-;2985:16;3004:6;;-1:-1:-1;;;;;3020:17:11;;;-1:-1:-1;;;;;;3020:17:11;;;;;;3052:40;;3004:6;;;;;;;3052:40;;2985:16;3052:40;2975:124;2912:187;:::o;3262:117:9:-;3334:7;3356:18;:3;:16;:18::i;3710:181::-;3793:7;;;3831:19;:3;3844:5;3831:12;:19::i;:::-;3869:16;;;;:11;;;;;:16;;;;;;;;;3710:181;-1:-1:-1;;;;3710:181:9:o;9777:416:14:-;9856:7;9898:6;9883:11;9898:6;9892:2;9883:11;:::i;:::-;:21;;9875:52;;;;-1:-1:-1;;;9875:52:14;;52576:2:15;9875:52:14;;;52558:21:15;52615:2;52595:18;;;52588:30;-1:-1:-1;;;52634:18:15;;;52627:48;52692:18;;9875:52:14;52374:342:15;9875:52:14;9962:11;:6;9971:2;9962:11;:::i;:::-;9945:6;:13;:28;;9937:62;;;;-1:-1:-1;;;9937:62:14;;52923:2:15;9937:62:14;;;52905:21:15;52962:2;52942:18;;;52935:30;-1:-1:-1;;;52981:18:15;;;52974:51;53042:18;;9937:62:14;52721:345:15;9937:62:14;-1:-1:-1;10087:30:14;10103:4;10087:30;10081:37;-1:-1:-1;;;10077:71:14;;;9777:416::o;10199:365::-;10277:6;10317;10303:10;10317:6;10312:1;10303:10;:::i;:::-;:20;;10295:50;;;;-1:-1:-1;;;10295:50:14;;53273:2:15;10295:50:14;;;53255:21:15;53312:2;53292:18;;;53285:30;-1:-1:-1;;;53331:18:15;;;53324:47;53388:18;;10295:50:14;53071:341:15;10295:50:14;10380:10;:6;10389:1;10380:10;:::i;:::-;10363:6;:13;:27;;10355:60;;;;-1:-1:-1;;;10355:60:14;;53619:2:15;10355:60:14;;;53601:21:15;53658:2;53638:18;;;53631:30;-1:-1:-1;;;53677:18:15;;;53670:50;53737:18;;10355:60:14;53417:344:15;10355:60:14;-1:-1:-1;10492:29:14;10508:3;10492:29;10486:36;;10199:365::o;6764:3007::-;6886:12;6934:7;6918:12;6934:7;6928:2;6918:12;:::i;:::-;:23;;6910:50;;;;-1:-1:-1;;;6910:50:14;;53968:2:15;6910:50:14;;;53950:21:15;54007:2;53987:18;;;53980:30;-1:-1:-1;;;54026:18:15;;;54019:44;54080:18;;6910:50:14;53766:338:15;6910:50:14;6998:6;6978:16;6987:7;6998:6;6978:16;:::i;:::-;:26;;6970:53;;;;-1:-1:-1;;;6970:53:14;;53968:2:15;6970:53:14;;;53950:21:15;54007:2;53987:18;;;53980:30;-1:-1:-1;;;54026:18:15;;;54019:44;54080:18;;6970:53:14;53766:338:15;6970:53:14;7058:16;7067:7;7058:6;:16;:::i;:::-;7041:6;:13;:33;;7033:63;;;;-1:-1:-1;;;7033:63:14;;54311:2:15;7033:63:14;;;54293:21:15;54350:2;54330:18;;;54323:30;-1:-1:-1;;;54369:18:15;;;54362:47;54426:18;;7033:63:14;54109:341:15;7033:63:14;7107:22;7170:15;;7202:2099;;;;9454:4;9448:11;9435:24;;9652:1;9641:9;9634:20;9704:4;9693:9;9689:20;9683:4;9676:34;7163:2565;;7202:2099;7396:4;7390:11;7377:24;;8091:2;8082:7;8078:16;8493:9;8486:17;8480:4;8476:28;8464:9;8453;8449:25;8445:60;8545:7;8541:2;8537:16;8813:6;8799:9;8792:17;8786:4;8782:28;8770:9;8762:6;8758:22;8754:57;8750:70;8575:461;8850:3;8846:2;8843:11;8575:461;;;9004:9;;8993:21;;8895:4;8887:13;;;;8931;8575:461;;;-1:-1:-1;;9058:26:14;;;9278:2;9261:11;-1:-1:-1;;9257:25:14;9251:4;9244:39;-1:-1:-1;;9755:9:14;-1:-1:-1;6764:3007:14;;;;;:::o;3695:187:7:-;3798:12;3825:52;3847:6;3855:4;3861:1;3864:12;3825:21;:52::i;1373:535:6:-;1676:10;;;1675:62;;-1:-1:-1;1692:39:6;;-1:-1:-1;;;1692:39:6;;1716:4;1692:39;;;51884:51:15;-1:-1:-1;;;;;51971:32:15;;;51951:18;;;51944:60;1692:15:6;;;;;51857:18:15;;1692:39:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:44;1675:62;1660:147;;;;-1:-1:-1;;;1660:147:6;;54908:2:15;1660:147:6;;;54890:21:15;54947:2;54927:18;;;54920:30;54986:34;54966:18;;;54959:62;-1:-1:-1;;;55037:18:15;;;55030:52;55099:19;;1660:147:6;54706:418:15;1660:147:6;1840:62;;-1:-1:-1;;;;;5864:32:15;;1840:62:6;;;5846:51:15;5913:18;;;5906:34;;;1813:90:6;;1833:5;;-1:-1:-1;;;1863:22:6;5819:18:15;;1840:62:6;5672:274:15;3046:134:9;3133:4;3152:23;:3;3171;3152:18;:23::i;5543:117:10:-;5613:4;5632:23;5637:3;5649:5;5632:4;:23::i;6215:109::-;6278:7;6300:19;6308:3;4247:18;;4169:101;6644:123;6718:7;6740:22;6744:3;6756:5;6740:3;:22::i;4672:414:7:-;4819:12;4872:5;4847:21;:30;;4839:81;;;;-1:-1:-1;;;4839:81:7;;55331:2:15;4839:81:7;;;55313:21:15;55370:2;55350:18;;;55343:30;55409:34;55389:18;;;55382:62;-1:-1:-1;;;55460:18:15;;;55453:36;55506:19;;4839:81:7;55129:402:15;4839:81:7;4927:12;4941:23;4968:6;-1:-1:-1;;;;;4968:11:7;4987:5;4994:4;4968:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4926:73;;;;5012:69;5039:6;5047:7;5056:10;5068:12;5012:26;:69::i;:::-;5005:76;4672:414;-1:-1:-1;;;;;;;4672:414:7:o;6010:132:10:-;6090:4;4067:19;;;:12;;;:19;;;;;;:24;;6109:28;3975:121;2152:354;2215:4;4067:19;;;:12;;;:19;;;;;;2227:275;;-1:-1:-1;2263:23:10;;;;;;;;:11;:23;;;;;;;;;;;;;2425:18;;2403:19;;;:12;;;:19;;;;;;:40;;;;2451:11;;2227:275;-1:-1:-1;2490:5:10;2483:12;;4590:112;4657:7;4679:3;:11;;4691:5;4679:18;;;;;;;;:::i;:::-;;;;;;;;;4672:25;;4590:112;;;;:::o;7016:548:7:-;7178:12;7202:7;7198:362;;;7223:10;:17;7244:1;7223:22;7219:256;;-1:-1:-1;;;;;1395:19:7;;;7406:60;;;;-1:-1:-1;;;7406:60:7;;56044:2:15;7406:60:7;;;56026:21:15;56083:2;56063:18;;;56056:30;56122:31;56102:18;;;56095:59;56171:18;;7406:60:7;55842:353:15;7406:60:7;-1:-1:-1;7489:10:7;7482:17;;7198:362;7520:33;7528:10;7540:12;8181:17;;:21;8177:325;;8383:10;8377:17;8431:15;8418:10;8414:2;8410:19;8403:44;8177:325;8482:12;8475:20;;-1:-1:-1;;;8475:20:7;;;;;;;;:::i;196:286:15:-;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;349:23;;-1:-1:-1;;;;;;401:32:15;;391:43;;381:71;;448:1;445;438:12;1005:129;-1:-1:-1;;;;;1083:5:15;1079:30;1072:5;1069:41;1059:69;;1124:1;1121;1114:12;1139:132;1206:20;;1235:30;1206:20;1235:30;:::i;:::-;1139:132;;;:::o;1276:131::-;-1:-1:-1;;;;;1351:31:15;;1341:42;;1331:70;;1397:1;1394;1387:12;1412:134;1480:20;;1509:31;1480:20;1509:31;:::i;1551:118::-;1637:5;1630:13;1623:21;1616:5;1613:32;1603:60;;1659:1;1656;1649:12;1674:128;1739:20;;1768:28;1739:20;1768:28;:::i;1807:1288::-;1978:6;1986;1994;2002;2010;2018;2071:3;2059:9;2050:7;2046:23;2042:33;2039:53;;;2088:1;2085;2078:12;2039:53;2127:9;2114:23;2146:30;2170:5;2146:30;:::i;:::-;2195:5;-1:-1:-1;2252:2:15;2237:18;;2224:32;2265:33;2224:32;2265:33;:::i;:::-;2317:7;-1:-1:-1;2397:2:15;2382:18;;2369:32;;-1:-1:-1;2479:2:15;2464:18;;2451:32;2492:30;2451:32;2492:30;:::i;:::-;2541:7;-1:-1:-1;2599:3:15;2584:19;;2571:33;-1:-1:-1;;;;;2616:30:15;;2613:50;;;2659:1;2656;2649:12;2613:50;2682:22;;2738:3;2720:16;;;2716:26;2713:46;;;2755:1;2752;2745:12;2713:46;2778:2;-1:-1:-1;2833:3:15;2818:19;;2805:33;-1:-1:-1;;;;;2850:32:15;;2847:52;;;2895:1;2892;2885:12;2847:52;2924:24;;2972:1;3013:3;2989:22;;;2985:32;2982:52;;;3030:1;3027;3020:12;2982:52;3054:8;3043:19;;;3081:8;3071:18;;;1807:1288;;;;;;;;:::o;3282:388::-;3350:6;3358;3411:2;3399:9;3390:7;3386:23;3382:32;3379:52;;;3427:1;3424;3417:12;3379:52;3466:9;3453:23;3485:31;3510:5;3485:31;:::i;:::-;3535:5;-1:-1:-1;3592:2:15;3577:18;;3564:32;3605:33;3564:32;3605:33;:::i;:::-;3657:7;3647:17;;;3282:388;;;;;:::o;3675:289::-;3717:3;3755:5;3749:12;3782:6;3777:3;3770:19;3838:6;3831:4;3824:5;3820:16;3813:4;3808:3;3804:14;3798:47;3890:1;3883:4;3874:6;3869:3;3865:16;3861:27;3854:38;3953:4;3946:2;3942:7;3937:2;3929:6;3925:15;3921:29;3916:3;3912:39;3908:50;3901:57;;;3675:289;;;;:::o;4078:461::-;4311:6;4300:9;4293:25;4354:3;4349:2;4338:9;4334:18;4327:31;4274:4;4375:46;4416:3;4405:9;4401:19;4393:6;4375:46;:::i;:::-;-1:-1:-1;;;;;4457:32:15;;;;4452:2;4437:18;;4430:60;-1:-1:-1;4521:2:15;4506:18;4499:34;4367:54;4078:461;-1:-1:-1;;4078:461:15:o;4544:226::-;4603:6;4656:2;4644:9;4635:7;4631:23;4627:32;4624:52;;;4672:1;4669;4662:12;4624:52;-1:-1:-1;4717:23:15;;4544:226;-1:-1:-1;4544:226:15:o;4775:396::-;4864:12;;-1:-1:-1;;;;;4860:38:15;;;4848:51;;4952:4;4941:16;;;4935:23;4931:49;;;4915:14;;;4908:73;5030:4;5019:16;;;5013:23;4997:14;;;4990:47;5100:4;5089:16;;;5083:23;5076:31;5069:39;5053:14;;;5046:63;5158:4;5147:16;;;5141:23;5125:14;;5118:47;4775:396::o;5176:283::-;5384:3;5369:19;;5397:56;5373:9;5435:6;5397:56;:::i;5951:245::-;6009:6;6062:2;6050:9;6041:7;6037:23;6033:32;6030:52;;;6078:1;6075;6068:12;6030:52;6117:9;6104:23;6136:30;6160:5;6136:30;:::i;6201:367::-;6269:6;6277;6330:2;6318:9;6309:7;6305:23;6301:32;6298:52;;;6346:1;6343;6336:12;6298:52;6385:9;6372:23;6404:31;6429:5;6404:31;:::i;:::-;6454:5;6532:2;6517:18;;;;6504:32;;-1:-1:-1;;;6201:367:15:o;7103:247::-;7162:6;7215:2;7203:9;7194:7;7190:23;7186:32;7183:52;;;7231:1;7228;7221:12;7183:52;7270:9;7257:23;7289:31;7314:5;7289:31;:::i;7355:487::-;7432:6;7440;7448;7501:2;7489:9;7480:7;7476:23;7472:32;7469:52;;;7517:1;7514;7507:12;7469:52;7556:9;7543:23;7575:31;7600:5;7575:31;:::i;:::-;7625:5;7703:2;7688:18;;7675:32;;-1:-1:-1;7806:2:15;7791:18;;;7778:32;;7355:487;-1:-1:-1;;;7355:487:15:o;7847:718::-;8111:2;8123:21;;;8193:13;;8096:18;;;8215:22;;;8063:4;;8294:15;;;8268:2;8253:18;;;8063:4;8337:202;8351:6;8348:1;8345:13;8337:202;;;8400:57;8453:3;8444:6;8438:13;8400:57;:::i;:::-;8526:2;8514:15;;;;;8486:4;8477:14;;;;;8373:1;8366:9;8337:202;;;-1:-1:-1;8556:3:15;;7847:718;-1:-1:-1;;;;;7847:718:15:o;8570:487::-;8647:6;8655;8663;8716:2;8704:9;8695:7;8691:23;8687:32;8684:52;;;8732:1;8729;8722:12;8684:52;8777:23;;;-1:-1:-1;8876:2:15;8861:18;;8848:32;8889:33;8848:32;8889:33;:::i;:::-;8570:487;;8941:7;;-1:-1:-1;;;9021:2:15;9006:18;;;;8993:32;;8570:487::o;9062:393::-;9154:6;9207:2;9195:9;9186:7;9182:23;9178:32;9175:52;;;9223:1;9220;9213:12;9175:52;9263:9;9250:23;-1:-1:-1;;;;;9288:6:15;9285:30;9282:50;;;9328:1;9325;9318:12;9282:50;9351:22;;9407:3;9389:16;;;9385:26;9382:46;;;9424:1;9421;9414:12;9460:346;9528:6;9536;9589:2;9577:9;9568:7;9564:23;9560:32;9557:52;;;9605:1;9602;9595:12;9557:52;-1:-1:-1;;9650:23:15;;;9770:2;9755:18;;;9742:32;;-1:-1:-1;9460:346:15:o;9811:127::-;9872:10;9867:3;9863:20;9860:1;9853:31;9903:4;9900:1;9893:15;9927:4;9924:1;9917:15;9943:986;10195:2;10207:21;;;10277:13;;10180:18;;;10299:22;;;10147:4;;10378:15;;;10352:2;10337:18;;;10147:4;10421:482;10435:6;10432:1;10429:13;10421:482;;;10494:13;;10532:9;;10520:22;;10589:2;10581:11;10575:18;10633:1;10616:19;;10606:170;;10686:10;10681:3;10677:20;10674:1;10667:31;10725:4;10722:1;10715:15;10757:4;10754:1;10747:15;10606:170;10805:2;10796:12;;;10789:34;;;;10878:15;;;;;10852:2;10843:12;;;;10457:1;10450:9;10421:482;;10934:380;10998:6;11006;11059:2;11047:9;11038:7;11034:23;11030:32;11027:52;;;11075:1;11072;11065:12;11027:52;11114:9;11101:23;11133:30;11157:5;11133:30;:::i;:::-;11182:5;-1:-1:-1;11239:2:15;11224:18;;11211:32;11252:30;11211:32;11252:30;:::i;11319:367::-;11387:6;11395;11448:2;11436:9;11427:7;11423:23;11419:32;11416:52;;;11464:1;11461;11454:12;11416:52;11509:23;;;-1:-1:-1;11608:2:15;11593:18;;11580:32;11621:33;11580:32;11621:33;:::i;11691:127::-;11752:10;11747:3;11743:20;11740:1;11733:31;11783:4;11780:1;11773:15;11807:4;11804:1;11797:15;11823:255;11895:2;11889:9;11937:6;11925:19;;-1:-1:-1;;;;;11959:34:15;;11995:22;;;11956:62;11953:88;;;12021:18;;:::i;:::-;12057:2;12050:22;11823:255;:::o;12083:253::-;12155:2;12149:9;12197:4;12185:17;;-1:-1:-1;;;;;12217:34:15;;12253:22;;;12214:62;12211:88;;;12279:18;;:::i;12341:257::-;12413:4;12407:11;;;12445:17;;-1:-1:-1;;;;;12477:34:15;;12513:22;;;12474:62;12471:88;;;12539:18;;:::i;12603:253::-;12675:2;12669:9;12717:4;12705:17;;-1:-1:-1;;;;;12737:34:15;;12773:22;;;12734:62;12731:88;;;12799:18;;:::i;12861:275::-;12932:2;12926:9;12997:2;12978:13;;-1:-1:-1;;12974:27:15;12962:40;;-1:-1:-1;;;;;13017:34:15;;13053:22;;;13014:62;13011:88;;;13079:18;;:::i;:::-;13115:2;13108:22;12861:275;;-1:-1:-1;12861:275:15:o;13141:186::-;13189:4;-1:-1:-1;;;;;13214:6:15;13211:30;13208:56;;;13244:18;;:::i;:::-;-1:-1:-1;13310:2:15;13289:15;-1:-1:-1;;13285:29:15;13316:4;13281:40;;13141:186::o;13332:336::-;13396:5;13425:52;13441:35;13469:6;13441:35;:::i;:::-;13425:52;:::i;:::-;13416:61;;13500:6;13493:5;13486:21;13540:3;13531:6;13526:3;13522:16;13519:25;13516:45;;;13557:1;13554;13547:12;13516:45;13606:6;13601:3;13594:4;13587:5;13583:16;13570:43;13660:1;13653:4;13644:6;13637:5;13633:18;13629:29;13622:40;13332:336;;;;;:::o;13673:220::-;13715:5;13768:3;13761:4;13753:6;13749:17;13745:27;13735:55;;13786:1;13783;13776:12;13735:55;13808:79;13883:3;13874:6;13861:20;13854:4;13846:6;13842:17;13808:79;:::i;13898:320::-;13966:6;14019:2;14007:9;13998:7;13994:23;13990:32;13987:52;;;14035:1;14032;14025:12;13987:52;14075:9;14062:23;-1:-1:-1;;;;;14100:6:15;14097:30;14094:50;;;14140:1;14137;14130:12;14094:50;14163:49;14204:7;14195:6;14184:9;14180:22;14163:49;:::i;14223:183::-;14283:4;-1:-1:-1;;;;;14308:6:15;14305:30;14302:56;;;14338:18;;:::i;:::-;-1:-1:-1;14383:1:15;14379:14;14395:4;14375:25;;14223:183::o;14411:744::-;14465:5;14518:3;14511:4;14503:6;14499:17;14495:27;14485:55;;14536:1;14533;14526:12;14485:55;14576:6;14563:20;14603:64;14619:47;14659:6;14619:47;:::i;14603:64::-;14691:3;14715:6;14710:3;14703:19;14747:4;14742:3;14738:14;14731:21;;14808:4;14798:6;14795:1;14791:14;14783:6;14779:27;14775:38;14761:52;;14836:3;14828:6;14825:15;14822:35;;;14853:1;14850;14843:12;14822:35;14889:4;14881:6;14877:17;14903:221;14919:6;14914:3;14911:15;14903:221;;;15001:3;14988:17;15018:31;15043:5;15018:31;:::i;:::-;15062:18;;15109:4;15100:14;;;;14936;14903:221;;15160:2106;15303:6;15311;15319;15327;15335;15343;15351;15404:3;15392:9;15383:7;15379:23;15375:33;15372:53;;;15421:1;15418;15411:12;15372:53;15460:9;15447:23;15479:30;15503:5;15479:30;:::i;:::-;15528:5;-1:-1:-1;15585:2:15;15570:18;;15557:32;15598:33;15557:32;15598:33;:::i;:::-;15650:7;-1:-1:-1;15709:2:15;15694:18;;15681:32;15722:33;15681:32;15722:33;:::i;:::-;15774:7;-1:-1:-1;15854:2:15;15839:18;;15826:32;;-1:-1:-1;15957:3:15;15942:19;;15929:33;;-1:-1:-1;16040:3:15;16025:19;;16012:33;16054:30;16012:33;16054:30;:::i;:::-;16103:7;-1:-1:-1;16161:3:15;16146:19;;16133:33;-1:-1:-1;;;;;16178:30:15;;16175:50;;;16221:1;16218;16211:12;16175:50;16244:22;;16300:6;16282:16;;;16278:29;16275:49;;;16320:1;16317;16310:12;16275:49;16348:22;;:::i;:::-;16395;16414:2;16395:22;:::i;:::-;16386:7;16379:39;16452:31;16479:2;16475;16471:11;16452:31;:::i;:::-;16447:2;16434:16;;16427:57;16550:2;16542:11;;;16529:25;16570:16;;;16563:33;16662:2;16654:11;;;16641:25;16682:16;;;16675:33;16743:29;16767:3;16759:12;;16743:29;:::i;:::-;16737:3;16728:7;16724:17;16717:56;16808:29;16832:3;16828:2;16824:12;16808:29;:::i;:::-;16802:3;16793:7;16789:17;16782:56;16884:3;16880:2;16876:12;16863:26;-1:-1:-1;;;;;16904:8:15;16901:32;16898:52;;;16946:1;16943;16936:12;16898:52;16985:44;17021:7;17010:8;17006:2;17002:17;16985:44;:::i;:::-;16979:3;16970:7;16966:17;16959:71;;17076:3;17072:2;17068:12;17055:26;-1:-1:-1;;;;;17096:8:15;17093:32;17090:52;;;17138:1;17135;17128:12;17090:52;17177:56;17225:7;17214:8;17210:2;17206:17;17177:56;:::i;:::-;17171:3;17162:7;17158:17;17151:83;;17253:7;17243:17;;;;15160:2106;;;;;;;;;;:::o;17271:546::-;17518:6;17507:9;17500:25;-1:-1:-1;;;;;17565:6:15;17561:31;17556:2;17545:9;17541:18;17534:59;17629:3;17624:2;17613:9;17609:18;17602:31;17481:4;17656:46;17697:3;17686:9;17682:19;17674:6;17656:46;:::i;:::-;17750:9;17742:6;17738:22;17733:2;17722:9;17718:18;17711:50;17778:33;17804:6;17796;17778:33;:::i;18057:382::-;18122:6;18130;18183:2;18171:9;18162:7;18158:23;18154:32;18151:52;;;18199:1;18196;18189:12;18151:52;18238:9;18225:23;18257:31;18282:5;18257:31;:::i;18848:1011::-;18966:9;19025:4;19017:5;19001:14;18997:26;18993:37;18990:57;;;19043:1;19040;19033:12;18990:57;19071:22;;:::i;:::-;19118:25;19137:5;19118:25;:::i;:::-;19102:42;;19213:2;19202:14;;;19189:28;19233:16;;;19226:33;19328:2;19317:14;;;19304:28;19348:16;;;19341:33;19443:2;19432:14;;;19419:28;19463:16;;;19456:33;19524:32;19551:3;19540:15;;19524:32;:::i;:::-;19518:3;19509:7;19505:17;19498:59;19592:32;19619:3;19612:5;19608:15;19592:32;:::i;:::-;19586:3;19577:7;19573:17;19566:59;19672:3;19665:5;19661:15;19648:29;-1:-1:-1;;;;;19692:6:15;19689:30;19686:50;;;19732:1;19729;19722:12;19686:50;19771:52;19808:14;19799:6;19792:5;19788:18;19771:52;:::i;:::-;19765:3;19752:17;;19745:79;-1:-1:-1;19756:7:15;18848:1011;-1:-1:-1;;18848:1011:15:o;19864:241::-;19920:6;19973:2;19961:9;19952:7;19948:23;19944:32;19941:52;;;19989:1;19986;19979:12;19941:52;20028:9;20015:23;20047:28;20069:5;20047:28;:::i;20110:127::-;20171:10;20166:3;20162:20;20159:1;20152:31;20202:4;20199:1;20192:15;20226:4;20223:1;20216:15;20242:128;20309:9;;;20330:11;;;20327:37;;;20344:18;;:::i;20375:230::-;20445:6;20498:2;20486:9;20477:7;20473:23;20469:32;20466:52;;;20514:1;20511;20504:12;20466:52;-1:-1:-1;20559:16:15;;20375:230;-1:-1:-1;20375:230:15:o;20956:500::-;21014:5;21021:6;21081:3;21068:17;21167:2;21163:7;21152:8;21136:14;21132:29;21128:43;21108:18;21104:68;21094:96;;21186:1;21183;21176:12;21094:96;21214:33;;21318:4;21305:18;;;-1:-1:-1;21266:21:15;;-1:-1:-1;;;;;;21335:30:15;;21332:50;;;21378:1;21375;21368:12;21332:50;21425:6;21409:14;21405:27;21398:5;21394:39;21391:59;;;21446:1;21443;21436:12;21461:266;21549:6;21544:3;21537:19;21601:6;21594:5;21587:4;21582:3;21578:14;21565:43;-1:-1:-1;21653:1:15;21628:16;;;21646:4;21624:27;;;21617:38;;;;21709:2;21688:15;;;-1:-1:-1;;21684:29:15;21675:39;;;21671:50;;21461:266::o;21732:520::-;21802:5;21809:6;21869:3;21856:17;21955:2;21951:7;21940:8;21924:14;21920:29;21916:43;21896:18;21892:68;21882:96;;21974:1;21971;21964:12;21882:96;22002:33;;22106:4;22093:18;;;-1:-1:-1;22054:21:15;;-1:-1:-1;;;;;;22123:30:15;;22120:50;;;22166:1;22163;22156:12;22120:50;22220:6;22217:1;22213:14;22197;22193:35;22186:5;22182:47;22179:67;;;22242:1;22239;22232:12;22257:505;22357:6;22352:3;22345:19;22389:4;22384:3;22380:14;22373:21;;22327:3;22417:5;22440:1;22450:287;22464:6;22461:1;22458:13;22450:287;;;22541:6;22528:20;22561:33;22586:7;22561:33;:::i;:::-;-1:-1:-1;;;;;22619:33:15;22607:46;;22682:4;22673:14;;;;22710:17;;;;;22649:1;22479:9;22450:287;;;-1:-1:-1;22753:3:15;;22257:505;-1:-1:-1;;;;22257:505:15:o;22767:1486::-;22966:2;22955:9;22948:21;22929:4;23004:6;22991:20;23020:31;23045:5;23020:31;:::i;:::-;-1:-1:-1;;;;;4035:31:15;;23101:2;23086:18;;4023:44;23060:45;23134:35;23165:2;23157:6;23153:15;23134:35;:::i;:::-;-1:-1:-1;;;;;4035:31:15;;23226:2;23211:18;;4023:44;-1:-1:-1;23300:2:15;23288:15;;23275:29;23335:2;23320:18;;;23313:35;;;;23406:15;;23393:29;23453:3;23438:19;;;23431:36;;;;23498:33;;23514:16;;23498:33;:::i;:::-;557:13;;550:21;23587:3;23572:19;;538:34;23540:52;23623:33;23651:3;23643:6;23639:16;23623:33;:::i;:::-;557:13;;550:21;23712:3;23697:19;;538:34;23665:52;23762:56;23813:3;23805:6;23801:16;23793:6;23762:56;:::i;:::-;23855:6;23849:3;23838:9;23834:19;23827:35;23885:76;23956:3;23945:9;23941:19;23927:12;23911:14;23885:76;:::i;:::-;23871:90;;;24008:68;24071:3;24063:6;24059:16;24051:6;24008:68;:::i;:::-;24120:22;;;-1:-1:-1;;24116:36:15;24107:6;24092:22;;24085:68;24170:77;24124:6;24224:14;24208;24170:77;:::i;24258:334::-;24460:2;24442:21;;;24499:2;24479:18;;;24472:30;-1:-1:-1;;;24533:2:15;24518:18;;24511:40;24583:2;24568:18;;24258:334::o;24597:380::-;24676:1;24672:12;;;;24719;;;24740:61;;24794:4;24786:6;24782:17;24772:27;;24740:61;24847:2;24839:6;24836:14;24816:18;24813:38;24810:161;;24893:10;24888:3;24884:20;24881:1;24874:31;24928:4;24925:1;24918:15;24956:4;24953:1;24946:15;24810:161;;24597:380;;;:::o;24982:127::-;25043:10;25038:3;25034:20;25031:1;25024:31;25074:4;25071:1;25064:15;25098:4;25095:1;25088:15;26406:125;26471:9;;;26492:10;;;26489:36;;;26505:18;;:::i;26536:521::-;26613:4;26619:6;26679:11;26666:25;26773:2;26769:7;26758:8;26742:14;26738:29;26734:43;26714:18;26710:68;26700:96;;26792:1;26789;26782:12;26700:96;26819:33;;26871:20;;;-1:-1:-1;;;;;;26903:30:15;;26900:50;;;26946:1;26943;26936:12;26900:50;26979:4;26967:17;;-1:-1:-1;27010:14:15;27006:27;;;26996:38;;26993:58;;;27047:1;27044;27037:12;27527:656;27650:6;27645:3;27638:19;27682:4;27677:3;27673:14;27666:21;;27620:3;27710:5;27733:1;27743:415;27757:6;27754:1;27751:13;27743:415;;;27834:6;27821:20;27854:33;27879:7;27854:33;:::i;:::-;-1:-1:-1;;;;;27912:33:15;27900:46;;28024:4;28012:17;;;27999:31;28050:14;;;28043:31;28103:4;28094:14;;;;28131:17;;;;27942:1;27772:9;27743:415;;28188:1589;28381:2;28363:21;;;28425:20;;28461:18;;;28454:33;28344:4;;28524:15;;28511:29;28549:32;28511:29;28549:32;:::i;:::-;-1:-1:-1;;;;;28621:7:15;28617:32;28612:2;28601:9;28597:18;28590:60;;28693:55;28744:2;28736:6;28732:15;28724:6;28693:55;:::i;:::-;28784:4;28779:2;28768:9;28764:18;28757:32;28812:74;28881:3;28870:9;28866:19;28852:12;28838;28812:74;:::i;:::-;28798:88;;;28933:55;28984:2;28976:6;28972:15;28964:6;28933:55;:::i;:::-;29029:22;;;-1:-1:-1;;29025:36:15;29019:3;29004:19;;28997:65;29085;29033:6;29127:14;29111;29085:65;:::i;:::-;29071:79;;;;29210:3;29202:6;29198:16;29185:30;29295:2;29291:7;29282:6;29266:14;29262:27;29258:41;29238:18;29234:66;29224:94;;29314:1;29311;29304:12;29224:94;29342:31;;29454:2;29441:16;;;29396:21;-1:-1:-1;;;;;29469:30:15;;29466:50;;;29512:1;29509;29502:12;29466:50;29568:6;29565:1;29561:14;29545;29541:35;29532:7;29528:49;29525:69;;;29590:1;29587;29580:12;29525:69;29636:22;;;-1:-1:-1;;29632:36:15;29625:4;29610:20;;29603:66;29686:85;29640:6;29756;29747:7;29686:85;:::i;29907:517::-;30008:2;30003:3;30000:11;29997:421;;;30044:5;30041:1;30034:16;30088:4;30085:1;30075:18;30158:2;30146:10;30142:19;30139:1;30135:27;30129:4;30125:38;30194:4;30182:10;30179:20;30176:47;;;-1:-1:-1;30217:4:15;30176:47;30272:2;30267:3;30263:12;30260:1;30256:20;30250:4;30246:31;30236:41;;30327:81;30345:2;30338:5;30335:13;30327:81;;;30404:1;30390:16;;30371:1;30360:13;30327:81;;;30331:3;;29907:517;;;:::o;30600:1178::-;-1:-1:-1;;;;;30701:3:15;30698:27;30695:53;;;30728:18;;:::i;:::-;30757:93;30846:3;30806:38;30838:4;30832:11;30806:38;:::i;:::-;30800:4;30757:93;:::i;:::-;30876:1;30901:2;30896:3;30893:11;30918:1;30913:607;;;;31564:1;31581:3;31578:93;;;-1:-1:-1;31637:19:15;;;31624:33;31578:93;-1:-1:-1;;30557:1:15;30553:11;;;30549:24;30545:29;30535:40;30581:1;30577:11;;;30532:57;31684:78;;30886:886;;30913:607;29854:1;29847:14;;;29891:4;29878:18;;-1:-1:-1;;30949:17:15;;;31063:229;31077:7;31074:1;31071:14;31063:229;;;31166:19;;;31153:33;31138:49;;31273:4;31258:20;;;;31226:1;31214:14;;;;31093:12;31063:229;;;31067:3;31320;31311:7;31308:16;31305:159;;;31444:1;31440:6;31434:3;31428;31425:1;31421:11;31417:21;31413:34;31409:39;31396:9;31391:3;31387:19;31374:33;31370:79;31362:6;31355:95;31305:159;;;31507:1;31501:3;31498:1;31494:11;31490:19;31484:4;31477:33;30886:886;;30600:1178;;;:::o;31783:578::-;31909:4;31915:6;31975:11;31962:25;32069:2;32065:7;32054:8;32038:14;32034:29;32030:43;32010:18;32006:68;31996:96;;32088:1;32085;32078:12;31996:96;32115:33;;32167:20;;;-1:-1:-1;;;;;;32199:30:15;;32196:50;;;32242:1;32239;32232:12;32196:50;32275:4;32263:17;;-1:-1:-1;32326:1:15;32322:14;;;32306;32302:35;32292:46;;32289:66;;;32351:1;32348;32341:12;32366:168;32439:9;;;32470;;32487:15;;;32481:22;;32467:37;32457:71;;32508:18;;:::i;32539:377::-;32687:5;32674:19;32702:33;32727:7;32702:33;:::i;:::-;32764:11;;-1:-1:-1;;;;;;32760:54:15;-1:-1:-1;;;;;32816:33:15;;;;32757:93;32744:107;;32905:2;32894:14;;;;32881:28;32846:1;32867:12;;;;32860:50;32539:377::o;32921:1205::-;33086:20;33081:3;33078:29;33075:55;;;33110:18;;:::i;:::-;33159:4;33153:11;33186:3;33180:4;33173:17;33210:6;33205:3;33202:15;33199:544;;;-1:-1:-1;;;;;33261:32:15;;33250:44;;33240:78;;33298:18;;:::i;:::-;-1:-1:-1;;;;;33349:29:15;;33341:38;;33331:72;;33383:18;;:::i;:::-;33426:4;33423:1;33416:15;33469:4;33466:1;33456:18;33514:6;33511:1;33507:14;33501:4;33497:25;33565:3;33562:1;33558:11;33552:4;33548:22;33535:35;;33583:150;33601:2;33594:5;33591:13;33583:150;;;33676:1;33669:5;33662:16;33717:1;33713;33706:5;33702:13;33695:24;33627:1;33620:5;33616:13;33607:22;;33583:150;;;33587:3;;33199:544;-1:-1:-1;29854:1:15;29847:14;;;29891:4;29878:18;;33766:5;;33861:259;33875:3;33872:1;33869:10;33861:259;;;33921:104;34018:6;34005:11;33921:104;:::i;:::-;34060:2;34048:15;;;;;34108:1;34091:19;;;;;33894:1;33887:9;33861:259;;34131:1483;34306:5;34293:19;34287:4;34280:33;34350:1;34344:4;34340:12;34400:2;34393:5;34389:14;34376:28;34413:32;34437:7;34413:32;:::i;:::-;34480:17;;-1:-1:-1;;34476:47:15;-1:-1:-1;;;;;34525:32:15;;;;34473:85;34454:105;;34602:64;34662:2;34651:14;;34655:5;34602:64;:::i;:::-;34675:97;34758:13;34745:11;34741:1;34735:4;34731:12;34675:97;:::i;:::-;;;34817:64;34877:2;34870:5;34866:14;34859:5;34817:64;:::i;:::-;34890:99;34975:13;34960;34956:1;34950:4;34946:12;34890:99;:::i;:::-;;;35010:1;35034;35094:3;35087:5;35083:15;35070:29;35178:2;35174:7;35166:5;35150:14;35146:26;35142:40;35122:18;35118:65;35108:93;;35197:1;35194;35187:12;35108:93;35224:30;;35273:20;;;-1:-1:-1;;;;;;35305:30:15;;35302:50;;;35348:1;35345;35338:12;35302:50;35381:2;35369:15;;-1:-1:-1;35430:1:15;35426:14;;;35410;35406:35;35396:46;;35393:66;;;35455:1;35452;35445:12;35393:66;35468:140;35601:6;35595:4;35591:1;35585:4;35581:12;35468:140;:::i;35619:450::-;35688:6;35741:2;35729:9;35720:7;35716:23;35712:32;35709:52;;;35757:1;35754;35747:12;35709:52;35797:9;35784:23;-1:-1:-1;;;;;35822:6:15;35819:30;35816:50;;;35862:1;35859;35852:12;35816:50;35885:22;;35938:4;35930:13;;35926:27;-1:-1:-1;35916:55:15;;35967:1;35964;35957:12;35916:55;35990:73;36055:7;36050:2;36037:16;36032:2;36028;36024:11;35990:73;:::i;36074:138::-;36153:13;;36175:31;36153:13;36175:31;:::i;36217:132::-;36293:13;;36315:28;36293:13;36315:28;:::i;36354:340::-;36429:5;36458:52;36474:35;36502:6;36474:35;:::i;36458:52::-;36449:61;;36533:6;36526:5;36519:21;36573:3;36564:6;36559:3;36555:16;36552:25;36549:45;;;36590:1;36587;36580:12;36549:45;36632:6;36627:3;36620:4;36613:5;36609:16;36603:36;36686:1;36679:4;36670:6;36663:5;36659:18;36655:29;36648:40;36354:340;;;;;:::o;36699:235::-;36752:5;36805:3;36798:4;36790:6;36786:17;36782:27;36772:55;;36823:1;36820;36813:12;36772:55;36845:83;36924:3;36915:6;36909:13;36902:4;36894:6;36890:17;36845:83;:::i;36939:741::-;37004:5;37057:3;37050:4;37042:6;37038:17;37034:27;37024:55;;37075:1;37072;37065:12;37024:55;37108:6;37102:13;37135:64;37151:47;37191:6;37151:47;:::i;37135:64::-;37223:3;37247:6;37242:3;37235:19;37279:4;37274:3;37270:14;37263:21;;37340:4;37330:6;37327:1;37323:14;37315:6;37311:27;37307:38;37293:52;;37368:3;37360:6;37357:15;37354:35;;;37385:1;37382;37375:12;37354:35;37421:4;37413:6;37409:17;37435:214;37451:6;37446:3;37443:15;37435:214;;;37526:3;37520:10;37543:31;37568:5;37543:31;:::i;:::-;37587:18;;37634:4;37625:14;;;;37468;37435:214;;37685:1334;37789:6;37842:2;37830:9;37821:7;37817:23;37813:32;37810:52;;;37858:1;37855;37848:12;37810:52;37891:9;37885:16;-1:-1:-1;;;;;37916:6:15;37913:30;37910:50;;;37956:1;37953;37946:12;37910:50;37979:22;;38035:6;38017:16;;;38013:29;38010:49;;;38055:1;38052;38045:12;38010:49;38081:22;;:::i;:::-;38126:33;38156:2;38126:33;:::i;:::-;38119:5;38112:48;38192:42;38230:2;38226;38222:11;38192:42;:::i;:::-;38187:2;38176:14;;38169:66;38294:2;38286:11;;;38280:18;38314:14;;;38307:31;38397:2;38389:11;;;38383:18;38417:14;;;38410:31;38474:40;38509:3;38501:12;;38474:40;:::i;:::-;38468:3;38461:5;38457:15;38450:65;38548:40;38583:3;38579:2;38575:12;38548:40;:::i;:::-;38542:3;38535:5;38531:15;38524:65;38628:3;38624:2;38620:12;38614:19;-1:-1:-1;;;;;38648:8:15;38645:32;38642:52;;;38690:1;38687;38680:12;38642:52;38727:55;38774:7;38763:8;38759:2;38755:17;38727:55;:::i;:::-;38721:3;38714:5;38710:15;38703:80;;38822:3;38818:2;38814:12;38808:19;-1:-1:-1;;;;;38842:8:15;38839:32;38836:52;;;38884:1;38881;38874:12;38836:52;38921:67;38980:7;38969:8;38965:2;38961:17;38921:67;:::i;:::-;38915:3;38904:15;;38897:92;-1:-1:-1;38908:5:15;37685:1334;-1:-1:-1;;;;37685:1334:15:o;39024:218::-;39171:2;39160:9;39153:21;39134:4;39191:45;39232:2;39221:9;39217:18;39209:6;39191:45;:::i;39592:446::-;39645:3;39683:5;39677:12;39710:6;39705:3;39698:19;39742:4;39737:3;39733:14;39726:21;;39781:4;39774:5;39770:16;39804:1;39814:199;39828:6;39825:1;39822:13;39814:199;;;39893:13;;-1:-1:-1;;;;;39889:39:15;39877:52;;39958:4;39949:14;;;;39986:17;;;;39925:1;39843:9;39814:199;;40043:1118;40240:2;40222:21;;;40283:13;;-1:-1:-1;;;;;40279:39:15;40259:18;;;40252:67;40354:15;;40348:22;-1:-1:-1;;40379:52:15;40427:2;40412:18;;40348:22;-1:-1:-1;;;;;4035:31:15;4023:44;;3969:104;40379:52;;40485:2;40477:6;40473:15;40467:22;40462:2;40451:9;40447:18;40440:50;40545:2;40537:6;40533:15;40527:22;40521:3;40510:9;40506:19;40499:51;40599:3;40591:6;40587:16;40581:23;40613:52;40660:3;40649:9;40645:19;40629:14;557:13;550:21;538:34;;487:91;40613:52;-1:-1:-1;40714:3:15;40702:16;;40696:23;557:13;;550:21;40775:3;40760:19;;538:34;40728:52;40829:3;40821:6;40817:16;40811:23;40871:6;40865:3;40854:9;40850:19;40843:35;40901:54;40950:3;40939:9;40935:19;40919:14;40901:54;:::i;:::-;40887:68;;41004:3;40996:6;40992:16;40986:23;41081:2;41077:7;41065:9;41057:6;41053:22;41049:36;41040:6;41029:9;41025:22;41018:68;41103:52;41148:6;41132:14;41103:52;:::i;:::-;41095:60;40043:1118;-1:-1:-1;;;;;40043:1118:15:o;41166:251::-;41236:6;41289:2;41277:9;41268:7;41264:23;41260:32;41257:52;;;41305:1;41302;41295:12;41257:52;41337:9;41331:16;41356:31;41381:5;41356:31;:::i;41422:1553::-;-1:-1:-1;;;;;41643:6:15;41639:31;41628:9;41621:50;41707:2;41702;41691:9;41687:18;41680:30;41602:4;41745:6;41739:13;41788:4;41783:2;41772:9;41768:18;41761:32;41816:52;41863:3;41852:9;41848:19;41834:12;41816:52;:::i;:::-;41802:66;;41917:2;41909:6;41905:15;41899:22;41989:2;41985:7;41973:9;41965:6;41961:22;41957:36;41952:2;41941:9;41937:18;41930:64;42017:41;42051:6;42035:14;42017:41;:::i;:::-;42107:2;42095:15;;42089:22;42152;;;-1:-1:-1;;42148:36:15;42142:3;42127:19;;42120:65;42234:21;;42264:22;;;42314:2;42340:23;;;;-1:-1:-1;42381:1:15;;-1:-1:-1;42302:15:15;;;42391:280;42405:6;42402:1;42399:13;42391:280;;;42464:13;;42506:9;;-1:-1:-1;;;;;42502:35:15;42490:48;;42586:2;42578:11;;;42572:18;42558:12;;;42551:40;42646:15;;;;42534:1;42420:9;;;;;42620:2;42611:12;;;;42391:280;;;-1:-1:-1;42720:2:15;42708:15;;42702:22;-1:-1:-1;;;;;4035:31:15;42783:4;42768:20;;4023:44;42838:3;42826:16;;42820:23;42884:19;;;-1:-1:-1;;42880:33:15;42874:3;42859:19;;42852:62;42820:23;-1:-1:-1;42931:38:15;42884:19;42820:23;42931:38;:::i;42980:1029::-;43048:5;43101:3;43094:4;43086:6;43082:17;43078:27;43068:55;;43119:1;43116;43109:12;43068:55;43159:6;43146:20;43186:64;43202:47;43242:6;43202:47;:::i;43186:64::-;43274:3;43298:6;43293:3;43286:19;43330:4;43325:3;43321:14;43314:21;;43391:4;43381:6;43378:1;43374:14;43366:6;43362:27;43358:38;43344:52;;43419:3;43411:6;43408:15;43405:35;;;43436:1;43433;43426:12;43405:35;43472:4;43464:6;43460:17;43486:492;43502:6;43497:3;43494:15;43486:492;;;43580:4;43574:3;43569;43565:13;43561:24;43558:44;;;43598:1;43595;43588:12;43558:44;43628:22;;:::i;:::-;43691:3;43678:17;43708:33;43733:7;43708:33;:::i;:::-;43754:22;;43851:4;43842:14;;;43829:28;43877:16;;;43870:33;43916:18;;;43954:14;;;;;43528:4;43519:14;43486:492;;44014:1072;44128:9;44187:4;44179:5;44163:14;44159:26;44155:37;44152:57;;;44205:1;44202;44195:12;44152:57;44233:22;;:::i;:::-;44300:19;;44328:24;;44386:33;44415:2;44404:14;;44386:33;:::i;:::-;44381:2;44372:7;44368:16;44361:59;44467:2;44460:5;44456:14;44443:28;-1:-1:-1;;;;;44486:6:15;44483:30;44480:50;;;44526:1;44523;44516:12;44480:50;44564:52;44601:14;44592:6;44585:5;44581:18;44564:52;:::i;:::-;44559:2;44550:7;44546:16;44539:78;;44666:2;44659:5;44655:14;44642:28;-1:-1:-1;;;;;44685:8:15;44682:32;44679:52;;;44727:1;44724;44717:12;44679:52;44765:54;44804:14;44793:8;44786:5;44782:20;44765:54;:::i;:::-;44760:2;44751:7;44747:16;44740:80;;44869:3;44862:5;44858:15;44845:29;-1:-1:-1;;;;;44889:8:15;44886:32;44883:52;;;44931:1;44928;44921:12;44883:52;44970:80;45035:14;45024:8;45017:5;45013:20;44970:80;:::i;:::-;44964:3;44951:17;;44944:107;-1:-1:-1;44955:7:15;44014:1072;-1:-1:-1;;44014:1072:15:o;45445:574::-;45736:6;45725:9;45718:25;45779:6;45774:2;45763:9;45759:18;45752:34;45822:3;45817:2;45806:9;45802:18;45795:31;45699:4;45843:57;45895:3;45884:9;45880:19;45872:6;45843:57;:::i;:::-;-1:-1:-1;;;;;45936:32:15;;;;45931:2;45916:18;;45909:60;-1:-1:-1;46000:3:15;45985:19;45978:35;45835:65;45445:574;-1:-1:-1;;;45445:574:15:o;46024:592::-;46221:2;46210:9;46203:21;46184:4;46259:6;46253:13;46302:4;46297:2;46286:9;46282:18;46275:32;46330:52;46377:3;46366:9;46362:19;46348:12;46330:52;:::i;:::-;46316:66;;46463:1;46459;46454:3;46450:11;46446:19;46440:2;46432:6;46428:15;46422:22;46418:48;46413:2;46402:9;46398:18;46391:76;46521:2;46513:6;46509:15;46503:22;46498:2;46487:9;46483:18;46476:50;46582:2;46574:6;46570:15;46564:22;46557:4;46546:9;46542:20;46535:52;46604:6;46596:14;;;46024:592;;;;:::o;46969:217::-;47009:1;47035;47025:132;;47079:10;47074:3;47070:20;47067:1;47060:31;47114:4;47111:1;47104:15;47142:4;47139:1;47132:15;47025:132;-1:-1:-1;47171:9:15;;46969:217::o;47444:245::-;47511:6;47564:2;47552:9;47543:7;47539:23;47535:32;47532:52;;;47580:1;47577;47570:12;47532:52;47612:9;47606:16;47631:28;47653:5;47631:28;:::i;47883:657::-;-1:-1:-1;;;;;48172:32:15;;48154:51;;48241:3;48236:2;48221:18;;48214:31;;;-1:-1:-1;;48262:46:15;;48288:19;;48280:6;48262:46;:::i;:::-;-1:-1:-1;;;;;48344:32:15;;;48339:2;48324:18;;48317:60;48408:2;48393:18;;48386:34;;;;-1:-1:-1;48457:32:15;;;;48451:3;48436:19;;48429:61;48364:3;48506:19;48499:35;;;;48254:54;47883:657;-1:-1:-1;;47883:657:15:o;48770:458::-;48850:6;48903:2;48891:9;48882:7;48878:23;48874:32;48871:52;;;48919:1;48916;48909:12;48871:52;48952:9;48946:16;-1:-1:-1;;;;;48977:6:15;48974:30;48971:50;;;49017:1;49014;49007:12;48971:50;49040:22;;49093:4;49085:13;;49081:27;-1:-1:-1;49071:55:15;;49122:1;49119;49112:12;49071:55;49145:77;49214:7;49209:2;49203:9;49198:2;49194;49190:11;49145:77;:::i;49233:1297::-;49359:3;49353:10;-1:-1:-1;;;;;49378:6:15;49375:30;49372:56;;;49408:18;;:::i;:::-;49437:96;49526:6;49486:38;49518:4;49512:11;49486:38;:::i;:::-;49480:4;49437:96;:::i;:::-;49582:4;49613:2;49602:14;;49630:1;49625:648;;;;50317:1;50334:6;50331:89;;;-1:-1:-1;50386:19:15;;;50380:26;50331:89;-1:-1:-1;;30557:1:15;30553:11;;;30549:24;30545:29;30535:40;30581:1;30577:11;;;30532:57;50433:81;;49595:929;;49625:648;29854:1;29847:14;;;29891:4;29878:18;;-1:-1:-1;;49661:20:15;;;49778:222;49792:7;49789:1;49786:14;49778:222;;;49874:19;;;49868:26;49853:42;;49981:4;49966:20;;;;49934:1;49922:14;;;;49808:12;49778:222;;;49782:3;50028:6;50019:7;50016:19;50013:201;;;50089:19;;;50083:26;-1:-1:-1;;50172:1:15;50168:14;;;50184:3;50164:24;50160:37;50156:42;50141:58;50126:74;;50013:201;-1:-1:-1;;;;50260:1:15;50244:14;;;50240:22;50227:36;;-1:-1:-1;49233:1297:15:o;50799:495::-;-1:-1:-1;;;;;51040:32:15;;51022:51;;51109:3;51104:2;51089:18;;51082:31;;;-1:-1:-1;;51130:46:15;;51156:19;;51148:6;51130:46;:::i;55536:301::-;55665:3;55703:6;55697:13;55749:6;55742:4;55734:6;55730:17;55725:3;55719:37;55811:1;55775:16;;55800:13;;;-1:-1:-1;55775:16:15;55536:301;-1:-1:-1;55536:301:15:o

Swarm Source

ipfs://15197f5972fcaee0402dcabc7cd95dc92d6f4e54f019da6e7f30b867851b576c

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.