Contract 0x935bbf5c69225e3eda7c3aa542a7baa5c5c30094 3

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x007a7620f262a4c1d3bd9d0ae9e0469607e2d24cd0977531c728abb7dfa273850x2a12d57b287290902022-05-24 22:39:122 hrs 27 mins ago0x5fd4852ea87d5aa4dc0060440708427a8aed44f7 IN  0x935bbf5c69225e3eda7c3aa542a7baa5c5c300940 MATIC0.017011929007 33.000000015
0x87e67cfa5e8984cb66d030e72493aa775f081fc10be3de5bf42122cc2bf135ca0x2a12d57b287207512022-05-24 17:44:247 hrs 22 mins ago0xe2650a2ae3c5ddb7389f7ceb32c84053ae129655 IN  0x935bbf5c69225e3eda7c3aa542a7baa5c5c300940 MATIC0.015372825866 37.369373117
0xcf1d636c7ce3962e333ef142b64e06e2e654c1c7e86e1f3a8d4adaedd6a220c40x2a12d57b287095292022-05-24 11:17:5613 hrs 49 mins ago0x0901549bc297bcff4221d0ecfc0f718932205e33 IN  0x935bbf5c69225e3eda7c3aa542a7baa5c5c300942 MATIC0.00700396435230.069999196
0x49c83cb60f649dcd37a0b0318b359faa989908862bb19712c8371aa1dfad58e70x2a12d57b287026172022-05-24 7:17:3817 hrs 49 mins ago0x16c1192894fc20545a2620ff6b515231b5d6cef0 IN  0x935bbf5c69225e3eda7c3aa542a7baa5c5c3009434 MATIC0.0102222663130.069999649
0x3f4cf5f1e0414e9b329f35f1f2852795feddbdb823717cceae5ac8edabd469620x2a12d57b287025352022-05-24 7:14:5017 hrs 52 mins ago0x16c1192894fc20545a2620ff6b515231b5d6cef0 IN  0x935bbf5c69225e3eda7c3aa542a7baa5c5c300940 MATIC0.009862240
0x8b67467642acb609110ab5292eeec2866a06c44df81324d411f16b6036a5fd850x2a12d57b286913792022-05-24 0:33:481 day 33 mins ago0x586083fc163ee409f0dad0e79538fa24c32be295 IN  0x935bbf5c69225e3eda7c3aa542a7baa5c5c300940 MATIC0.2361721 100
0xffc091915d48772a4b2d924c9d33c2996232c1720dc5dec1cb5356ae016e1ac90x2a12d57b286608482022-05-23 6:46:171 day 18 hrs ago0x9cef7de4985a7c72edb33cdee3971cadc88083ed IN  0x935bbf5c69225e3eda7c3aa542a7baa5c5c30094500 MATIC0.010313669598 30.06997192
0x97925a4aa3a551f0fae1cdd438754cc12beff81a5ecfa088cca76c92430209e10x2a12d57b286522072022-05-23 1:40:271 day 23 hrs ago0x586083fc163ee409f0dad0e79538fa24c32be295 IN  0x935bbf5c69225e3eda7c3aa542a7baa5c5c300940 MATIC0.1290944 100
0xc2c31a857c90058cac7ece592c8bf58a2e55bfbfb6d9bab8467d954792e745f90x2a12d57b286443472022-05-22 21:08:042 days 3 hrs ago0x8910b85c05bde1795f081bf05620bf88e983ac3a IN  0x935bbf5c69225e3eda7c3aa542a7baa5c5c300940 MATIC0.007374156313 30.070000013
0xd1310d3d8b665d7d503938a0c50359b02c94065ccac3a2a617a4df89372fcaec0x2a12d57b286345292022-05-22 15:21:522 days 9 hrs ago0x6143d352cd82953223bbeadb445863a8620cc6e2 IN  0x935bbf5c69225e3eda7c3aa542a7baa5c5c300943.110466938717042 MATIC0.011855583671 35.294244154
0x34f091cb73666d80671b26582c850b406c753144d8802b46898f002630aa13880x2a12d57b286333042022-05-22 14:37:322 days 10 hrs ago0x886cf30e5f7c6f69ef1be1173a53a6dd04e76966 IN  0x935bbf5c69225e3eda7c3aa542a7baa5c5c30094230 MATIC0.007946226693 30.877719377
0x4cea5641bd56a3bfbb50850140193abe553e9cdb30eee81301676652ef6e11980x2a12d57b286310252022-05-22 13:14:472 days 11 hrs ago0x6143d352cd82953223bbeadb445863a8620cc6e2 IN  0x935bbf5c69225e3eda7c3aa542a7baa5c5c300945.6 MATIC0.010298282271 30.80652451
0x91213fbb667e4cb16a51ba4bdd7e8e53d1f7837fbcc540c5967e7cf9574fc7150x2a12d57b286258732022-05-22 10:09:022 days 14 hrs ago0x586083fc163ee409f0dad0e79538fa24c32be295 IN  0x935bbf5c69225e3eda7c3aa542a7baa5c5c3009416,400 MATIC0.0722157 150
0x6eea1dcbab7d3c3267dbb98f12aa9df88eb65ec945f4455cdb42b27ab4fc871d0x2a12d57b286231972022-05-22 8:34:502 days 16 hrs ago0xdcfb9c6b1cb0b54615a7bff954300ca62307b846 IN  0x935bbf5c69225e3eda7c3aa542a7baa5c5c300940 MATIC0.03380108464930.069999154
0x6ac977daa8f3b7fc8d1bdaa13ba3dcf80fc94cee2033fb9f626a9ee1f7605a040x2a12d57b286205772022-05-22 7:00:302 days 18 hrs ago0xd1ecc3d4ffd3e0676cbfd201e19013795455c54c IN  0x935bbf5c69225e3eda7c3aa542a7baa5c5c300940 MATIC0.01397765655 30.052496517
0x5af2361f40d0e742d4ae68c052276b921b78a7c93267ff4670abe216eb0f02eb0x2a12d57b286015612022-05-21 20:03:473 days 5 hrs ago0x971eecb5c6868c90be9adef5e845429e54a4a004 IN  0x935bbf5c69225e3eda7c3aa542a7baa5c5c300940 MATIC0.00874017627 30.070000003
0xaab56f96e7854a8fce281cb83eca0f04577bdfbdf5e442e919904ee7c33c25e30x2a12d57b285995932022-05-21 18:56:073 days 6 hrs ago0x965cdd3209f2ffb9cfeca16d56704f61cd55275d IN  0x935bbf5c69225e3eda7c3aa542a7baa5c5c3009460 MATIC0.010505887813 30.070003274
0x46ffdf2405dba2565a8ef90fba109227af573c793f58cfc3da23e277c442d7b00x2a12d57b285945232022-05-21 15:57:333 days 9 hrs ago0x661dfa2eca591bbf3ff4f0220c6d1bb44b392233 IN  0x935bbf5c69225e3eda7c3aa542a7baa5c5c300940 MATIC0.007667561246 30.091642876
0x1ba6abe05de4a0ba84758c4d20cad7577c748edf4067e091b433da0fad8430440x2a12d57b285733222022-05-21 3:33:143 days 21 hrs ago0x6273957eb6707f6e935d8b190bd239ccae0eb7cb IN  0x935bbf5c69225e3eda7c3aa542a7baa5c5c300940 MATIC0.009767367482 30.070000038
0xc596fc7cf465410acebad42c6c1e829b826abac5c269831eba505c40e91fd0ba0x2a12d57b285648002022-05-20 22:29:354 days 2 hrs ago0x1aacd142f181601e98b0f6aaeb017f9a59ac43eb IN  0x935bbf5c69225e3eda7c3aa542a7baa5c5c300940 MATIC0.007214147026 30.272874256
0xa926753261a762d61e3b68bdc0f37cbb4b646ce4faaf942453ce1eaeb83d72a20x2a12d57b285647912022-05-20 22:29:134 days 2 hrs ago0xcb59280eb3983a4221263343ef184d2d0189de17 IN  0x935bbf5c69225e3eda7c3aa542a7baa5c5c300940 MATIC0.007205700894 30.272874256
0x0891e0a771373c1c857172b6e1cbcc029367d49e52e76c58b16b828c690fff570x2a12d57b285647822022-05-20 22:28:554 days 2 hrs ago0xefff619436dacb3ab53ea271500d6b7849955e2f IN  0x935bbf5c69225e3eda7c3aa542a7baa5c5c300940 MATIC0.011397222519 30.272874258
0x24829f42be37f34920c44dd6f70f3d6d75dc0a5dc9a307b1000ecf5b3ad4ce890x2a12d57b285647632022-05-20 22:28:174 days 2 hrs ago0x9cf82254826b5836addcad3610b9b997999d7280 IN  0x935bbf5c69225e3eda7c3aa542a7baa5c5c300940 MATIC0.007435714193 30.272874258
0x045e6d5e44b1e13bf578f17e438f7ce3e4b1a9d3b73fa16abe6f6fb87183d3db0x2a12d57b285647382022-05-20 22:27:274 days 2 hrs ago0xfba38ebf53b5d3956d4e4815db9b88cc01db023b IN  0x935bbf5c69225e3eda7c3aa542a7baa5c5c300940 MATIC0.007411162899 30.272874287
0x07694563d058bf1d9a12ae69bcf33b65d91a7bb2a7078364f1ddc3e981c224f40x2a12d57b285646962022-05-20 22:25:594 days 2 hrs ago0xfba38ebf53b5d3956d4e4815db9b88cc01db023b IN  0x935bbf5c69225e3eda7c3aa542a7baa5c5c300940 MATIC0.013743444951 30.36554342
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x87e67cfa5e8984cb66d030e72493aa775f081fc10be3de5bf42122cc2bf135ca287207512022-05-24 17:44:247 hrs 22 mins ago 0x935bbf5c69225e3eda7c3aa542a7baa5c5c300940xe2650a2ae3c5ddb7389f7ceb32c84053ae12965576.072149055335538121 MATIC
0x87e67cfa5e8984cb66d030e72493aa775f081fc10be3de5bf42122cc2bf135ca287207512022-05-24 17:44:247 hrs 22 mins ago 0x11431a89893025d2a48dca4eddc396f8c8117187 0x935bbf5c69225e3eda7c3aa542a7baa5c5c3009476.072149055335538121 MATIC
0xcf1d636c7ce3962e333ef142b64e06e2e654c1c7e86e1f3a8d4adaedd6a220c4287095292022-05-24 11:17:5613 hrs 49 mins ago 0x935bbf5c69225e3eda7c3aa542a7baa5c5c30094 1inch V32 MATIC
0x49c83cb60f649dcd37a0b0318b359faa989908862bb19712c8371aa1dfad58e7287026172022-05-24 7:17:3817 hrs 49 mins ago 0x935bbf5c69225e3eda7c3aa542a7baa5c5c30094 1inch V334 MATIC
0x8b67467642acb609110ab5292eeec2866a06c44df81324d411f16b6036a5fd85286913792022-05-24 0:33:481 day 33 mins ago 0x935bbf5c69225e3eda7c3aa542a7baa5c5c300940x586083fc163ee409f0dad0e79538fa24c32be2957,412.426069083894276912 MATIC
0x8b67467642acb609110ab5292eeec2866a06c44df81324d411f16b6036a5fd85286913792022-05-24 0:33:481 day 33 mins ago 0x11431a89893025d2a48dca4eddc396f8c8117187 0x935bbf5c69225e3eda7c3aa542a7baa5c5c300947,412.426069083894276912 MATIC
0xffc091915d48772a4b2d924c9d33c2996232c1720dc5dec1cb5356ae016e1ac9286608482022-05-23 6:46:171 day 18 hrs ago 0x935bbf5c69225e3eda7c3aa542a7baa5c5c30094 1inch V3500 MATIC
0x97925a4aa3a551f0fae1cdd438754cc12beff81a5ecfa088cca76c92430209e1286522072022-05-23 1:40:271 day 23 hrs ago 0x935bbf5c69225e3eda7c3aa542a7baa5c5c300940x586083fc163ee409f0dad0e79538fa24c32be29515,661.809089136663051762 MATIC
0x97925a4aa3a551f0fae1cdd438754cc12beff81a5ecfa088cca76c92430209e1286522072022-05-23 1:40:271 day 23 hrs ago 0x11431a89893025d2a48dca4eddc396f8c8117187 0x935bbf5c69225e3eda7c3aa542a7baa5c5c3009415,661.809089136663051762 MATIC
0xc2c31a857c90058cac7ece592c8bf58a2e55bfbfb6d9bab8467d954792e745f9286443472022-05-22 21:08:042 days 3 hrs ago 0x935bbf5c69225e3eda7c3aa542a7baa5c5c300940x8910b85c05bde1795f081bf05620bf88e983ac3a0.041469608984983913 MATIC
0xc2c31a857c90058cac7ece592c8bf58a2e55bfbfb6d9bab8467d954792e745f9286443472022-05-22 21:08:042 days 3 hrs ago 0x11431a89893025d2a48dca4eddc396f8c8117187 0x935bbf5c69225e3eda7c3aa542a7baa5c5c300940.041469608984983913 MATIC
0xd1310d3d8b665d7d503938a0c50359b02c94065ccac3a2a617a4df89372fcaec286345292022-05-22 15:21:522 days 9 hrs ago 0x935bbf5c69225e3eda7c3aa542a7baa5c5c30094 1inch V33.110466938717042562 MATIC
0x34f091cb73666d80671b26582c850b406c753144d8802b46898f002630aa1388286333042022-05-22 14:37:322 days 10 hrs ago 0x935bbf5c69225e3eda7c3aa542a7baa5c5c30094 1inch V3230 MATIC
0x4cea5641bd56a3bfbb50850140193abe553e9cdb30eee81301676652ef6e1198286310252022-05-22 13:14:472 days 11 hrs ago 0x935bbf5c69225e3eda7c3aa542a7baa5c5c30094 1inch V35.6 MATIC
0x91213fbb667e4cb16a51ba4bdd7e8e53d1f7837fbcc540c5967e7cf9574fc715286258732022-05-22 10:09:022 days 14 hrs ago 0x935bbf5c69225e3eda7c3aa542a7baa5c5c30094 1inch V316,400 MATIC
0x5af2361f40d0e742d4ae68c052276b921b78a7c93267ff4670abe216eb0f02eb286015612022-05-21 20:03:473 days 5 hrs ago 0x935bbf5c69225e3eda7c3aa542a7baa5c5c300940x77d4bd83065f7d2d1f594b72f548bc058e4dc33c0.138430644801865391 MATIC
0x5af2361f40d0e742d4ae68c052276b921b78a7c93267ff4670abe216eb0f02eb286015612022-05-21 20:03:473 days 5 hrs ago 0x11431a89893025d2a48dca4eddc396f8c8117187 0x935bbf5c69225e3eda7c3aa542a7baa5c5c300940.138430644801865391 MATIC
0xaab56f96e7854a8fce281cb83eca0f04577bdfbdf5e442e919904ee7c33c25e3285995932022-05-21 18:56:073 days 6 hrs ago 0x935bbf5c69225e3eda7c3aa542a7baa5c5c30094 1inch V360 MATIC
0x46ffdf2405dba2565a8ef90fba109227af573c793f58cfc3da23e277c442d7b0285945232022-05-21 15:57:333 days 9 hrs ago 0x935bbf5c69225e3eda7c3aa542a7baa5c5c300940x661dfa2eca591bbf3ff4f0220c6d1bb44b39223315.162304107108660788 MATIC
0x46ffdf2405dba2565a8ef90fba109227af573c793f58cfc3da23e277c442d7b0285945232022-05-21 15:57:333 days 9 hrs ago 0x11431a89893025d2a48dca4eddc396f8c8117187 0x935bbf5c69225e3eda7c3aa542a7baa5c5c3009415.162304107108660788 MATIC
0xa10930ebbcac32d85a689726440a64c474ce8c65b8c52c8977467922c6f42c35285637682022-05-20 21:54:034 days 3 hrs ago 0x935bbf5c69225e3eda7c3aa542a7baa5c5c30094 1inch V3120 MATIC
0x66ee6188e8cf2c26340ef5b0fb5daf5d34c106b33903cd072a72b1b0852a0406285523482022-05-20 15:00:434 days 10 hrs ago 0x935bbf5c69225e3eda7c3aa542a7baa5c5c300940x5a477eba755fe734579709d51695888cd836cff447.800762770924732631 MATIC
0x66ee6188e8cf2c26340ef5b0fb5daf5d34c106b33903cd072a72b1b0852a0406285523482022-05-20 15:00:434 days 10 hrs ago 0x11431a89893025d2a48dca4eddc396f8c8117187 0x935bbf5c69225e3eda7c3aa542a7baa5c5c3009447.800762770924732631 MATIC
0x5efe2b01a465b51dab2621860b63f87428392927ce16bf340720b4fb1f05ee52285519082022-05-20 14:43:274 days 10 hrs ago 0x935bbf5c69225e3eda7c3aa542a7baa5c5c300940x5a477eba755fe734579709d51695888cd836cff431.972240924472836217 MATIC
0x5efe2b01a465b51dab2621860b63f87428392927ce16bf340720b4fb1f05ee52285519082022-05-20 14:43:274 days 10 hrs ago 0x11431a89893025d2a48dca4eddc396f8c8117187 0x935bbf5c69225e3eda7c3aa542a7baa5c5c3009431.972240924472836217 MATIC
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Swapper

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2021-08-25
*/

pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;

// SPDX-License-Identifier: MIT

// Part: IAnyswapV3Router

interface IAnyswapV3Router {
    function anySwapOutUnderlying(address token, address to, uint amount, uint toChainID) external;
}

// Part: OpenZeppelin/[email protected]/Address

/**
 * @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) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }
}

// Part: OpenZeppelin/[email protected]/Context

/*
 * @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 GSN 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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }

    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// Part: OpenZeppelin/[email protected]/IERC20

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

// Part: OpenZeppelin/[email protected]/SafeMath

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// Part: OpenZeppelin/[email protected]/ERC20

/**
 * @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 {ERC20MinterPauser}.
 *
 * 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 guidelines: functions revert instead
 * of 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 {
    using SafeMath for uint256;
    using Address for address;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view 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 {_setupDecimals} is
     * called.
     *
     * 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 returns (uint8) {
        return _decimals;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view 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);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        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].add(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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is 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);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(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
     *
     * - `to` 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 = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(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);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is 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 Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

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

// Part: OpenZeppelin/[email protected]/Ownable

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// Part: OpenZeppelin/[email protected]/SafeERC20

/**
 * @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 ERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    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));
    }

    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'
        // solhint-disable-next-line max-line-length
        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).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _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.

        // A Solidity high level call has three parts:
        //  1. The target address is checked to verify it contains contract code
        //  2. The call itself is made, and success asserted
        //  3. The return value is decoded, which in turn checks the size of the returned data.
        // solhint-disable-next-line max-line-length
        require(address(token).isContract(), "SafeERC20: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(data);
        require(success, "SafeERC20: low-level call failed");

        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// Part: Withdrawable

/**
    Ensures that any contract that inherits from this contract is able to
    withdraw funds that are accidentally received or stuck.
 */

contract Withdrawable is Ownable {
    using SafeERC20 for ERC20;
    address constant ETHER = address(0);

    event LogWithdraw(
        address indexed _assetAddress,
        address _from,
        uint amount
    );

    /**
     * @dev Withdraw asset.
     * @param _assetAddress Asset to be withdrawn.
     */
    function withdraw(address _assetAddress, uint amount) public onlyOwner {
        uint assetBalance;
        if (_assetAddress == ETHER) {
            address self = address(this); // workaround for a possible solidity bug
            assert(amount <= self.balance);
            msg.sender.transfer(amount);
        } else {
            assetBalance = ERC20(_assetAddress).balanceOf(address(this));
	    assert(amount <= assetBalance);
            ERC20(_assetAddress).safeTransfer(msg.sender, amount);
        }
        emit LogWithdraw(msg.sender, _assetAddress, amount);
    }
}

