ETH Price: $3,156.98 (-0.40%)

Contract

0x5ACedBA6C402e2682D312a7b4982eda0Ccf2d2E3
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

Transaction Hash
Method
Block
From
To
Transfer129867092021-08-08 20:50:141558 days ago1628455814IN
Zapper.Fi: Uniswap V2 Add
0.025 ETH0.0009314744.35605512
Renounce Ownersh...126511472021-06-17 9:27:301611 days ago1623922050IN
Zapper.Fi: Uniswap V2 Add
0 ETH0.0004235815
Withdraw Tokens126511382021-06-17 9:25:191611 days ago1623921919IN
Zapper.Fi: Uniswap V2 Add
0 ETH0.001380513
Zap In125190552021-05-27 22:32:451631 days ago1622154765IN
Zapper.Fi: Uniswap V2 Add
0.15 ETH0.0029548100
Zap In124942402021-05-24 2:03:031635 days ago1621821783IN
Zapper.Fi: Uniswap V2 Add
0.9 ETH0.0013603146
Zap In124939972021-05-24 1:09:221635 days ago1621818562IN
Zapper.Fi: Uniswap V2 Add
0 ETH0.0011442839.6
Toggle Contract ...124938672021-05-24 0:38:261635 days ago1621816706IN
Zapper.Fi: Uniswap V2 Add
0 ETH0.0016200361
Zap In124938592021-05-24 0:36:541635 days ago1621816614IN
Zapper.Fi: Uniswap V2 Add
0.456 ETH0.0132123152
Zap In124938082021-05-24 0:25:271635 days ago1621815927IN
Zapper.Fi: Uniswap V2 Add
1.1 ETH0.0157476362.7826
Zap In124937592021-05-24 0:12:171635 days ago1621815137IN
Zapper.Fi: Uniswap V2 Add
7.73478 ETH0.0180690140.82
Zap In124937522021-05-24 0:11:011635 days ago1621815061IN
Zapper.Fi: Uniswap V2 Add
0 ETH0.0253127759
Zap In124937352021-05-24 0:07:391635 days ago1621814859IN
Zapper.Fi: Uniswap V2 Add
0 ETH0.0139650753
Zap In124937142021-05-24 0:03:131635 days ago1621814593IN
Zapper.Fi: Uniswap V2 Add
0 ETH0.0112406448
Zap In124936892021-05-23 23:58:011635 days ago1621814281IN
Zapper.Fi: Uniswap V2 Add
4 ETH0.0160276237
Zap In124936052021-05-23 23:40:571635 days ago1621813257IN
Zapper.Fi: Uniswap V2 Add
0.9 ETH0.0106702941
Zap In124934692021-05-23 23:11:411635 days ago1621811501IN
Zapper.Fi: Uniswap V2 Add
0 ETH0.0291948861.1875
Zap In124934362021-05-23 23:03:321635 days ago1621811012IN
Zapper.Fi: Uniswap V2 Add
0 ETH0.0144050763
Zap In124934362021-05-23 23:03:321635 days ago1621811012IN
Zapper.Fi: Uniswap V2 Add
12 ETH0.0161132563
Zap In124933962021-05-23 22:53:241635 days ago1621810404IN
Zapper.Fi: Uniswap V2 Add
12 ETH0.0314922465
Zap In124933962021-05-23 22:53:241635 days ago1621810404IN
Zapper.Fi: Uniswap V2 Add
1.15 ETH0.0112026265
Zap In124930942021-05-23 21:46:391635 days ago1621806399IN
Zapper.Fi: Uniswap V2 Add
16 ETH0.0178914166
Zap In124930522021-05-23 21:37:421635 days ago1621805862IN
Zapper.Fi: Uniswap V2 Add
0 ETH0.0143783460.4
Zap In124926272021-05-23 20:05:011636 days ago1621800301IN
Zapper.Fi: Uniswap V2 Add
5 ETH0.05597103127.25
Zap In124923372021-05-23 18:59:031636 days ago1621796343IN
Zapper.Fi: Uniswap V2 Add
0.9 ETH0.0219401383
Zap In124923372021-05-23 18:59:031636 days ago1621796343IN
Zapper.Fi: Uniswap V2 Add
1 ETH0.0210647383
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
-124938592021-05-24 0:36:541635 days ago1621816614
Zapper.Fi: Uniswap V2 Add
0.456 ETH
-124938082021-05-24 0:25:271635 days ago1621815927
Zapper.Fi: Uniswap V2 Add
1.1 ETH
-124937592021-05-24 0:12:171635 days ago1621815137
Zapper.Fi: Uniswap V2 Add
7.73478 ETH
-124936892021-05-23 23:58:011635 days ago1621814281
Zapper.Fi: Uniswap V2 Add
4 ETH
-124936052021-05-23 23:40:571635 days ago1621813257
Zapper.Fi: Uniswap V2 Add
0.9 ETH
-124934362021-05-23 23:03:321635 days ago1621811012
Zapper.Fi: Uniswap V2 Add
12 ETH
-124933962021-05-23 22:53:241635 days ago1621810404
Zapper.Fi: Uniswap V2 Add
12 ETH
-124933962021-05-23 22:53:241635 days ago1621810404
Zapper.Fi: Uniswap V2 Add
1.15 ETH
-124930942021-05-23 21:46:391635 days ago1621806399
Zapper.Fi: Uniswap V2 Add
16 ETH
-124926272021-05-23 20:05:011636 days ago1621800301
Zapper.Fi: Uniswap V2 Add
5 ETH
-124923372021-05-23 18:59:031636 days ago1621796343
Zapper.Fi: Uniswap V2 Add
0.9 ETH
-124923372021-05-23 18:59:031636 days ago1621796343
Zapper.Fi: Uniswap V2 Add
1 ETH
-124921612021-05-23 18:20:491636 days ago1621794049
Zapper.Fi: Uniswap V2 Add
0.55 ETH
-124921422021-05-23 18:16:251636 days ago1621793785
Zapper.Fi: Uniswap V2 Add
0.3 ETH
-124919572021-05-23 17:37:051636 days ago1621791425
Zapper.Fi: Uniswap V2 Add
16.55 ETH
-124918332021-05-23 17:04:401636 days ago1621789480
Zapper.Fi: Uniswap V2 Add
6 ETH
-124907372021-05-23 13:14:171636 days ago1621775657
Zapper.Fi: Uniswap V2 Add
10 ETH
-124904402021-05-23 12:10:281636 days ago1621771828
Zapper.Fi: Uniswap V2 Add
0.2 ETH
-124903402021-05-23 11:45:061636 days ago1621770306
Zapper.Fi: Uniswap V2 Add
3.5 ETH
-124901212021-05-23 10:55:151636 days ago1621767315
Zapper.Fi: Uniswap V2 Add
22.7507 ETH
-124899262021-05-23 10:07:361636 days ago1621764456
Zapper.Fi: Uniswap V2 Add
6 ETH
-124894962021-05-23 8:26:351636 days ago1621758395
Zapper.Fi: Uniswap V2 Add
0.049 ETH
-124892662021-05-23 7:32:401636 days ago1621755160
Zapper.Fi: Uniswap V2 Add
20.4237 ETH
-124892342021-05-23 7:24:101636 days ago1621754650
Zapper.Fi: Uniswap V2 Add
34.8175 ETH
-124890232021-05-23 6:37:331636 days ago1621751853
Zapper.Fi: Uniswap V2 Add
1.03 ETH
View All Internal Transactions
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
UniswapV2_ZapIn_General_V4

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv2 license
/**
 *Submitted for verification at Etherscan.io on 2021-02-16
*/

// ███████╗░█████╗░██████╗░██████╗░███████╗██████╗░░░░███████╗██╗
// ╚════██║██╔══██╗██╔══██╗██╔══██╗██╔════╝██╔══██╗░░░██╔════╝██║
// ░░███╔═╝███████║██████╔╝██████╔╝█████╗░░██████╔╝░░░█████╗░░██║
// ██╔══╝░░██╔══██║██╔═══╝░██╔═══╝░██╔══╝░░██╔══██╗░░░██╔══╝░░██║
// ███████╗██║░░██║██║░░░░░██║░░░░░███████╗██║░░██║██╗██║░░░░░██║
// ╚══════╝╚═╝░░╚═╝╚═╝░░░░░╚═╝░░░░░╚══════╝╚═╝░░╚═╝╚═╝╚═╝░░░░░╚═╝
// Copyright (C) 2020 zapper

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU Affero General Public License for more details.
//

///@author Zapper
///@notice This contract adds liquidity to Uniswap V2 pools using ETH or any ERC20 Token.
// SPDX-License-Identifier: GPLv2

pragma solidity ^0.5.5;

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

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

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

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

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

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

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

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

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

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

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

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

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

    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        callOptionalReturn(
            token,
            abi.encodeWithSelector(token.approve.selector, spender, value)
        );
    }

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

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(
            value,
            "SafeERC20: decreased allowance below zero"
        );
        callOptionalReturn(
            token,
            abi.encodeWithSelector(
                token.approve.selector,
                spender,
                newAllowance
            )
        );
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves.

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

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

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

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

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

