Contract 0x50a64d05bb8618d8d96a83cbbb12b3044ec3489a 7

Txn Hash Method
Block
From
To
Value [Txn Fee]
0xbf782002cf7ec27acf87ff92da11e7199647efef70a4b999c2c03b0f9c2ba9b3Pause45035192022-09-06 6:34:5894 days 5 hrs ago0x0132613b3a1061816f4661ad301612910e3cce0b IN  XY Finance: X Swapper0 CRO0.2437944136470
0x8fe62bcb12d5c3b2a92446372a37875725725d7c2892fd341341091dccedf3d6Batch Claim45033522022-09-06 6:19:0694 days 5 hrs ago0xe0276474243fff9aa11fbe7acb80f6bf04c142ab IN  XY Finance: X Swapper0 CRO1.6956453107520
0x5a6d72cd843f3ee7022629712164341b04c39dee32684cdc19de2ec041530f29Batch Claim45029962022-09-06 5:45:3694 days 6 hrs ago0xe0276474243fff9aa11fbe7acb80f6bf04c142ab IN  XY Finance: X Swapper0 CRO2.7175349659670
0x2055cd6d78e407959fcafa5c1b018f7040b004fcb664e926da0af64f1f8cdabd0x500f528c45029562022-09-06 5:41:5094 days 6 hrs ago0xb35f9aac007666cacd0520b68d59d682262db7da IN  XY Finance: X Swapper0 CRO0.8098535266150
0xf7785e34889ebd581f8c11a9f7359b6c58a4e28fea736298c4bc1071153351450x3fc8ef1045029092022-09-06 5:37:2594 days 6 hrs ago0xd24a6fc044328817d5ad6a85cd4f82d390a031fc IN  XY Finance: X Swapper0 CRO1.554538568175 4,926.269621961
0xfe9bbcd8638e6951dc29e55828205f9cf14b8e36fe0acc11c4c38739b2ec8ade0x500f528c45025752022-09-06 5:05:5694 days 6 hrs ago0xb35f9aac007666cacd0520b68d59d682262db7da IN  XY Finance: X Swapper0 CRO1.6675618398870
0x90504e6830373368b7caccd988caaa95616d2b3a5ca8a64d9579ddcadd9ec9be0x500f528c45025182022-09-06 5:00:3494 days 6 hrs ago0xb35f9aac007666cacd0520b68d59d682262db7da IN  XY Finance: X Swapper0 CRO2.1092078732210
0xf78b9e6ec7fd9e475f53eb5991da5cf94bf6a13d9c27207be52d26419735ba720x500f528c45024702022-09-06 4:56:0394 days 7 hrs ago0xb35f9aac007666cacd0520b68d59d682262db7da IN  XY Finance: X Swapper0 CRO2.2470595283860
0x18402e93a001c1ea4bcf144acdc11bd4f05b08adcc55f050c2b0613dd4b53c2a0x3fc8ef1045018972022-09-06 4:01:5994 days 7 hrs ago0xa76a44a438d58567f90aefa62acb97743d0cfc07 IN  XY Finance: X Swapper190 CRO2.407821014822 4,926.316659723
0x59c2e524d6fb88646fe1a23ce56dd54ee0c0d1a0c5dcbc5887d5b5cc76ec8c570x3fc8ef1045011122022-09-06 2:48:0394 days 9 hrs ago0xe9d7aabae6fe33f960a79ae15df7b615b8de008a IN  XY Finance: X Swapper44 CRO2.407661529295 4,926.353207175
0x965e50297ce3337ba87dcb136d1735ae6e6ae044c63c029fdab9b01ff33195ab0x500f528c45002252022-09-06 1:24:1894 days 10 hrs ago0xb35f9aac007666cacd0520b68d59d682262db7da IN  XY Finance: X Swapper0 CRO1.835946396190
0x4f2e45d3a117eceb00b38cd77b76960983835bb5e7676b66c917d9804bc121fa0x3fc8ef1044996922022-09-06 0:33:5694 days 11 hrs ago0xdbe4539b662c3bf9ede6d2090c58c05cd4e722ae IN  XY Finance: X Swapper550 CRO2.6895442441830
0x29434a14e48e7f9130ad5d5e6146b570321093c48f01a274a4259627fe75f9370x500f528c44981392022-09-05 22:07:2794 days 13 hrs ago0xb35f9aac007666cacd0520b68d59d682262db7da IN  XY Finance: X Swapper0 CRO1.7095184938910
0xfe6574e6cd8de59f646480648a63206b3f8453f615ac9fac41c6620c3f53e48b0x3fc8ef1044975782022-09-05 21:14:2694 days 14 hrs ago0x5e21433b018a92f13dcee1af135457bdcaac71e6 IN  XY Finance: X Swapper350 CRO2.403824678807 4,926.516343963
0xc72012dc087e27b73606f1ad7053c434f7fe6c3475d21fae63b85109bde8ca140x3fc8ef1044969042022-09-05 20:10:4794 days 15 hrs ago0xdd9253207f2f3343cab719fb207bc7fdedee6255 IN  XY Finance: X Swapper850 CRO2.445848346602 4,926.5470873
0x5008fc4c0eb538bc0cd7940b0a0ed6d96502530b264362a4a56b3dc4688baad30x3fc8ef1044966952022-09-05 19:51:0094 days 16 hrs ago0xad891fe48415ad991e83ba41c988c33a0ba7c7b9 IN  XY Finance: X Swapper40 CRO2.4449902900840
0xc952e4ca06ceeccc2f9df4c734001318d1fa011cc63fe01e3a0267a3060f651b0x3fc8ef1044963582022-09-05 19:19:1494 days 16 hrs ago0xe6cc6dbf8a479b26780437368ad982f502b4a40d IN  XY Finance: X Swapper516.9 CRO2.6896278732220
0x171e77a6cbcdc20d5a88ebc3a6390853e7e2f1d103161a9b88261beac80d46780x3fc8ef1044960682022-09-05 18:51:5094 days 17 hrs ago0xbeb1668ef207a462a6383b69245e53cc845b4fb0 IN  XY Finance: X Swapper500 CRO2.449247158797 4,926.585709309
0x03d9fd4aab701541e8ba033646fff3e62da1199bdd992b4ee8bc22961468a2790x3fc8ef1044947072022-09-05 16:43:1994 days 19 hrs ago0xe4139fc756604de38d141142365b9f217cf422c4 IN  XY Finance: X Swapper1,795.02619992812016 CRO2.403947685182 4,926.647276313
0x7957c5f3a367f39c2e21bdce4555feee53f79a094bdad175977e873078aff7c40x3fc8ef1044937352022-09-05 15:11:3494 days 20 hrs ago0x1a79d6e75fa9fa7bf5c1f22572e9299836d148b3 IN  XY Finance: X Swapper1,150 CRO2.445919996679 4,926.691408381
0xa9555a81965c03021b492aa6b4165bb9833fdc9c3e3110c1d8304cb8eeca399c0x500f528c44933662022-09-05 14:36:3994 days 21 hrs ago0xb35f9aac007666cacd0520b68d59d682262db7da IN  XY Finance: X Swapper0 CRO0.8097486358360
0x6f24c39d18afa7431573416fe4bcaa041f2882a7ced6fc745abea84b9fd2ae4d0x500f528c44931252022-09-05 14:13:4794 days 21 hrs ago0xb35f9aac007666cacd0520b68d59d682262db7da IN  XY Finance: X Swapper0 CRO1.794533074220
0x287f28bc9b9800e067e73d3756f43ee1c5476d44a397d3ea9c35cd94cb94fda10x500f528c44927952022-09-05 13:42:3294 days 22 hrs ago0xb35f9aac007666cacd0520b68d59d682262db7da IN  XY Finance: X Swapper0 CRO0.8097535249550
0xe9e6d559c22e7ca66c5b39e490c2a1fe9b38eebcfc38b629806bdcae2b66952e0x500f528c44921112022-09-05 12:37:5794 days 23 hrs ago0xb35f9aac007666cacd0520b68d59d682262db7da IN  XY Finance: X Swapper0 CRO2.4638690711370
0x85112038348d8641dac879ad9c2d9044849496c19538d202ced63b176970c2870x500f528c44919182022-09-05 12:19:4394 days 23 hrs ago0xb35f9aac007666cacd0520b68d59d682262db7da IN  XY Finance: X Swapper0 CRO0.736057668910
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x18402e93a001c1ea4bcf144acdc11bd4f05b08adcc55f050c2b0613dd4b53c2a45018972022-09-06 4:01:5994 days 7 hrs ago XY Finance: X Swapper XY Finance: Aggregator190 CRO
0x59c2e524d6fb88646fe1a23ce56dd54ee0c0d1a0c5dcbc5887d5b5cc76ec8c5745011122022-09-06 2:48:0394 days 9 hrs ago XY Finance: X Swapper XY Finance: Aggregator44 CRO
0x4f2e45d3a117eceb00b38cd77b76960983835bb5e7676b66c917d9804bc121fa44996922022-09-06 0:33:5694 days 11 hrs ago XY Finance: X Swapper XY Finance: Aggregator550 CRO
0xfe6574e6cd8de59f646480648a63206b3f8453f615ac9fac41c6620c3f53e48b44975782022-09-05 21:14:2694 days 14 hrs ago XY Finance: X Swapper XY Finance: Aggregator350 CRO
0xc72012dc087e27b73606f1ad7053c434f7fe6c3475d21fae63b85109bde8ca1444969042022-09-05 20:10:4794 days 15 hrs ago XY Finance: X Swapper XY Finance: Aggregator850 CRO
0x5008fc4c0eb538bc0cd7940b0a0ed6d96502530b264362a4a56b3dc4688baad344966952022-09-05 19:51:0094 days 16 hrs ago XY Finance: X Swapper XY Finance: Aggregator40 CRO
0xc952e4ca06ceeccc2f9df4c734001318d1fa011cc63fe01e3a0267a3060f651b44963582022-09-05 19:19:1494 days 16 hrs ago XY Finance: X Swapper XY Finance: Aggregator516.9 CRO
0x171e77a6cbcdc20d5a88ebc3a6390853e7e2f1d103161a9b88261beac80d467844960682022-09-05 18:51:5094 days 17 hrs ago XY Finance: X Swapper XY Finance: Aggregator500 CRO
0x03d9fd4aab701541e8ba033646fff3e62da1199bdd992b4ee8bc22961468a27944947072022-09-05 16:43:1994 days 19 hrs ago XY Finance: X Swapper XY Finance: Aggregator1,795.02619992812016 CRO
0x7957c5f3a367f39c2e21bdce4555feee53f79a094bdad175977e873078aff7c444937352022-09-05 15:11:3494 days 20 hrs ago XY Finance: X Swapper XY Finance: Aggregator1,150 CRO
0x23a339af3f161e5a139dc2fc447b4faff0d6c87c5dc71c4212b2ce41140361bf44879312022-09-05 6:03:4595 days 5 hrs ago XY Finance: X Swapper XY Finance: Aggregator1,750 CRO
0x12feefbf80451edd7993dab1eed3015f135562e2f3ac73d79747c7046b05cf2f44877772022-09-05 5:49:1495 days 6 hrs ago XY Finance: X Swapper XY Finance: Aggregator1,200 CRO
0xfb2645ff403c61bd72e34a13aacb58a93a5e6a8a081c0022457b6e78d0ca91d244873252022-09-05 5:06:3695 days 6 hrs ago XY Finance: X Swapper XY Finance: Aggregator1,030 CRO
0xfad8fbb3c3d376039594d0c84a64506d21e0a008d2f552217f2c85b03e6d058644868192022-09-05 4:18:5795 days 7 hrs ago XY Finance: X Swapper XY Finance: Aggregator1,000 CRO
0x24f3ee0a9d4ebf8349f31074e422e53362c993de4e0a7d1685208d5a258200a944852422022-09-05 1:50:1595 days 10 hrs ago XY Finance: X Swapper XY Finance: Aggregator20 CRO
0x1f983eadae5f53df737703c9ee289c73659ad0a51244d20c8e03d79614505ac244832782022-09-04 22:45:1495 days 13 hrs ago XY Finance: X Swapper XY Finance: Aggregator90 CRO
0x64cf4c423c6adaf6d070a1797ed63fa009ffddc046b46ee0fb7c4c65b207defb44824082022-09-04 21:23:1295 days 14 hrs ago XY Finance: X Swapper XY Finance: Aggregator80 CRO
0x8d2e904c6dee039d097c3c644348a876ae30735ea342a635a290747a2f844a9244813692022-09-04 19:45:1195 days 16 hrs ago XY Finance: X Swapper XY Finance: Aggregator105 CRO
0xb23de37da9238d04f943cc81fab8e3eb360dce7aabc949ca45c8058725f8c44944799892022-09-04 17:34:4495 days 18 hrs ago XY Finance: X Swapper XY Finance: Aggregator715 CRO
0x85b1a8c1eb6ed826b29424cca1d626a4e7dbf032be1096ad2e1b2c9c8bd53c3844799832022-09-04 17:34:1095 days 18 hrs ago XY Finance: X Swapper XY Finance: Aggregator1,795 CRO
0x802de4d05ab6b247156bd0cf4be1112bcfd17609ba41b9e6382158383d5f667044798412022-09-04 17:20:4695 days 18 hrs ago XY Finance: X Swapper XY Finance: Aggregator46.926169775162552543 CRO
0x1265807881b855d193f6a07bc31fe4660f405d9597e1cfb1bae4d6f82502f3c044795602022-09-04 16:54:1395 days 19 hrs ago XY Finance: X Swapper XY Finance: Aggregator30 CRO
0xb7dc4f5ee89baa6ef38dbcec11e338c0a34553db367d21a283df0058ae72595e44795412022-09-04 16:52:2695 days 19 hrs ago XY Finance: X Swapper XY Finance: Aggregator400 CRO
0xc8d414df1be925da04dc320a61e1dddf9f37372c6dc0a0b8613f1bd88accf58044794742022-09-04 16:46:0795 days 19 hrs ago XY Finance: X Swapper XY Finance: Aggregator25.59499648365850436 CRO
0x03b22967f51ef7efcdd30ee19154af57e76a9e4284bb8b3f063110e38338293544759712022-09-04 11:15:3496 days 42 mins ago XY Finance: X Swapper XY Finance: Aggregator898 CRO
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
XSwapper

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
Yes with 200 runs

Other Settings:
istanbul EvmVersion, None license

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 18 : XSwapper.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.0;

import { Address } from "Address.sol";
import "ERC20.sol";
import "ECDSA.sol";
import "SafeERC20.sol";
import "Pausable.sol";
import "ReentrancyGuard.sol";
import "AccessControl.sol";

import "Supervisor.sol";
import "IAggregator.sol";
import "IYPoolVault.sol";


