ETH Price: $3,408.10 (+3.43%)

Contract

0xcff6eF0B9916682B37D80c19cFF8949bc1886bC2
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Transaction Hash
Method
Block
From
To
Renounce Ownersh...126511922021-06-17 9:37:141255 days ago1623922634IN
Zapper.FI: Sushiswap Add
0 ETH0.0004235815
Zap In126093242021-06-10 21:51:321261 days ago1623361892IN
Zapper.FI: Sushiswap Add
0.01 ETH0.0004604116
Toggle Contract ...124961262021-05-24 9:14:141279 days ago1621847654IN
Zapper.FI: Sushiswap Add
0 ETH0.0014075753
Zap In124959222021-05-24 8:28:331279 days ago1621844913IN
Zapper.FI: Sushiswap Add
0 ETH0.0234538260
Zap In124956072021-05-24 7:13:521279 days ago1621840432IN
Zapper.FI: Sushiswap Add
0 ETH0.0126404248.8
Zap In124954102021-05-24 6:30:141279 days ago1621837814IN
Zapper.FI: Sushiswap Add
0 ETH0.0075818232
Zap In124953562021-05-24 6:15:391279 days ago1621836939IN
Zapper.FI: Sushiswap Add
0 ETH0.0106905444
Zap In124953102021-05-24 6:04:111279 days ago1621836251IN
Zapper.FI: Sushiswap Add
9 ETH0.0112732236.2
Zap In124952722021-05-24 5:53:391279 days ago1621835619IN
Zapper.FI: Sushiswap Add
0 ETH0.0090114232
Zap In124952232021-05-24 5:43:521279 days ago1621835032IN
Zapper.FI: Sushiswap Add
0 ETH0.0276124338
Zap In124951162021-05-24 5:20:091279 days ago1621833609IN
Zapper.FI: Sushiswap Add
0 ETH0.0103171240
Zap In124950352021-05-24 4:58:221279 days ago1621832302IN
Zapper.FI: Sushiswap Add
0.25 ETH0.0103010235.00000112
Zap In124949522021-05-24 4:40:551279 days ago1621831255IN
Zapper.FI: Sushiswap Add
0 ETH0.0130208853
Zap In124946142021-05-24 3:26:111279 days ago1621826771IN
Zapper.FI: Sushiswap Add
7.5 ETH0.0240695550
Zap In124945402021-05-24 3:11:161279 days ago1621825876IN
Zapper.FI: Sushiswap Add
9.18 ETH0.0131268647
Zap In124945262021-05-24 3:06:381279 days ago1621825598IN
Zapper.FI: Sushiswap Add
0 ETH0.0090596435.00000112
Zap In124944832021-05-24 2:57:281279 days ago1621825048IN
Zapper.FI: Sushiswap Add
1.2 ETH0.010838639.5
Zap In124944292021-05-24 2:44:301279 days ago1621824270IN
Zapper.FI: Sushiswap Add
9 ETH0.0118960538.2
Zap In124943312021-05-24 2:21:491279 days ago1621822909IN
Zapper.FI: Sushiswap Add
0 ETH0.0102129240
Zap In124942062021-05-24 1:54:551279 days ago1621821295IN
Zapper.FI: Sushiswap Add
0 ETH0.0099480938.5
Zap In124941622021-05-24 1:43:471279 days ago1621820627IN
Zapper.FI: Sushiswap Add
0.5 ETH0.0095058235.00000112
Zap In124941292021-05-24 1:37:141279 days ago1621820234IN
Zapper.FI: Sushiswap Add
5.24856 ETH0.0103949637
Zap In124940702021-05-24 1:24:301279 days ago1621819470IN
Zapper.FI: Sushiswap Add
0 ETH0.0099302837
Zap In124940532021-05-24 1:20:401279 days ago1621819240IN
Zapper.FI: Sushiswap Add
0 ETH0.0118652446
Zap In124940252021-05-24 1:14:151279 days ago1621818855IN
Zapper.FI: Sushiswap Add
1 ETH0.0126359142
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
124953102021-05-24 6:04:111279 days ago1621836251
Zapper.FI: Sushiswap Add
9 ETH
124950352021-05-24 4:58:221279 days ago1621832302
Zapper.FI: Sushiswap Add
0.25 ETH
124950322021-05-24 4:57:551279 days ago1621832275
Zapper.FI: Sushiswap Add
4 ETH
124950322021-05-24 4:57:551279 days ago1621832275
Zapper.FI: Sushiswap Add
4 ETH
124946142021-05-24 3:26:111279 days ago1621826771
Zapper.FI: Sushiswap Add
7.5 ETH
124945402021-05-24 3:11:161279 days ago1621825876
Zapper.FI: Sushiswap Add
9.18 ETH
124944832021-05-24 2:57:281279 days ago1621825048
Zapper.FI: Sushiswap Add
1.2 ETH
124944292021-05-24 2:44:301279 days ago1621824270
Zapper.FI: Sushiswap Add
9 ETH
124941622021-05-24 1:43:471279 days ago1621820627
Zapper.FI: Sushiswap Add
0.5 ETH
124941292021-05-24 1:37:141279 days ago1621820234
Zapper.FI: Sushiswap Add
5.24856 ETH
124940252021-05-24 1:14:151279 days ago1621818855
Zapper.FI: Sushiswap Add
1 ETH
124938422021-05-24 0:33:071279 days ago1621816387
Zapper.FI: Sushiswap Add
3 ETH
124934232021-05-23 23:00:161279 days ago1621810816
Zapper.FI: Sushiswap Add
16 ETH
124934132021-05-23 22:58:481279 days ago1621810728
Zapper.FI: Sushiswap Add
48 ETH
124929822021-05-23 21:25:021279 days ago1621805102
Zapper.FI: Sushiswap Add
0.5 ETH
124929572021-05-23 21:21:031279 days ago1621804863
Zapper.FI: Sushiswap Add
0.4 ETH
124928422021-05-23 20:57:031280 days ago1621803423
Zapper.FI: Sushiswap Add
1 ETH
124908122021-05-23 13:28:521280 days ago1621776532
Zapper.FI: Sushiswap Add
50 ETH
124907332021-05-23 13:14:031280 days ago1621775643
Zapper.FI: Sushiswap Add
300 ETH
124890602021-05-23 6:44:481280 days ago1621752288
Zapper.FI: Sushiswap Add
1.14 ETH
124890602021-05-23 6:44:481280 days ago1621752288
Zapper.FI: Sushiswap Add
1.14 ETH
124890352021-05-23 6:40:051280 days ago1621752005
Zapper.FI: Sushiswap Add
1.02 ETH
124888992021-05-23 6:10:461280 days ago1621750246
Zapper.FI: Sushiswap Add
13 ETH
124884322021-05-23 4:29:571280 days ago1621744197
Zapper.FI: Sushiswap Add
1.08337 ETH
124883872021-05-23 4:21:251280 days ago1621743685
Zapper.FI: Sushiswap Add
1.04 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Sushiswap_ZapIn_General_V3

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv2 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-02-17
*/

