ETH Price: $3,359.42 (-2.67%)

Contract

0xA7327e2F824CA49c95390d288aAe54c671C67333
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Withdraw Token108802122020-09-17 14:23:251584 days ago1600352605IN
0xA7327e2F...671C67333
0 ETH0.01666306491
Swap108143262020-09-07 11:48:251594 days ago1599479305IN
0xA7327e2F...671C67333
0 ETH0.03801448101.00000025
Swap108142892020-09-07 11:40:571594 days ago1599478857IN
0xA7327e2F...671C67333
0 ETH0.0301714598
Swap107556712020-08-29 12:35:391603 days ago1598704539IN
0xA7327e2F...671C67333
0 ETH0.0256668571.00000145
Swap107556482020-08-29 12:30:321603 days ago1598704232IN
0xA7327e2F...671C67333
0 ETH0.026732771.00000145
Swap107546372020-08-29 8:43:241603 days ago1598690604IN
0xA7327e2F...671C67333
0 ETH0.04480409119
Swap107421152020-08-27 10:39:391605 days ago1598524779IN
0xA7327e2F...671C67333
0 ETH0.0121980983
Swap107392092020-08-26 23:49:241606 days ago1598485764IN
0xA7327e2F...671C67333
0.06329 ETH0.0095917362.0078
Swap107287282020-08-25 9:15:501607 days ago1598346950IN
0xA7327e2F...671C67333
0 ETH0.0331561100.00000145
Swap107285472020-08-25 8:36:501607 days ago1598344610IN
0xA7327e2F...671C67333
0 ETH0.03456648104.25
Swap107246012020-08-24 18:02:411608 days ago1598292161IN
0xA7327e2F...671C67333
0.3 ETH0.03797076139
Swap107174402020-08-23 15:35:591609 days ago1598196959IN
0xA7327e2F...671C67333
0 ETH0.0140841493.31511712
Swap107168092020-08-23 13:21:191609 days ago1598188879IN
0xA7327e2F...671C67333
0.42900354 ETH0.0114273185
Swap107004722020-08-21 0:53:481612 days ago1597971228IN
0xA7327e2F...671C67333
0.38687654 ETH0.0132979389
Swap106908142020-08-19 13:26:141613 days ago1597843574IN
0xA7327e2F...671C67333
2 ETH0.02077035139
Swap106854162020-08-18 17:36:281614 days ago1597772188IN
0xA7327e2F...671C67333
0 ETH0.01675264114
Swap106829832020-08-18 8:49:431614 days ago1597740583IN
0xA7327e2F...671C67333
1 ETH0.01824503122.09999999
Swap106773662020-08-17 11:42:521615 days ago1597664572IN
0xA7327e2F...671C67333
1 ETH0.01537603102.9
Swap106767142020-08-17 9:17:361615 days ago1597655856IN
0xA7327e2F...671C67333
0.5 ETH0.0334158795
Swap106718722020-08-16 15:26:111616 days ago1597591571IN
0xA7327e2F...671C67333
10 ETH0.01686208109
Swap106703872020-08-16 9:45:131616 days ago1597571113IN
0xA7327e2F...671C67333
1.5 ETH0.0262235691
Swap106675742020-08-15 23:29:271617 days ago1597534167IN
0xA7327e2F...671C67333
0.1 ETH0.0240379988
Swap106657592020-08-15 16:36:271617 days ago1597509387IN
0xA7327e2F...671C67333
0 ETH0.01766173117
Swap106605732020-08-14 21:23:491618 days ago1597440229IN
0xA7327e2F...671C67333
0 ETH0.01557956106
Swap106447922020-08-12 11:12:351620 days ago1597230755IN
0xA7327e2F...671C67333
0.4 ETH0.05217566191
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
108143262020-09-07 11:48:251594 days ago1599479305
0xA7327e2F...671C67333
0.7115342 ETH
108143262020-09-07 11:48:251594 days ago1599479305
0xA7327e2F...671C67333
0.7115342 ETH
108142892020-09-07 11:40:571594 days ago1599478857
0xA7327e2F...671C67333
0.71540865 ETH
108142892020-09-07 11:40:571594 days ago1599478857
0xA7327e2F...671C67333
0.71540865 ETH
107556712020-08-29 12:35:391603 days ago1598704539
0xA7327e2F...671C67333
0.00261118 ETH
107556712020-08-29 12:35:391603 days ago1598704539
0xA7327e2F...671C67333
0.00261118 ETH
107556482020-08-29 12:30:321603 days ago1598704232
0xA7327e2F...671C67333
0.5177493 ETH
107556482020-08-29 12:30:321603 days ago1598704232
0xA7327e2F...671C67333
0.5177493 ETH
107546372020-08-29 8:43:241603 days ago1598690604
0xA7327e2F...671C67333
4.29785758 ETH
107546372020-08-29 8:43:241603 days ago1598690604
0xA7327e2F...671C67333
4.29785758 ETH
107421152020-08-27 10:39:391605 days ago1598524779
0xA7327e2F...671C67333
6.20413783 ETH
107421152020-08-27 10:39:391605 days ago1598524779
0xA7327e2F...671C67333
0.00621034 ETH
107421152020-08-27 10:39:391605 days ago1598524779
0xA7327e2F...671C67333
6.21034818 ETH
107392092020-08-26 23:49:241606 days ago1598485764
0xA7327e2F...671C67333
0.00031645 ETH
107392092020-08-26 23:49:241606 days ago1598485764
0xA7327e2F...671C67333
0.06297354 ETH
107287282020-08-25 9:15:501607 days ago1598346950
0xA7327e2F...671C67333
0.02134144 ETH
107287282020-08-25 9:15:501607 days ago1598346950
0xA7327e2F...671C67333
0.00002136 ETH
107287282020-08-25 9:15:501607 days ago1598346950
0xA7327e2F...671C67333
0.0213628 ETH
107285472020-08-25 8:36:501607 days ago1598344610
0xA7327e2F...671C67333
3.92139646 ETH
107285472020-08-25 8:36:501607 days ago1598344610
0xA7327e2F...671C67333
0.00392532 ETH
107285472020-08-25 8:36:501607 days ago1598344610
0xA7327e2F...671C67333
3.92532179 ETH
107246012020-08-24 18:02:411608 days ago1598292161
0xA7327e2F...671C67333
0.0015 ETH
107246012020-08-24 18:02:411608 days ago1598292161
0xA7327e2F...671C67333
0.29849999 ETH
107174402020-08-23 15:35:591609 days ago1598196959
0xA7327e2F...671C67333
0.00374431 ETH
107174402020-08-23 15:35:591609 days ago1598196959
0xA7327e2F...671C67333
0.00000374 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
UniswapTokenSwap

Compiler Version
v0.5.15+commit.6a57276f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-01-15
*/

// File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol

pragma solidity ^0.5.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

// File: openzeppelin-solidity/contracts/math/SafeMath.sol

pragma solidity ^0.5.0;

/**
 * @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.
     *
     * _Available since v2.4.0._
     */
    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.
     *
     * _Available since v2.4.0._
     */
    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.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: openzeppelin-solidity/contracts/utils/Address.sol

pragma solidity ^0.5.5;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * This test is non-exhaustive, and there may be false-negatives: during the
     * execution of a contract's constructor, its address will be reported as
     * not containing 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.
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies in extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        // 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 != 0x0 && codehash != accountHash);
    }

    /**
     * @dev Converts an `address` into `address payable`. Note that this is
     * simply a type cast: the actual underlying value is not changed.
     *
     * _Available since v2.4.0._
     */
    function toPayable(address account) internal pure returns (address payable) {
        return address(uint160(account));
    }

    /**
     * @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].
     *
     * _Available since v2.4.0._
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

// File: openzeppelin-solidity/contracts/token/ERC20/SafeERC20.sol

pragma solidity ^0.5.0;




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

// File: contracts/Interfaces/Uniswap.sol

pragma solidity ^0.5.0;

interface IUniswapFactoryInterface {
  // Public Variables
  // address public exchangeTemplate;
  // uint256 public tokenCount;
  // Create Exchange
  function createExchange(address token) external returns (address exchange);
  // Get Exchange and Token Info
  function getExchange(address token) external view returns (IUniswapExchangeInterface exchange);
  function getToken(address exchange) external view returns (address token);
  function getTokenWithId(uint256 tokenId) external view returns (address token);
  // Never use
  function initializeFactory(address template) external;
}

contract IUniswapExchangeInterface {
  // Address of ERC20 token sold on this exchange
  function tokenAddress() external view returns (address token);
  // Address of Uniswap Factory
  function factoryAddress() external view returns (address factory);
  // Provide Liquidity
  function addLiquidity(uint256 min_liquidity, uint256 max_tokens, uint256 deadline) external payable returns (uint256);
  function removeLiquidity(uint256 amount, uint256 min_eth, uint256 min_tokens, uint256 deadline) external returns (uint256, uint256);
  // Get Prices
  function getEthToTokenInputPrice(uint256 eth_sold) external view returns (uint256 tokens_bought);
  function getEthToTokenOutputPrice(uint256 tokens_bought) external view returns (uint256 eth_sold);
  function getTokenToEthInputPrice(uint256 tokens_sold) external view returns (uint256 eth_bought);
  function getTokenToEthOutputPrice(uint256 eth_bought) external view returns (uint256 tokens_sold);
  // Trade ETH to ERC20
  function ethToTokenSwapInput(uint256 min_tokens, uint256 deadline) external payable returns (uint256  tokens_bought);
  function ethToTokenTransferInput(uint256 min_tokens, uint256 deadline, address recipient) external payable returns (uint256  tokens_bought);
  function ethToTokenSwapOutput(uint256 tokens_bought, uint256 deadline) external payable returns (uint256  eth_sold);
  function ethToTokenTransferOutput(uint256 tokens_bought, uint256 deadline, address recipient) external payable returns (uint256  eth_sold);
  // Trade ERC20 to ETH
  function tokenToEthSwapInput(uint256 tokens_sold, uint256 min_eth, uint256 deadline) external returns (uint256  eth_bought);
  function tokenToEthTransferInput(uint256 tokens_sold, uint256 min_eth, uint256 deadline, address recipient) external returns (uint256  eth_bought);
  function tokenToEthSwapOutput(uint256 eth_bought, uint256 max_tokens, uint256 deadline) external returns (uint256  tokens_sold);
  function tokenToEthTransferOutput(uint256 eth_bought, uint256 max_tokens, uint256 deadline, address recipient) external returns (uint256  tokens_sold);
  // Trade ERC20 to ERC20
  function tokenToTokenSwapInput(uint256 tokens_sold, uint256 min_tokens_bought, uint256 min_eth_bought, uint256 deadline, address token_addr) external returns (uint256  tokens_bought);
  function tokenToTokenTransferInput(uint256 tokens_sold, uint256 min_tokens_bought, uint256 min_eth_bought, uint256 deadline, address recipient, address token_addr) external returns (uint256  tokens_bought);
  function tokenToTokenSwapOutput(uint256 tokens_bought, uint256 max_tokens_sold, uint256 max_eth_sold, uint256 deadline, address token_addr) external returns (uint256  tokens_sold);
  function tokenToTokenTransferOutput(uint256 tokens_bought, uint256 max_tokens_sold, uint256 max_eth_sold, uint256 deadline, address recipient, address token_addr) external returns (uint256  tokens_sold);
  // Trade ERC20 to Custom Pool
  function tokenToExchangeSwapInput(uint256 tokens_sold, uint256 min_tokens_bought, uint256 min_eth_bought, uint256 deadline, address exchange_addr) external returns (uint256  tokens_bought);
  function tokenToExchangeTransferInput(uint256 tokens_sold, uint256 min_tokens_bought, uint256 min_eth_bought, uint256 deadline, address recipient, address exchange_addr) external returns (uint256  tokens_bought);
  function tokenToExchangeSwapOutput(uint256 tokens_bought, uint256 max_tokens_sold, uint256 max_eth_sold, uint256 deadline, address exchange_addr) external returns (uint256  tokens_sold);
  function tokenToExchangeTransferOutput(uint256 tokens_bought, uint256 max_tokens_sold, uint256 max_eth_sold, uint256 deadline, address recipient, address exchange_addr) external returns (uint256  tokens_sold);
  // ERC20 comaptibility for liquidity tokens
//  bytes32 public name;
//  bytes32 public symbol;
//  uint256 public decimals;
//  function transfer(address _to, uint256 _value) external returns (bool);
//  function transferFrom(address _from, address _to, uint256 value) external returns (bool);
//  function approve(address _spender, uint256 _value) external returns (bool);
//  function allowance(address _owner, address _spender) external view returns (uint256);
//  function balanceOf(address _owner) external view returns (uint256);
//  function totalSupply() external view returns (uint256);
//  // Never use
//  function setup(address token_addr) external;
}

// File: contracts/Interfaces/ISafeProxyERC20.sol

pragma solidity ^0.5.0;

/**
 * @dev Interface to be safe with not so good proxy contracts.
 */