/// @title XSwapper contract
/// @notice Users call `swap` to swap asset to specified bridgeable asset and then initiate a cross-chain swap request.
/// YPool workers call `closeSwap` to complete a cross-chain swap, `claim` & `batchClaim` to claim the credit back.
/// YPool validators call `lockCloseSwap` & `refund` to lock the swap and refund asset back to user if no applicable
/// liquidity or a YPool worker sent an invalidated closeSwap tx.
/// - "User" and "Account" refer to the same thing
/// - "fromChain" and "source chain" refer to the same thing
/// - "toChain" and "target chain" refer to the same thing
/// - "XYChain" and "Settlement chain" refer to the same thing
contract XSwapper is AccessControl, Pausable, ReentrancyGuard {

    using SafeERC20 for IERC20;
    using ECDSA for bytes32;

    /* ========== STRUCTURE ========== */

    // Status of a swap request (on source chain)
    enum RequestStatus { Open, Closed }
    // Result of a swap when it's closed (on target chain)
    enum CloseSwapResult { NonSwapped, Success, Failed, Locked }
    // Type of how the asset is transferred when the swap is completed
    enum CompleteSwapType { Claimed, FreeClaimed, Refunded }

    // Fees settings on each chain
    // Fee is calculated as `inputAmount * FeeStructure.rate / (10 ** FeeStructure.decimals)`
    struct FeeStructure {
        bool isSet;
        uint256 gas;
        uint256 min;
        uint256 max;
        uint256 rate;
        uint256 decimals;
    }

    // Info of a swap request
    struct SwapRequest {
        uint32 toChainId;
        uint256 swapId;
        address receiver;
        address sender;
        uint256 YPoolTokenAmount;
        uint256 xyFee;
        uint256 gasFee;
        IERC20 YPoolToken;
        RequestStatus status;
    }

    // Info of an expecting swap on target chain of a swap request
    struct ToChainDescription {
        uint32 toChainId;
        IERC20 toChainToken;
        uint256 expectedToChainTokenAmount;
        uint32 slippage;
    }

    /* ========== STATE VARIABLES ========== */

    // Roles
    bytes32 public constant ROLE_OWNER = keccak256("ROLE_OWNER");
    bytes32 public constant ROLE_MANAGER = keccak256("ROLE_MANAGER");
    bytes32 public constant ROLE_STAFF = keccak256("ROLE_STAFF");
    bytes32 public constant ROLE_YPOOL_WORKER = keccak256("ROLE_YPOOL_WORKER");

    // Mapping of YPool token to its max amount in a single swap
    mapping (address => uint256) public maxYPoolTokenSwapAmount;

    // A contract that supervises each refund and claim by providing signatures
    Supervisor public supervisor;
    // A referenced address of native currency
    address public constant ETHER_ADDRESS = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;
    // Id of the current chain
    uint32 public immutable chainId;
    // Next available id of a swap request
    // Note: the value is monotonically increasing as there MUST NOT exist swap requests with same Id
    uint256 public swapId = 0;
    // Close status of each swap
    mapping (bytes32 => bool) everClosed;

    // Supported YPool tokens
    mapping (address => bool) public YPoolSupportedToken;
    // YPoolVault of a YPoolSupportedToken
    mapping (address => address) public YPoolVaults;
    // DEX aggregator used by `swap` and `closeSwap`
    address public aggregator;
    // SwapValidator contract on XYChain that validates a `closeSwap` transaction
    // Note: this contract does not exist on periphery chains so its address is used only for signature verification purpose in `claim` and `batchClaim`
    address public swapValidatorXYChain;

    // Fees setting of a supported token on each chain
    mapping (bytes32 => FeeStructure) public feeStructures;
    // All swap requests initiated by users
    SwapRequest[] public swapRequests;

    constructor(address owner, address manager, address staff, address worker, address _supervisor, uint32 _chainId) {
        require(Address.isContract(_supervisor), "ERR_SUPERVISOR_NOT_CONTRACT");
        supervisor = Supervisor(_supervisor);
        chainId = _chainId;

        // Validate chainId
        uint256 _realChainId;
        assembly {
            _realChainId := chainid()
        }
        require(_chainId == _realChainId, "ERR_WRONG_CHAIN_ID");

        _setRoleAdmin(ROLE_OWNER, ROLE_OWNER);
        _setRoleAdmin(ROLE_MANAGER, ROLE_OWNER);
        _setRoleAdmin(ROLE_STAFF, ROLE_OWNER);
        _setRoleAdmin(ROLE_YPOOL_WORKER, ROLE_OWNER);
        _setupRole(ROLE_OWNER, owner);
        _setupRole(ROLE_MANAGER, manager);
        _setupRole(ROLE_STAFF, staff);
        _setupRole(ROLE_YPOOL_WORKER, worker);
    }

    receive() external payable {}

    /* ========== MODIFIERS ========== */

    modifier approveAggregator(IERC20 token, uint256 amount) {
        if (address(token) != ETHER_ADDRESS) token.safeApprove(aggregator, amount);
        _;
        if (address(token) != ETHER_ADDRESS) token.safeApprove(aggregator, 0);
    }

    /* ========== PRIVATE FUNCTIONS ========== */

    function max(uint256 a, uint256 b) private pure returns (uint256) {
        return a >= b ? a : b;
    }

    function min(uint256 a, uint256 b) private pure returns (uint256) {
        return a < b ? a : b;
    }

    /// @notice Get the XY protocol fee setting of `_token` on chain `_toChainId`
    /// @param _toChainId Chain Id of the periphery chain
    /// @param _token YPool token
    function _getFeeStructure(uint32 _toChainId, address _token) private view returns (FeeStructure memory) {
        bytes32 universalTokenId = keccak256(abi.encodePacked(_toChainId, _token));
        return feeStructures[universalTokenId];
    }

    function _getTokenBalance(IERC20 token, address account) private view returns (uint256 balance) {
        balance = address(token) == ETHER_ADDRESS ? account.balance : token.balanceOf(account);
    }

    function _safeTransferAsset(address receiver, IERC20 token, uint256 amount) private {
        if (address(token) == ETHER_ADDRESS) {
            payable(receiver).transfer(amount);
        } else {
            token.safeTransfer(receiver, amount);
        }
    }

    function _safeTransferFromAsset(IERC20 fromToken, address from, uint256 amount) private {
        if (address(fromToken) == ETHER_ADDRESS)
            require(msg.value == amount, "ERR_INVALID_AMOUNT");
        else {
            uint256 _fromTokenBalance = _getTokenBalance(fromToken, address(this));
            fromToken.safeTransferFrom(from, address(this), amount);
            require(_getTokenBalance(fromToken, address(this)) - _fromTokenBalance == amount, "ERR_INVALID_AMOUNT");
        }
    }

    /// @notice Check whether the swap amount reaches the threshold or not
    /// @param _toChainId Chain Id of the target chain
    /// @param token YPool token
    /// @param amount Swap amount
    /// @dev A swap could be closed by YPool worker on target chain or get refunded on source chain, i.e., this chain,
    /// therefore, we require the `amount` not only be GTE the fee on target chain but also on source chain
    function _checkMinimumSwapAmount(uint32 _toChainId, IERC20 token, uint256 amount) private view returns (bool) {
        FeeStructure memory feeStructure = _getFeeStructure(_toChainId, address(token));
        require(feeStructure.isSet, "ERR_FEE_NOT_SET");
        uint256 minToChainFee = feeStructure.min;  // closeSwap

        feeStructure = _getFeeStructure(chainId, address(token));
        require(feeStructure.isSet, "ERR_FEE_NOT_SET");
        uint256 minFromChainFee = feeStructure.min;  // refund

        return amount >= max(minToChainFee, minFromChainFee);
    }

    /// @notice Calculate the XY protocol fee and gas fee
    /// @param _chainId Chain Id of the periphery chain
    /// @param token YPool token
    /// @param amount YPool token amount
    function _calculateFee(uint32 _chainId, IERC20 token, uint256 amount) private view returns (uint256 xyFee, uint256 gasFee) {
        FeeStructure memory feeStructure = _getFeeStructure(_chainId, address(token));
        require(feeStructure.isSet, "ERR_FEE_NOT_SET");

        xyFee = amount * feeStructure.rate / (10 ** feeStructure.decimals);
        xyFee = min(max(xyFee, feeStructure.min), feeStructure.max);
        gasFee = feeStructure.gas;
    }

    /* ========== VIEW FUNCTIONS ========== */

    /// @notice Get a certain swap request
    /// @param _swapId Swap Id of a swap request
    function getSwapRequest(uint256 _swapId) external view returns (SwapRequest memory) {
        require(_swapId < swapId, "ERR_INVALID_SWAP_ID");
        return swapRequests[_swapId];
    }

    /// @notice Get the XY protocol fee setting of `_token` on chain `_toChainId`
    /// @param _chainId Chain Id of the periphery chain
    /// @param _token YPool token
    function getFeeStructure(uint32 _chainId, address _token) external view returns (FeeStructure memory) {
        FeeStructure memory feeStructure = _getFeeStructure(_chainId, _token);
        require(feeStructure.isSet, "ERR_FEE_NOT_SET");
        return feeStructure;
    }

    /// @notice Check whether a swap is closed or not on this chain, assuming this chain is the target chain
    /// @param _chainId Chain Id of the source chain
    /// @param _swapId Swap Id of a swap request
    function getEverClosed(uint32 _chainId, uint256 _swapId) external view returns (bool) {
        bytes32 universalSwapId = keccak256(abi.encodePacked(_chainId, _swapId));
        return everClosed[universalSwapId];
    }

    /* ========== RESTRICTED FUNCTIONS (OWNER) ========== */

    /// @notice Set YPoolVault and its token
    /// @param _supportedToken YPool token
    /// @param _vault Address of the YPoolVault
    /// @param _isSet To Add or to remove
    function setYPoolVault(address _supportedToken, address _vault, bool _isSet) external onlyRole(ROLE_OWNER) {
        if (_supportedToken != ETHER_ADDRESS) {
            require(Address.isContract(_supportedToken), "ERR_YPOOL_TOKEN_NOT_CONTRACT");
        }
        require(Address.isContract(_vault), "ERR_YPOOL_VAULT_NOT_CONTRACT");
        YPoolSupportedToken[_supportedToken] = _isSet;
        YPoolVaults[_supportedToken] = _vault;
        emit YPoolVaultSet(_supportedToken, _vault, _isSet);
    }

    /// @notice Rescue fund accidentally sent to this contract. Can not rescue YPool token
    /// @param tokens List of token address to rescue
    function rescue(IERC20[] memory tokens) external onlyRole(ROLE_OWNER) {
        for (uint256 i; i < tokens.length; i++) {
            IERC20 token = tokens[i];
            require(!YPoolSupportedToken[address(token)], "ERR_CAN_NOT_RESCUE_YPOOL_TOKEN");
            uint256 _tokenBalance = token.balanceOf(address(this));
            token.safeTransfer(msg.sender, _tokenBalance);
        }
    }

    /* ========== RESTRICTED FUNCTIONS (MANAGER) ========== */

    /// @notice Set the maximum swap amount of a YPool token
    /// @param _supportedToken YPool token
    /// @param amount Maximum swap amount
    function setMaxYPoolTokenSwapAmount(address _supportedToken, uint256 amount) external onlyRole(ROLE_MANAGER) {
        require(YPoolSupportedToken[_supportedToken], "ERR_INVALID_YPOOL_TOKEN");
        maxYPoolTokenSwapAmount[_supportedToken] = amount;
    }

    /// @notice Set the dex aggregator
    /// @param _aggregator Address of the aggregator
    function setAggregator(address _aggregator) external onlyRole(ROLE_MANAGER) {
        require(Address.isContract(_aggregator), "ERR_AGGREGATOR_NOT_CONTRACT");
        aggregator = _aggregator;
        emit AggregatorSet(_aggregator);
    }

    /// @notice Pause the major functions
    function pause() external onlyRole(ROLE_MANAGER) {
        _pause();
    }

    /// @notice Unpause the major functions
    function unpause() external onlyRole(ROLE_MANAGER) {
        _unpause();
    }

    /* ========== RESTRICTED FUNCTIONS (STAFF) ========== */

    /// @notice Set the XY protocol fee setting of `_token` on chain `_toChainId`
    /// @param _toChainId Chain Id of the periphery chain
    /// @param _supportedToken YPool token
    /// @param _gas Estimated gas fee of closeSwap/refund in form of YPool Token
    /// @param _min Minimum amount of the XY protocol fee of `_supportedToken`
    /// @param _max Maximum amount of the XY protocol fee of `_supportedToken`
    /// @param rate Fee rate of the XY protocol fee of `_supportedToken`
    /// @param decimals Decimals of `_rate`
    function setFeeStructure(uint32 _toChainId, address _supportedToken, uint256 _gas, uint256 _min, uint256 _max, uint256 rate, uint256 decimals) external onlyRole(ROLE_STAFF) {
        if (_supportedToken != ETHER_ADDRESS) {
            require(Address.isContract(_supportedToken), "ERR_YPOOL_TOKEN_NOT_CONTRACT");
        }
        require(_max > _min, "ERR_INVALID_MAX_MIN");
        require(_min >= _gas, "ERR_INVALID_MIN_GAS");
        bytes32 universalTokenId = keccak256(abi.encodePacked(_toChainId, _supportedToken));
        FeeStructure memory feeStructure = FeeStructure(true, _gas, _min, _max, rate, decimals);
        feeStructures[universalTokenId] = feeStructure;
        emit FeeStructureSet(_toChainId, _supportedToken, _gas, _min, _max, rate, decimals);
    }

    /// @notice Set the SwapValidator
    /// @param _swapValidatorXYChain Address of the SwapValidator on XY chain
    function setSwapValidatorXYChain(address _swapValidatorXYChain) external onlyRole(ROLE_STAFF) {
        swapValidatorXYChain = _swapValidatorXYChain;
        emit SwapValidatorXYChainSet(_swapValidatorXYChain);
    }

    /* ========== RESTRICTED FUNCTIONS (YPOOL_WORKER) ========== */

    /// @notice Fulfill a swap request for a user by YPool worker
    /// Closing a swap MUST be performed on target chain and only by YPool worker
    /// @dev swapDesc is the swap info for swapping on DEX on target chain, not the info of the swap request user initiated on source chain
    /// @param swapDesc Description of the swap on DEX, see IAggregator.SwapDescription
    /// @param aggregatorData Raw data consists of instructions to swap user's token for YPool token
    /// @param fromChainId Source chain id of the swap request
    /// @param fromSwapId Swap id of the swap request
    function closeSwap(
        IAggregator.SwapDescription calldata swapDesc,
        bytes memory aggregatorData,
        uint32 fromChainId,
        uint256 fromSwapId
    ) external payable whenNotPaused onlyRole(ROLE_YPOOL_WORKER) approveAggregator(swapDesc.fromToken, swapDesc.amount) {
        require(YPoolSupportedToken[address(swapDesc.fromToken)], "ERR_INVALID_YPOOL_TOKEN");

        bytes32 universalSwapId = keccak256(abi.encodePacked(fromChainId, fromSwapId));
        require(!everClosed[universalSwapId], "ERR_ALREADY_CLOSED");
        everClosed[universalSwapId] = true;

        uint256 fromTokenAmount = swapDesc.amount;
        require(fromTokenAmount <= maxYPoolTokenSwapAmount[address(swapDesc.fromToken)], "ERR_EXCEED_MAX_SWAP_AMOUNT");
        IYPoolVault(YPoolVaults[address(swapDesc.fromToken)]).transferToSwapper(swapDesc.fromToken, fromTokenAmount);

        uint256 toTokenAmountOut;
        CloseSwapResult swapResult;
        if (swapDesc.toToken == swapDesc.fromToken) {
            toTokenAmountOut = fromTokenAmount;
            swapResult = CloseSwapResult.NonSwapped;
        } else {
            uint256 value = (address(swapDesc.fromToken) == ETHER_ADDRESS) ? fromTokenAmount : 0;
            toTokenAmountOut = _getTokenBalance(swapDesc.toToken, swapDesc.receiver);
            try IAggregator(aggregator).swap{value: value}(swapDesc, aggregatorData) {
                toTokenAmountOut = _getTokenBalance(swapDesc.toToken, swapDesc.receiver) - toTokenAmountOut;
                swapResult = CloseSwapResult.Success;
            } catch {
                swapResult = CloseSwapResult.Failed;
            }
        }
        if (swapResult != CloseSwapResult.Success) {
            _safeTransferAsset(swapDesc.receiver, swapDesc.fromToken, fromTokenAmount);
        }
        emit CloseSwapCompleted(swapResult, fromChainId, fromSwapId);
        emit SwappedForUser(swapDesc.fromToken, fromTokenAmount, swapDesc.toToken, toTokenAmountOut, swapDesc.receiver);
    }

    /* ========== RESTRICTED FUNCTIONS (SIGNATURE REQUIRED) ========== */

    /// @notice Claim the asset of a swap request on source chain after YPool worker `closeSwap` on target chain, by providing signatures of validators
    /// Claiming MUST be performed on source chain
    /// @dev Signatures from validators are first sent to SwapValidator contract on Settlement chain to validate a swap request. Then the signatures can be reused here to approve the claim
    /// @param _swapId Swap id of the swap request
    /// @param signatures Signatures of validators
    function claim(uint256 _swapId, bytes[] memory signatures) external whenNotPaused {
        require(_swapId < swapId, "ERR_INVALID_SWAPID");
        require(swapRequests[_swapId].status != RequestStatus.Closed, "ERR_ALREADY_CLOSED");
        swapRequests[_swapId].status = RequestStatus.Closed;

        bytes32 sigId = keccak256(abi.encodePacked(supervisor.VALIDATE_SWAP_IDENTIFIER(), address(swapValidatorXYChain), chainId, _swapId));
        bytes32 sigIdHash = sigId.toEthSignedMessageHash();
        supervisor.checkSignatures(sigIdHash, signatures);

        SwapRequest memory request = swapRequests[_swapId];
        IYPoolVault yPoolVault = IYPoolVault(YPoolVaults[address(request.YPoolToken)]);
        uint256 value = (address(request.YPoolToken) == ETHER_ADDRESS) ? request.YPoolTokenAmount : 0;
        if (address(request.YPoolToken) != ETHER_ADDRESS) {
            request.YPoolToken.safeApprove(address(yPoolVault), request.YPoolTokenAmount);
        }
        yPoolVault.receiveAssetFromSwapper{value: value}(request.YPoolToken, request.YPoolTokenAmount, request.xyFee, request.gasFee);

        emit SwapCompleted(CompleteSwapType.Claimed, request);
    }

    /// @notice Claim the asset of multiple swap requests on source chain after YPool worker `closeSwap` on eacg target chain, by providing signatures of validators
    /// Claiming MUST be performed on source chain
    /// @dev YPool token of the swap request MUST be the same
    /// @dev Validators sign to the array of swap ids, which is different from signing for `claim`
    /// @param _swapIds Swap ids of the swap requests
    /// @param _YPoolToken Y Pool token
    /// @param signatures Signatures of validators
    function batchClaim(uint256[] calldata _swapIds, address _YPoolToken, bytes[] memory signatures) external whenNotPaused {
        require(YPoolSupportedToken[_YPoolToken], "ERR_INVALID_YPOOL_TOKEN");
        bytes32 sigId = keccak256(abi.encodePacked(supervisor.BATCH_CLAIM_IDENTIFIER(), address(swapValidatorXYChain), chainId, _swapIds));
        bytes32 sigIdHash = sigId.toEthSignedMessageHash();
        supervisor.checkSignatures(sigIdHash, signatures);

        IERC20 YPoolToken = IERC20(_YPoolToken);
        uint256 totalClaimedAmount;
        uint256 totalXYFee;
        uint256 totalGasFee;
        for (uint256 i; i < _swapIds.length; i++) {
            uint256 _swapId = _swapIds[i];
            require(_swapId < swapId, "ERR_INVALID_SWAPID");
            SwapRequest memory request = swapRequests[_swapId];
            require(request.status != RequestStatus.Closed, "ERR_ALREADY_CLOSED");
            require(request.YPoolToken == YPoolToken, "ERR_WRONG_YPOOL_TOKEN");
            totalClaimedAmount += request.YPoolTokenAmount;
            totalXYFee += request.xyFee;
            totalGasFee += request.gasFee;
            swapRequests[_swapId].status = RequestStatus.Closed;
            emit SwapCompleted(CompleteSwapType.FreeClaimed, request);
        }

        IYPoolVault yPoolVault = IYPoolVault(YPoolVaults[_YPoolToken]);
        uint256 value = (_YPoolToken == ETHER_ADDRESS) ? totalClaimedAmount : 0;
        if (_YPoolToken != ETHER_ADDRESS) {
            YPoolToken.safeApprove(address(yPoolVault), totalClaimedAmount);
        }
        yPoolVault.receiveAssetFromSwapper{value: value}(YPoolToken, totalClaimedAmount, totalXYFee, totalGasFee);
    }

    /// @notice Lock an expired swap request by providing signatures of validators
    /// Locking a swap MUST be performed on target chain to prevent YPool worker from closing an expired swap request
    /// @dev Signature collector collects signature from different validators off-chain and call this function
    /// @param fromChainId Source chain id of the swap request
    /// @param fromSwapId Swap id of the swap request
    /// @param signatures Signatures of validators
    function lockCloseSwap(uint32 fromChainId, uint256 fromSwapId, bytes[] memory signatures) external whenNotPaused {
        bytes32 universalSwapId = keccak256(abi.encodePacked(fromChainId, fromSwapId));
        require(!everClosed[universalSwapId], "ERR_ALREADY_CLOSED");
        bytes32 sigId = keccak256(abi.encodePacked(supervisor.LOCK_CLOSE_SWAP_AND_REFUND_IDENTIFIER(), address(this), fromChainId, fromSwapId));
        bytes32 sigIdHash = sigId.toEthSignedMessageHash();
        supervisor.checkSignatures(sigIdHash, signatures);

        everClosed[universalSwapId] = true;
        emit CloseSwapCompleted(CloseSwapResult.Locked, fromChainId, fromSwapId);
    }

    /// @notice Refund user if a swap request is expired or invalidated by providing signatures of validators
    /// A portion of refund will be taken away as gas fee compensation to execute the refund
    /// Refund MUST be performed on source chain
    /// @param _swapId Swap id of the swap request
    /// @param gasFeeReceiver Address that receives gas fees
    /// @param signatures Signatures of validators
    function refund(uint256 _swapId, address gasFeeReceiver, bytes[] memory signatures) external whenNotPaused {
        require(_swapId < swapId, "ERR_INVALID_SWAPID");
        require(swapRequests[_swapId].status != RequestStatus.Closed, "ERR_ALREADY_CLOSED");
        swapRequests[_swapId].status = RequestStatus.Closed;

        bytes32 sigId = keccak256(abi.encodePacked(supervisor.LOCK_CLOSE_SWAP_AND_REFUND_IDENTIFIER(), address(this), chainId, _swapId, gasFeeReceiver));
        bytes32 sigIdHash = sigId.toEthSignedMessageHash();
        supervisor.checkSignatures(sigIdHash, signatures);

        SwapRequest memory request = swapRequests[_swapId];
        (, uint256 refundGasFee) = _calculateFee(chainId, request.YPoolToken, request.YPoolTokenAmount);
        _safeTransferAsset(request.sender, request.YPoolToken, request.YPoolTokenAmount - refundGasFee);
        _safeTransferAsset(gasFeeReceiver, request.YPoolToken, refundGasFee);

        emit SwapCompleted(CompleteSwapType.Refunded, request);
    }

    /* ========== WRITE FUNCTIONS ========== */

    /// @notice This functions is called by user to initiate a swap. User swaps his/her token for YPool token on this chain and provide info for the swap on target chain. A swap request will be created for each swap.
    /// @dev swapDesc is the swap info for swapping on DEX on this chain, not the swap request
    /// @param swapDesc Description of the swap on DEX, see IAggregator.SwapDescription
    /// @param aggregatorData Raw data consists of instructions to swap user's token for YPool token
    /// @param toChainDesc Description of the swap on target chain, see ToChainDescription
    function swap(
        IAggregator.SwapDescription memory swapDesc,
        bytes memory aggregatorData,
        ToChainDescription calldata toChainDesc
    ) external payable approveAggregator(swapDesc.fromToken, swapDesc.amount) whenNotPaused nonReentrant {
        address receiver = swapDesc.receiver;
        IERC20 fromToken = swapDesc.fromToken;
        IERC20 YPoolToken = swapDesc.toToken;
        require(YPoolSupportedToken[address(YPoolToken)], "ERR_INVALID_YPOOL_TOKEN");

        uint256 fromTokenAmount = swapDesc.amount;
        uint256 yBalance;
        _safeTransferFromAsset(fromToken, msg.sender, fromTokenAmount);
        if (fromToken == YPoolToken) {
            yBalance = fromTokenAmount;
        } else {
            yBalance = _getTokenBalance(YPoolToken, address(this));
            swapDesc.receiver = address(this);
            IAggregator(aggregator).swap{value: msg.value}(swapDesc, aggregatorData);
            yBalance = _getTokenBalance(YPoolToken, address(this)) - yBalance;
        }
        require(_checkMinimumSwapAmount(toChainDesc.toChainId, YPoolToken, yBalance), "ERR_NOT_ENOUGH_SWAP_AMOUNT");
        require(yBalance <= maxYPoolTokenSwapAmount[address(YPoolToken)], "ERR_EXCEED_MAX_SWAP_AMOUNT");

        // Calculate XY fee and gas fee for closeSwap on toChain
        // NOTE: XY fee already includes gas fee and gas fee is computed here only for bookkeeping purpose
        (uint256 xyFee, uint256 closeSwapGasFee) = _calculateFee(toChainDesc.toChainId, YPoolToken, yBalance);
        SwapRequest memory request = SwapRequest(toChainDesc.toChainId, swapId, receiver, msg.sender, yBalance, xyFee, closeSwapGasFee, YPoolToken, RequestStatus.Open);
        swapRequests.push(request);
        emit SwapRequested(swapId++, toChainDesc, fromToken, YPoolToken, yBalance, receiver, xyFee, closeSwapGasFee);
    }

    /* ========== EVENTS ========== */

    // Owner events
    event FeeStructureSet(uint32 _toChainId, address _YPoolToken, uint256 _gas, uint256 _min, uint256 _max, uint256 _rate, uint256 _decimals);
    event YPoolVaultSet(address _supportedToken, address _vault, bool _isSet);
    event AggregatorSet(address _aggregator);
    event SwapValidatorXYChainSet(address _swapValidatorXYChain);
    // Swap events
    event SwapRequested(uint256 _swapId, ToChainDescription _toChainDesc, IERC20 _fromToken, IERC20 _YPoolToken, uint256 _YPoolTokenAmount, address _receiver, uint256 _xyFee, uint256 _gasFee);
    event SwapCompleted(CompleteSwapType _closeType, SwapRequest _swapRequest);
    event CloseSwapCompleted(CloseSwapResult _swapResult, uint32 _fromChainId, uint256 _fromSwapId);
    event SwappedForUser(IERC20 _fromToken, uint256 _fromTokenAmount, IERC20 _toToken, uint256 _toTokenAmountOut, address _receiver);
}

File 2 of 18 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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 functionCall(target, data, "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");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(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) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(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) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason 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 {
            // 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 3 of 18 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "IERC20.sol";
import "IERC20Metadata.sol";
import "Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 4 of 18 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @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);
}

File 5 of 18 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 6 of 18 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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;
    }
}

