Contract 0x59bd80c84503ffeca9647eb80a62f5d31c36305c 2

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xe98685ad4f14764c55c444ad68791dd1647f4af2973bb75c0a6f1609c5d714aeWithdraw105193322021-08-31 22:37:3818 days 22 hrs ago0xaa89c8e5ba92542b6b06a97b1ffbb5e1e3dd86b1 IN  0x59bd80c84503ffeca9647eb80a62f5d31c36305c0 BNB0.000484035
0x9ca862e21b9f1cfd295d78a3dfa921754f84e84a55566cb7c32c22771ca7f392Withdraw105193272021-08-31 22:37:2318 days 22 hrs ago0xaa89c8e5ba92542b6b06a97b1ffbb5e1e3dd86b1 IN  0x59bd80c84503ffeca9647eb80a62f5d31c36305c0 BNB0.00036875
0xf5c0c4cc380eee29b7d1fdebf6c5fcb376bf1276c615c5cbbf7a23fd5c0af5c6Withdraw105192952021-08-31 22:35:4718 days 22 hrs ago0xaa89c8e5ba92542b6b06a97b1ffbb5e1e3dd86b1 IN  0x59bd80c84503ffeca9647eb80a62f5d31c36305c0 BNB0.000672655
0xf41f9b434a28642dc89abba7dc56245c0da1a2f8487303e920469066dbc4c45cWithdraw101468142021-08-18 21:00:3632 days 5 mins ago0x413880acbf25f345e6eb955d5a2177e9d5a63646 IN  0x59bd80c84503ffeca9647eb80a62f5d31c36305c0 BNB0.000319235
0x51492d18d6cd1f1e0442f3773ade1c5b1f43445f3aa59a473882e9e24766ae1bDeposit101443452021-08-18 18:57:0832 days 2 hrs ago0x413880acbf25f345e6eb955d5a2177e9d5a63646 IN  0x59bd80c84503ffeca9647eb80a62f5d31c36305c0 BNB0.00048043
0xe73c75d3fe14bce520aae5168751de0124decb1f0ec5601d6312e8bd08c1a5a7Withdraw101437032021-08-18 18:25:0232 days 2 hrs ago0x413880acbf25f345e6eb955d5a2177e9d5a63646 IN  0x59bd80c84503ffeca9647eb80a62f5d31c36305c0 BNB0.000319235
0x9b241193ed47c4ba09583ba95ee0ab358b5b91c153d7de6ce9a38a2049b86a2bDeposit101428452021-08-18 17:42:0832 days 3 hrs ago0x413880acbf25f345e6eb955d5a2177e9d5a63646 IN  0x59bd80c84503ffeca9647eb80a62f5d31c36305c0 BNB0.00048043
0x88825e656ee46ebdc6f1e5a196caf1620a0033c524d30a60676b6c2e028c73e8Withdraw101408662021-08-18 16:02:2832 days 5 hrs ago0x413880acbf25f345e6eb955d5a2177e9d5a63646 IN  0x59bd80c84503ffeca9647eb80a62f5d31c36305c0 BNB0.000319235
0xa8bf8ea622113822bef4e24e7836bb6c25cf4abce2f5948d90a98bc8c1f3ac09Withdraw101018152021-08-17 7:27:3433 days 13 hrs ago0x4840a259f798bfc9eef106639fe96f761d927c1e IN  0x59bd80c84503ffeca9647eb80a62f5d31c36305c0 BNB0.000613605
0x1ea31f7f8c89dafab790f3ad5f4022c1463fc5133f5c5c07f6d00aa8583ad576Deposit100817962021-08-16 14:43:3934 days 6 hrs ago0x413880acbf25f345e6eb955d5a2177e9d5a63646 IN  0x59bd80c84503ffeca9647eb80a62f5d31c36305c0 BNB0.000368895
0x5715f8d7c8f110003603e08af2b4e080a4580fa64b1583356191492a0cbab62aDeposit99368862021-08-11 11:52:1239 days 9 hrs ago0x413880acbf25f345e6eb955d5a2177e9d5a63646 IN  0x59bd80c84503ffeca9647eb80a62f5d31c36305c0 BNB0.0004407
0xa49c12527f186b29261e91f6b5a8ce2bebeb76d18ad1a7c99754f77f6bfa43b2Withdraw97856012021-08-06 2:41:0344 days 18 hrs ago0xd36f809ff66a9923a19f501794bfc0e7ded82f1c IN  0x59bd80c84503ffeca9647eb80a62f5d31c36305c0 BNB0.000319175
0x5aeeb854303657efd5a9d659a469ed9c3571c4b0a69db8d61b7e6796d1f4ea90Withdraw97751772021-08-05 17:48:1645 days 3 hrs ago0xb43b74f1d0f048e5e5d7f1f9e3b611349e2d73d4 IN  0x59bd80c84503ffeca9647eb80a62f5d31c36305c0 BNB0.00024085
0x7eb514dae0804ee203423c6dcec3e4603a4bb01e8a261cdf53db8de378cd09f5Deposit97751732021-08-05 17:48:0445 days 3 hrs ago0xb43b74f1d0f048e5e5d7f1f9e3b611349e2d73d4 IN  0x59bd80c84503ffeca9647eb80a62f5d31c36305c0 BNB0.00055386
0x680d277a00d06b94adedc1305ff1dde3fb50d4c3e35ef19c4f0a1ec042612abaWithdraw97661852021-08-05 10:03:4945 days 11 hrs ago0x6b35b5c3e067a92a786d7ddcf9bded39335ce7b3 IN  0x59bd80c84503ffeca9647eb80a62f5d31c36305c0 BNB0.00024513
0x37a824c6a73c091ca04b9de8bd9f132d80547d375bb8a8fa0aa03a76d78c0bd2Withdraw97433502021-08-04 14:29:1046 days 6 hrs ago0x51ad503700294c9153103e0cd4c790367a5b5367 IN  0x59bd80c84503ffeca9647eb80a62f5d31c36305c0 BNB0.00024079
0x5b4e67911f2f11befe358b6b7c1583e546dd0ec0e7073adc65f80b93f9d01d59Deposit97433392021-08-04 14:28:3746 days 6 hrs ago0x51ad503700294c9153103e0cd4c790367a5b5367 IN  0x59bd80c84503ffeca9647eb80a62f5d31c36305c0 BNB0.00057865
0xdfddb8f6794a569cf696df0d1a201c85daf4dc1df053c2091608b39bf2d24953Deposit95800552021-07-29 17:33:0152 days 3 hrs ago0xe39f6fc2030b8b085c2c1fb6f52d87d347ab330f IN  0x59bd80c84503ffeca9647eb80a62f5d31c36305c0 BNB0.000464767935
0xde204c210979e4c7a8c3d28df442b03cc57223a0b6465da27cb764f8d14dcf5eWithdraw95240262021-07-27 14:44:5154 days 6 hrs ago0x242da72e2df923392c24acdc51140f5599ec072a IN  0x59bd80c84503ffeca9647eb80a62f5d31c36305c0 BNB0.00036869
0x19cf2a9dab1f68e0f9f0504fac6ef0f3a80ec2a59e8ab3cafa34d50fc7107cdeWithdraw95239442021-07-27 14:39:1454 days 6 hrs ago0x242da72e2df923392c24acdc51140f5599ec072a IN  0x59bd80c84503ffeca9647eb80a62f5d31c36305c0 BNB0.000484735
0x7feac6d47dc48b543a05230e29d2b91f4e8792f5f10d89ce6d34aa4061528a52Withdraw94929472021-07-26 11:46:4955 days 9 hrs ago0x7c9abe40bb3b3a85daeb26edcae71bb6c8a1b0a3 IN  0x59bd80c84503ffeca9647eb80a62f5d31c36305c0 BNB0.00044375
0x04e7c99e58e6a132a7330f1167e01a96504c7c705112c372aedbc3adf03871afWithdraw93333492021-07-20 21:57:4660 days 23 hrs ago0x4fd06e4b573ddb0caf7f595fa61d2be4c3a1ada5 IN  0x59bd80c84503ffeca9647eb80a62f5d31c36305c0 BNB0.000597155
0x7779b064848f745c60a671d66216e2a063ed57e058e0b4a807cb32f89e0b6309Withdraw93333472021-07-20 21:57:4060 days 23 hrs ago0x4fd06e4b573ddb0caf7f595fa61d2be4c3a1ada5 IN  0x59bd80c84503ffeca9647eb80a62f5d31c36305c0 BNB0.000597155
0x3a7e25a29fca1caa7e11458c2fc5c3eabca41059f7170edb139ae599ffce19b8Withdraw93333442021-07-20 21:57:3160 days 23 hrs ago0x4fd06e4b573ddb0caf7f595fa61d2be4c3a1ada5 IN  0x59bd80c84503ffeca9647eb80a62f5d31c36305c0 BNB0.000672095
0xc49057553d4c51b51b85fbcbc8dd40be450367154592d7e0ae5fa133e99fb810Withdraw93333402021-07-20 21:57:1960 days 23 hrs ago0x4fd06e4b573ddb0caf7f595fa61d2be4c3a1ada5 IN  0x59bd80c84503ffeca9647eb80a62f5d31c36305c0 BNB0.000318375
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MasterChef

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-05-22
*/

// File: @openzeppelin/contracts/math/SafeMath.sol


pragma solidity >=0.6.0 <0.8.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, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @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) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * 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);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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;
    }
}

// File: contracts/libs/IBEP20.sol

// SPDX-License-Identifier: GPL-3.0-or-later

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: @openzeppelin/contracts/utils/Address.sol


pragma solidity >=0.6.2 <0.8.0;

/**
 * @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) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @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");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        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: contracts/libs/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: @openzeppelin/contracts/utils/Context.sol


pragma solidity >=0.6.0 <0.8.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.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

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

// File: @openzeppelin/contracts/access/Ownable.sol


pragma solidity >=0.6.0 <0.8.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.
 */
abstract 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 virtual 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 virtual 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 virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: @openzeppelin/contracts/utils/ReentrancyGuard.sol


pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

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

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

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

// File: contracts/libs/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 virtual {
        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/MarsToken.sol

pragma solidity 0.6.12;