/**
 * @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 payable public _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() internal {
        address payable 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 payable newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }

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

// import "@uniswap/lib/contracts/libraries/Babylonian.sol";
library Babylonian {
    function sqrt(uint256 y) internal pure returns (uint256 z) {
        if (y > 3) {
            z = y;
            uint256 x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
        // else z = 0
    }
}

interface IWETH {
    function deposit() external payable;

    function transfer(address to, uint256 value) external returns (bool);

    function withdraw(uint256) external;
}

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

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

    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    )
        external
        returns (
            uint256 amountA,
            uint256 amountB,
            uint256 liquidity
        );

    function addLiquidityETH(
        address token,
        uint256 amountTokenDesired,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (
            uint256 amountToken,
            uint256 amountETH,
            uint256 liquidity
        );

    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountA, uint256 amountB);

    function removeLiquidityETH(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountToken, uint256 amountETH);

    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint256 liquidity,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountA, uint256 amountB);

    function removeLiquidityETHWithPermit(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountToken, uint256 amountETH);

    function swapExactTokensForTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapTokensForExactTokens(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactETHForTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function swapTokensForExactETH(
        uint256 amountOut,
        uint256 amountInMax,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapExactTokensForETH(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external returns (uint256[] memory amounts);

    function swapETHForExactTokens(
        uint256 amountOut,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    ) external returns (uint256 amountETH);

    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint256 liquidity,
        uint256 amountTokenMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline,
        bool approveMax,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external returns (uint256 amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;

    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable;

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;

    function quote(
        uint256 amountA,
        uint256 reserveA,
        uint256 reserveB
    ) external pure returns (uint256 amountB);

    function getAmountOut(
        uint256 amountIn,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountOut);

    function getAmountIn(
        uint256 amountOut,
        uint256 reserveIn,
        uint256 reserveOut
    ) external pure returns (uint256 amountIn);

    function getAmountsOut(uint256 amountIn, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);

    function getAmountsIn(uint256 amountOut, address[] calldata path)
        external
        view
        returns (uint256[] memory amounts);
}

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
        );
}

contract UniswapV2_ZapIn_General_V4 is ReentrancyGuard, Ownable {
    using SafeMath for uint256;
    using Address for address;
    using SafeERC20 for IERC20;

    bool public stopped = false;
    uint16 public goodwill;

    // if true, goodwill is not deducted
    mapping(address => bool) public feeWhitelist;

    // % share of goodwill (0-100 %)
    uint16 affiliateSplit;
    // restrict affiliates
    mapping(address => bool) public affiliates;
    // affiliate => token => amount
    mapping(address => mapping(address => uint256)) public affiliateBalance;
    // token => amount
    mapping(address => uint256) public totalAffiliateBalance;

    address
        private constant ETHAddress = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;

    IUniswapV2Factory
        private constant UniSwapV2FactoryAddress = IUniswapV2Factory(
        0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f
    );

    IUniswapV2Router02 private constant uniswapRouter = IUniswapV2Router02(
        0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
    );

    address
        private constant wethTokenAddress = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;

    uint256
        private constant deadline = 0xf000000000000000000000000000000000000000000000000000000000000000;

    constructor(uint16 _goodwill, uint16 _affiliateSplit) public {
        goodwill = _goodwill;
        affiliateSplit = _affiliateSplit;
    }

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

    event zapIn(address sender, address pool, uint256 tokensRec);

    /**
    @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 _pairAddress The Uniswap pair address
    @param _amount The amount of fromToken to invest
    @param _minPoolTokens Reverts if less tokens received than this
    @param _swapTarget Excecution target for the first swap
    @param swapData DEX quote data
    @param affiliate Affiliate address
    @param transferResidual Set false to save gas by donating the residual remaining after a Zap
    @return Amount of LP bought
     */
    function ZapIn(
        address _FromTokenContractAddress,
        address _pairAddress,
        uint256 _amount,
        uint256 _minPoolTokens,
        address _swapTarget,
        bytes calldata swapData,
        address affiliate,
        bool transferResidual
    ) external payable nonReentrant stopInEmergency returns (uint256) {
        uint256 toInvest = _pullTokens(
            _FromTokenContractAddress,
            _amount,
            affiliate
        );

        uint256 LPBought = _performZapIn(
            _FromTokenContractAddress,
            _pairAddress,
            toInvest,
            _swapTarget,
            swapData,
            transferResidual
        );
        require(LPBought >= _minPoolTokens, "ERR: High Slippage");

        emit zapIn(msg.sender, _pairAddress, LPBought);

        IERC20(_pairAddress).safeTransfer(msg.sender, LPBought);
        return LPBought;
    }

    function _getPairTokens(address _pairAddress)
        internal
        pure
        returns (address token0, address token1)
    {
        IUniswapV2Pair uniPair = IUniswapV2Pair(_pairAddress);
        token0 = uniPair.token0();
        token1 = uniPair.token1();
    }

    function _pullTokens(
        address token,
        uint256 amount,
        address affiliate
    ) internal returns (uint256 value) {
        uint256 totalGoodwillPortion;

        if (token == address(0)) {
            require(msg.value > 0, "No eth sent");

            // subtract goodwill
            totalGoodwillPortion = _subtractGoodwill(
                ETHAddress,
                msg.value,
                affiliate
            );

            return msg.value.sub(totalGoodwillPortion);
        }
        require(amount > 0, "Invalid token amount");
        require(msg.value == 0, "Eth sent with token");

        //transfer token
        IERC20(token).safeTransferFrom(msg.sender, address(this), amount);

        // subtract goodwill
        totalGoodwillPortion = _subtractGoodwill(token, amount, affiliate);

        return amount.sub(totalGoodwillPortion);
    }

    function _subtractGoodwill(
        address token,
        uint256 amount,
        address affiliate
    ) internal returns (uint256 totalGoodwillPortion) {
        bool whitelisted = feeWhitelist[msg.sender];
        if (!whitelisted && goodwill > 0) {
            totalGoodwillPortion = SafeMath.div(
                SafeMath.mul(amount, goodwill),
                10000
            );

            if (affiliates[affiliate] && affiliateSplit > 0) {
                uint256 affiliatePortion = totalGoodwillPortion
                    .mul(affiliateSplit)
                    .div(100);
                affiliateBalance[affiliate][token] = affiliateBalance[affiliate][token]
                    .add(affiliatePortion);
                totalAffiliateBalance[token] = totalAffiliateBalance[token].add(
                    affiliatePortion
                );
            }
        }
    }

    function _performZapIn(
        address _FromTokenContractAddress,
        address _pairAddress,
        uint256 _amount,
        address _swapTarget,
        bytes memory swapData,
        bool transferResidual
    ) internal returns (uint256) {
        uint256 intermediateAmt;
        address intermediateToken;
        (address _ToUniswapToken0, address _ToUniswapToken1) = _getPairTokens(
            _pairAddress
        );

        if (
            _FromTokenContractAddress != _ToUniswapToken0 &&
            _FromTokenContractAddress != _ToUniswapToken1
        ) {
            // swap to intermediate
            (intermediateAmt, intermediateToken) = _fillQuote(
                _FromTokenContractAddress,
                _pairAddress,
                _amount,
                _swapTarget,
                swapData
            );
        } else {
            intermediateToken = _FromTokenContractAddress;
            intermediateAmt = _amount;
        }
        // divide intermediate into appropriate amount to add liquidity
        (uint256 token0Bought, uint256 token1Bought) = _swapIntermediate(
            intermediateToken,
            _ToUniswapToken0,
            _ToUniswapToken1,
            intermediateAmt
        );

        return
            _uniDeposit(
                _ToUniswapToken0,
                _ToUniswapToken1,
                token0Bought,
                token1Bought,
                transferResidual
            );
    }

    function _uniDeposit(
        address _ToUnipoolToken0,
        address _ToUnipoolToken1,
        uint256 token0Bought,
        uint256 token1Bought,
        bool transferResidual
    ) internal returns (uint256) {
        IERC20(_ToUnipoolToken0).safeApprove(address(uniswapRouter), 0);
        IERC20(_ToUnipoolToken1).safeApprove(address(uniswapRouter), 0);

        IERC20(_ToUnipoolToken0).safeApprove(
            address(uniswapRouter),
            token0Bought
        );
        IERC20(_ToUnipoolToken1).safeApprove(
            address(uniswapRouter),
            token1Bought
        );

        (uint256 amountA, uint256 amountB, uint256 LP) = uniswapRouter
            .addLiquidity(
            _ToUnipoolToken0,
            _ToUnipoolToken1,
            token0Bought,
            token1Bought,
            1,
            1,
            address(this),
            deadline
        );

        if (transferResidual) {
            //Returning Residue in token0, if any.
            if (token0Bought.sub(amountA) > 0) {
                IERC20(_ToUnipoolToken0).safeTransfer(
                    msg.sender,
                    token0Bought.sub(amountA)
                );
            }

            //Returning Residue in token1, if any
            if (token1Bought.sub(amountB) > 0) {
                IERC20(_ToUnipoolToken1).safeTransfer(
                    msg.sender,
                    token1Bought.sub(amountB)
                );
            }
        }

        return LP;
    }

    function _fillQuote(
        address _fromTokenAddress,
        address _pairAddress,
        uint256 _amount,
        address _swapTarget,
        bytes memory swapCallData
    ) internal returns (uint256 amountBought, address intermediateToken) {
        uint256 valueToSend;
        if (_fromTokenAddress == address(0)) {
            valueToSend = _amount;
        } else {
            IERC20 fromToken = IERC20(_fromTokenAddress);
            fromToken.safeApprove(address(_swapTarget), 0);
            fromToken.safeApprove(address(_swapTarget), _amount);
        }

        (address _token0, address _token1) = _getPairTokens(_pairAddress);
        IERC20 token0 = IERC20(_token0);
        IERC20 token1 = IERC20(_token1);
        uint256 initialBalance0 = token0.balanceOf(address(this));
        uint256 initialBalance1 = token1.balanceOf(address(this));

        (bool success, ) = _swapTarget.call.value(valueToSend)(swapCallData);
        require(success, "Error Swapping Tokens 1");

        uint256 finalBalance0 = token0.balanceOf(address(this)).sub(
            initialBalance0
        );
        uint256 finalBalance1 = token1.balanceOf(address(this)).sub(
            initialBalance1
        );

        if (finalBalance0 > finalBalance1) {
            amountBought = finalBalance0;
            intermediateToken = _token0;
        } else {
            amountBought = finalBalance1;
            intermediateToken = _token1;
        }

        require(amountBought > 0, "Swapped to Invalid Intermediate");
    }

    function _swapIntermediate(
        address _toContractAddress,
        address _ToUnipoolToken0,
        address _ToUnipoolToken1,
        uint256 _amount
    ) internal returns (uint256 token0Bought, uint256 token1Bought) {
        IUniswapV2Pair pair = IUniswapV2Pair(
            UniSwapV2FactoryAddress.getPair(_ToUnipoolToken0, _ToUnipoolToken1)
        );
        (uint256 res0, uint256 res1, ) = pair.getReserves();
        if (_toContractAddress == _ToUnipoolToken0) {
            uint256 amountToSwap = calculateSwapInAmount(res0, _amount);
            //if no reserve or a new pair is created
            if (amountToSwap <= 0) amountToSwap = _amount.div(2);
            token1Bought = _token2Token(
                _toContractAddress,
                _ToUnipoolToken1,
                amountToSwap
            );
            token0Bought = _amount.sub(amountToSwap);
        } else {
            uint256 amountToSwap = calculateSwapInAmount(res1, _amount);
            //if no reserve or a new pair is created
            if (amountToSwap <= 0) amountToSwap = _amount.div(2);
            token0Bought = _token2Token(
                _toContractAddress,
                _ToUnipoolToken0,
                amountToSwap
            );
            token1Bought = _amount.sub(amountToSwap);
        }
    }

    function calculateSwapInAmount(uint256 reserveIn, uint256 userIn)
        internal
        pure
        returns (uint256)
    {
        return
            Babylonian
                .sqrt(
                reserveIn.mul(userIn.mul(3988000) + reserveIn.mul(3988009))
            )
                .sub(reserveIn.mul(1997)) / 1994;
    }

    /**
    @notice This function is used to swap ERC20 <> ERC20
    @param _FromTokenContractAddress The token address to swap from.
    @param _ToTokenContractAddress The token address to swap to. 
    @param tokens2Trade The amount of tokens to swap
    @return tokenBought The quantity of tokens bought
    */
    function _token2Token(
        address _FromTokenContractAddress,
        address _ToTokenContractAddress,
        uint256 tokens2Trade
    ) internal returns (uint256 tokenBought) {
        if (_FromTokenContractAddress == _ToTokenContractAddress) {
            return tokens2Trade;
        }
        IERC20(_FromTokenContractAddress).safeApprove(
            address(uniswapRouter),
            0
        );
        IERC20(_FromTokenContractAddress).safeApprove(
            address(uniswapRouter),
            tokens2Trade
        );

        address pair = UniSwapV2FactoryAddress.getPair(
            _FromTokenContractAddress,
            _ToTokenContractAddress
        );
        require(pair != address(0), "No Swap Available");
        address[] memory path = new address[](2);
        path[0] = _FromTokenContractAddress;
        path[1] = _ToTokenContractAddress;

        tokenBought = uniswapRouter.swapExactTokensForTokens(
            tokens2Trade,
            1,
            path,
            address(this),
            deadline
        )[path.length - 1];

        require(tokenBought > 0, "Error Swapping Tokens 2");
    }

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

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

    function set_feeWhitelist(address zapAddress, bool status)
        external
        onlyOwner
    {
        feeWhitelist[zapAddress] = status;
    }

    function set_new_affiliateSplit(uint16 _new_affiliateSplit)
        external
        onlyOwner
    {
        require(
            _new_affiliateSplit <= 100,
            "Affiliate Split Value not allowed"
        );
        affiliateSplit = _new_affiliateSplit;
    }

    function set_affiliate(address _affiliate, bool _status)
        external
        onlyOwner
    {
        affiliates[_affiliate] = _status;
    }

    ///@notice Withdraw goodwill share, retaining affilliate share
    function withdrawTokens(address[] calldata tokens) external onlyOwner {
        for (uint256 i = 0; i < tokens.length; i++) {
            uint256 qty;

            if (tokens[i] == ETHAddress) {
                qty = address(this).balance.sub(
                    totalAffiliateBalance[tokens[i]]
                );
                Address.sendValue(Address.toPayable(owner()), qty);
            } else {
                qty = IERC20(tokens[i]).balanceOf(address(this)).sub(
                    totalAffiliateBalance[tokens[i]]
                );
                IERC20(tokens[i]).safeTransfer(owner(), qty);
            }
        }
    }

    ///@notice Withdraw affilliate share, retaining goodwill share
    function affilliateWithdraw(address[] calldata tokens) external {
        uint256 tokenBal;
        for (uint256 i = 0; i < tokens.length; i++) {
            tokenBal = affiliateBalance[msg.sender][tokens[i]];
            affiliateBalance[msg.sender][tokens[i]] = 0;
            totalAffiliateBalance[tokens[i]] = totalAffiliateBalance[tokens[i]]
                .sub(tokenBal);

            if (tokens[i] == ETHAddress) {
                Address.sendValue(msg.sender, tokenBal);
            } else {
                IERC20(tokens[i]).safeTransfer(msg.sender, tokenBal);
            }
        }
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"uint16","name":"_goodwill","type":"uint16"},{"internalType":"uint16","name":"_affiliateSplit","type":"uint16"}],"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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"address","name":"pool","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokensRec","type":"uint256"}],"name":"zapIn","type":"event"},{"constant":false,"inputs":[{"internalType":"address","name":"_FromTokenContractAddress","type":"address"},{"internalType":"address","name":"_pairAddress","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_minPoolTokens","type":"uint256"},{"internalType":"address","name":"_swapTarget","type":"address"},{"internalType":"bytes","name":"swapData","type":"bytes"},{"internalType":"address","name":"affiliate","type":"address"},{"internalType":"bool","name":"transferResidual","type":"bool"}],"name":"ZapIn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"_owner","outputs":[{"internalType":"address payable","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"affiliateBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"affiliates","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address[]","name":"tokens","type":"address[]"}],"name":"affilliateWithdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"feeWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"goodwill","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"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":"_affiliate","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"set_affiliate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"zapAddress","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"set_feeWhitelist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint16","name":"_new_affiliateSplit","type":"uint16"}],"name":"set_new_affiliateSplit","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":true,"inputs":[],"name":"stopped","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"toggleContractActive","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalAffiliateBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address payable","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address[]","name":"tokens","type":"address[]"}],"name":"withdrawTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