interface ISafeProxyERC20 {

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

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

// File: contracts/Library/SafeProxyERC20.sol

pragma solidity ^0.5.0;




library SafeProxyERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeApprove(ISafeProxyERC20 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),
            "SafeProxyERC20: approve from non-zero to non-zero allowance"
        );
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    /**
     * @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(ISafeProxyERC20 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(), "SafeProxyERC20: call to non-contract");

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

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

// File: openzeppelin-solidity/contracts/GSN/Context.sol

pragma solidity ^0.5.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with 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 { }
    // solhint-disable-previous-line no-empty-blocks

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

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

// File: openzeppelin-solidity/contracts/Ownership/Ownable.sol

pragma solidity ^0.5.0;

/**
 * @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.
 *
 * 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 {
        _owner = _msgSender();
        emit OwnershipTransferred(address(0), _owner);
    }

    /**
     * @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(isOwner(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Returns true if the caller is the current owner.
     */
    function isOwner() public view returns (bool) {
        return _msgSender() == _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 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 onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: contracts/Utils/Destructible.sol

pragma solidity >=0.5.0;


/**
 * @title Destructible
 * @dev Base contract that can be destroyed by owner. All funds in contract will be sent to the owner.
 */
contract Destructible is Ownable {
  /**
   * @dev Transfers the current balance to the owner and terminates the contract.
   */
  function destroy() public onlyOwner {
    selfdestruct(address(bytes20(owner())));
  }

  function destroyAndSend(address payable _recipient) public onlyOwner {
    selfdestruct(_recipient);
  }
}

// File: contracts/Utils/Pausable.sol

pragma solidity >=0.4.24;


/**
 * @title Pausable
 * @dev Base contract which allows children to implement an emergency stop mechanism.
 */
contract Pausable is Ownable {
  event Pause();
  event Unpause();

  bool public paused = false;


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

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

  /**
   * @dev called by the owner to pause, triggers stopped state
   */
  function pause() public onlyOwner whenNotPaused {
    paused = true;
    emit Pause();
  }

  /**
   * @dev called by the owner to unpause, returns to normal state
   */
  function unpause() public onlyOwner whenPaused {
    paused = false;
    emit Unpause();
  }
}

// File: openzeppelin-solidity/contracts/token/ERC20/ERC20.sol

pragma solidity ^0.5.0;




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

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view 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 returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public 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 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 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 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 {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _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 {
        require(account != address(0), "ERC20: mint to the zero address");

        _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 {
        require(account != address(0), "ERC20: burn from the zero address");

        _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 {
        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 Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount, "ERC20: burn amount exceeds allowance"));
    }
}

// File: contracts/Utils/Withdrawable.sol

pragma solidity >=0.4.24;




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

  event LogWithdrawToken(
    address indexed _from,
    address indexed _token,
    uint amount
  );

  /**
   * @dev Withdraw asset.
   * @param _tokenAddress Asset to be withdrawed.
   * @return bool.
   */
  function withdrawToken(address _tokenAddress) public onlyOwner {
    uint tokenBalance;
    if (_tokenAddress == ETHER) {
      address self = address(this); // workaround for a possible solidity bug
      tokenBalance = self.balance;
      msg.sender.transfer(tokenBalance);
    } else {
      tokenBalance = ERC20(_tokenAddress).balanceOf(address(this));
      ERC20(_tokenAddress).safeTransfer(msg.sender, tokenBalance);
    }
    emit LogWithdrawToken(msg.sender, _tokenAddress, tokenBalance);
  }

}

// File: contracts/Utils/WithFee.sol

pragma solidity ^0.5.0;





contract WithFee is Ownable {
  using SafeERC20 for IERC20;
  using SafeMath for uint;
  address payable public feeWallet;
  uint public storedSpread;
  uint constant spreadDecimals = 6;
  uint constant spreadUnit = 10 ** spreadDecimals;

  event LogFee(address token, uint amount);

  constructor(address payable _wallet, uint _spread) public {
    require(_wallet != address(0), "_wallet == address(0)");
    require(_spread < spreadUnit, "spread >= spreadUnit");
    feeWallet = _wallet;
    storedSpread = _spread;
  }

  function setFeeWallet(address payable _wallet) external onlyOwner {
    require(_wallet != address(0), "_wallet == address(0)");
    feeWallet = _wallet;
  }

  function setSpread(uint _spread) external onlyOwner {
    storedSpread = _spread;
  }

  function _getFee(uint underlyingTokenTotal) internal view returns(uint) {
    return underlyingTokenTotal.mul(storedSpread).div(spreadUnit);
  }

  function _payFee(address feeToken, uint fee) internal {
    if (fee > 0) {
      if (feeToken == address(0)) {
        feeWallet.transfer(fee);
      } else {
        IERC20(feeToken).safeTransfer(feeWallet, fee);
      }
      emit LogFee(feeToken, fee);
    }
  }

}

// File: contracts/Interfaces/IErc20Swap.sol

pragma solidity >=0.4.0;

interface IErc20Swap {
    function getRate(address src, address dst, uint256 srcAmount) external view returns(uint expectedRate, uint slippageRate);  // real rate = returned value / 1e18
    function swap(address src, uint srcAmount, address dest, uint maxDestAmount, uint minConversionRate) external payable;

    event LogTokenSwap(
        address indexed _userAddress,
        address indexed _userSentTokenAddress,
        uint _userSentTokenAmount,
        address indexed _userReceivedTokenAddress,
        uint _userReceivedTokenAmount
    );
}

// File: contracts/base/NetworkBasedTokenSwap.sol

pragma solidity >=0.5.0;










contract NetworkBasedTokenSwap is Withdrawable, Pausable, Destructible, WithFee, IErc20Swap
{
  using SafeMath for uint;
  using SafeERC20 for IERC20;
  address constant ETHER = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;

  mapping (address => mapping (address => uint)) spreadCustom;

  event UnexpectedIntialBalance(address token, uint amount);

  constructor(
    address payable _wallet,
    uint _spread
  )
    public WithFee(_wallet, _spread)
  {}

  function() external payable {
    // can receive ethers
  }

  // spread value >= spreadUnit means no fee
  function setSpread(address tokenA, address tokenB, uint spread) public onlyOwner {
    uint value = spread > spreadUnit ? spreadUnit : spread;
    spreadCustom[tokenA][tokenB] = value;
    spreadCustom[tokenB][tokenA] = value;
  }

  function getSpread(address tokenA, address tokenB) public view returns(uint) {
    uint value = spreadCustom[tokenA][tokenB];
    if (value == 0) return storedSpread;
    if (value >= spreadUnit) return 0;
    else return value;
  }

  // kyber network style rate
  function getNetworkRate(address src, address dest, uint256 srcAmount) internal view returns(uint expectedRate, uint slippageRate);

  function getRate(address src, address dest, uint256 srcAmount) external view
    returns(uint expectedRate, uint slippageRate)
  {
    (uint256 kExpected, uint256 kSplippage) = getNetworkRate(src, dest, srcAmount);
    uint256 spread = getSpread(src, dest);
    expectedRate = kExpected.mul(spreadUnit - spread).div(spreadUnit);
    slippageRate = kSplippage.mul(spreadUnit - spread).div(spreadUnit);
  }

  function _freeUnexpectedTokens(address token) private {
    uint256 unexpectedBalance = token == ETHER
      ? _myEthBalance().sub(msg.value)
      : ISafeProxyERC20(token).balanceOf(address(this));
    if (unexpectedBalance > 0) {
      _transfer(token, address(bytes20(owner())), unexpectedBalance);
      emit UnexpectedIntialBalance(token, unexpectedBalance);
    }
  }

  function swap(address src, uint srcAmount, address dest, uint maxDestAmount, uint minConversionRate) public payable {
    require(src != dest, "src == dest");
    require(srcAmount > 0, "srcAmount == 0");

    // empty unexpected initial balances
    _freeUnexpectedTokens(src);
    _freeUnexpectedTokens(dest);

    if (src == ETHER) {
      require(msg.value == srcAmount, "msg.value != srcAmount");
    } else {
      require(
        ISafeProxyERC20(src).allowance(msg.sender, address(this)) >= srcAmount,
        "ERC20 allowance < srcAmount"
      );
      // get user's tokens
      IERC20(src).safeTransferFrom(msg.sender, address(this), srcAmount);
    }

    uint256 spread = getSpread(src, dest);

    // calculate the minConversionRate and maxDestAmount keeping in mind the fee
    uint256 adaptedMinRate = minConversionRate.mul(spreadUnit).div(spreadUnit - spread);
    uint256 adaptedMaxDestAmount = maxDestAmount.mul(spreadUnit).div(spreadUnit - spread);
    uint256 destTradedAmount = doNetworkTrade(src, srcAmount, dest, adaptedMaxDestAmount, adaptedMinRate);

    uint256 notTraded = _myBalance(src);
    uint256 srcTradedAmount = srcAmount.sub(notTraded);
    require(srcTradedAmount > 0, "no traded tokens");
    require(
      _myBalance(dest) >= destTradedAmount,
      "No enough dest tokens after trade"
    );
    // pay fee and user
    uint256 toUserAmount = _payFee(dest, destTradedAmount, spread);
    _transfer(dest, msg.sender, toUserAmount);
    // returns not traded tokens if any
    if (notTraded > 0) {
      _transfer(src, msg.sender, notTraded);
    }

    emit LogTokenSwap(
      msg.sender,
      src,
      srcTradedAmount,
      dest,
      toUserAmount
    );
  }

  function doNetworkTrade(address src, uint srcAmount, address dest, uint maxDestAmount, uint minConversionRate) internal returns(uint256);

  function _payFee(address token, uint destTradedAmount, uint spread) private returns(uint256 toUserAmount) {
    uint256 fee = destTradedAmount.mul(spread).div(spreadUnit);
    toUserAmount = destTradedAmount.sub(fee);
    // pay fee
    super._payFee(token == ETHER ? address(0) : token, fee);
  }

  // workaround for a solidity bug
  function _myEthBalance() private view returns(uint256) {
    address self = address(this);
    return self.balance;
  }

  function _myBalance(address token) private returns(uint256) {
    return token == ETHER
      ? _myEthBalance()
      : ISafeProxyERC20(token).balanceOf(address(this));
  }

  function _transfer(address token, address payable recipient, uint256 amount) private {
    if (token == ETHER) {
      recipient.transfer(amount);
    } else {
      IERC20(token).safeTransfer(recipient, amount);
    }
  }

}

// File: openzeppelin-solidity/contracts/token/ERC20/ERC20Detailed.sol

pragma solidity ^0.5.0;


/**
 * @dev Optional functions from the ERC20 standard.
 */
contract ERC20Detailed is IERC20 {
    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for `name`, `symbol`, and `decimals`. All three of
     * these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name, string memory symbol, uint8 decimals) public {
        _name = name;
        _symbol = symbol;
        _decimals = decimals;
    }

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

// File: contracts/Utils/LowLevel.sol

pragma solidity ^0.5.0;

library LowLevel {
  function callContractAddr(address target, bytes memory payload) internal view
    returns (bool success_, address result_)
  {
    (bool success, bytes memory result) = address(target).staticcall(payload);
    if (success && result.length == 32) {
      assembly {
        result_ := mload(add(result,32))
      }
      success_ = true;
    }
  }

  function callContractUint(address target, bytes memory payload) internal view
    returns (bool success_, uint result_)
  {
    (bool success, bytes memory result) = address(target).staticcall(payload);
    if (success && result.length == 32) {
      assembly {
        result_ := mload(add(result,32))
      }
      success_ = true;
    }
  }
}

// File: contracts/Utils/RateNormalization.sol

