ETH Price: $3,647.21 (-6.10%)

Contract

0xEEE503B78e96F24c47c9AD8c287990e51697A99c
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Zap In103047592020-06-20 20:25:261642 days ago1592684726IN
Zapper.Fi: Old Uniswap Zap in V2
2 ETH0.002555227
Zap In102833292020-06-17 12:42:491645 days ago1592397769IN
Zapper.Fi: Old Uniswap Zap in V2
1.3 ETH0.0210113240
Zap In102798642020-06-16 23:52:501646 days ago1592351570IN
Zapper.Fi: Old Uniswap Zap in V2
0.085 ETH0.007262420
Zap In102790832020-06-16 20:53:241646 days ago1592340804IN
Zapper.Fi: Old Uniswap Zap in V2
0.25 ETH0.0142021723
Zap In102789212020-06-16 20:15:301646 days ago1592338530IN
Zapper.Fi: Old Uniswap Zap in V2
8 ETH0.0084570723.1
Zap In102774462020-06-16 14:55:241646 days ago1592319324IN
Zapper.Fi: Old Uniswap Zap in V2
0.3 ETH0.0128391836
Zap In102769732020-06-16 13:10:391646 days ago1592313039IN
Zapper.Fi: Old Uniswap Zap in V2
1.2 ETH0.0165726445
Zap In102769082020-06-16 12:53:251646 days ago1592312005IN
Zapper.Fi: Old Uniswap Zap in V2
0.1 ETH0.0147312440
Zap In102747432020-06-16 4:47:481646 days ago1592282868IN
Zapper.Fi: Old Uniswap Zap in V2
0.32 ETH0.0135903937
Zap In102746142020-06-16 4:16:211646 days ago1592280981IN
Zapper.Fi: Old Uniswap Zap in V2
9 ETH0.0113342531
Zap In102722082020-06-15 19:18:381647 days ago1592248718IN
Zapper.Fi: Old Uniswap Zap in V2
0.3 ETH0.0091194426
Zap In102714552020-06-15 16:38:181647 days ago1592239098IN
Zapper.Fi: Old Uniswap Zap in V2
0.12 ETH0.0098441427
Zap In102681632020-06-15 4:30:111647 days ago1592195411IN
Zapper.Fi: Old Uniswap Zap in V2
0.0125 ETH0.0101420130
Zap In102681632020-06-15 4:30:111647 days ago1592195411IN
Zapper.Fi: Old Uniswap Zap in V2
0.0125 ETH0.0105024930
Zap In102671812020-06-15 0:44:131647 days ago1592181853IN
Zapper.Fi: Old Uniswap Zap in V2
0.52 ETH0.0076324312.8
Zap In102671562020-06-15 0:37:181647 days ago1592181438IN
Zapper.Fi: Old Uniswap Zap in V2
1.00299999 ETH0.0045507213
Zap In102658782020-06-14 19:56:531648 days ago1592164613IN
Zapper.Fi: Old Uniswap Zap in V2
2 ETH0.0105927618
Zap In102657642020-06-14 19:31:021648 days ago1592163062IN
Zapper.Fi: Old Uniswap Zap in V2
0 ETH0.0045719417.8
Zap In102648232020-06-14 15:58:131648 days ago1592150293IN
Zapper.Fi: Old Uniswap Zap in V2
0.7 ETH0.0065126218.3
Zap In102638282020-06-14 12:19:431648 days ago1592137183IN
Zapper.Fi: Old Uniswap Zap in V2
0.777 ETH0.0058450216.5
Zap In102630032020-06-14 9:14:561648 days ago1592126096IN
Zapper.Fi: Old Uniswap Zap in V2
0.2 ETH0.0069857819.1
Zap In102629722020-06-14 9:09:291648 days ago1592125769IN
Zapper.Fi: Old Uniswap Zap in V2
2 ETH0.0084405222
Zap In102629582020-06-14 9:05:481648 days ago1592125548IN
Zapper.Fi: Old Uniswap Zap in V2
0.4 ETH0.0069365719
Zap In102622572020-06-14 6:26:101648 days ago1592115970IN
Zapper.Fi: Old Uniswap Zap in V2
1.02 ETH0.0054796916
Zap In102622302020-06-14 6:21:141648 days ago1592115674IN
Zapper.Fi: Old Uniswap Zap in V2
0 ETH0.0117075613
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
103047592020-06-20 20:25:261642 days ago1592684726
Zapper.Fi: Old Uniswap Zap in V2
0.00242848 ETH
103047592020-06-20 20:25:261642 days ago1592684726
Zapper.Fi: Old Uniswap Zap in V2
0.00242848 ETH
103047592020-06-20 20:25:261642 days ago1592684726
Zapper.Fi: Old Uniswap Zap in V2
1 ETH
103047592020-06-20 20:25:261642 days ago1592684726
Zapper.Fi: Old Uniswap Zap in V2
1 ETH
102833292020-06-17 12:42:491645 days ago1592397769
Zapper.Fi: Old Uniswap Zap in V2
0.00567069 ETH
102833292020-06-17 12:42:491645 days ago1592397769
Zapper.Fi: Old Uniswap Zap in V2
0.00567069 ETH
102833292020-06-17 12:42:491645 days ago1592397769
Zapper.Fi: Old Uniswap Zap in V2
0.65 ETH
102833292020-06-17 12:42:491645 days ago1592397769
Zapper.Fi: Old Uniswap Zap in V2
0.65 ETH
102798642020-06-16 23:52:501646 days ago1592351570
Zapper.Fi: Old Uniswap Zap in V2
0.00012048 ETH
102798642020-06-16 23:52:501646 days ago1592351570
Zapper.Fi: Old Uniswap Zap in V2
0.00012048 ETH
102798642020-06-16 23:52:501646 days ago1592351570
Zapper.Fi: Old Uniswap Zap in V2
0.0425 ETH
102798642020-06-16 23:52:501646 days ago1592351570
Zapper.Fi: Old Uniswap Zap in V2
0.0425 ETH
102790832020-06-16 20:53:241646 days ago1592340804
Zapper.Fi: Old Uniswap Zap in V2
0.00122087 ETH
102790832020-06-16 20:53:241646 days ago1592340804
Zapper.Fi: Old Uniswap Zap in V2
0.00122087 ETH
102790832020-06-16 20:53:241646 days ago1592340804
Zapper.Fi: Old Uniswap Zap in V2
0.125 ETH
102790832020-06-16 20:53:241646 days ago1592340804
Zapper.Fi: Old Uniswap Zap in V2
0.125 ETH
102789212020-06-16 20:15:301646 days ago1592338530
Zapper.Fi: Old Uniswap Zap in V2
0.03330905 ETH
102789212020-06-16 20:15:301646 days ago1592338530
Zapper.Fi: Old Uniswap Zap in V2
0.03330905 ETH
102789212020-06-16 20:15:301646 days ago1592338530
Zapper.Fi: Old Uniswap Zap in V2
4 ETH
102789212020-06-16 20:15:301646 days ago1592338530
Zapper.Fi: Old Uniswap Zap in V2
4 ETH
102774462020-06-16 14:55:241646 days ago1592319324
Zapper.Fi: Old Uniswap Zap in V2
0.00082527 ETH
102774462020-06-16 14:55:241646 days ago1592319324
Zapper.Fi: Old Uniswap Zap in V2
0.00082527 ETH
102774462020-06-16 14:55:241646 days ago1592319324
Zapper.Fi: Old Uniswap Zap in V2
0.15 ETH
102774462020-06-16 14:55:241646 days ago1592319324
Zapper.Fi: Old Uniswap Zap in V2
0.15 ETH
102769732020-06-16 13:10:391646 days ago1592313039
Zapper.Fi: Old Uniswap Zap in V2
0.00223429 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
UniswapV2_ZapIn

Compiler Version
v0.5.12+commit.7709ece9

Optimization Enabled:
Yes with 200 runs

Other Settings:
petersburg EvmVersion, GNU GPLv2 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-06-02
*/

// File: localhost/zapper-smart-contracts/contracts/UniswapV2/UniswapV2Router.sol

pragma solidity 0.5.12;

interface IUniswapV2Router01 {
  function factory() external pure returns (address);
  function WETH() external pure returns (address);