File 7 of 18 : ECDSA.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 27)
        }
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 8 of 18 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "IERC20.sol";
import "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));
        }
    }

    /**
     * @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 9 of 18 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 10 of 18 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 11 of 18 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "IAccessControl.sol";
import "Context.sol";
import "Strings.sol";
import "ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 12 of 18 : IAccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

File 13 of 18 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 14 of 18 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 15 of 18 : IERC165.sol
// SPDX-License-Identifier: MIT

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 16 of 18 : Supervisor.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.0;

import "ECDSA.sol";

/// @title Supervisor is the guardian of YPool. It requires multiple validators to valid
/// the requests from users and workers and sign on them if valid.
contract Supervisor {
    using ECDSA for bytes32;

    /* ========== STATE VARIABLES ========== */

    bytes32 public constant CLAIM_IDENTIFIER = 'SWAPPER_CLAIM';
    bytes32 public constant SET_THRESHOLD_IDENTIFIER = 'SET_THRESHOLD';
    bytes32 public constant SET_VALIDATOR_IDENTIFIER = 'SET_VALIDATOR';
    bytes32 public constant LOCK_CLOSE_SWAP_AND_REFUND_IDENTIFIER = 'LOCK_CLOSE_SWAP_AND_REFUND';
    bytes32 public constant BATCH_CLAIM_IDENTIFIER = 'BATCH_CLAIM';
    bytes32 public constant VALIDATE_SWAP_IDENTIFIER = 'VALIDATE_SWAP_IDENTIFIER';
    bytes32 public constant VALIDATE_XY_CROSS_CHAIN_IDENTIFIER = 'VALIDATE_XY_XCHAIN_IDENTIFIER';

    // the chain ID contract located at
    uint32 public chainId;
    // check if the address is one of the validators
    mapping (address => bool) public validators;
    // number of validators
    uint256 private validatorsNum;
    // threshold to pass the signature validation
    uint256 public threshold;
    // current nonce for write functions
    uint256 public nonce;

    /// @dev Constuctor with chainId / validators / threshold
    /// @param _chainId The chain ID located with
    /// @param _validators Initial validator addresses
    /// @param _threshold Initial threshold to pass the request validation
    constructor(uint32 _chainId, address [] memory _validators, uint256 _threshold) {
        chainId = _chainId;

        for (uint256 i; i < _validators.length; i++) {
            validators[_validators[i]] = true;
        }
        validatorsNum = _validators.length;
        require(_threshold <= validatorsNum, "ERR_INVALID_THRESHOLD");
        threshold = _threshold;
    }

    /* ========== VIEW FUNCTIONS ========== */

    /// @notice Check if there are enough signed signatures to the signature hash
    /// @param sigIdHash The signature hash to be signed
    /// @param signatures Signed signatures by different validators
    function checkSignatures(bytes32 sigIdHash, bytes[] memory signatures) public view {
        require(signatures.length >= threshold, "ERR_NOT_ENOUGH_SIGNATURES");
        address prevAddress = address(0);
        for (uint i; i < threshold; i++) {
            address recovered = sigIdHash.recover(signatures[i]);
            require(validators[recovered], "ERR_NOT_VALIDATOR");
            require(recovered > prevAddress, "ERR_WRONG_SIGNER_ORDER");
            prevAddress = recovered;
        }
    }

    /* ========== WRITE FUNCTIONS ========== */

    /// @notice Change `threshold` by providing a correct nonce and enough signatures from validators
    /// @param _threshold New `threshold`
    /// @param _nonce The nonce to be processed
    /// @param signatures Signed signatures by validators
    function setThreshold(uint256 _threshold, uint256 _nonce, bytes[] memory signatures) external {
        require(signatures.length >= threshold, "ERR_NOT_ENOUGH_SIGNATURES");
        require(_nonce == nonce, "ERR_INVALID_NONCE");
        require(_threshold > 0, "ERR_INVALID_THRESHOLD");
        require(_threshold <= validatorsNum, "ERR_INVALID_THRESHOLD");

        bytes32 sigId = keccak256(abi.encodePacked(SET_THRESHOLD_IDENTIFIER, address(this), chainId, _threshold, _nonce));
        bytes32 sigIdHash = sigId.toEthSignedMessageHash();
        checkSignatures(sigIdHash, signatures);

        threshold = _threshold;
        nonce++;
    }

    /// @notice Set / remove the validator address to be part of signatures committee
    /// @param _validator The address to add or remove
    /// @param flag `true` to add, `false` to remove
    /// @param _nonce The nonce to be processed
    /// @param signatures Signed signatures by validators
    function setValidator(address _validator, bool flag, uint256 _nonce, bytes[] memory signatures) external {
        require(_validator != address(0), "ERR_INVALID_VALIDATOR");
        require(signatures.length >= threshold, "ERR_NOT_ENOUGH_SIGNATURES");
        require(_nonce == nonce, "ERR_INVALID_NONCE");
        require(flag != validators[_validator], "ERR_OPERATION_TO_VALIDATOR");

        bytes32 sigId = keccak256(abi.encodePacked(SET_VALIDATOR_IDENTIFIER, address(this), chainId, _validator, flag, _nonce));
        bytes32 sigIdHash = sigId.toEthSignedMessageHash();
        checkSignatures(sigIdHash, signatures);

        if (validators[_validator]) {
            validatorsNum--;
            validators[_validator] = false;
            if (validatorsNum < threshold) threshold--;
        } else {
            validatorsNum++;
            validators[_validator] = true;
        }
        nonce++;
    }
}

File 17 of 18 : IAggregator.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.0;
pragma experimental ABIEncoderV2;

import { IERC20 } from "ERC20.sol";


interface IAggregator {
    struct SwapDescription {
        IERC20 fromToken;
        IERC20 toToken;
        address receiver;
        uint256 amount;
        uint256 minReturnAmount;
    }
    function swap(SwapDescription calldata desc, bytes calldata data) external payable returns (uint256 returnAmount);
}

File 18 of 18 : IYPoolVault.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.0;

import { IERC20 } from "ERC20.sol";

interface IYPoolVault {
    function transferToSwapper(IERC20 token, uint256 amount) external;
    function receiveAssetFromSwapper(IERC20 token, uint256 amount, uint256 xyFeeAmount, uint256 gasFeeAmount) external payable;
}

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

Contract ABI