60806040526000805460ff60a81b1916905534801561001d57600080fd5b50604051620029f9380380620029f98339818101604052604081101561004257600080fd5b5080516020909101516000805460ff191660011781556100696001600160e01b036100eb16565b60008054610100600160a81b0319166101006001600160a01b038416908102919091178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000805461ffff60b01b1916600160b01b61ffff948516021790556002805461ffff1916919092161790556100ef565b3390565b6128fa80620000ff6000396000f3fe6080604052600436106101145760003560e01c806375f12b21116100a0578063b2bdfa7b11610064578063b2bdfa7b14610420578063d408f65714610435578063db254e5014610468578063f2fde38b14610515578063fbec27bf1461054857610114565b806375f12b21146103695780638da5cb5b1461037e5780638f32d59b146103af578063a9967132146103c4578063b10e1dbc146103f257610114565b80633ff428c7116100e75780633ff428c71461022b5780634f51e294146102665780635de0398e146102ad5780635ecb16cd146102d9578063715018a61461035457610114565b80630dc9de85146101195780631385d24c146101965780631781261f146101ab57806318b135e3146101f8575b600080fd5b34801561012557600080fd5b506101946004803603602081101561013c57600080fd5b810190602081018135600160201b81111561015657600080fd5b82018360208201111561016857600080fd5b803590602001918460208302840111600160201b8311171561018957600080fd5b509092509050610583565b005b3480156101a257600080fd5b50610194610763565b3480156101b757600080fd5b506101e6600480360360408110156101ce57600080fd5b506001600160a01b03813581169160200135166107cb565b60408051918252519081900360200190f35b34801561020457600080fd5b506101e66004803603602081101561021b57600080fd5b50356001600160a01b03166107e8565b34801561023757600080fd5b506101946004803603604081101561024e57600080fd5b506001600160a01b03813516906020013515156107fa565b34801561027257600080fd5b506102996004803603602081101561028957600080fd5b50356001600160a01b031661086c565b604080519115158252519081900360200190f35b3480156102b957600080fd5b506102c2610881565b6040805161ffff9092168252519081900360200190f35b3480156102e557600080fd5b50610194600480360360208110156102fc57600080fd5b810190602081018135600160201b81111561031657600080fd5b82018360208201111561032857600080fd5b803590602001918460208302840111600160201b8311171561034957600080fd5b509092509050610892565b34801561036057600080fd5b50610194610a95565b34801561037557600080fd5b50610299610b2b565b34801561038a57600080fd5b50610393610b3b565b604080516001600160a01b039092168252519081900360200190f35b3480156103bb57600080fd5b50610299610b4f565b3480156103d057600080fd5b50610194600480360360208110156103e757600080fd5b503561ffff16610b78565b3480156103fe57600080fd5b506101946004803603602081101561041557600080fd5b503561ffff16610c1b565b34801561042c57600080fd5b50610393610cde565b34801561044157600080fd5b506102996004803603602081101561045857600080fd5b50356001600160a01b0316610cf2565b6101e6600480360361010081101561047f57600080fd5b6001600160a01b038235811692602081013582169260408201359260608301359260808101359091169181019060c0810160a0820135600160201b8111156104c657600080fd5b8201836020820111156104d857600080fd5b803590602001918460018302840111600160201b831117156104f957600080fd5b91935091506001600160a01b0381351690602001351515610d07565b34801561052157600080fd5b506101946004803603602081101561053857600080fd5b50356001600160a01b0316610edd565b34801561055457600080fd5b506101946004803603604081101561056b57600080fd5b506001600160a01b0381351690602001351515610f30565b6000805b8281101561075d57336000908152600460205260408120908585848181106105ab57fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b03168152602001908152602001600020549150600060046000336001600160a01b03166001600160a01b03168152602001908152602001600020600086868581811061061357fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b031681526020019081526020016000208190555061069a826005600087878681811061065b57fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002054610fa290919063ffffffff16565b600560008686858181106106aa57fe5b602090810292909201356001600160a01b03168352508101919091526040016000205573eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8484838181106106ee57fe5b905060200201356001600160a01b03166001600160a01b0316141561071c576107173383610fed565b610755565b610755338386868581811061072d57fe5b905060200201356001600160a01b03166001600160a01b03166110d29092919063ffffffff16565b600101610587565b50505050565b61076b610b4f565b6107aa576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b6000805460ff60a81b198116600160a81b9182900460ff1615909102179055565b600460209081526000928352604080842090915290825290205481565b60056020526000908152604090205481565b610802610b4f565b610841576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600360205260409020805460ff1916911515919091179055565b60036020526000908152604090205460ff1681565b600054600160b01b900461ffff1681565b61089a610b4f565b6108d9576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b60005b81811015610a9057600073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee84848481811061090757fe5b905060200201356001600160a01b03166001600160a01b03161415610999576109796005600086868681811061093957fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b031681526020019081526020016000205447610fa290919063ffffffff16565b905061099461098e610989610b3b565b611124565b82610fed565b610a87565b610a6d600560008686868181106109ac57fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b03168152602001908152602001600020548585858181106109e957fe5b604080516370a0823160e01b81523060048201529051602092830294909401356001600160a01b0316936370a08231935060248083019392829003018186803b158015610a3557600080fd5b505afa158015610a49573d6000803e3d6000fd5b505050506040513d6020811015610a5f57600080fd5b50519063ffffffff610fa216565b9050610a87610a7a610b3b565b8286868681811061072d57fe5b506001016108dc565b505050565b610a9d610b4f565b610adc576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b600080546040516101009091046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360008054610100600160a81b0319169055565b600054600160a81b900460ff1681565b60005461010090046001600160a01b031690565b6000805461010090046001600160a01b0316610b6961112b565b6001600160a01b031614905090565b610b80610b4f565b610bbf576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b60648161ffff161115610c035760405162461bcd60e51b81526004018080602001828103825260218152602001806128256021913960400191505060405180910390fd5b6002805461ffff191661ffff92909216919091179055565b610c23610b4f565b610c62576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b60648161ffff161115610cbc576040805162461bcd60e51b815260206004820152601a60248201527f476f6f6457696c6c2056616c7565206e6f7420616c6c6f776564000000000000604482015290519081900360640190fd5b6000805461ffff909216600160b01b0261ffff60b01b19909216919091179055565b60005461010090046001600160a01b031681565b60016020526000908152604090205460ff1681565b6000805460ff16610d5f576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6000805460ff191690819055600160a81b900460ff1615610dbc576040805162461bcd60e51b815260206004820152601260248201527115195b5c1bdc985c9a5b1e4814185d5cd95960721b604482015290519081900360640190fd5b6000610dc98b8a8661112f565b90506000610e128c8c848b8b8b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508c9250611294915050565b905088811015610e5e576040805162461bcd60e51b81526020600482015260126024820152714552523a204869676820536c69707061676560701b604482015290519081900360640190fd5b604080513381526001600160a01b038d16602082015280820183905290517f7f31d76771556dce5ab39ba5b60664743da2629a75c474e9445734b7ad34087d9181900360600190a1610ec06001600160a01b038c16338363ffffffff6110d216565b9150506000805460ff191660011790559998505050505050505050565b610ee5610b4f565b610f24576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b610f2d81611331565b50565b610f38610b4f565b610f77576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000610fe483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506113dc565b90505b92915050565b80471015611042576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015290519081900360640190fd5b6040516000906001600160a01b0384169083908381818185875af1925050503d806000811461108d576040519150601f19603f3d011682016040523d82523d6000602084013e611092565b606091505b5050905080610a905760405162461bcd60e51b815260040180806020018281038252603a8152602001806127ca603a913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610a90908490611473565b805b919050565b3390565b6000806001600160a01b0385166111bc5760003411611183576040805162461bcd60e51b815260206004820152600b60248201526a139bc8195d1a081cd95b9d60aa1b604482015290519081900360640190fd5b6111a273eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee348561162b565b90506111b4348263ffffffff610fa216565b91505061128d565b60008411611208576040805162461bcd60e51b8152602060048201526014602482015273125b9d985b1a59081d1bdad95b88185b5bdd5b9d60621b604482015290519081900360640190fd5b3415611251576040805162461bcd60e51b815260206004820152601360248201527222ba341039b2b73a103bb4ba34103a37b5b2b760691b604482015290519081900360640190fd5b61126c6001600160a01b03861633308763ffffffff61178416565b61127785858561162b565b9050611289848263ffffffff610fa216565b9150505b9392505050565b60008060008060006112a58a6117de565b91509150816001600160a01b03168b6001600160a01b0316141580156112dd5750806001600160a01b03168b6001600160a01b031614155b156112f9576112ef8b8b8b8b8b6118c4565b9094509250611300565b8a92508893505b60008061130f85858589611c59565b91509150611320848484848c611e3c565b9d9c50505050505050505050505050565b6001600160a01b0381166113765760405162461bcd60e51b81526004018080602001828103825260268152602001806127a46026913960400191505060405180910390fd5b600080546040516001600160a01b038085169361010090930416917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6000818484111561146b5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611430578181015183820152602001611418565b50505050905090810190601f16801561145d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b611485826001600160a01b0316612066565b6114d6576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106115145780518252601f1990920191602091820191016114f5565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611576576040519150601f19603f3d011682016040523d82523d6000602084013e61157b565b606091505b5091509150816115d2576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b80511561075d578080602001905160208110156115ee57600080fd5b505161075d5760405162461bcd60e51b815260040180806020018281038252602a815260200180612866602a913960400191505060405180910390fd5b3360009081526001602052604081205460ff16801580156116585750600054600160b01b900461ffff1615155b1561177c576000546116829061167a908690600160b01b900461ffff166120a2565b6127106120fb565b6001600160a01b03841660009081526003602052604090205490925060ff1680156116b2575060025461ffff1615155b1561177c576002546000906116e5906064906116d990869061ffff1663ffffffff6120a216565b9063ffffffff6120fb16565b6001600160a01b038086166000908152600460209081526040808320938b168352929052205490915061171e908263ffffffff61213d16565b6001600160a01b038086166000908152600460209081526040808320938b168352928152828220939093556005909252902054611761908263ffffffff61213d16565b6001600160a01b038716600090815260056020526040902055505b509392505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261075d908590611473565b6000806000839050806001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561181f57600080fd5b505afa158015611833573d6000803e3d6000fd5b505050506040513d602081101561184957600080fd5b50516040805163d21220a760e01b815290519194506001600160a01b0383169163d21220a791600480820192602092909190829003018186803b15801561188f57600080fd5b505afa1580156118a3573d6000803e3d6000fd5b505050506040513d60208110156118b957600080fd5b505192949293505050565b600080806001600160a01b0388166118dd575084611915565b876118f96001600160a01b03821687600063ffffffff61219716565b6119136001600160a01b038216878963ffffffff61219716565b505b600080611921896117de565b604080516370a0823160e01b81523060048201529051929450909250839183916000916001600160a01b038516916370a08231916024808301926020929190829003018186803b15801561197457600080fd5b505afa158015611988573d6000803e3d6000fd5b505050506040513d602081101561199e57600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038516916370a08231916024808301926020929190829003018186803b1580156119ec57600080fd5b505afa158015611a00573d6000803e3d6000fd5b505050506040513d6020811015611a1657600080fd5b50516040518b519192506000916001600160a01b038e16918a918e9190819060208401908083835b60208310611a5d5780518252601f199092019160209182019101611a3e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611abf576040519150601f19603f3d011682016040523d82523d6000602084013e611ac4565b606091505b5050905080611b1a576040805162461bcd60e51b815260206004820152601760248201527f4572726f72205377617070696e6720546f6b656e732031000000000000000000604482015290519081900360640190fd5b6000611b7684876001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610a3557600080fd5b90506000611bd484876001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610a3557600080fd5b905080821115611be957819b50889a50611bf0565b809b50879a505b60008c11611c45576040805162461bcd60e51b815260206004820152601f60248201527f5377617070656420746f20496e76616c696420496e7465726d65646961746500604482015290519081900360640190fd5b505050505050505050509550959350505050565b6040805163e6a4390560e01b81526001600160a01b03858116600483015284166024820152905160009182918291735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f9163e6a4390591604480820192602092909190829003018186803b158015611cc357600080fd5b505afa158015611cd7573d6000803e3d6000fd5b505050506040513d6020811015611ced57600080fd5b505160408051630240bc6b60e21b8152905191925060009182916001600160a01b03851691630902f1ac91600480820192606092909190829003018186803b158015611d3857600080fd5b505afa158015611d4c573d6000803e3d6000fd5b505050506040513d6060811015611d6257600080fd5b5080516020909101516dffffffffffffffffffffffffffff91821693501690506001600160a01b038981169089161415611de5576000611da283886122aa565b905060008111611dc057611dbd87600263ffffffff6120fb16565b90505b611dcb8a898361231e565b9450611ddd878263ffffffff610fa216565b955050611e30565b6000611df182886122aa565b905060008111611e0f57611e0c87600263ffffffff6120fb16565b90505b611e1a8a8a8361231e565b9550611e2c878263ffffffff610fa216565b9450505b50505094509492505050565b6000611e6c6001600160a01b038716737a250d5630b4cf539739df2c5dacb4c659f2488d8363ffffffff61219716565b611e9b6001600160a01b038616737a250d5630b4cf539739df2c5dacb4c659f2488d600063ffffffff61219716565b611ec96001600160a01b038716737a250d5630b4cf539739df2c5dacb4c659f2488d8663ffffffff61219716565b611ef76001600160a01b038616737a250d5630b4cf539739df2c5dacb4c659f2488d8563ffffffff61219716565b6040805162e8e33760e81b81526001600160a01b03888116600483015287166024820152604481018690526064810185905260016084820181905260a48201523060c4820152600f60fc1b60e4820152905160009182918291737a250d5630b4cf539739df2c5dacb4c659f2488d9163e8e33700916101048082019260609290919082900301818787803b158015611f8e57600080fd5b505af1158015611fa2573d6000803e3d6000fd5b505050506040513d6060811015611fb857600080fd5b50805160208201516040909201519094509092509050841561205a576000611fe6888563ffffffff610fa216565b11156120175761201733612000898663ffffffff610fa216565b6001600160a01b038c16919063ffffffff6110d216565b6000612029878463ffffffff610fa216565b111561205a5761205a33612043888563ffffffff610fa216565b6001600160a01b038b16919063ffffffff6110d216565b98975050505050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061209a57508115155b949350505050565b6000826120b157506000610fe7565b828202828482816120be57fe5b0414610fe45760405162461bcd60e51b81526004018080602001828103825260218152602001806128046021913960400191505060405180910390fd5b6000610fe483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506126ed565b600082820183811015610fe4576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b80158061221d575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156121ef57600080fd5b505afa158015612203573d6000803e3d6000fd5b505050506040513d602081101561221957600080fd5b5051155b6122585760405162461bcd60e51b81526004018080602001828103825260368152602001806128906036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052610a90908490611473565b60006107ca61230f6122c4856107cd63ffffffff6120a216565b6123036122fe6122dd88623cda2963ffffffff6120a216565b6122f088623cda2063ffffffff6120a216565b89910163ffffffff6120a216565b612752565b9063ffffffff610fa216565b8161231657fe5b049392505050565b6000826001600160a01b0316846001600160a01b0316141561234157508061128d565b6123706001600160a01b038516737a250d5630b4cf539739df2c5dacb4c659f2488d600063ffffffff61219716565b61239e6001600160a01b038516737a250d5630b4cf539739df2c5dacb4c659f2488d8463ffffffff61219716565b6040805163e6a4390560e01b81526001600160a01b038681166004830152851660248201529051600091735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f9163e6a4390591604480820192602092909190829003018186803b15801561240457600080fd5b505afa158015612418573d6000803e3d6000fd5b505050506040513d602081101561242e57600080fd5b505190506001600160a01b038116612481576040805162461bcd60e51b81526020600482015260116024820152704e6f205377617020417661696c61626c6560781b604482015290519081900360640190fd5b604080516002808252606080830184529260208301908038833901905050905085816000815181106124af57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505084816001815181106124dd57fe5b6001600160a01b039092166020928302919091018201526040516338ed173960e01b8152600481018681526001602483018190523060648401819052600f60fc1b6084850181905260a060448601908152875160a48701528751737a250d5630b4cf539739df2c5dacb4c659f2488d976338ed1739978d978b9695949093909260c490920191878101910280838360005b8381101561258657818101518382015260200161256e565b505050509050019650505050505050600060405180830381600087803b1580156125af57600080fd5b505af11580156125c3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156125ec57600080fd5b8101908080516040519392919084600160201b82111561260b57600080fd5b90830190602082018581111561262057600080fd5b82518660208202830111600160201b8211171561263c57600080fd5b82525081516020918201928201910280838360005b83811015612669578181015183820152602001612651565b5050505090500160405250505060018251038151811061268557fe5b60200260200101519250600083116126e4576040805162461bcd60e51b815260206004820152601760248201527f4572726f72205377617070696e6720546f6b656e732032000000000000000000604482015290519081900360640190fd5b50509392505050565b6000818361273c5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611430578181015183820152602001611418565b50600083858161274857fe5b0495945050505050565b60006003821115612795575080600160028204015b8181101561278f5780915060028182858161277e57fe5b04018161278757fe5b049050612767565b50611126565b81156111265750600191905056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77416666696c696174652053706c69742056616c7565206e6f7420616c6c6f7765644f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a265627a7a7231582073e6ca9526a09a9038c6c359e84cac36dafd8921c280c407a91b91412992b3dc64736f6c6343000511003200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101145760003560e01c806375f12b21116100a0578063b2bdfa7b11610064578063b2bdfa7b14610420578063d408f65714610435578063db254e5014610468578063f2fde38b14610515578063fbec27bf1461054857610114565b806375f12b21146103695780638da5cb5b1461037e5780638f32d59b146103af578063a9967132146103c4578063b10e1dbc146103f257610114565b80633ff428c7116100e75780633ff428c71461022b5780634f51e294146102665780635de0398e146102ad5780635ecb16cd146102d9578063715018a61461035457610114565b80630dc9de85146101195780631385d24c146101965780631781261f146101ab57806318b135e3146101f8575b600080fd5b34801561012557600080fd5b506101946004803603602081101561013c57600080fd5b810190602081018135600160201b81111561015657600080fd5b82018360208201111561016857600080fd5b803590602001918460208302840111600160201b8311171561018957600080fd5b509092509050610583565b005b3480156101a257600080fd5b50610194610763565b3480156101b757600080fd5b506101e6600480360360408110156101ce57600080fd5b506001600160a01b03813581169160200135166107cb565b60408051918252519081900360200190f35b34801561020457600080fd5b506101e66004803603602081101561021b57600080fd5b50356001600160a01b03166107e8565b34801561023757600080fd5b506101946004803603604081101561024e57600080fd5b506001600160a01b03813516906020013515156107fa565b34801561027257600080fd5b506102996004803603602081101561028957600080fd5b50356001600160a01b031661086c565b604080519115158252519081900360200190f35b3480156102b957600080fd5b506102c2610881565b6040805161ffff9092168252519081900360200190f35b3480156102e557600080fd5b50610194600480360360208110156102fc57600080fd5b810190602081018135600160201b81111561031657600080fd5b82018360208201111561032857600080fd5b803590602001918460208302840111600160201b8311171561034957600080fd5b509092509050610892565b34801561036057600080fd5b50610194610a95565b34801561037557600080fd5b50610299610b2b565b34801561038a57600080fd5b50610393610b3b565b604080516001600160a01b039092168252519081900360200190f35b3480156103bb57600080fd5b50610299610b4f565b3480156103d057600080fd5b50610194600480360360208110156103e757600080fd5b503561ffff16610b78565b3480156103fe57600080fd5b506101946004803603602081101561041557600080fd5b503561ffff16610c1b565b34801561042c57600080fd5b50610393610cde565b34801561044157600080fd5b506102996004803603602081101561045857600080fd5b50356001600160a01b0316610cf2565b6101e6600480360361010081101561047f57600080fd5b6001600160a01b038235811692602081013582169260408201359260608301359260808101359091169181019060c0810160a0820135600160201b8111156104c657600080fd5b8201836020820111156104d857600080fd5b803590602001918460018302840111600160201b831117156104f957600080fd5b91935091506001600160a01b0381351690602001351515610d07565b34801561052157600080fd5b506101946004803603602081101561053857600080fd5b50356001600160a01b0316610edd565b34801561055457600080fd5b506101946004803603604081101561056b57600080fd5b506001600160a01b0381351690602001351515610f30565b6000805b8281101561075d57336000908152600460205260408120908585848181106105ab57fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b03168152602001908152602001600020549150600060046000336001600160a01b03166001600160a01b03168152602001908152602001600020600086868581811061061357fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b031681526020019081526020016000208190555061069a826005600087878681811061065b57fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002054610fa290919063ffffffff16565b600560008686858181106106aa57fe5b602090810292909201356001600160a01b03168352508101919091526040016000205573eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8484838181106106ee57fe5b905060200201356001600160a01b03166001600160a01b0316141561071c576107173383610fed565b610755565b610755338386868581811061072d57fe5b905060200201356001600160a01b03166001600160a01b03166110d29092919063ffffffff16565b600101610587565b50505050565b61076b610b4f565b6107aa576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b6000805460ff60a81b198116600160a81b9182900460ff1615909102179055565b600460209081526000928352604080842090915290825290205481565b60056020526000908152604090205481565b610802610b4f565b610841576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600360205260409020805460ff1916911515919091179055565b60036020526000908152604090205460ff1681565b600054600160b01b900461ffff1681565b61089a610b4f565b6108d9576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b60005b81811015610a9057600073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee84848481811061090757fe5b905060200201356001600160a01b03166001600160a01b03161415610999576109796005600086868681811061093957fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b031681526020019081526020016000205447610fa290919063ffffffff16565b905061099461098e610989610b3b565b611124565b82610fed565b610a87565b610a6d600560008686868181106109ac57fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b03168152602001908152602001600020548585858181106109e957fe5b604080516370a0823160e01b81523060048201529051602092830294909401356001600160a01b0316936370a08231935060248083019392829003018186803b158015610a3557600080fd5b505afa158015610a49573d6000803e3d6000fd5b505050506040513d6020811015610a5f57600080fd5b50519063ffffffff610fa216565b9050610a87610a7a610b3b565b8286868681811061072d57fe5b506001016108dc565b505050565b610a9d610b4f565b610adc576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b600080546040516101009091046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360008054610100600160a81b0319169055565b600054600160a81b900460ff1681565b60005461010090046001600160a01b031690565b6000805461010090046001600160a01b0316610b6961112b565b6001600160a01b031614905090565b610b80610b4f565b610bbf576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b60648161ffff161115610c035760405162461bcd60e51b81526004018080602001828103825260218152602001806128256021913960400191505060405180910390fd5b6002805461ffff191661ffff92909216919091179055565b610c23610b4f565b610c62576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b60648161ffff161115610cbc576040805162461bcd60e51b815260206004820152601a60248201527f476f6f6457696c6c2056616c7565206e6f7420616c6c6f776564000000000000604482015290519081900360640190fd5b6000805461ffff909216600160b01b0261ffff60b01b19909216919091179055565b60005461010090046001600160a01b031681565b60016020526000908152604090205460ff1681565b6000805460ff16610d5f576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6000805460ff191690819055600160a81b900460ff1615610dbc576040805162461bcd60e51b815260206004820152601260248201527115195b5c1bdc985c9a5b1e4814185d5cd95960721b604482015290519081900360640190fd5b6000610dc98b8a8661112f565b90506000610e128c8c848b8b8b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508c9250611294915050565b905088811015610e5e576040805162461bcd60e51b81526020600482015260126024820152714552523a204869676820536c69707061676560701b604482015290519081900360640190fd5b604080513381526001600160a01b038d16602082015280820183905290517f7f31d76771556dce5ab39ba5b60664743da2629a75c474e9445734b7ad34087d9181900360600190a1610ec06001600160a01b038c16338363ffffffff6110d216565b9150506000805460ff191660011790559998505050505050505050565b610ee5610b4f565b610f24576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b610f2d81611331565b50565b610f38610b4f565b610f77576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000610fe483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506113dc565b90505b92915050565b80471015611042576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015290519081900360640190fd5b6040516000906001600160a01b0384169083908381818185875af1925050503d806000811461108d576040519150601f19603f3d011682016040523d82523d6000602084013e611092565b606091505b5050905080610a905760405162461bcd60e51b815260040180806020018281038252603a8152602001806127ca603a913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610a90908490611473565b805b919050565b3390565b6000806001600160a01b0385166111bc5760003411611183576040805162461bcd60e51b815260206004820152600b60248201526a139bc8195d1a081cd95b9d60aa1b604482015290519081900360640190fd5b6111a273eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee348561162b565b90506111b4348263ffffffff610fa216565b91505061128d565b60008411611208576040805162461bcd60e51b8152602060048201526014602482015273125b9d985b1a59081d1bdad95b88185b5bdd5b9d60621b604482015290519081900360640190fd5b3415611251576040805162461bcd60e51b815260206004820152601360248201527222ba341039b2b73a103bb4ba34103a37b5b2b760691b604482015290519081900360640190fd5b61126c6001600160a01b03861633308763ffffffff61178416565b61127785858561162b565b9050611289848263ffffffff610fa216565b9150505b9392505050565b60008060008060006112a58a6117de565b91509150816001600160a01b03168b6001600160a01b0316141580156112dd5750806001600160a01b03168b6001600160a01b031614155b156112f9576112ef8b8b8b8b8b6118c4565b9094509250611300565b8a92508893505b60008061130f85858589611c59565b91509150611320848484848c611e3c565b9d9c50505050505050505050505050565b6001600160a01b0381166113765760405162461bcd60e51b81526004018080602001828103825260268152602001806127a46026913960400191505060405180910390fd5b600080546040516001600160a01b038085169361010090930416917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6000818484111561146b5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611430578181015183820152602001611418565b50505050905090810190601f16801561145d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b611485826001600160a01b0316612066565b6114d6576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106115145780518252601f1990920191602091820191016114f5565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611576576040519150601f19603f3d011682016040523d82523d6000602084013e61157b565b606091505b5091509150816115d2576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b80511561075d578080602001905160208110156115ee57600080fd5b505161075d5760405162461bcd60e51b815260040180806020018281038252602a815260200180612866602a913960400191505060405180910390fd5b3360009081526001602052604081205460ff16801580156116585750600054600160b01b900461ffff1615155b1561177c576000546116829061167a908690600160b01b900461ffff166120a2565b6127106120fb565b6001600160a01b03841660009081526003602052604090205490925060ff1680156116b2575060025461ffff1615155b1561177c576002546000906116e5906064906116d990869061ffff1663ffffffff6120a216565b9063ffffffff6120fb16565b6001600160a01b038086166000908152600460209081526040808320938b168352929052205490915061171e908263ffffffff61213d16565b6001600160a01b038086166000908152600460209081526040808320938b168352928152828220939093556005909252902054611761908263ffffffff61213d16565b6001600160a01b038716600090815260056020526040902055505b509392505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261075d908590611473565b6000806000839050806001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561181f57600080fd5b505afa158015611833573d6000803e3d6000fd5b505050506040513d602081101561184957600080fd5b50516040805163d21220a760e01b815290519194506001600160a01b0383169163d21220a791600480820192602092909190829003018186803b15801561188f57600080fd5b505afa1580156118a3573d6000803e3d6000fd5b505050506040513d60208110156118b957600080fd5b505192949293505050565b600080806001600160a01b0388166118dd575084611915565b876118f96001600160a01b03821687600063ffffffff61219716565b6119136001600160a01b038216878963ffffffff61219716565b505b600080611921896117de565b604080516370a0823160e01b81523060048201529051929450909250839183916000916001600160a01b038516916370a08231916024808301926020929190829003018186803b15801561197457600080fd5b505afa158015611988573d6000803e3d6000fd5b505050506040513d602081101561199e57600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038516916370a08231916024808301926020929190829003018186803b1580156119ec57600080fd5b505afa158015611a00573d6000803e3d6000fd5b505050506040513d6020811015611a1657600080fd5b50516040518b519192506000916001600160a01b038e16918a918e9190819060208401908083835b60208310611a5d5780518252601f199092019160209182019101611a3e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611abf576040519150601f19603f3d011682016040523d82523d6000602084013e611ac4565b606091505b5050905080611b1a576040805162461bcd60e51b815260206004820152601760248201527f4572726f72205377617070696e6720546f6b656e732031000000000000000000604482015290519081900360640190fd5b6000611b7684876001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610a3557600080fd5b90506000611bd484876001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610a3557600080fd5b905080821115611be957819b50889a50611bf0565b809b50879a505b60008c11611c45576040805162461bcd60e51b815260206004820152601f60248201527f5377617070656420746f20496e76616c696420496e7465726d65646961746500604482015290519081900360640190fd5b505050505050505050509550959350505050565b6040805163e6a4390560e01b81526001600160a01b03858116600483015284166024820152905160009182918291735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f9163e6a4390591604480820192602092909190829003018186803b158015611cc357600080fd5b505afa158015611cd7573d6000803e3d6000fd5b505050506040513d6020811015611ced57600080fd5b505160408051630240bc6b60e21b8152905191925060009182916001600160a01b03851691630902f1ac91600480820192606092909190829003018186803b158015611d3857600080fd5b505afa158015611d4c573d6000803e3d6000fd5b505050506040513d6060811015611d6257600080fd5b5080516020909101516dffffffffffffffffffffffffffff91821693501690506001600160a01b038981169089161415611de5576000611da283886122aa565b905060008111611dc057611dbd87600263ffffffff6120fb16565b90505b611dcb8a898361231e565b9450611ddd878263ffffffff610fa216565b955050611e30565b6000611df182886122aa565b905060008111611e0f57611e0c87600263ffffffff6120fb16565b90505b611e1a8a8a8361231e565b9550611e2c878263ffffffff610fa216565b9450505b50505094509492505050565b6000611e6c6001600160a01b038716737a250d5630b4cf539739df2c5dacb4c659f2488d8363ffffffff61219716565b611e9b6001600160a01b038616737a250d5630b4cf539739df2c5dacb4c659f2488d600063ffffffff61219716565b611ec96001600160a01b038716737a250d5630b4cf539739df2c5dacb4c659f2488d8663ffffffff61219716565b611ef76001600160a01b038616737a250d5630b4cf539739df2c5dacb4c659f2488d8563ffffffff61219716565b6040805162e8e33760e81b81526001600160a01b03888116600483015287166024820152604481018690526064810185905260016084820181905260a48201523060c4820152600f60fc1b60e4820152905160009182918291737a250d5630b4cf539739df2c5dacb4c659f2488d9163e8e33700916101048082019260609290919082900301818787803b158015611f8e57600080fd5b505af1158015611fa2573d6000803e3d6000fd5b505050506040513d6060811015611fb857600080fd5b50805160208201516040909201519094509092509050841561205a576000611fe6888563ffffffff610fa216565b11156120175761201733612000898663ffffffff610fa216565b6001600160a01b038c16919063ffffffff6110d216565b6000612029878463ffffffff610fa216565b111561205a5761205a33612043888563ffffffff610fa216565b6001600160a01b038b16919063ffffffff6110d216565b98975050505050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061209a57508115155b949350505050565b6000826120b157506000610fe7565b828202828482816120be57fe5b0414610fe45760405162461bcd60e51b81526004018080602001828103825260218152602001806128046021913960400191505060405180910390fd5b6000610fe483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506126ed565b600082820183811015610fe4576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b80158061221d575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156121ef57600080fd5b505afa158015612203573d6000803e3d6000fd5b505050506040513d602081101561221957600080fd5b5051155b6122585760405162461bcd60e51b81526004018080602001828103825260368152602001806128906036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052610a90908490611473565b60006107ca61230f6122c4856107cd63ffffffff6120a216565b6123036122fe6122dd88623cda2963ffffffff6120a216565b6122f088623cda2063ffffffff6120a216565b89910163ffffffff6120a216565b612752565b9063ffffffff610fa216565b8161231657fe5b049392505050565b6000826001600160a01b0316846001600160a01b0316141561234157508061128d565b6123706001600160a01b038516737a250d5630b4cf539739df2c5dacb4c659f2488d600063ffffffff61219716565b61239e6001600160a01b038516737a250d5630b4cf539739df2c5dacb4c659f2488d8463ffffffff61219716565b6040805163e6a4390560e01b81526001600160a01b038681166004830152851660248201529051600091735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f9163e6a4390591604480820192602092909190829003018186803b15801561240457600080fd5b505afa158015612418573d6000803e3d6000fd5b505050506040513d602081101561242e57600080fd5b505190506001600160a01b038116612481576040805162461bcd60e51b81526020600482015260116024820152704e6f205377617020417661696c61626c6560781b604482015290519081900360640190fd5b604080516002808252606080830184529260208301908038833901905050905085816000815181106124af57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505084816001815181106124dd57fe5b6001600160a01b039092166020928302919091018201526040516338ed173960e01b8152600481018681526001602483018190523060648401819052600f60fc1b6084850181905260a060448601908152875160a48701528751737a250d5630b4cf539739df2c5dacb4c659f2488d976338ed1739978d978b9695949093909260c490920191878101910280838360005b8381101561258657818101518382015260200161256e565b505050509050019650505050505050600060405180830381600087803b1580156125af57600080fd5b505af11580156125c3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156125ec57600080fd5b8101908080516040519392919084600160201b82111561260b57600080fd5b90830190602082018581111561262057600080fd5b82518660208202830111600160201b8211171561263c57600080fd5b82525081516020918201928201910280838360005b83811015612669578181015183820152602001612651565b5050505090500160405250505060018251038151811061268557fe5b60200260200101519250600083116126e4576040805162461bcd60e51b815260206004820152601760248201527f4572726f72205377617070696e6720546f6b656e732032000000000000000000604482015290519081900360640190fd5b50509392505050565b6000818361273c5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611430578181015183820152602001611418565b50600083858161274857fe5b0495945050505050565b60006003821115612795575080600160028204015b8181101561278f5780915060028182858161277e57fe5b04018161278757fe5b049050612767565b50611126565b81156111265750600191905056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77416666696c696174652053706c69742056616c7565206e6f7420616c6c6f7765644f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a265627a7a7231582073e6ca9526a09a9038c6c359e84cac36dafd8921c280c407a91b91412992b3dc64736f6c63430005110032

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