  function addLiquidity(
      address tokenA,
      address tokenB,
      uint amountADesired,
      uint amountBDesired,
      uint amountAMin,
      uint amountBMin,
      address to,
      uint deadline
  ) external returns (uint amountA, uint amountB, uint liquidity);
  function addLiquidityETH(
      address token,
      uint amountTokenDesired,
      uint amountTokenMin,
      uint amountETHMin,
      address to,
      uint deadline
  ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
  function removeLiquidity(
      address tokenA,
      address tokenB,
      uint liquidity,
      uint amountAMin,
      uint amountBMin,
      address to,
      uint deadline
  ) external returns (uint amountA, uint amountB);
  function removeLiquidityETH(
      address token,
      uint liquidity,
      uint amountTokenMin,
      uint amountETHMin,
      address to,
      uint deadline
  ) external returns (uint amountToken, uint amountETH);
  function removeLiquidityWithPermit(
      address tokenA,
      address tokenB,
      uint liquidity,
      uint amountAMin,
      uint amountBMin,
      address to,
      uint deadline,
      bool approveMax, uint8 v, bytes32 r, bytes32 s
  ) external returns (uint amountA, uint amountB);
  function removeLiquidityETHWithPermit(
      address token,
      uint liquidity,
      uint amountTokenMin,
      uint amountETHMin,
      address to,
      uint deadline,
      bool approveMax, uint8 v, bytes32 r, bytes32 s
  ) external returns (uint amountToken, uint amountETH);
  function swapExactTokensForTokens(
      uint amountIn,
      uint amountOutMin,
      address[] calldata path,
      address to,
      uint deadline
  ) external returns (uint[] memory amounts);
  function swapTokensForExactTokens(
      uint amountOut,
      uint amountInMax,
      address[] calldata path,
      address to,
      uint deadline
  ) external returns (uint[] memory amounts);
  function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
      external
      payable
      returns (uint[] memory amounts);
  function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
      external
      returns (uint[] memory amounts);
  function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
      external
      returns (uint[] memory amounts);
  function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
      external
      payable
      returns (uint[] memory amounts);

  function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
  function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
  function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
  function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
  function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}
// File: localhost/zapper-smart-contracts/node_modules/@openzeppelin/contracts/utils/ReentrancyGuard.sol

pragma solidity ^0.5.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 *
 * _Since v2.5.0:_ this module is now much more gas efficient, given net gas
 * metering changes introduced in the Istanbul hardfork.
 */
contract ReentrancyGuard {
    bool private _notEntered;

    constructor () internal {
        // Storing an initial non-zero value makes deployment a bit more
        // expensive, but in exchange the refund on every call to nonReentrant
        // will be lower in amount. Since refunds are capped to a percetange of
        // the total transaction's gas, it is best to keep them low in cases
        // like this one, to increase the likelihood of the full refund coming
        // into effect.
        _notEntered = true;
    }

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

        // Any calls to nonReentrant after this point will fail
        _notEntered = false;

        _;

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

// File: localhost/zapper-smart-contracts/node_modules/@openzeppelin/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.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following 
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev 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: localhost/zapper-smart-contracts/node_modules/@openzeppelin/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: localhost/zapper-smart-contracts/node_modules/@openzeppelin/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 {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(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: localhost/zapper-smart-contracts/node_modules/@openzeppelin/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: localhost/zapper-smart-contracts/contracts/UniswapV2/UniswapZapinV2.sol

pragma solidity 0.5.12;







/**
 * @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 number of decimals.
     */
    function decimals() external view returns (uint256);

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


interface IUniswapV1Factory {
    function getExchange(address token)
        external
        view
        returns (address exchange);
}


interface IUniswapV2Factory {
    function getPair(address tokenA, address tokenB)
        external
        view
        returns (address);
}


interface Iuniswap {
    // converting ERC20 to ERC20 and transfer
    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 tokenToTokenSwapInput(
        uint256 tokens_sold,
        uint256 min_tokens_bought,
        uint256 min_eth_bought,
        uint256 deadline,
        address token_addr
    ) external returns (uint256 tokens_bought);

    function getTokenToEthInputPrice(uint256 tokens_sold)
        external
        view
        returns (uint256 eth_bought);

    function tokenToEthTransferInput(
        uint256 tokens_sold,
        uint256 min_eth,
        uint256 deadline,
        address recipient
    ) external returns (uint256 eth_bought);

    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 balanceOf(address _owner) external view returns (uint256);

    function transfer(address _to, uint256 _value) external returns (bool);

    function transferFrom(
        address from,
        address to,
        uint256 tokens
    ) external returns (bool success);
}


interface IUniswapV2Pair {
    function token0() external pure returns (address);

    function token1() external pure returns (address);

    function getReserves()
        external
        view
        returns (
            uint112 _reserve0,
            uint112 _reserve1,
            uint32 _blockTimestampLast
        );

    // this low-level function should be called from a contract which performs important safety checks
    function swap(
        uint256 amount0Out,
        uint256 amount1Out,
        address to,
        bytes calldata data
    ) external;

    // force balances to match reserves
    function skim(address to) external;
}


contract UniswapV2_ZapIn is ReentrancyGuard, Ownable {
    using SafeMath for uint256;
    using Address for address;
    bool private stopped = false;
    uint16 public goodwill;
    address public dzgoodwillAddress;

    IUniswapV2Router01 public uniswapV2Router = IUniswapV2Router01(
        0xf164fC0Ec4E93095b804a4795bBe1e041497b92a
    );

    IUniswapV1Factory public UniSwapV1FactoryAddress = IUniswapV1Factory(
        0xc0a47dFe034B400B47bDaD5FecDa2621de6c4d95
    );

    IUniswapV2Factory public UniSwapV2FactoryAddress = IUniswapV2Factory(
        0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f
    );

    constructor(uint16 _goodwill, address _dzgoodwillAddress) public {
        goodwill = _goodwill;
        dzgoodwillAddress = _dzgoodwillAddress;
    }

    // circuit breaker modifiers
    modifier stopInEmergency {
        if (stopped) {
            revert("Temporarily Paused");
        } else {
            _;
        }
    }

    /**
    @notice This function is used to invest in given Uniswap V2 pair through ETH/ERC20 Tokens
    @param _FromTokenContractAddress The ERC20 token used for investment (address(0x00) if ether)
    @param _ToUnipoolToken0 The Uniswap V2 pair token0 address
    @param _ToUnipoolToken1 The Uniswap V2 pair token1 address
    @return Amount of LP bought
     */
    function ZapIn(
        address _FromTokenContractAddress,
        address _ToUnipoolToken0,
        address _ToUnipoolToken1,
        uint256 _amount
    ) public payable nonReentrant stopInEmergency returns (uint256) {
        uint256 toInvest;
        if (_FromTokenContractAddress == address(0)) {
            require(msg.value > 0, "Error: ETH not sent");
            toInvest = msg.value;
        } else {
            require(msg.value == 0, "Error: ETH sent");
            require(_amount > 0, "Error: Invalid ERC amount");
            toInvest = _amount;
        }

        (uint256 LPBought, uint256 residue) = _performZapIn(
            _FromTokenContractAddress,
            _ToUnipoolToken0,
            _ToUnipoolToken1,
            toInvest
        );

        if (residue > 0) {
            (uint256 newLP, uint256 newResidue) = _performZapIn(
                address(0),
                _ToUnipoolToken0,
                _ToUnipoolToken1,
                residue
            );
            if (newResidue > 0) msg.sender.transfer(newResidue);
            LPBought += newLP;
        }
        //get pair address
        address _ToUniPoolAddress = UniSwapV2FactoryAddress.getPair(
            _ToUnipoolToken0,
            _ToUnipoolToken1
        );

        //transfer goodwill
        uint256 goodwillPortion = _transferGoodwill(
            _ToUniPoolAddress,
            LPBought
        );
        require(
            IERC20(_ToUniPoolAddress).transfer(
                msg.sender,
                SafeMath.sub(LPBought, goodwillPortion)
            ),
            "Error in transferring LP"
        );
        return SafeMath.sub(LPBought, goodwillPortion);
    }

    function _performZapIn(
        address _FromTokenContractAddress,
        address _ToUnipoolToken0,
        address _ToUnipoolToken1,
        uint256 _amount
    ) internal returns (uint256, uint256) {
        //get pair address
        address _ToUniPoolAddress = UniSwapV2FactoryAddress.getPair(
            _ToUnipoolToken0,
            _ToUnipoolToken1
        );

        uint256 r0;
        uint256 r1;

        if (_ToUniPoolAddress == address(0)) {
            (r0, r1) = (1, 1);
        } else {
            (r0, r1) = _getRatio(IUniswapV2Pair(_ToUniPoolAddress));
        }

        uint256 token0Bought;
        uint256 token1Bought;
        uint256 amount;

        if (_FromTokenContractAddress == address(0)) {
            amount = SafeMath.div(
                SafeMath.mul(_amount, r0),
                SafeMath.add(r0, r1)
            );
            token0Bought = _eth2Token(_ToUnipoolToken0, amount);
            token1Bought = _eth2Token(
                _ToUnipoolToken1,
                SafeMath.sub(_amount, amount)
            );
        } else {
            require(
                IERC20(_FromTokenContractAddress).transferFrom(
                    msg.sender,
                    address(this),
                    _amount
                ),
                "Error: ERC Transfer"
            );

            if (_ToUnipoolToken0 == _FromTokenContractAddress) {
                amount = SafeMath.div(
                    SafeMath.mul(_amount, r1),
                    SafeMath.add(r0, r1)
                );

                token1Bought = _token2Token(
                    _FromTokenContractAddress,
                    address(this),
                    _ToUnipoolToken1,
                    amount
                );

                token0Bought = SafeMath.sub(_amount, amount);
            } else if (_ToUnipoolToken1 == _FromTokenContractAddress) {
                amount = SafeMath.div(
                    SafeMath.mul(_amount, r0),
                    SafeMath.add(r0, r1)
                );

                token0Bought = _token2Token(
                    _FromTokenContractAddress,
                    address(this),
                    _ToUnipoolToken0,
                    amount
                );

                token1Bought = SafeMath.sub(_amount, amount);
            } else {
                amount = SafeMath.div(
                    SafeMath.mul(_amount, r0),
                    SafeMath.add(r0, r1)
                );
                token0Bought = _token2Token(
                    _FromTokenContractAddress,
                    address(this),
                    _ToUnipoolToken0,
                    amount
                );

                token1Bought = _token2Token(
                    _FromTokenContractAddress,
                    address(this),
                    _ToUnipoolToken1,
                    SafeMath.sub(_amount, amount)
                );
            }
        }
        IERC20(_ToUnipoolToken0).approve(
            address(uniswapV2Router),
            token0Bought
        );
        IERC20(_ToUnipoolToken1).approve(
            address(uniswapV2Router),
            token1Bought
        );

        (uint256 amountA, uint256 amountB, uint256 LP) = uniswapV2Router
            .addLiquidity(
            _ToUnipoolToken0,
            _ToUnipoolToken1,
            token0Bought,
            token1Bought,
            1,
            1,
            address(this),
            now + 60
        );

        //calculate residue
        uint256 residueEth;

        if (SafeMath.sub(token0Bought, amountA) > 0) {
            residueEth = _token2Eth(
                _ToUnipoolToken0,
                SafeMath.sub(token0Bought, amountA),
                address(this)
            );
        }

        if (SafeMath.sub(token1Bought, amountB) > 0) {
            residueEth += _token2Eth(
                _ToUnipoolToken1,
                SafeMath.sub(token1Bought, amountB),
                address(this)
            );
        }
        if (residueEth < 0.5 ether) {
            msg.sender.transfer(residueEth);
            residueEth = 0;
        }
        return (LP, residueEth);
    }

    /**
    @notice This function is used to calculate ratio for the pair tokens
    @param UnipoolPair Instance of the pair contract to invest in
    @return r0 Ratio of first token
    @return r1 Ratio of second token
     */
    function _getRatio(IUniswapV2Pair UnipoolPair)
        internal
        view
        returns (uint256 r0, uint256 r1)
    {
        (uint112 _reserve0, uint112 _reserve1, ) = IUniswapV2Pair(UnipoolPair)
            .getReserves();

        Iuniswap token0ExchangeContractAddress = Iuniswap(
            UniSwapV1FactoryAddress.getExchange(UnipoolPair.token0())
        );

        Iuniswap token1ExchangeContractAddress = Iuniswap(
            UniSwapV1FactoryAddress.getExchange(UnipoolPair.token1())
        );

        IERC20 token0 = IERC20(UnipoolPair.token0());
        IERC20 token1 = IERC20(UnipoolPair.token1());

        uint256 token0Price = token0ExchangeContractAddress
            .getTokenToEthInputPrice(10**token0.decimals());
        uint256 token1Price = token1ExchangeContractAddress
            .getTokenToEthInputPrice(10**token1.decimals());

        uint256 EthReserve0 = SafeMath.div(
            SafeMath.mul(token0Price, _reserve0),
            10**token0.decimals()
        );

        uint256 EthReserve1 = SafeMath.div(
            SafeMath.mul(token1Price, _reserve1),
            10**token1.decimals()
        );

        if (EthReserve0 >= EthReserve1) {
            uint256 ratio = SafeMath.div(
                SafeMath.mul(EthReserve0, 100),
                EthReserve1
            );
            return (ratio, 100);
        } else {
            uint256 ratio = SafeMath.div(
                SafeMath.mul(EthReserve1, 100),
                EthReserve0
            );
            return (100, ratio);
        }
    }

    /**
    @notice This function is used to buy tokens from eth
    @param _tokenContractAddress Token address which we want to buy
    @param _amount The amount of eth we want to exchange
    @return The quantity of token bought
     */
    function _eth2Token(address _tokenContractAddress, uint256 _amount)
        internal
        returns (uint256 tokenBought)
    {
        Iuniswap FromUniSwapExchangeContractAddress = Iuniswap(
            UniSwapV1FactoryAddress.getExchange(_tokenContractAddress)
        );

        tokenBought = FromUniSwapExchangeContractAddress
            .ethToTokenSwapInput
            .value(_amount)(1, SafeMath.add(now, 300));
    }

    /**
    @notice This function is used to swap token with ETH
    @param _FromTokenContractAddress The token address to swap from
    @param tokens2Trade The quantity of tokens to swap
    @return The amount of eth bought
     */
    function _token2Eth(
        address _FromTokenContractAddress,
        uint256 tokens2Trade,
        address _toWhomToIssue
    ) internal returns (uint256 ethBought) {
        Iuniswap FromUniSwapExchangeContractAddress = Iuniswap(
            UniSwapV1FactoryAddress.getExchange(_FromTokenContractAddress)
        );

        IERC20(_FromTokenContractAddress).approve(
            address(FromUniSwapExchangeContractAddress),
            tokens2Trade
        );

        uint256 minEthBought = FromUniSwapExchangeContractAddress
            .getTokenToEthInputPrice(tokens2Trade);
        minEthBought = SafeMath.div(SafeMath.mul(minEthBought, 99), 100);

        ethBought = FromUniSwapExchangeContractAddress.tokenToEthTransferInput(
            tokens2Trade,
            minEthBought,
            SafeMath.add(now, 300),
            _toWhomToIssue
        );
        require(ethBought > 0, "Error in swapping Eth: 1");
    }

    /**
    @notice This function is used to swap tokens
    @param _FromTokenContractAddress The token address to swap from
    @param _ToWhomToIssue The address to transfer after swap
    @param _ToTokenContractAddress The token address to swap to
    @param tokens2Trade The quantity of tokens to swap
    @return The amount of tokens returned after swap
     */
    function _token2Token(
        address _FromTokenContractAddress,
        address _ToWhomToIssue,
        address _ToTokenContractAddress,
        uint256 tokens2Trade
    ) internal returns (uint256 tokenBought) {
        Iuniswap FromUniSwapExchangeContractAddress = Iuniswap(
            UniSwapV1FactoryAddress.getExchange(_FromTokenContractAddress)
        );

        IERC20(_FromTokenContractAddress).approve(
            address(FromUniSwapExchangeContractAddress),
            tokens2Trade
        );

        tokenBought = FromUniSwapExchangeContractAddress
            .tokenToTokenTransferInput(
            tokens2Trade,
            1,
            1,
            SafeMath.add(now, 300),
            _ToWhomToIssue,
            _ToTokenContractAddress
        );
        require(tokenBought > 0, "Error in swapping ERC: 1");
    }

    /**
    @notice This function is used to calculate and transfer goodwill
    @param _tokenContractAddress Token in which goodwill is deducted
    @param tokens2Trade The total amount of tokens to be zapped in
    @return The quantity of goodwill deducted
     */
    function _transferGoodwill(
        address _tokenContractAddress,
        uint256 tokens2Trade
    ) internal returns (uint256 goodwillPortion) {
        goodwillPortion = SafeMath.div(
            SafeMath.mul(tokens2Trade, goodwill),
            10000
        );

        if (goodwillPortion == 0) {
            return 0;
        }

        require(
            IERC20(_tokenContractAddress).transfer(
                dzgoodwillAddress,
                goodwillPortion
            ),
            "Error in transferring BPT:1"
        );
    }

    function set_new_goodwill(uint16 _new_goodwill) public onlyOwner {
        require(
            _new_goodwill >= 0 && _new_goodwill < 10000,
            "GoodWill Value not allowed"
        );
        goodwill = _new_goodwill;
    }

    function set_new_dzgoodwillAddress(address _new_dzgoodwillAddress)
        public
        onlyOwner
    {
        dzgoodwillAddress = _new_dzgoodwillAddress;
    }

    function inCaseTokengetsStuck(IERC20 _TokenAddress) public onlyOwner {
        uint256 qty = _TokenAddress.balanceOf(address(this));
        _TokenAddress.transfer(owner(), qty);
    }

    // - to Pause the contract
    function toggleContractActive() public onlyOwner {
        stopped = !stopped;
    }

    // - to withdraw any ETH balance sitting in the contract
    function withdraw() public onlyOwner {
        uint256 contractBalance = address(this).balance;
        address payable _to = owner().toPayable();
        _to.transfer(contractBalance);
    }

    // - to kill the contract
    function destruct() public onlyOwner {
        address payable _to = owner().toPayable();
        selfdestruct(_to);
    }

    function() external payable {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint16","name":"_goodwill","type":"uint16"},{"internalType":"address","name":"_dzgoodwillAddress","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":true,"inputs":[],"name":"UniSwapV1FactoryAddress","outputs":[{"internalType":"contract IUniswapV1Factory","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"UniSwapV2FactoryAddress","outputs":[{"internalType":"contract IUniswapV2Factory","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_FromTokenContractAddress","type":"address"},{"internalType":"address","name":"_ToUnipoolToken0","type":"address"},{"internalType":"address","name":"_ToUnipoolToken1","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"ZapIn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"destruct","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"dzgoodwillAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"goodwill","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"contract IERC20","name":"_TokenAddress","type":"address"}],"name":"inCaseTokengetsStuck","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_new_dzgoodwillAddress","type":"address"}],"name":"set_new_dzgoodwillAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint16","name":"_new_goodwill","type":"uint16"}],"name":"set_new_goodwill","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"toggleContractActive","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router01","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

60806040526000805460ff60a81b19169055600280546001600160a01b031990811673f164fc0ec4e93095b804a4795bbe1e041497b92a1790915560038054821673c0a47dfe034b400b47bdad5fecda2621de6c4d9517905560048054909116735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f17905534801561008357600080fd5b50604051612342380380612342833981810160405260408110156100a657600080fd5b5080516020909101516000805460ff191660011781556100cd6001600160e01b0361017916565b60008054610100600160a81b0319166101006001600160a01b038416908102919091178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000805461ffff9093167601000000000000000000000000000000000000000000000261ffff60b01b1990931692909217909155600180546001600160a01b039092166001600160a01b031990921691909117905561017d565b3390565b6121b68061018c6000396000f3fe6080604052600436106100f35760003560e01c80638da5cb5b1161008a578063c3a8fcb011610059578063c3a8fcb01461028d578063e88c6814146102a2578063f2fde38b146102b7578063fb4595ef146102ea576100f3565b80638da5cb5b1461020c5780638f32d59b14610221578063b10e1dbc1461024a578063c28ac73d14610278576100f3565b8063551196d5116100c6578063551196d5146101655780635de0398e14610198578063715018a6146101c4578063849e25f4146101d9576100f3565b80631385d24c146100f55780631694505e1461010a5780632b68b9c61461013b5780633ccfd60b14610150575b005b34801561010157600080fd5b506100f3610338565b34801561011657600080fd5b5061011f6103a0565b604080516001600160a01b039092168252519081900360200190f35b34801561014757600080fd5b506100f36103af565b34801561015c57600080fd5b506100f361041f565b34801561017157600080fd5b506100f36004803603602081101561018857600080fd5b50356001600160a01b03166104b3565b3480156101a457600080fd5b506101ad610609565b6040805161ffff9092168252519081900360200190f35b3480156101d057600080fd5b506100f361061a565b3480156101e557600080fd5b506100f3600480360360208110156101fc57600080fd5b50356001600160a01b03166106b0565b34801561021857600080fd5b5061011f610719565b34801561022d57600080fd5b5061023661072d565b604080519115158252519081900360200190f35b34801561025657600080fd5b506100f36004803603602081101561026d57600080fd5b503561ffff16610756565b34801561028457600080fd5b5061011f610819565b34801561029957600080fd5b5061011f610828565b3480156102ae57600080fd5b5061011f610837565b3480156102c357600080fd5b506100f3600480360360208110156102da57600080fd5b50356001600160a01b0316610846565b6103266004803603608081101561030057600080fd5b506001600160a01b03813581169160208101358216916040820135169060600135610899565b60408051918252519081900360200190f35b61034061072d565b61037f576040805162461bcd60e51b81526020600482018190526024820152600080516020612162833981519152604482015290519081900360640190fd5b6000805460ff60a81b198116600160a81b9182900460ff1615909102179055565b6002546001600160a01b031681565b6103b761072d565b6103f6576040805162461bcd60e51b81526020600482018190526024820152600080516020612162833981519152604482015290519081900360640190fd5b6000610411610403610719565b6001600160a01b0316610c5b565b9050806001600160a01b0316ff5b61042761072d565b610466576040805162461bcd60e51b81526020600482018190526024820152600080516020612162833981519152604482015290519081900360640190fd5b30316000610475610403610719565b6040519091506001600160a01b0382169083156108fc029084906000818181858888f193505050501580156104ae573d6000803e3d6000fd5b505050565b6104bb61072d565b6104fa576040805162461bcd60e51b81526020600482018190526024820152600080516020612162833981519152604482015290519081900360640190fd5b604080516370a0823160e01b815230600482015290516000916001600160a01b038416916370a0823191602480820192602092909190829003018186803b15801561054457600080fd5b505afa158015610558573d6000803e3d6000fd5b505050506040513d602081101561056e57600080fd5b505190506001600160a01b03821663a9059cbb610589610719565b836040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156105d957600080fd5b505af11580156105ed573d6000803e3d6000fd5b505050506040513d602081101561060357600080fd5b50505050565b600054600160b01b900461ffff1681565b61062261072d565b610661576040805162461bcd60e51b81526020600482018190526024820152600080516020612162833981519152604482015290519081900360640190fd5b600080546040516101009091046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360008054610100600160a81b0319169055565b6106b861072d565b6106f7576040805162461bcd60e51b81526020600482018190526024820152600080516020612162833981519152604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b60005461010090046001600160a01b031690565b6000805461010090046001600160a01b0316610747610c5e565b6001600160a01b031614905090565b61075e61072d565b61079d576040805162461bcd60e51b81526020600482018190526024820152600080516020612162833981519152604482015290519081900360640190fd5b6127108161ffff16106107f7576040805162461bcd60e51b815260206004820152601a60248201527f476f6f6457696c6c2056616c7565206e6f7420616c6c6f776564000000000000604482015290519081900360640190fd5b6000805461ffff909216600160b01b0261ffff60b01b19909216919091179055565b6003546001600160a01b031681565b6001546001600160a01b031681565b6004546001600160a01b031681565b61084e61072d565b61088d576040805162461bcd60e51b81526020600482018190526024820152600080516020612162833981519152604482015290519081900360640190fd5b61089681610c62565b50565b6000805460ff166108f1576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6000805460ff191690819055600160a81b900460ff161561094e576040805162461bcd60e51b815260206004820152601260248201527115195b5c1bdc985c9a5b1e4814185d5cd95960721b604482015290519081900360640190fd5b60006001600160a01b0386166109b057600034116109a9576040805162461bcd60e51b8152602060048201526013602482015272115c9c9bdc8e88115512081b9bdd081cd95b9d606a1b604482015290519081900360640190fd5b5034610a4d565b34156109f5576040805162461bcd60e51b815260206004820152600f60248201526e115c9c9bdc8e88115512081cd95b9d608a1b604482015290519081900360640190fd5b60008311610a4a576040805162461bcd60e51b815260206004820152601960248201527f4572726f723a20496e76616c69642045524320616d6f756e7400000000000000604482015290519081900360640190fd5b50815b600080610a5c88888886610d0d565b90925090508015610ab857600080610a7760008a8a86610d0d565b90925090508015610ab157604051339082156108fc029083906000818181858888f19350505050158015610aaf573d6000803e3d6000fd5b505b5091909101905b600480546040805163e6a4390560e01b81526001600160a01b038b811694820194909452898416602482015290516000939092169163e6a4390591604480820192602092909190829003018186803b158015610b1357600080fd5b505afa158015610b27573d6000803e3d6000fd5b505050506040513d6020811015610b3d57600080fd5b505190506000610b4d828561120f565b9050816001600160a01b031663a9059cbb33610b69878561131d565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610bb857600080fd5b505af1158015610bcc573d6000803e3d6000fd5b505050506040513d6020811015610be257600080fd5b5051610c35576040805162461bcd60e51b815260206004820152601860248201527f4572726f7220696e207472616e7366657272696e67204c500000000000000000604482015290519081900360640190fd5b610c3f848261131d565b955050505050506000805460ff19166001179055949350505050565b90565b3390565b6001600160a01b038116610ca75760405162461bcd60e51b815260040180806020018281038252602681526020018061211b6026913960400191505060405180910390fd5b600080546040516001600160a01b038085169361010090930416917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b600480546040805163e6a4390560e01b81526001600160a01b0387811694820194909452858416602482015290516000938493849391169163e6a4390591604480820192602092909190829003018186803b158015610d6b57600080fd5b505afa158015610d7f573d6000803e3d6000fd5b505050506040513d6020811015610d9557600080fd5b505190506000806001600160a01b038316610db557506001905080610dc4565b610dbe83611366565b90925090505b600080806001600160a01b038c16610e1a57610df2610de38a8761197c565b610ded87876119d5565b611a2f565b9050610dfe8b82611a71565b9250610e138a610e0e8b8461131d565b611a71565b9150610fa0565b604080516323b872dd60e01b8152336004820152306024820152604481018b905290516001600160a01b038e16916323b872dd9160648083019260209291908290030181600087803b158015610e6f57600080fd5b505af1158015610e83573d6000803e3d6000fd5b505050506040513d6020811015610e9957600080fd5b5051610ee2576040805162461bcd60e51b815260206004820152601360248201527222b93937b91d1022a921902a3930b739b332b960691b604482015290519081900360640190fd5b8b6001600160a01b03168b6001600160a01b03161415610f2a57610f09610de38a8661197c565b9050610f178c308c84611b7d565b9150610f23898261131d565b9250610fa0565b8b6001600160a01b03168a6001600160a01b03161415610f6b57610f51610de38a8761197c565b9050610f5f8c308d84611b7d565b9250610e13898261131d565b610f78610de38a8761197c565b9050610f868c308d84611b7d565b9250610f9d8c308c610f988d8661131d565b611b7d565b91505b6002546040805163095ea7b360e01b81526001600160a01b039283166004820152602481018690529051918d169163095ea7b3916044808201926020929091908290030181600087803b158015610ff657600080fd5b505af115801561100a573d6000803e3d6000fd5b505050506040513d602081101561102057600080fd5b50506002546040805163095ea7b360e01b81526001600160a01b039283166004820152602481018590529051918c169163095ea7b3916044808201926020929091908290030181600087803b15801561107857600080fd5b505af115801561108c573d6000803e3d6000fd5b505050506040513d60208110156110a257600080fd5b50506002546040805162e8e33760e81b81526001600160a01b038e811660048301528d81166024830152604482018790526064820186905260016084830181905260a48301523060c4830152603c420160e483015291516000938493849391169163e8e33700916101048082019260609290919082900301818787803b15801561112b57600080fd5b505af115801561113f573d6000803e3d6000fd5b505050506040513d606081101561115557600080fd5b50805160208201516040909201519094509092509050600080611178888661131d565b1115611195576111928f61118c898761131d565b30611d8d565b90505b60006111a1878561131d565b11156111b7576111b58e61118c888661131d565b015b6706f05b59d3b200008110156111fa57604051339082156108fc029083906000818181858888f193505050501580156111f4573d6000803e3d6000fd5b50600090505b909f909e509c50505050505050505050505050565b600080546112359061122d908490600160b01b900461ffff1661197c565b612710611a2f565b90508061124457506000611317565b6001546040805163a9059cbb60e01b81526001600160a01b0392831660048201526024810184905290519185169163a9059cbb916044808201926020929091908290030181600087803b15801561129a57600080fd5b505af11580156112ae573d6000803e3d6000fd5b505050506040513d60208110156112c457600080fd5b5051611317576040805162461bcd60e51b815260206004820152601b60248201527f4572726f7220696e207472616e7366657272696e67204250543a310000000000604482015290519081900360640190fd5b92915050565b600061135f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061201e565b9392505050565b600080600080846001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156113a557600080fd5b505afa1580156113b9573d6000803e3d6000fd5b505050506040513d60608110156113cf57600080fd5b50805160209182015160035460408051630dfe168160e01b815290519396509194506000936001600160a01b03918216936306f2bf6293928b1692630dfe1681926004808301939192829003018186803b15801561142c57600080fd5b505afa158015611440573d6000803e3d6000fd5b505050506040513d602081101561145657600080fd5b5051604080516001600160e01b031960e085901b1681526001600160a01b039092166004830152516024808301926020929190829003018186803b15801561149d57600080fd5b505afa1580156114b1573d6000803e3d6000fd5b505050506040513d60208110156114c757600080fd5b50516003546040805163d21220a760e01b815290519293506000926001600160a01b03928316926306f2bf6292908b169163d21220a791600480820192602092909190829003018186803b15801561151e57600080fd5b505afa158015611532573d6000803e3d6000fd5b505050506040513d602081101561154857600080fd5b5051604080516001600160e01b031960e085901b1681526001600160a01b039092166004830152516024808301926020929190829003018186803b15801561158f57600080fd5b505afa1580156115a3573d6000803e3d6000fd5b505050506040513d60208110156115b957600080fd5b505160408051630dfe168160e01b815290519192506000916001600160a01b038a1691630dfe1681916004808301926020929190829003018186803b15801561160157600080fd5b505afa158015611615573d6000803e3d6000fd5b505050506040513d602081101561162b57600080fd5b50516040805163d21220a760e01b815290519192506000916001600160a01b038b169163d21220a7916004808301926020929190829003018186803b15801561167357600080fd5b505afa158015611687573d6000803e3d6000fd5b505050506040513d602081101561169d57600080fd5b50516040805163313ce56760e01b815290519192506000916001600160a01b03808816926395b68fe7929187169163313ce56791600480820192602092909190829003018186803b1580156116f157600080fd5b505afa158015611705573d6000803e3d6000fd5b505050506040513d602081101561171b57600080fd5b5051604080516001600160e01b031960e085901b168152600a9290920a6004830152516024808301926020929190829003018186803b15801561175d57600080fd5b505afa158015611771573d6000803e3d6000fd5b505050506040513d602081101561178757600080fd5b50516040805163313ce56760e01b815290519192506000916001600160a01b03808816926395b68fe7929187169163313ce56791600480820192602092909190829003018186803b1580156117db57600080fd5b505afa1580156117ef573d6000803e3d6000fd5b505050506040513d602081101561180557600080fd5b5051604080516001600160e01b031960e085901b168152600a9290920a6004830152516024808301926020929190829003018186803b15801561184757600080fd5b505afa15801561185b573d6000803e3d6000fd5b505050506040513d602081101561187157600080fd5b5051905060006118fa61188d846001600160701b038c1661197c565b866001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156118c657600080fd5b505afa1580156118da573d6000803e3d6000fd5b505050506040513d60208110156118f057600080fd5b5051600a0a611a2f565b9050600061191461188d848b6001600160701b031661197c565b905080821061194a57600061193361192d84606461197c565b83611a2f565b9c5060649b506119779a5050505050505050505050565b600061196061195a83606461197c565b84611a2f565b60649d509b506119779a5050505050505050505050565b915091565b60008261198b57506000611317565b8282028284828161199857fe5b041461135f5760405162461bcd60e51b81526004018080602001828103825260218152602001806121416021913960400191505060405180910390fd5b60008282018381101561135f576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061135f83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506120b5565b600354604080516303795fb160e11b81526001600160a01b0385811660048301529151600093849316916306f2bf62916024808301926020929190829003018186803b158015611ac057600080fd5b505afa158015611ad4573d6000803e3d6000fd5b505050506040513d6020811015611aea57600080fd5b505190506001600160a01b03811663f39b5b9b846001611b0c4261012c6119d5565b6040518463ffffffff1660e01b815260040180838152602001828152602001925050506020604051808303818588803b158015611b4857600080fd5b505af1158015611b5c573d6000803e3d6000fd5b50505050506040513d6020811015611b7357600080fd5b5051949350505050565b600354604080516303795fb160e11b81526001600160a01b0387811660048301529151600093849316916306f2bf62916024808301926020929190829003018186803b158015611bcc57600080fd5b505afa158015611be0573d6000803e3d6000fd5b505050506040513d6020811015611bf657600080fd5b50516040805163095ea7b360e01b81526001600160a01b0380841660048301526024820187905291519293509088169163095ea7b3916044808201926020929091908290030181600087803b158015611c4e57600080fd5b505af1158015611c62573d6000803e3d6000fd5b505050506040513d6020811015611c7857600080fd5b50506001600160a01b03811663f552d91b84600180611c994261012c6119d5565b604080516001600160e01b031960e088901b16815260048101959095526024850193909352604484019190915260648301526001600160a01b03808a166084840152881660a48301525160c48083019260209291908290030181600087803b158015611d0457600080fd5b505af1158015611d18573d6000803e3d6000fd5b505050506040513d6020811015611d2e57600080fd5b5051915081611d84576040805162461bcd60e51b815260206004820152601860248201527f4572726f7220696e207377617070696e67204552433a20310000000000000000604482015290519081900360640190fd5b50949350505050565b600354604080516303795fb160e11b81526001600160a01b0386811660048301529151600093849316916306f2bf62916024808301926020929190829003018186803b158015611ddc57600080fd5b505afa158015611df0573d6000803e3d6000fd5b505050506040513d6020811015611e0657600080fd5b50516040805163095ea7b360e01b81526001600160a01b0380841660048301526024820188905291519293509087169163095ea7b3916044808201926020929091908290030181600087803b158015611e5e57600080fd5b505af1158015611e72573d6000803e3d6000fd5b505050506040513d6020811015611e8857600080fd5b5050604080516395b68fe760e01b81526004810186905290516000916001600160a01b038416916395b68fe791602480820192602092909190829003018186803b158015611ed557600080fd5b505afa158015611ee9573d6000803e3d6000fd5b505050506040513d6020811015611eff57600080fd5b50519050611f18611f1182606361197c565b6064611a2f565b9050816001600160a01b0316637237e0318683611f374261012c6119d5565b886040518563ffffffff1660e01b815260040180858152602001848152602001838152602001826001600160a01b03166001600160a01b03168152602001945050505050602060405180830381600087803b158015611f9557600080fd5b505af1158015611fa9573d6000803e3d6000fd5b505050506040513d6020811015611fbf57600080fd5b5051925082612015576040805162461bcd60e51b815260206004820152601860248201527f4572726f7220696e207377617070696e67204574683a20310000000000000000604482015290519081900360640190fd5b50509392505050565b600081848411156120ad5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561207257818101518382015260200161205a565b50505050905090810190601f16801561209f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836121045760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561207257818101518382015260200161205a565b50600083858161211057fe5b049594505050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a265627a7a723158204e8acf845891ea3fa06ea97ccb65613e377b8858066dabec2663b9574933e44564736f6c634300050c00320000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f79cabc4caca5eca8ee6a36651a0ad5a2190f04e

Deployed Bytecode

0x6080604052600436106100f35760003560e01c80638da5cb5b1161008a578063c3a8fcb011610059578063c3a8fcb01461028d578063e88c6814146102a2578063f2fde38b146102b7578063fb4595ef146102ea576100f3565b80638da5cb5b1461020c5780638f32d59b14610221578063b10e1dbc1461024a578063c28ac73d14610278576100f3565b8063551196d5116100c6578063551196d5146101655780635de0398e14610198578063715018a6146101c4578063849e25f4146101d9576100f3565b80631385d24c146100f55780631694505e1461010a5780632b68b9c61461013b5780633ccfd60b14610150575b005b34801561010157600080fd5b506100f3610338565b34801561011657600080fd5b5061011f6103a0565b604080516001600160a01b039092168252519081900360200190f35b34801561014757600080fd5b506100f36103af565b34801561015c57600080fd5b506100f361041f565b34801561017157600080fd5b506100f36004803603602081101561018857600080fd5b50356001600160a01b03166104b3565b3480156101a457600080fd5b506101ad610609565b6040805161ffff9092168252519081900360200190f35b3480156101d057600080fd5b506100f361061a565b3480156101e557600080fd5b506100f3600480360360208110156101fc57600080fd5b50356001600160a01b03166106b0565b34801561021857600080fd5b5061011f610719565b34801561022d57600080fd5b5061023661072d565b604080519115158252519081900360200190f35b34801561025657600080fd5b506100f36004803603602081101561026d57600080fd5b503561ffff16610756565b34801561028457600080fd5b5061011f610819565b34801561029957600080fd5b5061011f610828565b3480156102ae57600080fd5b5061011f610837565b3480156102c357600080fd5b506100f3600480360360208110156102da57600080fd5b50356001600160a01b0316610846565b6103266004803603608081101561030057600080fd5b506001600160a01b03813581169160208101358216916040820135169060600135610899565b60408051918252519081900360200190f35b61034061072d565b61037f576040805162461bcd60e51b81526020600482018190526024820152600080516020612162833981519152604482015290519081900360640190fd5b6000805460ff60a81b198116600160a81b9182900460ff1615909102179055565b6002546001600160a01b031681565b6103b761072d565b6103f6576040805162461bcd60e51b81526020600482018190526024820152600080516020612162833981519152604482015290519081900360640190fd5b6000610411610403610719565b6001600160a01b0316610c5b565b9050806001600160a01b0316ff5b61042761072d565b610466576040805162461bcd60e51b81526020600482018190526024820152600080516020612162833981519152604482015290519081900360640190fd5b30316000610475610403610719565b6040519091506001600160a01b0382169083156108fc029084906000818181858888f193505050501580156104ae573d6000803e3d6000fd5b505050565b6104bb61072d565b6104fa576040805162461bcd60e51b81526020600482018190526024820152600080516020612162833981519152604482015290519081900360640190fd5b604080516370a0823160e01b815230600482015290516000916001600160a01b038416916370a0823191602480820192602092909190829003018186803b15801561054457600080fd5b505afa158015610558573d6000803e3d6000fd5b505050506040513d602081101561056e57600080fd5b505190506001600160a01b03821663a9059cbb610589610719565b836040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156105d957600080fd5b505af11580156105ed573d6000803e3d6000fd5b505050506040513d602081101561060357600080fd5b50505050565b600054600160b01b900461ffff1681565b61062261072d565b610661576040805162461bcd60e51b81526020600482018190526024820152600080516020612162833981519152604482015290519081900360640190fd5b600080546040516101009091046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360008054610100600160a81b0319169055565b6106b861072d565b6106f7576040805162461bcd60e51b81526020600482018190526024820152600080516020612162833981519152604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b60005461010090046001600160a01b031690565b6000805461010090046001600160a01b0316610747610c5e565b6001600160a01b031614905090565b61075e61072d565b61079d576040805162461bcd60e51b81526020600482018190526024820152600080516020612162833981519152604482015290519081900360640190fd5b6127108161ffff16106107f7576040805162461bcd60e51b815260206004820152601a60248201527f476f6f6457696c6c2056616c7565206e6f7420616c6c6f776564000000000000604482015290519081900360640190fd5b6000805461ffff909216600160b01b0261ffff60b01b19909216919091179055565b6003546001600160a01b031681565b6001546001600160a01b031681565b6004546001600160a01b031681565b61084e61072d565b61088d576040805162461bcd60e51b81526020600482018190526024820152600080516020612162833981519152604482015290519081900360640190fd5b61089681610c62565b50565b6000805460ff166108f1576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6000805460ff191690819055600160a81b900460ff161561094e576040805162461bcd60e51b815260206004820152601260248201527115195b5c1bdc985c9a5b1e4814185d5cd95960721b604482015290519081900360640190fd5b60006001600160a01b0386166109b057600034116109a9576040805162461bcd60e51b8152602060048201526013602482015272115c9c9bdc8e88115512081b9bdd081cd95b9d606a1b604482015290519081900360640190fd5b5034610a4d565b34156109f5576040805162461bcd60e51b815260206004820152600f60248201526e115c9c9bdc8e88115512081cd95b9d608a1b604482015290519081900360640190fd5b60008311610a4a576040805162461bcd60e51b815260206004820152601960248201527f4572726f723a20496e76616c69642045524320616d6f756e7400000000000000604482015290519081900360640190fd5b50815b600080610a5c88888886610d0d565b90925090508015610ab857600080610a7760008a8a86610d0d565b90925090508015610ab157604051339082156108fc029083906000818181858888f19350505050158015610aaf573d6000803e3d6000fd5b505b5091909101905b600480546040805163e6a4390560e01b81526001600160a01b038b811694820194909452898416602482015290516000939092169163e6a4390591604480820192602092909190829003018186803b158015610b1357600080fd5b505afa158015610b27573d6000803e3d6000fd5b505050506040513d6020811015610b3d57600080fd5b505190506000610b4d828561120f565b9050816001600160a01b031663a9059cbb33610b69878561131d565b6040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610bb857600080fd5b505af1158015610bcc573d6000803e3d6000fd5b505050506040513d6020811015610be257600080fd5b5051610c35576040805162461bcd60e51b815260206004820152601860248201527f4572726f7220696e207472616e7366657272696e67204c500000000000000000604482015290519081900360640190fd5b610c3f848261131d565b955050505050506000805460ff19166001179055949350505050565b90565b3390565b6001600160a01b038116610ca75760405162461bcd60e51b815260040180806020018281038252602681526020018061211b6026913960400191505060405180910390fd5b600080546040516001600160a01b038085169361010090930416917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b600480546040805163e6a4390560e01b81526001600160a01b0387811694820194909452858416602482015290516000938493849391169163e6a4390591604480820192602092909190829003018186803b158015610d6b57600080fd5b505afa158015610d7f573d6000803e3d6000fd5b505050506040513d6020811015610d9557600080fd5b505190506000806001600160a01b038316610db557506001905080610dc4565b610dbe83611366565b90925090505b600080806001600160a01b038c16610e1a57610df2610de38a8761197c565b610ded87876119d5565b611a2f565b9050610dfe8b82611a71565b9250610e138a610e0e8b8461131d565b611a71565b9150610fa0565b604080516323b872dd60e01b8152336004820152306024820152604481018b905290516001600160a01b038e16916323b872dd9160648083019260209291908290030181600087803b158015610e6f57600080fd5b505af1158015610e83573d6000803e3d6000fd5b505050506040513d6020811015610e9957600080fd5b5051610ee2576040805162461bcd60e51b815260206004820152601360248201527222b93937b91d1022a921902a3930b739b332b960691b604482015290519081900360640190fd5b8b6001600160a01b03168b6001600160a01b03161415610f2a57610f09610de38a8661197c565b9050610f178c308c84611b7d565b9150610f23898261131d565b9250610fa0565b8b6001600160a01b03168a6001600160a01b03161415610f6b57610f51610de38a8761197c565b9050610f5f8c308d84611b7d565b9250610e13898261131d565b610f78610de38a8761197c565b9050610f868c308d84611b7d565b9250610f9d8c308c610f988d8661131d565b611b7d565b91505b6002546040805163095ea7b360e01b81526001600160a01b039283166004820152602481018690529051918d169163095ea7b3916044808201926020929091908290030181600087803b158015610ff657600080fd5b505af115801561100a573d6000803e3d6000fd5b505050506040513d602081101561102057600080fd5b50506002546040805163095ea7b360e01b81526001600160a01b039283166004820152602481018590529051918c169163095ea7b3916044808201926020929091908290030181600087803b15801561107857600080fd5b505af115801561108c573d6000803e3d6000fd5b505050506040513d60208110156110a257600080fd5b50506002546040805162e8e33760e81b81526001600160a01b038e811660048301528d81166024830152604482018790526064820186905260016084830181905260a48301523060c4830152603c420160e483015291516000938493849391169163e8e33700916101048082019260609290919082900301818787803b15801561112b57600080fd5b505af115801561113f573d6000803e3d6000fd5b505050506040513d606081101561115557600080fd5b50805160208201516040909201519094509092509050600080611178888661131d565b1115611195576111928f61118c898761131d565b30611d8d565b90505b60006111a1878561131d565b11156111b7576111b58e61118c888661131d565b015b6706f05b59d3b200008110156111fa57604051339082156108fc029083906000818181858888f193505050501580156111f4573d6000803e3d6000fd5b50600090505b909f909e509c50505050505050505050505050565b600080546112359061122d908490600160b01b900461ffff1661197c565b612710611a2f565b90508061124457506000611317565b6001546040805163a9059cbb60e01b81526001600160a01b0392831660048201526024810184905290519185169163a9059cbb916044808201926020929091908290030181600087803b15801561129a57600080fd5b505af11580156112ae573d6000803e3d6000fd5b505050506040513d60208110156112c457600080fd5b5051611317576040805162461bcd60e51b815260206004820152601b60248201527f4572726f7220696e207472616e7366657272696e67204250543a310000000000604482015290519081900360640190fd5b92915050565b600061135f83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061201e565b9392505050565b600080600080846001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b1580156113a557600080fd5b505afa1580156113b9573d6000803e3d6000fd5b505050506040513d60608110156113cf57600080fd5b50805160209182015160035460408051630dfe168160e01b815290519396509194506000936001600160a01b03918216936306f2bf6293928b1692630dfe1681926004808301939192829003018186803b15801561142c57600080fd5b505afa158015611440573d6000803e3d6000fd5b505050506040513d602081101561145657600080fd5b5051604080516001600160e01b031960e085901b1681526001600160a01b039092166004830152516024808301926020929190829003018186803b15801561149d57600080fd5b505afa1580156114b1573d6000803e3d6000fd5b505050506040513d60208110156114c757600080fd5b50516003546040805163d21220a760e01b815290519293506000926001600160a01b03928316926306f2bf6292908b169163d21220a791600480820192602092909190829003018186803b15801561151e57600080fd5b505afa158015611532573d6000803e3d6000fd5b505050506040513d602081101561154857600080fd5b5051604080516001600160e01b031960e085901b1681526001600160a01b039092166004830152516024808301926020929190829003018186803b15801561158f57600080fd5b505afa1580156115a3573d6000803e3d6000fd5b505050506040513d60208110156115b957600080fd5b505160408051630dfe168160e01b815290519192506000916001600160a01b038a1691630dfe1681916004808301926020929190829003018186803b15801561160157600080fd5b505afa158015611615573d6000803e3d6000fd5b505050506040513d602081101561162b57600080fd5b50516040805163d21220a760e01b815290519192506000916001600160a01b038b169163d21220a7916004808301926020929190829003018186803b15801561167357600080fd5b505afa158015611687573d6000803e3d6000fd5b505050506040513d602081101561169d57600080fd5b50516040805163313ce56760e01b815290519192506000916001600160a01b03808816926395b68fe7929187169163313ce56791600480820192602092909190829003018186803b1580156116f157600080fd5b505afa158015611705573d6000803e3d6000fd5b505050506040513d602081101561171b57600080fd5b5051604080516001600160e01b031960e085901b168152600a9290920a6004830152516024808301926020929190829003018186803b15801561175d57600080fd5b505afa158015611771573d6000803e3d6000fd5b505050506040513d602081101561178757600080fd5b50516040805163313ce56760e01b815290519192506000916001600160a01b03808816926395b68fe7929187169163313ce56791600480820192602092909190829003018186803b1580156117db57600080fd5b505afa1580156117ef573d6000803e3d6000fd5b505050506040513d602081101561180557600080fd5b5051604080516001600160e01b031960e085901b168152600a9290920a6004830152516024808301926020929190829003018186803b15801561184757600080fd5b505afa15801561185b573d6000803e3d6000fd5b505050506040513d602081101561187157600080fd5b5051905060006118fa61188d846001600160701b038c1661197c565b866001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156118c657600080fd5b505afa1580156118da573d6000803e3d6000fd5b505050506040513d60208110156118f057600080fd5b5051600a0a611a2f565b9050600061191461188d848b6001600160701b031661197c565b905080821061194a57600061193361192d84606461197c565b83611a2f565b9c5060649b506119779a5050505050505050505050565b600061196061195a83606461197c565b84611a2f565b60649d509b506119779a5050505050505050505050565b915091565b60008261198b57506000611317565b8282028284828161199857fe5b041461135f5760405162461bcd60e51b81526004018080602001828103825260218152602001806121416021913960400191505060405180910390fd5b60008282018381101561135f576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061135f83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506120b5565b600354604080516303795fb160e11b81526001600160a01b0385811660048301529151600093849316916306f2bf62916024808301926020929190829003018186803b158015611ac057600080fd5b505afa158015611ad4573d6000803e3d6000fd5b505050506040513d6020811015611aea57600080fd5b505190506001600160a01b03811663f39b5b9b846001611b0c4261012c6119d5565b6040518463ffffffff1660e01b815260040180838152602001828152602001925050506020604051808303818588803b158015611b4857600080fd5b505af1158015611b5c573d6000803e3d6000fd5b50505050506040513d6020811015611b7357600080fd5b5051949350505050565b600354604080516303795fb160e11b81526001600160a01b0387811660048301529151600093849316916306f2bf62916024808301926020929190829003018186803b158015611bcc57600080fd5b505afa158015611be0573d6000803e3d6000fd5b505050506040513d6020811015611bf657600080fd5b50516040805163095ea7b360e01b81526001600160a01b0380841660048301526024820187905291519293509088169163095ea7b3916044808201926020929091908290030181600087803b158015611c4e57600080fd5b505af1158015611c62573d6000803e3d6000fd5b505050506040513d6020811015611c7857600080fd5b50506001600160a01b03811663f552d91b84600180611c994261012c6119d5565b604080516001600160e01b031960e088901b16815260048101959095526024850193909352604484019190915260648301526001600160a01b03808a166084840152881660a48301525160c48083019260209291908290030181600087803b158015611d0457600080fd5b505af1158015611d18573d6000803e3d6000fd5b505050506040513d6020811015611d2e57600080fd5b5051915081611d84576040805162461bcd60e51b815260206004820152601860248201527f4572726f7220696e207377617070696e67204552433a20310000000000000000604482015290519081900360640190fd5b50949350505050565b600354604080516303795fb160e11b81526001600160a01b0386811660048301529151600093849316916306f2bf62916024808301926020929190829003018186803b158015611ddc57600080fd5b505afa158015611df0573d6000803e3d6000fd5b505050506040513d6020811015611e0657600080fd5b50516040805163095ea7b360e01b81526001600160a01b0380841660048301526024820188905291519293509087169163095ea7b3916044808201926020929091908290030181600087803b158015611e5e57600080fd5b505af1158015611e72573d6000803e3d6000fd5b505050506040513d6020811015611e8857600080fd5b5050604080516395b68fe760e01b81526004810186905290516000916001600160a01b038416916395b68fe791602480820192602092909190829003018186803b158015611ed557600080fd5b505afa158015611ee9573d6000803e3d6000fd5b505050506040513d6020811015611eff57600080fd5b50519050611f18611f1182606361197c565b6064611a2f565b9050816001600160a01b0316637237e0318683611f374261012c6119d5565b886040518563ffffffff1660e01b815260040180858152602001848152602001838152602001826001600160a01b03166001600160a01b03168152602001945050505050602060405180830381600087803b158015611f9557600080fd5b505af1158015611fa9573d6000803e3d6000fd5b505050506040513d6020811015611fbf57600080fd5b5051925082612015576040805162461bcd60e51b815260206004820152601860248201527f4572726f7220696e207377617070696e67204574683a20310000000000000000604482015290519081900360640190fd5b50509392505050565b600081848411156120ad5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561207257818101518382015260200161205a565b50505050905090810190601f16801561209f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836121045760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561207257818101518382015260200161205a565b50600083858161211057fe5b049594505050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a265627a7a723158204e8acf845891ea3fa06ea97ccb65613e377b8858066dabec2663b9574933e44564736f6c634300050c0032

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

0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f79cabc4caca5eca8ee6a36651a0ad5a2190f04e

-----Decoded View---------------
Arg [0] : _goodwill (uint16): 0
Arg [1] : _dzgoodwillAddress (address): 0xf79Cabc4cacA5ECa8eE6A36651A0Ad5A2190F04E

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [1] : 000000000000000000000000f79cabc4caca5eca8ee6a36651a0ad5a2190f04e


Deployed Bytecode Sourcemap

24113:14443:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38000:86;;8:9:-1;5:2;;;30:1;27;20:12;5:2;38000:86:0;;;:::i;24343:122::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24343:122:0;;;:::i;:::-;;;;-1:-1:-1;;;;;24343:122:0;;;;;;;;;;;;;;38390:125;;8:9:-1;5:2;;;30:1;27;20:12;5:2;38390:125:0;;;:::i;38156:195::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;38156:195:0;;;:::i;37773:187::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;37773:187:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37773:187:0;-1:-1:-1;;;;;37773:187:0;;:::i;24273:22::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24273:22:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;12132:140;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12132:140:0;;;:::i;37597:168::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;37597:168:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37597:168:0;-1:-1:-1;;;;;37597:168:0;;:::i;11321:79::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11321:79:0;;;:::i;11687:94::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11687:94:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;37351:238;;8:9:-1;5:2;;;30:1;27;20:12;5:2;37351:238:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37351:238:0;;;;:::i;24474:128::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24474:128:0;;;:::i;24302:32::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24302:32:0;;;:::i;24611:128::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24611:128:0;;;:::i;12427:109::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12427:109:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12427:109:0;-1:-1:-1;;;;;12427:109:0;;:::i;25469:1738::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;25469:1738:0;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;38000:86;11533:9;:7;:9::i;:::-;11525:54;;;;;-1:-1:-1;;;11525:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;11525:54:0;;;;;;;;;;;;;;;38071:7;;;-1:-1:-1;;;;38060:18:0;;-1:-1:-1;;;38071:7:0;;;;;;38070:8;38060:18;;;;;;38000:86::o;24343:122::-;;;-1:-1:-1;;;;;24343:122:0;;:::o;38390:125::-;11533:9;:7;:9::i;:::-;11525:54;;;;;-1:-1:-1;;;11525:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;11525:54:0;;;;;;;;;;;;;;;38438:19;38460;:7;:5;:7::i;:::-;-1:-1:-1;;;;;38460:17:0;;:19::i;:::-;38438:41;;38503:3;-1:-1:-1;;;;;38490:17:0;;38156:195;11533:9;:7;:9::i;:::-;11525:54;;;;;-1:-1:-1;;;11525:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;11525:54:0;;;;;;;;;;;;;;;38238:4;38230:21;38204:23;38284:19;:7;:5;:7::i;:19::-;38314:29;;38262:41;;-1:-1:-1;;;;;;38314:12:0;;;:29;;;;;38327:15;;38314:29;;;;38327:15;38314:12;:29;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;38314:29:0;11590:1;;38156:195::o;37773:187::-;11533:9;:7;:9::i;:::-;11525:54;;;;;-1:-1:-1;;;11525:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;11525:54:0;;;;;;;;;;;;;;;37867:38;;;-1:-1:-1;;;37867:38:0;;37899:4;37867:38;;;;;;37853:11;;-1:-1:-1;;;;;37867:23:0;;;;;:38;;;;;;;;;;;;;;;:23;:38;;;5:2:-1;;;;30:1;27;20:12;5:2;37867:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;37867:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37867:38:0;;-1:-1:-1;;;;;;37916:22:0;;;37939:7;:5;:7::i;:::-;37948:3;37916:36;;;;;;;;;;;;;-1:-1:-1;;;;;37916:36:0;-1:-1:-1;;;;;37916:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;37916:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;37916:36:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;37773:187:0:o;24273:22::-;;;-1:-1:-1;;;24273:22:0;;;;;:::o;12132:140::-;11533:9;:7;:9::i;:::-;11525:54;;;;;-1:-1:-1;;;11525:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;11525:54:0;;;;;;;;;;;;;;;12231:1;12215:6;;12194:40;;12215:6;;;;-1:-1:-1;;;;;12215:6:0;;12194:40;;12231:1;;12194:40;12262:1;12245:19;;-1:-1:-1;;;;;;12245:19:0;;;12132:140::o;37597:168::-;11533:9;:7;:9::i;:::-;11525:54;;;;;-1:-1:-1;;;11525:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;11525:54:0;;;;;;;;;;;;;;;37715:17;:42;;-1:-1:-1;;;;;;37715:42:0;-1:-1:-1;;;;;37715:42:0;;;;;;;;;;37597:168::o;11321:79::-;11359:7;11386:6;;;;-1:-1:-1;;;;;11386:6:0;;11321:79::o;11687:94::-;11727:4;11767:6;;;;;-1:-1:-1;;;;;11767:6:0;11751:12;:10;:12::i;:::-;-1:-1:-1;;;;;11751:22:0;;11744:29;;11687:94;:::o;37351:238::-;11533:9;:7;:9::i;:::-;11525:54;;;;;-1:-1:-1;;;11525:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;11525:54:0;;;;;;;;;;;;;;;37487:5;37471:13;:21;;;37427:119;;;;;-1:-1:-1;;;37427:119:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;37557:8;:24;;;;;;-1:-1:-1;;;37557:24:0;-1:-1:-1;;;;37557:24:0;;;;;;;;;37351:238::o;24474:128::-;;;-1:-1:-1;;;;;24474:128:0;;:::o;24302:32::-;;;-1:-1:-1;;;;;24302:32:0;;:::o;24611:128::-;;;-1:-1:-1;;;;;24611:128:0;;:::o;12427:109::-;11533:9;:7;:9::i;:::-;11525:54;;;;;-1:-1:-1;;;11525:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;11525:54:0;;;;;;;;;;;;;;;12500:28;12519:8;12500:18;:28::i;:::-;12427:109;:::o;25469:1738::-;25684:7;5612:11;;;;5604:55;;;;;-1:-1:-1;;;5604:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5751:5;5737:19;;-1:-1:-1;;5737:19:0;;;;;-1:-1:-1;;;24983:7:0;;5737:19;24983:7;24979:102;;;25007:28;;;-1:-1:-1;;;25007:28:0;;;;;;;;;;;;-1:-1:-1;;;25007:28:0;;;;;;;;;;;;;;24979:102;25704:16;-1:-1:-1;;;;;25735:39:0;;25731:324;;25811:1;25799:9;:13;25791:45;;;;;-1:-1:-1;;;25791:45:0;;;;;;;;;;;;-1:-1:-1;;;25791:45:0;;;;;;;;;;;;;;;-1:-1:-1;25862:9:0;25731:324;;;25912:9;:14;25904:42;;;;;-1:-1:-1;;;25904:42:0;;;;;;;;;;;;-1:-1:-1;;;25904:42:0;;;;;;;;;;;;;;;25979:1;25969:7;:11;25961:49;;;;;-1:-1:-1;;;25961:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26036:7:0;25731:324;26068:16;26086:15;26105:149;26133:25;26173:16;26204;26235:8;26105:13;:149::i;:::-;26067:187;;-1:-1:-1;26067:187:0;-1:-1:-1;26271:11:0;;26267:333;;26300:13;26315:18;26337:153;26377:1;26398:16;26433;26468:7;26337:13;:153::i;:::-;26299:191;;-1:-1:-1;26299:191:0;-1:-1:-1;26509:14:0;;26505:51;;26525:31;;:10;;:31;;;;;26545:10;;26525:31;;;;26545:10;26525;:31;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;26525:31:0;26505:51;-1:-1:-1;26571:17:0;;;;;26267:333;26666:23;;;:104;;;-1:-1:-1;;;26666:104:0;;-1:-1:-1;;;;;26666:104:0;;;;;;;;;;;;;;;;;;;26638:25;;26666:23;;;;:31;;:104;;;;;;;;;;;;;;;:23;:104;;;5:2:-1;;;;30:1;27;20:12;5:2;26666:104:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;26666:104:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26666:104:0;;-1:-1:-1;26812:23:0;26838:83;26666:104;26902:8;26838:17;:83::i;:::-;26812:109;;26961:17;-1:-1:-1;;;;;26954:34:0;;27007:10;27036:39;27049:8;27059:15;27036:12;:39::i;:::-;26954:136;;;;;;;;;;;;;-1:-1:-1;;;;;26954:136:0;-1:-1:-1;;;;;26954:136:0;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26954:136:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;26954:136:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26954:136:0;26932:210;;;;;-1:-1:-1;;;26932:210:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27160:39;27173:8;27183:15;27160:12;:39::i;:::-;27153:46;;;;;;;5917:11;:18;;-1:-1:-1;;5917:18:0;5931:4;5917:18;;;25469:1738;;-1:-1:-1;;;;25469:1738:0:o;7595:127::-;7705:7;7595:127::o;9981:98::-;10061:10;9981:98;:::o;12642:229::-;-1:-1:-1;;;;;12716:22:0;;12708:73;;;;-1:-1:-1;;;12708:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12818:6;;;12797:38;;-1:-1:-1;;;;;12797:38:0;;;;12818:6;;;;;;12797:38;;;12846:6;:17;;-1:-1:-1;;;;;12846:17:0;;;;;-1:-1:-1;;;;;;12846:17:0;;;;;;;;;12642:229::o;27215:4299::-;27488:23;;;:104;;;-1:-1:-1;;;27488:104:0;;-1:-1:-1;;;;;27488:104:0;;;;;;;;;;;;;;;;;;;27403:7;;;;;;27488:23;;;:31;;:104;;;;;;;;;;;;;;;:23;:104;;;5:2:-1;;;;30:1;27;20:12;5:2;27488:104:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;27488:104:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27488:104:0;;-1:-1:-1;27605:10:0;;-1:-1:-1;;;;;27653:31:0;;27649:169;;-1:-1:-1;27713:1:0;;-1:-1:-1;27713:1:0;27649:169;;;27762:44;27787:17;27762:9;:44::i;:::-;27751:55;;-1:-1:-1;27751:55:0;-1:-1:-1;27649:169:0;27830:20;;;-1:-1:-1;;;;;27923:39:0;;27919:2328;;27988:110;28019:25;28032:7;28041:2;28019:12;:25::i;:::-;28063:20;28076:2;28080;28063:12;:20::i;:::-;27988:12;:110::i;:::-;27979:119;;28128:36;28139:16;28157:6;28128:10;:36::i;:::-;28113:51;;28194:108;28223:16;28258:29;28271:7;28280:6;28258:12;:29::i;:::-;28194:10;:108::i;:::-;28179:123;;27919:2328;;;28361:164;;;-1:-1:-1;;;28361:164:0;;28430:10;28361:164;;;;28471:4;28361:164;;;;;;;;;;;;-1:-1:-1;;;;;28361:46:0;;;;;:164;;;;;;;;;;;;;;-1:-1:-1;28361:46:0;:164;;;5:2:-1;;;;30:1;27;20:12;5:2;28361:164:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;28361:164:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;28361:164:0;28335:245;;;;;-1:-1:-1;;;28335:245:0;;;;;;;;;;;;-1:-1:-1;;;28335:245:0;;;;;;;;;;;;;;;28621:25;-1:-1:-1;;;;;28601:45:0;:16;-1:-1:-1;;;;;28601:45:0;;28597:1639;;;28676:122;28711:25;28724:7;28733:2;28711:12;:25::i;28676:122::-;28667:131;;28834:183;28869:25;28925:4;28953:16;28992:6;28834:12;:183::i;:::-;28819:198;;29053:29;29066:7;29075:6;29053:12;:29::i;:::-;29038:44;;28597:1639;;;29128:25;-1:-1:-1;;;;;29108:45:0;:16;-1:-1:-1;;;;;29108:45:0;;29104:1132;;;29183:122;29218:25;29231:7;29240:2;29218:12;:25::i;29183:122::-;29174:131;;29341:183;29376:25;29432:4;29460:16;29499:6;29341:12;:183::i;:::-;29326:198;;29560:29;29573:7;29582:6;29560:12;:29::i;29104:1132::-;29639:122;29674:25;29687:7;29696:2;29674:12;:25::i;29639:122::-;29630:131;;29795:183;29830:25;29886:4;29914:16;29953:6;29795:12;:183::i;:::-;29780:198;;30014:206;30049:25;30105:4;30133:16;30172:29;30185:7;30194:6;30172:12;:29::i;:::-;30014:12;:206::i;:::-;29999:221;;29104:1132;30312:15;;30257:109;;;-1:-1:-1;;;30257:109:0;;-1:-1:-1;;;;;30312:15:0;;;30257:109;;;;;;;;;;;;:32;;;;;;:109;;;;;;;;;;;;;;;30312:15;30257:32;:109;;;5:2:-1;;;;30:1;27;20:12;5:2;30257:109:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;30257:109:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;30432:15:0;;30377:109;;;-1:-1:-1;;;30377:109:0;;-1:-1:-1;;;;;30432:15:0;;;30377:109;;;;;;;;;;;;:32;;;;;;:109;;;;;30257;;30377;;;;;;;;30432:15;30377:32;:109;;;5:2:-1;;;;30:1;27;20:12;5:2;30377:109:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;30377:109:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;30548:15:0;;:252;;;-1:-1:-1;;;30548:252:0;;-1:-1:-1;;;;;30548:252:0;;;;;;;;;;;;;;;;;;;;;;;;;;:15;:252;;;;;;;;;;30761:4;30548:252;;;;30787:2;30781:3;:8;30548:252;;;;;;30500:15;;;;;;30548;;;:42;;:252;;;;;;;;;;;;;;;30500:15;30548;:252;;;5:2:-1;;;;30:1;27;20:12;5:2;30548:252:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;30548:252:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;30548:252:0;;;;;;;;;;;;;-1:-1:-1;30548:252:0;;-1:-1:-1;30548:252:0;-1:-1:-1;30842:18:0;;30877:35;30890:12;30548:252;30877:12;:35::i;:::-;:39;30873:231;;;30946:146;30975:16;31010:35;31023:12;31037:7;31010:12;:35::i;:::-;31072:4;30946:10;:146::i;:::-;30933:159;;30873:231;31158:1;31120:35;31133:12;31147:7;31120:12;:35::i;:::-;:39;31116:232;;;31190:146;31219:16;31254:35;31267:12;31281:7;31254:12;:35::i;31190:146::-;31176:160;31116:232;31375:9;31362:10;:22;31358:115;;;31401:31;;:10;;:31;;;;;31421:10;;31401:31;;;;31421:10;31401;:31;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;31401:31:0;31460:1;31447:14;;31358:115;31491:2;;;;-1:-1:-1;27215:4299:0;-1:-1:-1;;;;;;;;;;;;;27215:4299:0:o;36778:565::-;36901:23;37009:8;;36955:94;;36982:36;;36995:12;;-1:-1:-1;;;37009:8:0;;;;36982:12;:36::i;:::-;37033:5;36955:12;:94::i;:::-;36937:112;-1:-1:-1;37066:20:0;37062:61;;-1:-1:-1;37110:1:0;37103:8;;37062:61;37214:17;;37157:123;;;-1:-1:-1;;;37157:123:0;;-1:-1:-1;;;;;37214:17:0;;;37157:123;;;;;;;;;;;;:38;;;;;;:123;;;;;;;;;;;;;;;37214:17;37157:38;:123;;;5:2:-1;;;;30:1;27;20:12;5:2;37157:123:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;37157:123:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37157:123:0;37135:200;;;;;-1:-1:-1;;;37135:200:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;36778:565;;;;:::o;14293:136::-;14351:7;14378:43;14382:1;14385;14378:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;14371:50;14293:136;-1:-1:-1;;;14293:136:0:o;31756:1599::-;31853:10;31865;31894:17;31913;31951:11;-1:-1:-1;;;;;31936:53:0;;:55;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31936:55:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;31936:55:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;31936:55:0;;;;;;;32068:23;;31936:55;32104:20;;-1:-1:-1;;;32104:20:0;;;;31936:55;;-1:-1:-1;31936:55:0;;-1:-1:-1;32004:38:0;;-1:-1:-1;;;;;32068:23:0;;;;:35;;32104:18;;;;;;:20;;;;;31936:55;;32104:20;;;;;:18;:20;;;5:2:-1;;;;30:1;27;20:12;5:2;32104:20:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32104:20:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32104:20:0;32068:57;;;-1:-1:-1;;;;;;32068:57:0;;;;;;;-1:-1:-1;;;;;32068:57:0;;;;;;;;;;;;;32104:20;;32068:57;;;;;;;;;;;5:2:-1;;;;30:1;27;20:12;5:2;32068:57:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32068:57:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32068:57:0;32213:23;;32249:20;;;-1:-1:-1;;;32249:20:0;;;;32068:57;;-1:-1:-1;32149:38:0;;-1:-1:-1;;;;;32213:23:0;;;;:35;;32249:18;;;;;;:20;;;;;32068:57;;32249:20;;;;;;;;:18;:20;;;5:2:-1;;;;30:1;27;20:12;5:2;32249:20:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32249:20:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32249:20:0;32213:57;;;-1:-1:-1;;;;;;32213:57:0;;;;;;;-1:-1:-1;;;;;32213:57:0;;;;;;;;;;;;;32249:20;;32213:57;;;;;;;;;;;5:2:-1;;;;30:1;27;20:12;5:2;32213:57:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32213:57:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32213:57:0;32317:20;;;-1:-1:-1;;;32317:20:0;;;;32213:57;;-1:-1:-1;32294:13:0;;-1:-1:-1;;;;;32317:18:0;;;;;:20;;;;;32213:57;;32317:20;;;;;;;:18;:20;;;5:2:-1;;;;30:1;27;20:12;5:2;32317:20:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32317:20:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32317:20:0;32372;;;-1:-1:-1;;;32372:20:0;;;;32317;;-1:-1:-1;32349:13:0;;-1:-1:-1;;;;;32372:18:0;;;;;:20;;;;;32317;;32372;;;;;;;:18;:20;;;5:2:-1;;;;30:1;27;20:12;5:2;32372:20:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32372:20:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32372:20:0;32500:17;;;-1:-1:-1;;;32500:17:0;;;;32372:20;;-1:-1:-1;32406:19:0;;-1:-1:-1;;;;;32428:67:0;;;;;;32500:15;;;;;;:17;;;;;32372:20;;32500:17;;;;;;;;:15;:17;;;5:2:-1;;;;30:1;27;20:12;5:2;32500:17:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32500:17:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32500:17:0;32428:90;;;-1:-1:-1;;;;;;32428:90:0;;;;;;;32496:2;:21;;;;32428:90;;;;;;;;;;32500:17;;32428:90;;;;;;;;;;;5:2:-1;;;;30:1;27;20:12;5:2;32428:90:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32428:90:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32428:90:0;32623:17;;;-1:-1:-1;;;32623:17:0;;;;32428:90;;-1:-1:-1;32529:19:0;;-1:-1:-1;;;;;32551:67:0;;;;;;32623:15;;;;;;:17;;;;;32428:90;;32623:17;;;;;;;;:15;:17;;;5:2:-1;;;;30:1;27;20:12;5:2;32623:17:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32623:17:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32623:17:0;32551:90;;;-1:-1:-1;;;;;;32551:90:0;;;;;;;32619:2;:21;;;;32551:90;;;;;;;;;;32623:17;;32551:90;;;;;;;;;;;5:2:-1;;;;30:1;27;20:12;5:2;32551:90:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32551:90:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32551:90:0;;-1:-1:-1;32654:19:0;32676:110;32703:36;32716:11;-1:-1:-1;;;;;32703:36:0;;:12;:36::i;:::-;32758:6;-1:-1:-1;;;;;32758:15:0;;:17;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32758:17:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32758:17:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32758:17:0;32754:2;:21;32676:12;:110::i;:::-;32654:132;;32799:19;32821:110;32848:36;32861:11;32874:9;-1:-1:-1;;;;;32848:36:0;:12;:36::i;32821:110::-;32799:132;;32963:11;32948;:26;32944:404;;32991:13;33007:106;33038:30;33051:11;33064:3;33038:12;:30::i;:::-;33087:11;33007:12;:106::i;:::-;32991:122;-1:-1:-1;33143:3:0;;-1:-1:-1;33128:19:0;;-1:-1:-1;;;;;;;;;;;33128:19:0;32944:404;33180:13;33196:106;33227:30;33240:11;33253:3;33227:12;:30::i;:::-;33276:11;33196:12;:106::i;:::-;33325:3;;-1:-1:-1;33180:122:0;-1:-1:-1;33317:19:0;;-1:-1:-1;;;;;;;;;;;33317:19:0;31756:1599;;;;:::o;15209:471::-;15267:7;15512:6;15508:47;;-1:-1:-1;15542:1:0;15535:8;;15508:47;15579:5;;;15583:1;15579;:5;:1;15603:5;;;;;:10;15595:56;;;;-1:-1:-1;;;15595:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13837:181;13895:7;13927:5;;;13951:6;;;;13943:46;;;;;-1:-1:-1;;;13943:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;16148:132;16206:7;16233:39;16237:1;16240;16233:39;;;;;;;;;;;;;;;;;:3;:39::i;33608:438::-;33818:23;;:58;;;-1:-1:-1;;;33818:58:0;;-1:-1:-1;;;;;33818:58:0;;;;;;;;;33712:19;;;;33818:23;;:35;;:58;;;;;;;;;;;;;;:23;:58;;;5:2:-1;;;;30:1;27;20:12;5:2;33818:58:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33818:58:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;33818:58:0;;-1:-1:-1;;;;;;33914:68:0;;;34003:7;34012:1;34015:22;34028:3;34033;34015:12;:22::i;:::-;33914:124;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33914:124:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33914:124:0;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;33914:124:0;;33608:438;-1:-1:-1;;;;33608:438:0:o;35630:867::-;35928:23;;:62;;;-1:-1:-1;;;35928:62:0;;-1:-1:-1;;;;;35928:62:0;;;;;;;;;35827:19;;;;35928:23;;:35;;:62;;;;;;;;;;;;;;:23;:62;;;5:2:-1;;;;30:1;27;20:12;5:2;35928:62:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;35928:62:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;35928:62:0;36014:137;;;-1:-1:-1;;;36014:137:0;;-1:-1:-1;;;;;36014:137:0;;;;;;;;;;;;;;;35928:62;;-1:-1:-1;36014:41:0;;;;;;:137;;;;;35928:62;;36014:137;;;;;;;;-1:-1:-1;36014:41:0;:137;;;5:2:-1;;;;30:1;27;20:12;5:2;36014:137:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;36014:137:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;;36178:74:0;;;36267:12;36294:1;;36326:22;36339:3;36344;36326:12;:22::i;:::-;36178:248;;;-1:-1:-1;;;;;;36178:248:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36178:248:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36178:248:0;;;;5:2:-1;;;;30:1;27;20:12;5:2;36178:248:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;36178:248:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;36178:248:0;;-1:-1:-1;36445:15:0;36437:52;;;;;-1:-1:-1;;;36437:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;35630:867;;;;;;;:::o;34293:955::-;34545:23;;:62;;;-1:-1:-1;;;34545:62:0;;-1:-1:-1;;;;;34545:62:0;;;;;;;;;34446:17;;;;34545:23;;:35;;:62;;;;;;;;;;;;;;:23;:62;;;5:2:-1;;;;30:1;27;20:12;5:2;34545:62:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;34545:62:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;34545:62:0;34631:137;;;-1:-1:-1;;;34631:137:0;;-1:-1:-1;;;;;34631:137:0;;;;;;;;;;;;;;;34545:62;;-1:-1:-1;34631:41:0;;;;;;:137;;;;;34545:62;;34631:137;;;;;;;;-1:-1:-1;34631:41:0;:137;;;5:2:-1;;;;30:1;27;20:12;5:2;34631:137:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;34631:137:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;34804:86:0;;;-1:-1:-1;;;34804:86:0;;;;;;;;;;34781:20;;-1:-1:-1;;;;;34804:72:0;;;;;:86;;;;;34631:137;;34804:86;;;;;;;;:72;:86;;;5:2:-1;;;;30:1;27;20:12;5:2;34804:86:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;34804:86:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;34804:86:0;;-1:-1:-1;34916:49:0;34929:30;34804:86;34956:2;34929:12;:30::i;:::-;34961:3;34916:12;:49::i;:::-;34901:64;;34990:34;-1:-1:-1;;;;;34990:58:0;;35063:12;35090;35117:22;35130:3;35135;35117:12;:22::i;:::-;35154:14;34990:189;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34990:189:0;-1:-1:-1;;;;;34990:189:0;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;34990:189:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;34990:189:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;34990:189:0;;-1:-1:-1;35198:13:0;35190:50;;;;;-1:-1:-1;;;35190:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;34293:955;;;;;;;:::o;14766:192::-;14852:7;14888:12;14880:6;;;;14872:29;;;;-1:-1:-1;;;14872:29: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;14872:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;14924:5:0;;;14766:192::o;16810:345::-;16896:7;16998:12;16991:5;16983:28;;;;-1:-1:-1;;;16983:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;16983:28:0;;17022:9;17038:1;17034;:5;;;;;;;16810:345;-1:-1:-1;;;;;16810:345:0:o

Swarm Source

bzzr://4e8acf845891ea3fa06ea97ccb65613e377b8858066dabec2663b9574933e445

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

Zapper.Fi: Uniswap Zap in V2 contract has migrated to 0x026BdaC2F308C0109A864138CCa1a623F7828F4a.

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.