ETH Price: $3,121.84 (-0.53%)
Gas: 9.89 Gwei

Contract

0x7dbE40ac6bB41A5FE4Fa2C74f31d7DEFBC793B58
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw211871372024-11-14 16:30:233 days ago1731601823IN
0x7dbE40ac...FBC793B58
0 ETH0.0023612932.86233691
Withdraw207644152024-09-16 16:37:5962 days ago1726504679IN
0x7dbE40ac...FBC793B58
0 ETH0.0013763410.23842145
Withdraw200990942024-06-15 18:50:35155 days ago1718477435IN
0x7dbE40ac...FBC793B58
0 ETH0.000545145.55977839
Withdraw198095482024-05-06 7:27:35196 days ago1714980455IN
0x7dbE40ac...FBC793B58
0 ETH0.000691377.05108906
Deposit198085242024-05-06 4:00:47196 days ago1714968047IN
0x7dbE40ac...FBC793B58
0 ETH0.000671646.88593445
Withdraw196672672024-04-16 9:51:23216 days ago1713261083IN
0x7dbE40ac...FBC793B58
0 ETH0.0008075911.23941467
Deposit196387052024-04-12 9:42:47220 days ago1712914967IN
0x7dbE40ac...FBC793B58
0 ETH0.0008205722.90645065
Deposit196387052024-04-12 9:42:47220 days ago1712914967IN
0x7dbE40ac...FBC793B58
0 ETH0.0022242122.90645065
Withdraw196093532024-04-08 7:05:35224 days ago1712559935IN
0x7dbE40ac...FBC793B58
0 ETH0.0009419813.1118936
Withdraw195050092024-03-24 14:31:35238 days ago1711290695IN
0x7dbE40ac...FBC793B58
0 ETH0.0017698124.63075193
Withdraw194700152024-03-19 16:34:59243 days ago1710866099IN
0x7dbE40ac...FBC793B58
0 ETH0.0055863741.55632799
Withdraw193651222024-03-04 23:35:11258 days ago1709595311IN
0x7dbE40ac...FBC793B58
0 ETH0.0057422779.91580557
Deposit193628272024-03-04 15:55:23258 days ago1709567723IN
0x7dbE40ac...FBC793B58
0 ETH0.0075133793.91712656
Withdraw193534402024-03-03 8:26:23260 days ago1709454383IN
0x7dbE40ac...FBC793B58
0 ETH0.0042837843.68887714
Deposit193534382024-03-03 8:25:59260 days ago1709454359IN
0x7dbE40ac...FBC793B58
0 ETH0.0034910643.40070429
Deposit193327492024-02-29 11:03:23262 days ago1709204603IN
0x7dbE40ac...FBC793B58
0 ETH0.0085605887.76670081
Emergency Withdr...193274362024-02-28 17:12:47263 days ago1709140367IN
0x7dbE40ac...FBC793B58
0 ETH0.00585208130.48719895
Deposit193268022024-02-28 15:04:47263 days ago1709132687IN
0x7dbE40ac...FBC793B58
0 ETH0.0079203398.46507626
Withdraw191040382024-01-28 9:06:47295 days ago1706432807IN
0x7dbE40ac...FBC793B58
0 ETH0.0011704116.28884509
Deposit191040262024-01-28 9:04:23295 days ago1706432663IN
0x7dbE40ac...FBC793B58
0 ETH0.0014381114.81063032
Withdraw188433112023-12-22 18:57:47331 days ago1703271467IN
0x7dbE40ac...FBC793B58
0 ETH0.0028087534.69134768
Deposit188433032023-12-22 18:56:11331 days ago1703271371IN
0x7dbE40ac...FBC793B58
0 ETH0.0031479839.13548926
Withdraw187047122023-12-03 8:35:59351 days ago1701592559IN
0x7dbE40ac...FBC793B58
0 ETH0.0020310625.0897769
Withdraw187045952023-12-03 8:11:59351 days ago1701591119IN
0x7dbE40ac...FBC793B58
0 ETH0.0018239525.38847238
Withdraw186753412023-11-29 6:00:11355 days ago1701237611IN
0x7dbE40ac...FBC793B58
0 ETH0.0019699727.41639575
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MasterChef

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-07-28
*/

// File: @pancakeswap/pancake-swap-lib/contracts/math/SafeMath.sol

// SPDX-License-Identifier: MIT

pragma solidity >=0.4.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

    function min(uint256 x, uint256 y) internal pure returns (uint256 z) {
        z = x < y ? x : y;
    }

    // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)
    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;
        }
    }
}

// File: @pancakeswap/pancake-swap-lib/contracts/token/BEP20/IBEP20.sol


pragma solidity >=0.4.0;

interface IBEP20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the token decimals.
     */
    function decimals() external view returns (uint8);

    /**
     * @dev Returns the token symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the token name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external view returns (address);

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

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

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

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

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

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

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

// File: @pancakeswap/pancake-swap-lib/contracts/utils/Address.sol


pragma solidity ^0.6.2;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            codehash := extcodehash(account)
        }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, 'Address: insufficient balance');

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

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, 'Address: low-level call failed');
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, 'Address: low-level call with value failed');
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, 'Address: insufficient balance for call');
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(
        address target,
        bytes memory data,
        uint256 weiValue,
        string memory errorMessage
    ) private returns (bytes memory) {
        require(isContract(target), 'Address: call to non-contract');

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{value: weiValue}(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @pancakeswap/pancake-swap-lib/contracts/token/BEP20/SafeBEP20.sol


pragma solidity ^0.6.0;




/**
 * @title SafeBEP20
 * @dev Wrappers around BEP20 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 SafeBEP20 for IBEP20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeBEP20 {
    using SafeMath for uint256;
    using Address for address;

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

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

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IBEP20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IBEP20 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),
            'SafeBEP20: approve from non-zero to non-zero allowance'
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IBEP20 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(
        IBEP20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(
            value,
            'SafeBEP20: 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(IBEP20 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. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, 'SafeBEP20: low-level call failed');
        if (returndata.length > 0) {
            // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), 'SafeBEP20: BEP20 operation did not succeed');
        }
    }
}

// File: @pancakeswap/pancake-swap-lib/contracts/GSN/Context.sol


pragma solidity >=0.4.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor() internal {}

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

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

// File: @pancakeswap/pancake-swap-lib/contracts/access/Ownable.sol


pragma solidity >=0.4.0;


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

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

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

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

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }

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

// File: @pancakeswap/pancake-swap-lib/contracts/token/BEP20/BEP20.sol


pragma solidity >=0.4.0;






/**
 * @dev Implementation of the {IBEP20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {BEP20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-BEP20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of BEP20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IBEP20-approve}.
 */