pragma solidity ^0.5.0;





contract RateNormalization is Ownable {
  using SafeMath for uint;

  struct RateAdjustment {
    uint factor;
    bool multiply;
  }

  mapping (address => mapping(address => RateAdjustment)) public rateAdjustment;
  mapping (address => uint) public forcedDecimals;

  // return normalized rate
  function normalizeRate(address src, address dest, uint256 rate) public view
    returns(uint)
  {
    RateAdjustment memory adj = rateAdjustment[src][dest];
    if (adj.factor == 0) {
      uint srcDecimals = _getDecimals(src);
      uint destDecimals = _getDecimals(dest);
      if (srcDecimals != destDecimals) {
        if (srcDecimals > destDecimals) {
          adj.multiply = true;
          adj.factor = 10 ** (srcDecimals - destDecimals);
        } else {
          adj.multiply = false;
          adj.factor = 10 ** (destDecimals - srcDecimals);
        }
      }
    }
    if (adj.factor > 1) {
      rate = adj.multiply
      ? rate.mul(adj.factor)
      : rate.div(adj.factor);
    }
    return rate;
  }

  function _getDecimals(address token) internal view returns(uint) {
    uint forced = forcedDecimals[token];
    if (forced > 0) return forced;
    bytes memory payload = abi.encodeWithSignature("decimals()");
    (bool success, uint decimals) = LowLevel.callContractUint(token, payload);
    require(success, "the token doesn't expose the decimals number");
    return decimals;
  }

  function setRateAdjustmentFactor(address src, address dest, uint factor, bool multiply) public onlyOwner {
    rateAdjustment[src][dest] = RateAdjustment(factor, multiply);
    rateAdjustment[dest][src] = RateAdjustment(factor, !multiply);
  }

  function setForcedDecimals(address token, uint decimals) public onlyOwner {
    forcedDecimals[token] = decimals;
  }

}

// File: contracts/UniswapTokenSwap.sol

pragma solidity >=0.5.0;









contract UniswapTokenSwap is RateNormalization, NetworkBasedTokenSwap
{
  using SafeMath for uint;
  using SafeERC20 for IERC20;
  using SafeProxyERC20 for ISafeProxyERC20;
  uint constant expScale = 1e18;

  IUniswapFactoryInterface public uniswapFactory;

  mapping (address => address) public exchangeAddressCustom;

  constructor(
    address _uniswapFactory,
    address payable _wallet,
    uint _spread
  )
    public NetworkBasedTokenSwap(_wallet, _spread)
  {
    setForcedDecimals(ETHER, 18);
    setUniswap(_uniswapFactory);
  }

  function setUniswap(address _uniswapFactory) public onlyOwner {
    require(_uniswapFactory != address(0), "_uniswapFactory == address(0)");
    uniswapFactory = IUniswapFactoryInterface(_uniswapFactory);
  }

  function setExchangeCustom(address token, address exchange) public onlyOwner {
    require(token != address(0), "exchange == address(0)");
    exchangeAddressCustom[token] = exchange;
  }

  function _getExchange(address token) private view returns(IUniswapExchangeInterface exchange) {
    address exchangeAddress = exchangeAddressCustom[token];
    exchange = exchangeAddress == address(0) ?
      uniswapFactory.getExchange(token) : IUniswapExchangeInterface(exchangeAddress);
  }

  function _getUniswapRate(address src, address dest, uint srcAmount) private view returns(uint rate, uint destAmount) {
    uint inputAmountB;
    if (src != ETHER) {
      IUniswapExchangeInterface exchangeA = _getExchange(src);
      inputAmountB = exchangeA.getTokenToEthInputPrice(srcAmount);
    } else {
      inputAmountB = srcAmount;
    }
    if (dest != ETHER) {
      IUniswapExchangeInterface exchangeB = _getExchange(dest);
      destAmount = exchangeB.getEthToTokenInputPrice(inputAmountB);
    } else {
      destAmount = inputAmountB;
    }
    rate = destAmount.mul(expScale).div(srcAmount);
  }

  function _calcRate(uint srcAmount, uint destAmount) private pure returns(uint) {
    return destAmount.mul(expScale).div(srcAmount);
  }

  function getNetworkRate(address src, address dest, uint256 srcAmount) internal view
    returns(uint expectedRate, uint slippageRate)
  {
    (uint rate, ) = _getUniswapRate(src, dest, srcAmount);
    uint normalizedRate = normalizeRate(src, dest, rate);
    return (normalizedRate, normalizedRate);
  }

  function _approveWithReset(address token, address spender, uint amount) private {
    if (ISafeProxyERC20(token).allowance(address(this), spender) > 0) {
      ISafeProxyERC20(token).safeApprove(spender, 0);
    }
    ISafeProxyERC20(token).safeApprove(spender, amount);
  }

  function doNetworkTrade(address src, uint srcAmount, address dest, uint maxDestAmount, uint minConversionRate)
    internal returns(uint256)
  {
    (uint rate, uint destAmount) = _getUniswapRate(src, dest, srcAmount);
    uint toTradeAmount = destAmount > maxDestAmount
      ? maxDestAmount.mul(expScale).div(rate)
      : srcAmount;

    uint tradedEthers;
    if (src != ETHER) {
      IUniswapExchangeInterface exchangeA = _getExchange(src);
      _approveWithReset(src, address(exchangeA), toTradeAmount);
      tradedEthers = exchangeA.tokenToEthSwapInput(toTradeAmount, 1, block.timestamp);
    } else {
      tradedEthers = toTradeAmount;
    }

    uint finalDestAmount;
    if (dest != ETHER) {
      IUniswapExchangeInterface exchangeB = _getExchange(dest);
      finalDestAmount = exchangeB.ethToTokenSwapInput.value(tradedEthers)(1, block.timestamp);
    } else {
      finalDestAmount = tradedEthers;
    }
    require(normalizeRate(src, dest, _calcRate(toTradeAmount, finalDestAmount)) >= minConversionRate, "cannot satisfy minConversionRate");
    return finalDestAmount;
  }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_uniswapFactory","type":"address"},{"internalType":"address payable","name":"_wallet","type":"address"},{"internalType":"uint256","name":"_spread","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"LogFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_userAddress","type":"address"},{"indexed":true,"internalType":"address","name":"_userSentTokenAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"_userSentTokenAmount","type":"uint256"},{"indexed":true,"internalType":"address","name":"_userReceivedTokenAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"_userReceivedTokenAmount","type":"uint256"}],"name":"LogTokenSwap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"address","name":"_token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"LogWithdrawToken","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":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"UnexpectedIntialBalance","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":false,"inputs":[],"name":"destroy","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address payable","name":"_recipient","type":"address"}],"name":"destroyAndSend","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"exchangeAddressCustom","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"feeWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"forcedDecimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dest","type":"address"},{"internalType":"uint256","name":"srcAmount","type":"uint256"}],"name":"getRate","outputs":[{"internalType":"uint256","name":"expectedRate","type":"uint256"},{"internalType":"uint256","name":"slippageRate","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"}],"name":"getSpread","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dest","type":"address"},{"internalType":"uint256","name":"rate","type":"uint256"}],"name":"normalizeRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"rateAdjustment","outputs":[{"internalType":"uint256","name":"factor","type":"uint256"},{"internalType":"bool","name":"multiply","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"exchange","type":"address"}],"name":"setExchangeCustom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address payable","name":"_wallet","type":"address"}],"name":"setFeeWallet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"decimals","type":"uint256"}],"name":"setForcedDecimals","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dest","type":"address"},{"internalType":"uint256","name":"factor","type":"uint256"},{"internalType":"bool","name":"multiply","type":"bool"}],"name":"setRateAdjustmentFactor","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"},{"internalType":"uint256","name":"spread","type":"uint256"}],"name":"setSpread","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_spread","type":"uint256"}],"name":"setSpread","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_uniswapFactory","type":"address"}],"name":"setUniswap","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"storedSpread","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"uint256","name":"srcAmount","type":"uint256"},{"internalType":"address","name":"dest","type":"address"},{"internalType":"uint256","name":"maxDestAmount","type":"uint256"},{"internalType":"uint256","name":"minConversionRate","type":"uint256"}],"name":"swap","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"uniswapFactory","outputs":[{"internalType":"contract IUniswapFactoryInterface","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"}],"name":"withdrawToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