// File: Swapper.sol

contract Swapper is Withdrawable {

    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    address payable public oneInchAggregator;
    address public anyswapRouter;
    mapping (address => bool) public proxies;
    mapping (address => bool) public operators;
    mapping (address => address) public anyTokenMapping;  // example: USDC -> anyUSDC
    address public ETHER_ADDRESS = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;
    uint256 public swapId;

    event SourceChainSwap(uint256 indexed _swapId, address _sender, uint8 _chainId, SwapInfo _swapInfo, uint256 _fromTokenAmount);
    event TargetChainSwap(uint256 indexed _swapId, address _receiver, uint8 _chainId, SwapInfo _swapInfo);
    event SwapForCompleted(uint256 indexed _swapId, address _receiver, address _toToken, uint256 _toTokenAmount);
    event OneInchSwapFailed(address _token);

    struct SwapInfo {
        uint8 chainId;
        address dex;
        IERC20 fromToken;
        IERC20 toToken;
        bytes swapData;
    }

    constructor() public {}

    receive() external payable {}

    function setOneInchAggregator(address payable _oneInchAggregator) external onlyOwner {
        oneInchAggregator = _oneInchAggregator;
    }

    function setProxyAccount(address _addr, bool _flag) external onlyOwner {
        proxies[_addr] = _flag;
    }

    function setOperatorAccount(address _addr, bool _flag) external onlyOwner {
        operators[_addr] = _flag;
    }

    function setAnyswapRouter(address _addr) external onlyOwner {
        anyswapRouter = _addr;
    }

    function setAnyTokenMapping(address token, address anyToken) external onlyOwner {
        anyTokenMapping[token] = anyToken;
    }

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

    function approveToken(IERC20 token, address spender, uint256 amount) private {
        if (address(token) == ETHER_ADDRESS) return;

        uint256 allowance = token.allowance(address(this), spender);
        if (allowance > 0)
            token.safeApprove(spender, 0);
        token.safeIncreaseAllowance(spender, amount);
    }

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

    function swap(
        uint256 fromTokenAmount,
        SwapInfo[] calldata swapInfos,
        SwapInfo[] calldata targetChainSwapInfo,
        address receiver
    ) payable external {
        IERC20 fromToken = swapInfos[0].fromToken;
        if (address(fromToken) == ETHER_ADDRESS)
            require(msg.value == fromTokenAmount, "ERR_INVALID_AMOUNT");
        else {
            uint256 _fromTokenBalance = getTokenBalance(fromToken);
            fromToken.safeTransferFrom(msg.sender, address(this), fromTokenAmount);
            require(getTokenBalance(fromToken).sub(_fromTokenBalance) == fromTokenAmount, "ERR_INVALID_AMOUNT");
        }

        IERC20 toToken = swapInfos[0].fromToken;
        for (uint8 i; i < swapInfos.length; i++) {
            fromToken = swapInfos[i].fromToken;
            require(address(fromToken) == address(toToken), "ERR_INCONTINUOUS_SWAP_PATH");
            toToken = swapInfos[i].toToken;
            require(address(fromToken) != address(toToken), "ERR_INVALID_TO_TOKEN");

            if (swapInfos[i].dex == oneInchAggregator) {
                approveToken(fromToken, oneInchAggregator, fromTokenAmount);
                uint256 toTokenAmount = getTokenBalance(toToken);
                (bool success, ) = oneInchAggregator.call{value: msg.value}(swapInfos[i].swapData);
                require(success, "ERR_DEX_SWAP_FAILED");
                fromTokenAmount = getTokenBalance(toToken).sub(toTokenAmount);
            } else if (proxies[swapInfos[i].dex] || swapInfos[i].dex == receiver) {
                safeTransferAsset(swapInfos[i].dex, fromToken, fromTokenAmount);
            } else if (swapInfos[i].dex == anyswapRouter) {
                require(targetChainSwapInfo.length > 0, "ERR_TARGET_CHAIN_SWAP_INFO");
                approveToken(fromToken, anyswapRouter, fromTokenAmount);
                IAnyswapV3Router(anyswapRouter).anySwapOutUnderlying(anyTokenMapping[address(fromToken)], address(this), fromTokenAmount, targetChainSwapInfo[0].chainId);
            } else revert("ERR_INVALID_DEX");

            emit SourceChainSwap(swapId, msg.sender, swapInfos[i].chainId, swapInfos[i], fromTokenAmount);
        }

        for (uint8 i; i < targetChainSwapInfo.length; i++) {
            emit TargetChainSwap(swapId, receiver, targetChainSwapInfo[i].chainId, targetChainSwapInfo[i]);
        }

        swapId += 1;
    }

    function _swapFor(
        uint256 _swapId,
        uint256 fromTokenAmount,
        SwapInfo[] calldata swapInfos,
        address receiver
    ) private {
        IERC20 fromToken;
        for (uint8 i; i < swapInfos.length; i++) {
            fromToken = swapInfos[i].fromToken;
            IERC20 toToken = swapInfos[i].toToken;
            address to = swapInfos[i].dex;

            if (to == oneInchAggregator) {
                approveToken(fromToken, oneInchAggregator, fromTokenAmount);
                uint256 toTokenAmount = getTokenBalance(toToken);
                (bool success, ) = oneInchAggregator.call{value: msg.value}(swapInfos[i].swapData);
                if (!success) {
                    safeTransferAsset(receiver, fromToken, fromTokenAmount);
                    emit OneInchSwapFailed(address(fromToken));
                    break;
                }
                fromTokenAmount = getTokenBalance(toToken).sub(toTokenAmount);
            } else if (to == receiver) {
                    safeTransferAsset(receiver, fromToken, fromTokenAmount);
                break;
            }
        }
        emit SwapForCompleted(_swapId, receiver, address(fromToken), fromTokenAmount);
    }

    // AnySwapV3
    function swapForByOperator(
        uint256 _swapId,
        uint256 fromTokenAmount,
        SwapInfo[] calldata swapInfos,
        address receiver
    ) payable external {
        require(operators[msg.sender], "ERR_OPERATOR_ACCOUNT");
        _swapFor(_swapId, fromTokenAmount, swapInfos, receiver);
    }

    function swapForByProxy(
        uint256 _swapId,
        uint256 fromTokenAmount,
        SwapInfo[] calldata swapInfos,
        address receiver
    ) payable external {
        require(proxies[msg.sender], "ERR_PROXY_ACCOUNT");

        IERC20 fromToken = swapInfos[0].fromToken;
        if (address(fromToken) == ETHER_ADDRESS)
            require(msg.value == fromTokenAmount, "ERR_INVALID_AMOUNT");
        else {
            fromToken.safeTransferFrom(msg.sender, address(this), fromTokenAmount);
        }
        _swapFor(_swapId, fromTokenAmount, swapInfos, receiver);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_assetAddress","type":"address"},{"indexed":false,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"LogWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_token","type":"address"}],"name":"OneInchSwapFailed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_swapId","type":"uint256"},{"indexed":false,"internalType":"address","name":"_sender","type":"address"},{"indexed":false,"internalType":"uint8","name":"_chainId","type":"uint8"},{"components":[{"internalType":"uint8","name":"chainId","type":"uint8"},{"internalType":"address","name":"dex","type":"address"},{"internalType":"contract IERC20","name":"fromToken","type":"address"},{"internalType":"contract IERC20","name":"toToken","type":"address"},{"internalType":"bytes","name":"swapData","type":"bytes"}],"indexed":false,"internalType":"struct Swapper.SwapInfo","name":"_swapInfo","type":"tuple"},{"indexed":false,"internalType":"uint256","name":"_fromTokenAmount","type":"uint256"}],"name":"SourceChainSwap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_swapId","type":"uint256"},{"indexed":false,"internalType":"address","name":"_receiver","type":"address"},{"indexed":false,"internalType":"address","name":"_toToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"_toTokenAmount","type":"uint256"}],"name":"SwapForCompleted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_swapId","type":"uint256"},{"indexed":false,"internalType":"address","name":"_receiver","type":"address"},{"indexed":false,"internalType":"uint8","name":"_chainId","type":"uint8"},{"components":[{"internalType":"uint8","name":"chainId","type":"uint8"},{"internalType":"address","name":"dex","type":"address"},{"internalType":"contract IERC20","name":"fromToken","type":"address"},{"internalType":"contract IERC20","name":"toToken","type":"address"},{"internalType":"bytes","name":"swapData","type":"bytes"}],"indexed":false,"internalType":"struct Swapper.SwapInfo","name":"_swapInfo","type":"tuple"}],"name":"TargetChainSwap","type":"event"},{"inputs":[],"name":"ETHER_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"anyTokenMapping","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"anyswapRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oneInchAggregator","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"operators","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"proxies","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"anyToken","type":"address"}],"name":"setAnyTokenMapping","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"setAnyswapRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_oneInchAggregator","type":"address"}],"name":"setOneInchAggregator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"},{"internalType":"bool","name":"_flag","type":"bool"}],"name":"setOperatorAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"},{"internalType":"bool","name":"_flag","type":"bool"}],"name":"setProxyAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fromTokenAmount","type":"uint256"},{"components":[{"internalType":"uint8","name":"chainId","type":"uint8"},{"internalType":"address","name":"dex","type":"address"},{"internalType":"contract IERC20","name":"fromToken","type":"address"},{"internalType":"contract IERC20","name":"toToken","type":"address"},{"internalType":"bytes","name":"swapData","type":"bytes"}],"internalType":"struct Swapper.SwapInfo[]","name":"swapInfos","type":"tuple[]"},{"components":[{"internalType":"uint8","name":"chainId","type":"uint8"},{"internalType":"address","name":"dex","type":"address"},{"internalType":"contract IERC20","name":"fromToken","type":"address"},{"internalType":"contract IERC20","name":"toToken","type":"address"},{"internalType":"bytes","name":"swapData","type":"bytes"}],"internalType":"struct Swapper.SwapInfo[]","name":"targetChainSwapInfo","type":"tuple[]"},{"internalType":"address","name":"receiver","type":"address"}],"name":"swap","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_swapId","type":"uint256"},{"internalType":"uint256","name":"fromTokenAmount","type":"uint256"},{"components":[{"internalType":"uint8","name":"chainId","type":"uint8"},{"internalType":"address","name":"dex","type":"address"},{"internalType":"contract IERC20","name":"fromToken","type":"address"},{"internalType":"contract IERC20","name":"toToken","type":"address"},{"internalType":"bytes","name":"swapData","type":"bytes"}],"internalType":"struct Swapper.SwapInfo[]","name":"swapInfos","type":"tuple[]"},{"internalType":"address","name":"receiver","type":"address"}],"name":"swapForByOperator","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_swapId","type":"uint256"},{"internalType":"uint256","name":"fromTokenAmount","type":"uint256"},{"components":[{"internalType":"uint8","name":"chainId","type":"uint8"},{"internalType":"address","name":"dex","type":"address"},{"internalType":"contract IERC20","name":"fromToken","type":"address"},{"internalType":"contract IERC20","name":"toToken","type":"address"},{"internalType":"bytes","name":"swapData","type":"bytes"}],"internalType":"struct Swapper.SwapInfo[]","name":"swapInfos","type":"tuple[]"},{"internalType":"address","name":"receiver","type":"address"}],"name":"swapForByProxy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"swapId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_assetAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600680546001600160a01b03191673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee17905534801561003657600080fd5b506000610041610090565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350610094565b3390565b612084806100a36000396000f3fe6080604052600436106101185760003560e01c80639a3eb6e9116100a0578063cf6f907411610064578063cf6f9074146102ab578063e972068d146102cb578063f2fde38b146102eb578063f3fef3a31461030b578063f54738ef1461032b5761011f565b80639a3eb6e91461022c5780639e8e3eaa14610241578063a5d108fa14610256578063c455279114610276578063cf1d21c0146102965761011f565b806369da9426116100e757806369da9426146101a2578063715018a6146101c2578063734e7d50146101d75780638ab19f24146101ea5780638da5cb5b1461020a5761011f565b80630c43e5351461012457806313e7c9d8146101465780632a12d57b1461017c57806335e099301461018f5761011f565b3661011f57005b600080fd5b34801561013057600080fd5b5061014461013f366004611840565b61034d565b005b34801561015257600080fd5b50610166610161366004611824565b6103b9565b6040516101739190611c26565b60405180910390f35b61014461018a366004611904565b6103ce565b61014461019d36600461198d565b610a53565b3480156101ae57600080fd5b506101446101bd366004611878565b610a96565b3480156101ce57600080fd5b50610144610af6565b6101446101e536600461198d565b610b75565b3480156101f657600080fd5b50610144610205366004611824565b610c3d565b34801561021657600080fd5b5061021f610c94565b6040516101739190611b25565b34801561023857600080fd5b5061021f610ca3565b34801561024d57600080fd5b5061021f610cb2565b34801561026257600080fd5b50610144610271366004611878565b610cc1565b34801561028257600080fd5b50610166610291366004611824565b610d21565b3480156102a257600080fd5b5061021f610d36565b3480156102b757600080fd5b5061021f6102c6366004611824565b610d45565b3480156102d757600080fd5b506101446102e6366004611824565b610d60565b3480156102f757600080fd5b50610144610306366004611824565b610db7565b34801561031757600080fd5b506101446103263660046118a5565b610e6d565b34801561033757600080fd5b50610340610fd6565b6040516101739190611f99565b610355610fdc565b6000546001600160a01b0390811691161461038b5760405162461bcd60e51b815260040161038290611e08565b60405180910390fd5b6001600160a01b03918216600090815260056020526040902080546001600160a01b03191691909216179055565b60046020526000908152604090205460ff1681565b6000858560008181106103dd57fe5b90506020028101906103ef9190611fe7565b610400906060810190604001611824565b6006549091506001600160a01b038083169116141561043d578634146104385760405162461bcd60e51b815260040161038290611e68565b610492565b600061044882610fe0565b905061045f6001600160a01b03831633308b611081565b876104738261046d85610fe0565b906110df565b146104905760405162461bcd60e51b815260040161038290611e68565b505b6000868660008181106104a157fe5b90506020028101906104b39190611fe7565b6104c4906060810190604001611824565b905060005b60ff811687111561099c5787878260ff168181106104e357fe5b90506020028101906104f59190611fe7565b610506906060810190604001611824565b9250816001600160a01b0316836001600160a01b0316146105395760405162461bcd60e51b815260040161038290611d38565b87878260ff1681811061054857fe5b905060200281019061055a9190611fe7565b61056b906080810190606001611824565b9150816001600160a01b0316836001600160a01b0316141561059f5760405162461bcd60e51b815260040161038290611e94565b6001546001600160a01b0316888860ff84168181106105ba57fe5b90506020028101906105cc9190611fe7565b6105dd906040810190602001611824565b6001600160a01b031614156106d8576001546106049084906001600160a01b03168b611128565b600061060f83610fe0565b6001549091506000906001600160a01b0316348b8b60ff871681811061063157fe5b90506020028101906106439190611fe7565b610651906080810190611fa2565b60405161065f929190611af9565b60006040518083038185875af1925050503d806000811461069c576040519150601f19603f3d011682016040523d82523d6000602084013e6106a1565b606091505b50509050806106c25760405162461bcd60e51b815260040161038290611ddb565b6106cf8261046d86610fe0565b9a505050610906565b6003600089898460ff168181106106eb57fe5b90506020028101906106fd9190611fe7565b61070e906040810190602001611824565b6001600160a01b0316815260208101919091526040016000205460ff16806107785750836001600160a01b031688888360ff1681811061074a57fe5b905060200281019061075c9190611fe7565b61076d906040810190602001611824565b6001600160a01b0316145b156107be576107b988888360ff1681811061078f57fe5b90506020028101906107a19190611fe7565b6107b2906040810190602001611824565b848b6111fa565b610906565b6002546001600160a01b0316888860ff84168181106107d957fe5b90506020028101906107eb9190611fe7565b6107fc906040810190602001611824565b6001600160a01b031614156108ee57846108285760405162461bcd60e51b815260040161038290611da4565b6002546108409084906001600160a01b03168b611128565b6002546001600160a01b038481166000908152600560205260408120549282169263edbdf5e292169030908d908b908b908161087857fe5b905060200281019061088a9190611fe7565b6108989060208101906119f6565b6040518563ffffffff1660e01b81526004016108b79493929190611b91565b600060405180830381600087803b1580156108d157600080fd5b505af11580156108e5573d6000803e3d6000fd5b50505050610906565b60405162461bcd60e51b815260040161038290611ce1565b6007547fe1e8548aad4bfb08650f3a6c68acd84675a69fb72d77b1f744b8a643c406b608338a8a8560ff1681811061093a57fe5b905060200281019061094c9190611fe7565b61095a9060208101906119f6565b8b8b8660ff1681811061096957fe5b905060200281019061097b9190611fe7565b8d60405161098c9493929190611b53565b60405180910390a26001016104c9565b5060005b60ff8116851115610a3f576007547f9017d19859618ad034f86e0edfd056f1be7c02aed9b0904276fabae9df9a4d3e8588888560ff168181106109df57fe5b90506020028101906109f19190611fe7565b6109ff9060208101906119f6565b89898660ff16818110610a0e57fe5b9050602002810190610a209190611fe7565b604051610a2f93929190611bf9565b60405180910390a26001016109a0565b505060078054600101905550505050505050565b3360009081526004602052604090205460ff16610a825760405162461bcd60e51b815260040161038290611d0a565b610a8f8585858585611260565b5050505050565b610a9e610fdc565b6000546001600160a01b03908116911614610acb5760405162461bcd60e51b815260040161038290611e08565b6001600160a01b03919091166000908152600360205260409020805460ff1916911515919091179055565b610afe610fdc565b6000546001600160a01b03908116911614610b2b5760405162461bcd60e51b815260040161038290611e08565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b3360009081526003602052604090205460ff16610ba45760405162461bcd60e51b815260040161038290611e3d565b600083836000818110610bb357fe5b9050602002810190610bc59190611fe7565b610bd6906060810190604001611824565b6006549091506001600160a01b0380831691161415610c1357843414610c0e5760405162461bcd60e51b815260040161038290611e68565b610c28565b610c286001600160a01b038216333088611081565b610c358686868686611260565b505050505050565b610c45610fdc565b6000546001600160a01b03908116911614610c725760405162461bcd60e51b815260040161038290611e08565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b6002546001600160a01b031681565b6001546001600160a01b031681565b610cc9610fdc565b6000546001600160a01b03908116911614610cf65760405162461bcd60e51b815260040161038290611e08565b6001600160a01b03919091166000908152600460205260409020805460ff1916911515919091179055565b60036020526000908152604090205460ff1681565b6006546001600160a01b031681565b6005602052600090815260409020546001600160a01b031681565b610d68610fdc565b6000546001600160a01b03908116911614610d955760405162461bcd60e51b815260040161038290611e08565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b610dbf610fdc565b6000546001600160a01b03908116911614610dec5760405162461bcd60e51b815260040161038290611e08565b6001600160a01b038116610e125760405162461bcd60e51b815260040161038290611c64565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b610e75610fdc565b6000546001600160a01b03908116911614610ea25760405162461bcd60e51b815260040161038290611e08565b60006001600160a01b038316610ef257308031831115610ebe57fe5b604051339084156108fc029085906000818181858888f19350505050158015610eeb573d6000803e3d6000fd5b5050610f8e565b6040516370a0823160e01b81526001600160a01b038416906370a0823190610f1e903090600401611b25565b60206040518083038186803b158015610f3657600080fd5b505afa158015610f4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6e91906118ec565b905080821115610f7a57fe5b610f8e6001600160a01b03841633846114c0565b336001600160a01b03167f9207361cc2a04b9c7a06691df1eb87c6a63957ae88bf01d0d18c81e3d12720998484604051610fc9929190611be0565b60405180910390a2505050565b60075481565b3390565b6006546000906001600160a01b03838116911614611079576040516370a0823160e01b81526001600160a01b038316906370a0823190611024903090600401611b25565b60206040518083038186803b15801561103c57600080fd5b505afa158015611050573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061107491906118ec565b61107b565b475b92915050565b6110d9846323b872dd60e01b8585856040516024016110a293929190611bbc565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526114df565b50505050565b600061112183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506115c4565b9392505050565b6006546001600160a01b0384811691161415611143576111f5565b604051636eb1769f60e11b81526000906001600160a01b0385169063dd62ed3e906111749030908790600401611b39565b60206040518083038186803b15801561118c57600080fd5b505afa1580156111a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c491906118ec565b905080156111e1576111e16001600160a01b0385168460006115f0565b6110d96001600160a01b03851684846116b3565b505050565b6006546001600160a01b038381169116141561124c576040516001600160a01b0384169082156108fc029083906000818181858888f19350505050158015611246573d6000803e3d6000fd5b506111f5565b6111f56001600160a01b03831684836114c0565b6000805b60ff811684111561147b5784848260ff1681811061127e57fe5b90506020028101906112909190611fe7565b6112a1906060810190604001611824565b9150600085858360ff168181106112b457fe5b90506020028101906112c69190611fe7565b6112d7906080810190606001611824565b9050600086868460ff168181106112ea57fe5b90506020028101906112fc9190611fe7565b61130d906040810190602001611824565b6001549091506001600160a01b03808316911614156114455760015461133e9085906001600160a01b03168a611128565b600061134983610fe0565b6001549091506000906001600160a01b0316348a8a60ff891681811061136b57fe5b905060200281019061137d9190611fe7565b61138b906080810190611fa2565b604051611399929190611af9565b60006040518083038185875af1925050503d80600081146113d6576040519150601f19603f3d011682016040523d82523d6000602084013e6113db565b606091505b505090508061142f576113ef87878c6111fa565b7fd3d1d00d81da5bded0e2fe62674dd4d9c8ccf7ff534640e86da75ed515f357c48660405161141e9190611b25565b60405180910390a15050505061147b565b61143c8261046d86610fe0565b99505050611471565b846001600160a01b0316816001600160a01b031614156114715761146a85858a6111fa565b505061147b565b5050600101611264565b50857f7180ee4e7540151b6dacce8308a6f081963dd6b4ef3b33f1b883ec3a403cf72c8383886040516114b093929190611bbc565b60405180910390a2505050505050565b6111f58363a9059cbb60e01b84846040516024016110a2929190611be0565b6114f1826001600160a01b031661175e565b61150d5760405162461bcd60e51b815260040161038290611f62565b60006060836001600160a01b0316836040516115299190611b09565b6000604051808303816000865af19150503d8060008114611566576040519150601f19603f3d011682016040523d82523d6000602084013e61156b565b606091505b50915091508161158d5760405162461bcd60e51b815260040161038290611d6f565b8051156110d957808060200190518101906115a891906118d0565b6110d95760405162461bcd60e51b815260040161038290611ec2565b600081848411156115e85760405162461bcd60e51b81526004016103829190611c31565b505050900390565b8015806116785750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e906116269030908690600401611b39565b60206040518083038186803b15801561163e57600080fd5b505afa158015611652573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167691906118ec565b155b6116945760405162461bcd60e51b815260040161038290611f0c565b6111f58363095ea7b360e01b84846040516024016110a2929190611be0565b600061173d82856001600160a01b031663dd62ed3e30876040518363ffffffff1660e01b81526004016116e7929190611b39565b60206040518083038186803b1580156116ff57600080fd5b505afa158015611713573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061173791906118ec565b9061179a565b90506110d98463095ea7b360e01b85846040516024016110a2929190611be0565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061179257508115155b949350505050565b6000828201838110156111215760405162461bcd60e51b815260040161038290611caa565b803561107b81612028565b60008083601f8401126117db578182fd5b50813567ffffffffffffffff8111156117f2578182fd5b602083019150836020808302850101111561180c57600080fd5b9250929050565b803560ff8116811461107b57600080fd5b600060208284031215611835578081fd5b813561112181612028565b60008060408385031215611852578081fd5b823561185d81612028565b9150602083013561186d81612028565b809150509250929050565b6000806040838503121561188a578182fd5b823561189581612028565b9150602083013561186d81612040565b600080604083850312156118b7578182fd5b82356118c281612028565b946020939093013593505050565b6000602082840312156118e1578081fd5b815161112181612040565b6000602082840312156118fd578081fd5b5051919050565b6000806000806000806080878903121561191c578182fd5b86359550602087013567ffffffffffffffff8082111561193a578384fd5b6119468a838b016117ca565b9097509550604089013591508082111561195e578384fd5b5061196b89828a016117ca565b909450925050606087013561197f81612028565b809150509295509295509295565b6000806000806000608086880312156119a4578081fd5b8535945060208601359350604086013567ffffffffffffffff8111156119c8578182fd5b6119d4888289016117ca565b90945092505060608601356119e881612028565b809150509295509295909350565b600060208284031215611a07578081fd5b6111218383611813565b60008284528282602086013780602084860101526020601f19601f85011685010190509392505050565b60006020820160ff611a4d8285611813565b16845260408301611a5e81836117bf565b6001600160a01b03908116602087015260608501925080611a7f84846117bf565b16604087015260808501915080611a9683856117bf565b1660608701525035905036839003601e19018112611ab2578182fd5b8201803567ffffffffffffffff811115611aca578283fd5b803603841315611ad8578283fd5b60a06080860152611af060a086018260208501611a11565b95945050505050565b6000828483379101908152919050565b60008251611b1b818460208701611ffc565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b038516815260ff84166020820152608060408201819052600090611b8090830185611a3b565b905082606083015295945050505050565b6001600160a01b039485168152929093166020830152604082015260ff909116606082015260800190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b038416815260ff83166020820152606060408201819052600090611af090830184611a3b565b901515815260200190565b6000602082528251806020840152611c50816040850160208701611ffc565b601f01601f19169190910160400192915050565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252600f908201526e08aa4a4be929cac82989288be888ab608b1b604082015260600190565b60208082526014908201527311549497d3d41154905513d497d050d0d3d5539560621b604082015260600190565b6020808252601a908201527f4552525f494e434f4e54494e554f55535f535741505f50415448000000000000604082015260600190565b6020808252818101527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604082015260600190565b6020808252601a908201527f4552525f5441524745545f434841494e5f535741505f494e464f000000000000604082015260600190565b60208082526013908201527211549497d1115617d4d5d05417d19052531151606a1b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526011908201527011549497d41493d61657d050d0d3d55395607a1b604082015260600190565b60208082526012908201527111549497d253959053125117d05353d5539560721b604082015260600190565b60208082526014908201527322a9292fa4a72b20a624a22faa27afaa27a5a2a760611b604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b60208082526036908201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60408201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b606082015260800190565b6020808252601f908201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604082015260600190565b90815260200190565b6000808335601e19843603018112611fb8578283fd5b83018035915067ffffffffffffffff821115611fd2578283fd5b60200191503681900382131561180c57600080fd5b60008235609e19833603018112611b1b578182fd5b60005b83811015612017578181015183820152602001611fff565b838111156110d95750506000910152565b6001600160a01b038116811461203d57600080fd5b50565b801515811461203d57600080fdfea2646970667358221220116de9a922a575b03c520b3b43bce92e1429e885cd2dfcdc5f68c8ceaf0658b464736f6c634300060c0033