contract BEP20 is Context, IBEP20, Ownable {
    using SafeMath for uint256;
    using Address for address;

    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external override view returns (address) {
        return owner();
    }

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

    /**
     * @dev Returns the token decimals.
     */
    function decimals() public override view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev Returns the token symbol.
     */
    function symbol() public override view returns (string memory) {
        return _symbol;
    }

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

    /**
     * @dev See {BEP20-balanceOf}.
     */
    function balanceOf(address account) public override view returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {BEP20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

    /**
     * @dev See {BEP20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {BEP20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {BEP20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for `sender`'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(amount, 'BEP20: transfer amount exceeds allowance')
        );
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {BEP20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {BEP20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].sub(subtractedValue, 'BEP20: decreased allowance below zero')
        );
        return true;
    }

    /**
     * @dev Creates `amount` tokens and assigns them to `msg.sender`, increasing
     * the total supply.
     *
     * Requirements
     *
     * - `msg.sender` must be the token owner
     */
    function mint(uint256 amount) public onlyOwner returns (bool) {
        _mint(_msgSender(), amount);
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal {
        require(sender != address(0), 'BEP20: transfer from the zero address');
        require(recipient != address(0), 'BEP20: transfer to the zero address');

        _balances[sender] = _balances[sender].sub(amount, 'BEP20: transfer amount exceeds balance');
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal {
        require(account != address(0), 'BEP20: mint to the zero address');

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal {
        require(account != address(0), 'BEP20: burn from the zero address');

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

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal {
        require(owner != address(0), 'BEP20: approve from the zero address');
        require(spender != address(0), 'BEP20: approve to the zero address');

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(
            account,
            _msgSender(),
            _allowances[account][_msgSender()].sub(amount, 'BEP20: burn amount exceeds allowance')
        );
    }
}

// File: contracts/Token.sol

pragma solidity 0.6.12;


// Token with Governance
contract Token is BEP20 {

    uint256 public maxSupply;

    constructor(string memory _name, string memory _symbol, uint256 _maxSupply, uint256 _initialSupply, address _holder)
        BEP20(_name, _symbol)
        public
    {
        require(_initialSupply <= _maxSupply, "Token: cap exceeded");

        maxSupply = _maxSupply;

        _mint(_holder, _initialSupply);
    }

    /// @dev Creates `_amount` token to `_to`. Must only be called by the owner (MasterChef).
    function mint(address _to, uint256 _amount)
        public
        onlyOwner
    {
        require(totalSupply() + _amount <= maxSupply, "Token: cap exceeded");

        _mint(_to, _amount);
    }

}

// File: contracts/MasterChef.sol

pragma solidity 0.6.12;






// MasterChef is the master of Token. He can make Token and he is a fair guy.
//
// Note that it's ownable and the owner wields tremendous power. The ownership
// will be transferred to a governance smart contract once TOKEN is sufficiently
// distributed and the community can show to govern itself.
//
// Have fun reading it. Hopefully it's bug-free. God bless.
contract MasterChef is Ownable {

    using SafeMath for uint256;
    using SafeBEP20 for IBEP20;

    // Info of each user.
    struct UserInfo {
        uint256 amount;         // How many LP tokens the user has provided.
        uint256 rewardDebt;     // Reward debt. See explanation below.
                                //
                                // We do some fancy math here. Basically, any point in time, the amount of TOKENs
                                // entitled to a user but is pending to be distributed is:
                                //
                                //   pending reward = (user.amount * pool.accTokenPerShare) - user.rewardDebt
                                //
                                // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
                                //   1. The pool's `accTokenPerShare` (and `lastRewardBlock`) gets updated.
                                //   2. User receives the pending reward sent to his/her address.
                                //   3. User's `amount` gets updated.
                                //   4. User's `rewardDebt` gets updated.
    }

    // Info of each pool.
    struct PoolInfo {
        IBEP20 lpToken;           // Address of LP token contract.
        uint256 allocPoint;       // How many allocation points assigned to this pool. TOKENs to distribute per block.
        uint256 lastRewardBlock;  // Last block number that TOKENs distribution occurs.
        uint256 accTokenPerShare; // Accumulated TOKENs per share, times 1e12. See below.
        uint16 depositFeeBP;      // Deposit fee in basis points
        uint256 totalRewardTokens;
        uint256 totalMaxRewardTokens;
        uint256 totalDeposit;
    }

    // The TOKEN
    Token public token;
    // TOKEN tokens created per block.
    uint256 public tokenPerBlock;
    // Bonus muliplier for early token makers.
    uint256 public constant BONUS_MULTIPLIER = 1;
    // Deposit Fee address
    address public feeAddress;

    // Info of each pool.
    PoolInfo[] public poolInfo;
    // Info of each user that stakes LP tokens.
    mapping (uint256 => mapping (address => UserInfo)) public userInfo;
    // Total allocation points. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;
    // The block number when TOKEN mining starts.
    uint256 public startBlock;

    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount);

    constructor(Token _token, address _feeAddress, uint256 _tokenPerBlock, uint256 _startBlock)
        public
    {
        token = _token;
        feeAddress = _feeAddress;
        tokenPerBlock = _tokenPerBlock;
        startBlock = _startBlock;
    }

    function poolLength()
        external
        view
        returns (uint256)
    {
        return poolInfo.length;
    }

    // Add a new lp to the pool. Can only be called by the owner.
    // XXX DO NOT add the same LP token more than once. Rewards will be messed up if you do.
    function add(uint256 _allocPoint, IBEP20 _lpToken, uint16 _depositFeeBP, uint256 totalMaxRewardToken, bool _withUpdate)
        public
        onlyOwner
    {
        require(_depositFeeBP <= 10000, "add: invalid deposit fee basis points");

        if (_withUpdate) {
            massUpdatePools();
        }

        uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock;

        totalAllocPoint = totalAllocPoint.add(_allocPoint);

        poolInfo.push(PoolInfo({
            lpToken: _lpToken,
            allocPoint: _allocPoint,
            lastRewardBlock: lastRewardBlock,
            accTokenPerShare: 0,
            depositFeeBP: _depositFeeBP,
            totalRewardTokens: 0,
            totalMaxRewardTokens: totalMaxRewardToken,
            totalDeposit: 0
        }));
    }

    // Update the given pool's TOKEN allocation point and deposit fee. Can only be called by the owner.
    function set(uint256 _pid, uint256 _allocPoint, uint16 _depositFeeBP, uint256 totalMaxRewardToken, bool _withUpdate)
        public
        onlyOwner
    {
        require(_depositFeeBP <= 10000, "set: invalid deposit fee basis points");

        if (_withUpdate) {
            massUpdatePools();
        }

        require(poolInfo[_pid].totalRewardTokens <= totalMaxRewardToken, "set: totalMaxRewardToken is invalid");

        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint);

        poolInfo[_pid].allocPoint = _allocPoint;
        poolInfo[_pid].depositFeeBP = _depositFeeBP;
        poolInfo[_pid].totalMaxRewardTokens = totalMaxRewardToken;
    }

    // Return reward multiplier over the given _from to _to block.
    function getMultiplier(uint256 _from, uint256 _to)
        public
        pure
        returns (uint256)
    {
        return _to.sub(_from).mul(BONUS_MULTIPLIER);
    }

    // View function to see pending TOKENs on frontend.
    function pendingToken(uint256 _pid, address _user)
        external
        view
        returns (uint256)
    {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];

        uint256 accTokenPerShare = pool.accTokenPerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));

        if (block.number > pool.lastRewardBlock && lpSupply != 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);

            uint256 tokenReward = multiplier.mul(tokenPerBlock).mul(pool.allocPoint).div(totalAllocPoint);

            uint256 remainingTokens = pool.totalMaxRewardTokens - pool.totalRewardTokens;

            if (tokenReward > remainingTokens) {
                tokenReward = remainingTokens;
            }

            accTokenPerShare = accTokenPerShare.add(tokenReward.mul(1e12).div(lpSupply));
        }

        return user.amount.mul(accTokenPerShare).div(1e12).sub(user.rewardDebt);
    }

    // Update reward variables for all pools. Be careful of gas spending!
    function massUpdatePools()
        public
    {
        uint256 length = poolInfo.length;

        for (uint256 pid = 0; pid < length; ++pid) {
            updatePool(pid);
        }
    }

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid)
        public
    {
        PoolInfo storage pool = poolInfo[_pid];

        if (block.number <= pool.lastRewardBlock) {
            return;
        }

        uint256 lpSupply = pool.lpToken.balanceOf(address(this));

        if (lpSupply == 0 || pool.allocPoint == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }

        uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);

        uint256 tokenReward = multiplier.mul(tokenPerBlock).mul(pool.allocPoint).div(totalAllocPoint);

        uint256 remainingTokens = pool.totalMaxRewardTokens - pool.totalRewardTokens;

        if (tokenReward > remainingTokens) {
            tokenReward = remainingTokens;
        }

        if (tokenReward == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }

        token.mint(address(this), tokenReward);

        pool.accTokenPerShare = pool.accTokenPerShare.add(tokenReward.mul(1e12).div(lpSupply));
        pool.lastRewardBlock = block.number;
        pool.totalRewardTokens = pool.totalRewardTokens.add(tokenReward);
    }

    // Deposit LP tokens to MasterChef for TOKEN allocation.
    function deposit(uint256 _pid, uint256 _amount)
        public
    {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        updatePool(_pid);

        if (user.amount > 0) {
            uint256 pending = user.amount.mul(pool.accTokenPerShare).div(1e12).sub(user.rewardDebt);

            if (pending > 0) {
                safeTokenTransfer(msg.sender, pending);
            }
        }

        if (_amount > 0) {
            pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);

            if (pool.depositFeeBP > 0) {
                uint256 depositFee = _amount.mul(pool.depositFeeBP).div(10000);

                pool.lpToken.safeTransfer(feeAddress, depositFee);

                user.amount = user.amount.add(_amount).sub(depositFee);

                pool.totalDeposit = pool.totalDeposit.add(_amount).sub(depositFee);

            } else {
                user.amount = user.amount.add(_amount);

                pool.totalDeposit = pool.totalDeposit.add(_amount);
            }
        }

        user.rewardDebt = user.amount.mul(pool.accTokenPerShare).div(1e12);

        emit Deposit(msg.sender, _pid, _amount);
    }

    // Withdraw LP tokens from MasterChef.
    function withdraw(uint256 _pid, uint256 _amount)
        public
    {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        require(user.amount >= _amount, "withdraw: not good");

        updatePool(_pid);

        uint256 pending = user.amount.mul(pool.accTokenPerShare).div(1e12).sub(user.rewardDebt);

        if (pending > 0) {
            safeTokenTransfer(msg.sender, pending);
        }

        if (_amount > 0) {
            user.amount = user.amount.sub(_amount);

            pool.totalDeposit = pool.totalDeposit.sub(_amount);

            pool.lpToken.safeTransfer(address(msg.sender), _amount);
        }

        user.rewardDebt = user.amount.mul(pool.accTokenPerShare).div(1e12);

        emit Withdraw(msg.sender, _pid, _amount);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid)
        public
    {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        uint256 amount = user.amount;

        user.amount = 0;
        user.rewardDebt = 0;

        pool.lpToken.safeTransfer(address(msg.sender), amount);

        emit EmergencyWithdraw(msg.sender, _pid, amount);
    }

    // Safe token transfer function, just in case if rounding error causes pool to not have enough TOKENs.
    function safeTokenTransfer(address _to, uint256 _amount)
        internal
    {
        uint256 tokenBal = token.balanceOf(address(this));

        if (_amount > tokenBal) {
            token.transfer(_to, tokenBal);

        } else {
            token.transfer(_to, _amount);
        }
    }

    function setFeeAddress(address _feeAddress)
        public
    {
        require(msg.sender == feeAddress, "setFeeAddress: FORBIDDEN");

        feeAddress = _feeAddress;
    }

    //Pancake has to add hidden dummy pools inorder to alter the emission, here we make it simple and transparent to all.
    function updateEmissionRate(uint256 _tokenPerBlock)
        public
        onlyOwner
    {
        massUpdatePools();

        tokenPerBlock = _tokenPerBlock;
    }

    function withdrawAllReward(address _receiver)
        public
        onlyOwner
    {
        require(_receiver != address(0), "address is invalid");

        uint256 remaining = token.maxSupply() - token.totalSupply();

        if (remaining > 0) {
            token.mint(_receiver, remaining);
        }

        uint256 balance = token.balanceOf(address(this));

        if (balance > 0) {
            token.transfer(_receiver, balance);
        }
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract Token","name":"_token","type":"address"},{"internalType":"address","name":"_feeAddress","type":"address"},{"internalType":"uint256","name":"_tokenPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"BONUS_MULTIPLIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IBEP20","name":"_lpToken","type":"address"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"uint256","name":"totalMaxRewardToken","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IBEP20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accTokenPerShare","type":"uint256"},{"internalType":"uint16","name":"depositFeeBP","type":"uint16"},{"internalType":"uint256","name":"totalRewardTokens","type":"uint256"},{"internalType":"uint256","name":"totalMaxRewardTokens","type":"uint256"},{"internalType":"uint256","name":"totalDeposit","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"uint256","name":"totalMaxRewardToken","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddress","type":"address"}],"name":"setFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract Token","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenPerBlock","type":"uint256"}],"name":"updateEmissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"}],"name":"withdrawAllReward","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600060065534801561001557600080fd5b50604051611f67380380611f678339818101604052608081101561003857600080fd5b508051602082015160408301516060909301519192909160006100596100e1565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b039586166001600160a01b03199182161790915560038054949095169316929092179092556002919091556007556100e5565b3390565b611e73806100f46000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c80635312ea8e116100c35780638dbb1e3a1161007c5780638dbb1e3a1461036d57806393f1a40b14610390578063af018de8146103d5578063e2bbb15814610419578063f2fde38b1461043c578063fc0c546a1461046257610158565b80635312ea8e1461030a578063630b5ba114610327578063715018a61461032f5780638705fcd4146103375780638aa285501461035d5780638da5cb5b1461036557610158565b80634127535811610115578063412753581461026a5780634198709a1461028e578063441a3e701461029657806348cd4cb1146102b957806348e43af4146102c157806351eb05a6146102ed57610158565b8063081e3eda1461015d5780630ba84cd2146101775780630fa237b9146101965780631526fe27146101bc57806317caf6f1146102275780632143e5451461022f575b600080fd5b61016561046a565b60408051918252519081900360200190f35b6101946004803603602081101561018d57600080fd5b5035610470565b005b610194600480360360208110156101ac57600080fd5b50356001600160a01b03166104d5565b6101d9600480360360208110156101d257600080fd5b50356107dd565b604080516001600160a01b039099168952602089019790975287870195909552606087019390935261ffff909116608086015260a085015260c084015260e083015251908190036101000190f35b61016561083f565b610194600480360360a081101561024557600080fd5b5080359060208101359061ffff60408201351690606081013590608001351515610845565b610272610a16565b604080516001600160a01b039092168252519081900360200190f35b610165610a25565b610194600480360360408110156102ac57600080fd5b5080359060200135610a2b565b610165610b9e565b610165600480360360408110156102d757600080fd5b50803590602001356001600160a01b0316610ba4565b6101946004803603602081101561030357600080fd5b5035610d24565b6101946004803603602081101561032057600080fd5b5035610f17565b610194610fb3565b610194610fd6565b6101946004803603602081101561034d57600080fd5b50356001600160a01b0316611078565b6101656110f9565b6102726110fe565b6101656004803603604081101561038357600080fd5b508035906020013561110d565b6103bc600480360360408110156103a657600080fd5b50803590602001356001600160a01b0316611125565b6040805192835260208301919091528051918290030190f35b610194600480360360a08110156103eb57600080fd5b508035906001600160a01b036020820135169061ffff60408201351690606081013590608001351515611149565b6101946004803603604081101561042f57600080fd5b50803590602001356113d3565b6101946004803603602081101561045257600080fd5b50356001600160a01b0316611579565b6102726115da565b60045490565b6104786115e9565b6000546001600160a01b039081169116146104c8576040805162461bcd60e51b81526020600482018190526024820152600080516020611dfb833981519152604482015290519081900360640190fd5b6104d0610fb3565b600255565b6104dd6115e9565b6000546001600160a01b0390811691161461052d576040805162461bcd60e51b81526020600482018190526024820152600080516020611dfb833981519152604482015290519081900360640190fd5b6001600160a01b03811661057d576040805162461bcd60e51b81526020600482015260126024820152711859191c995cdcc81a5cc81a5b9d985b1a5960721b604482015290519081900360640190fd5b600154604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b1580156105c257600080fd5b505afa1580156105d6573d6000803e3d6000fd5b505050506040513d60208110156105ec57600080fd5b50516001546040805163d5abeb0160e01b815290516001600160a01b039092169163d5abeb0191600480820192602092909190829003018186803b15801561063357600080fd5b505afa158015610647573d6000803e3d6000fd5b505050506040513d602081101561065d57600080fd5b505103905080156106d657600154604080516340c10f1960e01b81526001600160a01b03858116600483015260248201859052915191909216916340c10f1991604480830192600092919082900301818387803b1580156106bd57600080fd5b505af11580156106d1573d6000803e3d6000fd5b505050505b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561072157600080fd5b505afa158015610735573d6000803e3d6000fd5b505050506040513d602081101561074b57600080fd5b5051905080156107d8576001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156107ab57600080fd5b505af11580156107bf573d6000803e3d6000fd5b505050506040513d60208110156107d557600080fd5b50505b505050565b600481815481106107ea57fe5b6000918252602090912060089091020180546001820154600283015460038401546004850154600586015460068701546007909701546001600160a01b03909616975093959294919361ffff90911692909188565b60065481565b61084d6115e9565b6000546001600160a01b0390811691161461089d576040805162461bcd60e51b81526020600482018190526024820152600080516020611dfb833981519152604482015290519081900360640190fd5b6127108361ffff1611156108e25760405162461bcd60e51b8152600401808060200182810382526025815260200180611dd66025913960400191505060405180910390fd5b80156108f0576108f0610fb3565b81600486815481106108fe57fe5b906000526020600020906008020160050154111561094d5760405162461bcd60e51b8152600401808060200182810382526023815260200180611e1b6023913960400191505060405180910390fd5b61098a846109846004888154811061096157fe5b9060005260206000209060080201600101546006546115ed90919063ffffffff16565b9061162f565b600681905550836004868154811061099e57fe5b90600052602060002090600802016001018190555082600486815481106109c157fe5b906000526020600020906008020160040160006101000a81548161ffff021916908361ffff16021790555081600486815481106109fa57fe5b9060005260206000209060080201600601819055505050505050565b6003546001600160a01b031681565b60025481565b600060048381548110610a3a57fe5b600091825260208083208684526005825260408085203386529092529220805460089092029092019250831115610aad576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b610ab684610d24565b6000610af08260010154610aea64e8d4a51000610ae48760030154876000015461168990919063ffffffff16565b906116e2565b906115ed565b90508015610b0257610b023382611724565b8315610b40578154610b1490856115ed565b82556007830154610b2590856115ed565b60078401558254610b40906001600160a01b03163386611883565b60038301548254610b5b9164e8d4a5100091610ae491611689565b6001830155604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b60075481565b60008060048481548110610bb457fe5b600091825260208083208784526005825260408085206001600160a01b0389811687529084528186206008959095029092016003810154815483516370a0823160e01b815230600482015293519298509596909590949316926370a082319260248082019391829003018186803b158015610c2e57600080fd5b505afa158015610c42573d6000803e3d6000fd5b505050506040513d6020811015610c5857600080fd5b5051600285015490915043118015610c6f57508015155b15610cef576000610c8485600201544361110d565b90506000610cb1600654610ae48860010154610cab6002548761168990919063ffffffff16565b90611689565b60058701546006880154919250900380821115610ccc578091505b610ce9610ce285610ae48564e8d4a51000611689565b869061162f565b94505050505b610d178360010154610aea64e8d4a51000610ae486886000015461168990919063ffffffff16565b9450505050505b92915050565b600060048281548110610d3357fe5b9060005260206000209060080201905080600201544311610d545750610f14565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610d9e57600080fd5b505afa158015610db2573d6000803e3d6000fd5b505050506040513d6020811015610dc857600080fd5b50519050801580610ddb57506001820154155b15610ded575043600290910155610f14565b6000610dfd83600201544361110d565b90506000610e24600654610ae48660010154610cab6002548761168990919063ffffffff16565b60058501546006860154919250900380821115610e3f578091505b81610e57574385600201819055505050505050610f14565b600154604080516340c10f1960e01b81523060048201526024810185905290516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b158015610eaa57600080fd5b505af1158015610ebe573d6000803e3d6000fd5b50505050610eec610ee185610ae464e8d4a510008661168990919063ffffffff16565b60038701549061162f565b60038601554360028601556005850154610f06908361162f565b856005018190555050505050505b50565b600060048281548110610f2657fe5b600091825260208083208584526005825260408085203380875293528420805485825560018201959095556008909302018054909450919291610f76916001600160a01b03919091169083611883565b604080518281529051859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a350505050565b60045460005b81811015610fd257610fca81610d24565b600101610fb9565b5050565b610fde6115e9565b6000546001600160a01b0390811691161461102e576040805162461bcd60e51b81526020600482018190526024820152600080516020611dfb833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6003546001600160a01b031633146110d7576040805162461bcd60e51b815260206004820152601860248201527f736574466565416464726573733a20464f5242494444454e0000000000000000604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b600181565b6000546001600160a01b031690565b600061111e6001610cab84866115ed565b9392505050565b60056020908152600092835260408084209091529082529020805460019091015482565b6111516115e9565b6000546001600160a01b039081169116146111a1576040805162461bcd60e51b81526020600482018190526024820152600080516020611dfb833981519152604482015290519081900360640190fd5b6127108361ffff1611156111e65760405162461bcd60e51b8152600401808060200182810382526025815260200180611d406025913960400191505060405180910390fd5b80156111f4576111f4610fb3565b6000600754431161120757600754611209565b435b600654909150611219908761162f565b60065560408051610100810182526001600160a01b0396871681526020810197885290810191825260006060820181815261ffff9687166080840190815260a0840183815260c0850197885260e0850184815260048054600181018255955294517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b600890950294850180546001600160a01b03191691909b161790995598517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c83015592517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19d82015591517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19e83015595517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19f8201805461ffff191691909516179093555091517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd1a082015590517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd1a182015590517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd1a290910155565b6000600483815481106113e257fe5b6000918252602080832086845260058252604080852033865290925292206008909102909101915061141384610d24565b80541561145c5760006114488260010154610aea64e8d4a51000610ae48760030154876000015461168990919063ffffffff16565b9050801561145a5761145a3382611724565b505b821561151c578154611479906001600160a01b03163330866118d5565b600482015461ffff16156114f95760048201546000906114a69061271090610ae490879061ffff16611689565b60035484549192506114c5916001600160a01b03908116911683611883565b81546114d7908290610aea908761162f565b825560078301546114ee908290610aea908761162f565b60078401555061151c565b8054611505908461162f565b81556007820154611516908461162f565b60078301555b600382015481546115379164e8d4a5100091610ae491611689565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050565b6115816115e9565b6000546001600160a01b039081169116146115d1576040805162461bcd60e51b81526020600482018190526024820152600080516020611dfb833981519152604482015290519081900360640190fd5b610f1481611935565b6001546001600160a01b031681565b3390565b600061111e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506119d5565b60008282018381101561111e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008261169857506000610d1e565b828202828482816116a557fe5b041461111e5760405162461bcd60e51b8152600401808060200182810382526021815260200180611db56021913960400191505060405180910390fd5b600061111e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611a6c565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561176f57600080fd5b505afa158015611783573d6000803e3d6000fd5b505050506040513d602081101561179957600080fd5b505190508082111561182d576001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156117fb57600080fd5b505af115801561180f573d6000803e3d6000fd5b505050506040513d602081101561182557600080fd5b506107d89050565b6001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156107ab57600080fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526107d8908490611ad1565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261192f908590611ad1565b50505050565b6001600160a01b03811661197a5760405162461bcd60e51b8152600401808060200182810382526026815260200180611d8f6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008184841115611a645760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611a29578181015183820152602001611a11565b50505050905090810190601f168015611a565780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183611abb5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611a29578181015183820152602001611a11565b506000838581611ac757fe5b0495945050505050565b6060611b26826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611b829092919063ffffffff16565b8051909150156107d857808060200190516020811015611b4557600080fd5b50516107d85760405162461bcd60e51b815260040180806020018281038252602a815260200180611d65602a913960400191505060405180910390fd5b6060611b918484600085611b99565b949350505050565b6060611ba485611d06565b611bf5576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611c345780518252601f199092019160209182019101611c15565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611c96576040519150601f19603f3d011682016040523d82523d6000602084013e611c9b565b606091505b50915091508115611caf579150611b919050565b805115611cbf5780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315611a29578181015183820152602001611a11565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611b9157505015159291505056fe6164643a20696e76616c6964206465706f7369742066656520626173697320706f696e74735361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777365743a20696e76616c6964206465706f7369742066656520626173697320706f696e74734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65727365743a20746f74616c4d6178526577617264546f6b656e20697320696e76616c6964a2646970667358221220819243db1918f8129995fc0b7826dea17e377a7daecdcc79bcb97fc18e7fe2ac64736f6c634300060c0033000000000000000000000000bf4d18ae16f2deeb1e24a3c85b5f9dcc41d4a09e00000000000000000000000060d9f2064f4ff0247e9b858db2d25660913ec71800000000000000000000000000000000000000000000003dda8e4eb910b400000000000000000000000000000000000000000000000000000000000000c56d04

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101585760003560e01c80635312ea8e116100c35780638dbb1e3a1161007c5780638dbb1e3a1461036d57806393f1a40b14610390578063af018de8146103d5578063e2bbb15814610419578063f2fde38b1461043c578063fc0c546a1461046257610158565b80635312ea8e1461030a578063630b5ba114610327578063715018a61461032f5780638705fcd4146103375780638aa285501461035d5780638da5cb5b1461036557610158565b80634127535811610115578063412753581461026a5780634198709a1461028e578063441a3e701461029657806348cd4cb1146102b957806348e43af4146102c157806351eb05a6146102ed57610158565b8063081e3eda1461015d5780630ba84cd2146101775780630fa237b9146101965780631526fe27146101bc57806317caf6f1146102275780632143e5451461022f575b600080fd5b61016561046a565b60408051918252519081900360200190f35b6101946004803603602081101561018d57600080fd5b5035610470565b005b610194600480360360208110156101ac57600080fd5b50356001600160a01b03166104d5565b6101d9600480360360208110156101d257600080fd5b50356107dd565b604080516001600160a01b039099168952602089019790975287870195909552606087019390935261ffff909116608086015260a085015260c084015260e083015251908190036101000190f35b61016561083f565b610194600480360360a081101561024557600080fd5b5080359060208101359061ffff60408201351690606081013590608001351515610845565b610272610a16565b604080516001600160a01b039092168252519081900360200190f35b610165610a25565b610194600480360360408110156102ac57600080fd5b5080359060200135610a2b565b610165610b9e565b610165600480360360408110156102d757600080fd5b50803590602001356001600160a01b0316610ba4565b6101946004803603602081101561030357600080fd5b5035610d24565b6101946004803603602081101561032057600080fd5b5035610f17565b610194610fb3565b610194610fd6565b6101946004803603602081101561034d57600080fd5b50356001600160a01b0316611078565b6101656110f9565b6102726110fe565b6101656004803603604081101561038357600080fd5b508035906020013561110d565b6103bc600480360360408110156103a657600080fd5b50803590602001356001600160a01b0316611125565b6040805192835260208301919091528051918290030190f35b610194600480360360a08110156103eb57600080fd5b508035906001600160a01b036020820135169061ffff60408201351690606081013590608001351515611149565b6101946004803603604081101561042f57600080fd5b50803590602001356113d3565b6101946004803603602081101561045257600080fd5b50356001600160a01b0316611579565b6102726115da565b60045490565b6104786115e9565b6000546001600160a01b039081169116146104c8576040805162461bcd60e51b81526020600482018190526024820152600080516020611dfb833981519152604482015290519081900360640190fd5b6104d0610fb3565b600255565b6104dd6115e9565b6000546001600160a01b0390811691161461052d576040805162461bcd60e51b81526020600482018190526024820152600080516020611dfb833981519152604482015290519081900360640190fd5b6001600160a01b03811661057d576040805162461bcd60e51b81526020600482015260126024820152711859191c995cdcc81a5cc81a5b9d985b1a5960721b604482015290519081900360640190fd5b600154604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd916004808301926020929190829003018186803b1580156105c257600080fd5b505afa1580156105d6573d6000803e3d6000fd5b505050506040513d60208110156105ec57600080fd5b50516001546040805163d5abeb0160e01b815290516001600160a01b039092169163d5abeb0191600480820192602092909190829003018186803b15801561063357600080fd5b505afa158015610647573d6000803e3d6000fd5b505050506040513d602081101561065d57600080fd5b505103905080156106d657600154604080516340c10f1960e01b81526001600160a01b03858116600483015260248201859052915191909216916340c10f1991604480830192600092919082900301818387803b1580156106bd57600080fd5b505af11580156106d1573d6000803e3d6000fd5b505050505b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561072157600080fd5b505afa158015610735573d6000803e3d6000fd5b505050506040513d602081101561074b57600080fd5b5051905080156107d8576001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156107ab57600080fd5b505af11580156107bf573d6000803e3d6000fd5b505050506040513d60208110156107d557600080fd5b50505b505050565b600481815481106107ea57fe5b6000918252602090912060089091020180546001820154600283015460038401546004850154600586015460068701546007909701546001600160a01b03909616975093959294919361ffff90911692909188565b60065481565b61084d6115e9565b6000546001600160a01b0390811691161461089d576040805162461bcd60e51b81526020600482018190526024820152600080516020611dfb833981519152604482015290519081900360640190fd5b6127108361ffff1611156108e25760405162461bcd60e51b8152600401808060200182810382526025815260200180611dd66025913960400191505060405180910390fd5b80156108f0576108f0610fb3565b81600486815481106108fe57fe5b906000526020600020906008020160050154111561094d5760405162461bcd60e51b8152600401808060200182810382526023815260200180611e1b6023913960400191505060405180910390fd5b61098a846109846004888154811061096157fe5b9060005260206000209060080201600101546006546115ed90919063ffffffff16565b9061162f565b600681905550836004868154811061099e57fe5b90600052602060002090600802016001018190555082600486815481106109c157fe5b906000526020600020906008020160040160006101000a81548161ffff021916908361ffff16021790555081600486815481106109fa57fe5b9060005260206000209060080201600601819055505050505050565b6003546001600160a01b031681565b60025481565b600060048381548110610a3a57fe5b600091825260208083208684526005825260408085203386529092529220805460089092029092019250831115610aad576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b610ab684610d24565b6000610af08260010154610aea64e8d4a51000610ae48760030154876000015461168990919063ffffffff16565b906116e2565b906115ed565b90508015610b0257610b023382611724565b8315610b40578154610b1490856115ed565b82556007830154610b2590856115ed565b60078401558254610b40906001600160a01b03163386611883565b60038301548254610b5b9164e8d4a5100091610ae491611689565b6001830155604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b60075481565b60008060048481548110610bb457fe5b600091825260208083208784526005825260408085206001600160a01b0389811687529084528186206008959095029092016003810154815483516370a0823160e01b815230600482015293519298509596909590949316926370a082319260248082019391829003018186803b158015610c2e57600080fd5b505afa158015610c42573d6000803e3d6000fd5b505050506040513d6020811015610c5857600080fd5b5051600285015490915043118015610c6f57508015155b15610cef576000610c8485600201544361110d565b90506000610cb1600654610ae48860010154610cab6002548761168990919063ffffffff16565b90611689565b60058701546006880154919250900380821115610ccc578091505b610ce9610ce285610ae48564e8d4a51000611689565b869061162f565b94505050505b610d178360010154610aea64e8d4a51000610ae486886000015461168990919063ffffffff16565b9450505050505b92915050565b600060048281548110610d3357fe5b9060005260206000209060080201905080600201544311610d545750610f14565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610d9e57600080fd5b505afa158015610db2573d6000803e3d6000fd5b505050506040513d6020811015610dc857600080fd5b50519050801580610ddb57506001820154155b15610ded575043600290910155610f14565b6000610dfd83600201544361110d565b90506000610e24600654610ae48660010154610cab6002548761168990919063ffffffff16565b60058501546006860154919250900380821115610e3f578091505b81610e57574385600201819055505050505050610f14565b600154604080516340c10f1960e01b81523060048201526024810185905290516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b158015610eaa57600080fd5b505af1158015610ebe573d6000803e3d6000fd5b50505050610eec610ee185610ae464e8d4a510008661168990919063ffffffff16565b60038701549061162f565b60038601554360028601556005850154610f06908361162f565b856005018190555050505050505b50565b600060048281548110610f2657fe5b600091825260208083208584526005825260408085203380875293528420805485825560018201959095556008909302018054909450919291610f76916001600160a01b03919091169083611883565b604080518281529051859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a350505050565b60045460005b81811015610fd257610fca81610d24565b600101610fb9565b5050565b610fde6115e9565b6000546001600160a01b0390811691161461102e576040805162461bcd60e51b81526020600482018190526024820152600080516020611dfb833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6003546001600160a01b031633146110d7576040805162461bcd60e51b815260206004820152601860248201527f736574466565416464726573733a20464f5242494444454e0000000000000000604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b600181565b6000546001600160a01b031690565b600061111e6001610cab84866115ed565b9392505050565b60056020908152600092835260408084209091529082529020805460019091015482565b6111516115e9565b6000546001600160a01b039081169116146111a1576040805162461bcd60e51b81526020600482018190526024820152600080516020611dfb833981519152604482015290519081900360640190fd5b6127108361ffff1611156111e65760405162461bcd60e51b8152600401808060200182810382526025815260200180611d406025913960400191505060405180910390fd5b80156111f4576111f4610fb3565b6000600754431161120757600754611209565b435b600654909150611219908761162f565b60065560408051610100810182526001600160a01b0396871681526020810197885290810191825260006060820181815261ffff9687166080840190815260a0840183815260c0850197885260e0850184815260048054600181018255955294517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b600890950294850180546001600160a01b03191691909b161790995598517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19c83015592517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19d82015591517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19e83015595517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19f8201805461ffff191691909516179093555091517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd1a082015590517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd1a182015590517f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd1a290910155565b6000600483815481106113e257fe5b6000918252602080832086845260058252604080852033865290925292206008909102909101915061141384610d24565b80541561145c5760006114488260010154610aea64e8d4a51000610ae48760030154876000015461168990919063ffffffff16565b9050801561145a5761145a3382611724565b505b821561151c578154611479906001600160a01b03163330866118d5565b600482015461ffff16156114f95760048201546000906114a69061271090610ae490879061ffff16611689565b60035484549192506114c5916001600160a01b03908116911683611883565b81546114d7908290610aea908761162f565b825560078301546114ee908290610aea908761162f565b60078401555061151c565b8054611505908461162f565b81556007820154611516908461162f565b60078301555b600382015481546115379164e8d4a5100091610ae491611689565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050565b6115816115e9565b6000546001600160a01b039081169116146115d1576040805162461bcd60e51b81526020600482018190526024820152600080516020611dfb833981519152604482015290519081900360640190fd5b610f1481611935565b6001546001600160a01b031681565b3390565b600061111e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506119d5565b60008282018381101561111e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008261169857506000610d1e565b828202828482816116a557fe5b041461111e5760405162461bcd60e51b8152600401808060200182810382526021815260200180611db56021913960400191505060405180910390fd5b600061111e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611a6c565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561176f57600080fd5b505afa158015611783573d6000803e3d6000fd5b505050506040513d602081101561179957600080fd5b505190508082111561182d576001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156117fb57600080fd5b505af115801561180f573d6000803e3d6000fd5b505050506040513d602081101561182557600080fd5b506107d89050565b6001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156107ab57600080fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526107d8908490611ad1565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261192f908590611ad1565b50505050565b6001600160a01b03811661197a5760405162461bcd60e51b8152600401808060200182810382526026815260200180611d8f6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008184841115611a645760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611a29578181015183820152602001611a11565b50505050905090810190601f168015611a565780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183611abb5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611a29578181015183820152602001611a11565b506000838581611ac757fe5b0495945050505050565b6060611b26826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611b829092919063ffffffff16565b8051909150156107d857808060200190516020811015611b4557600080fd5b50516107d85760405162461bcd60e51b815260040180806020018281038252602a815260200180611d65602a913960400191505060405180910390fd5b6060611b918484600085611b99565b949350505050565b6060611ba485611d06565b611bf5576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611c345780518252601f199092019160209182019101611c15565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611c96576040519150601f19603f3d011682016040523d82523d6000602084013e611c9b565b606091505b50915091508115611caf579150611b919050565b805115611cbf5780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315611a29578181015183820152602001611a11565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611b9157505015159291505056fe6164643a20696e76616c6964206465706f7369742066656520626173697320706f696e74735361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777365743a20696e76616c6964206465706f7369742066656520626173697320706f696e74734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65727365743a20746f74616c4d6178526577617264546f6b656e20697320696e76616c6964a2646970667358221220819243db1918f8129995fc0b7826dea17e377a7daecdcc79bcb97fc18e7fe2ac64736f6c634300060c0033

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

000000000000000000000000bf4d18ae16f2deeb1e24a3c85b5f9dcc41d4a09e00000000000000000000000060d9f2064f4ff0247e9b858db2d25660913ec71800000000000000000000000000000000000000000000003dda8e4eb910b400000000000000000000000000000000000000000000000000000000000000c56d04

-----Decoded View---------------
Arg [0] : _token (address): 0xBf4d18AE16F2dEEB1e24A3C85b5f9DcC41D4A09E
Arg [1] : _feeAddress (address): 0x60d9F2064F4ff0247E9b858Db2D25660913eC718
Arg [2] : _tokenPerBlock (uint256): 1141000000000000000000
Arg [3] : _startBlock (uint256): 12938500

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000bf4d18ae16f2deeb1e24a3c85b5f9dcc41d4a09e
Arg [1] : 00000000000000000000000060d9f2064f4ff0247e9b858db2d25660913ec718
Arg [2] : 00000000000000000000000000000000000000000000003dda8e4eb910b40000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000c56d04


Deployed Bytecode Sourcemap

34861:11914:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37863:127;;;:::i;:::-;;;;;;;;;;;;;;;;46119:171;;;;;;;;;;;;;;;;-1:-1:-1;46119:171:0;;:::i;:::-;;46298:472;;;;;;;;;;;;;;;;-1:-1:-1;46298:472:0;-1:-1:-1;;;;;46298:472:0;;:::i;36979:26::-;;;;;;;;;;;;;;;;-1:-1:-1;36979:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;36979:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37222:34;;;:::i;39114:705::-;;;;;;;;;;;;;;;;-1:-1:-1;39114:705:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;36918:25::-;;;:::i;:::-;;;;-1:-1:-1;;;;;36918:25:0;;;;;;;;;;;;;;36756:28;;;:::i;44059:842::-;;;;;;;;;;;;;;;;-1:-1:-1;44059:842:0;;;;;;;:::i;37314:25::-;;;:::i;40135:1018::-;;;;;;;;;;;;;;;;-1:-1:-1;40135:1018:0;;;;;;-1:-1:-1;;;;;40135:1018:0;;:::i;41508:1175::-;;;;;;;;;;;;;;;;-1:-1:-1;41508:1175:0;;:::i;44972:407::-;;;;;;;;;;;;;;;;-1:-1:-1;44972:407:0;;:::i;41236:196::-;;;:::i;22663:140::-;;;:::i;45806:182::-;;;;;;;;;;;;;;;;-1:-1:-1;45806:182:0;-1:-1:-1;;;;;45806:182:0;;:::i;36839:44::-;;;:::i;22021:79::-;;;:::i;39895:175::-;;;;;;;;;;;;;;;;-1:-1:-1;39895:175:0;;;;;;;:::i;37061:66::-;;;;;;;;;;;;;;;;-1:-1:-1;37061:66:0;;;;;;-1:-1:-1;;;;;37061:66:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;38159:842;;;;;;;;;;;;;;;;-1:-1:-1;38159:842:0;;;-1:-1:-1;;;;;38159:842:0;;;;;;;;;;;;;;;;;;;;;;;;:::i;42753:1254::-;;;;;;;;;;;;;;;;-1:-1:-1;42753:1254:0;;;;;;;:::i;22958:109::-;;;;;;;;;;;;;;;;-1:-1:-1;22958:109:0;-1:-1:-1;;;;;22958:109:0;;:::i;36691:18::-;;;:::i;37863:127::-;37967:8;:15;37863:127;:::o;46119:171::-;22243:12;:10;:12::i;:::-;22233:6;;-1:-1:-1;;;;;22233:6:0;;;:22;;;22225:67;;;;;-1:-1:-1;;;22225:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22225:67:0;;;;;;;;;;;;;;;46222:17:::1;:15;:17::i;:::-;46252:13;:30:::0;46119:171::o;46298:472::-;22243:12;:10;:12::i;:::-;22233:6;;-1:-1:-1;;;;;22233:6:0;;;:22;;;22225:67;;;;;-1:-1:-1;;;22225:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22225:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;46403:23:0;::::1;46395:54;;;::::0;;-1:-1:-1;;;46395:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;46395:54:0;;;;;;;;;;;;;::::1;;46502:5;::::0;:19:::1;::::0;;-1:-1:-1;;;46502:19:0;;;;46462:17:::1;::::0;-1:-1:-1;;;;;46502:5:0::1;::::0;:17:::1;::::0;:19:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;:5;:19;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;46502:19:0;46482:5:::1;::::0;:17:::1;::::0;;-1:-1:-1;;;46482:17:0;;;;-1:-1:-1;;;;;46482:5:0;;::::1;::::0;:15:::1;::::0;:17:::1;::::0;;::::1;::::0;46502:19:::1;::::0;46482:17;;;;;;;;:5;:17;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;46482:17:0;:39:::1;::::0;-1:-1:-1;46538:13:0;;46534:78:::1;;46568:5;::::0;:32:::1;::::0;;-1:-1:-1;;;46568:32:0;;-1:-1:-1;;;;;46568:32:0;;::::1;;::::0;::::1;::::0;;;;;;;;;:5;;;::::1;::::0;:10:::1;::::0;:32;;;;;:5:::1;::::0;:32;;;;;;;:5;;:32;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;46534:78;46642:5;::::0;:30:::1;::::0;;-1:-1:-1;;;46642:30:0;;46666:4:::1;46642:30;::::0;::::1;::::0;;;46624:15:::1;::::0;-1:-1:-1;;;;;46642:5:0::1;::::0;:15:::1;::::0;:30;;;;;::::1;::::0;;;;;;;;:5;:30;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;46642:30:0;;-1:-1:-1;46689:11:0;;46685:78:::1;;46717:5;::::0;:34:::1;::::0;;-1:-1:-1;;;46717:34:0;;-1:-1:-1;;;;;46717:34:0;;::::1;;::::0;::::1;::::0;;;;;;;;;:5;;;::::1;::::0;:14:::1;::::0;:34;;;;;::::1;::::0;;;;;;;;:5:::1;::::0;:34;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;46685:78:0::1;22303:1;;46298:472:::0;:::o;36979:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;36979:26:0;;;;-1:-1:-1;36979:26:0;;;;;;;;;;;;;;:::o;37222:34::-;;;;:::o;39114:705::-;22243:12;:10;:12::i;:::-;22233:6;;-1:-1:-1;;;;;22233:6:0;;;:22;;;22225:67;;;;;-1:-1:-1;;;22225:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22225:67:0;;;;;;;;;;;;;;;39307:5:::1;39290:13;:22;;;;39282:72;;;;-1:-1:-1::0;;;39282:72:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39371:11;39367:61;;;39399:17;:15;:17::i;:::-;39484:19;39448:8;39457:4;39448:14;;;;;;;;;;;;;;;;;;:32;;;:55;;39440:103;;;;-1:-1:-1::0;;;39440:103:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39574:63;39625:11;39574:46;39594:8;39603:4;39594:14;;;;;;;;;;;;;;;;;;:25;;;39574:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:63::i;:::-;39556:15;:81;;;;39678:11;39650:8;39659:4;39650:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;39730:13;39700:8;39709:4;39700:14;;;;;;;;;;;;;;;;;;:27;;;:43;;;;;;;;;;;;;;;;;;39792:19;39754:8;39763:4;39754:14;;;;;;;;;;;;;;;;;;:35;;:57;;;;39114:705:::0;;;;;:::o;36918:25::-;;;-1:-1:-1;;;;;36918:25:0;;:::o;36756:28::-;;;;:::o;44059:842::-;44140:21;44164:8;44173:4;44164:14;;;;;;;;;;;;;;;;44213;;;:8;:14;;;;;;44228:10;44213:26;;;;;;;44260:11;;44164:14;;;;;;;;-1:-1:-1;44260:22:0;-1:-1:-1;44260:22:0;44252:53;;;;;-1:-1:-1;;;44252:53:0;;;;;;;;;;;;-1:-1:-1;;;44252:53:0;;;;;;;;;;;;;;;44318:16;44329:4;44318:10;:16::i;:::-;44347:15;44365:69;44418:4;:15;;;44365:48;44408:4;44365:38;44381:4;:21;;;44365:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:48::i;:::-;:52;;:69::i;:::-;44347:87;-1:-1:-1;44451:11:0;;44447:82;;44479:38;44497:10;44509:7;44479:17;:38::i;:::-;44545:11;;44541:221;;44587:11;;:24;;44603:7;44587:15;:24::i;:::-;44573:38;;44648:17;;;;:30;;44670:7;44648:21;:30::i;:::-;44628:17;;;:50;44695:12;;:55;;-1:-1:-1;;;;;44695:12:0;44729:10;44742:7;44695:25;:55::i;:::-;44808:21;;;;44792:11;;:48;;44835:4;;44792:38;;:15;:38::i;:48::-;44774:15;;;:66;44858:35;;;;;;;;44879:4;;44867:10;;44858:35;;;;;;;;;44059:842;;;;;:::o;37314:25::-;;;;:::o;40135:1018::-;40236:7;40261:21;40285:8;40294:4;40285:14;;;;;;;;;;;;;;;;40334;;;:8;:14;;;;;;-1:-1:-1;;;;;40334:21:0;;;;;;;;;;;40285:14;;;;;;;;40395:21;;;;40446:12;;:37;;-1:-1:-1;;;40446:37:0;;40477:4;40446:37;;;;;;40285:14;;-1:-1:-1;40334:21:0;;40395;;40285:14;;40446:12;;;:22;;:37;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40446:37:0;40515:20;;;;40446:37;;-1:-1:-1;40500:12:0;:35;:52;;;;-1:-1:-1;40539:13:0;;;40500:52;40496:566;;;40569:18;40590:49;40604:4;:20;;;40626:12;40590:13;:49::i;:::-;40569:70;;40656:19;40678:71;40733:15;;40678:50;40712:4;:15;;;40678:29;40693:13;;40678:10;:14;;:29;;;;:::i;:::-;:33;;:50::i;:71::-;40820:22;;;;40792:25;;;;40656:93;;-1:-1:-1;40792:50:0;;40863:29;;;40859:99;;;40927:15;40913:29;;40859:99;40993:57;41014:35;41040:8;41014:21;:11;41030:4;41014:15;:21::i;:35::-;40993:16;;:20;:57::i;:::-;40974:76;;40496:566;;;;41081:64;41129:4;:15;;;41081:43;41119:4;41081:33;41097:16;41081:4;:11;;;:15;;:33;;;;:::i;:64::-;41074:71;;;;;;40135:1018;;;;;:::o;41508:1175::-;41574:21;41598:8;41607:4;41598:14;;;;;;;;;;;;;;;;;;41574:38;;41645:4;:20;;;41629:12;:36;41625:75;;41682:7;;;41625:75;41731:12;;:37;;;-1:-1:-1;;;41731:37:0;;41762:4;41731:37;;;;;;41712:16;;-1:-1:-1;;;;;41731:12:0;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41731:37:0;;-1:-1:-1;41785:13:0;;;:37;;-1:-1:-1;41802:15:0;;;;:20;41785:37;41781:126;;;-1:-1:-1;41862:12:0;41839:20;;;;:35;41889:7;;41781:126;41919:18;41940:49;41954:4;:20;;;41976:12;41940:13;:49::i;:::-;41919:70;;42002:19;42024:71;42079:15;;42024:50;42058:4;:15;;;42024:29;42039:13;;42024:10;:14;;:29;;;;:::i;:71::-;42162:22;;;;42134:25;;;;42002:93;;-1:-1:-1;42134:50:0;;42201:29;;;42197:91;;;42261:15;42247:29;;42197:91;42304:16;42300:105;;42360:12;42337:4;:20;;:35;;;;42387:7;;;;;;;42300:105;42417:5;;:38;;;-1:-1:-1;;;42417:38:0;;42436:4;42417:38;;;;;;;;;;;;-1:-1:-1;;;;;42417:5:0;;;;:10;;:38;;;;;:5;;:38;;;;;;;;:5;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42492:62;42518:35;42544:8;42518:21;42534:4;42518:11;:15;;:21;;;;:::i;:35::-;42492:21;;;;;:25;:62::i;:::-;42468:21;;;:86;42588:12;42565:20;;;:35;42636:22;;;;:39;;42663:11;42636:26;:39::i;:::-;42611:4;:22;;:64;;;;41508:1175;;;;;;;:::o;44972:407::-;45045:21;45069:8;45078:4;45069:14;;;;;;;;;;;;;;;;45118;;;:8;:14;;;;;;45133:10;45118:26;;;;;;;45174:11;;45198:15;;;-1:-1:-1;45224:15:0;;:19;;;;45069:14;;;;;45256:12;;45069:14;;-1:-1:-1;45118:26:0;;45174:11;45256:54;;-1:-1:-1;;;;;45256:12:0;;;;;45174:11;45256:25;:54::i;:::-;45328:43;;;;;;;;45358:4;;45346:10;;45328:43;;;;;;;;;44972:407;;;;:::o;41236:196::-;41312:8;:15;41295:14;41340:85;41368:6;41362:3;:12;41340:85;;;41398:15;41409:3;41398:10;:15::i;:::-;41376:5;;41340:85;;;;41236:196;:::o;22663:140::-;22243:12;:10;:12::i;:::-;22233:6;;-1:-1:-1;;;;;22233:6:0;;;:22;;;22225:67;;;;;-1:-1:-1;;;22225:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22225:67:0;;;;;;;;;;;;;;;22762:1:::1;22746:6:::0;;22725:40:::1;::::0;-1:-1:-1;;;;;22746:6:0;;::::1;::::0;22725:40:::1;::::0;22762:1;;22725:40:::1;22793:1;22776:19:::0;;-1:-1:-1;;;;;;22776:19:0::1;::::0;;22663:140::o;45806:182::-;45904:10;;-1:-1:-1;;;;;45904:10:0;45890;:24;45882:61;;;;;-1:-1:-1;;;45882:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;45956:10;:24;;-1:-1:-1;;;;;;45956:24:0;-1:-1:-1;;;;;45956:24:0;;;;;;;;;;45806:182::o;36839:44::-;36882:1;36839:44;:::o;22021:79::-;22059:7;22086:6;-1:-1:-1;;;;;22086:6:0;22021:79;:::o;39895:175::-;39994:7;40026:36;36882:1;40026:14;:3;40034:5;40026:7;:14::i;:36::-;40019:43;39895:175;-1:-1:-1;;;39895:175:0:o;37061:66::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;38159:842::-;22243:12;:10;:12::i;:::-;22233:6;;-1:-1:-1;;;;;22233:6:0;;;:22;;;22225:67;;;;;-1:-1:-1;;;22225:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22225:67:0;;;;;;;;;;;;;;;38355:5:::1;38338:13;:22;;;;38330:72;;;;-1:-1:-1::0;;;38330:72:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38419:11;38415:61;;;38447:17;:15;:17::i;:::-;38488:23;38529:10;;38514:12;:25;:53;;38557:10;;38514:53;;;38542:12;38514:53;38598:15;::::0;38488:79;;-1:-1:-1;38598:32:0::1;::::0;38618:11;38598:19:::1;:32::i;:::-;38580:15;:50:::0;38657:335:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;38657:335:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;38657:335:0;;;;;;::::1;::::0;;::::1;::::0;;;;;;;;;;;;;;;;;;;;;;;;38643:8:::1;:350:::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;38643:350:0::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;38643:350:0::1;::::0;;;::::1;;::::0;;;-1:-1:-1;38643:350:0;;;;;;;;;;;;;;;;;;;38159:842::o;42753:1254::-;42833:21;42857:8;42866:4;42857:14;;;;;;;;;;;;;;;;42906;;;:8;:14;;;;;;42921:10;42906:26;;;;;;;42857:14;;;;;;;;-1:-1:-1;42945:16:0;42915:4;42945:10;:16::i;:::-;42978:11;;:15;42974:241;;43010:15;43028:69;43081:4;:15;;;43028:48;43071:4;43028:38;43044:4;:21;;;43028:4;:11;;;:15;;:38;;;;:::i;:69::-;43010:87;-1:-1:-1;43118:11:0;;43114:90;;43150:38;43168:10;43180:7;43150:17;:38::i;:::-;42974:241;;43231:11;;43227:642;;43259:12;;:74;;-1:-1:-1;;;;;43259:12:0;43297:10;43318:4;43325:7;43259:29;:74::i;:::-;43354:17;;;;;;:21;43350:508;;43429:17;;;;43396:18;;43417:41;;43452:5;;43417:30;;:7;;43429:17;;43417:11;:30::i;:41::-;43505:10;;43479:12;;43396:62;;-1:-1:-1;43479:49:0;;-1:-1:-1;;;;;43479:12:0;;;;43505:10;43396:62;43479:25;:49::i;:::-;43563:11;;:40;;43592:10;;43563:24;;43579:7;43563:15;:24::i;:40::-;43549:54;;43644:17;;;;:46;;43679:10;;43644:30;;43666:7;43644:21;:30::i;:46::-;43624:17;;;:66;-1:-1:-1;43350:508:0;;;43747:11;;:24;;43763:7;43747:15;:24::i;:::-;43733:38;;43812:17;;;;:30;;43834:7;43812:21;:30::i;:::-;43792:17;;;:50;43350:508;43915:21;;;;43899:11;;:48;;43942:4;;43899:38;;:15;:38::i;:48::-;43881:15;;;:66;43965:34;;;;;;;;43985:4;;43973:10;;43965:34;;;;;;;;;42753:1254;;;;:::o;22958:109::-;22243:12;:10;:12::i;:::-;22233:6;;-1:-1:-1;;;;;22233:6:0;;;:22;;;22225:67;;;;;-1:-1:-1;;;22225:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;22225:67:0;;;;;;;;;;;;;;;23031:28:::1;23050:8;23031:18;:28::i;36691:18::-:0;;;-1:-1:-1;;;;;36691:18:0;;:::o;20573:98::-;20653:10;20573:98;:::o;1437:136::-;1495:7;1522:43;1526:1;1529;1522:43;;;;;;;;;;;;;;;;;:3;:43::i;973:181::-;1031:7;1063:5;;;1087:6;;;;1079:46;;;;;-1:-1:-1;;;1079:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;2361:471;2419:7;2664:6;2660:47;;-1:-1:-1;2694:1:0;2687:8;;2660:47;2731:5;;;2735:1;2731;:5;:1;2755:5;;;;;:10;2747:56;;;;-1:-1:-1;;;2747:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3308:132;3366:7;3393:39;3397:1;3400;3393:39;;;;;;;;;;;;;;;;;:3;:39::i;45495:303::-;45605:5;;:30;;;-1:-1:-1;;;45605:30:0;;45629:4;45605:30;;;;;;45586:16;;-1:-1:-1;;;;;45605:5:0;;:15;;:30;;;;;;;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45605:30:0;;-1:-1:-1;45652:18:0;;;45648:143;;;45687:5;;:29;;;-1:-1:-1;;;45687:29:0;;-1:-1:-1;;;;;45687:29:0;;;;;;;;;;;;;;;:5;;;;;:14;;:29;;;;;;;;;;;;;;:5;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45648:143:0;;-1:-1:-1;45648:143:0;;45751:5;;:28;;;-1:-1:-1;;;45751:28:0;;-1:-1:-1;;;;;45751:28:0;;;;;;;;;;;;;;;:5;;;;;:14;;:28;;;;;;;;;;;;;;:5;;:28;;;;;;;;;;16436:211;16580:58;;;-1:-1:-1;;;;;16580:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16580:58:0;-1:-1:-1;;;16580:58:0;;;16553:86;;16573:5;;16553:19;:86::i;16655:248::-;16826:68;;;-1:-1:-1;;;;;16826:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16826:68:0;-1:-1:-1;;;16826:68:0;;;16799:96;;16819:5;;16799:19;:96::i;:::-;16655:248;;;;:::o;23173:229::-;-1:-1:-1;;;;;23247:22:0;;23239:73;;;;-1:-1:-1;;;23239:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23349:6;;;23328:38;;-1:-1:-1;;;;;23328:38:0;;;;23349:6;;;23328:38;;;23377:6;:17;;-1:-1:-1;;;;;;23377:17:0;-1:-1:-1;;;;;23377:17:0;;;;;;;;;;23173:229::o;1876:226::-;1996:7;2032:12;2024:6;;;;2016:29;;;;-1:-1:-1;;;2016:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2068:5:0;;;1876:226::o;3936:312::-;4056:7;4091:12;4084:5;4076:28;;;;-1:-1:-1;;;4076:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4115:9;4131:1;4127;:5;;;;;;;3936:312;-1:-1:-1;;;;;3936:312:0:o;18971:774::-;19395:23;19421:69;19449:4;19421:69;;;;;;;;;;;;;;;;;19429:5;-1:-1:-1;;;;;19421:27:0;;;:69;;;;;:::i;:::-;19505:17;;19395:95;;-1:-1:-1;19505:21:0;19501:237;;19660:10;19649:30;;;;;;;;;;;;;;;-1:-1:-1;19649:30:0;19641:85;;;;-1:-1:-1;;;19641:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13249:230;13386:12;13418:53;13441:6;13449:4;13455:1;13458:12;13418:22;:53::i;:::-;13411:60;13249:230;-1:-1:-1;;;;13249:230:0:o;14737:1020::-;14910:12;14943:18;14954:6;14943:10;:18::i;:::-;14935:60;;;;;-1:-1:-1;;;14935:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15069:12;15083:23;15110:6;-1:-1:-1;;;;;15110:11:0;15129:8;15139:4;15110:34;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15110:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15068:76;;;;15159:7;15155:595;;;15190:10;-1:-1:-1;15183:17:0;;-1:-1:-1;15183:17:0;15155:595;15304:17;;:21;15300:439;;15567:10;15561:17;15628:15;15615:10;15611:2;15607:19;15600:44;15515:148;15703:20;;-1:-1:-1;;;15703:20:0;;;;;;;;;;;;;;;;;15710:12;;15703:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10112:641;10172:4;10653:20;;10483:66;10702:23;;;;;;:42;;-1:-1:-1;;10729:15:0;;;10694:51;-1:-1:-1;;10112:641:0:o

Swarm Source

ipfs://819243db1918f8129995fc0b7826dea17e377a7daecdcc79bcb97fc18e7fe2ac

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  ]

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.