60806040526003805460ff191690553480156200001b57600080fd5b5060405162002d6138038062002d61833981810160405260608110156200004157600080fd5b508051602082015160409092015190919081818181620000696001600160e01b03620001d916565b600080546001600160a01b0319166001600160a01b03928316178082556040519216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a36001600160a01b0382166200010d576040805162461bcd60e51b815260206004820152601560248201527f5f77616c6c6574203d3d20616464726573732830290000000000000000000000604482015290519081900360640190fd5b620f4240811062000165576040805162461bcd60e51b815260206004820152601460248201527f737072656164203e3d20737072656164556e6974000000000000000000000000604482015290519081900360640190fd5b600380546001600160a01b0390931661010002610100600160a81b03199093169290921790915560045550620001bc905073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee60126001600160e01b03620001dd16565b620001d0836001600160e01b036200024d16565b5050506200034e565b3390565b620001f06001600160e01b036200031f16565b62000231576040805162461bcd60e51b8152602060048201819052602482015260008051602062002d41833981519152604482015290519081900360640190fd5b6001600160a01b03909116600090815260026020526040902055565b620002606001600160e01b036200031f16565b620002a1576040805162461bcd60e51b8152602060048201819052602482015260008051602062002d41833981519152604482015290519081900360640190fd5b6001600160a01b038116620002fd576040805162461bcd60e51b815260206004820152601d60248201527f5f756e6973776170466163746f7279203d3d2061646472657373283029000000604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600080546001600160a01b03166200033f6001600160e01b03620001d916565b6001600160a01b031614905090565b6129e3806200035e6000396000f3fe60806040526004361061019c5760003560e01c80638f32d59b116100ec578063c24b074f1161008a578063f25f4b5611610064578063f25f4b5614610621578063f2fde38b14610636578063f5074f4114610669578063f97c6f841461069c5761019c565b8063c24b074f14610559578063ce057dbc14610592578063e56c174b146105c55761019c565b8063986602b5116100c6578063986602b51461047e5780639dd47332146104c1578063b66a261c146104f4578063bbe9cb541461051e5761019c565b80638f32d59b146103eb57806390d49b9d146104005780639801132f146104335761019c565b806375ead459116101595780638947606911610133578063894760691461033f5780638bdb2afa146103725780638da5cb5b146103a35780638efecdda146103b85761019c565b806375ead459146102c857806383197ef0146103155780638456cb591461032a5761019c565b80633f4ba83a1461019e57806345db5034146101b35780635c975abb146101f65780635e75228f1461021f57806370fbff241461025f578063715018a6146102b3575b005b3480156101aa57600080fd5b5061019c6106b1565b3480156101bf57600080fd5b5061019c600480360360608110156101d657600080fd5b506001600160a01b03813581169160208101359091169060400135610784565b34801561020257600080fd5b5061020b610823565b604080519115158252519081900360200190f35b61019c600480360360a081101561023557600080fd5b506001600160a01b038135811691602081013591604082013516906060810135906080013561082c565b34801561026b57600080fd5b5061029a6004803603604081101561028257600080fd5b506001600160a01b0381358116916020013516610bec565b6040805192835290151560208301528051918290030190f35b3480156102bf57600080fd5b5061019c610c10565b3480156102d457600080fd5b50610303600480360360408110156102eb57600080fd5b506001600160a01b0381358116916020013516610ca1565b60408051918252519081900360200190f35b34801561032157600080fd5b5061019c610cf5565b34801561033657600080fd5b5061019c610d4f565b34801561034b57600080fd5b5061019c6004803603602081101561036257600080fd5b50356001600160a01b0316610e1f565b34801561037e57600080fd5b50610387610f81565b604080516001600160a01b039092168252519081900360200190f35b3480156103af57600080fd5b50610387610f90565b3480156103c457600080fd5b5061019c600480360360208110156103db57600080fd5b50356001600160a01b0316610f9f565b3480156103f757600080fd5b5061020b611063565b34801561040c57600080fd5b5061019c6004803603602081101561042357600080fd5b50356001600160a01b0316611087565b34801561043f57600080fd5b5061019c6004803603608081101561045657600080fd5b506001600160a01b038135811691602081013590911690604081013590606001351515611149565b34801561048a57600080fd5b50610303600480360360608110156104a157600080fd5b506001600160a01b0381358116916020810135909116906040013561121f565b3480156104cd57600080fd5b50610387600480360360208110156104e457600080fd5b50356001600160a01b031661130c565b34801561050057600080fd5b5061019c6004803603602081101561051757600080fd5b5035611327565b34801561052a57600080fd5b5061019c6004803603604081101561054157600080fd5b506001600160a01b0381358116916020013516611373565b34801561056557600080fd5b5061019c6004803603604081101561057c57600080fd5b506001600160a01b03813516906020013561143c565b34801561059e57600080fd5b50610303600480360360208110156105b557600080fd5b50356001600160a01b031661149f565b3480156105d157600080fd5b50610608600480360360608110156105e857600080fd5b506001600160a01b038135811691602081013590911690604001356114b1565b6040805192835260208301919091528051918290030190f35b34801561062d57600080fd5b50610387611515565b34801561064257600080fd5b5061019c6004803603602081101561065957600080fd5b50356001600160a01b0316611529565b34801561067557600080fd5b5061019c6004803603602081101561068c57600080fd5b50356001600160a01b031661157c565b3480156106a857600080fd5b506103036115cf565b6106b9611063565b6106f8576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b60035460ff1661074f576040805162461bcd60e51b815260206004820152601a60248201527f54686520636f6e7472616374206973206e6f7420706175736564000000000000604482015290519081900360640190fd5b6003805460ff191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b61078c611063565b6107cb576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b6000620f424082116107dd57816107e2565b620f42405b6001600160a01b0394851660008181526005602081815260408084209890991683529687528782208490558652868120918152945293909220929092555050565b60035460ff1681565b826001600160a01b0316856001600160a01b03161415610881576040805162461bcd60e51b815260206004820152600b60248201526a1cdc98c80f4f4819195cdd60aa1b604482015290519081900360640190fd5b600084116108c7576040805162461bcd60e51b815260206004820152600e60248201526d0737263416d6f756e74203d3d20360941b604482015290519081900360640190fd5b6108d0856115d5565b6108d9836115d5565b6001600160a01b03851673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14156109505783341461094b576040805162461bcd60e51b81526020600482015260166024820152751b5cd9cb9d985b1d5948084f481cdc98d05b5bdd5b9d60521b604482015290519081900360640190fd5b610a3b565b60408051636eb1769f60e11b8152336004820152306024820152905185916001600160a01b0388169163dd62ed3e916044808201926020929091908290030181600087803b1580156109a157600080fd5b505af11580156109b5573d6000803e3d6000fd5b505050506040513d60208110156109cb57600080fd5b50511015610a20576040805162461bcd60e51b815260206004820152601b60248201527f455243323020616c6c6f77616e6365203c20737263416d6f756e740000000000604482015290519081900360640190fd5b610a3b6001600160a01b03861633308763ffffffff6116f816565b6000610a478685610ca1565b90506000610a73620f424083810390610a6790869063ffffffff61175816565b9063ffffffff6117b116565b90506000610a93620f424084810390610a6790889063ffffffff61175816565b90506000610aa489898985876117f3565b90506000610ab18a611a31565b90506000610ac58a8363ffffffff611ae016565b905060008111610b0f576040805162461bcd60e51b815260206004820152601060248201526f6e6f2074726164656420746f6b656e7360801b604482015290519081900360640190fd5b82610b198a611a31565b1015610b565760405162461bcd60e51b81526004018080602001828103825260218152602001806128b56021913960400191505060405180910390fd5b6000610b638a8589611b22565b9050610b708a3383611b8e565b8215610b8157610b818c3385611b8e565b896001600160a01b03168c6001600160a01b0316336001600160a01b03167f3ec01f4da9d8c31a1cdb8e6e7231364ba5ef0850b01daaa44a9f126f920693c68585604051808381526020018281526020019250505060405180910390a4505050505050505050505050565b60016020818152600093845260408085209091529183529120805491015460ff1682565b610c18611063565b610c57576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6001600160a01b03808316600090815260056020908152604080832093851683529290529081205480610cd8575050600454610cef565b620f42408110610cec576000915050610cef565b90505b92915050565b610cfd611063565b610d3c576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b610d44610f90565b6001600160a01b0316ff5b610d57611063565b610d96576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b60035460ff1615610de7576040805162461bcd60e51b8152602060048201526016602482015275151a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b604482015290519081900360640190fd5b6003805460ff191660011790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b610e27611063565b610e66576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b60006001600160a01b038216610eaf575060405130803191339083156108fc029084906000818181858888f19350505050158015610ea8573d6000803e3d6000fd5b5050610f3d565b604080516370a0823160e01b815230600482015290516001600160a01b038416916370a08231916024808301926020929190829003018186803b158015610ef557600080fd5b505afa158015610f09573d6000803e3d6000fd5b505050506040513d6020811015610f1f57600080fd5b50519050610f3d6001600160a01b038316338363ffffffff611c0e16565b6040805182815290516001600160a01b0384169133917f46ae78bc7b198b8b534ca0070d125569ac5f955976841c4343223079f3abf0de9181900360200190a35050565b6006546001600160a01b031681565b6000546001600160a01b031690565b610fa7611063565b610fe6576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b6001600160a01b038116611041576040805162461bcd60e51b815260206004820152601d60248201527f5f756e6973776170466163746f7279203d3d2061646472657373283029000000604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600080546001600160a01b0316611078611c60565b6001600160a01b031614905090565b61108f611063565b6110ce576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b6001600160a01b038116611121576040805162461bcd60e51b81526020600482015260156024820152745f77616c6c6574203d3d206164647265737328302960581b604482015290519081900360640190fd5b600380546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b611151611063565b611190576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b6040805180820182528381529115801560208085019182526001600160a01b039788166000818152600180845286822099909a16808252988352858120965187559251958901805496151560ff19978816179055845180860186529687528682019384529682528781528382209682529590955293209151825591519201805492151592909116919091179055565b6000611229612806565b506001600160a01b0380851660009081526001602081815260408084209488168452938152918390208351808501909452805480855291015460ff161515918301919091526112c257600061127d86611c64565b9050600061128a86611c64565b90508082146112bf57808211156112af5760016020840152808203600a0a83526112bf565b60006020840152818103600a0a83525b50505b8051600110156113035780602001516112ed5780516112e890849063ffffffff6117b116565b611300565b805161130090849063ffffffff61175816565b92505b50909392505050565b6007602052600090815260409020546001600160a01b031681565b61132f611063565b61136e576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b600455565b61137b611063565b6113ba576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b6001600160a01b03821661140e576040805162461bcd60e51b815260206004820152601660248201527565786368616e6765203d3d206164647265737328302960501b604482015290519081900360640190fd5b6001600160a01b03918216600090815260076020526040902080546001600160a01b03191691909216179055565b611444611063565b611483576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b6001600160a01b03909116600090815260026020526040902055565b60026020526000908152604090205481565b6000806000806114c2878787611d09565b9150915060006114d28888610ca1565b90506114ed620f4240610a678584830363ffffffff61175816565b9450611508620f4240610a678484830363ffffffff61175816565b9350505050935093915050565b60035461010090046001600160a01b031681565b611531611063565b611570576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b61157981611d36565b50565b611584611063565b6115c3576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b806001600160a01b0316ff5b60045481565b60006001600160a01b03821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1461167457604080516370a0823160e01b815230600482015290516001600160a01b038416916370a082319160248083019260209291908290030181600087803b15801561164357600080fd5b505af1158015611657573d6000803e3d6000fd5b505050506040513d602081101561166d57600080fd5b505161168c565b61168c34611680611dd6565b9063ffffffff611ae016565b905080156116f4576116af826116a0610f90565b6001600160a01b031683611b8e565b604080516001600160a01b03841681526020810183905281517f53189a8ce98afbf89498c735cf6b58ad2708c8a3a12b6f077bd4f3313dced7a9929181900390910190a15b5050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611752908590611ddb565b50505050565b60008261176757506000610cef565b8282028284828161177457fe5b0414610cec5760405162461bcd60e51b81526004018080602001828103825260218152602001806128946021913960400191505060405180910390fd5b6000610cec83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611f93565b6000806000611803888789612035565b9150915060008582116118165787611832565b61183283610a6788670de0b6b3a764000063ffffffff61175816565b905060006001600160a01b038a1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146118fd5760006118658b6121bb565b90506118728b8285612265565b604080516395e3c50b60e01b8152600481018590526001602482015242604482015290516001600160a01b038316916395e3c50b9160648083019260209291908290030181600087803b1580156118c857600080fd5b505af11580156118dc573d6000803e3d6000fd5b505050506040513d60208110156118f257600080fd5b505191506119009050565b50805b60006001600160a01b03891673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146119b85760006119318a6121bb565b9050806001600160a01b031663f39b5b9b846001426040518463ffffffff1660e01b815260040180838152602001828152602001925050506020604051808303818588803b15801561198257600080fd5b505af1158015611996573d6000803e3d6000fd5b50505050506040513d60208110156119ad57600080fd5b505191506119bb9050565b50805b866119d08c8b6119cb878661231e565b61121f565b1015611a23576040805162461bcd60e51b815260206004820181905260248201527f63616e6e6f742073617469736679206d696e436f6e76657273696f6e52617465604482015290519081900360640190fd5b9a9950505050505050505050565b60006001600160a01b03821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14611ad057604080516370a0823160e01b815230600482015290516001600160a01b038416916370a082319160248083019260209291908290030181600087803b158015611a9f57600080fd5b505af1158015611ab3573d6000803e3d6000fd5b505050506040513d6020811015611ac957600080fd5b5051611ad8565b611ad8611dd6565b90505b919050565b6000610cec83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061233c565b600080611b3c620f4240610a67868663ffffffff61175816565b9050611b4e848263ffffffff611ae016565b9150611b866001600160a01b03861673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14611b7d5785611b80565b60005b82612396565b509392505050565b6001600160a01b03831673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415611bef576040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015611be9573d6000803e3d6000fd5b50611c09565b611c096001600160a01b038416838363ffffffff611c0e16565b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611c09908490611ddb565b3390565b6001600160a01b0381166000908152600260205260408120548015611c8a579050611adb565b6040805160048152602481019091526020810180516001600160e01b031663313ce56760e01b179052600080611cc0868461245b565b9150915081611d005760405162461bcd60e51b815260040180806020018281038252602c815260200180612868602c913960400191505060405180910390fd5b95945050505050565b6000806000611d19868686612035565b5090506000611d2987878461121f565b9788975095505050505050565b6001600160a01b038116611d7b5760405162461bcd60e51b815260040180806020018281038252602681526020018061281e6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b303190565b611ded826001600160a01b031661252e565b611e3e576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310611e7c5780518252601f199092019160209182019101611e5d565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611ede576040519150601f19603f3d011682016040523d82523d6000602084013e611ee3565b606091505b509150915081611f3a576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b80511561175257808060200190516020811015611f5657600080fd5b50516117525760405162461bcd60e51b815260040180806020018281038252602a815260200180612985602a913960400191505060405180910390fd5b6000818361201f5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611fe4578181015183820152602001611fcc565b50505050905090810190601f1680156120115780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161202b57fe5b0495945050505050565b600080806001600160a01b03861673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146120e3576000612068876121bb565b9050806001600160a01b03166395b68fe7866040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156120ae57600080fd5b505afa1580156120c2573d6000803e3d6000fd5b505050506040513d60208110156120d857600080fd5b505191506120e69050565b50825b6001600160a01b03851673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14612190576000612115866121bb565b9050806001600160a01b031663cd7724c3836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561215b57600080fd5b505afa15801561216f573d6000803e3d6000fd5b505050506040513d602081101561218557600080fd5b505192506121949050565b8091505b6121b084610a6784670de0b6b3a764000063ffffffff61175816565b925050935093915050565b6001600160a01b0380821660009081526007602052604081205490911680156121e4578061225e565b600654604080516303795fb160e11b81526001600160a01b038681166004830152915191909216916306f2bf62916024808301926020929190829003018186803b15801561223157600080fd5b505afa158015612245573d6000803e3d6000fd5b505050506040513d602081101561225b57600080fd5b50515b9392505050565b60408051636eb1769f60e11b81523060048201526001600160a01b038481166024830152915160009286169163dd62ed3e91604480830192602092919082900301818787803b1580156122b757600080fd5b505af11580156122cb573d6000803e3d6000fd5b505050506040513d60208110156122e157600080fd5b50511115612304576123046001600160a01b03841683600063ffffffff61256a16565b611c096001600160a01b038416838363ffffffff61256a16565b6000610cec83610a6784670de0b6b3a764000063ffffffff61175816565b6000818484111561238e5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611fe4578181015183820152602001611fcc565b505050900390565b80156116f4576001600160a01b0382166123ee576003546040516101009091046001600160a01b0316906108fc8315029083906000818181858888f193505050501580156123e8573d6000803e3d6000fd5b50612413565b600354612413906001600160a01b03848116916101009004168363ffffffff611c0e16565b604080516001600160a01b03841681526020810183905281517f1cdf74906ad7d5c402e19a20dbe986befe937e6768a0722bdb18918cdba45c4a929181900390910190a15050565b60008060006060856001600160a01b0316856040518082805190602001908083835b6020831061249c5780518252601f19909201916020918201910161247d565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d80600081146124fc576040519150601f19603f3d011682016040523d82523d6000602084013e612501565b606091505b5091509150818015612514575080516020145b156125255760208101519250600193505b50509250929050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081158015906125625750808214155b949350505050565b8015806125f2575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e916044808201926020929091908290030181600087803b1580156125c457600080fd5b505af11580156125d8573d6000803e3d6000fd5b505050506040513d60208110156125ee57600080fd5b5051155b61262d5760405162461bcd60e51b815260040180806020018281038252603b8152602001806128f6603b913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611c0990849061268c826001600160a01b031661252e565b6126c75760405162461bcd60e51b81526004018080602001828103825260248152602001806128446024913960400191505060405180910390fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106127055780518252601f1990920191602091820191016126e6565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612767576040519150601f19603f3d011682016040523d82523d6000602084013e61276c565b606091505b5091509150816127ad5760405162461bcd60e51b81526004018080602001828103825260258152602001806129606025913960400191505060405180910390fd5b805115611752578080602001905160208110156127c957600080fd5b50516117525760405162461bcd60e51b815260040180806020018281038252602f815260200180612931602f913960400191505060405180910390fd5b60408051808201909152600080825260208201529056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735361666550726f787945524332303a2063616c6c20746f206e6f6e2d636f6e747261637474686520746f6b656e20646f65736e2774206578706f73652074686520646563696d616c73206e756d626572536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774e6f20656e6f756768206465737420746f6b656e732061667465722074726164654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666550726f787945524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e63655361666550726f787945524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666550726f787945524332303a206c6f772d6c6576656c2063616c6c206661696c65645361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a723158208bbd7a675422bc375f7064f25d08678bee30692d04c20622e00faafcc288cc6564736f6c634300050f00324f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572000000000000000000000000c0a47dfe034b400b47bdad5fecda2621de6c4d950000000000000000000000009b45193131d6129a742b91778482b618c1764e4600000000000000000000000000000000000000000000000000000000000003e8