00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _goodwill (uint16): 0
Arg [1] : _affiliateSplit (uint16): 0

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


Deployed Bytecode Sourcemap

30237:15671:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45291:614;;8:9:-1;5:2;;;30:1;27;20:12;5:2;45291:614:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;45291:614:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;45291:614:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;45291:614:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;-1:-1;45291:614:0;;-1:-1:-1;45291:614:0;-1:-1:-1;45291:614:0;:::i;:::-;;43550:86;;8:9:-1;5:2;;;30:1;27;20:12;5:2;43550:86:0;;;:::i;30748:71::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30748:71:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;30748:71:0;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;30850:56;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30850:56:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;30850:56:0;-1:-1:-1;;;;;30850:56:0;;:::i;44335:150::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;44335:150:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;44335:150:0;;;;;;;;;;:::i;30662:42::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30662:42:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;30662:42:0;-1:-1:-1;;;;;30662:42:0;;:::i;:::-;;;;;;;;;;;;;;;;;;30442:22;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30442:22:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;44561:654;;8:9:-1;5:2;;;30:1;27;20:12;5:2;44561:654:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;44561:654:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;44561:654:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;44561:654:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;-1:-1;44561:654:0;;-1:-1:-1;44561:654:0;-1:-1:-1;44561:654:0;:::i;22718:140::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22718:140:0;;;:::i;30408:27::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30408:27:0;;;:::i;21907:79::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21907:79:0;;;:::i;:::-;;;;-1:-1:-1;;;;;21907:79:0;;;;;;;;;;;;;;22273:94;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22273:94:0;;;:::i;44050:277::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;44050:277:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;44050:277:0;;;;:::i;43644:237::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;43644:237:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;43644:237:0;;;;:::i;21402:29::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21402:29:0;;;:::i;30515:44::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30515:44:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;30515:44:0;-1:-1:-1;;;;;30515:44:0;;:::i;32592:937::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;32592:937:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;32592:937:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;32592:937:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;32592:937:0;;-1:-1:-1;32592:937:0;-1:-1:-1;;;;;;32592:937:0;;;;;;;;;;:::i;23013:117::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23013:117:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23013:117:0;-1:-1:-1;;;;;23013:117:0;;:::i;43889:153::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;43889:153:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;43889:153:0;;;;;;;;;;:::i;45291:614::-;45366:16;;45393:505;45413:17;;;45393:505;;;45480:10;45463:28;;;;:16;:28;;;;;;45492:6;;45499:1;45492:9;;;;;;;;;;;;;-1:-1:-1;;;;;45492:9:0;-1:-1:-1;;;;;45463:39:0;-1:-1:-1;;;;;45463:39:0;;;;;;;;;;;;;45452:50;;45559:1;45517:16;:28;45534:10;-1:-1:-1;;;;;45517:28:0;-1:-1:-1;;;;;45517:28:0;;;;;;;;;;;;:39;45546:6;;45553:1;45546:9;;;;;;;;;;;;;-1:-1:-1;;;;;45546:9:0;-1:-1:-1;;;;;45517:39:0;-1:-1:-1;;;;;45517:39:0;;;;;;;;;;;;:43;;;;45610:64;45665:8;45610:21;:32;45632:6;;45639:1;45632:9;;;;;;;;;;;;;-1:-1:-1;;;;;45632:9:0;-1:-1:-1;;;;;45610:32:0;-1:-1:-1;;;;;45610:32:0;;;;;;;;;;;;;:54;;:64;;;;:::i;:::-;45575:21;:32;45597:6;;45604:1;45597:9;;;;;;;;;;;;;;;;-1:-1:-1;;;;;45597:9:0;45575:32;;-1:-1:-1;45575:32:0;;;;;;;;-1:-1:-1;45575:32:0;:99;30962:42;45695:6;;45702:1;45695:9;;;;;;;;;;;;;-1:-1:-1;;;;;45695:9:0;-1:-1:-1;;;;;45695:23:0;;45691:196;;;45739:39;45757:10;45769:8;45739:17;:39::i;:::-;45691:196;;;45819:52;45850:10;45862:8;45826:6;;45833:1;45826:9;;;;;;;;;;;;;-1:-1:-1;;;;;45826:9:0;-1:-1:-1;;;;;45819:30:0;;;:52;;;;;:::i;:::-;45432:3;;45393:505;;;;45291:614;;;:::o;43550:86::-;22119:9;:7;:9::i;:::-;22111:54;;;;;-1:-1:-1;;;22111:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22111:54:0;;;;;;;;;;;;;;;43621:7;;;-1:-1:-1;;;;43610:18:0;;-1:-1:-1;;;43621:7:0;;;;;;43620:8;43610:18;;;;;;43550:86::o;30748:71::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;30850:56::-;;;;;;;;;;;;;:::o;44335:150::-;22119:9;:7;:9::i;:::-;22111:54;;;;;-1:-1:-1;;;22111:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22111:54:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;44445:22:0;;;;;;;;:10;:22;;;;;:32;;-1:-1:-1;;44445:32:0;;;;;;;;;;44335:150::o;30662:42::-;;;;;;;;;;;;;;;:::o;30442:22::-;;;-1:-1:-1;;;30442:22:0;;;;;:::o;44561:654::-;22119:9;:7;:9::i;:::-;22111:54;;;;;-1:-1:-1;;;22111:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22111:54:0;;;;;;;;;;;;;;;44647:9;44642:566;44662:17;;;44642:566;;;44701:11;30962:42;44733:6;;44740:1;44733:9;;;;;;;;;;;;;-1:-1:-1;;;;;44733:9:0;-1:-1:-1;;;;;44733:23:0;;44729:468;;;44783:99;44831:21;:32;44853:6;;44860:1;44853:9;;;;;;;;;;;;;-1:-1:-1;;;;;44853:9:0;-1:-1:-1;;;;;44831:32:0;-1:-1:-1;;;;;44831:32:0;;;;;;;;;;;;;44783:21;:25;;:99;;;;:::i;:::-;44777:105;;44901:50;44919:26;44937:7;:5;:7::i;:::-;44919:17;:26::i;:::-;44947:3;44901:17;:50::i;:::-;44729:468;;;44998:120;45067:21;:32;45089:6;;45096:1;45089:9;;;;;;;;;;;;;-1:-1:-1;;;;;45089:9:0;-1:-1:-1;;;;;45067:32:0;-1:-1:-1;;;;;45067:32:0;;;;;;;;;;;;;45005:6;;45012:1;45005:9;;;;;;;44998:42;;;-1:-1:-1;;;44998:42:0;;45034:4;44998:42;;;;;;45005:9;;;;;;;;;-1:-1:-1;;;;;45005:9:0;;44998:27;;-1:-1:-1;44998:42:0;;;;;45005:9;44998:42;;;;;45005:9;44998:42;;;5:2:-1;;;;30:1;27;20:12;5:2;44998:42:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;44998:42:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;44998:42:0;;:120;:46;:120;:::i;:::-;44992:126;;45137:44;45168:7;:5;:7::i;:::-;45177:3;45144:6;;45151:1;45144:9;;;;;;45137:44;-1:-1:-1;44681:3:0;;44642:566;;;;44561:654;;:::o;22718:140::-;22119:9;:7;:9::i;:::-;22111:54;;;;;-1:-1:-1;;;22111:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22111:54:0;;;;;;;;;;;;;;;22817:1;22801:6;;22780:40;;22801:6;;;;-1:-1:-1;;;;;22801:6:0;;22780:40;;22817:1;;22780:40;22848:1;22831:19;;-1:-1:-1;;;;;;22831:19:0;;;22718:140::o;30408:27::-;;;-1:-1:-1;;;30408:27:0;;;;;:::o;21907:79::-;21945:7;21972:6;;;;-1:-1:-1;;;;;21972:6:0;;21907:79::o;22273:94::-;22313:4;22353:6;;;;;-1:-1:-1;;;;;22353:6:0;22337:12;:10;:12::i;:::-;-1:-1:-1;;;;;22337:22:0;;22330:29;;22273:94;:::o;44050:277::-;22119:9;:7;:9::i;:::-;22111:54;;;;;-1:-1:-1;;;22111:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22111:54:0;;;;;;;;;;;;;;;44208:3;44185:19;:26;;;;44163:109;;;;-1:-1:-1;;;44163:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44283:14;:36;;-1:-1:-1;;44283:36:0;;;;;;;;;;;;44050:277::o;43644:237::-;22119:9;:7;:9::i;:::-;22111:54;;;;;-1:-1:-1;;;22111:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22111:54:0;;;;;;;;;;;;;;;43781:3;43764:13;:20;;;;43720:118;;;;;-1:-1:-1;;;43720:118:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;43849:8;:24;;;;;;-1:-1:-1;;;43849:24:0;-1:-1:-1;;;;43849:24:0;;;;;;;;;43644:237::o;21402:29::-;;;;;;-1:-1:-1;;;;;21402:29:0;;:::o;30515:44::-;;;;;;;;;;;;;;;:::o;32592:937::-;32927:7;19542:11;;;;19534:55;;;;;-1:-1:-1;;;19534:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;19681:5;19667:19;;-1:-1:-1;;19667:19:0;;;;;-1:-1:-1;;;31757:7:0;;19667:19;31757:7;31753:102;;;31781:28;;;-1:-1:-1;;;31781:28:0;;;;;;;;;;;;-1:-1:-1;;;31781:28:0;;;;;;;;;;;;;;31753:102;32947:16;32966:108;32992:25;33032:7;33054:9;32966:11;:108::i;:::-;32947:127;;33087:16;33106:194;33134:25;33174:12;33201:8;33224:11;33250:8;;33106:194;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;33273:16:0;;-1:-1:-1;33106:13:0;;-1:-1:-1;;33106:194:0:i;:::-;33087:213;;33331:14;33319:8;:26;;33311:57;;;;;-1:-1:-1;;;33311:57:0;;;;;;;;;;;;-1:-1:-1;;;33311:57:0;;;;;;;;;;;;;;;33386:41;;;33392:10;33386:41;;-1:-1:-1;;;;;33386:41:0;;;;;;;;;;;;;;;;;;;;;;;33440:55;-1:-1:-1;;;;;33440:33:0;;33474:10;33486:8;33440:55;:33;:55;:::i;:::-;33513:8;-1:-1:-1;;19847:11:0;:18;;-1:-1:-1;;19847:18:0;19861:4;19847:18;;;32592:937;;-1:-1:-1;;;;;;;;;32592:937:0:o;23013:117::-;22119:9;:7;:9::i;:::-;22111:54;;;;;-1:-1:-1;;;22111:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22111:54:0;;;;;;;;;;;;;;;23094:28;23113:8;23094:18;:28::i;:::-;23013:117;:::o;43889:153::-;22119:9;:7;:9::i;:::-;22111:54;;;;;-1:-1:-1;;;22111:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22111:54:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;44001:24:0;;;;;;;;:12;:24;;;;;:33;;-1:-1:-1;;44001:33:0;;;;;;;;;;43889:153::o;6077:136::-;6135:7;6162:43;6166:1;6169;6162:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;6155:50;;6077:136;;;;;:::o;13013:445::-;13142:6;13117:21;:31;;13095:110;;;;;-1:-1:-1;;;13095:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;13292:32;;13274:12;;-1:-1:-1;;;;;13292:14:0;;;13313:6;;13274:12;13292:32;13274:12;13292:32;13313:6;13292:14;:32;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;13273:51:0;;;13357:7;13335:115;;;;-1:-1:-1;;;13335:115:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14023:247;14193:58;;;-1:-1:-1;;;;;14193:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;14193:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;14140:122:0;;14173:5;;14140:18;:122::i;11877:159::-;12019:7;11877:159;;;;:::o;20659:98::-;20739:10;20659:98;:::o;33822:912::-;33945:13;;-1:-1:-1;;;;;34016:19:0;;34012:339;;34072:1;34060:9;:13;34052:37;;;;;-1:-1:-1;;;34052:37:0;;;;;;;;;;;;-1:-1:-1;;;34052:37:0;;;;;;;;;;;;;;;34163:117;30962:42;34228:9;34256;34163:17;:117::i;:::-;34140:140;-1:-1:-1;34304:35:0;:9;34140:140;34304:35;:13;:35;:::i;:::-;34297:42;;;;;34012:339;34378:1;34369:6;:10;34361:43;;;;;-1:-1:-1;;;34361:43:0;;;;;;;;;;;;-1:-1:-1;;;34361:43:0;;;;;;;;;;;;;;;34423:9;:14;34415:46;;;;;-1:-1:-1;;;34415:46:0;;;;;;;;;;;;-1:-1:-1;;;34415:46:0;;;;;;;;;;;;;;;34500:65;-1:-1:-1;;;;;34500:30:0;;34531:10;34551:4;34558:6;34500:65;:30;:65;:::i;:::-;34631:43;34649:5;34656:6;34664:9;34631:17;:43::i;:::-;34608:66;-1:-1:-1;34694:32:0;:6;34608:66;34694:32;:10;:32;:::i;:::-;34687:39;;;33822:912;;;;;;:::o;35659:1510::-;35902:7;35922:23;35956:25;35993:24;36019;36047:52;36076:12;36047:14;:52::i;:::-;35992:107;;;;36159:16;-1:-1:-1;;;;;36130:45:0;:25;-1:-1:-1;;;;;36130:45:0;;;:107;;;;;36221:16;-1:-1:-1;;;;;36192:45:0;:25;-1:-1:-1;;;;;36192:45:0;;;36130:107;36112:541;;;36340:183;36369:25;36413:12;36444:7;36470:11;36500:8;36340:10;:183::i;:::-;36301:222;;-1:-1:-1;36301:222:0;-1:-1:-1;36112:541:0;;;36576:25;36556:45;;36634:7;36616:25;;36112:541;36737:20;36759;36783:152;36815:17;36847:16;36878;36909:15;36783:17;:152::i;:::-;36736:199;;;;36968:193;36998:16;37033;37068:12;37099;37130:16;36968:11;:193::i;:::-;36948:213;35659:1510;-1:-1:-1;;;;;;;;;;;;;35659:1510:0:o;23236:274::-;-1:-1:-1;;;;;23332:22:0;;23310:110;;;;-1:-1:-1;;;23310:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23457:6;;;23436:38;;-1:-1:-1;;;;;23436:38:0;;;;23457:6;;;;;;23436:38;;;23485:6;:17;;-1:-1:-1;;;;;23485:17:0;;;;;-1:-1:-1;;;;;;23485:17:0;;;;;;;;;23236:274::o;6550:226::-;6670:7;6706:12;6698:6;;;;6690:29;;;;-1:-1:-1;;;6690: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;6690:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6742:5:0;;;6550:226::o;16633:1176::-;17237:27;17245:5;-1:-1:-1;;;;;17237:25:0;;:27::i;:::-;17229:71;;;;;-1:-1:-1;;;17229:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;17374:12;17388:23;17423:5;-1:-1:-1;;;;;17415:19:0;17435:4;17415:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;17415:25:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;17373:67:0;;;;17459:7;17451:52;;;;;-1:-1:-1;;;17451:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17520:17;;:21;17516:286;;17693:10;17682:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17682:30:0;17656:134;;;;-1:-1:-1;;;17656:134:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34742:909;34944:10;34871:28;34931:24;;;:12;:24;;;;;;;;34970:12;;:28;;;;-1:-1:-1;34997:1:0;34986:8;-1:-1:-1;;;34986:8:0;;;;:12;;34970:28;34966:678;;;35090:8;;35038:100;;35069:30;;35082:6;;-1:-1:-1;;;35090:8:0;;;;35069:12;:30::i;:::-;35118:5;35038:12;:100::i;:::-;-1:-1:-1;;;;;35159:21:0;;;;;;:10;:21;;;;;;35015:123;;-1:-1:-1;35159:21:0;;:43;;;;-1:-1:-1;35184:14:0;;;;:18;;35159:43;35155:478;;;35297:14;;35223:24;;35250:93;;35339:3;;35250:62;;:20;;35297:14;;35250:62;:46;:62;:::i;:::-;:88;:93;:88;:93;:::i;:::-;-1:-1:-1;;;;;35399:27:0;;;;;;;:16;:27;;;;;;;;:34;;;;;;;;;;35223:120;;-1:-1:-1;35399:78:0;;35223:120;35399:78;:60;:78;:::i;:::-;-1:-1:-1;;;;;35362:27:0;;;;;;;:16;:27;;;;;;;;:34;;;;;;;;;;;:115;;;;35527:21;:28;;;;;;:90;;35582:16;35527:90;:32;:90;:::i;:::-;-1:-1:-1;;;;;35496:28:0;;;;;;:21;:28;;;;;:121;-1:-1:-1;35155:478:0;34742:909;;;;;;:::o;14278:284::-;14475:68;;;-1:-1:-1;;;;;14475:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;14475:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;14422:132:0;;14455:5;;14422:18;:132::i;33537:277::-;33633:14;33649;33681:22;33721:12;33681:53;;33754:7;-1:-1:-1;;;;;33754:14:0;;:16;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33754:16:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33754:16:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;33754:16:0;33790;;;-1:-1:-1;;;33790:16:0;;;;33754;;-1:-1:-1;;;;;;33790:14:0;;;;;:16;;;;;33754;;33790;;;;;;;;:14;:16;;;5:2:-1;;;;30:1;27;20:12;5:2;33790:16:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33790:16:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;33790:16:0;33537:277;;33790:16;;-1:-1:-1;;;33537:277:0:o;38733:1568::-;38937:20;;;-1:-1:-1;;;;;39031:31:0;;39027:290;;-1:-1:-1;39093:7:0;39027:290;;;39159:17;39192:46;-1:-1:-1;;;;;39192:21:0;;39222:11;39133:16;39192:46;:21;:46;:::i;:::-;39253:52;-1:-1:-1;;;;;39253:21:0;;39283:11;39297:7;39253:52;:21;:52;:::i;:::-;39027:290;;39330:15;39347;39366:28;39381:12;39366:14;:28::i;:::-;39515:31;;;-1:-1:-1;;;39515:31:0;;39540:4;39515:31;;;;;;39329:65;;-1:-1:-1;39329:65:0;;-1:-1:-1;39329:65:0;;;;39405:13;;-1:-1:-1;;;;;39515:16:0;;;;;:31;;;;;;;;;;;;;;:16;:31;;;5:2:-1;;;;30:1;27;20:12;5:2;39515:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;39515:31:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;39515:31:0;39583;;;-1:-1:-1;;;39583:31:0;;39608:4;39583:31;;;;;;39515;;-1:-1:-1;39557:23:0;;-1:-1:-1;;;;;39583:16:0;;;;;:31;;;;;39515;;39583;;;;;;;:16;:31;;;5:2:-1;;;;30:1;27;20:12;5:2;39583:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;39583:31:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;39583:31:0;39646:49;;;;39583:31;;-1:-1:-1;39628:12:0;;-1:-1:-1;;;;;39646:16:0;;;39669:11;;39682:12;;39646:49;;;39583:31;39646:49;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;39646:49:0;;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;39627:68:0;;;39714:7;39706:43;;;;;-1:-1:-1;;;39706:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;39762:21;39786:76;39836:15;39786:6;-1:-1:-1;;;;;39786:16:0;;39811:4;39786:31;;;;;;;;;;;;;-1:-1:-1;;;;;39786:31:0;-1:-1:-1;;;;;39786:31:0;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;39786:76:0;39762:100;;39873:21;39897:76;39947:15;39897:6;-1:-1:-1;;;;;39897:16:0;;39922:4;39897:31;;;;;;;;;;;;;-1:-1:-1;;;;;39897:31:0;-1:-1:-1;;;;;39897:31:0;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;39897:76:0;39873:100;;40006:13;39990;:29;39986:235;;;40051:13;40036:28;;40099:7;40079:27;;39986:235;;;40154:13;40139:28;;40202:7;40182:27;;39986:235;40256:1;40241:12;:16;40233:60;;;;;-1:-1:-1;;;40233:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;38733:1568;;;;;;;;;;;;;;;;;;:::o;40309:1343::-;40600:67;;;-1:-1:-1;;;40600:67:0;;-1:-1:-1;;;;;40600:67:0;;;;;;;;;;;;;;;40494:20;;;;;;31111:42;;40600:31;;:67;;;;;;;;;;;;;;;31111:42;40600:67;;;5:2:-1;;;;30:1;27;20:12;5:2;40600:67:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;40600:67:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;40600:67:0;40722:18;;;-1:-1:-1;;;40722:18:0;;;;40600:67;;-1:-1:-1;40690:12:0;;;;-1:-1:-1;;;;;40722:16:0;;;;;:18;;;;;;;;;;;;;;;:16;:18;;;5:2:-1;;;;30:1;27;20:12;5:2;40722:18:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;40722:18:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;40722:18:0;;;;;;;40689:51;;;;;-1:-1:-1;40689:51:0;;-1:-1:-1;;;;;;40755:38:0;;;;;;;40751:894;;;40810:20;40833:36;40855:4;40861:7;40833:21;:36::i;:::-;40810:59;;40958:1;40942:12;:17;40938:52;;40976:14;:7;40988:1;40976:14;:11;:14;:::i;:::-;40961:29;;40938:52;41020:130;41051:18;41088:16;41123:12;41020;:130::i;:::-;41005:145;-1:-1:-1;41180:25:0;:7;41192:12;41180:25;:11;:25;:::i;:::-;41165:40;;40751:894;;;;41238:20;41261:36;41283:4;41289:7;41261:21;:36::i;:::-;41238:59;;41386:1;41370:12;:17;41366:52;;41404:14;:7;41416:1;41404:14;:11;:14;:::i;:::-;41389:29;;41366:52;41448:130;41479:18;41516:16;41551:12;41448;:130::i;:::-;41433:145;-1:-1:-1;41608:25:0;:7;41620:12;41608:25;:11;:25;:::i;:::-;41593:40;;40751:894;;40309:1343;;;;;;;;;;:::o;37177:1548::-;37387:7;37407:63;-1:-1:-1;;;;;37407:36:0;;31250:42;37387:7;37407:63;:36;:63;:::i;:::-;37481;-1:-1:-1;;;;;37481:36:0;;31250:42;37542:1;37481:63;:36;:63;:::i;:::-;37557:111;-1:-1:-1;;;;;37557:36:0;;31250:42;37645:12;37557:111;:36;:111;:::i;:::-;37679;-1:-1:-1;;;;;37679:36:0;;31250:42;37767:12;37679:111;:36;:111;:::i;:::-;37852:250;;;-1:-1:-1;;;37852:250:0;;-1:-1:-1;;;;;37852:250:0;;;;;;;;;;;;;;;;;;;;;;;;;38023:1;37852:250;;;;;;;;;;38063:4;37852:250;;;;-1:-1:-1;;;37852:250:0;;;;;;37804:15;;;;;;31250:42;;37852:40;;:250;;;;;;;;;;;;;;;37804:15;31250:42;37852:250;;;5:2:-1;;;;30:1;27;20:12;5:2;37852:250:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;37852:250:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37852:250:0;;;;;;;;;;;;;-1:-1:-1;37852:250:0;;-1:-1:-1;37852:250:0;-1:-1:-1;38115:581:0;;;;38236:1;38208:25;:12;38225:7;38208:25;:16;:25;:::i;:::-;:29;38204:207;;;38258:137;38318:10;38351:25;:12;38368:7;38351:25;:16;:25;:::i;:::-;-1:-1:-1;;;;;38258:37:0;;;:137;;:37;:137;:::i;:::-;38510:1;38482:25;:12;38499:7;38482:25;:16;:25;:::i;:::-;:29;38478:207;;;38532:137;38592:10;38625:25;:12;38642:7;38625:25;:16;:25;:::i;:::-;-1:-1:-1;;;;;38532:37:0;;;:137;;:37;:137;:::i;:::-;38715:2;37177:1548;-1:-1:-1;;;;;;;;37177:1548:0:o;11001:659::-;11061:4;11560:20;;11390:66;11609:23;;;;;;:42;;-1:-1:-1;11636:15:0;;;11609:42;11601:51;11001:659;-1:-1:-1;;;;11001:659:0:o;7027:471::-;7085:7;7330:6;7326:47;;-1:-1:-1;7360:1:0;7353:8;;7326:47;7397:5;;;7401:1;7397;:5;:1;7421:5;;;;;:10;7413:56;;;;-1:-1:-1;;;7413:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7966:132;8024:7;8051:39;8055:1;8058;8051:39;;;;;;;;;;;;;;;;;:3;:39::i;5621:181::-;5679:7;5711:5;;;5735:6;;;;5727:46;;;;;-1:-1:-1;;;5727:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;14570:706;14988:10;;;14987:62;;-1:-1:-1;15004:39:0;;;-1:-1:-1;;;15004:39:0;;15028:4;15004:39;;;;-1:-1:-1;;;;;15004:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;5:2:-1;;;;30:1;27;20:12;5:2;15004:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;15004:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15004:39:0;:44;14987:62;14965:166;;;;-1:-1:-1;;;14965:166:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15195:62;;;-1:-1:-1;;;;;15195:62:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;15195:62:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;15142:126:0;;15175:5;;15142:18;:126::i;41660:345::-;41776:7;41993:4;41821:169;41970:19;:9;41984:4;41970:19;:13;:19;:::i;:::-;41821:126;41873:59;41909:22;:9;41923:7;41909:22;:13;:22;:::i;:::-;41887:19;:6;41898:7;41887:19;:10;:19;:::i;:::-;41873:9;;41887:44;41873:59;:13;:59;:::i;:::-;41821:33;:126::i;:::-;:148;:169;:148;:169;:::i;:::-;:176;;;;;;;41660:345;-1:-1:-1;;;41660:345:0:o;42334:1176::-;42498:19;42563:23;-1:-1:-1;;;;;42534:52:0;:25;-1:-1:-1;;;;;42534:52:0;;42530:104;;;-1:-1:-1;42610:12:0;42603:19;;42530:104;42644:109;-1:-1:-1;;;;;42644:45:0;;31250:42;42741:1;42644:109;:45;:109;:::i;:::-;42764:120;-1:-1:-1;;;;;42764:45:0;;31250:42;42861:12;42764:120;:45;:120;:::i;:::-;42912;;;-1:-1:-1;;;42912:120:0;;-1:-1:-1;;;;;42912:120:0;;;;;;;;;;;;;;;42897:12;;31111:42;;42912:31;;:120;;;;;;;;;;;;;;;31111:42;42912:120;;;5:2:-1;;;;30:1;27;20:12;5:2;42912:120:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;42912:120:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;42912:120:0;;-1:-1:-1;;;;;;43051:18:0;;43043:48;;;;;-1:-1:-1;;;43043:48:0;;;;;;;;;;;;-1:-1:-1;;;43043:48:0;;;;;;;;;;;;;;;43126:16;;;43140:1;43126:16;;;43102:21;43126:16;;;;;43102:21;43126:16;;;;;105:10:-1;43126:16:0;88:34:-1;136:17;;-1:-1;43126:16:0;43102:40;;43163:25;43153:4;43158:1;43153:7;;;;;;;;;;;;;:35;-1:-1:-1;;;;;43153:35:0;;;-1:-1:-1;;;;;43153:35:0;;;;;43209:23;43199:4;43204:1;43199:7;;;;;;;;-1:-1:-1;;;;;43199:33:0;;;:7;;;;;;;;;;:33;43259:162;;-1:-1:-1;;;43259:162:0;;;;;;;;43339:1;43259:162;;;;;;43382:4;43259:162;;;;;;-1:-1:-1;;;43259:162:0;;;;;;;;;;;;;;;;;;;;;31250:42;;43259:38;;43312:12;;43355:4;;43382;31457:66;43259:162;;;;;;;;;;;;;;;;;-1:-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;43259:162:0;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;43259:162:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;43259:162:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;43259:162:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:2;5:11;;2:2;;;29:1;26;19:12;2:2;43259:162:0;;;;;;;;;;;;;-1:-1:-1;;;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;219:3;213:10;331:9;325:2;311:12;307:21;289:16;285:44;282:59;-1:-1;;;247:12;244:29;233:116;230:2;;;362:1;359;352:12;230:2;373:25;;-1:-1;43259:162:0;;421:4:-1;412:14;;;;43259:162:0;;;;;412:14:-1;43259:162: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;43259:162:0;;;;;;;;;;;43436:1;43422:4;:11;:15;43259:179;;;;;;;;;;;;;;43245:193;;43473:1;43459:11;:15;43451:51;;;;;-1:-1:-1;;;43451:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;42334:1176;;;;;;;:::o;8628:379::-;8748:7;8850:12;8843:5;8835:28;;;;-1:-1:-1;;;8835:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;8835:28:0;;8874:9;8890:1;8886;:5;;;;;;;8628:379;-1:-1:-1;;;;;8628:379:0:o;23605:335::-;23653:9;23683:1;23679;:5;23675:235;;;-1:-1:-1;23705:1:0;23741;23737;23733:5;;:9;23757:92;23768:1;23764;:5;23757:92;;;23794:1;23790:5;;23832:1;23827;23823;23819;:5;;;;;;:9;23818:15;;;;;;23814:19;;23757:92;;;23675:235;;;;23870:6;;23866:44;;-1:-1:-1;23897:1:0;23605:335;;;:::o

Swarm Source

bzzr://73e6ca9526a09a9038c6c359e84cac36dafd8921c280c407a91b91412992b3dc

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.