[{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"manager","type":"address"},{"internalType":"address","name":"staff","type":"address"},{"internalType":"address","name":"worker","type":"address"},{"internalType":"address","name":"_supervisor","type":"address"},{"internalType":"uint32","name":"_chainId","type":"uint32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_aggregator","type":"address"}],"name":"AggregatorSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"enum XSwapper.CloseSwapResult","name":"_swapResult","type":"uint8"},{"indexed":false,"internalType":"uint32","name":"_fromChainId","type":"uint32"},{"indexed":false,"internalType":"uint256","name":"_fromSwapId","type":"uint256"}],"name":"CloseSwapCompleted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint32","name":"_toChainId","type":"uint32"},{"indexed":false,"internalType":"address","name":"_YPoolToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"_gas","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_min","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_max","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_rate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_decimals","type":"uint256"}],"name":"FeeStructureSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"enum XSwapper.CompleteSwapType","name":"_closeType","type":"uint8"},{"components":[{"internalType":"uint32","name":"toChainId","type":"uint32"},{"internalType":"uint256","name":"swapId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"YPoolTokenAmount","type":"uint256"},{"internalType":"uint256","name":"xyFee","type":"uint256"},{"internalType":"uint256","name":"gasFee","type":"uint256"},{"internalType":"contract IERC20","name":"YPoolToken","type":"address"},{"internalType":"enum XSwapper.RequestStatus","name":"status","type":"uint8"}],"indexed":false,"internalType":"struct XSwapper.SwapRequest","name":"_swapRequest","type":"tuple"}],"name":"SwapCompleted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_swapId","type":"uint256"},{"components":[{"internalType":"uint32","name":"toChainId","type":"uint32"},{"internalType":"contract IERC20","name":"toChainToken","type":"address"},{"internalType":"uint256","name":"expectedToChainTokenAmount","type":"uint256"},{"internalType":"uint32","name":"slippage","type":"uint32"}],"indexed":false,"internalType":"struct XSwapper.ToChainDescription","name":"_toChainDesc","type":"tuple"},{"indexed":false,"internalType":"contract IERC20","name":"_fromToken","type":"address"},{"indexed":false,"internalType":"contract IERC20","name":"_YPoolToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"_YPoolTokenAmount","type":"uint256"},{"indexed":false,"internalType":"address","name":"_receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"_xyFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_gasFee","type":"uint256"}],"name":"SwapRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_swapValidatorXYChain","type":"address"}],"name":"SwapValidatorXYChainSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"contract IERC20","name":"_fromToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"_fromTokenAmount","type":"uint256"},{"indexed":false,"internalType":"contract IERC20","name":"_toToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"_toTokenAmountOut","type":"uint256"},{"indexed":false,"internalType":"address","name":"_receiver","type":"address"}],"name":"SwappedForUser","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_supportedToken","type":"address"},{"indexed":false,"internalType":"address","name":"_vault","type":"address"},{"indexed":false,"internalType":"bool","name":"_isSet","type":"bool"}],"name":"YPoolVaultSet","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ETHER_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROLE_MANAGER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROLE_OWNER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROLE_STAFF","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROLE_YPOOL_WORKER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"YPoolSupportedToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"YPoolVaults","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"aggregator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_swapIds","type":"uint256[]"},{"internalType":"address","name":"_YPoolToken","type":"address"},{"internalType":"bytes[]","name":"signatures","type":"bytes[]"}],"name":"batchClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"chainId","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_swapId","type":"uint256"},{"internalType":"bytes[]","name":"signatures","type":"bytes[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"contract IERC20","name":"fromToken","type":"address"},{"internalType":"contract IERC20","name":"toToken","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minReturnAmount","type":"uint256"}],"internalType":"struct IAggregator.SwapDescription","name":"swapDesc","type":"tuple"},{"internalType":"bytes","name":"aggregatorData","type":"bytes"},{"internalType":"uint32","name":"fromChainId","type":"uint32"},{"internalType":"uint256","name":"fromSwapId","type":"uint256"}],"name":"closeSwap","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"feeStructures","outputs":[{"internalType":"bool","name":"isSet","type":"bool"},{"internalType":"uint256","name":"gas","type":"uint256"},{"internalType":"uint256","name":"min","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"},{"internalType":"uint256","name":"rate","type":"uint256"},{"internalType":"uint256","name":"decimals","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"_chainId","type":"uint32"},{"internalType":"uint256","name":"_swapId","type":"uint256"}],"name":"getEverClosed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"_chainId","type":"uint32"},{"internalType":"address","name":"_token","type":"address"}],"name":"getFeeStructure","outputs":[{"components":[{"internalType":"bool","name":"isSet","type":"bool"},{"internalType":"uint256","name":"gas","type":"uint256"},{"internalType":"uint256","name":"min","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"},{"internalType":"uint256","name":"rate","type":"uint256"},{"internalType":"uint256","name":"decimals","type":"uint256"}],"internalType":"struct XSwapper.FeeStructure","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_swapId","type":"uint256"}],"name":"getSwapRequest","outputs":[{"components":[{"internalType":"uint32","name":"toChainId","type":"uint32"},{"internalType":"uint256","name":"swapId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"YPoolTokenAmount","type":"uint256"},{"internalType":"uint256","name":"xyFee","type":"uint256"},{"internalType":"uint256","name":"gasFee","type":"uint256"},{"internalType":"contract IERC20","name":"YPoolToken","type":"address"},{"internalType":"enum XSwapper.RequestStatus","name":"status","type":"uint8"}],"internalType":"struct XSwapper.SwapRequest","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"fromChainId","type":"uint32"},{"internalType":"uint256","name":"fromSwapId","type":"uint256"},{"internalType":"bytes[]","name":"signatures","type":"bytes[]"}],"name":"lockCloseSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"maxYPoolTokenSwapAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_swapId","type":"uint256"},{"internalType":"address","name":"gasFeeReceiver","type":"address"},{"internalType":"bytes[]","name":"signatures","type":"bytes[]"}],"name":"refund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20[]","name":"tokens","type":"address[]"}],"name":"rescue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_aggregator","type":"address"}],"name":"setAggregator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_toChainId","type":"uint32"},{"internalType":"address","name":"_supportedToken","type":"address"},{"internalType":"uint256","name":"_gas","type":"uint256"},{"internalType":"uint256","name":"_min","type":"uint256"},{"internalType":"uint256","name":"_max","type":"uint256"},{"internalType":"uint256","name":"rate","type":"uint256"},{"internalType":"uint256","name":"decimals","type":"uint256"}],"name":"setFeeStructure","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_supportedToken","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxYPoolTokenSwapAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_swapValidatorXYChain","type":"address"}],"name":"setSwapValidatorXYChain","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_supportedToken","type":"address"},{"internalType":"address","name":"_vault","type":"address"},{"internalType":"bool","name":"_isSet","type":"bool"}],"name":"setYPoolVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supervisor","outputs":[{"internalType":"contract Supervisor","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"contract IERC20","name":"fromToken","type":"address"},{"internalType":"contract IERC20","name":"toToken","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minReturnAmount","type":"uint256"}],"internalType":"struct IAggregator.SwapDescription","name":"swapDesc","type":"tuple"},{"internalType":"bytes","name":"aggregatorData","type":"bytes"},{"components":[{"internalType":"uint32","name":"toChainId","type":"uint32"},{"internalType":"contract IERC20","name":"toChainToken","type":"address"},{"internalType":"uint256","name":"expectedToChainTokenAmount","type":"uint256"},{"internalType":"uint32","name":"slippage","type":"uint32"}],"internalType":"struct XSwapper.ToChainDescription","name":"toChainDesc","type":"tuple"}],"name":"swap","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"swapId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"swapRequests","outputs":[{"internalType":"uint32","name":"toChainId","type":"uint32"},{"internalType":"uint256","name":"swapId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"YPoolTokenAmount","type":"uint256"},{"internalType":"uint256","name":"xyFee","type":"uint256"},{"internalType":"uint256","name":"gasFee","type":"uint256"},{"internalType":"contract IERC20","name":"YPoolToken","type":"address"},{"internalType":"enum XSwapper.RequestStatus","name":"status","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapValidatorXYChain","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a060405260006005553480156200001657600080fd5b5060405162004fc138038062004fc1833981016040819052620000399162000358565b6001805460ff191681556002556200005d826200023b602090811b62002f9a17901c565b620000af5760405162461bcd60e51b815260206004820152601b60248201527f4552525f53555045525649534f525f4e4f545f434f4e5452414354000000000060448201526064015b60405180910390fd5b600480546001600160a01b0319166001600160a01b03841617905560e081901b6001600160e01b0319166080524663ffffffff82168114620001295760405162461bcd60e51b815260206004820152601260248201527111549497d5d493d391d7d0d210525397d25160721b6044820152606401620000a6565b6200014460008051602062004fa18339815191528062000245565b6200016e60008051602062004f4183398151915260008051602062004fa183398151915262000245565b6200019860008051602062004f6183398151915260008051602062004fa183398151915262000245565b620001c260008051602062004f8183398151915260008051602062004fa183398151915262000245565b620001dd60008051602062004fa18339815191528862000290565b620001f860008051602062004f418339815191528762000290565b6200021360008051602062004f618339815191528662000290565b6200022e60008051602062004f818339815191528562000290565b50505050505050620003e3565b803b15155b919050565b600082815260208190526040808220600101805490849055905190918391839186917fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff9190a4505050565b6200029c8282620002a0565b5050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166200029c576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620002fc3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b80516001600160a01b03811681146200024057600080fd5b60008060008060008060c0878903121562000371578182fd5b6200037c8762000340565b95506200038c6020880162000340565b94506200039c6040880162000340565b9350620003ac6060880162000340565b9250620003bc6080880162000340565b915060a087015163ffffffff81168114620003d5578182fd5b809150509295509295509295565b60805160e01c614b1c62000425600039600081816105ca01528181610a8d015281816121d001528181612bd801528181612d9c01526134f90152614b1c6000f3fe60806040526004361061023e5760003560e01c80638ad682af1161012e578063d547741f116100ab578063f281de9e1161006f578063f281de9e14610814578063f54738ef14610834578063f5b944eb1461084a578063f9120af61461086c578063fde3f7dc1461088c57610245565b8063d547741f14610710578063d8331e7114610730578063e251975e14610750578063e53e016e14610770578063f13de4b3146107a657610245565b80639c61d7a4116100f25780639c61d7a414610601578063a217fddf14610636578063acb355321461064b578063b89bbce7146106ce578063cf1d21c0146106ee57610245565b80638ad682af146105245780638fc3ab8b1461055857806391d14854146105785780639968230b146105985780639a8a0592146105b857610245565b80633fc8ef10116101bc5780635c975abb116101805780635c975abb1461048357806364024b421461049b5780636aa4d6b5146104cf5780636c3f3917146104ef5780638456cb591461050f57610245565b80633fc8ef10146103f05780634a23656d14610403578063500f528c146104305780635136d5a21461044357806356e4b68b1461046357610245565b8063245a7bfc11610203578063245a7bfc14610333578063248a9ca31461036b5780632f2ff15d1461039b57806336568abe146103bb5780633f4ba83a146103db57610245565b8062501e281461024a57806301ffc9a71461026c57806312708c7b146102a157806322566122146102d157806322bf2e24146102f157610245565b3661024557005b600080fd5b34801561025657600080fd5b5061026a610265366004614106565b6108b9565b005b34801561027857600080fd5b5061028c610287366004613f66565b610d95565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b5061028c6102bc366004613d1c565b60076020526000908152604090205460ff1681565b3480156102dd57600080fd5b5061026a6102ec366004613d82565b610dce565b3480156102fd57600080fd5b506103257f358933fb1b4f9e62c7cd3651025ad8825acb20ebbb23b09160e3867d71501ddd81565b604051908152602001610298565b34801561033f57600080fd5b50600954610353906001600160a01b031681565b6040516001600160a01b039091168152602001610298565b34801561037757600080fd5b50610325610386366004613f07565b60009081526020819052604090206001015490565b3480156103a757600080fd5b5061026a6103b6366004613f37565b610e3d565b3480156103c757600080fd5b5061026a6103d6366004613f37565b610e68565b3480156103e757600080fd5b5061026a610ee6565b61026a6103fe366004613ffa565b610f0a565b34801561040f57600080fd5b5061042361041e366004613f07565b6114d8565b60405161029891906146f3565b61026a61043e366004613f8e565b611669565b34801561044f57600080fd5b5061026a61045e366004613d38565b611bce565b34801561046f57600080fd5b50600454610353906001600160a01b031681565b34801561048f57600080fd5b5060015460ff1661028c565b3480156104a757600080fd5b506103257f43ccaf94e5a0ff213b32419bf56f27f93e4170af0c4867ff3412f6aa5a22daf081565b3480156104db57600080fd5b5061026a6104ea36600461420a565b611d3d565b3480156104fb57600080fd5b5061026a61050a366004613dad565b611f3e565b34801561051b57600080fd5b5061026a6120b5565b34801561053057600080fd5b506103257f9f4e1c871d5fdd0aee1cd182666698a4492b24c6832aac230d07b11046af5a8981565b34801561056457600080fd5b5061026a610573366004613e46565b6120d6565b34801561058457600080fd5b5061028c610593366004613f37565b61265c565b3480156105a457600080fd5b5061026a6105b3366004613d1c565b612687565b3480156105c457600080fd5b506105ec7f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff9091168152602001610298565b34801561060d57600080fd5b5061062161061c366004613f07565b612708565b604051610298999897969594939291906147ac565b34801561064257600080fd5b50610325600081565b34801561065757600080fd5b5061069f610666366004613f07565b600b6020526000908152604090208054600182015460028301546003840154600485015460059095015460ff9094169492939192909186565b6040805196151587526020870195909552938501929092526060840152608083015260a082015260c001610298565b3480156106da57600080fd5b5061026a6106e9366004614190565b612780565b3480156106fa57600080fd5b50610353600080516020614ac783398151915281565b34801561071c57600080fd5b5061026a61072b366004613f37565b6129cf565b34801561073c57600080fd5b50600a54610353906001600160a01b031681565b34801561075c57600080fd5b5061026a61076b3660046140af565b6129f5565b34801561077c57600080fd5b5061035361078b366004613d1c565b6008602052600090815260409020546001600160a01b031681565b3480156107b257600080fd5b506107c66107c1366004614165565b612e30565b6040516102989190600060c0820190508251151582526020830151602083015260408301516040830152606083015160608301526080830151608083015260a083015160a083015292915050565b34801561082057600080fd5b5061028c61082f3660046141ef565b612e9f565b34801561084057600080fd5b5061032560055481565b34801561085657600080fd5b50610325600080516020614aa783398151915281565b34801561087857600080fd5b5061026a610887366004613d1c565b612ee5565b34801561089857600080fd5b506103256108a7366004613d1c565b60036020526000908152604090205481565b60015460ff16156108e55760405162461bcd60e51b81526004016108dc9061457b565b60405180910390fd5b60055482106109065760405162461bcd60e51b81526004016108dc90614605565b6001600c838154811061092957634e487b7160e01b600052603260045260246000fd5b906000526020600020906008020160070160149054906101000a900460ff16600181111561096757634e487b7160e01b600052602160045260246000fd5b14156109855760405162461bcd60e51b81526004016108dc9061454f565b6001600c83815481106109a857634e487b7160e01b600052603260045260246000fd5b60009182526020909120600760089092020101805460ff60a01b1916600160a01b8360018111156109e957634e487b7160e01b600052602160045260246000fd5b02179055506000600460009054906101000a90046001600160a01b03166001600160a01b031663faf55b5c6040518163ffffffff1660e01b815260040160206040518083038186803b158015610a3e57600080fd5b505afa158015610a52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a769190613f1f565b600a54604051610ab792916001600160a01b0316907f0000000000000000000000000000000000000000000000000000000000000000908790602001614374565b6040516020818303038152906040528051906020012090506000610ada82612fa0565b600480546040516305a0f88360e41b81529293506001600160a01b031691635a0f883091610b0c918591889101614481565b60006040518083038186803b158015610b2457600080fd5b505afa158015610b38573d6000803e3d6000fd5b505050506000600c8581548110610b5f57634e487b7160e01b600052603260045260246000fd5b600091825260209182902060408051610120810182526008909302909101805463ffffffff1683526001808201549484019490945260028101546001600160a01b039081169284019290925260038101548216606084015260048101546080840152600581015460a0840152600681015460c0840152600781015491821660e0840152919261010084019160ff600160a01b9091041690811115610c1357634e487b7160e01b600052602160045260246000fd5b6001811115610c3257634e487b7160e01b600052602160045260246000fd5b90525060e0810180516001600160a01b0390811660009081526008602052604081205492519394509181169216600080516020614ac783398151915214610c7a576000610c80565b82608001515b60e08401519091506001600160a01b0316600080516020614ac783398151915214610ccb57610ccb8284608001518560e001516001600160a01b0316612ff39092919063ffffffff16565b60e0830151608084015160a085015160c086015160405163496d674b60e11b81526001600160a01b039485166004820152602481019390935260448301919091526064820152908316906392dace969083906084016000604051808303818588803b158015610d3957600080fd5b505af1158015610d4d573d6000803e3d6000fd5b50505050507f7cf616e580913e39d7ffeeb739823ba0799bc2948b9b6043f5127cad95b655c8600084604051610d84929190614517565b60405180910390a150505050505050565b60006001600160e01b03198216637965db0b60e01b1480610dc657506301ffc9a760e01b6001600160e01b03198316145b90505b919050565b600080516020614aa7833981519152610de881335b61314a565b6001600160a01b03831660009081526007602052604090205460ff16610e205760405162461bcd60e51b81526004016108dc906145ce565b506001600160a01b03909116600090815260036020526040902055565b600082815260208190526040902060010154610e598133610de3565b610e6383836131ae565b505050565b6001600160a01b0381163314610ed85760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016108dc565b610ee28282613232565b5050565b600080516020614aa7833981519152610eff8133610de3565b610f07613297565b50565b825160608401516001600160a01b038216600080516020614ac783398151915214610f4957600954610f49906001600160a01b03848116911683612ff3565b60015460ff1615610f6c5760405162461bcd60e51b81526004016108dc9061457b565b600280541415610fbe5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108dc565b6002805560408086015186516020808901516001600160a01b03811660009081526007909252939020549192909160ff1661100b5760405162461bcd60e51b81526004016108dc906145ce565b6060880151600061101d84338461332a565b826001600160a01b0316846001600160a01b0316141561103e5750806110f1565b6110488330613413565b306040808d01919091526009549051638218b58f60e01b81529192506001600160a01b031690638218b58f903490611086908e908e906004016146a3565b6020604051808303818588803b15801561109f57600080fd5b505af11580156110b3573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906110d89190613f1f565b50806110e48430613413565b6110ee91906149cc565b90505b61110861110160208a018a61414b565b84836134c1565b6111545760405162461bcd60e51b815260206004820152601a60248201527f4552525f4e4f545f454e4f5547485f535741505f414d4f554e5400000000000060448201526064016108dc565b6001600160a01b0383166000908152600360205260409020548111156111bc5760405162461bcd60e51b815260206004820152601a60248201527f4552525f4558434545445f4d41585f535741505f414d4f554e5400000000000060448201526064016108dc565b6000806111d66111cf60208c018c61414b565b868561355c565b6040805161012081019091529193509150600090806111f860208e018e61414b565b63ffffffff16815260055460208201526001600160a01b03808b1660408301523360608301526080820187905260a0820186905260c08201859052881660e08201526101000160009052600c805460018181018355600092909252825160089091027fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c78101805463ffffffff90931663ffffffff1990931692909217825560208401517fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c882015560408401517fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c9820180546001600160a01b039283166001600160a01b03199182161790915560608601517fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8ca8401805491841691831691909117905560808601517fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8cb84015560a08601517fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8cc84015560c08601517fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8cd84015560e08601517fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8ce9093018054939092169216919091178082556101008501519495508594929360ff60a01b1990911690600160a01b90849081111561142957634e487b7160e01b600052602160045260246000fd5b021790555050600580547f988e36bbb7fb7444e889f1367ca3ee06e9d8bec0d99f1ffec20c2697987a4a45925090600061146283614a26565b919050558c8989888d8989604051611481989796959493929190614702565b60405180910390a150506001600255505050506001600160a01b038416600080516020614ac78339815191521491506114d19050576009546114d1906001600160a01b0384811691166000612ff3565b5050505050565b6115256040805161012081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e081018290529061010082015290565b600554821061156c5760405162461bcd60e51b815260206004820152601360248201527211549497d253959053125117d4d5d05417d251606a1b60448201526064016108dc565b600c828154811061158d57634e487b7160e01b600052603260045260246000fd5b600091825260209182902060408051610120810182526008909302909101805463ffffffff1683526001808201549484019490945260028101546001600160a01b039081169284019290925260038101548216606084015260048101546080840152600581015460a0840152600681015460c0840152600781015491821660e0840152919261010084019160ff600160a01b909104169081111561164157634e487b7160e01b600052602160045260246000fd5b600181111561166057634e487b7160e01b600052602160045260246000fd5b90525092915050565b60015460ff161561168c5760405162461bcd60e51b81526004016108dc9061457b565b7f43ccaf94e5a0ff213b32419bf56f27f93e4170af0c4867ff3412f6aa5a22daf06116b78133610de3565b6116c46020860186613d1c565b60608601356001600160a01b038216600080516020614ac78339815191521461170157600954611701906001600160a01b03848116911683612ff3565b6007600061171260208a018a613d1c565b6001600160a01b0316815260208101919091526040016000205460ff1661174b5760405162461bcd60e51b81526004016108dc906145ce565b60008585604051602001611760929190614464565b60408051601f1981840301815291815281516020928301206000818152600690935291205490915060ff16156117a85760405162461bcd60e51b81526004016108dc9061454f565b60008181526006602090815260408220805460ff1916600117905560608a0135916003916117d8908c018c613d1c565b6001600160a01b03166001600160a01b03168152602001908152602001600020548111156118485760405162461bcd60e51b815260206004820152601a60248201527f4552525f4558434545445f4d41585f535741505f414d4f554e5400000000000060448201526064016108dc565b6008600061185960208c018c613d1c565b6001600160a01b039081168252602080830193909352604090910160002054169063c2fc21109061188c908c018c613d1c565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101849052604401600060405180830381600087803b1580156118d457600080fd5b505af11580156118e8573d6000803e3d6000fd5b50600092508291506118ff905060208c018c613d1c565b6001600160a01b031661191860408d0160208e01613d1c565b6001600160a01b0316141561193257508190506000611a6f565b6000600080516020614ac783398151915261195060208e018e613d1c565b6001600160a01b031614611965576000611967565b835b905061199461197c60408e0160208f01613d1c565b8d604001602081019061198f9190613d1c565b613413565b9250600960009054906101000a90046001600160a01b03166001600160a01b0316638218b58f828e8e6040518463ffffffff1660e01b81526004016119da929190614631565b6020604051808303818588803b1580156119f357600080fd5b505af193505050508015611a24575060408051601f3d908101601f19168201909252611a2191810190613f1f565b60015b611a315760029150611a6d565b5082611a5c8d6020016020810190611a499190613d1c565b8e604001602081019061198f9190613d1c565b611a6691906149cc565b9250600191505b505b6001816003811115611a9157634e487b7160e01b600052602160045260246000fd5b14611abc57611abc611aa960608d0160408e01613d1c565b611ab660208e018e613d1c565b856135e4565b7fee823aedb9f54993693aeaca62918fd9eeaf9d0416276706739088c10ceaf2b8818a8a604051611aef939291906144e9565b60405180910390a17f4a1c72e2e3d1f37b0b083de3b7f8b54bebc3dd82fba56aa4e5f68b970b26ea67611b2560208d018d613d1c565b848d6020016020810190611b399190613d1c565b858f6040016020810190611b4d9190613d1c565b604080516001600160a01b0396871681526020810195909552928516928401929092526060830152909116608082015260a00160405180910390a1505050506001600160a01b038216600080516020614ac783398151915214611bc557600954611bc5906001600160a01b0384811691166000612ff3565b50505050505050565b7f9f4e1c871d5fdd0aee1cd182666698a4492b24c6832aac230d07b11046af5a89611bf98133610de3565b6001600160a01b038416600080516020614ac783398151915214611c6557833b611c655760405162461bcd60e51b815260206004820152601c60248201527f4552525f59504f4f4c5f544f4b454e5f4e4f545f434f4e54524143540000000060448201526064016108dc565b823b611cb35760405162461bcd60e51b815260206004820152601c60248201527f4552525f59504f4f4c5f5641554c545f4e4f545f434f4e54524143540000000060448201526064016108dc565b6001600160a01b038481166000818152600760209081526040808320805460ff1916881515908117909155600883529281902080546001600160a01b03191695891695861790558051938452908301939093528183015290517ff1e53a62d5935afca4762c943ac543a520fbf358eafaac6024bcb3f053f32071916060908290030190a150505050565b60015460ff1615611d605760405162461bcd60e51b81526004016108dc9061457b565b60008383604051602001611d75929190614464565b60408051601f1981840301815291815281516020928301206000818152600690935291205490915060ff1615611dbd5760405162461bcd60e51b81526004016108dc9061454f565b6000600460009054906101000a90046001600160a01b03166001600160a01b03166374892a726040518163ffffffff1660e01b815260040160206040518083038186803b158015611e0d57600080fd5b505afa158015611e21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e459190613f1f565b308686604051602001611e5b9493929190614374565b6040516020818303038152906040528051906020012090506000611e7e82612fa0565b600480546040516305a0f88360e41b81529293506001600160a01b031691635a0f883091611eb0918591899101614481565b60006040518083038186803b158015611ec857600080fd5b505afa158015611edc573d6000803e3d6000fd5b50505060008481526006602052604090819020805460ff19166001179055517fee823aedb9f54993693aeaca62918fd9eeaf9d0416276706739088c10ceaf2b89150611f2e90600390899089906144e9565b60405180910390a1505050505050565b7f9f4e1c871d5fdd0aee1cd182666698a4492b24c6832aac230d07b11046af5a89611f698133610de3565b60005b8251811015610e63576000838281518110611f9757634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b0381166000908152600790925260409091205490915060ff16156120105760405162461bcd60e51b815260206004820152601e60248201527f4552525f43414e5f4e4f545f5245534355455f59504f4f4c5f544f4b454e000060448201526064016108dc565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b15801561205257600080fd5b505afa158015612066573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061208a9190613f1f565b90506120a06001600160a01b038316338361364f565b505080806120ad90614a26565b915050611f6c565b600080516020614aa78339815191526120ce8133610de3565b610f0761367f565b60015460ff16156120f95760405162461bcd60e51b81526004016108dc9061457b565b6001600160a01b03821660009081526007602052604090205460ff166121315760405162461bcd60e51b81526004016108dc906145ce565b6000600460009054906101000a90046001600160a01b03166001600160a01b031663f7ca80236040518163ffffffff1660e01b815260040160206040518083038186803b15801561218157600080fd5b505afa158015612195573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121b99190613f1f565b600a546040516121fc92916001600160a01b0316907f00000000000000000000000000000000000000000000000000000000000000009089908990602001614316565b604051602081830303815290604052805190602001209050600061221f82612fa0565b600480546040516305a0f88360e41b81529293506001600160a01b031691635a0f883091612251918591889101614481565b60006040518083038186803b15801561226957600080fd5b505afa15801561227d573d6000803e3d6000fd5b5050505060008490506000806000805b8981101561256b5760008b8b838181106122b757634e487b7160e01b600052603260045260246000fd5b90506020020135905060055481106122e15760405162461bcd60e51b81526004016108dc90614605565b6000600c828154811061230457634e487b7160e01b600052603260045260246000fd5b600091825260209182902060408051610120810182526008909302909101805463ffffffff1683526001808201549484019490945260028101546001600160a01b039081169284019290925260038101548216606084015260048101546080840152600581015460a0840152600681015460c0840152600781015491821660e0840152919261010084019160ff600160a01b90910416908111156123b857634e487b7160e01b600052602160045260246000fd5b60018111156123d757634e487b7160e01b600052602160045260246000fd5b90525090506001816101000151600181111561240357634e487b7160e01b600052602160045260246000fd5b14156124215760405162461bcd60e51b81526004016108dc9061454f565b866001600160a01b03168160e001516001600160a01b03161461247e5760405162461bcd60e51b815260206004820152601560248201527422a9292faba927a723afaca827a7a62faa27a5a2a760591b60448201526064016108dc565b608081015161248d9087614866565b95508060a001518561249f9190614866565b94508060c00151846124b19190614866565b93506001600c83815481106124d657634e487b7160e01b600052603260045260246000fd5b60009182526020909120600760089092020101805460ff60a01b1916600160a01b83600181111561251757634e487b7160e01b600052602160045260246000fd5b02179055507f7cf616e580913e39d7ffeeb739823ba0799bc2948b9b6043f5127cad95b655c860018260405161254e929190614517565b60405180910390a15050808061256390614a26565b91505061228d565b506001600160a01b038089166000818152600860205260408120549092169190600080516020614ac7833981519152146125a65760006125a8565b845b90506001600160a01b038a16600080516020614ac7833981519152146125dc576125dc6001600160a01b0387168387612ff3565b60405163496d674b60e11b81526001600160a01b0387811660048301526024820187905260448201869052606482018590528316906392dace969083906084016000604051808303818588803b15801561263557600080fd5b505af1158015612649573d6000803e3d6000fd5b5050505050505050505050505050505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff165b92915050565b7f358933fb1b4f9e62c7cd3651025ad8825acb20ebbb23b09160e3867d71501ddd6126b28133610de3565b600a80546001600160a01b0319166001600160a01b0384169081179091556040519081527f3623260a18beeff6af38bff0981baf3571a6f16d5b4c8942e8d26c0a166669db906020015b60405180910390a15050565b600c818154811061271857600080fd5b60009182526020909120600890910201805460018201546002830154600384015460048501546005860154600687015460079097015463ffffffff909616975093956001600160a01b039384169592841694919391929091811690600160a01b900460ff1689565b7f358933fb1b4f9e62c7cd3651025ad8825acb20ebbb23b09160e3867d71501ddd6127ab8133610de3565b6001600160a01b038716600080516020614ac78339815191521461281757863b6128175760405162461bcd60e51b815260206004820152601c60248201527f4552525f59504f4f4c5f544f4b454e5f4e4f545f434f4e54524143540000000060448201526064016108dc565b84841161285c5760405162461bcd60e51b815260206004820152601360248201527222a9292fa4a72b20a624a22fa6a0ac2fa6a4a760691b60448201526064016108dc565b858510156128a25760405162461bcd60e51b81526020600482015260136024820152724552525f494e56414c49445f4d494e5f47415360681b60448201526064016108dc565b600088886040516020016128b792919061443a565b60408051601f19818403018152828252805160209182012060c08401835260018085528483018c81528585018c8152606087018c8152608088018c815260a089018c81526000878152600b909852968890208951815490151560ff199091161781559351948401949094559051600283015551600382015590516004820155915160059092019190915590519092507fcb4bb3001f7b245a106522f836b6aed77ba72ad177e278f9bb0b46d81d98356c906129bb908c908c908c908c908c908c908c9063ffffffff9790971687526001600160a01b0395909516602087015260408601939093526060850191909152608084015260a083015260c082015260e00190565b60405180910390a150505050505050505050565b6000828152602081905260409020600101546129eb8133610de3565b610e638383613232565b60015460ff1615612a185760405162461bcd60e51b81526004016108dc9061457b565b6005548310612a395760405162461bcd60e51b81526004016108dc90614605565b6001600c8481548110612a5c57634e487b7160e01b600052603260045260246000fd5b906000526020600020906008020160070160149054906101000a900460ff166001811115612a9a57634e487b7160e01b600052602160045260246000fd5b1415612ab85760405162461bcd60e51b81526004016108dc9061454f565b6001600c8481548110612adb57634e487b7160e01b600052603260045260246000fd5b60009182526020909120600760089092020101805460ff60a01b1916600160a01b836001811115612b1c57634e487b7160e01b600052602160045260246000fd5b02179055506000600460009054906101000a90046001600160a01b03166001600160a01b03166374892a726040518163ffffffff1660e01b815260040160206040518083038186803b158015612b7157600080fd5b505afa158015612b85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ba99190613f1f565b6040805160208101929092526001600160601b031930606090811b8216928401929092526001600160e01b03197f000000000000000000000000000000000000000000000000000000000000000060e01b166054840152605883018790529085901b166078820152608c016040516020818303038152906040528051906020012090506000612c3782612fa0565b600480546040516305a0f88360e41b81529293506001600160a01b031691635a0f883091612c69918591889101614481565b60006040518083038186803b158015612c8157600080fd5b505afa158015612c95573d6000803e3d6000fd5b505050506000600c8681548110612cbc57634e487b7160e01b600052603260045260246000fd5b600091825260209182902060408051610120810182526008909302909101805463ffffffff1683526001808201549484019490945260028101546001600160a01b039081169284019290925260038101548216606084015260048101546080840152600581015460a0840152600681015460c0840152600781015491821660e0840152919261010084019160ff600160a01b9091041690811115612d7057634e487b7160e01b600052602160045260246000fd5b6001811115612d8f57634e487b7160e01b600052602160045260246000fd5b8152505090506000612dca7f00000000000000000000000000000000000000000000000000000000000000008360e00151846080015161355c565b915050612def82606001518360e00151838560800151612dea91906149cc565b6135e4565b612dfe868360e00151836135e4565b7f7cf616e580913e39d7ffeeb739823ba0799bc2948b9b6043f5127cad95b655c8600283604051610d84929190614517565b612e6b6040518060c0016040528060001515815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000612e7784846136d5565b8051909150612e985760405162461bcd60e51b81526004016108dc906145a5565b9392505050565b6000808383604051602001612eb5929190614464565b60408051808303601f1901815291815281516020928301206000908152600690925290205460ff16949350505050565b600080516020614aa7833981519152612efe8133610de3565b813b612f4c5760405162461bcd60e51b815260206004820152601b60248201527f4552525f41474752454741544f525f4e4f545f434f4e5452414354000000000060448201526064016108dc565b600980546001600160a01b0319166001600160a01b0384169081179091556040519081527f94b241e14651a9658c51a45c82167e4f25ac3d3e7f8a2beae9d10b1ba07a94a0906020016126fc565b3b151590565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b80158061307c5750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e9060440160206040518083038186803b15801561304257600080fd5b505afa158015613056573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061307a9190613f1f565b155b6130e75760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b60648201526084016108dc565b6040516001600160a01b038316602482015260448101829052610e6390849063095ea7b360e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152613795565b613154828261265c565b610ee25761316c816001600160a01b03166014613867565b613177836020613867565b6040516020016131889291906143c5565b60408051601f198184030181529082905262461bcd60e51b82526108dc9160040161453c565b6131b8828261265c565b610ee2576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556131ee3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61323c828261265c565b15610ee2576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60015460ff166132e05760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016108dc565b6001805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038316600080516020614ac783398151915214156133925780341461338d5760405162461bcd60e51b815260206004820152601260248201527111549497d253959053125117d05353d5539560721b60448201526064016108dc565b610e63565b600061339e8430613413565b90506133b56001600160a01b038516843085613a49565b81816133c18630613413565b6133cb91906149cc565b1461340d5760405162461bcd60e51b815260206004820152601260248201527111549497d253959053125117d05353d5539560721b60448201526064016108dc565b50505050565b60006001600160a01b038316600080516020614ac7833981519152146134b1576040516370a0823160e01b81526001600160a01b0383811660048301528416906370a082319060240160206040518083038186803b15801561347457600080fd5b505afa158015613488573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134ac9190613f1f565b612e98565b506001600160a01b031631919050565b6000806134ce85856136d5565b80519091506134ef5760405162461bcd60e51b81526004016108dc906145a5565b604081015161351e7f0000000000000000000000000000000000000000000000000000000000000000866136d5565b805190925061353f5760405162461bcd60e51b81526004016108dc906145a5565b604082015161354e8282613a81565b909410159695505050505050565b600080600061356b86866136d5565b805190915061358c5760405162461bcd60e51b81526004016108dc906145a5565b60a081015161359c90600a6148e4565b60808201516135ab90866149ad565b6135b5919061487e565b92506135d26135c8848360400151613a81565b8260600151613a98565b92508060200151915050935093915050565b6001600160a01b038216600080516020614ac7833981519152141561363f576040516001600160a01b0384169082156108fc029083906000818181858888f19350505050158015613639573d6000803e3d6000fd5b50610e63565b610e636001600160a01b03831684835b6040516001600160a01b038316602482015260448101829052610e6390849063a9059cbb60e01b90606401613113565b60015460ff16156136a25760405162461bcd60e51b81526004016108dc9061457b565b6001805460ff1916811790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2583361330d565b6137106040518060c0016040528060001515815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000838360405160200161372592919061443a565b60408051808303601f1901815282825280516020918201206000908152600b825282902060c084018352805460ff161515845260018101549184019190915260028101549183019190915260038101546060830152600481015460808301526005015460a0820152949350505050565b60006137ea826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316613aa79092919063ffffffff16565b805190915015610e6357808060200190518101906138089190613eeb565b610e635760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016108dc565b606060006138768360026149ad565b613881906002614866565b67ffffffffffffffff8111156138a757634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156138d1576020820181803683370190505b509050600360fc1b816000815181106138fa57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061393757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600061395b8460026149ad565b613966906001614866565b90505b60018111156139fa576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106139a857634e487b7160e01b600052603260045260246000fd5b1a60f81b8282815181106139cc57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c936139f381614a0f565b9050613969565b508315612e985760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016108dc565b6040516001600160a01b038085166024830152831660448201526064810182905261340d9085906323b872dd60e01b90608401613113565b600081831015613a915781612e98565b5090919050565b6000818310613a915781612e98565b6060613ab68484600085613abe565b949350505050565b606082471015613b1f5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016108dc565b843b613b6d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016108dc565b600080866001600160a01b03168587604051613b8991906143a9565b60006040518083038185875af1925050503d8060008114613bc6576040519150601f19603f3d011682016040523d82523d6000602084013e613bcb565b606091505b5091509150613bdb828286613be6565b979650505050505050565b60608315613bf5575081612e98565b825115613c055782518084602001fd5b8160405162461bcd60e51b81526004016108dc919061453c565b600082601f830112613c2f578081fd5b81356020613c44613c3f83614842565b614811565b82815281810190858301855b85811015613c7957613c67898684358b0101613c86565b84529284019290840190600101613c50565b5090979650505050505050565b600082601f830112613c96578081fd5b813567ffffffffffffffff811115613cb057613cb0614a6d565b613cc3601f8201601f1916602001614811565b818152846020838601011115613cd7578283fd5b816020850160208301379081016020019190915292915050565b600060808284031215613d02578081fd5b50919050565b803563ffffffff81168114610dc957600080fd5b600060208284031215613d2d578081fd5b8135612e9881614a83565b600080600060608486031215613d4c578182fd5b8335613d5781614a83565b92506020840135613d6781614a83565b91506040840135613d7781614a98565b809150509250925092565b60008060408385031215613d94578182fd5b8235613d9f81614a83565b946020939093013593505050565b60006020808385031215613dbf578182fd5b823567ffffffffffffffff811115613dd5578283fd5b8301601f81018513613de5578283fd5b8035613df3613c3f82614842565b8181528381019083850185840285018601891015613e0f578687fd5b8694505b83851015613e3a578035613e2681614a83565b835260019490940193918501918501613e13565b50979650505050505050565b60008060008060608587031215613e5b578081fd5b843567ffffffffffffffff80821115613e72578283fd5b818701915087601f830112613e85578283fd5b813581811115613e93578384fd5b8860208083028501011115613ea6578384fd5b6020928301965094509086013590613ebd82614a83565b90925060408601359080821115613ed2578283fd5b50613edf87828801613c1f565b91505092959194509250565b600060208284031215613efc578081fd5b8151612e9881614a98565b600060208284031215613f18578081fd5b5035919050565b600060208284031215613f30578081fd5b5051919050565b60008060408385031215613f49578182fd5b823591506020830135613f5b81614a83565b809150509250929050565b600060208284031215613f77578081fd5b81356001600160e01b031981168114612e98578182fd5b600080600080848603610100811215613fa5578283fd5b60a0811215613fb2578283fd5b5084935060a085013567ffffffffffffffff811115613fcf578283fd5b613fdb87828801613c86565b935050613fea60c08601613d08565b9396929550929360e00135925050565b6000806000838503610140811215614010578182fd5b60a081121561401d578182fd5b5061402860a0614811565b843561403381614a83565b8152602085013561404381614a83565b6020820152604085013561405681614a83565b60408201526060858101359082015260808086013590820152925060a084013567ffffffffffffffff81111561408a578182fd5b61409686828701613c86565b9250506140a68560c08601613cf1565b90509250925092565b6000806000606084860312156140c3578081fd5b8335925060208401356140d581614a83565b9150604084013567ffffffffffffffff8111156140f0578182fd5b6140fc86828701613c1f565b9150509250925092565b60008060408385031215614118578182fd5b82359150602083013567ffffffffffffffff811115614135578182fd5b61414185828601613c1f565b9150509250929050565b60006020828403121561415c578081fd5b612e9882613d08565b60008060408385031215614177578182fd5b61418083613d08565b91506020830135613f5b81614a83565b600080600080600080600060e0888a0312156141aa578485fd5b6141b388613d08565b965060208801356141c381614a83565b96999698505050506040850135946060810135946080820135945060a0820135935060c0909101359150565b60008060408385031215614201578182fd5b613d9f83613d08565b60008060006060848603121561421e578081fd5b61422784613d08565b925060208401359150604084013567ffffffffffffffff8111156140f0578182fd5b600081518084526142618160208601602086016149e3565b601f01601f19169290920160200192915050565b6002811061428557614285614a57565b9052565b63ffffffff81511682526020810151602083015260018060a01b03604082015116604083015260608101516142c960608401826001600160a01b03169052565b506080810151608083015260a081015160a083015260c081015160c083015260e081015161430260e08401826001600160a01b03169052565b506101008082015161340d82850182614275565b858152606085901b6001600160601b031916602082015260e084901b6001600160e01b031916603482015260006001600160fb1b03831115614356578081fd5b60208302808560388501379190910160380190815295945050505050565b93845260609290921b6001600160601b031916602084015260e01b6001600160e01b0319166034830152603882015260580190565b600082516143bb8184602087016149e3565b9190910192915050565b60007f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000825283516143fd8160178501602088016149e3565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161442e8160288401602088016149e3565b01602801949350505050565b60e09290921b6001600160e01b031916825260601b6001600160601b031916600482015260180190565b60e09290921b6001600160e01b0319168252600482015260240190565b600060408201848352602060408185015281855180845260608601915060608382028701019350828701855b828110156144db57605f198887030184526144c9868351614249565b955092840192908401906001016144ad565b509398975050505050505050565b60608101600485106144fd576144fd614a57565b93815263ffffffff92909216602083015260409091015290565b61014081016003841061452c5761452c614a57565b838252612e986020830184614289565b600060208252612e986020830184614249565b60208082526012908201527111549497d053149150511657d0d313d4d15160721b604082015260600190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252600f908201526e11549497d1915157d393d517d4d155608a1b604082015260600190565b60208082526017908201527f4552525f494e56414c49445f59504f4f4c5f544f4b454e000000000000000000604082015260600190565b60208082526012908201527111549497d253959053125117d4d5d054125160721b604082015260600190565b6000833561463e81614a83565b6001600160a01b03908116835260208501359061465a82614a83565b908116602084015260408501359061467182614a83565b80821660408501525050606084013560608301526080840135608083015260c060a0830152613ab660c0830184614249565b600060018060a01b0380855116835280602086015116602084015280604086015116604084015250606084015160608301526080840151608083015260c060a0830152613ab660c0830184614249565b61012081016126818284614289565b888152610160810163ffffffff806147198b613d08565b16602084015260208a013561472d81614a83565b60018060a01b03811660408501525060408a013560608401528061475360608c01613d08565b166080840152506001600160a01b03881660a08301526001600160a01b03871660c08301528560e08301526147946101008301866001600160a01b03169052565b61012082019390935261014001529695505050505050565b63ffffffff8a168152602081018990526001600160a01b03888116604083015287811660608301526080820187905260a0820186905260c08201859052831660e08201526101208101614803610100830184614275565b9a9950505050505050505050565b604051601f8201601f1916810167ffffffffffffffff8111828210171561483a5761483a614a6d565b604052919050565b600067ffffffffffffffff82111561485c5761485c614a6d565b5060209081020190565b6000821982111561487957614879614a41565b500190565b60008261489957634e487b7160e01b81526012600452602481fd5b500490565b80825b60018086116148b057506148db565b8187048211156148c2576148c2614a41565b808616156148cf57918102915b9490941c9380026148a1565b94509492505050565b6000612e9860001984846000826148fd57506001612e98565b8161490a57506000612e98565b8160018114614920576002811461492a57614957565b6001915050612e98565b60ff84111561493b5761493b614a41565b6001841b91508482111561495157614951614a41565b50612e98565b5060208310610133831016604e8410600b8410161715614985575081810a838111156134ac576134ac614a41565b614992848484600161489e565b8086048211156149a4576149a4614a41565b02949350505050565b60008160001904831182151516156149c7576149c7614a41565b500290565b6000828210156149de576149de614a41565b500390565b60005b838110156149fe5781810151838201526020016149e6565b8381111561340d5750506000910152565b600081614a1e57614a1e614a41565b506000190190565b6000600019821415614a3a57614a3a614a41565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610f0757600080fd5b8015158114610f0757600080fdfef206625bad3d9112d5609b8d356e6fbd514cd1f69980d4ce2b3e6e68e1789ace000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeea2646970667358221220f08763e2ffae05d82c880ad2b69704590593fe900267c8ee24967f8f66ae81fd64736f6c63430008020033f206625bad3d9112d5609b8d356e6fbd514cd1f69980d4ce2b3e6e68e1789ace358933fb1b4f9e62c7cd3651025ad8825acb20ebbb23b09160e3867d71501ddd43ccaf94e5a0ff213b32419bf56f27f93e4170af0c4867ff3412f6aa5a22daf09f4e1c871d5fdd0aee1cd182666698a4492b24c6832aac230d07b11046af5a890000000000000000000000000132613b3a1061816f4661ad301612910e3cce0b0000000000000000000000000132613b3a1061816f4661ad301612910e3cce0b0000000000000000000000000132613b3a1061816f4661ad301612910e3cce0b0000000000000000000000000132613b3a1061816f4661ad301612910e3cce0b0000000000000000000000001b0789910027c3cc58af2391de7228d973c5c46e0000000000000000000000000000000000000000000000000000000000000019

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

0000000000000000000000000132613b3a1061816f4661ad301612910e3cce0b0000000000000000000000000132613b3a1061816f4661ad301612910e3cce0b0000000000000000000000000132613b3a1061816f4661ad301612910e3cce0b0000000000000000000000000132613b3a1061816f4661ad301612910e3cce0b0000000000000000000000001b0789910027c3cc58af2391de7228d973c5c46e0000000000000000000000000000000000000000000000000000000000000019

-----Decoded View---------------
Arg [0] : owner (address): 0x0132613b3a1061816f4661ad301612910e3cce0b
Arg [1] : manager (address): 0x0132613b3a1061816f4661ad301612910e3cce0b
Arg [2] : staff (address): 0x0132613b3a1061816f4661ad301612910e3cce0b
Arg [3] : worker (address): 0x0132613b3a1061816f4661ad301612910e3cce0b
Arg [4] : _supervisor (address): 0x1b0789910027c3cc58af2391de7228d973c5c46e
Arg [5] : _chainId (uint32): 25

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000132613b3a1061816f4661ad301612910e3cce0b
Arg [1] : 0000000000000000000000000132613b3a1061816f4661ad301612910e3cce0b
Arg [2] : 0000000000000000000000000132613b3a1061816f4661ad301612910e3cce0b
Arg [3] : 0000000000000000000000000132613b3a1061816f4661ad301612910e3cce0b
Arg [4] : 0000000000000000000000001b0789910027c3cc58af2391de7228d973c5c46e
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000019


Deployed ByteCode Sourcemap

1008:25546:17:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17159:1173;;;;;;;;;;-1:-1:-1;17159:1173:17;;;;;:::i;:::-;;:::i;:::-;;2502:202:0;;;;;;;;;;-1:-1:-1;2502:202:0;;;;;:::i;:::-;;:::i;:::-;;;18522:14:18;;18515:22;18497:41;;18485:2;18470:18;2502:202:0;;;;;;;;3427:52:17;;;;;;;;;;-1:-1:-1;3427:52:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;11354:257;;;;;;;;;;-1:-1:-1;11354:257:17;;;;;:::i;:::-;;:::i;2550:60::-;;;;;;;;;;;;2587:23;2550:60;;;;;19245:25:18;;;19233:2;19218:18;2550:60:17;19200:76:18;3634:25:17;;;;;;;;;;-1:-1:-1;3634:25:17;;;;-1:-1:-1;;;;;3634:25:17;;;;;;-1:-1:-1;;;;;16955:32:18;;;16937:51;;16925:2;16910:18;3634:25:17;16892:102:18;3874:121:0;;;;;;;;;;-1:-1:-1;3874:121:0;;;;;:::i;:::-;3940:7;3966:12;;;;;;;;;;:22;;;;3874:121;4245:145;;;;;;;;;;-1:-1:-1;4245:145:0;;;;;:::i;:::-;;:::i;5262:214::-;;;;;;;;;;-1:-1:-1;5262:214:0;;;;;:::i;:::-;;:::i;12120:78:17:-;;;;;;;;;;;;;:::i;23775:1855::-;;;;;;:::i;:::-;;:::i;8770:187::-;;;;;;;;;;-1:-1:-1;8770:187:17;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;14586:1998::-;;;;;;:::i;:::-;;:::i;10090:502::-;;;;;;;;;;-1:-1:-1;10090:502:17;;;;;:::i;:::-;;:::i;2908:28::-;;;;;;;;;;-1:-1:-1;2908:28:17;;;;-1:-1:-1;;;;;2908:28:17;;;1032:84:12;;;;;;;;;;-1:-1:-1;1102:7:12;;;;1032:84;;2616:74:17;;;;;;;;;;;;2660:30;2616:74;;21026:668;;;;;;;;;;-1:-1:-1;21026:668:17;;;;;:::i;:::-;;:::i;10743:395::-;;;;;;;;;;-1:-1:-1;10743:395:17;;;;;:::i;:::-;;:::i;11996:74::-;;;;;;;;;;;;;:::i;2414:60::-;;;;;;;;;;;;2451:23;2414:60;;18860:1680;;;;;;;;;;-1:-1:-1;18860:1680:17;;;;;:::i;:::-;;:::i;2791:137:0:-;;;;;;;;;;-1:-1:-1;2791:137:0;;;;;:::i;:::-;;:::i;13701:216:17:-;;;;;;;;;;-1:-1:-1;13701:216:17;;;;;:::i;:::-;;:::i;3108:31::-;;;;;;;;;;;;;;;;;;35441:10:18;35429:23;;;35411:42;;35399:2;35384:18;3108:31:17;35366:93:18;4101:33:17;;;;;;;;;;-1:-1:-1;4101:33:17;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;:::i;1909:49:0:-;;;;;;;;;;-1:-1:-1;1909:49:0;1954:4;1909:49;;3997:54:17;;;;;;;;;;-1:-1:-1;3997:54:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18855:14:18;;18848:22;18830:41;;18902:2;18887:18;;18880:34;;;;18930:18;;;18923:34;;;;18988:2;18973:18;;18966:34;19031:3;19016:19;;19009:35;19075:3;19060:19;;19053:35;18817:3;18802:19;3997:54:17;18784:310:18;12805:774:17;;;;;;;;;;-1:-1:-1;12805:774:17;;;;;:::i;:::-;;:::i;2989:82::-;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2989:82:17;;4624:147:0;;;;;;;;;;-1:-1:-1;4624:147:0;;;;;:::i;:::-;;:::i;3900:35:17:-;;;;;;;;;;-1:-1:-1;3900:35:17;;;;-1:-1:-1;;;;;3900:35:17;;;22115:1013;;;;;;;;;;-1:-1:-1;22115:1013:17;;;;;:::i;:::-;;:::i;3528:47::-;;;;;;;;;;-1:-1:-1;3528:47:17;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;3528:47:17;;;9135:273;;;;;;;;;;-1:-1:-1;9135:273:17;;;;;:::i;:::-;;:::i;:::-;;;;;;31429:576:18;31623:3;31612:9;31608:19;31600:27;;31674:6;31668:13;31661:21;31654:29;31643:9;31636:48;31740:4;31732:6;31728:17;31722:24;31715:4;31704:9;31700:20;31693:54;31803:4;31795:6;31791:17;31785:24;31778:4;31767:9;31763:20;31756:54;31866:4;31858:6;31854:17;31848:24;31841:4;31830:9;31826:20;31819:54;31929:4;31921:6;31917:17;31911:24;31904:4;31893:9;31889:20;31882:54;31992:4;31984:6;31980:17;31974:24;31967:4;31956:9;31952:20;31945:54;31590:415;;;;;9625:219:17;;;;;;;;;;-1:-1:-1;9625:219:17;;;;;:::i;:::-;;:::i;3290:25::-;;;;;;;;;;;;;;;;2480:64;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2480:64:17;;11709:239;;;;;;;;;;-1:-1:-1;11709:239:17;;;;;:::i;:::-;;:::i;2762:59::-;;;;;;;;;;-1:-1:-1;2762:59:17;;;;;:::i;:::-;;;;;;;;;;;;;;17159:1173;1102:7:12;;;;1345:9;1337:38;;;;-1:-1:-1;;;1337:38:12;;;;;;;:::i;:::-;;;;;;;;;17269:6:17::1;;17259:7;:16;17251:47;;;;-1:-1:-1::0;;;17251:47:17::1;;;;;;;:::i;:::-;17348:20;17316:12;17329:7;17316:21;;;;;;-1:-1:-1::0;;;17316:21:17::1;;;;;;;;;;;;;;;;;;;:28;;;;;;;;;;;;:52;;;;;;-1:-1:-1::0;;;17316:52:17::1;;;;;;;;;;;17308:83;;;;-1:-1:-1::0;;;17308:83:17::1;;;;;;;:::i;:::-;17432:20;17401:12;17414:7;17401:21;;;;;;-1:-1:-1::0;;;17401:21:17::1;;;;;;;;;;::::0;;;::::1;::::0;;;:28:::1;:21;::::0;;::::1;;:28;:51:::0;;-1:-1:-1;;;;17401:51:17::1;-1:-1:-1::0;;;17401:51:17;::::1;::::0;::::1;;;;-1:-1:-1::0;;;17401:51:17::1;;;;;;;;;;;;;;17463:13;17506:10;;;;;;;;;-1:-1:-1::0;;;;;17506:10:17::1;-1:-1:-1::0;;;;;17506:35:17::1;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;17553:20;::::0;17489:104:::1;::::0;::::1;::::0;;-1:-1:-1;;;;;17553:20:17::1;::::0;17576:7:::1;::::0;17585;;17489:104:::1;;;:::i;:::-;;;;;;;;;;;;;17479:115;;;;;;17463:131;;17604:17;17624:30;:5;:28;:30::i;:::-;17664:10;::::0;;:49:::1;::::0;-1:-1:-1;;;17664:49:17;;17604:50;;-1:-1:-1;;;;;;17664:10:17::1;::::0;:26:::1;::::0;:49:::1;::::0;17604:50;;17702:10;;17664:49:::1;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;17724:26;17753:12;17766:7;17753:21;;;;;;-1:-1:-1::0;;;17753:21:17::1;;;;;;;;;;::::0;;;::::1;::::0;;;;17724:50:::1;::::0;;::::1;::::0;::::1;::::0;;17753:21:::1;::::0;;::::1;::::0;;::::1;17724:50:::0;;::::1;;::::0;;;;;::::1;::::0;;;::::1;::::0;;;;::::1;::::0;::::1;::::0;-1:-1:-1;;;;;17724:50:17;;::::1;::::0;;;;;;;::::1;::::0;::::1;::::0;;::::1;::::0;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;;;;::::1;::::0;;;::::1;-1:-1:-1::0;;;17724:50:17;;::::1;;::::0;;::::1;;;;-1:-1:-1::0;;;17724:50:17::1;;;;;;;;;;;;;;;-1:-1:-1::0;;;17724:50:17::1;;;;;;;;;::::0;;-1:-1:-1;17841:18:17::1;::::0;::::1;::::0;;-1:-1:-1;;;;;17821:40:17;;::::1;17784:22;17821:40:::0;;;:11:::1;:40;::::0;;;;;17897:18;;17724:50;;-1:-1:-1;17821:40:17;;::::1;::::0;17889:44:::1;-1:-1:-1::0;;;;;;;;;;;17889:44:17::1;17888:77;;17964:1;17888:77;;;17937:7;:24;;;17888:77;17987:18;::::0;::::1;::::0;17872:93;;-1:-1:-1;;;;;;17979:44:17::1;-1:-1:-1::0;;;;;;;;;;;17979:44:17::1;17975:152;;18039:77;18078:10;18091:7;:24;;;18039:7;:18;;;-1:-1:-1::0;;;;;18039:30:17::1;;;:77;;;;;:::i;:::-;18185:18;::::0;::::1;::::0;18205:24:::1;::::0;::::1;::::0;18231:13:::1;::::0;::::1;::::0;18246:14:::1;::::0;::::1;::::0;18136:125:::1;::::0;-1:-1:-1;;;18136:125:17;;-1:-1:-1;;;;;21282:32:18;;;18136:125:17::1;::::0;::::1;21264:51:18::0;21331:18;;;21324:34;;;;21374:18;;;21367:34;;;;21417:18;;;21410:34;18136::17;;::::1;::::0;::::1;::::0;18178:5;;21236:19:18;;18136:125:17::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;18277:48;18291:24;18317:7;18277:48;;;;;;;:::i;:::-;;;;;;;;1385:1:12;;;;;17159:1173:17::0;;:::o;2502:202:0:-;2587:4;-1:-1:-1;;;;;;2610:47:0;;-1:-1:-1;;;2610:47:0;;:87;;-1:-1:-1;;;;;;;;;;869:40:4;;;2661:36:0;2603:94;;2502:202;;;;:::o;11354:257:17:-;-1:-1:-1;;;;;;;;;;;2387:30:0;2519:25:17;666:10:2;2404:12:0;2387:10;:30::i;:::-;-1:-1:-1;;;;;11481:36:17;::::1;;::::0;;;:19:::1;:36;::::0;;;;;::::1;;11473:72;;;;-1:-1:-1::0;;;11473:72:17::1;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;;11555:40:17;;::::1;;::::0;;;:23:::1;:40;::::0;;;;:49;11354:257::o;4245:145:0:-;3940:7;3966:12;;;;;;;;;;:22;;;2387:30;2398:4;666:10:2;2404:12:0;587:96:2;2387:30:0;4358:25:::1;4369:4;4375:7;4358:10;:25::i;:::-;4245:145:::0;;;:::o;5262:214::-;-1:-1:-1;;;;;5357:23:0;;666:10:2;5357:23:0;5349:83;;;;-1:-1:-1;;;5349:83:0;;30858:2:18;5349:83:0;;;30840:21:18;30897:2;30877:18;;;30870:30;30936:34;30916:18;;;30909:62;-1:-1:-1;;;30987:18:18;;;30980:45;31042:19;;5349:83:0;30830:237:18;5349:83:0;5443:26;5455:4;5461:7;5443:11;:26::i;:::-;5262:214;;:::o;12120:78:17:-;-1:-1:-1;;;;;;;;;;;2387:30:0;2519:25:17;666:10:2;2404:12:0;587:96:2;2387:30:0;12181:10:17::1;:8;:10::i;:::-;12120:78:::0;:::o;23775:1855::-;23969:18;;23989:15;;;;-1:-1:-1;;;;;5128:31:17;;-1:-1:-1;;;;;;;;;;;5128:31:17;5124:74;;5179:10;;5161:37;;-1:-1:-1;;;;;5161:17:17;;;;5179:10;5191:6;5161:17;:37::i;:::-;1102:7:12;;;;1345:9:::1;1337:38;;;;-1:-1:-1::0;;;1337:38:12::1;;;;;;;:::i;:::-;1680:1:13::2;2259:7:::0;::::2;:19;;2251:63;;;::::0;-1:-1:-1;;;2251:63:13;;29728:2:18;2251:63:13::2;::::0;::::2;29710:21:18::0;29767:2;29747:18;;;29740:30;29806:33;29786:18;;;29779:61;29857:18;;2251:63:13::2;29700:181:18::0;2251:63:13::2;1680:1;2389:18:::0;;24062:17:17::3;::::0;;::::3;::::0;24108:18;;24156:16:::3;::::0;;::::3;::::0;-1:-1:-1;;;;;24190:40:17;::::3;24043:16;24190:40:::0;;;:19:::3;:40:::0;;;;;;;24062:17;;24108:18;;24190:40:::3;;24182:76;;;;-1:-1:-1::0;;;24182:76:17::3;;;;;;;:::i;:::-;24295:15;::::0;::::3;::::0;24269:23:::3;24346:62;24369:9:::0;24380:10:::3;24295:15:::0;24346:22:::3;:62::i;:::-;24435:10;-1:-1:-1::0;;;;;24422:23:17::3;:9;-1:-1:-1::0;;;;;24422:23:17::3;;24418:377;;;-1:-1:-1::0;24472:15:17;24418:377:::3;;;24529:43;24546:10;24566:4;24529:16;:43::i;:::-;24614:4;24586:17;::::0;;::::3;:33:::0;;;;24645:10:::3;::::0;24633:72;;-1:-1:-1;;;24633:72:17;;24518:54;;-1:-1:-1;;;;;;24645:10:17::3;::::0;24633:28:::3;::::0;24669:9:::3;::::0;24633:72:::3;::::0;24586:8;;24690:14;;24633:72:::3;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;24776:8;24730:43;24747:10;24767:4;24730:16;:43::i;:::-;:54;;;;:::i;:::-;24719:65;;24418:377;24812:68;24836:21;;::::0;::::3;:11:::0;:21:::3;:::i;:::-;24859:10;24871:8;24812:23;:68::i;:::-;24804:107;;;::::0;-1:-1:-1;;;24804:107:17;;26863:2:18;24804:107:17::3;::::0;::::3;26845:21:18::0;26902:2;26882:18;;;26875:30;26941:28;26921:18;;;26914:56;26987:18;;24804:107:17::3;26835:176:18::0;24804:107:17::3;-1:-1:-1::0;;;;;24941:44:17;::::3;;::::0;;;:23:::3;:44;::::0;;;;;24929:56;::::3;;24921:95;;;::::0;-1:-1:-1;;;24921:95:17;;26508:2:18;24921:95:17::3;::::0;::::3;26490:21:18::0;26547:2;26527:18;;;26520:30;26586:28;26566:18;;;26559:56;26632:18;;24921:95:17::3;26480:176:18::0;24921:95:17::3;25200:13;::::0;25242:58:::3;25256:21;;::::0;::::3;:11:::0;:21:::3;:::i;:::-;25279:10;25291:8;25242:13;:58::i;:::-;25339:130;::::0;;::::3;::::0;::::3;::::0;;;25199:101;;-1:-1:-1;25199:101:17;-1:-1:-1;25310:26:17::3;::::0;25339:130;25351:21:::3;;::::0;::::3;:11:::0;:21:::3;:::i;:::-;25339:130;;::::0;;25374:6:::3;::::0;25339:130:::3;::::0;::::3;::::0;-1:-1:-1;;;;;25339:130:17;;::::3;::::0;;;;25392:10:::3;25339:130:::0;;;;;;;;;;;;;;;;;;;;;;;::::3;::::0;;;;;;-1:-1:-1;25339:130:17;;25479:12:::3;:26:::0;;::::3;::::0;;::::3;::::0;;-1:-1:-1;25479:26:17;;;;;;::::3;::::0;;::::3;::::0;;::::3;::::0;;::::3;::::0;;::::3;-1:-1:-1::0;;25479:26:17;;::::3;::::0;;;::::3;::::0;;::::3;::::0;::::3;::::0;;;;;::::3;::::0;::::3;::::0;;;;;;-1:-1:-1;;;;;25479:26:17;;::::3;-1:-1:-1::0;;;;;;25479:26:17;;::::3;;::::0;;;::::3;::::0;::::3;::::0;;;;;;;;::::3;::::0;;::::3;::::0;;;::::3;::::0;;::::3;::::0;::::3;::::0;;;;;::::3;::::0;::::3;::::0;;;;;::::3;::::0;::::3;::::0;;;;;::::3;::::0;::::3;::::0;;;;;;;;;;::::3;::::0;::::3;::::0;;;::::3;::::0;;;::::3;::::0;::::3;::::0;25310:159;;-1:-1:-1;25310:159:17;;25479:26;;-1:-1:-1;;;;25479:26:17;;::::3;::::0;-1:-1:-1;;;25479:26:17;;;;::::3;;;;-1:-1:-1::0;;;25479:26:17::3;;;;;;;;;;;::::0;;-1:-1:-1;;25534:6:17::3;:8:::0;;25520:103:::3;::::0;-1:-1:-1;25534:8:17;:6:::3;:8;::::0;::::3;:::i;:::-;;;;;25544:11;25557:9;25568:10;25580:8;25590;25600:5;25607:15;25520:103;;;;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1::0;;1637:1:13::2;2562:7;:22:::0;-1:-1:-1;;;;;;;;;5223:31:17;;-1:-1:-1;;;;;;;;;;;5223:31:17;;-1:-1:-1;5219:69:17;;-1:-1:-1;5219:69:17;5274:10;;5256:32;;-1:-1:-1;;;;;5256:17:17;;;;5274:10;;5256:17;:32::i;:::-;23775:1855;;;;;:::o;8770:187::-;8834:18;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8834:18:17;8882:6;;8872:7;:16;8864:48;;;;-1:-1:-1;;;8864:48:17;;27218:2:18;8864:48:17;;;27200:21:18;27257:2;27237:18;;;27230:30;-1:-1:-1;;;27276:18:18;;;27269:49;27335:18;;8864:48:17;27190:169:18;8864:48:17;8929:12;8942:7;8929:21;;;;;;-1:-1:-1;;;8929:21:17;;;;;;;;;;;;;;;;;;8922:28;;;;;;;;8929:21;;;;;;;8922:28;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8922:28:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;8922:28:17;;;;;;;;;;-1:-1:-1;;;8922:28:17;;;;;;;;;;;;;;;-1:-1:-1;;;8922:28:17;;;;;;;;;;;-1:-1:-1;8922:28:17;8770:187;-1:-1:-1;;8770:187:17:o;14586:1998::-;1102:7:12;;;;1345:9;1337:38;;;;-1:-1:-1;;;1337:38:12;;;;;;;:::i;:::-;2660:30:17::1;2387::0;2660::17::0;666:10:2;2404:12:0::1;587:96:2::0;2387:30:0::1;14836:18:17::2;;::::0;::::2;:8:::0;:18:::2;:::i;:::-;14856:15;::::0;::::2;;-1:-1:-1::0;;;;;5128:31:17;::::2;-1:-1:-1::0;;;;;;;;;;;5128:31:17::2;5124:74;;5179:10;::::0;5161:37:::2;::::0;-1:-1:-1;;;;;5161:17:17;;::::2;::::0;5179:10:::2;5191:6:::0;5161:17:::2;:37::i;:::-;14891:19:::3;:48;14919:18;;::::0;::::3;:8:::0;:18:::3;:::i;:::-;-1:-1:-1::0;;;;;14891:48:17::3;::::0;;::::3;::::0;::::3;::::0;;;;;;-1:-1:-1;14891:48:17;;::::3;;14883:84;;;;-1:-1:-1::0;;;14883:84:17::3;;;;;;;:::i;:::-;14978:23;15031:11;15044:10;15014:41;;;;;;;;;:::i;:::-;;::::0;;-1:-1:-1;;15014:41:17;;::::3;::::0;;;;;;15004:52;;15014:41:::3;15004:52:::0;;::::3;::::0;15075:27:::3;::::0;;;:10:::3;:27:::0;;;;;;15004:52;;-1:-1:-1;15075:27:17::3;;15074:28;15066:59;;;;-1:-1:-1::0;;;15066:59:17::3;;;;;;;:::i;:::-;15135:27;::::0;;;:10:::3;:27;::::0;;;;;;:34;;-1:-1:-1;;15135:34:17::3;15165:4;15135:34;::::0;;15206:15:::3;::::0;::::3;;::::0;15258:23:::3;::::0;15290:18:::3;::::0;;::::3;15206:8:::0;15290:18:::3;:::i;:::-;-1:-1:-1::0;;;;;15258:52:17::3;-1:-1:-1::0;;;;;15258:52:17::3;;;;;;;;;;;;;15239:15;:71;;15231:110;;;::::0;-1:-1:-1;;;15231:110:17;;26508:2:18;15231:110:17::3;::::0;::::3;26490:21:18::0;26547:2;26527:18;;;26520:30;26586:28;26566:18;;;26559:56;26632:18;;15231:110:17::3;26480:176:18::0;15231:110:17::3;15363:11;:40;15383:18;;::::0;::::3;:8:::0;:18:::3;:::i;:::-;-1:-1:-1::0;;;;;15363:40:17;;::::3;::::0;;::::3;::::0;;::::3;::::0;;;;;;;;-1:-1:-1;15363:40:17;;::::3;::::0;15351:71:::3;::::0;15423:18:::3;::::0;;::::3;:8:::0;:18:::3;:::i;:::-;15351:108;::::0;-1:-1:-1;;;;;;15351:108:17::3;::::0;;;;;;-1:-1:-1;;;;;18270:32:18;;;15351:108:17::3;::::0;::::3;18252:51:18::0;18319:18;;;18312:34;;;18225:18;;15351:108:17::3;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;-1:-1:-1::0;15470:24:17::3;::::0;-1:-1:-1;15470:24:17;;-1:-1:-1;15564:18:17::3;::::0;-1:-1:-1;15564:18:17::3;::::0;::::3;:8:::0;:18:::3;:::i;:::-;-1:-1:-1::0;;;;;15544:38:17::3;:16;::::0;;;::::3;::::0;::::3;;:::i;:::-;-1:-1:-1::0;;;;;15544:38:17::3;;15540:696;;;-1:-1:-1::0;15617:15:17;;-1:-1:-1;15659:26:17::3;15540:696;;;15716:13;-1:-1:-1::0;;;;;;;;;;;15741:18:17::3;;::::0;::::3;:8:::0;:18:::3;:::i;:::-;-1:-1:-1::0;;;;;15733:44:17::3;;15732:68;;15799:1;15732:68;;;15781:15;15732:68;15716:84:::0;-1:-1:-1;15833:53:17::3;15850:16;::::0;;;::::3;::::0;::::3;;:::i;:::-;15868:8;:17;;;;;;;;;;:::i;:::-;15833:16;:53::i;:::-;15814:72;;15916:10;;;;;;;;;-1:-1:-1::0;;;;;15916:10:17::3;-1:-1:-1::0;;;;;15904:28:17::3;;15940:5;15947:8;15957:14;15904:68;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;-1:-1:-1::0;15904:68:17::3;::::0;;::::3;;::::0;;::::3;-1:-1:-1::0;;15904:68:17::3;::::0;::::3;::::0;;;::::3;::::0;;::::3;::::0;::::3;:::i;:::-;;;15900:326;;16189:22;16176:35;;15900:326;;;;16066:16;16010:53;16027:8;:16;;;;;;;;;;:::i;:::-;16045:8;:17;;;;;;;;;;:::i;16010:53::-;:72;;;;:::i;:::-;15991:91;;16113:23;16100:36;;15900:326;15540:696;;16263:23;16249:10;:37;;;;;;-1:-1:-1::0;;;16249:37:17::3;;;;;;;;;;16245:142;;16302:74;16321:17;::::0;;;::::3;::::0;::::3;;:::i;:::-;16340:18;;::::0;::::3;:8:::0;:18:::3;:::i;:::-;16360:15;16302:18;:74::i;:::-;16401:55;16420:10;16432:11;16445:10;16401:55;;;;;;;;:::i;:::-;;;;;;;;16471:106;16486:18;;::::0;::::3;:8:::0;:18:::3;:::i;:::-;16506:15;16523:8;:16;;;;;;;;;;:::i;:::-;16541;16559:8;:17;;;;;;;;;;:::i;:::-;16471:106;::::0;;-1:-1:-1;;;;;20800:15:18;;;20782:34;;20847:2;20832:18;;20825:34;;;;20895:15;;;20875:18;;;20868:43;;;;20942:2;20927:18;;20920:34;20991:15;;;20985:3;20970:19;;20963:44;20731:3;20716:19;16471:106:17::3;;;;;;;-1:-1:-1::0;;;;;;;;;5223:31:17;::::2;-1:-1:-1::0;;;;;;;;;;;5223:31:17::2;5219:69;;5274:10;::::0;5256:32:::2;::::0;-1:-1:-1;;;;;5256:17:17;;::::2;::::0;5274:10:::2;;5256:17;:32::i;:::-;2427:1:0;;1385::12::1;14586:1998:17::0;;;;:::o;10090:502::-;2451:23;2387:30:0;2451:23:17;666:10:2;2404:12:0;587:96:2;2387:30:0;-1:-1:-1;;;;;10211:32:17;::::1;-1:-1:-1::0;;;;;;;;;;;10211:32:17::1;10207:139;;1034:20:1::0;;10259:76:17::1;;;::::0;-1:-1:-1;;;10259:76:17;;31274:2:18;10259:76:17::1;::::0;::::1;31256:21:18::0;31313:2;31293:18;;;31286:30;31352;31332:18;;;31325:58;31400:18;;10259:76:17::1;31246:178:18::0;10259:76:17::1;1034:20:1::0;;10355:67:17::1;;;::::0;-1:-1:-1;;;10355:67:17;;24336:2:18;10355:67:17::1;::::0;::::1;24318:21:18::0;24375:2;24355:18;;;24348:30;24414;24394:18;;;24387:58;24462:18;;10355:67:17::1;24308:178:18::0;10355:67:17::1;-1:-1:-1::0;;;;;10432:36:17;;::::1;;::::0;;;:19:::1;:36;::::0;;;;;;;:45;;-1:-1:-1;;10432:45:17::1;::::0;::::1;;::::0;;::::1;::::0;;;10487:11:::1;:28:::0;;;;;;:37;;-1:-1:-1;;;;;;10487:37:17::1;::::0;;::::1;::::0;;::::1;::::0;;10539:46;;17542:34:18;;;17592:18;;;17585:43;;;;17644:18;;;17637:50;10539:46:17;;::::1;::::0;17492:2:18;10539:46:17;;;;;;::::1;10090:502:::0;;;;:::o;21026:668::-;1102:7:12;;;;1345:9;1337:38;;;;-1:-1:-1;;;1337:38:12;;;;;;;:::i;:::-;21149:23:17::1;21202:11;21215:10;21185:41;;;;;;;;;:::i;:::-;;::::0;;-1:-1:-1;;21185:41:17;;::::1;::::0;;;;;;21175:52;;21185:41:::1;21175:52:::0;;::::1;::::0;21246:27:::1;::::0;;;:10:::1;:27:::0;;;;;;21175:52;;-1:-1:-1;21246:27:17::1;;21245:28;21237:59;;;;-1:-1:-1::0;;;21237:59:17::1;;;;;;;:::i;:::-;21306:13;21349:10;;;;;;;;;-1:-1:-1::0;;;;;21349:10:17::1;-1:-1:-1::0;;;;;21349:48:17::1;;:50;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;21409:4;21416:11;21429:10;21332:108;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;21322:119;;;;;;21306:135;;21451:17;21471:30;:5;:28;:30::i;:::-;21511:10;::::0;;:49:::1;::::0;-1:-1:-1;;;21511:49:17;;21451:50;;-1:-1:-1;;;;;;21511:10:17::1;::::0;:26:::1;::::0;:49:::1;::::0;21451:50;;21549:10;;21511:49:::1;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;;21571:27:17::1;::::0;;;:10:::1;:27;::::0;;;;;;:34;;-1:-1:-1;;21571:34:17::1;21601:4;21571:34;::::0;;21620:67;::::1;::::0;-1:-1:-1;21620:67:17::1;::::0;21639:22:::1;::::0;21663:11;;21676:10;;21620:67:::1;:::i;:::-;;;;;;;;1385:1:12;;;21026:668:17::0;;;:::o;10743:395::-;2451:23;2387:30:0;2451:23:17;666:10:2;2404:12:0;587:96:2;2387:30:0;10828:9:17::1;10823:309;10843:6;:13;10839:1;:17;10823:309;;;10877:12;10892:6;10899:1;10892:9;;;;;;-1:-1:-1::0;;;10892:9:17::1;;;;;;;;;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;10924:35:17;::::1;;::::0;;;:19:::1;:35:::0;;;;;;;;10892:9;;-1:-1:-1;10924:35:17::1;;10923:36;10915:79;;;::::0;-1:-1:-1;;;10915:79:17;;26149:2:18;10915:79:17::1;::::0;::::1;26131:21:18::0;26188:2;26168:18;;;26161:30;26227:32;26207:18;;;26200:60;26277:18;;10915:79:17::1;26121:180:18::0;10915:79:17::1;11032:30;::::0;-1:-1:-1;;;11032:30:17;;11056:4:::1;11032:30;::::0;::::1;16937:51:18::0;11008:21:17::1;::::0;-1:-1:-1;;;;;11032:15:17;::::1;::::0;::::1;::::0;16910:18:18;;11032:30:17::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;11008:54:::0;-1:-1:-1;11076:45:17::1;-1:-1:-1::0;;;;;11076:18:17;::::1;11095:10;11008:54:::0;11076:18:::1;:45::i;:::-;10823:309;;10858:3;;;;;:::i;:::-;;;;10823:309;;11996:74:::0;-1:-1:-1;;;;;;;;;;;2387:30:0;2519:25:17;666:10:2;2404:12:0;587:96:2;2387:30:0;12055:8:17::1;:6;:8::i;18860:1680::-:0;1102:7:12;;;;1345:9;1337:38;;;;-1:-1:-1;;;1337:38:12;;;;;;;:::i;:::-;-1:-1:-1;;;;;18998:32:17;::::1;;::::0;;;:19:::1;:32;::::0;;;;;::::1;;18990:68;;;;-1:-1:-1::0;;;18990:68:17::1;;;;;;;:::i;:::-;19068:13;19111:10;;;;;;;;;-1:-1:-1::0;;;;;19111:10:17::1;-1:-1:-1::0;;;;;19111:33:17::1;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;19156:20;::::0;19094:103:::1;::::0;::::1;::::0;;-1:-1:-1;;;;;19156:20:17::1;::::0;19179:7:::1;::::0;19188:8;;;;19094:103:::1;;;:::i;:::-;;;;;;;;;;;;;19084:114;;;;;;19068:130;;19208:17;19228:30;:5;:28;:30::i;:::-;19268:10;::::0;;:49:::1;::::0;-1:-1:-1;;;19268:49:17;;19208:50;;-1:-1:-1;;;;;;19268:10:17::1;::::0;:26:::1;::::0;:49:::1;::::0;19208:50;;19306:10;;19268:49:::1;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;19328:17;19355:11;19328:39;;19377:26;19413:18:::0;19441:19:::1;19475:9:::0;19470:664:::1;19486:19:::0;;::::1;19470:664;;;19526:15;19544:8;;19553:1;19544:11;;;;;-1:-1:-1::0;;;19544:11:17::1;;;;;;;;;;;;;;;19526:29;;19587:6;;19577:7;:16;19569:47;;;;-1:-1:-1::0;;;19569:47:17::1;;;;;;;:::i;:::-;19630:26;19659:12;19672:7;19659:21;;;;;;-1:-1:-1::0;;;19659:21:17::1;;;;;;;;;;::::0;;;::::1;::::0;;;;19630:50:::1;::::0;;::::1;::::0;::::1;::::0;;19659:21:::1;::::0;;::::1;::::0;;::::1;19630:50:::0;;::::1;;::::0;;;;;::::1;::::0;;;::::1;::::0;;;;::::1;::::0;::::1;::::0;-1:-1:-1;;;;;19630:50:17;;::::1;::::0;;;;;;;::::1;::::0;::::1;::::0;;::::1;::::0;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;;;;::::1;::::0;;;::::1;-1:-1:-1::0;;;19630:50:17;;::::1;;::::0;;::::1;;;;-1:-1:-1::0;;;19630:50:17::1;;;;;;;;;;;;;;;-1:-1:-1::0;;;19630:50:17::1;;;;;;;;;::::0;;-1:-1:-1;19630:50:17;-1:-1:-1;19720:20:17::1;19702:7;:14;;;:38;;;;;;-1:-1:-1::0;;;19702:38:17::1;;;;;;;;;;;19694:69;;;;-1:-1:-1::0;;;19694:69:17::1;;;;;;;:::i;:::-;19807:10;-1:-1:-1::0;;;;;19785:32:17::1;:7;:18;;;-1:-1:-1::0;;;;;19785:32:17::1;;19777:66;;;::::0;-1:-1:-1;;;19777:66:17;;27910:2:18;19777:66:17::1;::::0;::::1;27892:21:18::0;27949:2;27929:18;;;27922:30;-1:-1:-1;;;27968:18:18;;;27961:51;28029:18;;19777:66:17::1;27882:171:18::0;19777:66:17::1;19879:24;::::0;::::1;::::0;19857:46:::1;::::0;;::::1;:::i;:::-;;;19931:7;:13;;;19917:27;;;;;:::i;:::-;;;19973:7;:14;;;19958:29;;;;;:::i;:::-;;;20032:20;20001:12;20014:7;20001:21;;;;;;-1:-1:-1::0;;;20001:21:17::1;;;;;;;;;;::::0;;;::::1;::::0;;;:28:::1;:21;::::0;;::::1;;:28;:51:::0;;-1:-1:-1;;;;20001:51:17::1;-1:-1:-1::0;;;20001:51:17;::::1;::::0;::::1;;;;-1:-1:-1::0;;;20001:51:17::1;;;;;;;;;;;;;;20071:52;20085:28;20115:7;20071:52;;;;;;;:::i;:::-;;;;;;;;19470:664;;19507:3;;;;;:::i;:::-;;;;19470:664;;;-1:-1:-1::0;;;;;;20181:24:17;;::::1;20144:22;20181:24:::0;;;:11:::1;:24;::::0;;;;;;;::::1;::::0;20144:22;-1:-1:-1;;;;;;;;;;;20233:28:17::1;20232:55;;20286:1;20232:55;;;20265:18;20232:55;20216:71:::0;-1:-1:-1;;;;;;20301:28:17;::::1;-1:-1:-1::0;;;;;;;;;;;20301:28:17::1;20297:122;;20345:63;-1:-1:-1::0;;;;;20345:22:17;::::1;20376:10:::0;20389:18;20345:22:::1;:63::i;:::-;20428:105;::::0;-1:-1:-1;;;20428:105:17;;-1:-1:-1;;;;;21282:32:18;;;20428:105:17::1;::::0;::::1;21264:51:18::0;21331:18;;;21324:34;;;21374:18;;;21367:34;;;21417:18;;;21410:34;;;20428::17;::::1;::::0;::::1;::::0;20470:5;;21236:19:18;;20428:105:17::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;1385:1:12;;;;;;;;18860:1680:17::0;;;;:::o;2791:137:0:-;2869:4;2892:12;;;;;;;;;;;-1:-1:-1;;;;;2892:29:0;;;;;;;;;;;;2791:137;;;;;:::o;13701:216:17:-;2587:23;2387:30:0;2587:23:17;666:10:2;2404:12:0;587:96:2;2387:30:0;13805:20:17::1;:44:::0;;-1:-1:-1;;;;;;13805:44:17::1;-1:-1:-1::0;;;;;13805:44:17;::::1;::::0;;::::1;::::0;;;13864:46:::1;::::0;16937:51:18;;;13864:46:17::1;::::0;16925:2:18;16910:18;13864:46:17::1;;;;;;;;13701:216:::0;;:::o;4101:33::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4101:33:17;;-1:-1:-1;;;;;4101:33:17;;;;;;;;;;;;;;;;;-1:-1:-1;;;4101:33:17;;;;;:::o;12805:774::-;2587:23;2387:30:0;2587:23:17;666:10:2;2404:12:0;587:96:2;2387:30:0;-1:-1:-1;;;;;12992:32:17;::::1;-1:-1:-1::0;;;;;;;;;;;12992:32:17::1;12988:139;;1034:20:1::0;;13040:76:17::1;;;::::0;-1:-1:-1;;;13040:76:17;;31274:2:18;13040:76:17::1;::::0;::::1;31256:21:18::0;31313:2;31293:18;;;31286:30;31352;31332:18;;;31325:58;31400:18;;13040:76:17::1;31246:178:18::0;13040:76:17::1;13151:4;13144;:11;13136:43;;;::::0;-1:-1:-1;;;13136:43:17;;23988:2:18;13136:43:17::1;::::0;::::1;23970:21:18::0;24027:2;24007:18;;;24000:30;-1:-1:-1;;;24046:18:18;;;24039:49;24105:18;;13136:43:17::1;23960:169:18::0;13136:43:17::1;13205:4;13197;:12;;13189:44;;;::::0;-1:-1:-1;;;13189:44:17;;24693:2:18;13189:44:17::1;::::0;::::1;24675:21:18::0;24732:2;24712:18;;;24705:30;-1:-1:-1;;;24751:18:18;;;24744:49;24810:18;;13189:44:17::1;24665:169:18::0;13189:44:17::1;13243:24;13297:10;13309:15;13280:45;;;;;;;;;:::i;:::-;;::::0;;-1:-1:-1;;13280:45:17;;::::1;::::0;;;;;;13270:56;;13280:45:::1;13270:56:::0;;::::1;::::0;13371:52:::1;::::0;::::1;::::0;;13384:4:::1;13371:52:::0;;;;;::::1;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;13336:32:::1;13433:31:::0;;;:13:::1;:31:::0;;;;;;;:46;;;;;::::1;;-1:-1:-1::0;;13433:46:17;;::::1;;::::0;;;;;;::::1;::::0;;;;;;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;;::::1;::::0;;;;13494:78;;13270:56;;-1:-1:-1;13494:78:17::1;::::0;::::1;::::0;13510:10;;13522:15;;13390:4;;13396;;13402;;13408;;13414:8;;35807:10:18;35795:23;;;;35777:42;;-1:-1:-1;;;;;35855:32:18;;;;35850:2;35835:18;;35828:60;35919:2;35904:18;;35897:34;;;;35962:2;35947:18;;35940:34;;;;36005:3;35990:19;;35983:35;35875:3;36034:19;;36027:35;36093:3;36078:19;;36071:35;35764:3;35749:19;;35731:381;13494:78:17::1;;;;;;;;2427:1:0;;12805:774:17::0;;;;;;;;:::o;4624:147:0:-;3940:7;3966:12;;;;;;;;;;:22;;;2387:30;2398:4;666:10:2;2404:12:0;587:96:2;2387:30:0;4738:26:::1;4750:4;4756:7;4738:11;:26::i;22115:1013:17:-:0;1102:7:12;;;;1345:9;1337:38;;;;-1:-1:-1;;;1337:38:12;;;;;;;:::i;:::-;22250:6:17::1;;22240:7;:16;22232:47;;;;-1:-1:-1::0;;;22232:47:17::1;;;;;;;:::i;:::-;22329:20;22297:12;22310:7;22297:21;;;;;;-1:-1:-1::0;;;22297:21:17::1;;;;;;;;;;;;;;;;;;;:28;;;;;;;;;;;;:52;;;;;;-1:-1:-1::0;;;22297:52:17::1;;;;;;;;;;;22289:83;;;;-1:-1:-1::0;;;22289:83:17::1;;;;;;;:::i;:::-;22413:20;22382:12;22395:7;22382:21;;;;;;-1:-1:-1::0;;;22382:21:17::1;;;;;;;;;;::::0;;;::::1;::::0;;;:28:::1;:21;::::0;;::::1;;:28;:51:::0;;-1:-1:-1;;;;22382:51:17::1;-1:-1:-1::0;;;22382:51:17;::::1;::::0;::::1;;;;-1:-1:-1::0;;;22382:51:17::1;;;;;;;;;;;;;;22444:13;22487:10;;;;;;;;;-1:-1:-1::0;;;;;22487:10:17::1;-1:-1:-1::0;;;;;22487:48:17::1;;:50;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;22470:117;::::0;;::::1;::::0;::::1;14387:19:18::0;;;;-1:-1:-1;;;;;;22547:4:17::1;14494:2:18::0;14490:15;;;14486:24;;14472:12;;;14465:46;;;;-1:-1:-1;;;;;;22554:7:17::1;14567:3:18::0;14545:16;14541:43;14527:12;;;14520:65;14601:12;;;14594:28;;;14656:15;;;;14652:24;14638:12;;;14631:46;14693:13;;22470:117:17::1;;;;;;;;;;;;22460:128;;;;;;22444:144;;22598:17;22618:30;:5;:28;:30::i;:::-;22658:10;::::0;;:49:::1;::::0;-1:-1:-1;;;22658:49:17;;22598:50;;-1:-1:-1;;;;;;22658:10:17::1;::::0;:26:::1;::::0;:49:::1;::::0;22598:50;;22696:10;;22658:49:::1;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;22718:26;22747:12;22760:7;22747:21;;;;;;-1:-1:-1::0;;;22747:21:17::1;;;;;;;;;;::::0;;;::::1;::::0;;;;22718:50:::1;::::0;;::::1;::::0;::::1;::::0;;22747:21:::1;::::0;;::::1;::::0;;::::1;22718:50:::0;;::::1;;::::0;;;;;::::1;::::0;;;::::1;::::0;;;;::::1;::::0;::::1;::::0;-1:-1:-1;;;;;22718:50:17;;::::1;::::0;;;;;;;::::1;::::0;::::1;::::0;;::::1;::::0;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;;;;::::1;::::0;;;::::1;-1:-1:-1::0;;;22718:50:17;;::::1;;::::0;;::::1;;;;-1:-1:-1::0;;;22718:50:17::1;;;;;;;;;;;;;;;-1:-1:-1::0;;;22718:50:17::1;;;;;;;;;;;::::0;::::1;;;22781:20;22805:68;22819:7;22828;:18;;;22848:7;:24;;;22805:13;:68::i;:::-;22778:95;;;22883;22902:7;:14;;;22918:7;:18;;;22965:12;22938:7;:24;;;:39;;;;:::i;:::-;22883:18;:95::i;:::-;22988:68;23007:14;23023:7;:18;;;23043:12;22988:18;:68::i;:::-;23072:49;23086:25;23113:7;23072:49;;;;;;;:::i;9135:273::-:0;9216:19;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9216:19:17;9247:32;9282:34;9299:8;9309:6;9282:16;:34::i;:::-;9334:18;;9247:69;;-1:-1:-1;9326:46:17;;;;-1:-1:-1;;;9326:46:17;;;;;;;:::i;:::-;9389:12;9135:273;-1:-1:-1;;;9135:273:17:o;9625:219::-;9705:4;9721:23;9774:8;9784:7;9757:35;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;9757:35:17;;;;;;9747:46;;9757:35;9747:46;;;;9810:27;;;;:10;:27;;;;;;;;;9625:219;-1:-1:-1;;;;9625:219:17:o;11709:239::-;-1:-1:-1;;;;;;;;;;;2387:30:0;2519:25:17;666:10:2;2404:12:0;587:96:2;2387:30:0;1034:20:1;;11795:71:17::1;;;::::0;-1:-1:-1;;;11795:71:17;;25041:2:18;11795:71:17::1;::::0;::::1;25023:21:18::0;25080:2;25060:18;;;25053:30;25119:29;25099:18;;;25092:57;25166:18;;11795:71:17::1;25013:177:18::0;11795:71:17::1;11876:10;:24:::0;;-1:-1:-1;;;;;;11876:24:17::1;-1:-1:-1::0;;;;;11876:24:17;::::1;::::0;;::::1;::::0;;;11915:26:::1;::::0;16937:51:18;;;11915:26:17::1;::::0;16925:2:18;16910:18;11915:26:17::1;16892:102:18::0;718:377:1;1034:20;1080:8;;;718:377::o;7950:265:3:-;8149:58;;15238:66:18;8149:58:3;;;15226:79:18;15321:12;;;15314:28;;;8019:7:3;;15358:12:18;;8149:58:3;;;;;;;;;;;;8139:69;;;;;;8132:76;;7950:265;;;:::o;1328:603:14:-;1683:10;;;1682:62;;-1:-1:-1;1699:39:14;;-1:-1:-1;;;1699:39:14;;1723:4;1699:39;;;17211:34:18;-1:-1:-1;;;;;17281:15:18;;;17261:18;;;17254:43;1699:15:14;;;;;17146:18:18;;1699:39:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:44;1682:62;1661:163;;;;-1:-1:-1;;;1661:163:14;;30088:2:18;1661:163:14;;;30070:21:18;30127:2;30107:18;;;30100:30;30166:34;30146:18;;;30139:62;-1:-1:-1;;;30217:18:18;;;30210:52;30279:19;;1661:163:14;30060:244:18;1661:163:14;1861:62;;-1:-1:-1;;;;;18270:32:18;;1861:62:14;;;18252:51:18;18319:18;;;18312:34;;;1834:90:14;;1854:5;;-1:-1:-1;;;1884:22:14;18225:18:18;;1861:62:14;;;;-1:-1:-1;;1861:62:14;;;;;;;;;;;;;;-1:-1:-1;;;;;1861:62:14;-1:-1:-1;;;;;;1861:62:14;;;;;;;;;;1834:19;:90::i;3209:484:0:-;3289:22;3297:4;3303:7;3289;:22::i;:::-;3284:403;;3472:41;3500:7;-1:-1:-1;;;;;3472:41:0;3510:2;3472:19;:41::i;:::-;3584:38;3612:4;3619:2;3584:19;:38::i;:::-;3379:265;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;3379:265:0;;;;;;;;;;-1:-1:-1;;;3327:349:0;;;;;;;:::i;6529:224::-;6603:22;6611:4;6617:7;6603;:22::i;:::-;6598:149;;6641:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6641:29:0;;;;;;;;;:36;;-1:-1:-1;;6641:36:0;6673:4;6641:36;;;6723:12;666:10:2;587:96;;6723:12:0;-1:-1:-1;;;;;6696:40:0;6714:7;-1:-1:-1;;;;;6696:40:0;6708:4;6696:40;;;;;;;;;;6529:224;;:::o;6759:225::-;6833:22;6841:4;6847:7;6833;:22::i;:::-;6829:149;;;6903:5;6871:12;;;;;;;;;;;-1:-1:-1;;;;;6871:29:0;;;;;;;;;;:37;;-1:-1:-1;;6871:37:0;;;6927:40;666:10:2;;6871:12:0;;6927:40;;6903:5;6927:40;6759:225;;:::o;2044:117:12:-;1102:7;;;;1603:41;;;;-1:-1:-1;;;1603:41:12;;23292:2:18;1603:41:12;;;23274:21:18;23331:2;23311:18;;;23304:30;-1:-1:-1;;;23350:18:18;;;23343:50;23410:18;;1603:41:12;23264:170:18;1603:41:12;2102:7:::1;:15:::0;;-1:-1:-1;;2102:15:12::1;::::0;;2132:22:::1;666:10:2::0;2141:12:12::1;2132:22;::::0;-1:-1:-1;;;;;16955:32:18;;;16937:51;;16925:2;16910:18;2132:22:12::1;;;;;;;2044:117::o:0;6468:503:17:-;-1:-1:-1;;;;;6570:35:17;;-1:-1:-1;;;;;;;;;;;6570:35:17;6566:399;;;6640:6;6627:9;:19;6619:50;;;;-1:-1:-1;;;6619:50:17;;28260:2:18;6619:50:17;;;28242:21:18;28299:2;28279:18;;;28272:30;-1:-1:-1;;;28318:18:18;;;28311:48;28376:18;;6619:50:17;28232:168:18;6619:50:17;6566:399;;;6698:25;6726:42;6743:9;6762:4;6726:16;:42::i;:::-;6698:70;-1:-1:-1;6782:55:17;-1:-1:-1;;;;;6782:26:17;;6809:4;6823;6830:6;6782:26;:55::i;:::-;6925:6;6904:17;6859:42;6876:9;6895:4;6859:16;:42::i;:::-;:62;;;;:::i;:::-;:72;6851:103;;;;-1:-1:-1;;;6851:103:17;;28260:2:18;6851:103:17;;;28242:21:18;28299:2;28279:18;;;28272:30;-1:-1:-1;;;28318:18:18;;;28311:48;28376:18;;6851:103:17;28232:168:18;6851:103:17;6566:399;6468:503;;;:::o;5994:199::-;6073:15;-1:-1:-1;;;;;6110:31:17;;-1:-1:-1;;;;;;;;;;;6110:31:17;:76;;6162:24;;-1:-1:-1;;;6162:24:17;;-1:-1:-1;;;;;16955:32:18;;;6162:24:17;;;16937:51:18;6162:15:17;;;;;16910:18:18;;6162:24:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6110:76;;;-1:-1:-1;;;;;;6144:15:17;;;6100:86;-1:-1:-1;5994:199:17:o;7401:575::-;7505:4;7521:32;7556:44;7573:10;7593:5;7556:16;:44::i;:::-;7618:18;;7521:79;;-1:-1:-1;7610:46:17;;;;-1:-1:-1;;;7610:46:17;;;;;;;:::i;:::-;7690:16;;;;7746:41;7763:7;7780:5;7746:16;:41::i;:::-;7805:18;;7731:56;;-1:-1:-1;7797:46:17;;;;-1:-1:-1;;;7797:46:17;;;;;;;:::i;:::-;7879:16;;;;7934:35;7938:13;7879:16;7934:3;:35::i;:::-;7924:45;;;;;7401:575;-1:-1:-1;;;;;;7401:575:17:o;8170:454::-;8262:13;8277:14;8303:32;8338:42;8355:8;8373:5;8338:16;:42::i;:::-;8398:18;;8303:77;;-1:-1:-1;8390:46:17;;;;-1:-1:-1;;;8390:46:17;;;;;;;:::i;:::-;8491:21;;;;8485:27;;:2;:27;:::i;:::-;8464:17;;;;8455:26;;:6;:26;:::i;:::-;:58;;;;:::i;:::-;8447:66;;8531:51;8535:28;8539:5;8546:12;:16;;;8535:3;:28::i;:::-;8565:12;:16;;;8531:3;:51::i;:::-;8523:59;;8601:12;:16;;;8592:25;;8170:454;;;;;;;:::o;6199:263::-;-1:-1:-1;;;;;6297:31:17;;-1:-1:-1;;;;;;;;;;;6297:31:17;6293:163;;;6344:34;;-1:-1:-1;;;;;6344:26:17;;;:34;;;;;6371:6;;6344:34;;;;6371:6;6344:26;:34;;;;;;;;;;;;;;;;;;;;;6293:163;;;6409:36;-1:-1:-1;;;;;6409:18:17;;6428:8;6438:6;616:205:14;755:58;;-1:-1:-1;;;;;18270:32:18;;755:58:14;;;18252:51:18;18319:18;;;18312:34;;;728:86:14;;748:5;;-1:-1:-1;;;778:23:14;18225:18:18;;755:58:14;18207:145:18;1797:115:12;1102:7;;;;1345:9;1337:38;;;;-1:-1:-1;;;1337:38:12;;;;;;;:::i;:::-;1866:4:::1;1856:14:::0;;-1:-1:-1;;1856:14:12::1;::::0;::::1;::::0;;1885:20:::1;666:10:2::0;1892:12:12::1;587:96:2::0;5745:243:17;5828:19;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5828:19:17;5859:24;5913:10;5925:6;5896:36;;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;5896:36:17;;;;;;5886:47;;5896:36;5886:47;;;;5950:31;;;;:13;:31;;;;;5943:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5896:36;5745:243;-1:-1:-1;;;;5745:243:17:o;3122:706:14:-;3541:23;3567:69;3595:4;3567:69;;;;;;;;;;;;;;;;;3575:5;-1:-1:-1;;;;;3567:27:14;;;:69;;;;;:::i;:::-;3650:17;;3541:95;;-1:-1:-1;3650:21:14;3646:176;;3745:10;3734:30;;;;;;;;;;;;:::i;:::-;3726:85;;;;-1:-1:-1;;;3726:85:14;;28965:2:18;3726:85:14;;;28947:21:18;29004:2;28984:18;;;28977:30;29043:34;29023:18;;;29016:62;-1:-1:-1;;;29094:18:18;;;29087:40;29144:19;;3726:85:14;28937:232:18;1535:441:15;1610:13;1635:19;1667:10;1671:6;1667:1;:10;:::i;:::-;:14;;1680:1;1667:14;:::i;:::-;1657:25;;;;;;-1:-1:-1;;;1657:25:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1657:25:15;;1635:47;;-1:-1:-1;;;1692:6:15;1699:1;1692:9;;;;;;-1:-1:-1;;;1692:9:15;;;;;;;;;;;;:15;-1:-1:-1;;;;;1692:15:15;;;;;;;;;-1:-1:-1;;;1717:6:15;1724:1;1717:9;;;;;;-1:-1:-1;;;1717:9:15;;;;;;;;;;;;:15;-1:-1:-1;;;;;1717:15:15;;;;;;;;-1:-1:-1;1747:9:15;1759:10;1763:6;1759:1;:10;:::i;:::-;:14;;1772:1;1759:14;:::i;:::-;1747:26;;1742:132;1779:1;1775;:5;1742:132;;;-1:-1:-1;;;1826:5:15;1834:3;1826:11;1813:25;;;;;-1:-1:-1;;;1813:25:15;;;;;;;;;;;;1801:6;1808:1;1801:9;;;;;;-1:-1:-1;;;1801:9:15;;;;;;;;;;;;:37;-1:-1:-1;;;;;1801:37:15;;;;;;;;-1:-1:-1;1862:1:15;1852:11;;;;;1782:3;;;:::i;:::-;;;1742:132;;;-1:-1:-1;1891:10:15;;1883:55;;;;-1:-1:-1;;;1883:55:15;;22931:2:18;1883:55:15;;;22913:21:18;;;22950:18;;;22943:30;23009:34;22989:18;;;22982:62;23061:18;;1883:55:15;22903:182:18;827:241:14;992:68;;-1:-1:-1;;;;;17956:15:18;;;992:68:14;;;17938:34:18;18008:15;;17988:18;;;17981:43;18040:18;;;18033:34;;;965:96:14;;985:5;;-1:-1:-1;;;1015:27:14;17873:18:18;;992:68:14;17855:218:18;5352:104:17;5409:7;5440:1;5435;:6;;:14;;5448:1;5435:14;;;-1:-1:-1;5444:1:17;;5352:104;-1:-1:-1;5352:104:17:o;5462:103::-;5519:7;5549:1;5545;:5;:13;;5557:1;5545:13;;3461:223:1;3594:12;3625:52;3647:6;3655:4;3661:1;3664:12;3625:21;:52::i;:::-;3618:59;3461:223;-1:-1:-1;;;;3461:223:1:o;4548:499::-;4713:12;4770:5;4745:21;:30;;4737:81;;;;-1:-1:-1;;;4737:81:1;;25397:2:18;4737:81:1;;;25379:21:18;25436:2;25416:18;;;25409:30;25475:34;25455:18;;;25448:62;-1:-1:-1;;;25526:18:18;;;25519:36;25572:19;;4737:81:1;25369:228:18;4737:81:1;1034:20;;4828:60;;;;-1:-1:-1;;;4828:60:1;;28607:2:18;4828:60:1;;;28589:21:18;28646:2;28626:18;;;28619:30;28685:31;28665:18;;;28658:59;28734:18;;4828:60:1;28579:179:18;4828:60:1;4900:12;4914:23;4941:6;-1:-1:-1;;;;;4941:11:1;4960:5;4967:4;4941:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4899:73;;;;4989:51;5006:7;5015:10;5027:12;4989:16;:51::i;:::-;4982:58;4548:499;-1:-1:-1;;;;;;;4548:499:1:o;7161:692::-;7307:12;7335:7;7331:516;;;-1:-1:-1;7365:10:1;7358:17;;7331:516;7476:17;;:21;7472:365;;7670:10;7664:17;7730:15;7717:10;7713:2;7709:19;7702:44;7619:145;7809:12;7802:20;;-1:-1:-1;;;7802:20:1;;;;;;;;:::i;14:656:18:-;;119:3;112:4;104:6;100:17;96:27;86:2;;141:5;134;127:20;86:2;181:6;168:20;207:4;231:58;247:41;285:2;247:41;:::i;:::-;231:58;:::i;:::-;323:15;;;354:12;;;;386:15;;;419:5;433:208;447:2;444:1;441:9;433:208;;;504:62;562:3;557:2;550:3;537:17;529:6;525:30;521:39;504:62;:::i;:::-;492:75;;587:12;;;;619;;;;465:1;458:9;433:208;;;-1:-1:-1;659:5:18;;76:594;-1:-1:-1;;;;;;;76:594:18:o;675:550::-;;770:3;763:4;755:6;751:17;747:27;737:2;;792:5;785;778:20;737:2;832:6;819:20;858:18;854:2;851:26;848:2;;;880:18;;:::i;:::-;924:55;967:2;948:13;;-1:-1:-1;;944:27:18;973:4;940:38;924:55;:::i;:::-;1004:2;995:7;988:19;1050:3;1043:4;1038:2;1030:6;1026:15;1022:26;1019:35;1016:2;;;1071:5;1064;1057:20;1016:2;1140;1133:4;1125:6;1121:17;1114:4;1105:7;1101:18;1088:55;1163:16;;;1181:4;1159:27;1152:42;;;;1167:7;727:498;-1:-1:-1;;727:498:18:o;1230:175::-;;1346:3;1337:6;1332:3;1328:16;1324:26;1321:2;;;1367:5;1360;1353:20;1321:2;-1:-1:-1;1393:6:18;1311:94;-1:-1:-1;1311:94:18:o;1410:163::-;1477:20;;1537:10;1526:22;;1516:33;;1506:2;;1563:1;1560;1553:12;1578:257;;1690:2;1678:9;1669:7;1665:23;1661:32;1658:2;;;1711:6;1703;1696:22;1658:2;1755:9;1742:23;1774:31;1799:5;1774:31;:::i;1840:533::-;;;;1983:2;1971:9;1962:7;1958:23;1954:32;1951:2;;;2004:6;1996;1989:22;1951:2;2048:9;2035:23;2067:31;2092:5;2067:31;:::i;:::-;2117:5;-1:-1:-1;2174:2:18;2159:18;;2146:32;2187:33;2146:32;2187:33;:::i;:::-;2239:7;-1:-1:-1;2298:2:18;2283:18;;2270:32;2311:30;2270:32;2311:30;:::i;:::-;2360:7;2350:17;;;1941:432;;;;;:::o;2378:325::-;;;2507:2;2495:9;2486:7;2482:23;2478:32;2475:2;;;2528:6;2520;2513:22;2475:2;2572:9;2559:23;2591:31;2616:5;2591:31;:::i;:::-;2641:5;2693:2;2678:18;;;;2665:32;;-1:-1:-1;;;2465:238:18:o;2708:1036::-;;2838:2;2881;2869:9;2860:7;2856:23;2852:32;2849:2;;;2902:6;2894;2887:22;2849:2;2947:9;2934:23;2980:18;2972:6;2969:30;2966:2;;;3017:6;3009;3002:22;2966:2;3045:22;;3098:4;3090:13;;3086:27;-1:-1:-1;3076:2:18;;3132:6;3124;3117:22;3076:2;3173;3160:16;3196:58;3212:41;3250:2;3212:41;:::i;3196:58::-;3288:15;;;3319:12;;;;3351:11;;;3389;;;3381:20;;3377:29;;3374:42;-1:-1:-1;3371:2:18;;;3434:6;3426;3419:22;3371:2;3461:6;3452:15;;3476:238;3490:2;3487:1;3484:9;3476:238;;;3561:3;3548:17;3578:31;3603:5;3578:31;:::i;:::-;3622:18;;3508:1;3501:9;;;;;3660:12;;;;3692;;3476:238;;;-1:-1:-1;3733:5:18;2818:926;-1:-1:-1;;;;;;;2818:926:18:o;3749:1052::-;;;;;3964:2;3952:9;3943:7;3939:23;3935:32;3932:2;;;3985:6;3977;3970:22;3932:2;4030:9;4017:23;4059:18;4100:2;4092:6;4089:14;4086:2;;;4121:6;4113;4106:22;4086:2;4164:6;4153:9;4149:22;4139:32;;4209:7;4202:4;4198:2;4194:13;4190:27;4180:2;;4236:6;4228;4221:22;4180:2;4281;4268:16;4307:2;4299:6;4296:14;4293:2;;;4328:6;4320;4313:22;4293:2;4391:7;4384:4;4376;4368:6;4364:17;4360:2;4356:26;4352:37;4349:50;4346:2;;;4417:6;4409;4402:22;4346:2;4453:4;4445:13;;;;-1:-1:-1;4477:6:18;-1:-1:-1;4518:20:18;;;4505:34;;4548:31;4505:34;4548:31;:::i;:::-;4598:5;;-1:-1:-1;4656:2:18;4641:18;;4628:32;;4672:16;;;4669:2;;;4706:6;4698;4691:22;4669:2;;4734:61;4787:7;4776:8;4765:9;4761:24;4734:61;:::i;:::-;4724:71;;;3922:879;;;;;;;:::o;4806:255::-;;4926:2;4914:9;4905:7;4901:23;4897:32;4894:2;;;4947:6;4939;4932:22;4894:2;4984:9;4978:16;5003:28;5025:5;5003:28;:::i;5066:190::-;;5178:2;5166:9;5157:7;5153:23;5149:32;5146:2;;;5199:6;5191;5184:22;5146:2;-1:-1:-1;5227:23:18;;5136:120;-1:-1:-1;5136:120:18:o;5261:194::-;;5384:2;5372:9;5363:7;5359:23;5355:32;5352:2;;;5405:6;5397;5390:22;5352:2;-1:-1:-1;5433:16:18;;5342:113;-1:-1:-1;5342:113:18:o;5460:325::-;;;5589:2;5577:9;5568:7;5564:23;5560:32;5557:2;;;5610:6;5602;5595:22;5557:2;5651:9;5638:23;5628:33;;5711:2;5700:9;5696:18;5683:32;5724:31;5749:5;5724:31;:::i;:::-;5774:5;5764:15;;;5547:238;;;;;:::o;5790:306::-;;5901:2;5889:9;5880:7;5876:23;5872:32;5869:2;;;5922:6;5914;5907:22;5869:2;5953:23;;-1:-1:-1;;;;;;6005:32:18;;5995:43;;5985:2;;6057:6;6049;6042:22;6378:645;;;;;6575:9;6566:7;6562:23;6605:3;6601:2;6597:12;6594:2;;;6627:6;6619;6612:22;6594:2;6656:3;6652:2;6648:12;6645:2;;;6678:6;6670;6663:22;6645:2;;6706:9;6696:19;;6766:3;6755:9;6751:19;6738:33;6794:18;6786:6;6783:30;6780:2;;;6831:6;6823;6816:22;6780:2;6859:49;6900:7;6891:6;6880:9;6876:22;6859:49;:::i;:::-;6849:59;;;6927:38;6960:3;6949:9;6945:19;6927:38;:::i;:::-;6542:481;;;;-1:-1:-1;6917:48:18;;7012:3;6997:19;6984:33;;-1:-1:-1;;6542:481:18:o;7028:1219::-;;;;7245:9;7236:7;7232:23;7275:3;7271:2;7267:12;7264:2;;;7297:6;7289;7282:22;7264:2;7326:4;7322:2;7318:13;7315:2;;;7349:6;7341;7334:22;7315:2;;7380:21;7396:4;7380:21;:::i;:::-;7438:9;7425:23;7457:33;7482:7;7457:33;:::i;:::-;7499:22;;7573:2;7558:18;;7545:32;7586:33;7545:32;7586:33;:::i;:::-;7646:2;7635:14;;7628:31;7711:2;7696:18;;7683:32;7724:33;7683:32;7724:33;:::i;:::-;7784:2;7773:14;;7766:31;7857:2;7842:18;;;7829:32;7813:14;;;7806:56;7923:3;7908:19;;;7895:33;7878:15;;;7871:58;7777:5;-1:-1:-1;8004:4:18;7989:20;;7976:34;8033:18;8022:30;;8019:2;;;8070:6;8062;8055:22;8019:2;8098:49;8139:7;8130:6;8119:9;8115:22;8098:49;:::i;:::-;8088:59;;;8166:75;8233:7;8227:3;8216:9;8212:19;8166:75;:::i;:::-;8156:85;;7212:1035;;;;;:::o;8646:578::-;;;;8826:2;8814:9;8805:7;8801:23;8797:32;8794:2;;;8847:6;8839;8832:22;8794:2;8888:9;8875:23;8865:33;;8948:2;8937:9;8933:18;8920:32;8961:31;8986:5;8961:31;:::i;:::-;9011:5;-1:-1:-1;9067:2:18;9052:18;;9039:32;9094:18;9083:30;;9080:2;;;9131:6;9123;9116:22;9080:2;9159:59;9210:7;9201:6;9190:9;9186:22;9159:59;:::i;:::-;9149:69;;;8784:440;;;;;:::o;9229:443::-;;;9392:2;9380:9;9371:7;9367:23;9363:32;9360:2;;;9413:6;9405;9398:22;9360:2;9454:9;9441:23;9431:33;;9515:2;9504:9;9500:18;9487:32;9542:18;9534:6;9531:30;9528:2;;;9579:6;9571;9564:22;9528:2;9607:59;9658:7;9649:6;9638:9;9634:22;9607:59;:::i;:::-;9597:69;;;9350:322;;;;;:::o;9677:194::-;;9788:2;9776:9;9767:7;9763:23;9759:32;9756:2;;;9809:6;9801;9794:22;9756:2;9837:28;9855:9;9837:28;:::i;9876:329::-;;;10004:2;9992:9;9983:7;9979:23;9975:32;9972:2;;;10025:6;10017;10010:22;9972:2;10053:28;10071:9;10053:28;:::i;:::-;10043:38;;10131:2;10120:9;10116:18;10103:32;10144:31;10169:5;10144:31;:::i;10210:673::-;;;;;;;;10423:3;10411:9;10402:7;10398:23;10394:33;10391:2;;;10445:6;10437;10430:22;10391:2;10473:28;10491:9;10473:28;:::i;:::-;10463:38;;10551:2;10540:9;10536:18;10523:32;10564:31;10589:5;10564:31;:::i;:::-;10381:502;;10614:5;;-1:-1:-1;;;;10666:2:18;10651:18;;10638:32;;10717:2;10702:18;;10689:32;;10768:3;10753:19;;10740:33;;-1:-1:-1;10820:3:18;10805:19;;10792:33;;-1:-1:-1;10872:3:18;10857:19;;;10844:33;;-1:-1:-1;10381:502:18:o;10888:262::-;;;11016:2;11004:9;10995:7;10991:23;10987:32;10984:2;;;11037:6;11029;11022:22;10984:2;11065:28;11083:9;11065:28;:::i;11155:515::-;;;;11334:2;11322:9;11313:7;11309:23;11305:32;11302:2;;;11355:6;11347;11340:22;11302:2;11383:28;11401:9;11383:28;:::i;:::-;11373:38;;11458:2;11447:9;11443:18;11430:32;11420:42;;11513:2;11502:9;11498:18;11485:32;11540:18;11532:6;11529:30;11526:2;;;11577:6;11569;11562:22;11784:257;;11863:5;11857:12;11890:6;11885:3;11878:19;11906:63;11962:6;11955:4;11950:3;11946:14;11939:4;11932:5;11928:16;11906:63;:::i;:::-;12023:2;12002:15;-1:-1:-1;;11998:29:18;11989:39;;;;12030:4;11985:50;;11833:208;-1:-1:-1;;11833:208:18:o;12046:144::-;12131:1;12124:5;12121:12;12111:2;;12137:18;;:::i;:::-;12166;;12101:89::o;12195:786::-;12290:10;12282:5;12276:12;12272:29;12267:3;12260:42;12351:4;12344:5;12340:16;12334:23;12327:4;12322:3;12318:14;12311:47;12436:1;12432;12427:3;12423:11;12419:19;12411:4;12404:5;12400:16;12394:23;12390:49;12383:4;12378:3;12374:14;12367:73;12486:4;12479:5;12475:16;12469:23;12501:48;12543:4;12538:3;12534:14;12520:12;-1:-1:-1;;;;;11741:31:18;11729:44;;11719:60;12501:48;;12598:4;12591:5;12587:16;12581:23;12574:4;12569:3;12565:14;12558:47;12654:4;12647:5;12643:16;12637:23;12630:4;12625:3;12621:14;12614:47;12710:4;12703:5;12699:16;12693:23;12686:4;12681:3;12677:14;12670:47;12765:4;12758:5;12754:16;12748:23;12780:50;12824:4;12819:3;12815:14;12799;-1:-1:-1;;;;;11741:31:18;11729:44;;11719:60;12780:50;;12849:6;12903:2;12896:5;12892:14;12886:21;12916:59;12971:2;12966:3;12962:12;12946:14;12916:59;:::i;12986:693::-;13257:19;;;13314:2;13310:15;;;-1:-1:-1;;;;;;13306:53:18;13301:2;13292:12;;13285:75;13416:3;13394:16;;;-1:-1:-1;;;;;;13390:43:18;13385:2;13376:12;;13369:65;12986:693;-1:-1:-1;;;;;13446:31:18;;13443:2;;;13492:3;13487;13480:16;13443:2;13533;13525:6;13521:15;13580:6;13572;13567:2;13562:3;13558:12;13545:42;13610:16;;;;13628:2;13606:25;13640:15;;;13606:25;13247:432;-1:-1:-1;;;;;13247:432:18:o;13684:459::-;13895:19;;;13952:2;13948:15;;;;-1:-1:-1;;;;;;13944:53:18;13939:2;13930:12;;13923:75;14054:3;14032:16;-1:-1:-1;;;;;;14028:43:18;14023:2;14014:12;;14007:65;14097:2;14088:12;;14081:28;14134:2;14125:12;;13885:258::o;14717:274::-;;14884:6;14878:13;14900:53;14946:6;14941:3;14934:4;14926:6;14922:17;14900:53;:::i;:::-;14969:16;;;;;14854:137;-1:-1:-1;;14854:137:18:o;15381:786::-;;15792:25;15787:3;15780:38;15847:6;15841:13;15863:62;15918:6;15913:2;15908:3;15904:12;15897:4;15889:6;15885:17;15863:62;:::i;:::-;-1:-1:-1;;;15984:2:18;15944:16;;;15976:11;;;15969:40;16034:13;;16056:63;16034:13;16105:2;16097:11;;16090:4;16078:17;;16056:63;:::i;:::-;16139:17;16158:2;16135:26;;15770:397;-1:-1:-1;;;;15770:397:18:o;16172:328::-;16365:3;16343:16;;;;-1:-1:-1;;;;;;16339:43:18;16327:56;;16420:2;16416:15;-1:-1:-1;;;;;;16412:53:18;16408:1;16399:11;;16392:74;16491:2;16482:12;;16317:183::o;16505:281::-;16698:3;16676:16;;;;-1:-1:-1;;;;;;16672:43:18;16660:56;;16741:1;16732:11;;16725:27;16777:2;16768:12;;16650:136::o;19281:875::-;;19517:2;19506:9;19502:18;19547:6;19536:9;19529:25;19573:2;19611;19606;19595:9;19591:18;19584:30;19634:6;19669;19663:13;19700:6;19692;19685:22;19738:2;19727:9;19723:18;19716:25;;19801:2;19795;19787:6;19783:15;19772:9;19768:31;19764:40;19750:54;;19839:2;19831:6;19827:15;19860:4;19873:254;19887:6;19884:1;19881:13;19873:254;;;19980:2;19976:7;19964:9;19956:6;19952:22;19948:36;19943:3;19936:49;20008:39;20040:6;20031;20025:13;20008:39;:::i;:::-;19998:49;-1:-1:-1;20105:12:18;;;;20070:15;;;;19909:1;19902:9;19873:254;;;-1:-1:-1;20144:6:18;;19478:678;-1:-1:-1;;;;;;;;19478:678:18:o;21682:408::-;21888:2;21873:18;;21921:1;21910:13;;21900:2;;21927:18;;:::i;:::-;21956:25;;;22029:10;22017:23;;;;22012:2;21997:18;;21990:51;22072:2;22057:18;;;22050:34;21855:235;:::o;22095:405::-;22334:3;22319:19;;22368:1;22357:13;;22347:2;;22374:18;;:::i;:::-;22421:6;22410:9;22403:25;22437:57;22490:2;22479:9;22475:18;22467:6;22437:57;:::i;22505:219::-;;22654:2;22643:9;22636:21;22674:44;22714:2;22703:9;22699:18;22691:6;22674:44;:::i;23439:342::-;23641:2;23623:21;;;23680:2;23660:18;;;23653:30;-1:-1:-1;;;23714:2:18;23699:18;;23692:48;23772:2;23757:18;;23613:168::o;25602:340::-;25804:2;25786:21;;;25843:2;25823:18;;;25816:30;-1:-1:-1;;;25877:2:18;25862:18;;25855:46;25933:2;25918:18;;25776:166::o;27364:339::-;27566:2;27548:21;;;27605:2;27585:18;;;27578:30;-1:-1:-1;;;27639:2:18;27624:18;;27617:45;27694:2;27679:18;;27538:165::o;29174:347::-;29376:2;29358:21;;;29415:2;29395:18;;;29388:30;29454:25;29449:2;29434:18;;29427:53;29512:2;29497:18;;29348:173::o;30309:342::-;30511:2;30493:21;;;30550:2;30530:18;;;30523:30;-1:-1:-1;;;30584:2:18;30569:18;;30562:48;30642:2;30627:18;;30483:168::o;32010:931::-;;32261:6;32248:20;32277:31;32302:5;32277:31;:::i;:::-;-1:-1:-1;;;;;32373:14:18;;;32355:33;;32437:4;32425:17;;32412:31;;32452:33;32412:31;32452:33;:::i;:::-;32523:16;;;32516:4;32501:20;;32494:46;32589:4;32577:17;;32564:31;;32604:33;32564:31;32604:33;:::i;:::-;32688:2;32679:7;32675:16;32668:4;32657:9;32653:20;32646:46;;;32755:4;32747:6;32743:17;32730:31;32723:4;32712:9;32708:20;32701:61;32825:4;32817:6;32813:17;32800:31;32793:4;32782:9;32778:20;32771:61;32869:3;32863;32852:9;32848:19;32841:32;32890:45;32930:3;32919:9;32915:19;32907:6;32890:45;:::i;32946:681::-;;33196:1;33192;33187:3;33183:11;33179:19;33244:2;33235:6;33229:13;33225:22;33214:9;33207:41;33316:2;33308:4;33300:6;33296:17;33290:24;33286:33;33279:4;33268:9;33264:20;33257:63;33388:2;33380:4;33372:6;33368:17;33362:24;33358:33;33351:4;33340:9;33336:20;33329:63;;33448:4;33440:6;33436:17;33430:24;33423:4;33412:9;33408:20;33401:54;33511:4;33503:6;33499:17;33493:24;33486:4;33475:9;33471:20;33464:54;33555:3;33549;33538:9;33534:19;33527:32;33576:45;33616:3;33605:9;33601:19;33593:6;33576:45;:::i;33632:259::-;33824:3;33809:19;;33837:48;33813:9;33867:6;33837:48;:::i;34078:1184::-;34525:25;;;34512:3;34497:19;;34569:10;;34619:25;34637:6;34619:25;:::i;:::-;34615:34;34610:2;34599:9;34595:18;34588:62;34697:2;34689:6;34685:15;34672:29;34710:31;34735:5;34710:31;:::i;:::-;34805:1;34801;34796:3;34792:11;34788:19;34781:5;34777:31;34772:2;34761:9;34757:18;34750:59;;34870:2;34862:6;34858:15;34845:29;34840:2;34829:9;34825:18;34818:57;34952:2;34916:34;34946:2;34938:6;34934:15;34916:34;:::i;:::-;34912:43;34906:3;34891:19;;34884:72;-1:-1:-1;;;;;;11741:31:18;;35007:3;34992:19;;11729:44;-1:-1:-1;;;;;11741:31:18;;35063:3;35048:19;;11729:44;35105:6;35099:3;35088:9;35084:19;35077:35;35121:47;35163:3;35152:9;35148:19;35140:6;-1:-1:-1;;;;;11741:31:18;11729:44;;11719:60;35121:47;35199:3;35184:19;;35177:35;;;;35243:3;35228:19;35221:35;34479:783;;-1:-1:-1;;;;;;34479:783:18:o;36117:885::-;36547:10;36535:23;;36517:42;;36590:2;36575:18;;36568:34;;;-1:-1:-1;;;;;36676:15:18;;;36671:2;36656:18;;36649:43;36728:15;;;36723:2;36708:18;;36701:43;36775:3;36760:19;;36753:35;;;36629:3;36804:19;;36797:35;;;36863:3;36848:19;;36841:35;;;36913:15;;36907:3;36892:19;;36885:44;36504:3;36489:19;;36938:58;36991:3;36976:19;;36968:6;36938:58;:::i;:::-;36471:531;;;;;;;;;;;;:::o;37007:275::-;37078:2;37072:9;37143:2;37124:13;;-1:-1:-1;;37120:27:18;37108:40;;37178:18;37163:34;;37199:22;;;37160:62;37157:2;;;37225:18;;:::i;:::-;37261:2;37254:22;37052:230;;-1:-1:-1;37052:230:18:o;37287:184::-;;37378:18;37370:6;37367:30;37364:2;;;37400:18;;:::i;:::-;-1:-1:-1;37460:4:18;37441:17;;;37437:28;;37354:117::o;37476:128::-;;37547:1;37543:6;37540:1;37537:13;37534:2;;;37553:18;;:::i;:::-;-1:-1:-1;37589:9:18;;37524:80::o;37609:217::-;;37675:1;37665:2;;-1:-1:-1;;;37700:31:18;;37754:4;37751:1;37744:15;37782:4;37707:1;37772:15;37665:2;-1:-1:-1;37811:9:18;;37655:171::o;37831:453::-;37927:6;37950:5;37964:314;38013:1;38050:2;38040:8;38037:16;38027:2;;38057:5;;;38027:2;38098:4;38093:3;38089:14;38083:4;38080:24;38077:2;;;38107:18;;:::i;:::-;38157:2;38147:8;38143:17;38140:2;;;38172:16;;;;38140:2;38251:17;;;;;38211:15;;37964:314;;;37908:376;;;;;;;:::o;38289:139::-;;38378:44;-1:-1:-1;;38405:8:18;38399:4;38433:922;38517:8;38507:2;;-1:-1:-1;38558:1:18;38572:5;;38507:2;38606:4;38596:2;;-1:-1:-1;38643:1:18;38657:5;;38596:2;38688:4;38706:1;38701:59;;;;38774:1;38769:183;;;;38681:271;;38701:59;38731:1;38722:10;;38745:5;;;38769:183;38806:3;38796:8;38793:17;38790:2;;;38813:18;;:::i;:::-;38869:1;38859:8;38855:16;38846:25;;38897:3;38890:5;38887:14;38884:2;;;38904:18;;:::i;:::-;38937:5;;;38681:271;;39036:2;39026:8;39023:16;39017:3;39011:4;39008:13;39004:36;38998:2;38988:8;38985:16;38980:2;38974:4;38971:12;38967:35;38964:77;38961:2;;;-1:-1:-1;39073:19:18;;;39108:14;;;39105:2;;;39125:18;;:::i;38961:2::-;39205:42;39243:3;39233:8;39227:4;39224:1;39205:42;:::i;:::-;39280:6;39275:3;39271:16;39262:7;39259:29;39256:2;;;39291:18;;:::i;:::-;39329:20;;38497:858;-1:-1:-1;;;;38497:858:18:o;39360:168::-;;39466:1;39462;39458:6;39454:14;39451:1;39448:21;39443:1;39436:9;39429:17;39425:45;39422:2;;;39473:18;;:::i;:::-;-1:-1:-1;39513:9:18;;39412:116::o;39533:125::-;;39601:1;39598;39595:8;39592:2;;;39606:18;;:::i;:::-;-1:-1:-1;39643:9:18;;39582:76::o;39663:258::-;39735:1;39745:113;39759:6;39756:1;39753:13;39745:113;;;39835:11;;;39829:18;39816:11;;;39809:39;39781:2;39774:10;39745:113;;;39876:6;39873:1;39870:13;39867:2;;;-1:-1:-1;;39911:1:18;39893:16;;39886:27;39716:205::o;39926:136::-;;39993:5;39983:2;;40002:18;;:::i;:::-;-1:-1:-1;;;40038:18:18;;39973:89::o;40067:135::-;;-1:-1:-1;;40127:17:18;;40124:2;;;40147:18;;:::i;:::-;-1:-1:-1;40194:1:18;40183:13;;40114:88::o;40207:127::-;40268:10;40263:3;40259:20;40256:1;40249:31;40299:4;40296:1;40289:15;40323:4;40320:1;40313:15;40339:127;40400:10;40395:3;40391:20;40388:1;40381:31;40431:4;40428:1;40421:15;40455:4;40452:1;40445:15;40471:127;40532:10;40527:3;40523:20;40520:1;40513:31;40563:4;40560:1;40553:15;40587:4;40584:1;40577:15;40603:131;-1:-1:-1;;;;;40678:31:18;;40668:42;;40658:2;;40724:1;40721;40714:12;40739:118;40825:5;40818:13;40811:21;40804:5;40801:32;40791:2;;40847:1;40844;40837:12

Swarm Source

ipfs://f08763e2ffae05d82c880ad2b69704590593fe900267c8ee24967f8f66ae81fd
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.