Deployed ByteCode Sourcemap

30390:7211:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32004:132;;;;;;;;;;-1:-1:-1;32004:132:0;;;;;:::i;:::-;;:::i;:::-;;30629:42;;;;;;;;;;-1:-1:-1;30629:42:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;32969:2426;;;;;;:::i;:::-;;:::i;36674:317::-;;;;;;:::i;:::-;;:::i;31651:112::-;;;;;;;;;;-1:-1:-1;31651:112:0;;;;;:::i;:::-;;:::i;24920:148::-;;;;;;;;;;;;;:::i;36999:599::-;;;;;;:::i;:::-;;:::i;31501:142::-;;;;;;;;;;-1:-1:-1;31501:142:0;;;;;:::i;:::-;;:::i;24278:79::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;30547:28::-;;;;;;;;;;;;;:::i;30500:40::-;;;;;;;;;;;;;:::i;31771:117::-;;;;;;;;;;-1:-1:-1;31771:117:0;;;;;:::i;:::-;;:::i;30582:40::-;;;;;;;;;;-1:-1:-1;30582:40:0;;;;;:::i;:::-;;:::i;30765:73::-;;;;;;;;;;;;;:::i;30678:51::-;;;;;;;;;;-1:-1:-1;30678:51:0;;;;;:::i;:::-;;:::i;31896:100::-;;;;;;;;;;-1:-1:-1;31896:100:0;;;;;:::i;:::-;;:::i;25223:244::-;;;;;;;;;;-1:-1:-1;25223:244:0;;;;;:::i;:::-;;:::i;29769:590::-;;;;;;;;;;-1:-1:-1;29769:590:0;;;;;:::i;:::-;;:::i;30845:21::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;32004:132::-;24500:12;:10;:12::i;:::-;24490:6;;-1:-1:-1;;;;;24490:6:0;;;:22;;;24482:67;;;;-1:-1:-1;;;24482:67:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;32095:22:0;;::::1;;::::0;;;:15:::1;:22;::::0;;;;:33;;-1:-1:-1;;;;;;32095:33:0::1;::::0;;;::::1;;::::0;;32004:132::o;30629:42::-;;;;;;;;;;;;;;;:::o;32969:2426::-;33169:16;33188:9;;33198:1;33188:12;;;;;;;;;;;;;;;;;;:::i;:::-;:22;;;;;;;;;:::i;:::-;33247:13;;33169:41;;-1:-1:-1;;;;;;33225:35:0;;;33247:13;;33225:35;33221:409;;;33296:15;33283:9;:28;33275:59;;;;-1:-1:-1;;;33275:59:0;;;;;;;:::i;:::-;33221:409;;;33365:25;33393:26;33409:9;33393:15;:26::i;:::-;33365:54;-1:-1:-1;33434:70:0;-1:-1:-1;;;;;33434:26:0;;33461:10;33481:4;33488:15;33434:26;:70::i;:::-;33580:15;33527:49;33558:17;33527:26;33543:9;33527:15;:26::i;:::-;:30;;:49::i;:::-;:68;33519:99;;;;-1:-1:-1;;;33519:99:0;;;;;;;:::i;:::-;33221:409;;33642:14;33659:9;;33669:1;33659:12;;;;;;;;;;;;;;;;;;:::i;:::-;:22;;;;;;;;;:::i;:::-;33642:39;;33697:7;33692:1488;33706:20;;;;-1:-1:-1;33692:1488:0;;;33760:9;;33770:1;33760:12;;;;;;;;;;;;;;;;;;;;:::i;:::-;:22;;;;;;;;;:::i;:::-;33748:34;;33835:7;-1:-1:-1;;;;;33805:38:0;33813:9;-1:-1:-1;;;;;33805:38:0;;33797:77;;;;-1:-1:-1;;;33797:77:0;;;;;;;:::i;:::-;33899:9;;33909:1;33899:12;;;;;;;;;;;;;;;;;;;;:::i;:::-;:20;;;;;;;;;:::i;:::-;33889:30;;33972:7;-1:-1:-1;;;;;33942:38:0;33950:9;-1:-1:-1;;;;;33942:38:0;;;33934:71;;;;-1:-1:-1;;;33934:71:0;;;;;;;:::i;:::-;34046:17;;-1:-1:-1;;;;;34046:17:0;34026:9;;:12;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:16;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;34026:37:0;;34022:1036;;;34108:17;;34084:59;;34097:9;;-1:-1:-1;;;;;34108:17:0;34127:15;34084:12;:59::i;:::-;34162:21;34186:24;34202:7;34186:15;:24::i;:::-;34248:17;;34162:48;;-1:-1:-1;34230:12:0;;-1:-1:-1;;;;;34248:17:0;34278:9;34289;;:12;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:21;;;;;;;:::i;:::-;34248:63;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34229:82;;;34338:7;34330:39;;;;-1:-1:-1;;;34330:39:0;;;;;;;:::i;:::-;34406:43;34435:13;34406:24;34422:7;34406:15;:24::i;:43::-;34388:61;;34022:1036;;;;;34475:7;:25;34483:9;;34493:1;34483:12;;;;;;;;;;;;;;;;;;;;:::i;:::-;:16;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;34475:25:0;;;;;;;;;;;;-1:-1:-1;34475:25:0;;;;;:57;;;34524:8;-1:-1:-1;;;;;34504:28:0;:9;;34514:1;34504:12;;;;;;;;;;;;;;;;;;;;:::i;:::-;:16;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;34504:28:0;;34475:57;34471:587;;;34553:63;34571:9;;34581:1;34571:12;;;;;;;;;;;;;;;;;;;;:::i;:::-;:16;;;;;;;;;:::i;:::-;34589:9;34600:15;34553:17;:63::i;:::-;34471:587;;;34662:13;;-1:-1:-1;;;;;34662:13:0;34642:9;;:12;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:16;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;34642:33:0;;34638:420;;;34704:30;34696:69;;;;-1:-1:-1;;;34696:69:0;;;;;;;:::i;:::-;34808:13;;34784:55;;34797:9;;-1:-1:-1;;;;;34808:13:0;34823:15;34784:12;:55::i;:::-;34875:13;;-1:-1:-1;;;;;34911:35:0;;;34875:13;34911:35;;;:15;:35;;;;;;34875:13;;;;34858:52;;34911:35;;34956:4;;34963:15;;34980:19;;;;:22;;;;;;;;;;;;;;;;:::i;:::-;:30;;;;;;;:::i;:::-;34858:153;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34638:420;;;35033:25;;-1:-1:-1;;;35033:25:0;;;;;;;:::i;34638:420::-;35096:6;;35080:88;35104:10;35116:9;;35126:1;35116:12;;;;;;;;;;;;;;;;;;;;:::i;:::-;:20;;;;;;;:::i;:::-;35138:9;;35148:1;35138:12;;;;;;;;;;;;;;;;;;;;:::i;:::-;35152:15;35080:88;;;;;;;;;:::i;:::-;;;;;;;;33728:3;;33692:1488;;;;35197:7;35192:172;35206:30;;;;-1:-1:-1;35192:172:0;;;35279:6;;35263:89;35287:8;35297:19;;35317:1;35297:22;;;;;;;;;;;;;;;;;;;;:::i;:::-;:30;;;;;;;:::i;:::-;35329:19;;35349:1;35329:22;;;;;;;;;;;;;;;;;;;;:::i;:::-;35263:89;;;;;;;;:::i;:::-;;;;;;;;35238:3;;35192:172;;;-1:-1:-1;;35376:6:0;:11;;35386:1;35376:11;;;-1:-1:-1;;;;;;;32969:2426:0:o;36674:317::-;36881:10;36871:21;;;;:9;:21;;;;;;;;36863:54;;;;-1:-1:-1;;;36863:54:0;;;;;;;:::i;:::-;36928:55;36937:7;36946:15;36963:9;;36974:8;36928;:55::i;:::-;36674:317;;;;;:::o;31651:112::-;24500:12;:10;:12::i;:::-;24490:6;;-1:-1:-1;;;;;24490:6:0;;;:22;;;24482:67;;;;-1:-1:-1;;;24482:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;31733:14:0;;;::::1;;::::0;;;:7:::1;:14;::::0;;;;:22;;-1:-1:-1;;31733:22:0::1;::::0;::::1;;::::0;;;::::1;::::0;;31651:112::o;24920:148::-;24500:12;:10;:12::i;:::-;24490:6;;-1:-1:-1;;;;;24490:6:0;;;:22;;;24482:67;;;;-1:-1:-1;;;24482:67:0;;;;;;;:::i;:::-;25027:1:::1;25011:6:::0;;24990:40:::1;::::0;-1:-1:-1;;;;;25011:6:0;;::::1;::::0;24990:40:::1;::::0;25027:1;;24990:40:::1;25058:1;25041:19:::0;;-1:-1:-1;;;;;;25041:19:0::1;::::0;;24920:148::o;36999:599::-;37201:10;37193:19;;;;:7;:19;;;;;;;;37185:49;;;;-1:-1:-1;;;37185:49:0;;;;;;;:::i;:::-;37247:16;37266:9;;37276:1;37266:12;;;;;;;;;;;;;;;;;;:::i;:::-;:22;;;;;;;;;:::i;:::-;37325:13;;37247:41;;-1:-1:-1;;;;;;37303:35:0;;;37325:13;;37303:35;37299:226;;;37374:15;37361:9;:28;37353:59;;;;-1:-1:-1;;;37353:59:0;;;;;;;:::i;:::-;37299:226;;;37443:70;-1:-1:-1;;;;;37443:26:0;;37470:10;37490:4;37497:15;37443:26;:70::i;:::-;37535:55;37544:7;37553:15;37570:9;;37581:8;37535;:55::i;:::-;36999:599;;;;;;:::o;31501:142::-;24500:12;:10;:12::i;:::-;24490:6;;-1:-1:-1;;;;;24490:6:0;;;:22;;;24482:67;;;;-1:-1:-1;;;24482:67:0;;;;;;;:::i;:::-;31597:17:::1;:38:::0;;-1:-1:-1;;;;;;31597:38:0::1;-1:-1:-1::0;;;;;31597:38:0;;;::::1;::::0;;;::::1;::::0;;31501:142::o;24278:79::-;24316:7;24343:6;-1:-1:-1;;;;;24343:6:0;24278:79;:::o;30547:28::-;;;-1:-1:-1;;;;;30547:28:0;;:::o;30500:40::-;;;-1:-1:-1;;;;;30500:40:0;;:::o;31771:117::-;24500:12;:10;:12::i;:::-;24490:6;;-1:-1:-1;;;;;24490:6:0;;;:22;;;24482:67;;;;-1:-1:-1;;;24482:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;31856:16:0;;;::::1;;::::0;;;:9:::1;:16;::::0;;;;:24;;-1:-1:-1;;31856:24:0::1;::::0;::::1;;::::0;;;::::1;::::0;;31771:117::o;30582:40::-;;;;;;;;;;;;;;;:::o;30765:73::-;;;-1:-1:-1;;;;;30765:73:0;;:::o;30678:51::-;;;;;;;;;;;;-1:-1:-1;;;;;30678:51:0;;:::o;31896:100::-;24500:12;:10;:12::i;:::-;24490:6;;-1:-1:-1;;;;;24490:6:0;;;:22;;;24482:67;;;;-1:-1:-1;;;24482:67:0;;;;;;;:::i;:::-;31967:13:::1;:21:::0;;-1:-1:-1;;;;;;31967:21:0::1;-1:-1:-1::0;;;;;31967:21:0;;;::::1;::::0;;;::::1;::::0;;31896:100::o;25223:244::-;24500:12;:10;:12::i;:::-;24490:6;;-1:-1:-1;;;;;24490:6:0;;;:22;;;24482:67;;;;-1:-1:-1;;;24482:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;25312:22:0;::::1;25304:73;;;;-1:-1:-1::0;;;25304:73:0::1;;;;;;;:::i;:::-;25414:6;::::0;;25393:38:::1;::::0;-1:-1:-1;;;;;25393:38:0;;::::1;::::0;25414:6;::::1;::::0;25393:38:::1;::::0;::::1;25442:6;:17:::0;;-1:-1:-1;;;;;;25442:17:0::1;-1:-1:-1::0;;;;;25442:17:0;;;::::1;::::0;;;::::1;::::0;;25223:244::o;29769:590::-;24500:12;:10;:12::i;:::-;24490:6;;-1:-1:-1;;;;;24490:6:0;;;:22;;;24482:67;;;;-1:-1:-1;;;24482:67:0;;;;;;;:::i;:::-;29851:17:::1;-1:-1:-1::0;;;;;29883:22:0;::::1;29879:411;;29945:4;30024:12:::0;::::1;30014:22:::0;::::1;;30007:30;;;;30052:27;::::0;:10:::1;::::0;:27;::::1;;;::::0;30072:6;;30052:27:::1;::::0;;;30072:6;30052:10;:27;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;29879:411;;;;30127:45;::::0;-1:-1:-1;;;30127:45:0;;-1:-1:-1;;;;;30127:30:0;::::1;::::0;::::1;::::0;:45:::1;::::0;30166:4:::1;::::0;30127:45:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;30112:60;;30197:12;30187:6;:22;;30180:30;;;;30225:53;-1:-1:-1::0;;;;;30225:33:0;::::1;30259:10;30271:6:::0;30225:33:::1;:53::i;:::-;30317:10;-1:-1:-1::0;;;;;30305:46:0::1;;30329:13;30344:6;30305:46;;;;;;;:::i;:::-;;;;;;;;24560:1;29769:590:::0;;:::o;30845:21::-;;;;:::o;3750:106::-;3838:10;3750:106;:::o;32144:195::-;32261:13;;32205:15;;-1:-1:-1;;;;;32243:31:0;;;32261:13;;32243:31;:88;;32301:30;;-1:-1:-1;;;32301:30:0;;-1:-1:-1;;;;;32301:15:0;;;;;:30;;32325:4;;32301:30;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;32243:88;;;32277:21;32243:88;32233:98;32144:195;-1:-1:-1;;32144:195:0:o;26281:205::-;26382:96;26402:5;26432:27;;;26461:4;26467:2;26471:5;26409:68;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;26409:68:0;;;;;;;;;;;;;;-1:-1:-1;;;;;26409:68:0;-1:-1:-1;;;;;;26409:68:0;;;;;;;;;;26382:19;:96::i;:::-;26281:205;;;;:::o;8229:136::-;8287:7;8314:43;8318:1;8321;8314:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;8307:50;8229:136;-1:-1:-1;;;8229:136:0:o;32347:338::-;32457:13;;-1:-1:-1;;;;;32439:31:0;;;32457:13;;32439:31;32435:44;;;32472:7;;32435:44;32511:39;;-1:-1:-1;;;32511:39:0;;32491:17;;-1:-1:-1;;;;;32511:15:0;;;;;:39;;32535:4;;32542:7;;32511:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;32491:59;-1:-1:-1;32565:13:0;;32561:61;;32593:29;-1:-1:-1;;;;;32593:17:0;;32611:7;32620:1;32593:17;:29::i;:::-;32633:44;-1:-1:-1;;;;;32633:27:0;;32661:7;32670:6;32633:27;:44::i;32347:338::-;;;;:::o;32693:268::-;32809:13;;-1:-1:-1;;;;;32791:31:0;;;32809:13;;32791:31;32787:167;;;32839:34;;-1:-1:-1;;;;;32839:26:0;;;:34;;;;;32866:6;;32839:34;;;;32866:6;32839:26;:34;;;;;;;;;;;;;;;;;;;;;32787:167;;;32906:36;-1:-1:-1;;;;;32906:18:0;;32925:8;32935:6;32906:18;:36::i;35403:1245::-;35574:16;35606:7;35601:952;35615:20;;;;-1:-1:-1;35601:952:0;;;35669:9;;35679:1;35669:12;;;;;;;;;;;;;;;;;;;;:::i;:::-;:22;;;;;;;;;:::i;:::-;35657:34;;35706:14;35723:9;;35733:1;35723:12;;;;;;;;;;;;;;;;;;;;:::i;:::-;:20;;;;;;;;;:::i;:::-;35706:37;;35758:10;35771:9;;35781:1;35771:12;;;;;;;;;;;;;;;;;;;;:::i;:::-;:16;;;;;;;;;:::i;:::-;35814:17;;35758:29;;-1:-1:-1;;;;;;35808:23:0;;;35814:17;;35808:23;35804:738;;;35876:17;;35852:59;;35865:9;;-1:-1:-1;;;;;35876:17:0;35895:15;35852:12;:59::i;:::-;35930:21;35954:24;35970:7;35954:15;:24::i;:::-;36016:17;;35930:48;;-1:-1:-1;35998:12:0;;-1:-1:-1;;;;;36016:17:0;36046:9;36057;;:12;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:21;;;;;;;:::i;:::-;36016:63;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35997:82;;;36103:7;36098:205;;36135:55;36153:8;36163:9;36174:15;36135:17;:55::i;:::-;36218:37;36244:9;36218:37;;;;;;:::i;:::-;;;;;;;;36278:5;;;;;;36098:205;36339:43;36368:13;36339:24;36355:7;36339:15;:24::i;:43::-;36321:61;;35804:738;;;;;36414:8;-1:-1:-1;;;;;36408:14:0;:2;-1:-1:-1;;;;;36408:14:0;;36404:138;;;36447:55;36465:8;36475:9;36486:15;36447:17;:55::i;:::-;36521:5;;;;36404:138;-1:-1:-1;;35637:3:0;;35601:952;;;;36585:7;36568:72;36594:8;36612:9;36624:15;36568:72;;;;;;;;:::i;:::-;;;;;;;;35403:1245;;;;;;:::o;26096:177::-;26179:86;26199:5;26229:23;;;26254:2;26258:5;26206:58;;;;;;;;;:::i;28140:1115::-;28745:27;28753:5;-1:-1:-1;;;;;28745:25:0;;:27::i;:::-;28737:71;;;;-1:-1:-1;;;28737:71:0;;;;;;;:::i;:::-;28882:12;28896:23;28931:5;-1:-1:-1;;;;;28923:19:0;28943:4;28923:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28881:67;;;;28967:7;28959:52;;;;-1:-1:-1;;;28959:52:0;;;;;;;:::i;:::-;29028:17;;:21;29024:224;;29170:10;29159:30;;;;;;;;;;;;:::i;:::-;29151:85;;;;-1:-1:-1;;;29151:85:0;;;;;;;:::i;8660:192::-;8746:7;8782:12;8774:6;;;;8766:29;;;;-1:-1:-1;;;8766:29:0;;;;;;;;:::i;:::-;-1:-1:-1;;;8818:5:0;;;8660:192::o;26494:622::-;26864:10;;;26863:62;;-1:-1:-1;26880:39:0;;-1:-1:-1;;;26880:39:0;;-1:-1:-1;;;;;26880:15:0;;;;;:39;;26904:4;;26911:7;;26880:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:44;26863:62;26855:152;;;;-1:-1:-1;;;26855:152:0;;;;;;;:::i;:::-;27018:90;27038:5;27068:22;;;27092:7;27101:5;27045:62;;;;;;;;;:::i;27124:286::-;27221:20;27244:50;27288:5;27244;-1:-1:-1;;;;;27244:15:0;;27268:4;27275:7;27244:39;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:43;;:50::i;:::-;27221:73;;27305:97;27325:5;27355:22;;;27379:7;27388:12;27332:69;;;;;;;;;:::i;1005:619::-;1065:4;1533:20;;1376:66;1573:23;;;;;;:42;;-1:-1:-1;1600:15:0;;;1573:42;1565:51;1005:619;-1:-1:-1;;;;1005:619:0:o;7773:181::-;7831:7;7863:5;;;7887:6;;;;7879:46;;;;-1:-1:-1;;;7879:46:0;;;;;;;:::i;5:130:-1:-;72:20;;97:33;72:20;97:33;:::i;329:380::-;;;487:3;480:4;472:6;468:17;464:27;454:2;;-1:-1;;495:12;454:2;-1:-1;525:20;;565:18;554:30;;551:2;;;-1:-1;;587:12;551:2;631:4;623:6;619:17;607:29;;682:3;631:4;;666:6;662:17;623:6;648:32;;645:41;642:2;;;699:1;;689:12;642:2;447:262;;;;;:::o;1426:126::-;1491:20;;30234:4;30223:16;;32277:33;;32267:2;;32324:1;;32314:12;1559:241;;1663:2;1651:9;1642:7;1638:23;1634:32;1631:2;;;-1:-1;;1669:12;1631:2;85:6;72:20;97:33;124:5;97:33;:::i;2071:366::-;;;2192:2;2180:9;2171:7;2167:23;2163:32;2160:2;;;-1:-1;;2198:12;2160:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;2250:63;-1:-1;2350:2;2389:22;;72:20;97:33;72:20;97:33;:::i;:::-;2358:63;;;;2154:283;;;;;:::o;2444:360::-;;;2562:2;2550:9;2541:7;2537:23;2533:32;2530:2;;;-1:-1;;2568:12;2530:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;2620:63;-1:-1;2720:2;2756:22;;781:20;806:30;781:20;806:30;:::i;2811:366::-;;;2932:2;2920:9;2911:7;2907:23;2903:32;2900:2;;;-1:-1;;2938:12;2900:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;2990:63;3090:2;3129:22;;;;1215:20;;-1:-1;;;2894:283::o;3184:257::-;;3296:2;3284:9;3275:7;3271:23;3267:32;3264:2;;;-1:-1;;3302:12;3264:2;929:6;923:13;941:30;965:5;941:30;:::i;3724:263::-;;3839:2;3827:9;3818:7;3814:23;3810:32;3807:2;;;-1:-1;;3845:12;3807:2;-1:-1;1363:13;;3801:186;-1:-1;3801:186::o;3994:1041::-;;;;;;;4275:3;4263:9;4254:7;4250:23;4246:33;4243:2;;;-1:-1;;4282:12;4243:2;1228:6;1215:20;4334:63;;4462:2;4451:9;4447:18;4434:32;4486:18;;4478:6;4475:30;4472:2;;;-1:-1;;4508:12;4472:2;4546:108;4646:7;4637:6;4626:9;4622:22;4546:108;:::i;:::-;4528:126;;-1:-1;4528:126;-1:-1;4719:2;4704:18;;4691:32;;-1:-1;4732:30;;;4729:2;;;-1:-1;;4765:12;4729:2;;4803:108;4903:7;4894:6;4883:9;4879:22;4803:108;:::i;:::-;4785:126;;-1:-1;4785:126;-1:-1;;4948:2;4987:22;;72:20;97:33;72:20;97:33;:::i;:::-;4956:63;;;;4237:798;;;;;;;;:::o;5042:829::-;;;;;;5260:3;5248:9;5239:7;5235:23;5231:33;5228:2;;;-1:-1;;5267:12;5228:2;1228:6;1215:20;5319:63;;5419:2;5462:9;5458:22;1215:20;5427:63;;5555:2;5544:9;5540:18;5527:32;5579:18;5571:6;5568:30;5565:2;;;-1:-1;;5601:12;5565:2;5639:108;5739:7;5730:6;5719:9;5715:22;5639:108;:::i;:::-;5621:126;;-1:-1;5621:126;-1:-1;;5784:2;5823:22;;72:20;97:33;72:20;97:33;:::i;:::-;5792:63;;;;5222:649;;;;;;;;:::o;5878:237::-;;5980:2;5968:9;5959:7;5955:23;5951:32;5948:2;;;-1:-1;;5986:12;5948:2;6048:51;6091:7;6067:22;6048:51;:::i;6779:277::-;;28249:6;28244:3;28237:19;31108:6;31103:3;28286:4;28281:3;28277:14;31085:30;-1:-1;28286:4;31155:6;28281:3;31146:16;;31139:27;28286:4;31541:7;;31545:2;7042:6;31525:14;31521:28;28281:3;7011:39;;7004:46;;6869:187;;;;;:::o;13493:1275::-;;29530:2;13748:16;29521:12;30234:4;29497:37;29521:12;13748:16;29497:37;:::i;:::-;30223:16;15088:3;15081:35;28731:12;13748:16;28731:12;28705:39;28731:12;28726:3;28705:39;:::i;:::-;-1:-1;;;;;30018:54;;;29530:2;13995:14;;6358:45;29397:12;;;;-1:-1;30029:42;29357:53;29397:12;29392:3;29357:53;:::i;:::-;30018:54;28731:12;14213:3;14209:14;7843:64;29397:12;14340:5;29397:12;;;30029:42;29357:53;29397:12;29392:3;29357:53;:::i;:::-;30018:54;29397:12;14421:14;;7843:64;-1:-1;28870:17;;-1:-1;28935:14;28931:29;;;-1:-1;;28927:48;28903:73;;28893:2;;-1:-1;;28980:12;28893:2;29009:33;;29064:19;;29134:18;29123:30;;29120:2;;;-1:-1;;29156:12;29120:2;29213:17;28935:14;29193:38;29183:8;29179:53;29176:2;;;-1:-1;;29235:12;29176:2;13648:4;29397:12;14601:3;14597:14;14590:38;14643:87;13648:4;13643:3;13639:14;14711:12;29530:2;29102:5;29098:16;14643:87;:::i;:::-;14752:11;13621:1147;-1:-1;;;;;13621:1147::o;15242:291::-;;31108:6;31103:3;31098;31085:30;31146:16;;31139:27;;;31146:16;15386:147;-1:-1;15386:147::o;15540:271::-;;7565:5;27974:12;7676:52;7721:6;7716:3;7709:4;7702:5;7698:16;7676:52;:::i;:::-;7740:16;;;;;15674:137;-1:-1;;15674:137::o;15818:222::-;-1:-1;;;;;30018:54;;;;6358:45;;15945:2;15930:18;;15916:124::o;16553:349::-;-1:-1;;;;;30018:54;;;6201:58;;30018:54;;16888:2;16873:18;;6358:45;16716:2;16701:18;;16687:215::o;16909:720::-;-1:-1;;;;;30018:54;;6201:58;;30234:4;30223:16;;17347:2;17332:18;;15081:35;17178:3;17384:2;17369:18;;17362:48;;;16909:720;;17424:112;;17163:19;;17522:6;17424:112;:::i;:::-;17416:120;;14876:5;17615:2;17604:9;17600:18;14846:37;17149:480;;;;;;;:::o;17976:568::-;-1:-1;;;;;30018:54;;;6358:45;;30018:54;;;;18366:2;18351:18;;6201:58;18449:2;18434:18;;14846:37;30234:4;30223:16;;;18530:2;18515:18;;14964:48;18193:3;18178:19;;18164:380::o;18551:444::-;-1:-1;;;;;30018:54;;;6358:45;;30018:54;;;;18898:2;18883:18;;6358:45;18981:2;18966:18;;14846:37;;;;18734:2;18719:18;;18705:290::o;19002:333::-;-1:-1;;;;;30018:54;;;;6358:45;;19321:2;19306:18;;14846:37;19157:2;19142:18;;19128:207::o;19342:592::-;-1:-1;;;;;30018:54;;6358:45;;30234:4;30223:16;;19735:2;19720:18;;15081:35;19575:2;19772;19757:18;;19750:48;;;19342:592;;19812:112;;19560:18;;19910:6;19812:112;:::i;19941:210::-;29818:13;;29811:21;6710:34;;20062:2;20047:18;;20033:118::o;20158:310::-;;20305:2;20326:17;20319:47;8064:5;27974:12;28249:6;20305:2;20294:9;20290:18;28237:19;8158:52;8203:6;28277:14;20294:9;28277:14;20305:2;8184:5;8180:16;8158:52;:::i;:::-;31541:7;31525:14;-1:-1;;31521:28;8222:39;;;;28277:14;8222:39;;20276:192;-1:-1;;20276:192::o;20475:416::-;20675:2;20689:47;;;8498:2;20660:18;;;28237:19;8534:34;28277:14;;;8514:55;-1:-1;;;8589:12;;;8582:30;8631:12;;;20646:245::o;20898:416::-;21098:2;21112:47;;;8882:2;21083:18;;;28237:19;8918:29;28277:14;;;8898:50;8967:12;;;21069:245::o;21321:416::-;21521:2;21535:47;;;9218:2;21506:18;;;28237:19;-1:-1;;;28277:14;;;9234:38;9291:12;;;21492:245::o;21744:416::-;21944:2;21958:47;;;9542:2;21929:18;;;28237:19;-1:-1;;;28277:14;;;9558:43;9620:12;;;21915:245::o;22167:416::-;22367:2;22381:47;;;9871:2;22352:18;;;28237:19;9907:28;28277:14;;;9887:49;9955:12;;;22338:245::o;22590:416::-;22790:2;22804:47;;;22775:18;;;28237:19;10242:34;28277:14;;;10222:55;10296:12;;;22761:245::o;23013:416::-;23213:2;23227:47;;;10547:2;23198:18;;;28237:19;10583:28;28277:14;;;10563:49;10631:12;;;23184:245::o;23436:416::-;23636:2;23650:47;;;10882:2;23621:18;;;28237:19;-1:-1;;;28277:14;;;10898:42;10959:12;;;23607:245::o;23859:416::-;24059:2;24073:47;;;24044:18;;;28237:19;11246:34;28277:14;;;11226:55;11300:12;;;24030:245::o;24282:416::-;24482:2;24496:47;;;11551:2;24467:18;;;28237:19;-1:-1;;;28277:14;;;11567:40;11626:12;;;24453:245::o;24705:416::-;24905:2;24919:47;;;11877:2;24890:18;;;28237:19;-1:-1;;;28277:14;;;11893:41;11953:12;;;24876:245::o;25128:416::-;25328:2;25342:47;;;12204:2;25313:18;;;28237:19;-1:-1;;;28277:14;;;12220:43;12282:12;;;25299:245::o;25551:416::-;25751:2;25765:47;;;12533:2;25736:18;;;28237:19;12569:34;28277:14;;;12549:55;-1:-1;;;12624:12;;;12617:34;12670:12;;;25722:245::o;25974:416::-;26174:2;26188:47;;;12921:2;26159:18;;;28237:19;12957:34;28277:14;;;12937:55;-1:-1;;;13012:12;;;13005:46;13070:12;;;26145:245::o;26397:416::-;26597:2;26611:47;;;13321:2;26582:18;;;28237:19;13357:33;28277:14;;;13337:54;13410:12;;;26568:245::o;26820:222::-;14846:37;;;26947:2;26932:18;;26918:124::o;27049:506::-;;;27184:11;27171:25;28927:48;;27259:8;27243:14;27239:29;27235:48;27215:18;27211:73;27201:2;;-1:-1;;27288:12;27201:2;27315:33;;27369:18;;;-1:-1;27407:18;27396:30;;27393:2;;;-1:-1;;27429:12;27393:2;27274:4;27457:13;;-1:-1;27243:14;27489:38;;;27479:49;;27476:2;;;27541:1;;27531:12;27562:318;;27706:11;27693:25;27757:48;;27781:8;27765:14;27761:29;27757:48;27737:18;27733:73;27723:2;;-1:-1;;27810:12;31181:268;31246:1;31253:101;31267:6;31264:1;31261:13;31253:101;;;31334:11;;;31328:18;31315:11;;;31308:39;31289:2;31282:10;31253:101;;;31369:6;31366:1;31363:13;31360:2;;;-1:-1;;31246:1;31416:16;;31409:27;31230:219::o;31562:117::-;-1:-1;;;;;30018:54;;31621:35;;31611:2;;31670:1;;31660:12;31611:2;31605:74;:::o;31826:111::-;31907:5;29818:13;29811:21;31885:5;31882:32;31872:2;;31928:1;;31918:12

Swarm Source

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