Deployed Bytecode

0x60806040526004361061019c5760003560e01c80638f32d59b116100ec578063c24b074f1161008a578063f25f4b5611610064578063f25f4b5614610621578063f2fde38b14610636578063f5074f4114610669578063f97c6f841461069c5761019c565b8063c24b074f14610559578063ce057dbc14610592578063e56c174b146105c55761019c565b8063986602b5116100c6578063986602b51461047e5780639dd47332146104c1578063b66a261c146104f4578063bbe9cb541461051e5761019c565b80638f32d59b146103eb57806390d49b9d146104005780639801132f146104335761019c565b806375ead459116101595780638947606911610133578063894760691461033f5780638bdb2afa146103725780638da5cb5b146103a35780638efecdda146103b85761019c565b806375ead459146102c857806383197ef0146103155780638456cb591461032a5761019c565b80633f4ba83a1461019e57806345db5034146101b35780635c975abb146101f65780635e75228f1461021f57806370fbff241461025f578063715018a6146102b3575b005b3480156101aa57600080fd5b5061019c6106b1565b3480156101bf57600080fd5b5061019c600480360360608110156101d657600080fd5b506001600160a01b03813581169160208101359091169060400135610784565b34801561020257600080fd5b5061020b610823565b604080519115158252519081900360200190f35b61019c600480360360a081101561023557600080fd5b506001600160a01b038135811691602081013591604082013516906060810135906080013561082c565b34801561026b57600080fd5b5061029a6004803603604081101561028257600080fd5b506001600160a01b0381358116916020013516610bec565b6040805192835290151560208301528051918290030190f35b3480156102bf57600080fd5b5061019c610c10565b3480156102d457600080fd5b50610303600480360360408110156102eb57600080fd5b506001600160a01b0381358116916020013516610ca1565b60408051918252519081900360200190f35b34801561032157600080fd5b5061019c610cf5565b34801561033657600080fd5b5061019c610d4f565b34801561034b57600080fd5b5061019c6004803603602081101561036257600080fd5b50356001600160a01b0316610e1f565b34801561037e57600080fd5b50610387610f81565b604080516001600160a01b039092168252519081900360200190f35b3480156103af57600080fd5b50610387610f90565b3480156103c457600080fd5b5061019c600480360360208110156103db57600080fd5b50356001600160a01b0316610f9f565b3480156103f757600080fd5b5061020b611063565b34801561040c57600080fd5b5061019c6004803603602081101561042357600080fd5b50356001600160a01b0316611087565b34801561043f57600080fd5b5061019c6004803603608081101561045657600080fd5b506001600160a01b038135811691602081013590911690604081013590606001351515611149565b34801561048a57600080fd5b50610303600480360360608110156104a157600080fd5b506001600160a01b0381358116916020810135909116906040013561121f565b3480156104cd57600080fd5b50610387600480360360208110156104e457600080fd5b50356001600160a01b031661130c565b34801561050057600080fd5b5061019c6004803603602081101561051757600080fd5b5035611327565b34801561052a57600080fd5b5061019c6004803603604081101561054157600080fd5b506001600160a01b0381358116916020013516611373565b34801561056557600080fd5b5061019c6004803603604081101561057c57600080fd5b506001600160a01b03813516906020013561143c565b34801561059e57600080fd5b50610303600480360360208110156105b557600080fd5b50356001600160a01b031661149f565b3480156105d157600080fd5b50610608600480360360608110156105e857600080fd5b506001600160a01b038135811691602081013590911690604001356114b1565b6040805192835260208301919091528051918290030190f35b34801561062d57600080fd5b50610387611515565b34801561064257600080fd5b5061019c6004803603602081101561065957600080fd5b50356001600160a01b0316611529565b34801561067557600080fd5b5061019c6004803603602081101561068c57600080fd5b50356001600160a01b031661157c565b3480156106a857600080fd5b506103036115cf565b6106b9611063565b6106f8576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b60035460ff1661074f576040805162461bcd60e51b815260206004820152601a60248201527f54686520636f6e7472616374206973206e6f7420706175736564000000000000604482015290519081900360640190fd5b6003805460ff191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b61078c611063565b6107cb576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b6000620f424082116107dd57816107e2565b620f42405b6001600160a01b0394851660008181526005602081815260408084209890991683529687528782208490558652868120918152945293909220929092555050565b60035460ff1681565b826001600160a01b0316856001600160a01b03161415610881576040805162461bcd60e51b815260206004820152600b60248201526a1cdc98c80f4f4819195cdd60aa1b604482015290519081900360640190fd5b600084116108c7576040805162461bcd60e51b815260206004820152600e60248201526d0737263416d6f756e74203d3d20360941b604482015290519081900360640190fd5b6108d0856115d5565b6108d9836115d5565b6001600160a01b03851673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14156109505783341461094b576040805162461bcd60e51b81526020600482015260166024820152751b5cd9cb9d985b1d5948084f481cdc98d05b5bdd5b9d60521b604482015290519081900360640190fd5b610a3b565b60408051636eb1769f60e11b8152336004820152306024820152905185916001600160a01b0388169163dd62ed3e916044808201926020929091908290030181600087803b1580156109a157600080fd5b505af11580156109b5573d6000803e3d6000fd5b505050506040513d60208110156109cb57600080fd5b50511015610a20576040805162461bcd60e51b815260206004820152601b60248201527f455243323020616c6c6f77616e6365203c20737263416d6f756e740000000000604482015290519081900360640190fd5b610a3b6001600160a01b03861633308763ffffffff6116f816565b6000610a478685610ca1565b90506000610a73620f424083810390610a6790869063ffffffff61175816565b9063ffffffff6117b116565b90506000610a93620f424084810390610a6790889063ffffffff61175816565b90506000610aa489898985876117f3565b90506000610ab18a611a31565b90506000610ac58a8363ffffffff611ae016565b905060008111610b0f576040805162461bcd60e51b815260206004820152601060248201526f6e6f2074726164656420746f6b656e7360801b604482015290519081900360640190fd5b82610b198a611a31565b1015610b565760405162461bcd60e51b81526004018080602001828103825260218152602001806128b56021913960400191505060405180910390fd5b6000610b638a8589611b22565b9050610b708a3383611b8e565b8215610b8157610b818c3385611b8e565b896001600160a01b03168c6001600160a01b0316336001600160a01b03167f3ec01f4da9d8c31a1cdb8e6e7231364ba5ef0850b01daaa44a9f126f920693c68585604051808381526020018281526020019250505060405180910390a4505050505050505050505050565b60016020818152600093845260408085209091529183529120805491015460ff1682565b610c18611063565b610c57576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6001600160a01b03808316600090815260056020908152604080832093851683529290529081205480610cd8575050600454610cef565b620f42408110610cec576000915050610cef565b90505b92915050565b610cfd611063565b610d3c576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b610d44610f90565b6001600160a01b0316ff5b610d57611063565b610d96576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b60035460ff1615610de7576040805162461bcd60e51b8152602060048201526016602482015275151a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b604482015290519081900360640190fd5b6003805460ff191660011790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b610e27611063565b610e66576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b60006001600160a01b038216610eaf575060405130803191339083156108fc029084906000818181858888f19350505050158015610ea8573d6000803e3d6000fd5b5050610f3d565b604080516370a0823160e01b815230600482015290516001600160a01b038416916370a08231916024808301926020929190829003018186803b158015610ef557600080fd5b505afa158015610f09573d6000803e3d6000fd5b505050506040513d6020811015610f1f57600080fd5b50519050610f3d6001600160a01b038316338363ffffffff611c0e16565b6040805182815290516001600160a01b0384169133917f46ae78bc7b198b8b534ca0070d125569ac5f955976841c4343223079f3abf0de9181900360200190a35050565b6006546001600160a01b031681565b6000546001600160a01b031690565b610fa7611063565b610fe6576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b6001600160a01b038116611041576040805162461bcd60e51b815260206004820152601d60248201527f5f756e6973776170466163746f7279203d3d2061646472657373283029000000604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600080546001600160a01b0316611078611c60565b6001600160a01b031614905090565b61108f611063565b6110ce576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b6001600160a01b038116611121576040805162461bcd60e51b81526020600482015260156024820152745f77616c6c6574203d3d206164647265737328302960581b604482015290519081900360640190fd5b600380546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b611151611063565b611190576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b6040805180820182528381529115801560208085019182526001600160a01b039788166000818152600180845286822099909a16808252988352858120965187559251958901805496151560ff19978816179055845180860186529687528682019384529682528781528382209682529590955293209151825591519201805492151592909116919091179055565b6000611229612806565b506001600160a01b0380851660009081526001602081815260408084209488168452938152918390208351808501909452805480855291015460ff161515918301919091526112c257600061127d86611c64565b9050600061128a86611c64565b90508082146112bf57808211156112af5760016020840152808203600a0a83526112bf565b60006020840152818103600a0a83525b50505b8051600110156113035780602001516112ed5780516112e890849063ffffffff6117b116565b611300565b805161130090849063ffffffff61175816565b92505b50909392505050565b6007602052600090815260409020546001600160a01b031681565b61132f611063565b61136e576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b600455565b61137b611063565b6113ba576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b6001600160a01b03821661140e576040805162461bcd60e51b815260206004820152601660248201527565786368616e6765203d3d206164647265737328302960501b604482015290519081900360640190fd5b6001600160a01b03918216600090815260076020526040902080546001600160a01b03191691909216179055565b611444611063565b611483576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b6001600160a01b03909116600090815260026020526040902055565b60026020526000908152604090205481565b6000806000806114c2878787611d09565b9150915060006114d28888610ca1565b90506114ed620f4240610a678584830363ffffffff61175816565b9450611508620f4240610a678484830363ffffffff61175816565b9350505050935093915050565b60035461010090046001600160a01b031681565b611531611063565b611570576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b61157981611d36565b50565b611584611063565b6115c3576040805162461bcd60e51b815260206004820181905260248201526000805160206128d6833981519152604482015290519081900360640190fd5b806001600160a01b0316ff5b60045481565b60006001600160a01b03821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1461167457604080516370a0823160e01b815230600482015290516001600160a01b038416916370a082319160248083019260209291908290030181600087803b15801561164357600080fd5b505af1158015611657573d6000803e3d6000fd5b505050506040513d602081101561166d57600080fd5b505161168c565b61168c34611680611dd6565b9063ffffffff611ae016565b905080156116f4576116af826116a0610f90565b6001600160a01b031683611b8e565b604080516001600160a01b03841681526020810183905281517f53189a8ce98afbf89498c735cf6b58ad2708c8a3a12b6f077bd4f3313dced7a9929181900390910190a15b5050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611752908590611ddb565b50505050565b60008261176757506000610cef565b8282028284828161177457fe5b0414610cec5760405162461bcd60e51b81526004018080602001828103825260218152602001806128946021913960400191505060405180910390fd5b6000610cec83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611f93565b6000806000611803888789612035565b9150915060008582116118165787611832565b61183283610a6788670de0b6b3a764000063ffffffff61175816565b905060006001600160a01b038a1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146118fd5760006118658b6121bb565b90506118728b8285612265565b604080516395e3c50b60e01b8152600481018590526001602482015242604482015290516001600160a01b038316916395e3c50b9160648083019260209291908290030181600087803b1580156118c857600080fd5b505af11580156118dc573d6000803e3d6000fd5b505050506040513d60208110156118f257600080fd5b505191506119009050565b50805b60006001600160a01b03891673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146119b85760006119318a6121bb565b9050806001600160a01b031663f39b5b9b846001426040518463ffffffff1660e01b815260040180838152602001828152602001925050506020604051808303818588803b15801561198257600080fd5b505af1158015611996573d6000803e3d6000fd5b50505050506040513d60208110156119ad57600080fd5b505191506119bb9050565b50805b866119d08c8b6119cb878661231e565b61121f565b1015611a23576040805162461bcd60e51b815260206004820181905260248201527f63616e6e6f742073617469736679206d696e436f6e76657273696f6e52617465604482015290519081900360640190fd5b9a9950505050505050505050565b60006001600160a01b03821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14611ad057604080516370a0823160e01b815230600482015290516001600160a01b038416916370a082319160248083019260209291908290030181600087803b158015611a9f57600080fd5b505af1158015611ab3573d6000803e3d6000fd5b505050506040513d6020811015611ac957600080fd5b5051611ad8565b611ad8611dd6565b90505b919050565b6000610cec83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061233c565b600080611b3c620f4240610a67868663ffffffff61175816565b9050611b4e848263ffffffff611ae016565b9150611b866001600160a01b03861673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14611b7d5785611b80565b60005b82612396565b509392505050565b6001600160a01b03831673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415611bef576040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015611be9573d6000803e3d6000fd5b50611c09565b611c096001600160a01b038416838363ffffffff611c0e16565b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611c09908490611ddb565b3390565b6001600160a01b0381166000908152600260205260408120548015611c8a579050611adb565b6040805160048152602481019091526020810180516001600160e01b031663313ce56760e01b179052600080611cc0868461245b565b9150915081611d005760405162461bcd60e51b815260040180806020018281038252602c815260200180612868602c913960400191505060405180910390fd5b95945050505050565b6000806000611d19868686612035565b5090506000611d2987878461121f565b9788975095505050505050565b6001600160a01b038116611d7b5760405162461bcd60e51b815260040180806020018281038252602681526020018061281e6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b303190565b611ded826001600160a01b031661252e565b611e3e576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310611e7c5780518252601f199092019160209182019101611e5d565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611ede576040519150601f19603f3d011682016040523d82523d6000602084013e611ee3565b606091505b509150915081611f3a576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b80511561175257808060200190516020811015611f5657600080fd5b50516117525760405162461bcd60e51b815260040180806020018281038252602a815260200180612985602a913960400191505060405180910390fd5b6000818361201f5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611fe4578181015183820152602001611fcc565b50505050905090810190601f1680156120115780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161202b57fe5b0495945050505050565b600080806001600160a01b03861673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146120e3576000612068876121bb565b9050806001600160a01b03166395b68fe7866040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156120ae57600080fd5b505afa1580156120c2573d6000803e3d6000fd5b505050506040513d60208110156120d857600080fd5b505191506120e69050565b50825b6001600160a01b03851673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14612190576000612115866121bb565b9050806001600160a01b031663cd7724c3836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561215b57600080fd5b505afa15801561216f573d6000803e3d6000fd5b505050506040513d602081101561218557600080fd5b505192506121949050565b8091505b6121b084610a6784670de0b6b3a764000063ffffffff61175816565b925050935093915050565b6001600160a01b0380821660009081526007602052604081205490911680156121e4578061225e565b600654604080516303795fb160e11b81526001600160a01b038681166004830152915191909216916306f2bf62916024808301926020929190829003018186803b15801561223157600080fd5b505afa158015612245573d6000803e3d6000fd5b505050506040513d602081101561225b57600080fd5b50515b9392505050565b60408051636eb1769f60e11b81523060048201526001600160a01b038481166024830152915160009286169163dd62ed3e91604480830192602092919082900301818787803b1580156122b757600080fd5b505af11580156122cb573d6000803e3d6000fd5b505050506040513d60208110156122e157600080fd5b50511115612304576123046001600160a01b03841683600063ffffffff61256a16565b611c096001600160a01b038416838363ffffffff61256a16565b6000610cec83610a6784670de0b6b3a764000063ffffffff61175816565b6000818484111561238e5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611fe4578181015183820152602001611fcc565b505050900390565b80156116f4576001600160a01b0382166123ee576003546040516101009091046001600160a01b0316906108fc8315029083906000818181858888f193505050501580156123e8573d6000803e3d6000fd5b50612413565b600354612413906001600160a01b03848116916101009004168363ffffffff611c0e16565b604080516001600160a01b03841681526020810183905281517f1cdf74906ad7d5c402e19a20dbe986befe937e6768a0722bdb18918cdba45c4a929181900390910190a15050565b60008060006060856001600160a01b0316856040518082805190602001908083835b6020831061249c5780518252601f19909201916020918201910161247d565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d80600081146124fc576040519150601f19603f3d011682016040523d82523d6000602084013e612501565b606091505b5091509150818015612514575080516020145b156125255760208101519250600193505b50509250929050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081158015906125625750808214155b949350505050565b8015806125f2575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e916044808201926020929091908290030181600087803b1580156125c457600080fd5b505af11580156125d8573d6000803e3d6000fd5b505050506040513d60208110156125ee57600080fd5b5051155b61262d5760405162461bcd60e51b815260040180806020018281038252603b8152602001806128f6603b913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052611c0990849061268c826001600160a01b031661252e565b6126c75760405162461bcd60e51b81526004018080602001828103825260248152602001806128446024913960400191505060405180910390fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106127055780518252601f1990920191602091820191016126e6565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612767576040519150601f19603f3d011682016040523d82523d6000602084013e61276c565b606091505b5091509150816127ad5760405162461bcd60e51b81526004018080602001828103825260258152602001806129606025913960400191505060405180910390fd5b805115611752578080602001905160208110156127c957600080fd5b50516117525760405162461bcd60e51b815260040180806020018281038252602f815260200180612931602f913960400191505060405180910390fd5b60408051808201909152600080825260208201529056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735361666550726f787945524332303a2063616c6c20746f206e6f6e2d636f6e747261637474686520746f6b656e20646f65736e2774206578706f73652074686520646563696d616c73206e756d626572536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774e6f20656e6f756768206465737420746f6b656e732061667465722074726164654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666550726f787945524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e63655361666550726f787945524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666550726f787945524332303a206c6f772d6c6576656c2063616c6c206661696c65645361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a723158208bbd7a675422bc375f7064f25d08678bee30692d04c20622e00faafcc288cc6564736f6c634300050f0032

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