// MarsToken with Governance.
contract MarsToken is BEP20('Mars Token', 'MARS') {
    /// @notice Creates `_amount` token to `_to`. Must only be called by the owner (MasterChef).
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
        _moveDelegates(address(0), _delegates[_to], _amount);
    }

    // Copied and modified from YAM code:
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol
    // https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol
    // Which is copied and modified from COMPOUND:
    // https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol

    /// @notice A record of each accounts delegate
    mapping (address => address) internal _delegates;

    /// @notice A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint256 votes;
    }

    /// @notice A record of votes checkpoints for each account, by index
    mapping (address => mapping (uint32 => Checkpoint)) public checkpoints;

    /// @notice The number of checkpoints for each account
    mapping (address => uint32) public numCheckpoints;

    /// @notice The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");

    /// @notice The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    /// @notice A record of states for signing / validating signatures
    mapping (address => uint) public nonces;

      /// @notice An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @notice An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegator The address to get delegatee for
     */
    function delegates(address delegator)
        external
        view
        returns (address)
    {
        return _delegates[delegator];
    }

   /**
    * @notice Delegate votes from `msg.sender` to `delegatee`
    * @param delegatee The address to delegate votes to
    */
    function delegate(address delegatee) external {
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(
        address delegatee,
        uint nonce,
        uint expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    )
        external
    {
        bytes32 domainSeparator = keccak256(
            abi.encode(
                DOMAIN_TYPEHASH,
                keccak256(bytes(name())),
                getChainId(),
                address(this)
            )
        );

        bytes32 structHash = keccak256(
            abi.encode(
                DELEGATION_TYPEHASH,
                delegatee,
                nonce,
                expiry
            )
        );

        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19\x01",
                domainSeparator,
                structHash
            )
        );

        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "MARS::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "MARS::delegateBySig: invalid nonce");
        require(now <= expiry, "MARS::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account)
        external
        view
        returns (uint256)
    {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint blockNumber)
        external
        view
        returns (uint256)
    {
        require(blockNumber < block.number, "MARS::getPriorVotes: not yet determined");

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee)
        internal
    {
        address currentDelegate = _delegates[delegator];
        uint256 delegatorBalance = balanceOf(delegator); // balance of underlying MARSs (not scaled);
        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                // decrease old representative
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint256 srcRepNew = srcRepOld.sub(amount);
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                // increase new representative
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint256 dstRepNew = dstRepOld.add(amount);
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(
        address delegatee,
        uint32 nCheckpoints,
        uint256 oldVotes,
        uint256 newVotes
    )
        internal
    {
        uint32 blockNumber = safe32(block.number, "MARS::_writeCheckpoint: block number exceeds 32 bits");

        if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
            checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
        } else {
            checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
            numCheckpoints[delegatee] = nCheckpoints + 1;
        }

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function getChainId() internal pure returns (uint) {
        uint256 chainId;
        assembly { chainId := chainid() }
        return chainId;
    }
}

// File: contracts/MasterChef.sol


pragma solidity 0.6.12;







// MasterChef is the master of Mars. He can make Mars 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 MARS 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, ReentrancyGuard {
    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.
        uint256 rewardLockedUp;  // Reward locked up.
        uint256 nextHarvestUntil; // When can the user harvest again.
        uint256 boost; // current user boost for this pool. 100 means he gets 100% of what he has
        uint256 luckyFeeAmount; // 
        bool isLucky; //
        bool luckyTry;
        //
        // We do some fancy math here. Basically, any point in time, the amount of MARSs
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accMarsPerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accMarsPerShare` (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. MARSs to distribute per block.
        uint256 lastRewardBlock;  // Last block number that MARSs distribution occurs.
        uint256 accMarsPerShare;   // Accumulated MARSs per share, times 1e12. See below.
        uint16 depositFeeBP;      // Deposit fee in basis points
        uint256 harvestInterval;  // Harvest interval in seconds
        uint256 luckyFee; // User will pay luckyFee % of his reward
        uint256 luckyChance; // Default prob to be lucky
        bool isLuckyEnabled;
        bool isBoostEnabled;
    }

    // The MARS TOKEN!
    MarsToken public mars;
    // Dev address.
    address public devAddress;
    // Deposit Fee address
    address public feeAddress;
    // MARS tokens created per block.
    uint256 public marsPerBlock;
    // Bonus muliplier for early mars makers.
    uint256 public constant BONUS_MULTIPLIER = 1;
    // Max harvest interval: 14 days.
    uint256 public constant MAXIMUM_HARVEST_INTERVAL = 14 days;
    address public constant DEAD_TOKENS = 0x000000000000000000000000000000000000dEaD;
    
    //Amount to be added to the boost on every click of the boost button. 1 means 1% increase
    uint256 public userBoostAmount = 50;
    // total amount of tokens mintes due to boost 
    uint256 public totalBoostedtokens = 0; 

    // Initial emission rate: 1 per block.
    uint256 public constant INITIAL_EMISSION_RATE = 1 ether;
    // Minimum emission rate: 0.4 per block.
    uint256 public constant MINIMUM_EMISSION_RATE = 400 finney;
    // Reduce emission every 86,400 blocks ~ 24 hours.
    uint256 public constant EMISSION_REDUCTION_PERIOD_BLOCKS = 86400;
    // Emission reduction rate per period in basis points: 1%.
    uint256 public constant EMISSION_REDUCTION_RATE_PER_PERIOD = 100;
    // Last reduction period index
    uint256 public lastReductionPeriodIndex = 0;

    // 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 MARS mining starts.
    uint256 public startBlock;
    // Total locked up rewards
    uint256 public totalLockedUpRewards;

    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);
    event EmissionRateUpdated(address indexed caller, uint256 previousAmount, uint256 newAmount);
    event RewardLockedUp(address indexed user, uint256 indexed pid, uint256 amountLockedUp);
    event Harvest(address indexed user, uint256 indexed pid, uint256 amountHarvest);
    event Lucky(address indexed user, uint256 indexed pid, uint256 luckyAmount);
    event LuckyTry(address indexed user, uint256 indexed pid, uint256 luckyTryAmount);    
    event Boost(address indexed user, uint256 indexed pid, uint256 userBoost);
    event RoundingError(address indexed user, uint256 error);

    constructor(
        MarsToken _mars,
        uint256 _startBlock,
        uint256 _marsPerBlock
    ) public {
        mars = _mars;
        startBlock = _startBlock;
        marsPerBlock = INITIAL_EMISSION_RATE;

        devAddress = msg.sender;
        feeAddress = msg.sender;
    }

    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 _harvestInterval, 
        bool _withUpdate,
        uint256 _luckyFee,
        uint256 _luckyChance
        
        ) public onlyOwner {
        require(_depositFeeBP <= 10000, "add: invalid deposit fee basis points");
        require(_harvestInterval <= MAXIMUM_HARVEST_INTERVAL, "add: invalid harvest interval");
        require(_luckyFee < 100, "add: _luckyFee bigger than 100");
        require(_luckyChance < 100, "add: _luckyChance bigger than 100");

        if (_withUpdate) {
            massUpdatePools();
        }
        uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(PoolInfo({
            lpToken: _lpToken,
            allocPoint: _allocPoint,
            lastRewardBlock: lastRewardBlock,
            accMarsPerShare: 0,
            depositFeeBP: _depositFeeBP,
            harvestInterval: _harvestInterval,
            luckyFee: _luckyFee,
            luckyChance: _luckyChance,
            isLuckyEnabled: true,
            isBoostEnabled: true
        }));
    }

    // Update the given pool's MARS allocation point and deposit fee. Can only be called by the owner.
    function set(
        uint256 _pid, 
        uint256 _allocPoint, 
        uint16 _depositFeeBP, 
        uint256 _harvestInterval, 
        bool _withUpdate,
        uint256 _luckyFee,
        uint256 _luckyChance
        ) public onlyOwner {
        require(_depositFeeBP <= 10000, "set: invalid deposit fee basis points");
        require(_harvestInterval <= MAXIMUM_HARVEST_INTERVAL, "set: invalid harvest interval");
        require(_luckyFee <= 100, "set: _luckyFee bigger than 100");
        require(_luckyChance <= 100, "set: _luckyChance bigger than 100");

        if (_withUpdate) {
            massUpdatePools();
        }
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint);
        poolInfo[_pid].allocPoint = _allocPoint;
        poolInfo[_pid].depositFeeBP = _depositFeeBP;
        poolInfo[_pid].harvestInterval = _harvestInterval;
        poolInfo[_pid].luckyFee = _luckyFee;
        poolInfo[_pid].luckyChance = _luckyChance;
    }

    // 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 MARSs on frontend.
    function pendingMars(uint256 _pid, address _user) public view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accMarsPerShare = pool.accMarsPerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (block.number > pool.lastRewardBlock && lpSupply != 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
            uint256 marsReward = multiplier.mul(marsPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
            accMarsPerShare = accMarsPerShare.add(marsReward.mul(1e12).div(lpSupply));
        }
        uint256 pending = user.amount.mul(accMarsPerShare).div(1e12).sub(user.rewardDebt);

        if (pool.isBoostEnabled) {
          pending = pending.mul(user.boost).div(100);
        }

        return pending.add(user.rewardLockedUp);
    }

    // View function to see if user can harvest MARSs.
    function canHarvest(uint256 _pid, address _user) public view returns (bool) {
        UserInfo storage user = userInfo[_pid][_user];
        return block.timestamp >= user.nextHarvestUntil;
    }

    // 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 marsReward = multiplier.mul(marsPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
        mars.mint(devAddress, marsReward.div(10));
        mars.mint(address(this), marsReward);
        pool.accMarsPerShare = pool.accMarsPerShare.add(marsReward.mul(1e12).div(lpSupply));
        pool.lastRewardBlock = block.number;
    }

    // Deposit LP tokens to MasterChef for MARS allocation.
    function deposit(uint256 _pid, uint256 _amount, bool _boost) public nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updatePool(_pid);
        
        if (user.boost == 0) {
          user.boost = 100;
        }

        payOrLockupPendingMars(_pid, _boost);
        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);
            } else {
                user.amount = user.amount.add(_amount);
            }
        }
        user.rewardDebt = user.amount.mul(pool.accMarsPerShare).div(1e12);
        emit Deposit(msg.sender, _pid, _amount);
    }

    // Withdraw LP tokens from MasterChef.
    function withdraw(uint256 _pid, uint256 _amount) public nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool(_pid);
        payOrLockupPendingMars(_pid, false);
        if (_amount > 0) {
            user.amount = user.amount.sub(_amount);
            pool.lpToken.safeTransfer(address(msg.sender), _amount);
        }
        user.rewardDebt = user.amount.mul(pool.accMarsPerShare).div(1e12);
        emit Withdraw(msg.sender, _pid, _amount);
    }

    // Withdraw without caring about rewards. EMERGENCY ONLY.
    function emergencyWithdraw(uint256 _pid) public nonReentrant {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        uint256 amount = user.amount;
        user.amount = 0;
        user.rewardDebt = 0;
        user.rewardLockedUp = 0;
        user.nextHarvestUntil = 0;
        pool.lpToken.safeTransfer(address(msg.sender), amount);
        emit EmergencyWithdraw(msg.sender, _pid, amount);
    }

    // Pay or lockup pending MARSs.
    function payOrLockupPendingMars(uint256 _pid, bool _boost) internal {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        if (user.nextHarvestUntil == 0) {
            user.nextHarvestUntil = block.timestamp.add(pool.harvestInterval);
        }

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

        if (pool.isBoostEnabled) {
          pending = pending.mul(user.boost).div(100);
        }

        if (canHarvest(_pid, msg.sender)) {
            if (pending > 0 || user.rewardLockedUp > 0) {                
                uint256 totalRewards = pending.add(user.rewardLockedUp);

                // reset lockup
                totalLockedUpRewards = totalLockedUpRewards.sub(user.rewardLockedUp);
                user.rewardLockedUp = 0;
                user.nextHarvestUntil = block.timestamp.add(pool.harvestInterval);
                
                if (_boost && pool.isBoostEnabled) {
                    //update user boost
                    user.boost = user.boost.add(userBoostAmount);
                    safeMarsTransfer(DEAD_TOKENS, totalRewards.mul(100).div(user.boost));
                    emit Boost(msg.sender, _pid, user.boost);
                } else { 
                    if (user.boost > 100 && pool.isBoostEnabled) {
                      uint256 notBoostedTotalRewards = totalRewards.mul(100).div(user.boost);
                      uint256 boostedTotalRewards = totalRewards.sub(notBoostedTotalRewards);
                      totalBoostedtokens = totalBoostedtokens.add(boostedTotalRewards);
                      mars.mint(msg.sender, boostedTotalRewards);
                      safeMarsTransfer(msg.sender, notBoostedTotalRewards);                  
                      emit Harvest(msg.sender, _pid, boostedTotalRewards.add(notBoostedTotalRewards));
                    } else {
                      safeMarsTransfer(msg.sender, totalRewards);
                      emit Harvest(msg.sender, _pid, totalRewards);
                    }
                }
            }
        } else if (pending > 0) {
            if (user.boost > 100 && pool.isBoostEnabled) {
              pending = pending.mul(100).div(user.boost); // Locked rewards should not be boosted
            }
            user.rewardLockedUp = user.rewardLockedUp.add(pending);
            totalLockedUpRewards = totalLockedUpRewards.add(pending);
            emit RewardLockedUp(msg.sender, _pid, pending);
        }
    }

    // Safe mars transfer function, just in case if rounding error causes pool to not have enough MARSs.
    function safeMarsTransfer(address _to, uint256 _amount) internal {
        uint256 marsBal = mars.balanceOf(address(this));
        if (_amount > marsBal) {
            mars.transfer(_to, marsBal);
        } else {
            mars.transfer(_to, _amount);
        }
    }

    // Update userBoostAmount
    function setUserBoostAmount(uint256 _userBoostAmount) public {
        require(msg.sender == devAddress, "setUserBoostAmount: FORBIDDEN");
        userBoostAmount = _userBoostAmount;
    }

    // Update dev address by the previous dev.
    function setDevAddress(address _devAddress) public {
        require(msg.sender == devAddress, "setDevAddress: FORBIDDEN");
        require(_devAddress != address(0), "setDevAddress: ZERO");
        devAddress = _devAddress;
    }

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

    // Reduce emission rate
    function updateEmissionRate() public {
        require(block.number > startBlock, "updateEmissionRate: Can only be called after mining starts");
        require(marsPerBlock > MINIMUM_EMISSION_RATE, "updateEmissionRate: Emission rate has reached the minimum threshold");

        uint256 currentIndex = block.number.sub(startBlock).div(EMISSION_REDUCTION_PERIOD_BLOCKS);
        if (currentIndex <= lastReductionPeriodIndex) {
            return;
        }

        uint256 newEmissionRate = marsPerBlock;
        for (uint256 index = lastReductionPeriodIndex; index < currentIndex; ++index) {
            newEmissionRate = newEmissionRate.mul(1e4 - EMISSION_REDUCTION_RATE_PER_PERIOD).div(1e4);
        }

        newEmissionRate = newEmissionRate < MINIMUM_EMISSION_RATE ? MINIMUM_EMISSION_RATE : newEmissionRate;
        if (newEmissionRate >= marsPerBlock) {
            return;
        }

        massUpdatePools();
        lastReductionPeriodIndex = currentIndex;
        uint256 previousEmissionRate = marsPerBlock;
        marsPerBlock = newEmissionRate;
        emit EmissionRateUpdated(msg.sender, previousEmissionRate, newEmissionRate);
    }

    function generateRandomNumber (uint256 _externalRandomNumber) internal returns(uint256) {
      uint256 _randomNumber;
      bytes32 _blockhash;
      bytes32 _structHash;

      _blockhash = blockhash(block.number - 1);

      _structHash = keccak256(
          abi.encode(
              _blockhash,
              160000,
              _externalRandomNumber
          )
      );
      _randomNumber  = uint256(_structHash);
      assembly {_randomNumber := add(mod(_randomNumber, 100),1)}
      return _randomNumber;
    }

    function lucky (uint256 _pid, uint256 _externalRandomNumber) public nonReentrant {
      require(canHarvest(_pid, msg.sender) == false, 'lucky: You can only use lucky on harvestlock');
      PoolInfo storage pool = poolInfo[_pid];
      require(pool.isLuckyEnabled, 'lucky: lucky feature disabled');
      UserInfo storage user = userInfo[_pid][msg.sender];
      require(user.amount > 0, 'lucky: You can only use lucky if staked amount is bigger than 0');

      updatePool(_pid);
      uint256 pending = pendingMars(_pid, msg.sender);
      require(pending > 0, 'lucky: You can only use lucky if peding rewards are bigger than 0');

      uint256 luckyFeeAmount = pending.mul(pool.luckyFee).div(100);
      pending = pending.sub(luckyFeeAmount);

      if (user.boost > 100 && pool.isBoostEnabled) {
        luckyFeeAmount = luckyFeeAmount.mul(100).div(user.boost);
      }

      if (pool.luckyChance >= generateRandomNumber(_externalRandomNumber)) {
        // Mint Excess of boosted tokens
        if (user.boost > 100 && pool.isBoostEnabled) {
          uint256 notBoostedTotalRewards = pending.mul(100).div(user.boost);
          uint256 excessBoostedTotalRewards = pending.sub(notBoostedTotalRewards);
          totalBoostedtokens = totalBoostedtokens.add(excessBoostedTotalRewards);
          mars.mint(msg.sender, excessBoostedTotalRewards);
          safeMarsTransfer(msg.sender, notBoostedTotalRewards);
        } else {
          safeMarsTransfer(msg.sender, pending);
        }

        totalLockedUpRewards = totalLockedUpRewards.sub(user.rewardLockedUp);

        emit Lucky(msg.sender, _pid, pending);
        user.rewardLockedUp = 0;
        user.nextHarvestUntil = block.timestamp.add(pool.harvestInterval);
      } else {
        if (user.boost > 100 && pool.isBoostEnabled) {
          pending = pending.mul(100).div(user.boost); // Locked rewards should not be boosted
        }
        totalLockedUpRewards = totalLockedUpRewards.add(pending).sub(user.rewardLockedUp);
        user.rewardLockedUp = pending;
        emit LuckyTry(msg.sender, _pid, luckyFeeAmount);
      }
    
      // Burn Fees
      safeMarsTransfer(DEAD_TOKENS, luckyFeeAmount);
      user.rewardDebt = user.amount.mul(pool.accMarsPerShare).div(1e12);
    }

    function setPoolLucky (uint256 _pid, bool _isLuckyEnabled) public onlyOwner {
      PoolInfo storage pool = poolInfo[_pid];
      pool.isLuckyEnabled = _isLuckyEnabled;
    }

    function setPoolBoost (uint256 _pid, bool _isBoostEnabled) public onlyOwner {
      PoolInfo storage pool = poolInfo[_pid];
      pool.isBoostEnabled = _isBoostEnabled;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract MarsToken","name":"_mars","type":"address"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_marsPerBlock","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":"userBoost","type":"uint256"}],"name":"Boost","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":"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":"caller","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"EmissionRateUpdated","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":"amountHarvest","type":"uint256"}],"name":"Harvest","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":"luckyAmount","type":"uint256"}],"name":"Lucky","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":"luckyTryAmount","type":"uint256"}],"name":"LuckyTry","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":"amountLockedUp","type":"uint256"}],"name":"RewardLockedUp","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"error","type":"uint256"}],"name":"RoundingError","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":[],"name":"DEAD_TOKENS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EMISSION_REDUCTION_PERIOD_BLOCKS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EMISSION_REDUCTION_RATE_PER_PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INITIAL_EMISSION_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAXIMUM_HARVEST_INTERVAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINIMUM_EMISSION_RATE","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":"_harvestInterval","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"internalType":"uint256","name":"_luckyFee","type":"uint256"},{"internalType":"uint256","name":"_luckyChance","type":"uint256"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"canHarvest","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"_boost","type":"bool"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"lastReductionPeriodIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_externalRandomNumber","type":"uint256"}],"name":"lucky","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mars","outputs":[{"internalType":"contract MarsToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marsPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"pendingMars","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":"accMarsPerShare","type":"uint256"},{"internalType":"uint16","name":"depositFeeBP","type":"uint16"},{"internalType":"uint256","name":"harvestInterval","type":"uint256"},{"internalType":"uint256","name":"luckyFee","type":"uint256"},{"internalType":"uint256","name":"luckyChance","type":"uint256"},{"internalType":"bool","name":"isLuckyEnabled","type":"bool"},{"internalType":"bool","name":"isBoostEnabled","type":"bool"}],"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":"_harvestInterval","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"internalType":"uint256","name":"_luckyFee","type":"uint256"},{"internalType":"uint256","name":"_luckyChance","type":"uint256"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devAddress","type":"address"}],"name":"setDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddress","type":"address"}],"name":"setFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"bool","name":"_isBoostEnabled","type":"bool"}],"name":"setPoolBoost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"bool","name":"_isLuckyEnabled","type":"bool"}],"name":"setPoolLucky","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_userBoostAmount","type":"uint256"}],"name":"setUserBoostAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBoostedtokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalLockedUpRewards","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":[],"name":"updateEmissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"userBoostAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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"},{"internalType":"uint256","name":"rewardLockedUp","type":"uint256"},{"internalType":"uint256","name":"nextHarvestUntil","type":"uint256"},{"internalType":"uint256","name":"boost","type":"uint256"},{"internalType":"uint256","name":"luckyFeeAmount","type":"uint256"},{"internalType":"bool","name":"isLucky","type":"bool"},{"internalType":"bool","name":"luckyTry","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526032600655600060075560006008556000600b553480156200002557600080fd5b50604051620048bd380380620048bd833981810160405260608110156200004b57600080fd5b810190808051906020019092919080519060200190929190805190602001909291905050506000620000826200020960201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506001808190555082600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600c81905550670de0b6b3a764000060058190555033600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555033600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505062000211565b600033905090565b61469c80620002216000396000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c80637181babb1161013b578063b3b17c25116100b8578063d4adafdf1161007c578063d4adafdf14610a13578063de73149d14610a31578063f2fde38b14610a4f578063f3cf632c14610a93578063f8fb98e714610ab157610248565b8063b3b17c25146108a5578063b7eee1f114610915578063c8133ee814610933578063ce56fa051461096d578063d0d41fe1146109cf57610248565b806391bb809c116100ff57806391bb809c1461078457806393f1a40b146107a25780639d677ec114610839578063a83d951c14610843578063aa6637dd1461087157610248565b80637181babb1461061c5780638705fcd4146106a25780638aa28550146106e65780638da5cb5b146107045780638dbb1e3a1461073857610248565b8063441a3e70116101c95780635312ea8e1161018d5780635312ea8e1461059e57806361e0c468146105cc578063630b5ba1146105ea5780636a9a7660146105f4578063715018a61461061257610248565b8063441a3e70146104c2578063474fa630146104fa5780634808571a1461051857806348cd4cb11461055257806351eb05a61461057057610248565b80632e6c998d116102105780632e6c998d1461037a57806336f1a102146103de5780633ad10ef614610416578063412753581461044a57806343a0d0661461047e57610248565b8063081e3eda1461024d57806310ace70b1461026b5780631526fe271461028957806316161e381461032857806317caf6f11461035c575b600080fd5b610255610acf565b6040518082815260200191505060405180910390f35b610273610adc565b6040518082815260200191505060405180910390f35b6102b56004803603602081101561029f57600080fd5b8101908080359060200190929190505050610ae2565b604051808b73ffffffffffffffffffffffffffffffffffffffff1681526020018a81526020018981526020018881526020018761ffff168152602001868152602001858152602001848152602001831515815260200182151581526020019a505050505050505050505060405180910390f35b610330610b8b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610364610b91565b6040518082815260200191505060405180910390f35b6103c66004803603604081101561039057600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b97565b60405180821515815260200191505060405180910390f35b610414600480360360408110156103f457600080fd5b810190808035906020019092919080359060200190929190505050610bfd565b005b61041e61126f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610452611295565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104c06004803603606081101561049457600080fd5b8101908080359060200190929190803590602001909291908035151590602001909291905050506112bb565b005b6104f8600480360360408110156104d857600080fd5b8101908080359060200190929190803590602001909291905050506115f4565b005b610502611884565b6040518082815260200191505060405180910390f35b6105506004803603604081101561052e57600080fd5b810190808035906020019092919080351515906020019092919050505061188a565b005b61055a611979565b6040518082815260200191505060405180910390f35b61059c6004803603602081101561058657600080fd5b810190808035906020019092919050505061197f565b005b6105ca600480360360208110156105b457600080fd5b8101908080359060200190929190505050611cda565b005b6105d4611eaa565b6040518082815260200191505060405180910390f35b6105f2611eb6565b005b6105fc611ee3565b6040518082815260200191505060405180910390f35b61061a611ee9565b005b6106a0600480360360e081101561063257600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803561ffff169060200190929190803590602001909291908035151590602001909291908035906020019092919080359060200190929190505050612056565b005b6106e4600480360360208110156106b857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612473565b005b6106ee61261d565b6040518082815260200191505060405180910390f35b61070c612622565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61076e6004803603604081101561074e57600080fd5b81019080803590602001909291908035906020019092919050505061264b565b6040518082815260200191505060405180910390f35b61078c61267b565b6040518082815260200191505060405180910390f35b6107ee600480360360408110156107b857600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612687565b60405180898152602001888152602001878152602001868152602001858152602001848152602001831515815260200182151581526020019850505050505050505060405180910390f35b6108416126f6565b005b61086f6004803603602081101561085957600080fd5b81019080803590602001909291905050506128ea565b005b6108796129b7565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610913600480360360e08110156108bb57600080fd5b810190808035906020019092919080359060200190929190803561ffff1690602001909291908035906020019092919080351515906020019092919080359060200190929190803590602001909291905050506129dd565b005b61091d612d5d565b6040518082815260200191505060405180910390f35b61096b6004803603604081101561094957600080fd5b8101908080359060200190929190803515159060200190929190505050612d62565b005b6109b96004803603604081101561098357600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612e51565b6040518082815260200191505060405180910390f35b610a11600480360360208110156109e557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506130f7565b005b610a1b6132a1565b6040518082815260200191505060405180910390f35b610a396132a8565b6040518082815260200191505060405180910390f35b610a9160048036036020811015610a6557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506132af565b005b610a9b6134a1565b6040518082815260200191505060405180910390f35b610ab96134a7565b6040518082815260200191505060405180910390f35b6000600980549050905090565b60055481565b60098181548110610aef57fe5b90600052602060002090600902016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040160009054906101000a900461ffff16908060050154908060060154908060070154908060080160009054906101000a900460ff16908060080160019054906101000a900460ff1690508a565b61dead81565b600b5481565b600080600a600085815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050806003015442101591505092915050565b60026001541415610c76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260018190555060001515610c8c8333610b97565b151514610ce4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614490602c913960400191505060405180910390fd5b600060098381548110610cf357fe5b906000526020600020906009020190508060080160009054906101000a900460ff16610d87576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f6c75636b793a206c75636b7920666561747572652064697361626c656400000081525060200191505060405180910390fd5b6000600a600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000816000015411610e38576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603f8152602001806145e6603f913960400191505060405180910390fd5b610e418461197f565b6000610e4d8533612e51565b905060008111610ea8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260418152602001806144bc6041913960600191505060405180910390fd5b6000610ed46064610ec68660060154856134ad90919063ffffffff16565b61353390919063ffffffff16565b9050610ee981836135bc90919063ffffffff16565b915060648360040154118015610f0d57508360080160019054906101000a900460ff165b15610f3f57610f3c8360040154610f2e6064846134ad90919063ffffffff16565b61353390919063ffffffff16565b90505b610f488561363f565b84600701541061113c5760648360040154118015610f7457508360080160019054906101000a900460ff165b15611095576000610fa58460040154610f976064866134ad90919063ffffffff16565b61353390919063ffffffff16565b90506000610fbc82856135bc90919063ffffffff16565b9050610fd3816007546136a290919063ffffffff16565b600781905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1933836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561106c57600080fd5b505af1158015611080573d6000803e3d6000fd5b5050505061108e338361372a565b50506110a0565b61109f338361372a565b5b6110b98360020154600d546135bc90919063ffffffff16565b600d81905550853373ffffffffffffffffffffffffffffffffffffffff167f1eee37855ad912eb1f050db1e0d1eccea0f1879b34a9794e247d181a0c1e061b846040518082815260200191505060405180910390a36000836002018190555061112f8460050154426136a290919063ffffffff16565b836003018190555061121a565b6064836004015411801561115e57508360080160019054906101000a900460ff165b156111905761118d836004015461117f6064856134ad90919063ffffffff16565b61353390919063ffffffff16565b91505b6111bb83600201546111ad84600d546136a290919063ffffffff16565b6135bc90919063ffffffff16565b600d81905550818360020181905550853373ffffffffffffffffffffffffffffffffffffffff167f3f3a411254b6e71dc34f19ea23e5eac3cbabe139cbb89de28ce27577ef991013836040518082815260200191505060405180910390a35b61122661dead8261372a565b61125864e8d4a5100061124a866003015486600001546134ad90919063ffffffff16565b61353390919063ffffffff16565b836001018190555050505050600180819055505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60026001541415611334576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260018190555060006009848154811061134b57fe5b906000526020600020906009020190506000600a600086815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506113b88561197f565b6000816004015414156113d057606481600401819055505b6113da85846139a3565b600084111561155d576114343330868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613f20909392919063ffffffff16565b60008260040160009054906101000a900461ffff1661ffff16111561153c5760006114926127106114848560040160009054906101000a900461ffff1661ffff16886134ad90919063ffffffff16565b61353390919063ffffffff16565b9050611505600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613fe19092919063ffffffff16565b61152e816115208785600001546136a290919063ffffffff16565b6135bc90919063ffffffff16565b82600001819055505061155c565b6115538482600001546136a290919063ffffffff16565b81600001819055505b5b61158f64e8d4a51000611581846003015484600001546134ad90919063ffffffff16565b61353390919063ffffffff16565b8160010181905550843373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15866040518082815260200191505060405180910390a3505060018081905550505050565b6002600154141561166d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260018190555060006009838154811061168457fe5b906000526020600020906009020190506000600a600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508281600001541015611762576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b61176b8461197f565b6117768460006139a3565b60008311156117ee576117968382600001546135bc90919063ffffffff16565b81600001819055506117ed33848460000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613fe19092919063ffffffff16565b5b61182064e8d4a51000611812846003015484600001546134ad90919063ffffffff16565b61353390919063ffffffff16565b8160010181905550833373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568856040518082815260200191505060405180910390a35050600180819055505050565b600d5481565b611892614083565b73ffffffffffffffffffffffffffffffffffffffff166118b0612622565b73ffffffffffffffffffffffffffffffffffffffff1614611939576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60006009838154811061194857fe5b90600052602060002090600902019050818160080160006101000a81548160ff021916908315150217905550505050565b600c5481565b60006009828154811061198e57fe5b90600052602060002090600902019050806002015443116119af5750611cd7565b60008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611a3c57600080fd5b505afa158015611a50573d6000803e3d6000fd5b505050506040513d6020811015611a6657600080fd5b810190808051906020019092919050505090506000811480611a8c575060008260010154145b15611aa1574382600201819055505050611cd7565b6000611ab183600201544361264b565b90506000611af4600b54611ae68660010154611ad8600554876134ad90919063ffffffff16565b6134ad90919063ffffffff16565b61353390919063ffffffff16565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611b6b600a8561353390919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015611bbe57600080fd5b505af1158015611bd2573d6000803e3d6000fd5b50505050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015611c6957600080fd5b505af1158015611c7d573d6000803e3d6000fd5b50505050611cc1611cae84611ca064e8d4a51000856134ad90919063ffffffff16565b61353390919063ffffffff16565b85600301546136a290919063ffffffff16565b8460030181905550438460020181905550505050505b50565b60026001541415611d53576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600181905550600060098281548110611d6a57fe5b906000526020600020906009020190506000600a600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160000154905060008260000181905550600082600101819055506000826002018190555060008260030181905550611e4e33828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16613fe19092919063ffffffff16565b833373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595836040518082815260200191505060405180910390a35050506001808190555050565b67058d15e17628000081565b6000600980549050905060005b81811015611edf57611ed48161197f565b806001019050611ec3565b5050565b60085481565b611ef1614083565b73ffffffffffffffffffffffffffffffffffffffff16611f0f612622565b73ffffffffffffffffffffffffffffffffffffffff1614611f98576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b61205e614083565b73ffffffffffffffffffffffffffffffffffffffff1661207c612622565b73ffffffffffffffffffffffffffffffffffffffff1614612105576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6127108561ffff161115612164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602581526020018061441b6025913960400191505060405180910390fd5b621275008411156121dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f6164643a20696e76616c6964206861727665737420696e74657276616c00000081525060200191505060405180910390fd5b60648210612253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f6164643a205f6c75636b7946656520626967676572207468616e20313030000081525060200191505060405180910390fd5b606481106122ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806146256021913960400191505060405180910390fd5b82156122bb576122ba611eb6565b5b6000600c5443116122ce57600c546122d0565b435b90506122e788600b546136a290919063ffffffff16565b600b8190555060096040518061014001604052808973ffffffffffffffffffffffffffffffffffffffff1681526020018a8152602001838152602001600081526020018861ffff16815260200187815260200185815260200184815260200160011515815260200160011515815250908060018154018082558091505060019003906000526020600020906009020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548161ffff021916908361ffff16021790555060a0820151816005015560c0820151816006015560e082015181600701556101008201518160080160006101000a81548160ff0219169083151502179055506101208201518160080160016101000a81548160ff02191690831515021790555050505050505050505050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612536576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f736574466565416464726573733a20464f5242494444454e000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156125d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f736574466565416464726573733a205a45524f0000000000000000000000000081525060200191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600181565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000612673600161266585856135bc90919063ffffffff16565b6134ad90919063ffffffff16565b905092915050565b670de0b6b3a764000081565b600a602052816000526040600020602052806000526040600020600091509150508060000154908060010154908060020154908060030154908060040154908060050154908060060160009054906101000a900460ff16908060060160019054906101000a900460ff16905088565b600c544311612750576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603a815260200180614569603a913960400191505060405180910390fd5b67058d15e176280000600554116127b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260438152602001806145a36043913960600191505060405180910390fd5b60006127de620151806127d0600c54436135bc90919063ffffffff16565b61353390919063ffffffff16565b905060085481116127ef57506128e8565b60006005549050600060085490505b8281101561283f57612832612710612824606461271003856134ad90919063ffffffff16565b61353390919063ffffffff16565b91508060010190506127fe565b5067058d15e1762800008110612855578061285f565b67058d15e1762800005b905060055481106128715750506128e8565b612879611eb6565b8160088190555060006005549050816005819055503373ffffffffffffffffffffffffffffffffffffffff167feedc6338c9c1ad8f3cd6c90dd09dbe98dbd57e610d3e59a17996d07acb0d95118284604051808381526020018281526020019250505060405180910390a25050505b565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146129ad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f73657455736572426f6f7374416d6f756e743a20464f5242494444454e00000081525060200191505060405180910390fd5b8060068190555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6129e5614083565b73ffffffffffffffffffffffffffffffffffffffff16612a03612622565b73ffffffffffffffffffffffffffffffffffffffff1614612a8c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6127108561ffff161115612aeb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806145446025913960400191505060405180910390fd5b62127500841115612b64576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f7365743a20696e76616c6964206861727665737420696e74657276616c00000081525060200191505060405180910390fd5b6064821115612bdb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f7365743a205f6c75636b7946656520626967676572207468616e20313030000081525060200191505060405180910390fd5b6064811115612c35576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806146466021913960400191505060405180910390fd5b8215612c4457612c43611eb6565b5b612c8986612c7b60098a81548110612c5857fe5b906000526020600020906009020160010154600b546135bc90919063ffffffff16565b6136a290919063ffffffff16565b600b819055508560098881548110612c9d57fe5b9060005260206000209060090201600101819055508460098881548110612cc057fe5b906000526020600020906009020160040160006101000a81548161ffff021916908361ffff1602179055508360098881548110612cf957fe5b9060005260206000209060090201600501819055508160098881548110612d1c57fe5b9060005260206000209060090201600601819055508060098881548110612d3f57fe5b90600052602060002090600902016007018190555050505050505050565b606481565b612d6a614083565b73ffffffffffffffffffffffffffffffffffffffff16612d88612622565b73ffffffffffffffffffffffffffffffffffffffff1614612e11576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600060098381548110612e2057fe5b90600052602060002090600902019050818160080160016101000a81548160ff021916908315150217905550505050565b60008060098481548110612e6157fe5b906000526020600020906009020190506000600a600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612f5b57600080fd5b505afa158015612f6f573d6000803e3d6000fd5b505050506040513d6020811015612f8557600080fd5b81019080805190602001909291905050509050836002015443118015612fac575060008114155b15613047576000612fc185600201544361264b565b90506000613004600b54612ff68860010154612fe8600554876134ad90919063ffffffff16565b6134ad90919063ffffffff16565b61353390919063ffffffff16565b90506130426130338461302564e8d4a51000856134ad90919063ffffffff16565b61353390919063ffffffff16565b856136a290919063ffffffff16565b935050505b600061308d846001015461307f64e8d4a510006130718789600001546134ad90919063ffffffff16565b61353390919063ffffffff16565b6135bc90919063ffffffff16565b90508460080160019054906101000a900460ff16156130d3576130d060646130c28660040154846134ad90919063ffffffff16565b61353390919063ffffffff16565b90505b6130ea8460020154826136a290919063ffffffff16565b9550505050505092915050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146131ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f736574446576416464726573733a20464f5242494444454e000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561325d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f736574446576416464726573733a205a45524f0000000000000000000000000081525060200191505060405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6201518081565b6212750081565b6132b7614083565b73ffffffffffffffffffffffffffffffffffffffff166132d5612622565b73ffffffffffffffffffffffffffffffffffffffff161461335e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156133e4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061446a6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60075481565b60065481565b6000808314156134c0576000905061352d565b60008284029050828482816134d157fe5b0414613528576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806145236021913960400191505060405180910390fd5b809150505b92915050565b60008082116135aa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b8183816135b357fe5b04905092915050565b600082821115613634576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b600080600080600143034091508162027100866040516020018084815260200183815260200182815260200193505050506040516020818303038152906040528051906020012090508060001c9250600160648406019250829350505050919050565b600080828401905083811015613720576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156137b557600080fd5b505afa1580156137c9573d6000803e3d6000fd5b505050506040513d60208110156137df57600080fd5b81019080805190602001909291905050509050808211156138ce57600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561388d57600080fd5b505af11580156138a1573d6000803e3d6000fd5b505050506040513d60208110156138b757600080fd5b81019080805190602001909291905050505061399e565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561396157600080fd5b505af1158015613975573d6000803e3d6000fd5b505050506040513d602081101561398b57600080fd5b8101908080519060200190929190505050505b505050565b6000600983815481106139b257fe5b906000526020600020906009020190506000600a600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600301541415613a4357613a3a8260050154426136a290919063ffffffff16565b81600301819055505b6000613a8d8260010154613a7f64e8d4a51000613a71876003015487600001546134ad90919063ffffffff16565b61353390919063ffffffff16565b6135bc90919063ffffffff16565b90508260080160019054906101000a900460ff1615613ad357613ad06064613ac28460040154846134ad90919063ffffffff16565b61353390919063ffffffff16565b90505b613add8533610b97565b15613e31576000811180613af5575060008260020154115b15613e2c576000613b138360020154836136a290919063ffffffff16565b9050613b2e8360020154600d546135bc90919063ffffffff16565b600d8190555060008360020181905550613b558460050154426136a290919063ffffffff16565b8360030181905550848015613b7857508360080160019054906101000a900460ff165b15613c2b57613b9660065484600401546136a290919063ffffffff16565b8360040181905550613bd361dead613bce8560040154613bc06064866134ad90919063ffffffff16565b61353390919063ffffffff16565b61372a565b853373ffffffffffffffffffffffffffffffffffffffff167faadc628cb4fd3bb7a62795eb460290459458bdc6f387ffde727c740f42c1833785600401546040518082815260200191505060405180910390a3613e2a565b60648360040154118015613c4d57508360080160019054906101000a900460ff165b15613dcf576000613c7e8460040154613c706064856134ad90919063ffffffff16565b61353390919063ffffffff16565b90506000613c9582846135bc90919063ffffffff16565b9050613cac816007546136a290919063ffffffff16565b600781905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1933836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015613d4557600080fd5b505af1158015613d59573d6000803e3d6000fd5b50505050613d67338361372a565b873373ffffffffffffffffffffffffffffffffffffffff167f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae0660924954613db385856136a290919063ffffffff16565b6040518082815260200191505060405180910390a35050613e29565b613dd9338261372a565b853373ffffffffffffffffffffffffffffffffffffffff167f71bab65ced2e5750775a0613be067df48ef06cf92a496ebf7663ae0660924954836040518082815260200191505060405180910390a35b5b505b613f19565b6000811115613f185760648260040154118015613e5c57508260080160019054906101000a900460ff165b15613e8e57613e8b8260040154613e7d6064846134ad90919063ffffffff16565b61353390919063ffffffff16565b90505b613ea58183600201546136a290919063ffffffff16565b8260020181905550613ec281600d546136a290919063ffffffff16565b600d81905550843373ffffffffffffffffffffffffffffffffffffffff167fee470483107f579a55c754fa00613c45a9a3b617a418b39cb0be97e5381ba7c1836040518082815260200191505060405180910390a35b5b5050505050565b613fdb846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061408b565b50505050565b61407e8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061408b565b505050565b600033905090565b60606140ed826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661417a9092919063ffffffff16565b90506000815111156141755780806020019051602081101561410e57600080fd5b8101908080519060200190929190505050614174576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614440602a913960400191505060405180910390fd5b5b505050565b60606141898484600085614192565b90509392505050565b6060824710156141ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806144fd6026913960400191505060405180910390fd5b6141f68561433b565b614268576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106142b85780518252602082019150602081019050602083039250614295565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461431a576040519150601f19603f3d011682016040523d82523d6000602084013e61431f565b606091505b509150915061432f82828661434e565b92505050949350505050565b600080823b905060008111915050919050565b6060831561435e57829050614413565b6000835111156143715782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156143d85780820151818401526020810190506143bd565b50505050905090810190601f1680156144055780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe6164643a20696e76616c6964206465706f7369742066656520626173697320706f696e74735361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573736c75636b793a20596f752063616e206f6e6c7920757365206c75636b79206f6e20686172766573746c6f636b6c75636b793a20596f752063616e206f6e6c7920757365206c75636b7920696620706564696e6720726577617264732061726520626967676572207468616e2030416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777365743a20696e76616c6964206465706f7369742066656520626173697320706f696e7473757064617465456d697373696f6e526174653a2043616e206f6e6c792062652063616c6c6564206166746572206d696e696e6720737461727473757064617465456d697373696f6e526174653a20456d697373696f6e207261746520686173207265616368656420746865206d696e696d756d207468726573686f6c646c75636b793a20596f752063616e206f6e6c7920757365206c75636b79206966207374616b656420616d6f756e7420697320626967676572207468616e20306164643a205f6c75636b794368616e636520626967676572207468616e203130307365743a205f6c75636b794368616e636520626967676572207468616e20313030a2646970667358221220aad8672bf3ac1c51b71461659654a4b7b372b4f513d4b64e699795251a24cbbb64736f6c634300060c0033000000000000000000000000de28e9317b98c9d4a6cf49e1dd1bb19df1f7a9880000000000000000000000000000000000000000000000000000000000772fbd0000000000000000000000000000000000000000000000000de0b6b3a7640000

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

000000000000000000000000de28e9317b98c9d4a6cf49e1dd1bb19df1f7a9880000000000000000000000000000000000000000000000000000000000772fbd0000000000000000000000000000000000000000000000000de0b6b3a7640000

-----Decoded View---------------
Arg [0] : _mars (address): 0xde28e9317b98c9d4a6cf49e1dd1bb19df1f7a988
Arg [1] : _startBlock (uint256): 7811005
Arg [2] : _marsPerBlock (uint256): 1000000000000000000

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000de28e9317b98c9d4a6cf49e1dd1bb19df1f7a988
Arg [1] : 0000000000000000000000000000000000000000000000000000000000772fbd
Arg [2] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000


Deployed ByteCode Sourcemap

48357:20693:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53328:95;;;:::i;:::-;;;;;;;;;;;;;;;;;;;50578:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;51737:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50814:80;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;51978:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;57236:198;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;66379:2298;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;50447:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;50507;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;58650:969;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;59671:613;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;52133:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;68685:177;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;52069:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;57773:808;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;60355:468;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;51295:58;;;:::i;:::-;;;;;;;;;;;;;;;;;;;57517:180;;;:::i;:::-;;51658:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;25455:148;;;:::i;:::-;;53592:1250;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;64375:234;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;50659:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24804:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;56041:143;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;51187:55;;;:::i;:::-;;;;;;;;;;;;;;;;;;;51819:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64646:1177;;;:::i;:::-;;63886:191;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;50398:21;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;54954:1011;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;51551:64;;;:::i;:::-;;;;;;;;;;;;;;;;;;;68870:177;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;56248:924;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;64133:234;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;51416:64;;;:::i;:::-;;;;;;;;;;;;;;;;;;;50749:58;;;:::i;:::-;;;;;;;;;;;;;;;;;;;25758:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;51096:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;51002:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;53328:95;53373:7;53400:8;:15;;;;53393:22;;53328:95;:::o;50578:27::-;;;;:::o;51737:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;50814:80::-;50852:42;50814:80;:::o;51978:34::-;;;;:::o;57236:198::-;57306:4;57323:21;57347:8;:14;57356:4;57347:14;;;;;;;;;;;:21;57362:5;57347:21;;;;;;;;;;;;;;;57323:45;;57405:4;:21;;;57386:15;:40;;57379:47;;;57236:198;;;;:::o;66379:2298::-;27759:1;28365:7;;:19;;28357:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27759:1;28498:7;:18;;;;66509:5:::1;66477:37;;:28;66488:4;66494:10;66477;:28::i;:::-;:37;;;66469:94;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66572:21;66596:8;66605:4;66596:14;;;;;;;;;;;;;;;;;;66572:38;;66627:4;:19;;;;;;;;;;;;66619:61;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;66689:21;66713:8;:14;66722:4;66713:14;;;;;;;;;;;:26;66728:10;66713:26;;;;;;;;;;;;;;;66689:50;;66770:1;66756:4;:11;;;:15;66748:91;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66850:16;66861:4;66850:10;:16::i;:::-;66875:15;66893:29;66905:4;66911:10;66893:11;:29::i;:::-;66875:47;;66949:1;66939:7;:11;66931:89;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67031:22;67056:35;67087:3;67056:26;67068:4;:13;;;67056:7;:11;;:26;;;;:::i;:::-;:30;;:35;;;;:::i;:::-;67031:60;;67110:27;67122:14;67110:7;:11;;:27;;;;:::i;:::-;67100:37;;67165:3;67152:4;:10;;;:16;:39;;;;;67172:4;:19;;;;;;;;;;;;67152:39;67148:122;;;67221:39;67249:4;:10;;;67221:23;67240:3;67221:14;:18;;:23;;;;:::i;:::-;:27;;:39;;;;:::i;:::-;67204:56;;67148:122;67304:43;67325:21;67304:20;:43::i;:::-;67284:4;:16;;;:63;67280:1236;;67419:3;67406:4;:10;;;:16;:39;;;;;67426:4;:19;;;;;;;;;;;;67406:39;67402:496;;;67460:30;67493:32;67514:4;:10;;;67493:16;67505:3;67493:7;:11;;:16;;;;:::i;:::-;:20;;:32;;;;:::i;:::-;67460:65;;67538:33;67574:35;67586:22;67574:7;:11;;:35;;;;:::i;:::-;67538:71;;67643:49;67666:25;67643:18;;:22;;:49;;;;:::i;:::-;67622:18;:70;;;;67705:4;;;;;;;;;;;:9;;;67715:10;67727:25;67705:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;67766:52;67783:10;67795:22;67766:16;:52::i;:::-;67402:496;;;;;67849:37;67866:10;67878:7;67849:16;:37::i;:::-;67402:496;67933:45;67958:4;:19;;;67933:20;;:24;;:45;;;;:::i;:::-;67910:20;:68;;;;68014:4;68002:10;67996:32;;;68020:7;67996:32;;;;;;;;;;;;;;;;;;68061:1;68039:4;:19;;:23;;;;68097:41;68117:4;:20;;;68097:15;:19;;:41;;;;:::i;:::-;68073:4;:21;;:65;;;;67280:1236;;;68182:3;68169:4;:10;;;:16;:39;;;;;68189:4;:19;;;;;;;;;;;;68169:39;68165:152;;;68233:32;68254:4;:10;;;68233:16;68245:3;68233:7;:11;;:16;;;;:::i;:::-;:20;;:32;;;;:::i;:::-;68223:42;;68165:152;68350:58;68388:4;:19;;;68350:33;68375:7;68350:20;;:24;;:33;;;;:::i;:::-;:37;;:58;;;;:::i;:::-;68327:20;:81;;;;68441:7;68419:4;:19;;:29;;;;68485:4;68473:10;68464:42;;;68491:14;68464:42;;;;;;;;;;;;;;;;;;67280:1236;68550:45;50852:42;68580:14;68550:16;:45::i;:::-;68622:47;68664:4;68622:37;68638:4;:20;;;68622:4;:11;;;:15;;:37;;;;:::i;:::-;:41;;:47;;;;:::i;:::-;68604:4;:15;;:65;;;;28529:1;;;;27715::::0;28677:7;:22;;;;66379:2298;;:::o;50447:25::-;;;;;;;;;;;;;:::o;50507:::-;;;;;;;;;;;;;:::o;58650:969::-;27759:1;28365:7;;:19;;28357:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27759:1;28498:7;:18;;;;58742:21:::1;58766:8;58775:4;58766:14;;;;;;;;;;;;;;;;;;58742:38;;58791:21;58815:8;:14;58824:4;58815:14;;;;;;;;;;;:26;58830:10;58815:26;;;;;;;;;;;;;;;58791:50;;58852:16;58863:4;58852:10;:16::i;:::-;58907:1;58893:4;:10;;;:15;58889:62;;;58936:3;58923:4;:10;;:16;;;;58889:62;58963:36;58986:4;58992:6;58963:22;:36::i;:::-;59024:1;59014:7;:11;59010:476;;;59042:74;59080:10;59101:4;59108:7;59042:4;:12;;;;;;;;;;;;:29;;;;:74;;;;;;:::i;:::-;59155:1;59135:4;:17;;;;;;;;;;;;:21;;;59131:344;;;59177:18;59198:41;59233:5;59198:30;59210:4;:17;;;;;;;;;;;;59198:30;;:7;:11;;:30;;;;:::i;:::-;:34;;:41;;;;:::i;:::-;59177:62;;59258:49;59284:10;;;;;;;;;;;59296;59258:4;:12;;;;;;;;;;;;:25;;;;:49;;;;;:::i;:::-;59340:40;59369:10;59340:24;59356:7;59340:4;:11;;;:15;;:24;;;;:::i;:::-;:28;;:40;;;;:::i;:::-;59326:4;:11;;:54;;;;59131:344;;;;59435:24;59451:7;59435:4;:11;;;:15;;:24;;;;:::i;:::-;59421:4;:11;;:38;;;;59131:344;59010:476;59514:47;59556:4;59514:37;59530:4;:20;;;59514:4;:11;;;:15;;:37;;;;:::i;:::-;:41;;:47;;;;:::i;:::-;59496:4;:15;;:65;;;;59597:4;59585:10;59577:34;;;59603:7;59577:34;;;;;;;;;;;;;;;;;;28529:1;;27715::::0;28677:7;:22;;;;58650:969;;;:::o;59671:613::-;27759:1;28365:7;;:19;;28357:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27759:1;28498:7;:18;;;;59751:21:::1;59775:8;59784:4;59775:14;;;;;;;;;;;;;;;;;;59751:38;;59800:21;59824:8;:14;59833:4;59824:14;;;;;;;;;;;:26;59839:10;59824:26;;;;;;;;;;;;;;;59800:50;;59884:7;59869:4;:11;;;:22;;59861:53;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;59925:16;59936:4;59925:10;:16::i;:::-;59952:35;59975:4;59981:5;59952:22;:35::i;:::-;60012:1;60002:7;:11;59998:152;;;60044:24;60060:7;60044:4;:11;;;:15;;:24;;;;:::i;:::-;60030:4;:11;;:38;;;;60083:55;60117:10;60130:7;60083:4;:12;;;;;;;;;;;;:25;;;;:55;;;;;:::i;:::-;59998:152;60178:47;60220:4;60178:37;60194:4;:20;;;60178:4;:11;;;:15;;:37;;;;:::i;:::-;:41;;:47;;;;:::i;:::-;60160:4;:15;;:65;;;;60262:4;60250:10;60241:35;;;60268:7;60241:35;;;;;;;;;;;;;;;;;;28529:1;;27715::::0;28677:7;:22;;;;59671:613;;:::o;52133:35::-;;;;:::o;68685:177::-;25035:12;:10;:12::i;:::-;25024:23;;:7;:5;:7::i;:::-;:23;;;25016:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68770:21:::1;68794:8;68803:4;68794:14;;;;;;;;;;;;;;;;;;68770:38;;68839:15;68817:4;:19;;;:37;;;;;;;;;;;;;;;;;;25095:1;68685:177:::0;;:::o;52069:25::-;;;;:::o;57773:808::-;57825:21;57849:8;57858:4;57849:14;;;;;;;;;;;;;;;;;;57825:38;;57894:4;:20;;;57878:12;:36;57874:75;;57931:7;;;57874:75;57959:16;57978:4;:12;;;;;;;;;;;;:22;;;58009:4;57978:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57959:56;;58042:1;58030:8;:13;:37;;;;58066:1;58047:4;:15;;;:20;58030:37;58026:126;;;58107:12;58084:4;:20;;:35;;;;58134:7;;;;58026:126;58162:18;58183:49;58197:4;:20;;;58219:12;58183:13;:49::i;:::-;58162:70;;58243:18;58264:70;58318:15;;58264:49;58297:4;:15;;;58264:28;58279:12;;58264:10;:14;;:28;;;;:::i;:::-;:32;;:49;;;;:::i;:::-;:53;;:70;;;;:::i;:::-;58243:91;;58345:4;;;;;;;;;;;:9;;;58355:10;;;;;;;;;;;58367:18;58382:2;58367:10;:14;;:18;;;;:::i;:::-;58345:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58397:4;;;;;;;;;;;:9;;;58415:4;58422:10;58397:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58467:60;58492:34;58517:8;58492:20;58507:4;58492:10;:14;;:20;;;;:::i;:::-;:24;;:34;;;;:::i;:::-;58467:4;:20;;;:24;;:60;;;;:::i;:::-;58444:4;:20;;:83;;;;58561:12;58538:4;:20;;:35;;;;57773:808;;;;;;:::o;60355:468::-;27759:1;28365:7;;:19;;28357:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27759:1;28498:7;:18;;;;60427:21:::1;60451:8;60460:4;60451:14;;;;;;;;;;;;;;;;;;60427:38;;60476:21;60500:8;:14;60509:4;60500:14;;;;;;;;;;;:26;60515:10;60500:26;;;;;;;;;;;;;;;60476:50;;60537:14;60554:4;:11;;;60537:28;;60590:1;60576:4;:11;;:15;;;;60620:1;60602:4;:15;;:19;;;;60654:1;60632:4;:19;;:23;;;;60690:1;60666:4;:21;;:25;;;;60702:54;60736:10;60749:6;60702:4;:12;;;;;;;;;;;;:25;;;;:54;;;;;:::i;:::-;60802:4;60790:10;60772:43;;;60808:6;60772:43;;;;;;;;;;;;;;;;;;28529:1;;;27715::::0;28677:7;:22;;;;60355:468;:::o;51295:58::-;51343:10;51295:58;:::o;57517:180::-;57562:14;57579:8;:15;;;;57562:32;;57610:11;57605:85;57633:6;57627:3;:12;57605:85;;;57663:15;57674:3;57663:10;:15::i;:::-;57641:5;;;;;57605:85;;;;57517:180;:::o;51658:43::-;;;;:::o;25455:148::-;25035:12;:10;:12::i;:::-;25024:23;;:7;:5;:7::i;:::-;:23;;;25016:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25562:1:::1;25525:40;;25546:6;::::0;::::1;;;;;;;;25525:40;;;;;;;;;;;;25593:1;25576:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;25455:148::o:0;53592:1250::-;25035:12;:10;:12::i;:::-;25024:23;;:7;:5;:7::i;:::-;:23;;;25016:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53891:5:::1;53874:13;:22;;;;53866:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50800:7;53957:16;:44;;53949:86;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;54066:3;54054:9;:15;54046:58;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;54138:3;54123:12;:18;54115:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54196:11;54192:61;;;54224:17;:15;:17::i;:::-;54192:61;54263:23;54304:10;;54289:12;:25;:53;;54332:10;;54289:53;;;54317:12;54289:53;54263:79;;54371:32;54391:11;54371:15;;:19;;:32;;;;:::i;:::-;54353:15;:50;;;;54414:8;54428:405;;;;;;;;54461:8;54428:405;;;;;;54496:11;54428:405;;;;54539:15;54428:405;;;;54586:1;54428:405;;;;54616:13;54428:405;;;;;;54661:16;54428:405;;;;54702:9;54428:405;;;;54739:12;54428:405;;;;54782:4;54428:405;;;;;;54817:4;54428:405;;;;::::0;54414:420:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25095:1;53592:1250:::0;;;;;;;:::o;64375:234::-;64459:10;;;;;;;;;;;64445:24;;:10;:24;;;64437:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64540:1;64517:25;;:11;:25;;;;64509:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64590:11;64577:10;;:24;;;;;;;;;;;;;;;;;;64375:234;:::o;50659:44::-;50702:1;50659:44;:::o;24804:87::-;24850:7;24877:6;;;;;;;;;;;24870:13;;24804:87;:::o;56041:143::-;56113:7;56140:36;50702:1;56140:14;56148:5;56140:3;:7;;:14;;;;:::i;:::-;:18;;:36;;;;:::i;:::-;56133:43;;56041:143;;;;:::o;51187:55::-;51235:7;51187:55;:::o;51819:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;64646:1177::-;64717:10;;64702:12;:25;64694:96;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51343:10;64809:12;;:36;64801:116;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64930:20;64953:66;51475:5;64953:28;64970:10;;64953:12;:16;;:28;;;;:::i;:::-;:32;;:66;;;;:::i;:::-;64930:89;;65050:24;;65034:12;:40;65030:79;;65091:7;;;65030:79;65121:23;65147:12;;65121:38;;65175:13;65191:24;;65175:40;;65170:193;65225:12;65217:5;:20;65170:193;;;65281:70;65347:3;65281:61;51612:3;65301;:40;65281:15;:19;;:61;;;;:::i;:::-;:65;;:70;;;;:::i;:::-;65263:88;;65239:7;;;;;65170:193;;;;51343:10;65393:15;:39;:81;;65459:15;65393:81;;;51343:10;65393:81;65375:99;;65508:12;;65489:15;:31;65485:70;;65537:7;;;;65485:70;65567:17;:15;:17::i;:::-;65622:12;65595:24;:39;;;;65645:28;65676:12;;65645:43;;65714:15;65699:12;:30;;;;65765:10;65745:70;;;65777:20;65799:15;65745:70;;;;;;;;;;;;;;;;;;;;;;;;64646:1177;;;;:::o;63886:191::-;63980:10;;;;;;;;;;;63966:24;;:10;:24;;;63958:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64053:16;64035:15;:34;;;;63886:191;:::o;50398:21::-;;;;;;;;;;;;;:::o;54954:1011::-;25035:12;:10;:12::i;:::-;25024:23;;:7;:5;:7::i;:::-;:23;;;25016:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55240:5:::1;55223:13;:22;;;;55215:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50800:7;55306:16;:44;;55298:86;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;55416:3;55403:9;:16;;55395:59;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;55489:3;55473:12;:19;;55465:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55547:11;55543:61;;;55575:17;:15;:17::i;:::-;55543:61;55632:63;55683:11;55632:46;55652:8;55661:4;55652:14;;;;;;;;;;;;;;;;;;:25;;;55632:15;;:19;;:46;;;;:::i;:::-;:50;;:63;;;;:::i;:::-;55614:15;:81;;;;55734:11;55706:8;55715:4;55706:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;55786:13;55756:8;55765:4;55756:14;;;;;;;;;;;;;;;;;;:27;;;:43;;;;;;;;;;;;;;;;;;55843:16;55810:8;55819:4;55810:14;;;;;;;;;;;;;;;;;;:30;;:49;;;;55896:9;55870:8;55879:4;55870:14;;;;;;;;;;;;;;;;;;:23;;:35;;;;55945:12;55916:8;55925:4;55916:14;;;;;;;;;;;;;;;;;;:26;;:41;;;;54954:1011:::0;;;;;;;:::o;51551:64::-;51612:3;51551:64;:::o;68870:177::-;25035:12;:10;:12::i;:::-;25024:23;;:7;:5;:7::i;:::-;:23;;;25016:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68955:21:::1;68979:8;68988:4;68979:14;;;;;;;;;;;;;;;;;;68955:38;;69024:15;69002:4;:19;;;:37;;;;;;;;;;;;;;;;;;25095:1;68870:177:::0;;:::o;56248:924::-;56319:7;56339:21;56363:8;56372:4;56363:14;;;;;;;;;;;;;;;;;;56339:38;;56388:21;56412:8;:14;56421:4;56412:14;;;;;;;;;;;:21;56427:5;56412:21;;;;;;;;;;;;;;;56388:45;;56444:23;56470:4;:20;;;56444:46;;56501:16;56520:4;:12;;;;;;;;;;;;:22;;;56551:4;56520:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56501:56;;56587:4;:20;;;56572:12;:35;:52;;;;;56623:1;56611:8;:13;;56572:52;56568:349;;;56641:18;56662:49;56676:4;:20;;;56698:12;56662:13;:49::i;:::-;56641:70;;56726:18;56747:70;56801:15;;56747:49;56780:4;:15;;;56747:28;56762:12;;56747:10;:14;;:28;;;;:::i;:::-;:32;;:49;;;;:::i;:::-;:53;;:70;;;;:::i;:::-;56726:91;;56850:55;56870:34;56895:8;56870:20;56885:4;56870:10;:14;;:20;;;;:::i;:::-;:24;;:34;;;;:::i;:::-;56850:15;:19;;:55;;;;:::i;:::-;56832:73;;56568:349;;;56927:15;56945:63;56992:4;:15;;;56945:42;56982:4;56945:32;56961:15;56945:4;:11;;;:15;;:32;;;;:::i;:::-;:36;;:42;;;;:::i;:::-;:46;;:63;;;;:::i;:::-;56927:81;;57025:4;:19;;;;;;;;;;;;57021:92;;;57069:32;57097:3;57069:23;57081:4;:10;;;57069:7;:11;;:23;;;;:::i;:::-;:27;;:32;;;;:::i;:::-;57059:42;;57021:92;57132:32;57144:4;:19;;;57132:7;:11;;:32;;;;:::i;:::-;57125:39;;;;;;;56248:924;;;;:::o;64133:234::-;64217:10;;;;;;;;;;;64203:24;;:10;:24;;;64195:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64298:1;64275:25;;:11;:25;;;;64267:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64348:11;64335:10;;:24;;;;;;;;;;;;;;;;;;64133:234;:::o;51416:64::-;51475:5;51416:64;:::o;50749:58::-;50800:7;50749:58;:::o;25758:244::-;25035:12;:10;:12::i;:::-;25024:23;;:7;:5;:7::i;:::-;:23;;;25016:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25867:1:::1;25847:22;;:8;:22;;;;25839:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25957:8;25928:38;;25949:6;::::0;::::1;;;;;;;;25928:38;;;;;;;;;;;;25986:8;25977:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;25758:244:::0;:::o;51096:37::-;;;;:::o;51002:35::-;;;;:::o;3674:220::-;3732:7;3761:1;3756;:6;3752:20;;;3771:1;3764:8;;;;3752:20;3783:9;3799:1;3795;:5;3783:17;;3828:1;3823;3819;:5;;;;;;:10;3811:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3885:1;3878:8;;;3674:220;;;;;:::o;4372:153::-;4430:7;4462:1;4458;:5;4450:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4516:1;4512;:5;;;;;;4505:12;;4372:153;;;;:::o;3257:158::-;3315:7;3348:1;3343;:6;;3335:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3406:1;3402;:5;3395:12;;3257:158;;;;:::o;65831:540::-;65910:7;65928:21;65958:18;65985:19;66053:1;66038:12;:16;66028:27;66015:40;;66129:10;66156:6;66179:21;66102:111;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66080:142;;;;;;66066:156;;66256:11;66248:20;;66231:37;;66332:1;66327:3;66312:13;66308:23;66304:30;66287:47;;66350:13;66343:20;;;;;65831:540;;;:::o;2795:179::-;2853:7;2873:9;2889:1;2885;:5;2873:17;;2914:1;2909;:6;;2901:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2965:1;2958:8;;;2795:179;;;;:::o;63569:278::-;63645:15;63663:4;;;;;;;;;;;:14;;;63686:4;63663:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63645:47;;63717:7;63707;:17;63703:137;;;63741:4;;;;;;;;;;;:13;;;63755:3;63760:7;63741:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63703:137;;;63801:4;;;;;;;;;;;:13;;;63815:3;63820:7;63801:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63703:137;63569:278;;;:::o;60868:2587::-;60947:21;60971:8;60980:4;60971:14;;;;;;;;;;;;;;;;;;60947:38;;60996:21;61020:8;:14;61029:4;61020:14;;;;;;;;;;;:26;61035:10;61020:26;;;;;;;;;;;;;;;60996:50;;61088:1;61063:4;:21;;;:26;61059:124;;;61130:41;61150:4;:20;;;61130:15;:19;;:41;;;;:::i;:::-;61106:4;:21;;:65;;;;61059:124;61195:15;61213:68;61265:4;:15;;;61213:47;61255:4;61213:37;61229:4;:20;;;61213:4;:11;;;:15;;:37;;;;:::i;:::-;:41;;:47;;;;:::i;:::-;:51;;:68;;;;:::i;:::-;61195:86;;61298:4;:19;;;;;;;;;;;;61294:92;;;61342:32;61370:3;61342:23;61354:4;:10;;;61342:7;:11;;:23;;;;:::i;:::-;:27;;:32;;;;:::i;:::-;61332:42;;61294:92;61402:28;61413:4;61419:10;61402;:28::i;:::-;61398:2050;;;61461:1;61451:7;:11;:38;;;;61488:1;61466:4;:19;;;:23;61451:38;61447:1580;;;61526:20;61549:32;61561:4;:19;;;61549:7;:11;;:32;;;;:::i;:::-;61526:55;;61658:45;61683:4;:19;;;61658:20;;:24;;:45;;;;:::i;:::-;61635:20;:68;;;;61744:1;61722:4;:19;;:23;;;;61788:41;61808:4;:20;;;61788:15;:19;;:41;;;;:::i;:::-;61764:4;:21;;:65;;;;61870:6;:29;;;;;61880:4;:19;;;;;;;;;;;;61870:29;61866:1146;;;61978:31;61993:15;;61978:4;:10;;;:14;;:31;;;;:::i;:::-;61965:4;:10;;:44;;;;62032:68;50852:42;62062:37;62088:4;:10;;;62062:21;62079:3;62062:12;:16;;:21;;;;:::i;:::-;:25;;:37;;;;:::i;:::-;62032:16;:68::i;:::-;62146:4;62134:10;62128:35;;;62152:4;:10;;;62128:35;;;;;;;;;;;;;;;;;;61866:1146;;;62230:3;62217:4;:10;;;:16;:39;;;;;62237:4;:19;;;;;;;;;;;;62217:39;62213:780;;;62283:30;62316:37;62342:4;:10;;;62316:21;62333:3;62316:12;:16;;:21;;;;:::i;:::-;:25;;:37;;;;:::i;:::-;62283:70;;62378:27;62408:40;62425:22;62408:12;:16;;:40;;;;:::i;:::-;62378:70;;62494:43;62517:19;62494:18;;:22;;:43;;;;:::i;:::-;62473:18;:64;;;;62562:4;;;;;;;;;;;:9;;;62572:10;62584:19;62562:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62629:52;62646:10;62658:22;62629:16;:52::i;:::-;62749:4;62737:10;62729:74;;;62755:47;62779:22;62755:19;:23;;:47;;;;:::i;:::-;62729:74;;;;;;;;;;;;;;;;;;62213:780;;;;;62858:42;62875:10;62887:12;62858:16;:42::i;:::-;62950:4;62938:10;62930:39;;;62956:12;62930:39;;;;;;;;;;;;;;;;;;62213:780;61866:1146;61447:1580;;61398:2050;;;63058:1;63048:7;:11;63044:404;;;63093:3;63080:4;:10;;;:16;:39;;;;;63100:4;:19;;;;;;;;;;;;63080:39;63076:160;;;63148:32;63169:4;:10;;;63148:16;63160:3;63148:7;:11;;:16;;;;:::i;:::-;:20;;:32;;;;:::i;:::-;63138:42;;63076:160;63272:32;63296:7;63272:4;:19;;;:23;;:32;;;;:::i;:::-;63250:4;:19;;:54;;;;63342:33;63367:7;63342:20;;:24;;:33;;;;:::i;:::-;63319:20;:56;;;;63422:4;63410:10;63395:41;;;63428:7;63395:41;;;;;;;;;;;;;;;;;;63044:404;61398:2050;60868:2587;;;;;:::o;19610:248::-;19754:96;19774:5;19804:27;;;19833:4;19839:2;19843:5;19781:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19754:19;:96::i;:::-;19610:248;;;;:::o;19391:211::-;19508:86;19528:5;19558:23;;;19583:2;19587:5;19535:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19508:19;:86::i;:::-;19391:211;;;:::o;23341:106::-;23394:15;23429:10;23422:17;;23341:106;:::o;21926:774::-;22350:23;22376:69;22404:4;22376:69;;;;;;;;;;;;;;;;;22384:5;22376:27;;;;:69;;;;;:::i;:::-;22350:95;;22480:1;22460:10;:17;:21;22456:237;;;22615:10;22604:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22596:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22456:237;21926:774;;;:::o;14415:195::-;14518:12;14550:52;14572:6;14580:4;14586:1;14589:12;14550:21;:52::i;:::-;14543:59;;14415:195;;;;;:::o;15467:530::-;15594:12;15652:5;15627:21;:30;;15619:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15719:18;15730:6;15719:10;:18::i;:::-;15711:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15845:12;15859:23;15886:6;:11;;15906:5;15914:4;15886:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15844:75;;;;15937:52;15955:7;15964:10;15976:12;15937:17;:52::i;:::-;15930:59;;;;15467:530;;;;;;:::o;11497:422::-;11557:4;11765:12;11876:7;11864:20;11856:28;;11910:1;11903:4;:8;11896:15;;;11497:422;;;:::o;18007:742::-;18122:12;18151:7;18147:595;;;18182:10;18175:17;;;;18147:595;18316:1;18296:10;:17;:21;18292:439;;;18559:10;18553:17;18620:15;18607:10;18603:2;18599:19;18592:44;18507:148;18702:12;18695:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18007:742;;;;;;:::o

Swarm Source

ipfs://aad8672bf3ac1c51b71461659654a4b7b372b4f513d4b64e699795251a24cbbb
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.