// ███████╗░█████╗░██████╗░██████╗░███████╗██████╗░░░░███████╗██╗
// ╚════██║██╔══██╗██╔══██╗██╔══██╗██╔════╝██╔══██╗░░░██╔════╝██║
// ░░███╔═╝███████║██████╔╝██████╔╝█████╗░░██████╔╝░░░█████╗░░██║
// ██╔══╝░░██╔══██║██╔═══╝░██╔═══╝░██╔══╝░░██╔══██╗░░░██╔══╝░░██║
// ███████╗██║░░██║██║░░░░░██║░░░░░███████╗██║░░██║██╗██║░░░░░██║
// ╚══════╝╚═╝░░╚═╝╚═╝░░░░░╚═╝░░░░░╚══════╝╚═╝░░╚═╝╚═╝╚═╝░░░░░╚═╝
// 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 Sushiswap 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 Sushiswap_ZapIn_General_V3 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;

    // sushiSwap
    IUniswapV2Router02 private constant sushiSwapRouter = IUniswapV2Router02(
        0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F
    );
    IUniswapV2Factory
        private constant sushiSwapFactoryAddress = IUniswapV2Factory(
        0xC0AEe478e3658e2610c5F7A4A2E1777cE9e4f2Ac
    );

    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 Sushiswap pair through ETH/ERC20 Tokens
    @param _FromTokenContractAddress The ERC20 token used for investment (address(0x00) if ether)
    @param _pairAddress The Sushiswap 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 sushiPair = IUniswapV2Pair(_pairAddress);
        token0 = sushiPair.token0();
        token1 = sushiPair.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 _ToSushipoolToken0,
            address _ToSushipoolToken1
        ) = _getPairTokens(_pairAddress);

        if (
            _FromTokenContractAddress != _ToSushipoolToken0 &&
            _FromTokenContractAddress != _ToSushipoolToken1
        ) {
            // 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,
            _ToSushipoolToken0,
            _ToSushipoolToken1,
            intermediateAmt
        );

        return
            _sushiDeposit(
                _ToSushipoolToken0,
                _ToSushipoolToken1,
                token0Bought,
                token1Bought,
                transferResidual
            );
    }

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

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

        (uint256 amountA, uint256 amountB, uint256 LP) = sushiSwapRouter
            .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 _ToSushipoolToken0,
        address _ToSushipoolToken1,
        uint256 _amount
    ) internal returns (uint256 token0Bought, uint256 token1Bought) {
        IUniswapV2Pair pair = IUniswapV2Pair(
            sushiSwapFactoryAddress.getPair(
                _ToSushipoolToken0,
                _ToSushipoolToken1
            )
        );
        (uint256 res0, uint256 res1, ) = pair.getReserves();
        if (_toContractAddress == _ToSushipoolToken0) {
            uint256 amountToSwap = calculateSwapInAmount(res0, _amount);
            //if no reserve or a new pair is created
            if (amountToSwap <= 0) amountToSwap = _amount.div(2);
            token1Bought = _token2Token(
                _toContractAddress,
                _ToSushipoolToken1,
                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,
                _ToSushipoolToken0,
                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(sushiSwapRouter),
            0
        );
        IERC20(_FromTokenContractAddress).safeApprove(
            address(sushiSwapRouter),
            tokens2Trade
        );

        address pair = sushiSwapFactoryAddress.getPair(
            _FromTokenContractAddress,
            _ToTokenContractAddress
        );
        require(pair != address(0), "No Swap Available");

        address[] memory path = new address[](2);
        path[0] = _FromTokenContractAddress;
        path[1] = _ToTokenContractAddress;

        tokenBought = sushiSwapRouter.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

[{"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"}]

60806040526000805460ff60a81b1916905534801561001d57600080fd5b50604051620029f9380380620029f98339818101604052604081101561004257600080fd5b5080516020909101516000805460ff191660011781556100696001600160e01b036100eb16565b60008054610100600160a81b0319166101006001600160a01b038416908102919091178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000805461ffff60b01b1916600160b01b61ffff948516021790556002805461ffff1916919092161790556100ef565b3390565b6128fa80620000ff6000396000f3fe6080604052600436106101145760003560e01c806375f12b21116100a0578063b2bdfa7b11610064578063b2bdfa7b14610420578063d408f65714610435578063db254e5014610468578063f2fde38b14610515578063fbec27bf1461054857610114565b806375f12b21146103695780638da5cb5b1461037e5780638f32d59b146103af578063a9967132146103c4578063b10e1dbc146103f257610114565b80633ff428c7116100e75780633ff428c71461022b5780634f51e294146102665780635de0398e146102ad5780635ecb16cd146102d9578063715018a61461035457610114565b80630dc9de85146101195780631385d24c146101965780631781261f146101ab57806318b135e3146101f8575b600080fd5b34801561012557600080fd5b506101946004803603602081101561013c57600080fd5b810190602081018135600160201b81111561015657600080fd5b82018360208201111561016857600080fd5b803590602001918460208302840111600160201b8311171561018957600080fd5b509092509050610583565b005b3480156101a257600080fd5b50610194610763565b3480156101b757600080fd5b506101e6600480360360408110156101ce57600080fd5b506001600160a01b03813581169160200135166107cb565b60408051918252519081900360200190f35b34801561020457600080fd5b506101e66004803603602081101561021b57600080fd5b50356001600160a01b03166107e8565b34801561023757600080fd5b506101946004803603604081101561024e57600080fd5b506001600160a01b03813516906020013515156107fa565b34801561027257600080fd5b506102996004803603602081101561028957600080fd5b50356001600160a01b031661086c565b604080519115158252519081900360200190f35b3480156102b957600080fd5b506102c2610881565b6040805161ffff9092168252519081900360200190f35b3480156102e557600080fd5b50610194600480360360208110156102fc57600080fd5b810190602081018135600160201b81111561031657600080fd5b82018360208201111561032857600080fd5b803590602001918460208302840111600160201b8311171561034957600080fd5b509092509050610892565b34801561036057600080fd5b50610194610a95565b34801561037557600080fd5b50610299610b2b565b34801561038a57600080fd5b50610393610b3b565b604080516001600160a01b039092168252519081900360200190f35b3480156103bb57600080fd5b50610299610b4f565b3480156103d057600080fd5b50610194600480360360208110156103e757600080fd5b503561ffff16610b78565b3480156103fe57600080fd5b506101946004803603602081101561041557600080fd5b503561ffff16610c1b565b34801561042c57600080fd5b50610393610cde565b34801561044157600080fd5b506102996004803603602081101561045857600080fd5b50356001600160a01b0316610cf2565b6101e6600480360361010081101561047f57600080fd5b6001600160a01b038235811692602081013582169260408201359260608301359260808101359091169181019060c0810160a0820135600160201b8111156104c657600080fd5b8201836020820111156104d857600080fd5b803590602001918460018302840111600160201b831117156104f957600080fd5b91935091506001600160a01b0381351690602001351515610d07565b34801561052157600080fd5b506101946004803603602081101561053857600080fd5b50356001600160a01b0316610edd565b34801561055457600080fd5b506101946004803603604081101561056b57600080fd5b506001600160a01b0381351690602001351515610f30565b6000805b8281101561075d57336000908152600460205260408120908585848181106105ab57fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b03168152602001908152602001600020549150600060046000336001600160a01b03166001600160a01b03168152602001908152602001600020600086868581811061061357fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b031681526020019081526020016000208190555061069a826005600087878681811061065b57fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002054610fa290919063ffffffff16565b600560008686858181106106aa57fe5b602090810292909201356001600160a01b03168352508101919091526040016000205573eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8484838181106106ee57fe5b905060200201356001600160a01b03166001600160a01b0316141561071c576107173383610fed565b610755565b610755338386868581811061072d57fe5b905060200201356001600160a01b03166001600160a01b03166110d29092919063ffffffff16565b600101610587565b50505050565b61076b610b4f565b6107aa576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b6000805460ff60a81b198116600160a81b9182900460ff1615909102179055565b600460209081526000928352604080842090915290825290205481565b60056020526000908152604090205481565b610802610b4f565b610841576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600360205260409020805460ff1916911515919091179055565b60036020526000908152604090205460ff1681565b600054600160b01b900461ffff1681565b61089a610b4f565b6108d9576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b60005b81811015610a9057600073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee84848481811061090757fe5b905060200201356001600160a01b03166001600160a01b03161415610999576109796005600086868681811061093957fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b031681526020019081526020016000205447610fa290919063ffffffff16565b905061099461098e610989610b3b565b611124565b82610fed565b610a87565b610a6d600560008686868181106109ac57fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b03168152602001908152602001600020548585858181106109e957fe5b604080516370a0823160e01b81523060048201529051602092830294909401356001600160a01b0316936370a08231935060248083019392829003018186803b158015610a3557600080fd5b505afa158015610a49573d6000803e3d6000fd5b505050506040513d6020811015610a5f57600080fd5b50519063ffffffff610fa216565b9050610a87610a7a610b3b565b8286868681811061072d57fe5b506001016108dc565b505050565b610a9d610b4f565b610adc576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b600080546040516101009091046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360008054610100600160a81b0319169055565b600054600160a81b900460ff1681565b60005461010090046001600160a01b031690565b6000805461010090046001600160a01b0316610b6961112b565b6001600160a01b031614905090565b610b80610b4f565b610bbf576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b60648161ffff161115610c035760405162461bcd60e51b81526004018080602001828103825260218152602001806128256021913960400191505060405180910390fd5b6002805461ffff191661ffff92909216919091179055565b610c23610b4f565b610c62576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b60648161ffff161115610cbc576040805162461bcd60e51b815260206004820152601a60248201527f476f6f6457696c6c2056616c7565206e6f7420616c6c6f776564000000000000604482015290519081900360640190fd5b6000805461ffff909216600160b01b0261ffff60b01b19909216919091179055565b60005461010090046001600160a01b031681565b60016020526000908152604090205460ff1681565b6000805460ff16610d5f576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6000805460ff191690819055600160a81b900460ff1615610dbc576040805162461bcd60e51b815260206004820152601260248201527115195b5c1bdc985c9a5b1e4814185d5cd95960721b604482015290519081900360640190fd5b6000610dc98b8a8661112f565b90506000610e128c8c848b8b8b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508c9250611294915050565b905088811015610e5e576040805162461bcd60e51b81526020600482015260126024820152714552523a204869676820536c69707061676560701b604482015290519081900360640190fd5b604080513381526001600160a01b038d16602082015280820183905290517f7f31d76771556dce5ab39ba5b60664743da2629a75c474e9445734b7ad34087d9181900360600190a1610ec06001600160a01b038c16338363ffffffff6110d216565b9150506000805460ff191660011790559998505050505050505050565b610ee5610b4f565b610f24576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b610f2d81611331565b50565b610f38610b4f565b610f77576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000610fe483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506113dc565b90505b92915050565b80471015611042576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015290519081900360640190fd5b6040516000906001600160a01b0384169083908381818185875af1925050503d806000811461108d576040519150601f19603f3d011682016040523d82523d6000602084013e611092565b606091505b5050905080610a905760405162461bcd60e51b815260040180806020018281038252603a8152602001806127ca603a913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610a90908490611473565b805b919050565b3390565b6000806001600160a01b0385166111bc5760003411611183576040805162461bcd60e51b815260206004820152600b60248201526a139bc8195d1a081cd95b9d60aa1b604482015290519081900360640190fd5b6111a273eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee348561162b565b90506111b4348263ffffffff610fa216565b91505061128d565b60008411611208576040805162461bcd60e51b8152602060048201526014602482015273125b9d985b1a59081d1bdad95b88185b5bdd5b9d60621b604482015290519081900360640190fd5b3415611251576040805162461bcd60e51b815260206004820152601360248201527222ba341039b2b73a103bb4ba34103a37b5b2b760691b604482015290519081900360640190fd5b61126c6001600160a01b03861633308763ffffffff61178416565b61127785858561162b565b9050611289848263ffffffff610fa216565b9150505b9392505050565b60008060008060006112a58a6117de565b91509150816001600160a01b03168b6001600160a01b0316141580156112dd5750806001600160a01b03168b6001600160a01b031614155b156112f9576112ef8b8b8b8b8b6118c4565b9094509250611300565b8a92508893505b60008061130f85858589611c59565b91509150611320848484848c611e3c565b9d9c50505050505050505050505050565b6001600160a01b0381166113765760405162461bcd60e51b81526004018080602001828103825260268152602001806127a46026913960400191505060405180910390fd5b600080546040516001600160a01b038085169361010090930416917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6000818484111561146b5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611430578181015183820152602001611418565b50505050905090810190601f16801561145d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b611485826001600160a01b0316612066565b6114d6576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106115145780518252601f1990920191602091820191016114f5565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611576576040519150601f19603f3d011682016040523d82523d6000602084013e61157b565b606091505b5091509150816115d2576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b80511561075d578080602001905160208110156115ee57600080fd5b505161075d5760405162461bcd60e51b815260040180806020018281038252602a815260200180612866602a913960400191505060405180910390fd5b3360009081526001602052604081205460ff16801580156116585750600054600160b01b900461ffff1615155b1561177c576000546116829061167a908690600160b01b900461ffff166120a2565b6127106120fb565b6001600160a01b03841660009081526003602052604090205490925060ff1680156116b2575060025461ffff1615155b1561177c576002546000906116e5906064906116d990869061ffff1663ffffffff6120a216565b9063ffffffff6120fb16565b6001600160a01b038086166000908152600460209081526040808320938b168352929052205490915061171e908263ffffffff61213d16565b6001600160a01b038086166000908152600460209081526040808320938b168352928152828220939093556005909252902054611761908263ffffffff61213d16565b6001600160a01b038716600090815260056020526040902055505b509392505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261075d908590611473565b6000806000839050806001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561181f57600080fd5b505afa158015611833573d6000803e3d6000fd5b505050506040513d602081101561184957600080fd5b50516040805163d21220a760e01b815290519194506001600160a01b0383169163d21220a791600480820192602092909190829003018186803b15801561188f57600080fd5b505afa1580156118a3573d6000803e3d6000fd5b505050506040513d60208110156118b957600080fd5b505192949293505050565b600080806001600160a01b0388166118dd575084611915565b876118f96001600160a01b03821687600063ffffffff61219716565b6119136001600160a01b038216878963ffffffff61219716565b505b600080611921896117de565b604080516370a0823160e01b81523060048201529051929450909250839183916000916001600160a01b038516916370a08231916024808301926020929190829003018186803b15801561197457600080fd5b505afa158015611988573d6000803e3d6000fd5b505050506040513d602081101561199e57600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038516916370a08231916024808301926020929190829003018186803b1580156119ec57600080fd5b505afa158015611a00573d6000803e3d6000fd5b505050506040513d6020811015611a1657600080fd5b50516040518b519192506000916001600160a01b038e16918a918e9190819060208401908083835b60208310611a5d5780518252601f199092019160209182019101611a3e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611abf576040519150601f19603f3d011682016040523d82523d6000602084013e611ac4565b606091505b5050905080611b1a576040805162461bcd60e51b815260206004820152601760248201527f4572726f72205377617070696e6720546f6b656e732031000000000000000000604482015290519081900360640190fd5b6000611b7684876001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610a3557600080fd5b90506000611bd484876001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610a3557600080fd5b905080821115611be957819b50889a50611bf0565b809b50879a505b60008c11611c45576040805162461bcd60e51b815260206004820152601f60248201527f5377617070656420746f20496e76616c696420496e7465726d65646961746500604482015290519081900360640190fd5b505050505050505050509550959350505050565b6040805163e6a4390560e01b81526001600160a01b0385811660048301528416602482015290516000918291829173c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac9163e6a4390591604480820192602092909190829003018186803b158015611cc357600080fd5b505afa158015611cd7573d6000803e3d6000fd5b505050506040513d6020811015611ced57600080fd5b505160408051630240bc6b60e21b8152905191925060009182916001600160a01b03851691630902f1ac91600480820192606092909190829003018186803b158015611d3857600080fd5b505afa158015611d4c573d6000803e3d6000fd5b505050506040513d6060811015611d6257600080fd5b5080516020909101516dffffffffffffffffffffffffffff91821693501690506001600160a01b038981169089161415611de5576000611da283886122aa565b905060008111611dc057611dbd87600263ffffffff6120fb16565b90505b611dcb8a898361231e565b9450611ddd878263ffffffff610fa216565b955050611e30565b6000611df182886122aa565b905060008111611e0f57611e0c87600263ffffffff6120fb16565b90505b611e1a8a8a8361231e565b9550611e2c878263ffffffff610fa216565b9450505b50505094509492505050565b6000611e6c6001600160a01b03871673d9e1ce17f2641f24ae83637ab66a2cca9c378b9f8363ffffffff61219716565b611e9b6001600160a01b03861673d9e1ce17f2641f24ae83637ab66a2cca9c378b9f600063ffffffff61219716565b611ec96001600160a01b03871673d9e1ce17f2641f24ae83637ab66a2cca9c378b9f8663ffffffff61219716565b611ef76001600160a01b03861673d9e1ce17f2641f24ae83637ab66a2cca9c378b9f8563ffffffff61219716565b6040805162e8e33760e81b81526001600160a01b03888116600483015287166024820152604481018690526064810185905260016084820181905260a48201523060c4820152600f60fc1b60e482015290516000918291829173d9e1ce17f2641f24ae83637ab66a2cca9c378b9f9163e8e33700916101048082019260609290919082900301818787803b158015611f8e57600080fd5b505af1158015611fa2573d6000803e3d6000fd5b505050506040513d6060811015611fb857600080fd5b50805160208201516040909201519094509092509050841561205a576000611fe6888563ffffffff610fa216565b11156120175761201733612000898663ffffffff610fa216565b6001600160a01b038c16919063ffffffff6110d216565b6000612029878463ffffffff610fa216565b111561205a5761205a33612043888563ffffffff610fa216565b6001600160a01b038b16919063ffffffff6110d216565b98975050505050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061209a57508115155b949350505050565b6000826120b157506000610fe7565b828202828482816120be57fe5b0414610fe45760405162461bcd60e51b81526004018080602001828103825260218152602001806128046021913960400191505060405180910390fd5b6000610fe483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506126ed565b600082820183811015610fe4576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b80158061221d575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156121ef57600080fd5b505afa158015612203573d6000803e3d6000fd5b505050506040513d602081101561221957600080fd5b5051155b6122585760405162461bcd60e51b81526004018080602001828103825260368152602001806128906036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052610a90908490611473565b60006107ca61230f6122c4856107cd63ffffffff6120a216565b6123036122fe6122dd88623cda2963ffffffff6120a216565b6122f088623cda2063ffffffff6120a216565b89910163ffffffff6120a216565b612752565b9063ffffffff610fa216565b8161231657fe5b049392505050565b6000826001600160a01b0316846001600160a01b0316141561234157508061128d565b6123706001600160a01b03851673d9e1ce17f2641f24ae83637ab66a2cca9c378b9f600063ffffffff61219716565b61239e6001600160a01b03851673d9e1ce17f2641f24ae83637ab66a2cca9c378b9f8463ffffffff61219716565b6040805163e6a4390560e01b81526001600160a01b03868116600483015285166024820152905160009173c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac9163e6a4390591604480820192602092909190829003018186803b15801561240457600080fd5b505afa158015612418573d6000803e3d6000fd5b505050506040513d602081101561242e57600080fd5b505190506001600160a01b038116612481576040805162461bcd60e51b81526020600482015260116024820152704e6f205377617020417661696c61626c6560781b604482015290519081900360640190fd5b604080516002808252606080830184529260208301908038833901905050905085816000815181106124af57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505084816001815181106124dd57fe5b6001600160a01b039092166020928302919091018201526040516338ed173960e01b8152600481018681526001602483018190523060648401819052600f60fc1b6084850181905260a060448601908152875160a4870152875173d9e1ce17f2641f24ae83637ab66a2cca9c378b9f976338ed1739978d978b9695949093909260c490920191878101910280838360005b8381101561258657818101518382015260200161256e565b505050509050019650505050505050600060405180830381600087803b1580156125af57600080fd5b505af11580156125c3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156125ec57600080fd5b8101908080516040519392919084600160201b82111561260b57600080fd5b90830190602082018581111561262057600080fd5b82518660208202830111600160201b8211171561263c57600080fd5b82525081516020918201928201910280838360005b83811015612669578181015183820152602001612651565b5050505090500160405250505060018251038151811061268557fe5b60200260200101519250600083116126e4576040805162461bcd60e51b815260206004820152601760248201527f4572726f72205377617070696e6720546f6b656e732032000000000000000000604482015290519081900360640190fd5b50509392505050565b6000818361273c5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611430578181015183820152602001611418565b50600083858161274857fe5b0495945050505050565b60006003821115612795575080600160028204015b8181101561278f5780915060028182858161277e57fe5b04018161278757fe5b049050612767565b50611126565b81156111265750600191905056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77416666696c696174652053706c69742056616c7565206e6f7420616c6c6f7765644f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a265627a7a723158209cab38be594f6a901ce1377c740a193eadfbef437851b963bcec8cf014e50e7364736f6c6343000511003200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101145760003560e01c806375f12b21116100a0578063b2bdfa7b11610064578063b2bdfa7b14610420578063d408f65714610435578063db254e5014610468578063f2fde38b14610515578063fbec27bf1461054857610114565b806375f12b21146103695780638da5cb5b1461037e5780638f32d59b146103af578063a9967132146103c4578063b10e1dbc146103f257610114565b80633ff428c7116100e75780633ff428c71461022b5780634f51e294146102665780635de0398e146102ad5780635ecb16cd146102d9578063715018a61461035457610114565b80630dc9de85146101195780631385d24c146101965780631781261f146101ab57806318b135e3146101f8575b600080fd5b34801561012557600080fd5b506101946004803603602081101561013c57600080fd5b810190602081018135600160201b81111561015657600080fd5b82018360208201111561016857600080fd5b803590602001918460208302840111600160201b8311171561018957600080fd5b509092509050610583565b005b3480156101a257600080fd5b50610194610763565b3480156101b757600080fd5b506101e6600480360360408110156101ce57600080fd5b506001600160a01b03813581169160200135166107cb565b60408051918252519081900360200190f35b34801561020457600080fd5b506101e66004803603602081101561021b57600080fd5b50356001600160a01b03166107e8565b34801561023757600080fd5b506101946004803603604081101561024e57600080fd5b506001600160a01b03813516906020013515156107fa565b34801561027257600080fd5b506102996004803603602081101561028957600080fd5b50356001600160a01b031661086c565b604080519115158252519081900360200190f35b3480156102b957600080fd5b506102c2610881565b6040805161ffff9092168252519081900360200190f35b3480156102e557600080fd5b50610194600480360360208110156102fc57600080fd5b810190602081018135600160201b81111561031657600080fd5b82018360208201111561032857600080fd5b803590602001918460208302840111600160201b8311171561034957600080fd5b509092509050610892565b34801561036057600080fd5b50610194610a95565b34801561037557600080fd5b50610299610b2b565b34801561038a57600080fd5b50610393610b3b565b604080516001600160a01b039092168252519081900360200190f35b3480156103bb57600080fd5b50610299610b4f565b3480156103d057600080fd5b50610194600480360360208110156103e757600080fd5b503561ffff16610b78565b3480156103fe57600080fd5b506101946004803603602081101561041557600080fd5b503561ffff16610c1b565b34801561042c57600080fd5b50610393610cde565b34801561044157600080fd5b506102996004803603602081101561045857600080fd5b50356001600160a01b0316610cf2565b6101e6600480360361010081101561047f57600080fd5b6001600160a01b038235811692602081013582169260408201359260608301359260808101359091169181019060c0810160a0820135600160201b8111156104c657600080fd5b8201836020820111156104d857600080fd5b803590602001918460018302840111600160201b831117156104f957600080fd5b91935091506001600160a01b0381351690602001351515610d07565b34801561052157600080fd5b506101946004803603602081101561053857600080fd5b50356001600160a01b0316610edd565b34801561055457600080fd5b506101946004803603604081101561056b57600080fd5b506001600160a01b0381351690602001351515610f30565b6000805b8281101561075d57336000908152600460205260408120908585848181106105ab57fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b03168152602001908152602001600020549150600060046000336001600160a01b03166001600160a01b03168152602001908152602001600020600086868581811061061357fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b031681526020019081526020016000208190555061069a826005600087878681811061065b57fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b0316815260200190815260200160002054610fa290919063ffffffff16565b600560008686858181106106aa57fe5b602090810292909201356001600160a01b03168352508101919091526040016000205573eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee8484838181106106ee57fe5b905060200201356001600160a01b03166001600160a01b0316141561071c576107173383610fed565b610755565b610755338386868581811061072d57fe5b905060200201356001600160a01b03166001600160a01b03166110d29092919063ffffffff16565b600101610587565b50505050565b61076b610b4f565b6107aa576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b6000805460ff60a81b198116600160a81b9182900460ff1615909102179055565b600460209081526000928352604080842090915290825290205481565b60056020526000908152604090205481565b610802610b4f565b610841576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600360205260409020805460ff1916911515919091179055565b60036020526000908152604090205460ff1681565b600054600160b01b900461ffff1681565b61089a610b4f565b6108d9576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b60005b81811015610a9057600073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee84848481811061090757fe5b905060200201356001600160a01b03166001600160a01b03161415610999576109796005600086868681811061093957fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b031681526020019081526020016000205447610fa290919063ffffffff16565b905061099461098e610989610b3b565b611124565b82610fed565b610a87565b610a6d600560008686868181106109ac57fe5b905060200201356001600160a01b03166001600160a01b03166001600160a01b03168152602001908152602001600020548585858181106109e957fe5b604080516370a0823160e01b81523060048201529051602092830294909401356001600160a01b0316936370a08231935060248083019392829003018186803b158015610a3557600080fd5b505afa158015610a49573d6000803e3d6000fd5b505050506040513d6020811015610a5f57600080fd5b50519063ffffffff610fa216565b9050610a87610a7a610b3b565b8286868681811061072d57fe5b506001016108dc565b505050565b610a9d610b4f565b610adc576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b600080546040516101009091046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360008054610100600160a81b0319169055565b600054600160a81b900460ff1681565b60005461010090046001600160a01b031690565b6000805461010090046001600160a01b0316610b6961112b565b6001600160a01b031614905090565b610b80610b4f565b610bbf576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b60648161ffff161115610c035760405162461bcd60e51b81526004018080602001828103825260218152602001806128256021913960400191505060405180910390fd5b6002805461ffff191661ffff92909216919091179055565b610c23610b4f565b610c62576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b60648161ffff161115610cbc576040805162461bcd60e51b815260206004820152601a60248201527f476f6f6457696c6c2056616c7565206e6f7420616c6c6f776564000000000000604482015290519081900360640190fd5b6000805461ffff909216600160b01b0261ffff60b01b19909216919091179055565b60005461010090046001600160a01b031681565b60016020526000908152604090205460ff1681565b6000805460ff16610d5f576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6000805460ff191690819055600160a81b900460ff1615610dbc576040805162461bcd60e51b815260206004820152601260248201527115195b5c1bdc985c9a5b1e4814185d5cd95960721b604482015290519081900360640190fd5b6000610dc98b8a8661112f565b90506000610e128c8c848b8b8b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508c9250611294915050565b905088811015610e5e576040805162461bcd60e51b81526020600482015260126024820152714552523a204869676820536c69707061676560701b604482015290519081900360640190fd5b604080513381526001600160a01b038d16602082015280820183905290517f7f31d76771556dce5ab39ba5b60664743da2629a75c474e9445734b7ad34087d9181900360600190a1610ec06001600160a01b038c16338363ffffffff6110d216565b9150506000805460ff191660011790559998505050505050505050565b610ee5610b4f565b610f24576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b610f2d81611331565b50565b610f38610b4f565b610f77576040805162461bcd60e51b81526020600482018190526024820152600080516020612846833981519152604482015290519081900360640190fd5b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000610fe483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506113dc565b90505b92915050565b80471015611042576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015290519081900360640190fd5b6040516000906001600160a01b0384169083908381818185875af1925050503d806000811461108d576040519150601f19603f3d011682016040523d82523d6000602084013e611092565b606091505b5050905080610a905760405162461bcd60e51b815260040180806020018281038252603a8152602001806127ca603a913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610a90908490611473565b805b919050565b3390565b6000806001600160a01b0385166111bc5760003411611183576040805162461bcd60e51b815260206004820152600b60248201526a139bc8195d1a081cd95b9d60aa1b604482015290519081900360640190fd5b6111a273eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee348561162b565b90506111b4348263ffffffff610fa216565b91505061128d565b60008411611208576040805162461bcd60e51b8152602060048201526014602482015273125b9d985b1a59081d1bdad95b88185b5bdd5b9d60621b604482015290519081900360640190fd5b3415611251576040805162461bcd60e51b815260206004820152601360248201527222ba341039b2b73a103bb4ba34103a37b5b2b760691b604482015290519081900360640190fd5b61126c6001600160a01b03861633308763ffffffff61178416565b61127785858561162b565b9050611289848263ffffffff610fa216565b9150505b9392505050565b60008060008060006112a58a6117de565b91509150816001600160a01b03168b6001600160a01b0316141580156112dd5750806001600160a01b03168b6001600160a01b031614155b156112f9576112ef8b8b8b8b8b6118c4565b9094509250611300565b8a92508893505b60008061130f85858589611c59565b91509150611320848484848c611e3c565b9d9c50505050505050505050505050565b6001600160a01b0381166113765760405162461bcd60e51b81526004018080602001828103825260268152602001806127a46026913960400191505060405180910390fd5b600080546040516001600160a01b038085169361010090930416917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6000818484111561146b5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611430578181015183820152602001611418565b50505050905090810190601f16801561145d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b611485826001600160a01b0316612066565b6114d6576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106115145780518252601f1990920191602091820191016114f5565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611576576040519150601f19603f3d011682016040523d82523d6000602084013e61157b565b606091505b5091509150816115d2576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b80511561075d578080602001905160208110156115ee57600080fd5b505161075d5760405162461bcd60e51b815260040180806020018281038252602a815260200180612866602a913960400191505060405180910390fd5b3360009081526001602052604081205460ff16801580156116585750600054600160b01b900461ffff1615155b1561177c576000546116829061167a908690600160b01b900461ffff166120a2565b6127106120fb565b6001600160a01b03841660009081526003602052604090205490925060ff1680156116b2575060025461ffff1615155b1561177c576002546000906116e5906064906116d990869061ffff1663ffffffff6120a216565b9063ffffffff6120fb16565b6001600160a01b038086166000908152600460209081526040808320938b168352929052205490915061171e908263ffffffff61213d16565b6001600160a01b038086166000908152600460209081526040808320938b168352928152828220939093556005909252902054611761908263ffffffff61213d16565b6001600160a01b038716600090815260056020526040902055505b509392505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261075d908590611473565b6000806000839050806001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561181f57600080fd5b505afa158015611833573d6000803e3d6000fd5b505050506040513d602081101561184957600080fd5b50516040805163d21220a760e01b815290519194506001600160a01b0383169163d21220a791600480820192602092909190829003018186803b15801561188f57600080fd5b505afa1580156118a3573d6000803e3d6000fd5b505050506040513d60208110156118b957600080fd5b505192949293505050565b600080806001600160a01b0388166118dd575084611915565b876118f96001600160a01b03821687600063ffffffff61219716565b6119136001600160a01b038216878963ffffffff61219716565b505b600080611921896117de565b604080516370a0823160e01b81523060048201529051929450909250839183916000916001600160a01b038516916370a08231916024808301926020929190829003018186803b15801561197457600080fd5b505afa158015611988573d6000803e3d6000fd5b505050506040513d602081101561199e57600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038516916370a08231916024808301926020929190829003018186803b1580156119ec57600080fd5b505afa158015611a00573d6000803e3d6000fd5b505050506040513d6020811015611a1657600080fd5b50516040518b519192506000916001600160a01b038e16918a918e9190819060208401908083835b60208310611a5d5780518252601f199092019160209182019101611a3e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611abf576040519150601f19603f3d011682016040523d82523d6000602084013e611ac4565b606091505b5050905080611b1a576040805162461bcd60e51b815260206004820152601760248201527f4572726f72205377617070696e6720546f6b656e732031000000000000000000604482015290519081900360640190fd5b6000611b7684876001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610a3557600080fd5b90506000611bd484876001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b03166001600160a01b0316815260200191505060206040518083038186803b158015610a3557600080fd5b905080821115611be957819b50889a50611bf0565b809b50879a505b60008c11611c45576040805162461bcd60e51b815260206004820152601f60248201527f5377617070656420746f20496e76616c696420496e7465726d65646961746500604482015290519081900360640190fd5b505050505050505050509550959350505050565b6040805163e6a4390560e01b81526001600160a01b0385811660048301528416602482015290516000918291829173c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac9163e6a4390591604480820192602092909190829003018186803b158015611cc357600080fd5b505afa158015611cd7573d6000803e3d6000fd5b505050506040513d6020811015611ced57600080fd5b505160408051630240bc6b60e21b8152905191925060009182916001600160a01b03851691630902f1ac91600480820192606092909190829003018186803b158015611d3857600080fd5b505afa158015611d4c573d6000803e3d6000fd5b505050506040513d6060811015611d6257600080fd5b5080516020909101516dffffffffffffffffffffffffffff91821693501690506001600160a01b038981169089161415611de5576000611da283886122aa565b905060008111611dc057611dbd87600263ffffffff6120fb16565b90505b611dcb8a898361231e565b9450611ddd878263ffffffff610fa216565b955050611e30565b6000611df182886122aa565b905060008111611e0f57611e0c87600263ffffffff6120fb16565b90505b611e1a8a8a8361231e565b9550611e2c878263ffffffff610fa216565b9450505b50505094509492505050565b6000611e6c6001600160a01b03871673d9e1ce17f2641f24ae83637ab66a2cca9c378b9f8363ffffffff61219716565b611e9b6001600160a01b03861673d9e1ce17f2641f24ae83637ab66a2cca9c378b9f600063ffffffff61219716565b611ec96001600160a01b03871673d9e1ce17f2641f24ae83637ab66a2cca9c378b9f8663ffffffff61219716565b611ef76001600160a01b03861673d9e1ce17f2641f24ae83637ab66a2cca9c378b9f8563ffffffff61219716565b6040805162e8e33760e81b81526001600160a01b03888116600483015287166024820152604481018690526064810185905260016084820181905260a48201523060c4820152600f60fc1b60e482015290516000918291829173d9e1ce17f2641f24ae83637ab66a2cca9c378b9f9163e8e33700916101048082019260609290919082900301818787803b158015611f8e57600080fd5b505af1158015611fa2573d6000803e3d6000fd5b505050506040513d6060811015611fb857600080fd5b50805160208201516040909201519094509092509050841561205a576000611fe6888563ffffffff610fa216565b11156120175761201733612000898663ffffffff610fa216565b6001600160a01b038c16919063ffffffff6110d216565b6000612029878463ffffffff610fa216565b111561205a5761205a33612043888563ffffffff610fa216565b6001600160a01b038b16919063ffffffff6110d216565b98975050505050505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061209a57508115155b949350505050565b6000826120b157506000610fe7565b828202828482816120be57fe5b0414610fe45760405162461bcd60e51b81526004018080602001828103825260218152602001806128046021913960400191505060405180910390fd5b6000610fe483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506126ed565b600082820183811015610fe4576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b80158061221d575060408051636eb1769f60e11b81523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156121ef57600080fd5b505afa158015612203573d6000803e3d6000fd5b505050506040513d602081101561221957600080fd5b5051155b6122585760405162461bcd60e51b81526004018080602001828103825260368152602001806128906036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b179052610a90908490611473565b60006107ca61230f6122c4856107cd63ffffffff6120a216565b6123036122fe6122dd88623cda2963ffffffff6120a216565b6122f088623cda2063ffffffff6120a216565b89910163ffffffff6120a216565b612752565b9063ffffffff610fa216565b8161231657fe5b049392505050565b6000826001600160a01b0316846001600160a01b0316141561234157508061128d565b6123706001600160a01b03851673d9e1ce17f2641f24ae83637ab66a2cca9c378b9f600063ffffffff61219716565b61239e6001600160a01b03851673d9e1ce17f2641f24ae83637ab66a2cca9c378b9f8463ffffffff61219716565b6040805163e6a4390560e01b81526001600160a01b03868116600483015285166024820152905160009173c0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac9163e6a4390591604480820192602092909190829003018186803b15801561240457600080fd5b505afa158015612418573d6000803e3d6000fd5b505050506040513d602081101561242e57600080fd5b505190506001600160a01b038116612481576040805162461bcd60e51b81526020600482015260116024820152704e6f205377617020417661696c61626c6560781b604482015290519081900360640190fd5b604080516002808252606080830184529260208301908038833901905050905085816000815181106124af57fe5b60200260200101906001600160a01b031690816001600160a01b03168152505084816001815181106124dd57fe5b6001600160a01b039092166020928302919091018201526040516338ed173960e01b8152600481018681526001602483018190523060648401819052600f60fc1b6084850181905260a060448601908152875160a4870152875173d9e1ce17f2641f24ae83637ab66a2cca9c378b9f976338ed1739978d978b9695949093909260c490920191878101910280838360005b8381101561258657818101518382015260200161256e565b505050509050019650505050505050600060405180830381600087803b1580156125af57600080fd5b505af11580156125c3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405260208110156125ec57600080fd5b8101908080516040519392919084600160201b82111561260b57600080fd5b90830190602082018581111561262057600080fd5b82518660208202830111600160201b8211171561263c57600080fd5b82525081516020918201928201910280838360005b83811015612669578181015183820152602001612651565b5050505090500160405250505060018251038151811061268557fe5b60200260200101519250600083116126e4576040805162461bcd60e51b815260206004820152601760248201527f4572726f72205377617070696e6720546f6b656e732032000000000000000000604482015290519081900360640190fd5b50509392505050565b6000818361273c5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611430578181015183820152602001611418565b50600083858161274857fe5b0495945050505050565b60006003821115612795575080600160028204015b8181101561278f5780915060028182858161277e57fe5b04018161278757fe5b049050612767565b50611126565b81156111265750600191905056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77416666696c696174652053706c69742056616c7565206e6f7420616c6c6f7765644f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a265627a7a723158209cab38be594f6a901ce1377c740a193eadfbef437851b963bcec8cf014e50e7364736f6c63430005110032

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

30236:15810:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45429:614;;8:9:-1;5:2;;;30:1;27;20:12;5:2;45429:614:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;45429:614:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;45429:614:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;45429: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;45429:614:0;;-1:-1:-1;45429:614:0;-1:-1:-1;45429:614:0;:::i;:::-;;43688:86;;8:9:-1;5:2;;;30:1;27;20:12;5:2;43688:86:0;;;:::i;30747:71::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30747:71:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;30747:71:0;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;30849:56;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30849:56:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;30849:56:0;-1:-1:-1;;;;;30849:56:0;;:::i;44473:150::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;44473:150:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;44473:150:0;;;;;;;;;;:::i;30661:42::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30661:42:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;30661:42:0;-1:-1:-1;;;;;30661:42:0;;:::i;:::-;;;;;;;;;;;;;;;;;;30441:22;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30441:22:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;44699:654;;8:9:-1;5:2;;;30:1;27;20:12;5:2;44699:654:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;44699:654:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;44699:654:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;44699: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;44699:654:0;;-1:-1:-1;44699:654:0;-1:-1:-1;44699:654:0;:::i;22717:140::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22717:140:0;;;:::i;30407:27::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30407:27:0;;;:::i;21906:79::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21906:79:0;;;:::i;:::-;;;;-1:-1:-1;;;;;21906:79:0;;;;;;;;;;;;;;22272:94;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22272:94:0;;;:::i;44188:277::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;44188:277:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;44188:277:0;;;;:::i;43782:237::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;43782:237:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;43782:237:0;;;;:::i;21401:29::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21401:29:0;;;:::i;30514:44::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30514:44:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;30514:44:0;-1:-1:-1;;;;;30514:44:0;;:::i;32610:937::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;32610:937:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;32610:937:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;32610: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;32610:937:0;;-1:-1:-1;32610:937:0;-1:-1:-1;;;;;;32610:937:0;;;;;;;;;;:::i;23012:117::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23012:117:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23012:117:0;-1:-1:-1;;;;;23012:117:0;;:::i;44027:153::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;44027:153:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;44027:153:0;;;;;;;;;;:::i;45429:614::-;45504:16;;45531:505;45551:17;;;45531:505;;;45618:10;45601:28;;;;:16;:28;;;;;;45630:6;;45637:1;45630:9;;;;;;;;;;;;;-1:-1:-1;;;;;45630:9:0;-1:-1:-1;;;;;45601:39:0;-1:-1:-1;;;;;45601:39:0;;;;;;;;;;;;;45590:50;;45697:1;45655:16;:28;45672:10;-1:-1:-1;;;;;45655:28:0;-1:-1:-1;;;;;45655:28:0;;;;;;;;;;;;:39;45684:6;;45691:1;45684:9;;;;;;;;;;;;;-1:-1:-1;;;;;45684:9:0;-1:-1:-1;;;;;45655:39:0;-1:-1:-1;;;;;45655:39:0;;;;;;;;;;;;:43;;;;45748:64;45803:8;45748:21;:32;45770:6;;45777:1;45770:9;;;;;;;;;;;;;-1:-1:-1;;;;;45770:9:0;-1:-1:-1;;;;;45748:32:0;-1:-1:-1;;;;;45748:32:0;;;;;;;;;;;;;:54;;:64;;;;:::i;:::-;45713:21;:32;45735:6;;45742:1;45735:9;;;;;;;;;;;;;;;;-1:-1:-1;;;;;45735:9:0;45713:32;;-1:-1:-1;45713:32:0;;;;;;;;-1:-1:-1;45713:32:0;:99;30961:42;45833:6;;45840:1;45833:9;;;;;;;;;;;;;-1:-1:-1;;;;;45833:9:0;-1:-1:-1;;;;;45833:23:0;;45829:196;;;45877:39;45895:10;45907:8;45877:17;:39::i;:::-;45829:196;;;45957:52;45988:10;46000:8;45964:6;;45971:1;45964:9;;;;;;;;;;;;;-1:-1:-1;;;;;45964:9:0;-1:-1:-1;;;;;45957:30:0;;;:52;;;;;:::i;:::-;45570:3;;45531:505;;;;45429:614;;;:::o;43688:86::-;22118:9;:7;:9::i;:::-;22110:54;;;;;-1:-1:-1;;;22110:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22110:54:0;;;;;;;;;;;;;;;43759:7;;;-1:-1:-1;;;;43748:18:0;;-1:-1:-1;;;43759:7:0;;;;;;43758:8;43748:18;;;;;;43688:86::o;30747:71::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;30849:56::-;;;;;;;;;;;;;:::o;44473:150::-;22118:9;:7;:9::i;:::-;22110:54;;;;;-1:-1:-1;;;22110:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22110:54:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;44583:22:0;;;;;;;;:10;:22;;;;;:32;;-1:-1:-1;;44583:32:0;;;;;;;;;;44473:150::o;30661:42::-;;;;;;;;;;;;;;;:::o;30441:22::-;;;-1:-1:-1;;;30441:22:0;;;;;:::o;44699:654::-;22118:9;:7;:9::i;:::-;22110:54;;;;;-1:-1:-1;;;22110:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22110:54:0;;;;;;;;;;;;;;;44785:9;44780:566;44800:17;;;44780:566;;;44839:11;30961:42;44871:6;;44878:1;44871:9;;;;;;;;;;;;;-1:-1:-1;;;;;44871:9:0;-1:-1:-1;;;;;44871:23:0;;44867:468;;;44921:99;44969:21;:32;44991:6;;44998:1;44991:9;;;;;;;;;;;;;-1:-1:-1;;;;;44991:9:0;-1:-1:-1;;;;;44969:32:0;-1:-1:-1;;;;;44969:32:0;;;;;;;;;;;;;44921:21;:25;;:99;;;;:::i;:::-;44915:105;;45039:50;45057:26;45075:7;:5;:7::i;:::-;45057:17;:26::i;:::-;45085:3;45039:17;:50::i;:::-;44867:468;;;45136:120;45205:21;:32;45227:6;;45234:1;45227:9;;;;;;;;;;;;;-1:-1:-1;;;;;45227:9:0;-1:-1:-1;;;;;45205:32:0;-1:-1:-1;;;;;45205:32:0;;;;;;;;;;;;;45143:6;;45150:1;45143:9;;;;;;;45136:42;;;-1:-1:-1;;;45136:42:0;;45172:4;45136:42;;;;;;45143:9;;;;;;;;;-1:-1:-1;;;;;45143:9:0;;45136:27;;-1:-1:-1;45136:42:0;;;;;45143:9;45136:42;;;;;45143:9;45136:42;;;5:2:-1;;;;30:1;27;20:12;5:2;45136:42:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;45136:42:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;45136:42:0;;:120;:46;:120;:::i;:::-;45130:126;;45275:44;45306:7;:5;:7::i;:::-;45315:3;45282:6;;45289:1;45282:9;;;;;;45275:44;-1:-1:-1;44819:3:0;;44780:566;;;;44699:654;;:::o;22717:140::-;22118:9;:7;:9::i;:::-;22110:54;;;;;-1:-1:-1;;;22110:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22110:54:0;;;;;;;;;;;;;;;22816:1;22800:6;;22779:40;;22800:6;;;;-1:-1:-1;;;;;22800:6:0;;22779:40;;22816:1;;22779:40;22847:1;22830:19;;-1:-1:-1;;;;;;22830:19:0;;;22717:140::o;30407:27::-;;;-1:-1:-1;;;30407:27:0;;;;;:::o;21906:79::-;21944:7;21971:6;;;;-1:-1:-1;;;;;21971:6:0;;21906:79::o;22272:94::-;22312:4;22352:6;;;;;-1:-1:-1;;;;;22352:6:0;22336:12;:10;:12::i;:::-;-1:-1:-1;;;;;22336:22:0;;22329:29;;22272:94;:::o;44188:277::-;22118:9;:7;:9::i;:::-;22110:54;;;;;-1:-1:-1;;;22110:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22110:54:0;;;;;;;;;;;;;;;44346:3;44323:19;:26;;;;44301:109;;;;-1:-1:-1;;;44301:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44421:14;:36;;-1:-1:-1;;44421:36:0;;;;;;;;;;;;44188:277::o;43782:237::-;22118:9;:7;:9::i;:::-;22110:54;;;;;-1:-1:-1;;;22110:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22110:54:0;;;;;;;;;;;;;;;43919:3;43902:13;:20;;;;43858:118;;;;;-1:-1:-1;;;43858:118:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;43987:8;:24;;;;;;-1:-1:-1;;;43987:24:0;-1:-1:-1;;;;43987:24:0;;;;;;;;;43782:237::o;21401:29::-;;;;;;-1:-1:-1;;;;;21401:29:0;;:::o;30514:44::-;;;;;;;;;;;;;;;:::o;32610:937::-;32945:7;19541:11;;;;19533:55;;;;;-1:-1:-1;;;19533:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;19680:5;19666:19;;-1:-1:-1;;19666:19:0;;;;;-1:-1:-1;;;31774:7:0;;19666:19;31774:7;31770:102;;;31798:28;;;-1:-1:-1;;;31798:28:0;;;;;;;;;;;;-1:-1:-1;;;31798:28:0;;;;;;;;;;;;;;31770:102;32965:16;32984:108;33010:25;33050:7;33072:9;32984:11;:108::i;:::-;32965:127;;33105:16;33124:194;33152:25;33192:12;33219:8;33242:11;33268:8;;33124:194;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;33291:16:0;;-1:-1:-1;33124:13:0;;-1:-1:-1;;33124:194:0:i;:::-;33105:213;;33349:14;33337:8;:26;;33329:57;;;;;-1:-1:-1;;;33329:57:0;;;;;;;;;;;;-1:-1:-1;;;33329:57:0;;;;;;;;;;;;;;;33404:41;;;33410:10;33404:41;;-1:-1:-1;;;;;33404:41:0;;;;;;;;;;;;;;;;;;;;;;;33458:55;-1:-1:-1;;;;;33458:33:0;;33492:10;33504:8;33458:55;:33;:55;:::i;:::-;33531:8;-1:-1:-1;;19846:11:0;:18;;-1:-1:-1;;19846:18:0;19860:4;19846:18;;;32610:937;;-1:-1:-1;;;;;;;;;32610:937:0:o;23012:117::-;22118:9;:7;:9::i;:::-;22110:54;;;;;-1:-1:-1;;;22110:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22110:54:0;;;;;;;;;;;;;;;23093:28;23112:8;23093:18;:28::i;:::-;23012:117;:::o;44027:153::-;22118:9;:7;:9::i;:::-;22110:54;;;;;-1:-1:-1;;;22110:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22110:54:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;44139:24:0;;;;;;;;:12;:24;;;;;:33;;-1:-1:-1;;44139:33:0;;;;;;;;;;44027:153::o;6076:136::-;6134:7;6161:43;6165:1;6168;6161:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;6154:50;;6076:136;;;;;:::o;13012:445::-;13141:6;13116:21;:31;;13094:110;;;;;-1:-1:-1;;;13094:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;13291:32;;13273:12;;-1:-1:-1;;;;;13291:14:0;;;13312:6;;13273:12;13291:32;13273:12;13291:32;13312:6;13291: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;;13272:51:0;;;13356:7;13334:115;;;;-1:-1:-1;;;13334:115:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14022:247;14192:58;;;-1:-1:-1;;;;;14192:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;14192:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;14139:122:0;;14172:5;;14139:18;:122::i;11876:159::-;12018:7;11876:159;;;;:::o;20658:98::-;20738:10;20658:98;:::o;33846:912::-;33969:13;;-1:-1:-1;;;;;34040:19:0;;34036:339;;34096:1;34084:9;:13;34076:37;;;;;-1:-1:-1;;;34076:37:0;;;;;;;;;;;;-1:-1:-1;;;34076:37:0;;;;;;;;;;;;;;;34187:117;30961:42;34252:9;34280;34187:17;:117::i;:::-;34164:140;-1:-1:-1;34328:35:0;:9;34164:140;34328:35;:13;:35;:::i;:::-;34321:42;;;;;34036:339;34402:1;34393:6;:10;34385:43;;;;;-1:-1:-1;;;34385:43:0;;;;;;;;;;;;-1:-1:-1;;;34385:43:0;;;;;;;;;;;;;;;34447:9;:14;34439:46;;;;;-1:-1:-1;;;34439:46:0;;;;;;;;;;;;-1:-1:-1;;;34439:46:0;;;;;;;;;;;;;;;34524:65;-1:-1:-1;;;;;34524:30:0;;34555:10;34575:4;34582:6;34524:65;:30;:65;:::i;:::-;34655:43;34673:5;34680:6;34688:9;34655:17;:43::i;:::-;34632:66;-1:-1:-1;34718:32:0;:6;34632:66;34718:32;:10;:32;:::i;:::-;34711:39;;;33846:912;;;;;;:::o;35683:1541::-;35926:7;35946:23;35980:25;36031:26;36072;36112:28;36127:12;36112:14;:28::i;:::-;36016:124;;;;36200:18;-1:-1:-1;;;;;36171:47:0;:25;-1:-1:-1;;;;;36171:47:0;;;:111;;;;;36264:18;-1:-1:-1;;;;;36235:47:0;:25;-1:-1:-1;;;;;36235:47:0;;;36171:111;36153:545;;;36385:183;36414:25;36458:12;36489:7;36515:11;36545:8;36385:10;:183::i;:::-;36346:222;;-1:-1:-1;36346:222:0;-1:-1:-1;36153:545:0;;;36621:25;36601:45;;36679:7;36661:25;;36153:545;36782:20;36804;36828:156;36860:17;36892:18;36925;36958:15;36828:17;:156::i;:::-;36781:203;;;;37017:199;37049:18;37086;37123:12;37154;37185:16;37017:13;:199::i;:::-;36997:219;35683:1541;-1:-1:-1;;;;;;;;;;;;;35683:1541:0:o;23235:274::-;-1:-1:-1;;;;;23331:22:0;;23309:110;;;;-1:-1:-1;;;23309:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23456:6;;;23435:38;;-1:-1:-1;;;;;23435:38:0;;;;23456:6;;;;;;23435:38;;;23484:6;:17;;-1:-1:-1;;;;;23484:17:0;;;;;-1:-1:-1;;;;;;23484:17:0;;;;;;;;;23235:274::o;6549:226::-;6669:7;6705:12;6697:6;;;;6689:29;;;;-1:-1:-1;;;6689: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;6689:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6741:5:0;;;6549:226::o;16632:1176::-;17236:27;17244:5;-1:-1:-1;;;;;17236:25:0;;:27::i;:::-;17228:71;;;;;-1:-1:-1;;;17228:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;17373:12;17387:23;17422:5;-1:-1:-1;;;;;17414:19:0;17434:4;17414: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;;;17414: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;;17372:67:0;;;;17458:7;17450:52;;;;;-1:-1:-1;;;17450:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17519:17;;:21;17515:286;;17692:10;17681:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17681:30:0;17655:134;;;;-1:-1:-1;;;17655:134:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34766:909;34968:10;34895:28;34955:24;;;:12;:24;;;;;;;;34994:12;;:28;;;;-1:-1:-1;35021:1:0;35010:8;-1:-1:-1;;;35010:8:0;;;;:12;;34994:28;34990:678;;;35114:8;;35062:100;;35093:30;;35106:6;;-1:-1:-1;;;35114:8:0;;;;35093:12;:30::i;:::-;35142:5;35062:12;:100::i;:::-;-1:-1:-1;;;;;35183:21:0;;;;;;:10;:21;;;;;;35039:123;;-1:-1:-1;35183:21:0;;:43;;;;-1:-1:-1;35208:14:0;;;;:18;;35183:43;35179:478;;;35321:14;;35247:24;;35274:93;;35363:3;;35274:62;;:20;;35321:14;;35274:62;:46;:62;:::i;:::-;:88;:93;:88;:93;:::i;:::-;-1:-1:-1;;;;;35423:27:0;;;;;;;:16;:27;;;;;;;;:34;;;;;;;;;;35247:120;;-1:-1:-1;35423:78:0;;35247:120;35423:78;:60;:78;:::i;:::-;-1:-1:-1;;;;;35386:27:0;;;;;;;:16;:27;;;;;;;;:34;;;;;;;;;;;:115;;;;35551:21;:28;;;;;;:90;;35606:16;35551:90;:32;:90;:::i;:::-;-1:-1:-1;;;;;35520:28:0;;;;;;:21;:28;;;;;:121;-1:-1:-1;35179:478:0;34766:909;;;;;;:::o;14277:284::-;14474:68;;;-1:-1:-1;;;;;14474:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;14474:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;14421:132:0;;14454:5;;14421:18;:132::i;33555:283::-;33651:14;33667;33699:24;33741:12;33699:55;;33774:9;-1:-1:-1;;;;;33774:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33774:18:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33774:18:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;33774:18:0;33812;;;-1:-1:-1;;;33812:18:0;;;;33774;;-1:-1:-1;;;;;;33812:16:0;;;;;:18;;;;;33774;;33812;;;;;;;;:16;:18;;;5:2:-1;;;;30:1;27;20:12;5:2;33812:18:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33812:18:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;33812:18:0;33555:283;;33812:18;;-1:-1:-1;;;33555:283:0:o;38800:1568::-;39004:20;;;-1:-1:-1;;;;;39098:31:0;;39094:290;;-1:-1:-1;39160:7:0;39094:290;;;39226:17;39259:46;-1:-1:-1;;;;;39259:21:0;;39289:11;39200:16;39259:46;:21;:46;:::i;:::-;39320:52;-1:-1:-1;;;;;39320:21:0;;39350:11;39364:7;39320:52;:21;:52;:::i;:::-;39094:290;;39397:15;39414;39433:28;39448:12;39433:14;:28::i;:::-;39582:31;;;-1:-1:-1;;;39582:31:0;;39607:4;39582:31;;;;;;39396:65;;-1:-1:-1;39396:65:0;;-1:-1:-1;39396:65:0;;;;39472:13;;-1:-1:-1;;;;;39582:16:0;;;;;:31;;;;;;;;;;;;;;:16;:31;;;5:2:-1;;;;30:1;27;20:12;5:2;39582:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;39582:31:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;39582:31:0;39650;;;-1:-1:-1;;;39650:31:0;;39675:4;39650:31;;;;;;39582;;-1:-1:-1;39624:23:0;;-1:-1:-1;;;;;39650:16:0;;;;;:31;;;;;39582;;39650;;;;;;;:16;:31;;;5:2:-1;;;;30:1;27;20:12;5:2;39650:31:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;39650:31:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;39650:31:0;39713:49;;;;39650:31;;-1:-1:-1;39695:12:0;;-1:-1:-1;;;;;39713:16:0;;;39736:11;;39749:12;;39713:49;;;39650:31;39713: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;;;39713: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;;39694:68:0;;;39781:7;39773:43;;;;;-1:-1:-1;;;39773:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;39829:21;39853:76;39903:15;39853:6;-1:-1:-1;;;;;39853:16:0;;39878:4;39853:31;;;;;;;;;;;;;-1:-1:-1;;;;;39853:31:0;-1:-1:-1;;;;;39853:31:0;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;39853:76:0;39829:100;;39940:21;39964:76;40014:15;39964:6;-1:-1:-1;;;;;39964:16:0;;39989:4;39964:31;;;;;;;;;;;;;-1:-1:-1;;;;;39964:31:0;-1:-1:-1;;;;;39964:31:0;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;39964:76:0;39940:100;;40073:13;40057;:29;40053:235;;;40118:13;40103:28;;40166:7;40146:27;;40053:235;;;40221:13;40206:28;;40269:7;40249:27;;40053:235;40323:1;40308:12;:16;40300:60;;;;;-1:-1:-1;;;40300:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;38800:1568;;;;;;;;;;;;;;;;;;:::o;40376:1406::-;40671:120;;;-1:-1:-1;;;40671:120:0;;-1:-1:-1;;;;;40671:120:0;;;;;;;;;;;;;;;40565:20;;;;;;31267:42;;40671:31;;:120;;;;;;;;;;;;;;;31267:42;40671:120;;;5:2:-1;;;;30:1;27;20:12;5:2;40671:120:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;40671:120:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;40671:120:0;40846:18;;;-1:-1:-1;;;40846:18:0;;;;40671:120;;-1:-1:-1;40814:12:0;;;;-1:-1:-1;;;;;40846:16:0;;;;;:18;;;;;;;;;;;;;;;:16;:18;;;5:2:-1;;;;30:1;27;20:12;5:2;40846:18:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;40846:18:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;40846:18:0;;;;;;;40813:51;;;;;-1:-1:-1;40813:51:0;;-1:-1:-1;;;;;;40879:40:0;;;;;;;40875:900;;;40936:20;40959:36;40981:4;40987:7;40959:21;:36::i;:::-;40936:59;;41084:1;41068:12;:17;41064:52;;41102:14;:7;41114:1;41102:14;:11;:14;:::i;:::-;41087:29;;41064:52;41146:132;41177:18;41214;41251:12;41146;:132::i;:::-;41131:147;-1:-1:-1;41308:25:0;:7;41320:12;41308:25;:11;:25;:::i;:::-;41293:40;;40875:900;;;;41366:20;41389:36;41411:4;41417:7;41389:21;:36::i;:::-;41366:59;;41514:1;41498:12;:17;41494:52;;41532:14;:7;41544:1;41532:14;:11;:14;:::i;:::-;41517:29;;41494:52;41576:132;41607:18;41644;41681:12;41576;:132::i;:::-;41561:147;-1:-1:-1;41738:25:0;:7;41750:12;41738:25;:11;:25;:::i;:::-;41723:40;;40875:900;;40376:1406;;;;;;;;;;:::o;37232:1560::-;37444:7;37464:65;-1:-1:-1;;;;;37464:36:0;;31113:42;37444:7;37464:65;:36;:65;:::i;:::-;37540;-1:-1:-1;;;;;37540:36:0;;31113:42;37603:1;37540:65;:36;:65;:::i;:::-;37618:113;-1:-1:-1;;;;;37618:36:0;;31113:42;37708:12;37618:113;:36;:113;:::i;:::-;37742;-1:-1:-1;;;;;37742:36:0;;31113:42;37832:12;37742:113;:36;:113;:::i;:::-;37917:252;;;-1:-1:-1;;;37917:252:0;;-1:-1:-1;;;;;37917:252:0;;;;;;;;;;;;;;;;;;;;;;;;;38090:1;37917:252;;;;;;;;;;38130:4;37917:252;;;;-1:-1:-1;;;37917:252:0;;;;;;37869:15;;;;;;31113:42;;37917;;:252;;;;;;;;;;;;;;;37869:15;31113:42;37917:252;;;5:2:-1;;;;30:1;27;20:12;5:2;37917:252:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;37917:252:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37917:252:0;;;;;;;;;;;;;-1:-1:-1;37917:252:0;;-1:-1:-1;37917:252:0;-1:-1:-1;38182:581:0;;;;38303:1;38275:25;:12;38292:7;38275:25;:16;:25;:::i;:::-;:29;38271:207;;;38325:137;38385:10;38418:25;:12;38435:7;38418:25;:16;:25;:::i;:::-;-1:-1:-1;;;;;38325:37:0;;;:137;;:37;:137;:::i;:::-;38577:1;38549:25;:12;38566:7;38549:25;:16;:25;:::i;:::-;:29;38545:207;;;38599:137;38659:10;38692:25;:12;38709:7;38692:25;:16;:25;:::i;:::-;-1:-1:-1;;;;;38599:37:0;;;:137;;:37;:137;:::i;:::-;38782:2;37232:1560;-1:-1:-1;;;;;;;;37232:1560:0:o;11000:659::-;11060:4;11559:20;;11389:66;11608:23;;;;;;:42;;-1:-1:-1;11635:15:0;;;11608:42;11600:51;11000:659;-1:-1:-1;;;;11000:659:0:o;7026:471::-;7084:7;7329:6;7325:47;;-1:-1:-1;7359:1:0;7352:8;;7325:47;7396:5;;;7400:1;7396;:5;:1;7420:5;;;;;:10;7412:56;;;;-1:-1:-1;;;7412:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7965:132;8023:7;8050:39;8054:1;8057;8050:39;;;;;;;;;;;;;;;;;:3;:39::i;5620:181::-;5678:7;5710:5;;;5734:6;;;;5726:46;;;;;-1:-1:-1;;;5726:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;14569:706;14987:10;;;14986:62;;-1:-1:-1;15003:39:0;;;-1:-1:-1;;;15003:39:0;;15027:4;15003:39;;;;-1:-1:-1;;;;;15003:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;5:2:-1;;;;30:1;27;20:12;5:2;15003:39:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;15003:39:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15003:39:0;:44;14986:62;14964:166;;;;-1:-1:-1;;;14964:166:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15194:62;;;-1:-1:-1;;;;;15194:62:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;15194:62:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;15141:126:0;;15174:5;;15141:18;:126::i;41790:345::-;41906:7;42123:4;41951:169;42100:19;:9;42114:4;42100:19;:13;:19;:::i;:::-;41951:126;42003:59;42039:22;:9;42053:7;42039:22;:13;:22;:::i;:::-;42017:19;:6;42028:7;42017:19;:10;:19;:::i;:::-;42003:9;;42017:44;42003:59;:13;:59;:::i;:::-;41951:33;:126::i;:::-;:148;:169;:148;:169;:::i;:::-;:176;;;;;;;41790:345;-1:-1:-1;;;41790:345:0:o;42464:1184::-;42628:19;42693:23;-1:-1:-1;;;;;42664:52:0;:25;-1:-1:-1;;;;;42664:52:0;;42660:104;;;-1:-1:-1;42740:12:0;42733:19;;42660:104;42774:111;-1:-1:-1;;;;;42774:45:0;;31113:42;42873:1;42774:111;:45;:111;:::i;:::-;42896:122;-1:-1:-1;;;;;42896:45:0;;31113:42;42995:12;42896:122;:45;:122;:::i;:::-;43046:120;;;-1:-1:-1;;;43046:120:0;;-1:-1:-1;;;;;43046:120:0;;;;;;;;;;;;;;;43031:12;;31267:42;;43046:31;;:120;;;;;;;;;;;;;;;31267:42;43046:120;;;5:2:-1;;;;30:1;27;20:12;5:2;43046:120:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;43046:120:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;43046:120:0;;-1:-1:-1;;;;;;43185:18:0;;43177:48;;;;;-1:-1:-1;;;43177:48:0;;;;;;;;;;;;-1:-1:-1;;;43177:48:0;;;;;;;;;;;;;;;43262:16;;;43276:1;43262:16;;;43238:21;43262:16;;;;;43238:21;43262:16;;;;;105:10:-1;43262:16:0;88:34:-1;136:17;;-1:-1;43262:16:0;43238:40;;43299:25;43289:4;43294:1;43289:7;;;;;;;;;;;;;:35;-1:-1:-1;;;;;43289:35:0;;;-1:-1:-1;;;;;43289:35:0;;;;;43345:23;43335:4;43340:1;43335:7;;;;;;;;-1:-1:-1;;;;;43335:33:0;;;:7;;;;;;;;;;:33;43395:164;;-1:-1:-1;;;43395:164:0;;;;;;;;43477:1;43395:164;;;;;;43520:4;43395:164;;;;;;-1:-1:-1;;;43395:164:0;;;;;;;;;;;;;;;;;;;;;31113:42;;43395:40;;43450:12;;43493:4;;43520;31474:66;43395:164;;;;;;;;;;;;;;;;;-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;43395:164:0;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;43395:164:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;43395:164:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;43395:164: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;43395:164: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;43395:164:0;;421:4:-1;412:14;;;;43395:164:0;;;;;412:14:-1;43395:164: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;43395:164:0;;;;;;;;;;;43574:1;43560:4;:11;:15;43395:181;;;;;;;;;;;;;;43381:195;;43611:1;43597:11;:15;43589:51;;;;;-1:-1:-1;;;43589:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;42464:1184;;;;;;;:::o;8627:379::-;8747:7;8849:12;8842:5;8834:28;;;;-1:-1:-1;;;8834:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;8834:28:0;;8873:9;8889:1;8885;:5;;;;;;;8627:379;-1:-1:-1;;;;;8627:379:0:o;23604:335::-;23652:9;23682:1;23678;:5;23674:235;;;-1:-1:-1;23704:1:0;23740;23736;23732:5;;:9;23756:92;23767:1;23763;:5;23756:92;;;23793:1;23789:5;;23831:1;23826;23822;23818;:5;;;;;;:9;23817:15;;;;;;23813:19;;23756:92;;;23674:235;;;;23869:6;;23865:44;;-1:-1:-1;23896:1:0;23604:335;;;:::o

Swarm Source

bzzr://9cab38be594f6a901ce1377c740a193eadfbef437851b963bcec8cf014e50e73

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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