000000000000000000000000c0a47dfe034b400b47bdad5fecda2621de6c4d950000000000000000000000009b45193131d6129a742b91778482b618c1764e4600000000000000000000000000000000000000000000000000000000000003e8

-----Decoded View---------------
Arg [0] : _uniswapFactory (address): 0xc0a47dFe034B400B47bDaD5FecDa2621de6c4d95
Arg [1] : _wallet (address): 0x9B45193131D6129a742b91778482B618C1764e46
Arg [2] : _spread (uint256): 1000

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000c0a47dfe034b400b47bdad5fecda2621de6c4d95
Arg [1] : 0000000000000000000000009b45193131d6129a742b91778482b618c1764e46
Arg [2] : 00000000000000000000000000000000000000000000000000000000000003e8


Deployed Bytecode Sourcemap

50177:3779:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29471:95;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29471:95:0;;;:::i;41452:234::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;41452:234:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;41452:234:0;;;;;;;;;;;;;;;;;:::i;28794:26::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28794:26:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;42906:1755;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;42906:1755:0;;;;;;;;;;;;;;;;;;;;;;;;;:::i;48405:77::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;48405:77:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;48405:77:0;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;27230:140;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27230:140:0;;;:::i;41692:237::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;41692:237:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;41692:237:0;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;28324:88;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28324:88:0;;;:::i;29291:93::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29291:93:0;;;:::i;38287:512::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;38287:512:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;38287:512:0;-1:-1:-1;;;;;38287:512:0;;:::i;50393:46::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;50393:46:0;;;:::i;:::-;;;;-1:-1:-1;;;;;50393:46:0;;;;;;;;;;;;;;26419:79;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26419:79:0;;;:::i;50742:211::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;50742:211:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;50742:211:0;-1:-1:-1;;;;;50742:211:0;;:::i;26785:94::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26785:94:0;;;:::i;39426:160::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;39426:160:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;39426:160:0;-1:-1:-1;;;;;39426:160:0;;:::i;49710:246::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;49710:246:0;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;49710:246:0;;;;;;;;;;;;;;;;;;;;;;;;:::i;48570:739::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;48570:739:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;48570:739:0;;;;;;;;;;;;;;;;;:::i;50446:57::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;50446:57:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;50446:57:0;-1:-1:-1;;;;;50446:57:0;;:::i;39592:87::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;39592:87:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;39592:87:0;;:::i;50959:190::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;50959:190:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;50959:190:0;;;;;;;;;;:::i;49962:119::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;49962:119:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;49962:119:0;;;;;;;;:::i;48487:47::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;48487:47:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;48487:47:0;-1:-1:-1;;;;;48487:47:0;;:::i;42102:411::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;42102:411:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;42102:411:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;38975:32;;8:9:-1;5:2;;;30:1;27;20:12;5:2;38975:32:0;;;:::i;27525:109::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27525:109:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27525:109:0;-1:-1:-1;;;;;27525:109:0;;:::i;28418:106::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28418:106:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;28418:106:0;-1:-1:-1;;;;;28418:106:0;;:::i;39012:24::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;39012:24:0;;;:::i;29471:95::-;26631:9;:7;:9::i;:::-;26623:54;;;;;-1:-1:-1;;;26623:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26623:54:0;;;;;;;;;;;;;;;29156:6;;;;29148:45;;;;;-1:-1:-1;;;29148:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;29525:6;:14;;-1:-1:-1;;29525:14:0;;;29551:9;;;;29534:5;;29551:9;29471:95::o;41452:234::-;26631:9;:7;:9::i;:::-;26623:54;;;;;-1:-1:-1;;;26623:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26623:54:0;;;;;;;;;;;;;;;41540:10;39105:20;41553:19;;:41;;41588:6;41553:41;;;39105:20;41553:41;-1:-1:-1;;;;;41601:20:0;;;;;;;:12;:20;;;;;;;;:28;;;;;;;;;;;;:36;;;41644:20;;;;;:28;;;;;;;;;:36;;;;-1:-1:-1;;41452:234:0:o;28794:26::-;;;;;;:::o;42906:1755::-;43044:4;-1:-1:-1;;;;;43037:11:0;:3;-1:-1:-1;;;;;43037:11:0;;;43029:35;;;;;-1:-1:-1;;;43029:35:0;;;;;;;;;;;;-1:-1:-1;;;43029:35:0;;;;;;;;;;;;;;;43091:1;43079:9;:13;43071:40;;;;;-1:-1:-1;;;43071:40:0;;;;;;;;;;;;-1:-1:-1;;;43071:40:0;;;;;;;;;;;;;;;43162:26;43184:3;43162:21;:26::i;:::-;43195:27;43217:4;43195:21;:27::i;:::-;-1:-1:-1;;;;;43235:12:0;;41045:42;43235:12;43231:355;;;43279:9;43266;:22;43258:57;;;;;-1:-1:-1;;;43258:57:0;;;;;;;;;;;;-1:-1:-1;;;43258:57:0;;;;;;;;;;;;;;;43231:355;;;43356:57;;;-1:-1:-1;;;43356:57:0;;43387:10;43356:57;;;;43407:4;43356:57;;;;;;43417:9;;-1:-1:-1;;;;;43356:30:0;;;;;:57;;;;;;;;;;;;;;;-1:-1:-1;43356:30:0;:57;;;5:2:-1;;;;30:1;27;20:12;5:2;43356:57:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;43356:57:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;43356:57:0;:70;;43338:137;;;;;-1:-1:-1;;;43338:137:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;43512:66;-1:-1:-1;;;;;43512:28:0;;43541:10;43561:4;43568:9;43512:66;:28;:66;:::i;:::-;43594:14;43611:20;43621:3;43626:4;43611:9;:20::i;:::-;43594:37;-1:-1:-1;43722:22:0;43747:58;39105:20;43785:19;;;;43747:33;;:17;;:33;:21;:33;:::i;:::-;:37;:58;:37;:58;:::i;:::-;43722:83;-1:-1:-1;43812:28:0;43843:54;39105:20;43877:19;;;;43843:29;;:13;;:29;:17;:29;:::i;:54::-;43812:85;;43904:24;43931:74;43946:3;43951:9;43962:4;43968:20;43990:14;43931;:74::i;:::-;43904:101;;44014:17;44034:15;44045:3;44034:10;:15::i;:::-;44014:35;-1:-1:-1;44056:23:0;44082:24;:9;44014:35;44082:24;:13;:24;:::i;:::-;44056:50;;44139:1;44121:15;:19;44113:48;;;;;-1:-1:-1;;;44113:48:0;;;;;;;;;;;;-1:-1:-1;;;44113:48:0;;;;;;;;;;;;;;;44204:16;44184;44195:4;44184:10;:16::i;:::-;:36;;44168:103;;;;-1:-1:-1;;;44168:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44303:20;44326:39;44334:4;44340:16;44358:6;44326:7;:39::i;:::-;44303:62;;44372:41;44382:4;44388:10;44400:12;44372:9;:41::i;:::-;44465:13;;44461:73;;44489:37;44499:3;44504:10;44516:9;44489;:37::i;:::-;44623:4;-1:-1:-1;;;;;44547:108:0;44587:3;-1:-1:-1;;;;;44547:108:0;44568:10;-1:-1:-1;;;;;44547:108:0;;44599:15;44636:12;44547:108;;;;;;;;;;;;;;;;;;;;;;;;42906:1755;;;;;;;;;;;;:::o;48405:77::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;27230:140::-;26631:9;:7;:9::i;:::-;26623:54;;;;;-1:-1:-1;;;26623:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26623:54:0;;;;;;;;;;;;;;;27329:1;27313:6;;27292:40;;-1:-1:-1;;;;;27313:6:0;;;;27292:40;;27329:1;;27292:40;27360:1;27343:19;;-1:-1:-1;;;;;;27343:19:0;;;27230:140::o;41692:237::-;-1:-1:-1;;;;;41789:20:0;;;41763:4;41789:20;;;:12;:20;;;;;;;;:28;;;;;;;;;;;;41828:10;41824:35;;-1:-1:-1;;41847:12:0;;41840:19;;41824:35;39105:20;41870:19;;41866:57;;41898:1;41891:8;;;;;41866:57;41918:5;-1:-1:-1;41692:237:0;;;;;:::o;28324:88::-;26631:9;:7;:9::i;:::-;26623:54;;;;;-1:-1:-1;;;26623:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26623:54:0;;;;;;;;;;;;;;;28396:7;:5;:7::i;:::-;-1:-1:-1;;;;;28380:25:0;28367:39;29291:93;26631:9;:7;:9::i;:::-;26623:54;;;;;-1:-1:-1;;;26623:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26623:54:0;;;;;;;;;;;;;;;28970:6;;;;28969:7;28961:42;;;;;-1:-1:-1;;;28961:42:0;;;;;;;;;;;;-1:-1:-1;;;28961:42:0;;;;;;;;;;;;;;;29346:6;:13;;-1:-1:-1;;29346:13:0;29355:4;29346:13;;;29371:7;;;;29346:6;;29371:7;29291:93::o;38287:512::-;26631:9;:7;:9::i;:::-;26623:54;;;;;-1:-1:-1;;;26623:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26623:54:0;;;;;;;;;;;;;;;38357:17;-1:-1:-1;;;;;38385:22:0;;38381:344;;-1:-1:-1;38533:33:0;;38441:4;38512:12;;;38533:10;;:33;;;;;38512:12;;38418;38533:33;38418:12;38533:33;38512:12;38533:10;:33;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;38533:33:0;38381:344;;;;38604:45;;;-1:-1:-1;;;38604:45:0;;38643:4;38604:45;;;;;;-1:-1:-1;;;;;38604:30:0;;;;;:45;;;;;;;;;;;;;;:30;:45;;;5:2:-1;;;;30:1;27;20:12;5:2;38604:45:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;38604:45:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;38604:45:0;;-1:-1:-1;38658:59:0;-1:-1:-1;;;;;38658:33:0;;38692:10;38604:45;38658:59;:33;:59;:::i;:::-;38736:57;;;;;;;;-1:-1:-1;;;;;38736:57:0;;;38753:10;;38736:57;;;;;;;;;26688:1;38287:512;:::o;50393:46::-;;;-1:-1:-1;;;;;50393:46:0;;:::o;26419:79::-;26457:7;26484:6;-1:-1:-1;;;;;26484:6:0;26419:79;:::o;50742:211::-;26631:9;:7;:9::i;:::-;26623:54;;;;;-1:-1:-1;;;26623:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26623:54:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;50819:29:0;;50811:71;;;;;-1:-1:-1;;;50811:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;50889:14;:58;;-1:-1:-1;;;;;;50889:58:0;-1:-1:-1;;;;;50889:58:0;;;;;;;;;;50742:211::o;26785:94::-;26825:4;26865:6;;-1:-1:-1;;;;;26865:6:0;26849:12;:10;:12::i;:::-;-1:-1:-1;;;;;26849:22:0;;26842:29;;26785:94;:::o;39426:160::-;26631:9;:7;:9::i;:::-;26623:54;;;;;-1:-1:-1;;;26623:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26623:54:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;39507:21:0;;39499:55;;;;;-1:-1:-1;;;39499:55:0;;;;;;;;;;;;-1:-1:-1;;;39499:55:0;;;;;;;;;;;;;;;39561:9;:19;;-1:-1:-1;;;;;39561:19:0;;;;;-1:-1:-1;;;;;;39561:19:0;;;;;;;;;39426:160::o;49710:246::-;26631:9;:7;:9::i;:::-;26623:54;;;;;-1:-1:-1;;;26623:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26623:54:0;;;;;;;;;;;;;;;49850:32;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;49822:19:0;;;-1:-1:-1;49822:19:0;;;:14;:19;;;;;;:25;;;;;;;;;;;;;:60;;;;;;;;;;;;;;-1:-1:-1;;49822:60:0;;;;;;49917:33;;;;;;;;;;;;;;;;49889:20;;;;;;;;;:25;;;;;;;;;:61;;;;;;;;;;;;;;;;;;;;;;;49710:246::o;48570:739::-;48659:4;48675:25;;:::i;:::-;-1:-1:-1;;;;;;48703:19:0;;;;;;;:14;:19;;;;;;;;:25;;;;;;;;;;;;48675:53;;;;;;;;;;;;;;;;;;;;;;;;;;;48735:429;;48765:16;48784:17;48797:3;48784:12;:17::i;:::-;48765:36;;48810:17;48830:18;48843:4;48830:12;:18::i;:::-;48810:38;;48876:12;48861:11;:27;48857:300;;48919:12;48905:11;:26;48901:247;;;48961:4;48946:12;;;:19;48998:26;;;48991:2;:34;48978:47;;48901:247;;;49071:5;49056:12;;;:20;49109:26;;;49102:2;:34;49089:47;;48901:247;48735:429;;;49174:10;;49187:1;-1:-1:-1;49170:116:0;;;49206:3;:12;;;:72;;49267:10;;49258:20;;:4;;:20;:8;:20;:::i;:::-;49206:72;;;49237:10;;49228:20;;:4;;:20;:8;:20;:::i;:::-;49199:79;;49170:116;-1:-1:-1;49299:4:0;;48570:739;-1:-1:-1;;;48570:739:0:o;50446:57::-;;;;;;;;;;;;-1:-1:-1;;;;;50446:57:0;;:::o;39592:87::-;26631:9;:7;:9::i;:::-;26623:54;;;;;-1:-1:-1;;;26623:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26623:54:0;;;;;;;;;;;;;;;39651:12;:22;39592:87::o;50959:190::-;26631:9;:7;:9::i;:::-;26623:54;;;;;-1:-1:-1;;;26623:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26623:54:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;51051:19:0;;51043:54;;;;;-1:-1:-1;;;51043:54:0;;;;;;;;;;;;-1:-1:-1;;;51043:54:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;51104:28:0;;;;;;;:21;:28;;;;;:39;;-1:-1:-1;;;;;;51104:39:0;;;;;;;;50959:190::o;49962:119::-;26631:9;:7;:9::i;:::-;26623:54;;;;;-1:-1:-1;;;26623:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26623:54:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;50043:21:0;;;;;;;:14;:21;;;;;:32;49962:119::o;48487:47::-;;;;;;;;;;;;;:::o;42102:411::-;42192:17;42211;42241;42260:18;42282:36;42297:3;42302:4;42308:9;42282:14;:36::i;:::-;42240:78;;;;42325:14;42342:20;42352:3;42357:4;42342:9;:20::i;:::-;42325:37;-1:-1:-1;42384:50:0;39105:20;42384:34;:9;42398:19;;;42384:34;:13;:34;:::i;:50::-;42369:65;-1:-1:-1;42456:51:0;39105:20;42456:35;:10;42471:19;;;42456:35;:14;:35;:::i;:51::-;42441:66;;42102:411;;;;;;;;;:::o;38975:32::-;;;;;;-1:-1:-1;;;;;38975:32:0;;:::o;27525:109::-;26631:9;:7;:9::i;:::-;26623:54;;;;;-1:-1:-1;;;26623:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26623:54:0;;;;;;;;;;;;;;;27598:28;27617:8;27598:18;:28::i;:::-;27525:109;:::o;28418:106::-;26631:9;:7;:9::i;:::-;26623:54;;;;;-1:-1:-1;;;26623:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;26623:54:0;;;;;;;;;;;;;;;28507:10;-1:-1:-1;;;;;28494:24:0;;39012;;;;:::o;42519:381::-;42580:25;-1:-1:-1;;;;;42608:14:0;;41045:42;42608:14;:111;;42672:47;;;-1:-1:-1;;;42672:47:0;;42713:4;42672:47;;;;;;-1:-1:-1;;;;;42672:32:0;;;;;:47;;;;;;;;;;;;;;-1:-1:-1;42672:32:0;:47;;;5:2:-1;;;;30:1;27;20:12;5:2;42672:47:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;42672:47:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;42672:47:0;42608:111;;;42632:30;42652:9;42632:15;:13;:15::i;:::-;:19;:30;:19;:30;:::i;:::-;42580:139;-1:-1:-1;42730:21:0;;42726:169;;42762:62;42772:5;42795:7;:5;:7::i;:::-;-1:-1:-1;;;;;42779:25:0;42806:17;42762:9;:62::i;:::-;42838:49;;;-1:-1:-1;;;;;42838:49:0;;;;;;;;;;;;;;;;;;;;;;;42726:169;42519:381;;:::o;12396:204::-;12523:68;;;-1:-1:-1;;;;;12523:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;12523:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;12497:95:0;;12516:5;;12497:18;:95::i;:::-;12396:204;;;;:::o;5181:471::-;5239:7;5484:6;5480:47;;-1:-1:-1;5514:1:0;5507:8;;5480:47;5551:5;;;5555:1;5551;:5;:1;5575:5;;;;;:10;5567:56;;;;-1:-1:-1;;;5567:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6120:132;6178:7;6205:39;6209:1;6212;6205:39;;;;;;;;;;;;;;;;;:3;:39::i;52833:1118::-;52966:7;52986:9;52997:15;53016:37;53032:3;53037:4;53043:9;53016:15;:37::i;:::-;52985:68;;;;53060:18;53094:13;53081:10;:26;:92;;53164:9;53081:92;;;53117:37;53149:4;53117:27;:13;50382:4;53117:27;:17;:27;:::i;:37::-;53060:113;-1:-1:-1;53182:17:0;-1:-1:-1;;;;;53210:12:0;;41045:42;53210:12;53206:295;;53233:35;53271:17;53284:3;53271:12;:17::i;:::-;53233:55;;53297:57;53315:3;53328:9;53340:13;53297:17;:57::i;:::-;53378:64;;;-1:-1:-1;;;53378:64:0;;;;;;;;53423:1;53378:64;;;;53426:15;53378:64;;;;;;-1:-1:-1;;;;;53378:29:0;;;;;:64;;;;;;;;;;;;;;-1:-1:-1;53378:29:0;:64;;;5:2:-1;;;;30:1;27;20:12;5:2;53378:64:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;53378:64:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;53378:64:0;;-1:-1:-1;53206:295:0;;-1:-1:-1;53206:295:0;;-1:-1:-1;53480:13:0;53206:295;53509:20;-1:-1:-1;;;;;53540:13:0;;41045:42;53540:13;53536:241;;53564:35;53602:18;53615:4;53602:12;:18::i;:::-;53564:56;;53647:9;-1:-1:-1;;;;;53647:29:0;;53683:12;53697:1;53700:15;53647:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;53647:69:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;53647:69:0;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;53647:69:0;;-1:-1:-1;53536:241:0;;-1:-1:-1;53536:241:0;;-1:-1:-1;53757:12:0;53536:241;53862:17;53791:67;53805:3;53810:4;53816:41;53826:13;53841:15;53816:9;:41::i;:::-;53791:13;:67::i;:::-;:88;;53783:133;;;;;-1:-1:-1;;;53783:133:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53930:15;52833:1118;-1:-1:-1;;;;;;;;;;52833:1118:0:o;45282:176::-;45333:7;-1:-1:-1;;;;;45356:14:0;;41045:42;45356:14;:96;;45405:47;;;-1:-1:-1;;;45405:47:0;;45446:4;45405:47;;;;;;-1:-1:-1;;;;;45405:32:0;;;;;:47;;;;;;;;;;;;;;-1:-1:-1;45405:32:0;:47;;;5:2:-1;;;;30:1;27;20:12;5:2;45405:47:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;45405:47:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;45405:47:0;45356:96;;;45380:15;:13;:15::i;:::-;45349:103;;45282:176;;;;:::o;4265:136::-;4323:7;4350:43;4354:1;4357;4350:43;;;;;;;;;;;;;;;;;:3;:43::i;44810:302::-;44894:20;;44937:44;39105:20;44937:28;:16;44958:6;44937:28;:20;:28;:::i;:44::-;44923:58;-1:-1:-1;45003:25:0;:16;44923:58;45003:25;:20;:25;:::i;:::-;44988:40;-1:-1:-1;45051:55:0;-1:-1:-1;;;;;45065:14:0;;41045:42;45065:14;:35;;45095:5;45065:35;;;45090:1;45065:35;45102:3;45051:13;:55::i;:::-;44810:302;;;;;;:::o;45464:228::-;-1:-1:-1;;;;;45560:14:0;;41045:42;45560:14;45556:131;;;45585:26;;-1:-1:-1;;;;;45585:18:0;;;:26;;;;;45604:6;;45585:26;;;;45604:6;45585:18;:26;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;45585:26:0;45556:131;;;45634:45;-1:-1:-1;;;;;45634:26:0;;45661:9;45672:6;45634:45;:26;:45;:::i;:::-;45464:228;;;:::o;12212:176::-;12321:58;;;-1:-1:-1;;;;;12321:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;12321:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;12295:85:0;;12314:5;;12295:18;:85::i;25160:98::-;25240:10;25160:98;:::o;49315:389::-;-1:-1:-1;;;;;49401:21:0;;49374:4;49401:21;;;:14;:21;;;;;;49433:10;;49429:29;;49452:6;-1:-1:-1;49445:13:0;;49429:29;49488:37;;;22:32:-1;6:49;;49488:37:0;;;;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;26:21;;49564:41:0;49590:5;49488:37;49564:25;:41::i;:::-;49532:73;;;;49620:7;49612:64;;;;-1:-1:-1;;;49612:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49690:8;49315:389;-1:-1:-1;;;;;49315:389:0:o;52233:309::-;52330:17;52349;52379:9;52394:37;52410:3;52415:4;52421:9;52394:15;:37::i;:::-;52378:53;;;52438:19;52460:30;52474:3;52479:4;52485;52460:13;:30::i;:::-;52438:52;;;-1:-1:-1;52233:309:0;-1:-1:-1;;;;;;52233:309:0:o;27740:229::-;-1:-1:-1;;;;;27814:22:0;;27806:73;;;;-1:-1:-1;;;27806:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27916:6;;;27895:38;;-1:-1:-1;;;;;27895:38:0;;;;27916:6;;;27895:38;;;27944:6;:17;;-1:-1:-1;;;;;;27944:17:0;-1:-1:-1;;;;;27944:17:0;;;;;;;;;;27740:229::o;45154:122::-;45239:4;45258:12;45154:122;:::o;14251:1114::-;14855:27;14863:5;-1:-1:-1;;;;;14855:25:0;;:27::i;:::-;14847:71;;;;;-1:-1:-1;;;14847:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14992:12;15006:23;15041:5;-1:-1:-1;;;;;15033:19:0;15053:4;15033:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;15033:25:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;14991:67:0;;;;15077:7;15069:52;;;;;-1:-1:-1;;;15069:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15138:17;;:21;15134:224;;15280:10;15269:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15269:30:0;15261:85;;;;-1:-1:-1;;;15261:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6782:345;6868:7;6970:12;6963:5;6955:28;;;;-1:-1:-1;;;6955:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;6955:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6994:9;7010:1;7006;:5;;;;;;;6782:345;-1:-1:-1;;;;;6782:345:0:o;51457:626::-;51546:9;;;-1:-1:-1;;;;;51609:12:0;;41045:42;51609:12;51605:205;;51632:35;51670:17;51683:3;51670:12;:17::i;:::-;51632:55;;51711:9;-1:-1:-1;;;;;51711:33:0;;51745:9;51711:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;51711:44:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;51711:44:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;51711:44:0;;-1:-1:-1;51605:205:0;;-1:-1:-1;51605:205:0;;-1:-1:-1;51793:9:0;51605:205;-1:-1:-1;;;;;51820:13:0;;41045:42;51820:13;51816:209;;51844:35;51882:18;51895:4;51882:12;:18::i;:::-;51844:56;;51922:9;-1:-1:-1;;;;;51922:33:0;;51956:12;51922:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;51922:47:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;51922:47:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;51922:47:0;;-1:-1:-1;51816:209:0;;-1:-1:-1;51816:209:0;;52005:12;51992:25;;51816:209;52038:39;52067:9;52038:24;:10;50382:4;52038:24;:14;:24;:::i;:39::-;52031:46;;51457:626;;;;;;;:::o;51155:296::-;-1:-1:-1;;;;;51282:28:0;;;51213:34;51282:28;;;:21;:28;;;;;;51213:34;;51282:28;51328:29;;:117;;51429:15;51328:117;;;51367:14;;:33;;;-1:-1:-1;;;51367:33:0;;-1:-1:-1;;;;;51367:33:0;;;;;;;;;:14;;;;;:26;;:33;;;;;;;;;;;;;;:14;:33;;;5:2:-1;;;;30:1;27;20:12;5:2;51367:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;51367:33:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;51367:33:0;51328:117;51317:128;51155:296;-1:-1:-1;;;51155:296:0:o;52548:279::-;52639:56;;;-1:-1:-1;;;52639:56:0;;52680:4;52639:56;;;;-1:-1:-1;;;;;52639:56:0;;;;;;;;;52698:1;;52639:32;;;;;:56;;;;;;;;;;;;;;52698:1;52639:32;:56;;;5:2:-1;;;;30:1;27;20:12;5:2;52639:56:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;52639:56:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;52639:56:0;:60;52635:129;;;52710:46;-1:-1:-1;;;;;52710:34:0;;52745:7;52754:1;52710:46;:34;:46;:::i;:::-;52770:51;-1:-1:-1;;;;;52770:34:0;;52805:7;52814:6;52770:51;:34;:51;:::i;52089:138::-;52162:4;52182:39;52211:9;52182:24;:10;50382:4;52182:24;:14;:24;:::i;4738:192::-;4824:7;4860:12;4852:6;;;;4844:29;;;;-1:-1:-1;;;4844:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;4844:29:0;-1:-1:-1;;;4896:5:0;;;4738:192::o;39837:274::-;39902:7;;39898:208;;-1:-1:-1;;;;;39924:22:0;;39920:144;;39959:9;;:23;;:9;;;;-1:-1:-1;;;;;39959:9:0;;:23;;;;;;;;;;;;:9;:23;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;39959:23:0;39920:144;;;40039:9;;40009:45;;-1:-1:-1;;;;;40009:29:0;;;;40039:9;;;;40050:3;40009:45;:29;:45;:::i;:::-;40077:21;;;-1:-1:-1;;;;;40077:21:0;;;;;;;;;;;;;;;;;;;;;;;39837:274;;:::o;47815:353::-;47907:13;47922:12;47947;47961:19;47992:6;-1:-1:-1;;;;;47984:26:0;48011:7;47984:35;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;47984:35:0;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;47946:73:0;;;;48030:7;:30;;;;;48041:6;:13;48058:2;48041:19;48030:30;48026:137;;;48119:2;48112:6;48108:14;48102:21;48091:32;;48151:4;48140:15;;48026:137;47815:353;;;;;;;:::o;9042:810::-;9102:4;9761:20;;9604:66;9801:15;;;;;:42;;;9832:11;9820:8;:23;;9801:42;9793:51;9042:810;-1:-1:-1;;;;9042:810:0:o;22123:635::-;22502:10;;;22501:62;;-1:-1:-1;22518:39:0;;;-1:-1:-1;;;22518:39:0;;22542:4;22518:39;;;;-1:-1:-1;;;;;22518:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;-1:-1:-1;22518:15:0;:39;;;5:2:-1;;;;30:1;27;20:12;5:2;22518:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22518:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22518:39:0;:44;22501:62;22493:157;;;;-1:-1:-1;;;22493:157:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22687:62;;;-1:-1:-1;;;;;22687:62:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;22687:62:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;22661:89:0;;22680:5;;23762:27;23770:5;-1:-1:-1;;;;;23762:25:0;;:27::i;:::-;23754:76;;;;-1:-1:-1;;;23754:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23904:12;23918:23;23953:5;-1:-1:-1;;;;;23945:19:0;23965:4;23945:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;23945:25:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;23903:67:0;;;;23989:7;23981:57;;;;-1:-1:-1;;;23981:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24055:17;;:21;24051:229;;24197:10;24186:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24186:30:0;24178:90;;;;-1:-1:-1;;;24178:90:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50177:3779;;;;;;;;;;-1:-1:-1;50177:3779:0;;;;;;;;:::o

Swarm Source

bzzr://8bbd7a675422bc375f7064f25d08678bee30692d04c20622e00faafcc288cc65

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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