Contract 0x367CdDA266ADa588d380C7B970244434e4Dde790 1

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xecd501fd7d895335a62aff6ae39065ca3f8b108d4e8ff0ab79141c4c8aa392f6Deposit131873592021-12-04 12:32:0027 mins ago0xf06f1b803d68bfefe1e3bdd5e20bc3dfc1527666 IN  0x367cdda266ada588d380c7b970244434e4dde7900 BNB0.00062161
0x9d91e0cc82bcf0f1c16fa5b1bf8df417329c49569bbfe5ec129dd551ac4075e5Deposit131873542021-12-04 12:31:4227 mins ago0x8fed7842a6a71175b0147db27bec52a5cb9a788c IN  0x367cdda266ada588d380c7b970244434e4dde7900 BNB0.00087514
0x325ee201396b48cf306b36164e03b2333b16cea1bfb133c6bf4dc4e5d94d8d85Deposit131860332021-12-04 11:20:561 hr 38 mins ago0x507ee226535b4937b1b80a2de0c1782a4464befd IN  0x367cdda266ada588d380c7b970244434e4dde7900 BNB0.00087514
0x7d129b62c382b37c96b0879ab58faa0eb59a3e9a0c68cb5cec9ead95573de727Deposit131835822021-12-04 9:16:283 hrs 42 mins ago0xf0de80b3407dfaf52e5f2096db53544cce2606c1 IN  0x367cdda266ada588d380c7b970244434e4dde7900 BNB0.00087508
0xcd51db15a7a9446f9173cf51e984fa14786e18732c99ab0c4e65f1d3c2830a78Deposit131835712021-12-04 9:15:553 hrs 43 mins ago0xf0de80b3407dfaf52e5f2096db53544cce2606c1 IN  0x367cdda266ada588d380c7b970244434e4dde7900 BNB0.00054655
0x627ddac79f3baa8b9ec1a99d4c3b3c30b35485e428b964382824d88e43616ed1Deposit131835352021-12-04 9:14:073 hrs 45 mins ago0xf0de80b3407dfaf52e5f2096db53544cce2606c1 IN  0x367cdda266ada588d380c7b970244434e4dde7900 BNB0.00054661
0xf1810bb17c1b80c777865a60a82499d2f3aa55cba473d40a05084d679caa75b3Withdraw131829322021-12-04 8:43:524 hrs 15 mins ago0x1078a785b997c1d6cea2cfdd20b5eff983ecff7e IN  0x367cdda266ada588d380c7b970244434e4dde7900 BNB0.000813858
0x6dfc47a32225196abdea5c473e0ac2fb5b08a214fd970c40735298b039cb38f7Deposit131818152021-12-04 7:48:005 hrs 11 mins ago0x6ffcb932ab4faacd8a0b6fa7099eaa70f97a6539 IN  0x367cdda266ada588d380c7b970244434e4dde7900 BNB0.00062161
0x25527a01ce1b62afa0b077782f5777b09ebb2d4751cf8c92451ee23dcad15d11Withdraw131808722021-12-04 7:00:295 hrs 58 mins ago0x21fec0b58a997c215dfa6462ed178126a54546bb IN  0x367cdda266ada588d380c7b970244434e4dde7900 BNB0.000753335
0xeab1a1de6bc33020e5103f77d2659a4767bc130e6d827921061285e7738ec21cDeposit131801392021-12-04 6:23:366 hrs 35 mins ago0x85827cbece8b796a67c73a607aace5ca94a8367a IN  0x367cdda266ada588d380c7b970244434e4dde7900 BNB0.0008752
0xe9c4e4089cc444246de40ac0d3307d138d1168230d065db213feea3b9a866756Withdraw131797712021-12-04 6:04:486 hrs 54 mins ago0x1964175bd3b5259b0d6549bb826d697e8f32ca12 IN  0x367cdda266ada588d380c7b970244434e4dde7900 BNB0.000678335
0x24bce530f214422446778a50a2e210e4d76b76524d849ac2ec0fb41f04c6d137Deposit131775552021-12-04 4:08:458 hrs 50 mins ago0x2e25455acebe91c5b87e365351e2d73b76c69823 IN  0x367cdda266ada588d380c7b970244434e4dde7900 BNB0.001140174
0x5c735b36507c3afeddff035477a6db9157a05a322ecc6043e3afc1626dcce638Deposit131772252021-12-04 3:52:019 hrs 7 mins ago0x221076af6cbfd6c386c2abc6fbeff5c2b17b834b IN  0x367cdda266ada588d380c7b970244434e4dde7900 BNB0.0008752
0x170dae900a6d2dbff867aab9ae0e091f507b12ca729589dbe9dd1dd95230c505Deposit131769612021-12-04 3:38:489 hrs 20 mins ago0xadbcc3f51f77d5ed046d12f451ee579431581668 IN  0x367cdda266ada588d380c7b970244434e4dde7900 BNB0.001050168
0x08926574e79b29bfe9b58cc05dc076aa8f256e2eb25d2a0d597788c8debd82e4Deposit131758002021-12-04 2:40:0810 hrs 19 mins ago0x72ac0dac4784d1b0f6f15ceb4ee918c40aada55b IN  0x367cdda266ada588d380c7b970244434e4dde7900 BNB0.00054655
0xf631f6329995655a3602a8b2bbf7d938a6cf14f82f1004e46712e294ecf7d19dWithdraw131757982021-12-04 2:40:0210 hrs 19 mins ago0x72ac0dac4784d1b0f6f15ceb4ee918c40aada55b IN  0x367cdda266ada588d380c7b970244434e4dde7900 BNB0.00082862
0xca4c26f3a4ac0918546c6fc029e1b6bcdcb19f9a569a90dc3cdbd492dde1db67Deposit131751242021-12-04 2:06:1610 hrs 52 mins ago0x5b9defd2f2f50102e25d7de080bcbec8e4a07d9c IN  0x367cdda266ada588d380c7b970244434e4dde7900 BNB0.00054655
0x9b09e22f0f32e5a050c05660f2afefcb701e7c8f4466c0ca9840516a932f0c1aDeposit131751242021-12-04 2:06:1610 hrs 52 mins ago0x5b9defd2f2f50102e25d7de080bcbec8e4a07d9c IN  0x367cdda266ada588d380c7b970244434e4dde7900 BNB0.00062161
0x59724fb94f189109621041f1e821bf6e7ec1287aaaa7d248958f61072f3fed6aWithdraw131746562021-12-04 1:42:5211 hrs 16 mins ago0xa51ebda088d0cfa34c39793fc9dccf3658d9ab74 IN  0x367cdda266ada588d380c7b970244434e4dde7900 BNB0.000678315
0x13be6a8484d82bd615ed4b6de84b7c424e37249f14871e101e549863b0de0eeeWithdraw131698802021-12-03 21:42:4315 hrs 16 mins ago0x16e5dda6cee5085cd7fb39b697f15b80afd1079b IN  0x367cdda266ada588d380c7b970244434e4dde7900 BNB0.00126035
0x3a4772482d7f311393140437c934d16b888386ca5fa432fb72085fd6b0df8da1Deposit131697202021-12-03 21:34:4315 hrs 24 mins ago0x2696ea10edaf69f9b80de8c1976747525d901cfd IN  0x367cdda266ada588d380c7b970244434e4dde7900 BNB0.0008752
0x435094547d92858a2f315ac426f5e16382ec0cc1acb91ff1d202ff6328381010Emergency Withdr...131692872021-12-03 21:13:0415 hrs 46 mins ago0x16e5dda6cee5085cd7fb39b697f15b80afd1079b IN  0x367cdda266ada588d380c7b970244434e4dde7900 BNB0.000346375
0xe05c3971dabf8de5003d307ed1c16d74b20a3bbad1cc8cc5dac11e17af502912Deposit131666192021-12-03 18:59:0218 hrs ago0xc74090589c05da594c55383fc82d0989098cb11f IN  0x367cdda266ada588d380c7b970244434e4dde7900 BNB0.00105024
0xc9989dc0d736aa91d4875507d835e9368c4c025f1c5f7addd1835c07e6a64271Withdraw131666082021-12-03 18:58:2918 hrs ago0xe61effd0b2d73f48dae82c1510d9aba156fd933f IN  0x367cdda266ada588d380c7b970244434e4dde7900 BNB0.000849885
0x64743dae0d8080ab1b6d2b720562cf2d14c96ab145a2a716fe296b0a1990086fWithdraw131663472021-12-03 18:45:2518 hrs 13 mins ago0xe61effd0b2d73f48dae82c1510d9aba156fd933f IN  0x367cdda266ada588d380c7b970244434e4dde7900 BNB0.00092499
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
YetiMaster

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-04-08
*/

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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

// 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: @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: @openzeppelin/contracts/token/ERC20/SafeERC20.sol



pragma solidity >=0.6.0 <0.8.0;




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

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

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

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

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

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

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. 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, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// 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: @openzeppelin/contracts/token/ERC20/ERC20.sol



pragma solidity >=0.6.0 <0.8.0;




/**
 * @dev Implementation of the {IERC20} 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 {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-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 ERC20 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 {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;

    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 name of the token.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual returns (uint8) {
        return _decimals;
    }

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

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

    /**
     * @dev See {IERC20-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 virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

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

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * 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 virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: 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 {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual 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 {IERC20-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 virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        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), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: 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 virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _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 virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, "ERC20: 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 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 virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

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

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal virtual {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

// File: contracts/interfaces/IStrategy.sol


pragma solidity 0.6.12;

// For interacting with our own strategy
interface IStrategy {
    // Total want tokens managed by stratfegy
    function wantLockedTotal() external view returns (uint256);

    // Main want token compounding function
    function earn() external;

    // Transfer want tokens yetiFarm -> strategy
    function deposit(uint256 _wantAmt)
        external
        returns (uint256);

    // Transfer want tokens strategy -> yetiFarm
    function withdraw(uint256 _wantAmt)
        external
        returns (uint256);

    function inCaseTokensGetStuck(
        address _token,
        uint256 _amount,
        address _to
    ) external;
}

// File: contracts/xBLZDToken.sol



pragma solidity 0.6.12;




// xBLZDToken with Governance.
contract xBLZDToken is ERC20("xBLZDToken", "xBLZD"), Ownable {
    /// @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);
    }
}

// File: contracts/YetiMaster.sol



pragma solidity 0.6.12;








contract YetiMaster is Ownable, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    // Info of each user.
    struct UserInfo {
        uint256 amount; // How many amount tokens the user has provided.
        uint256 rewardDebt; // Reward debt. See explanation below.

        // We do some fancy math here. Basically, any point in time, the amount of xBLZD
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (amount * pool.acccPerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws want tokens to a pool. Here's what happens:
        //   1. The pool's `accxBLZDPerShare` (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.
    }

    struct PoolInfo {
        IERC20 want; // Address of the want token.
        uint256 allocPoint; // How many allocation points assigned to this pool. xBLZD to distribute per block.
        uint256 lastRewardBlock; // Last block number that xBLZD distribution occurs.
        uint256 accxBLZDPerShare; // Accumulated xBLZD per share, times 1e12. See below.
        address strat; // Strategy address that will xBLZD compound want tokens
        uint16 depositFeeBP;      // Deposit fee in basis points
    }

    // BLZD
    address public BLZD = 0x57067A6BD75c0E95a6A5f158455926e43E79BeB0;

    // xBLZD
    address public xBLZD = 0x9a946c3Cb16c08334b69aE249690C236Ebd5583E;

     // Dev address.
    address public devaddr;

    address public burnAddress = 0x000000000000000000000000000000000000dEaD;

    address public feeAddBb = 0x4b3aF8f787efa5B5B319bDC244da8368E2d3D454;
    address public feeAddSt = 0x27D6cd0640C8fEE5eAa781604fb259dD430ADe00;

    address public wbnb = 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c;
    uint256 public xBLZDPerBlock = 0.912 ether;
    uint256 public xBLZDDevPerBlock =  0.088 ether;
    uint256 public startBlock;
    uint256 public noFeeBlock; // No fee until Block

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

    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 MigrateToV2(address indexed user,uint256 amount);
    event SetFeeAddressBb(address indexed user, address indexed newAddress);
    event SetFeeAddressSt(address indexed user, address indexed newAddress);
    event SetDevAddress(address indexed user, address indexed newAddress);

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

    constructor(
        address _devaddr,
        uint256 _startBlock,
        uint256 _noFeeBlock
    ) public {
        devaddr = _devaddr;
        startBlock = _startBlock;
        noFeeBlock = _noFeeBlock;
    }

    modifier poolExists(uint256 pid) {
        require(pid < poolInfo.length, "pool inexistent");
        _;
    }

    // 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. (Only if want tokens are stored here.)
    function add(
        uint256 _allocPoint,
        IERC20 _want,
        bool _withUpdate,
        address _strat,
        uint16 _depositFeeBP
    ) public onlyOwner {
        require(_depositFeeBP <= 200, "add: invalid deposit fee basis points");
        if (_withUpdate) {
            massUpdatePools();
        }
        uint256 lastRewardBlock =
            block.number > startBlock ? block.number : startBlock;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(
            PoolInfo({
                want: _want,
                allocPoint: _allocPoint,
                lastRewardBlock: lastRewardBlock,
                accxBLZDPerShare: 0,
                strat: _strat,
                depositFeeBP : _depositFeeBP
            })
        );
    }

    // Update the given pool's xBLZD allocation point. Can only be called by the owner.
    function set(
        uint256 _pid,
        uint256 _allocPoint,
        bool _withUpdate,
        uint16 _depositFeeBP
    ) public onlyOwner poolExists(_pid) {
        require(_depositFeeBP <= 200, "set: invalid deposit fee basis points");
        if (_withUpdate) {
            massUpdatePools();
        }
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(
            _allocPoint
        );
        poolInfo[_pid].allocPoint = _allocPoint;
        poolInfo[_pid].depositFeeBP = _depositFeeBP;
    }

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

    // View function to see pending xBLZD on frontend.
    function pendingxBLZD(uint256 _pid, address _user)
        external
        view
        returns (uint256)
    {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accxBLZDPerShare = pool.accxBLZDPerShare;
        uint256 wantLockedTotal = IStrategy(pool.strat).wantLockedTotal();
        if (block.number > pool.lastRewardBlock && wantLockedTotal != 0) {
            uint256 multiplier =
                getMultiplier(pool.lastRewardBlock, block.number);
            uint256 xBLZDReward =
                multiplier.mul(xBLZDPerBlock).mul(pool.allocPoint).div(
                    totalAllocPoint
                );
            accxBLZDPerShare = accxBLZDPerShare.add(
                xBLZDReward.mul(1e12).div(wantLockedTotal)
            );
        }
        return user.amount.mul(accxBLZDPerShare).div(1e12).sub(user.rewardDebt);
    }

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

    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.number <= pool.lastRewardBlock) {
            return;
        }
        uint256 wantLockedTotal = IStrategy(pool.strat).wantLockedTotal();
        if (wantLockedTotal == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
        if (multiplier <= 0) {
            return;
        }
        uint256 xBLZDReward =  multiplier.mul(xBLZDPerBlock).mul(pool.allocPoint).div(totalAllocPoint);

        xBLZDToken(xBLZD).mint(
            devaddr,
            multiplier.mul(xBLZDDevPerBlock).mul(pool.allocPoint).div(
                totalAllocPoint
            )
        );

        xBLZDToken(xBLZD).mint(
            address(this),
            xBLZDReward
        );

        pool.accxBLZDPerShare = pool.accxBLZDPerShare.add(
            xBLZDReward.mul(1e12).div(wantLockedTotal)
        );
        pool.lastRewardBlock = block.number;
    }

    function deposit(uint256 _pid,uint256 _wantAmt) public nonReentrant poolExists(_pid){
        updatePool(_pid);
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        if (user.amount > 0) {
            uint256 pending =
                user.amount.mul(pool.accxBLZDPerShare).div(1e12).sub(
                    user.rewardDebt
                );
            if (pending > 0) {
                safexBLZDTransfer(msg.sender, pending);
            }
        }
        if (_wantAmt > 0) {
            pool.want.safeTransferFrom(address(msg.sender), address(this), _wantAmt);
            uint256 amount = _wantAmt;
            if (pool.depositFeeBP > 0 && block.number > noFeeBlock) {
                uint256 depositFee = _wantAmt.mul(pool.depositFeeBP).div(10000);
                uint256 depositeFeeHalf = depositFee.div(2);
                pool.want.safeTransfer(feeAddBb, depositeFeeHalf);
                pool.want.safeTransfer(feeAddSt, depositFee.sub(depositeFeeHalf));
                amount = (_wantAmt).sub(depositFee);
            }
            pool.want.safeIncreaseAllowance(pool.strat, amount);
            uint256 amountDeposit =
                IStrategy(poolInfo[_pid].strat).deposit(amount);
            user.amount = user.amount.add(amountDeposit);
        }
        user.rewardDebt = user.amount.mul(pool.accxBLZDPerShare).div(1e12);
        emit Deposit(msg.sender, _pid, _wantAmt);
    }

    // Withdraw LP tokens from MasterChef.
    function withdraw(uint256 _pid, uint256 _wantAmt) public nonReentrant poolExists(_pid){
        updatePool(_pid);

        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];

        uint256 total = IStrategy(pool.strat).wantLockedTotal();

        require(user.amount > 0, "user.amount is 0");
        require(total > 0, "Total is 0");

        // Withdraw pending xBLZD
        uint256 pending =
            user.amount.mul(pool.accxBLZDPerShare).div(1e12).sub(
                user.rewardDebt
            );

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

        // Withdraw want tokens
        uint256 amount = user.amount;
        if (_wantAmt > amount) {
            _wantAmt = amount;
        }
        if (_wantAmt > 0) {
            uint256 amountRemove =
                IStrategy(pool.strat).withdraw(_wantAmt);

            if (amountRemove > user.amount) {
                user.amount = 0;
            } else {
                user.amount = user.amount.sub(amountRemove);
            }

            uint256 wantBal = IERC20(pool.want).balanceOf(address(this));
            if (wantBal < _wantAmt) {
                _wantAmt = wantBal;
            }
            pool.want.safeTransfer(address(msg.sender), _wantAmt);
        }
        user.rewardDebt = user.amount.mul(pool.accxBLZDPerShare).div(1e12);
        emit Withdraw(msg.sender, _pid, _wantAmt);
    }

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

        uint256 amount = user.amount;

        IStrategy(pool.strat).withdraw(amount);

        user.amount = 0;
        user.rewardDebt = 0;
        pool.want.safeTransfer(address(msg.sender), amount);
        emit EmergencyWithdraw(msg.sender, _pid, amount);
    }

    // Safe xBLZD transfer function, just in case if rounding error causes pool to not have enough
    function safexBLZDTransfer(address _to, uint256 _xBLZDAmt) internal {
        uint256 xBLZDBal = IERC20(xBLZD).balanceOf(address(this));
        if (_xBLZDAmt > xBLZDBal) {
            IERC20(xBLZD).transfer(_to, xBLZDBal);
        } else {
            IERC20(xBLZD).transfer(_to, _xBLZDAmt);
        }
    }

    function inCaseTokensGetStuck(address _token, uint256 _amount)
        public
        onlyOwner
    {
        require(_token != xBLZD, "!safe");
        IERC20(_token).safeTransfer(msg.sender, _amount);
    }

      // Update dev address by the previous dev.
    function dev(address _devaddr) public {
        require(msg.sender == devaddr, "dev: wut?");
        devaddr = _devaddr;
        emit SetDevAddress(msg.sender, _devaddr);
    }

    function setFeeAddressBb(address _feeAddress) public {
        require(msg.sender == feeAddBb, "setFeeAddress: FORBIDDEN");
        feeAddBb = _feeAddress;
        emit SetFeeAddressBb(msg.sender, _feeAddress);
    }

    function setFeeAddressSt(address _feeAddress) public {
        require(msg.sender == feeAddSt, "setFeeAddress: FORBIDDEN");
        feeAddSt = _feeAddress;
        emit SetFeeAddressSt(msg.sender, _feeAddress);
    }

    function migrateToxBLZD(uint256 _inputAmt) public {
        require(block.number < 6590390, "too late :(");
        IERC20(BLZD).safeTransferFrom(
            address(msg.sender),
            burnAddress,
            _inputAmt
        );

        xBLZDToken(xBLZD).mint(msg.sender, _inputAmt);
        emit MigrateToV2(msg.sender,_inputAmt);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_devaddr","type":"address"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_noFeeBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"MigrateToV2","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":"address","name":"newAddress","type":"address"}],"name":"SetDevAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetFeeAddressBb","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetFeeAddressSt","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":"BLZD","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_want","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"internalType":"address","name":"_strat","type":"address"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_wantAmt","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devaddr","type":"address"}],"name":"dev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devaddr","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":"feeAddBb","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeAddSt","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":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"inCaseTokensGetStuck","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_inputAmt","type":"uint256"}],"name":"migrateToxBLZD","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"noFeeBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"pendingxBLZD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"want","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accxBLZDPerShare","type":"uint256"},{"internalType":"address","name":"strat","type":"address"},{"internalType":"uint16","name":"depositFeeBP","type":"uint16"}],"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":"bool","name":"_withUpdate","type":"bool"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddress","type":"address"}],"name":"setFeeAddressBb","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddress","type":"address"}],"name":"setFeeAddressSt","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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wbnb","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_wantAmt","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"xBLZD","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"xBLZDDevPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"xBLZDPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

6080604052600280546001600160a01b03199081167357067a6bd75c0e95a6a5f158455926e43e79beb017909155600380548216739a946c3cb16c08334b69ae249690c236ebd5583e17905560058054821661dead179055600680548216734b3af8f787efa5b5b319bdc244da8368e2d3d4541790556007805482167327d6cd0640c8fee5eaa781604fb259dd430ade001790556008805490911673bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c179055670ca8132b03280000600955670138a388a43c0000600a556000600f553480156100db57600080fd5b506040516126d03803806126d0833981810160405260608110156100fe57600080fd5b50805160208201516040909201519091906000610119610193565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060018055600480546001600160a01b0319166001600160a01b039490941693909317909255600b55600c55610197565b3390565b61252a806101a66000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c80638720deb91161010f578063d061ae57116100a2578063ea1e5dda11610071578063ea1e5dda14610511578063f2fde38b1461052e578063f39656fe14610554578063feeca64e1461057a576101f0565b8063d061ae5714610497578063d49e77cd146104de578063e2bbb158146104e6578063e817572014610509576101f0565b80638dbb1e3a116100de5780638dbb1e3a146103fb57806393f1a40b1461041e578063c3d5a2bd14610463578063c6d758cb1461046b576101f0565b80638720deb9146103bd5780638d72647e146103c55780638d88a90e146103cd5780638da5cb5b146103f3576101f0565b806345d0173a116101875780635f16495c116101565780635f16495c14610379578063630b5ba1146103a557806370d5ae05146103ad578063715018a6146103b5576101f0565b806345d0173a1461032f57806348cd4cb11461033757806351eb05a61461033f5780635312ea8e1461035c576101f0565b80632b4d86cf116101c35780632b4d86cf146102ba5780633b11dea6146102c257806342276255146102e6578063441a3e701461030c576101f0565b8063081e3eda146101f55780630fb8915e1461020f5780631526fe271461024657806317caf6f1146102b2575b600080fd5b6101fd610582565b60408051918252519081900360200190f35b6102446004803603608081101561022557600080fd5b5080359060208101359060408101351515906060013561ffff16610588565b005b6102636004803603602081101561025c57600080fd5b503561072c565b60405180876001600160a01b03168152602001868152602001858152602001848152602001836001600160a01b031681526020018261ffff168152602001965050505050505060405180910390f35b6101fd610785565b6101fd61078b565b6102ca610791565b604080516001600160a01b039092168252519081900360200190f35b610244600480360360208110156102fc57600080fd5b50356001600160a01b03166107a0565b6102446004803603604081101561032257600080fd5b5080359060200135610846565b6101fd610c2a565b6101fd610c30565b6102446004803603602081101561035557600080fd5b5035610c36565b6102446004803603602081101561037257600080fd5b5035610e8c565b6101fd6004803603604081101561038f57600080fd5b50803590602001356001600160a01b031661104a565b6102446111a9565b6102ca6111cc565b6102446111db565b6102ca611287565b6102ca611296565b610244600480360360208110156103e357600080fd5b50356001600160a01b03166112a5565b6102ca61133c565b6101fd6004803603604081101561041157600080fd5b508035906020013561134b565b61044a6004803603604081101561043457600080fd5b50803590602001356001600160a01b031661135e565b6040805192835260208301919091528051918290030190f35b6101fd611382565b6102446004803603604081101561048157600080fd5b506001600160a01b038135169060200135611388565b610244600480360360a08110156104ad57600080fd5b5080359060208101356001600160a01b03908116916040810135151591606082013516906080013561ffff16611449565b6102ca611677565b610244600480360360408110156104fc57600080fd5b5080359060200135611686565b6102ca6119b2565b6102446004803603602081101561052757600080fd5b50356119c1565b6102446004803603602081101561054457600080fd5b50356001600160a01b0316611ac9565b6102446004803603602081101561056a57600080fd5b50356001600160a01b0316611bcb565b6102ca611c71565b600d5490565b610590611c80565b6001600160a01b03166105a161133c565b6001600160a01b0316146105ea576040805162461bcd60e51b815260206004820181905260248201526000805160206124ab833981519152604482015290519081900360640190fd5b600d5484908110610634576040805162461bcd60e51b815260206004820152600f60248201526e1c1bdbdb081a5b995e1a5cdd195b9d608a1b604482015290519081900360640190fd5b60c88261ffff1611156106785760405162461bcd60e51b81526004018080602001828103825260258152602001806124866025913960400191505060405180910390fd5b8215610686576106866111a9565b6106c3846106bd600d888154811061069a57fe5b906000526020600020906005020160010154600f54611c8490919063ffffffff16565b90611ce1565b600f8190555083600d86815481106106d757fe5b90600052602060002090600502016001018190555081600d86815481106106fa57fe5b906000526020600020906005020160040160146101000a81548161ffff021916908361ffff1602179055505050505050565b600d818154811061073957fe5b6000918252602090912060059091020180546001820154600283015460038401546004909401546001600160a01b03938416955091939092909190811690600160a01b900461ffff1686565b600f5481565b600a5481565b6003546001600160a01b031681565b6006546001600160a01b031633146107fa576040805162461bcd60e51b815260206004820152601860248201527739b2ba2332b2a0b2323932b9b99d102327a92124a22222a760411b604482015290519081900360640190fd5b600680546001600160a01b0319166001600160a01b03831690811790915560405133907fccfa2592ecd6001bee5a065cdfe414428b5a7dc68dc56646ba46b4609d665a5f90600090a350565b6002600154141561089e576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600155600d54829081106108ed576040805162461bcd60e51b815260206004820152600f60248201526e1c1bdbdb081a5b995e1a5cdd195b9d608a1b604482015290519081900360640190fd5b6108f683610c36565b6000600d848154811061090557fe5b60009182526020808320878452600e82526040808520338652835280852060059490940290910160048181015483516342da4eb360e01b815293519297509495946001600160a01b0316936342da4eb39380830193919290829003018186803b15801561097157600080fd5b505afa158015610985573d6000803e3d6000fd5b505050506040513d602081101561099b57600080fd5b505182549091506109e6576040805162461bcd60e51b815260206004820152601060248201526f0757365722e616d6f756e7420697320360841b604482015290519081900360640190fd5b60008111610a28576040805162461bcd60e51b815260206004820152600a6024820152690546f74616c20697320360b41b604482015290519081900360640190fd5b6000610a628360010154610a5c64e8d4a51000610a5688600301548860000154611d3b90919063ffffffff16565b90611d94565b90611c84565b90508015610a7457610a743382611dfb565b825480871115610a82578096505b8615610bc55760048086015460408051632e1a7d4d60e01b81529283018a9052516000926001600160a01b0390921691632e1a7d4d91602480830192602092919082900301818787803b158015610ad857600080fd5b505af1158015610aec573d6000803e3d6000fd5b505050506040513d6020811015610b0257600080fd5b50518554909150811115610b195760008555610b28565b8454610b259082611c84565b85555b8554604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610b7257600080fd5b505afa158015610b86573d6000803e3d6000fd5b505050506040513d6020811015610b9c57600080fd5b5051905088811015610bac578098505b8654610bc2906001600160a01b0316338b611f8c565b50505b60038501548454610be09164e8d4a5100091610a5691611d3b565b6001850155604080518881529051899133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a3505060018055505050505050565b60095481565b600b5481565b6000600d8281548110610c4557fe5b9060005260206000209060050201905080600201544311610c665750610e89565b60008160040160009054906101000a90046001600160a01b03166001600160a01b03166342da4eb36040518163ffffffff1660e01b815260040160206040518083038186803b158015610cb857600080fd5b505afa158015610ccc573d6000803e3d6000fd5b505050506040513d6020811015610ce257600080fd5b5051905080610cf8575043600290910155610e89565b6000610d0883600201544361134b565b905060008111610d1a57505050610e89565b6000610d45600f54610a568660010154610d3f60095487611d3b90919063ffffffff16565b90611d3b565b600354600454600f546001880154600a549495506001600160a01b03938416946340c10f199490931692610d839291610a5691610d3f908a90611d3b565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610dc957600080fd5b505af1158015610ddd573d6000803e3d6000fd5b5050600354604080516340c10f1960e01b81523060048201526024810186905290516001600160a01b0390921693506340c10f19925060448082019260009290919082900301818387803b158015610e3457600080fd5b505af1158015610e48573d6000803e3d6000fd5b50505050610e76610e6b84610a5664e8d4a5100085611d3b90919063ffffffff16565b600386015490611ce1565b6003850155505043600290920191909155505b50565b60026001541415610ee4576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600155600d5481908110610f33576040805162461bcd60e51b815260206004820152600f60248201526e1c1bdbdb081a5b995e1a5cdd195b9d608a1b604482015290519081900360640190fd5b6000600d8381548110610f4257fe5b60009182526020808320868452600e82526040808520338652835280852080546005959095029092016004818101548351632e1a7d4d60e01b8152918201879052925191975092956001600160a01b0390921693632e1a7d4d93602480820194929392918390030190829087803b158015610fbc57600080fd5b505af1158015610fd0573d6000803e3d6000fd5b505050506040513d6020811015610fe657600080fd5b5050600080835560018301558254611008906001600160a01b03163383611f8c565b604080518281529051869133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a3505060018055505050565b600080600d848154811061105a57fe5b60009182526020808320878452600e825260408085206001600160a01b038981168752908452818620600595909502909201600381015460048083015484516342da4eb360e01b8152945193995096979196919591909416936342da4eb393808201939190829003018186803b1580156110d357600080fd5b505afa1580156110e7573d6000803e3d6000fd5b505050506040513d60208110156110fd57600080fd5b505160028501549091504311801561111457508015155b1561117457600061112985600201544361134b565b90506000611150600f54610a568860010154610d3f60095487611d3b90919063ffffffff16565b905061116f61116884610a568464e8d4a51000611d3b565b8590611ce1565b935050505b61119c8360010154610a5c64e8d4a51000610a56868860000154611d3b90919063ffffffff16565b9450505050505b92915050565b600d5460005b818110156111c8576111c081610c36565b6001016111af565b5050565b6005546001600160a01b031681565b6111e3611c80565b6001600160a01b03166111f461133c565b6001600160a01b03161461123d576040805162461bcd60e51b815260206004820181905260248201526000805160206124ab833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6002546001600160a01b031681565b6008546001600160a01b031681565b6004546001600160a01b031633146112f0576040805162461bcd60e51b81526020600482015260096024820152686465763a207775743f60b81b604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b03831690811790915560405133907f618c54559e94f1499a808aad71ee8729f8e74e8c48e979616328ce493a1a52e790600090a350565b6000546001600160a01b031690565b60006113578284611c84565b9392505050565b600e6020908152600092835260408084209091529082529020805460019091015482565b600c5481565b611390611c80565b6001600160a01b03166113a161133c565b6001600160a01b0316146113ea576040805162461bcd60e51b815260206004820181905260248201526000805160206124ab833981519152604482015290519081900360640190fd5b6003546001600160a01b0383811691161415611435576040805162461bcd60e51b8152602060048201526005602482015264217361666560d81b604482015290519081900360640190fd5b6111c86001600160a01b0383163383611f8c565b611451611c80565b6001600160a01b031661146261133c565b6001600160a01b0316146114ab576040805162461bcd60e51b815260206004820181905260248201526000805160206124ab833981519152604482015290519081900360640190fd5b60c88161ffff1611156114ef5760405162461bcd60e51b81526004018080602001828103825260258152602001806123f46025913960400191505060405180910390fd5b82156114fd576114fd6111a9565b6000600b54431161151057600b54611512565b435b600f549091506115229087611ce1565b600f556040805160c0810182526001600160a01b039687168152602081019788529081019182526000606082018181529487166080830190815261ffff94851660a08401908152600d80546001810182559352925160059092027fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb581018054938a166001600160a01b031994851617905598517fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb68a015592517fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb789015593517fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb888015590517fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb990960180549151909216600160a01b0261ffff60a01b1996909516921691909117939093169190911790915550565b6004546001600160a01b031681565b600260015414156116de576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6002600155600d548290811061172d576040805162461bcd60e51b815260206004820152600f60248201526e1c1bdbdb081a5b995e1a5cdd195b9d608a1b604482015290519081900360640190fd5b61173683610c36565b6000600d848154811061174557fe5b60009182526020808320878452600e825260408085203386529092529220805460059092029092019250156117b65760006117a28260010154610a5c64e8d4a51000610a5687600301548760000154611d3b90919063ffffffff16565b905080156117b4576117b43382611dfb565b505b83156119505781546117d3906001600160a01b0316333087611fde565b60048201548490600160a01b900461ffff16158015906117f45750600c5443115b1561188857600483015460009061181f9061271090610a56908990600160a01b900461ffff16611d3b565b9050600061182e826002611d94565b600654865491925061184d916001600160a01b03908116911683611f8c565b600754611879906001600160a01b03166118678484611c84565b87546001600160a01b03169190611f8c565b6118838783611c84565b925050505b600483015483546118a6916001600160a01b0391821691168361203e565b6000600d87815481106118b557fe5b6000918252602080832060046005909302018201546040805163b6b55f2560e01b8152938401879052516001600160a01b039091169363b6b55f25936024808201949392918390030190829087803b15801561191057600080fd5b505af1158015611924573d6000803e3d6000fd5b505050506040513d602081101561193a57600080fd5b5051835490915061194b9082611ce1565b835550505b6003820154815461196b9164e8d4a5100091610a5691611d3b565b6001820155604080518581529051869133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a3505060018055505050565b6006546001600160a01b031681565b62648fb64310611a06576040805162461bcd60e51b815260206004820152600b60248201526a0e8dede40d8c2e8ca4074560ab1b604482015290519081900360640190fd5b600554600254611a25916001600160a01b039182169133911684611fde565b600354604080516340c10f1960e01b81523360048201526024810184905290516001600160a01b03909216916340c10f199160448082019260009290919082900301818387803b158015611a7857600080fd5b505af1158015611a8c573d6000803e3d6000fd5b50506040805184815290513393507f44333d05a3e717c04f00cf0d67e3fa24e9dd7a7bf353bb0ca809d6dea30fab6692509081900360200190a250565b611ad1611c80565b6001600160a01b0316611ae261133c565b6001600160a01b031614611b2b576040805162461bcd60e51b815260206004820181905260248201526000805160206124ab833981519152604482015290519081900360640190fd5b6001600160a01b038116611b705760405162461bcd60e51b81526004018080602001828103825260268152602001806124196026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6007546001600160a01b03163314611c25576040805162461bcd60e51b815260206004820152601860248201527739b2ba2332b2a0b2323932b9b99d102327a92124a22222a760411b604482015290519081900360640190fd5b600780546001600160a01b0319166001600160a01b03831690811790915560405133907ff509e336aa335e0b8a5a297dffa4f9d560dabcc264ec170c49e09b22c98a7e3190600090a350565b6007546001600160a01b031681565b3390565b600082821115611cdb576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082820183811015611357576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600082611d4a575060006111a3565b82820282848281611d5757fe5b04146113575760405162461bcd60e51b81526004018080602001828103825260218152602001806124656021913960400191505060405180910390fd5b6000808211611dea576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b818381611df357fe5b049392505050565b600354604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015611e4657600080fd5b505afa158015611e5a573d6000803e3d6000fd5b505050506040513d6020811015611e7057600080fd5b5051905080821115611f04576003546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015611ed257600080fd5b505af1158015611ee6573d6000803e3d6000fd5b505050506040513d6020811015611efc57600080fd5b50611f879050565b6003546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015611f5a57600080fd5b505af1158015611f6e573d6000803e3d6000fd5b505050506040513d6020811015611f8457600080fd5b50505b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611f87908490612125565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052612038908590612125565b50505050565b60006120d482856001600160a01b031663dd62ed3e30876040518363ffffffff1660e01b815260040180836001600160a01b03168152602001826001600160a01b031681526020019250505060206040518083038186803b1580156120a257600080fd5b505afa1580156120b6573d6000803e3d6000fd5b505050506040513d60208110156120cc57600080fd5b505190611ce1565b604080516001600160a01b038616602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663095ea7b360e01b1790529091506120389085905b606061217a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166121d69092919063ffffffff16565b805190915015611f875780806020019051602081101561219957600080fd5b5051611f875760405162461bcd60e51b815260040180806020018281038252602a8152602001806124cb602a913960400191505060405180910390fd5b60606121e584846000856121ed565b949350505050565b60608247101561222e5760405162461bcd60e51b815260040180806020018281038252602681526020018061243f6026913960400191505060405180910390fd5b61223785612349565b612288576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106122c75780518252601f1990920191602091820191016122a8565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612329576040519150601f19603f3d011682016040523d82523d6000602084013e61232e565b606091505b509150915061233e82828661234f565b979650505050505050565b3b151590565b6060831561235e575081611357565b82511561236e5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156123b85781810151838201526020016123a0565b50505050905090810190601f1680156123e55780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe6164643a20696e76616c6964206465706f7369742066656520626173697320706f696e74734f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777365743a20696e76616c6964206465706f7369742066656520626173697320706f696e74734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212201e368fb4cc556f26d002322661a53f8e2d552ada8a653d6ecd5b4a06c10ba2f764736f6c634300060c00330000000000000000000000002c320d3aac6c5b87baa92e0290d24e680bd5f5440000000000000000000000000000000000000000000000000000000000617c36000000000000000000000000000000000000000000000000000000000061ecb6

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

0000000000000000000000002c320d3aac6c5b87baa92e0290d24e680bd5f5440000000000000000000000000000000000000000000000000000000000617c36000000000000000000000000000000000000000000000000000000000061ecb6

-----Decoded View---------------
Arg [0] : _devaddr (address): 0x2c320d3aac6c5b87baa92e0290d24e680bd5f544
Arg [1] : _startBlock (uint256): 6388790
Arg [2] : _noFeeBlock (uint256): 6417590

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000002c320d3aac6c5b87baa92e0290d24e680bd5f544
Arg [1] : 0000000000000000000000000000000000000000000000000000000000617c36
Arg [2] : 000000000000000000000000000000000000000000000000000000000061ecb6


Deployed ByteCode Sourcemap

40332:13120:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43384:95;;;:::i;:::-;;;;;;;;;;;;;;;;44945:545;;;;;;;;;;;;;;;;-1:-1:-1;44945:545:0;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;42511:26;;;;;;;;;;;;;;;;-1:-1:-1;42511:26:0;;:::i;:::-;;;;;-1:-1:-1;;;;;42511:26:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;42511:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;42681:34;;;:::i;42370:46::-;;;:::i;41891:65::-;;;:::i;:::-;;;;-1:-1:-1;;;;;41891:65:0;;;;;;;;;;;;;;52636:220;;;;;;;;;;;;;;;;-1:-1:-1;52636:220:0;-1:-1:-1;;;;;52636:220:0;;:::i;49700:1508::-;;;;;;;;;;;;;;;;-1:-1:-1;49700:1508:0;;;;;;;:::i;42321:42::-;;;:::i;42423:25::-;;;:::i;47051:1093::-;;;;;;;;;;;;;;;;-1:-1:-1;47051:1093:0;;:::i;51279:466::-;;;;;;;;;;;;;;;;-1:-1:-1;51279:466:0;;:::i;45783:929::-;;;;;;;;;;;;;;;;-1:-1:-1;45783:929:0;;;;;;-1:-1:-1;;;;;45783:929:0;;:::i;46795:180::-;;;:::i;42018:71::-;;;:::i;24830:148::-;;;:::i;41804:64::-;;;:::i;42250:::-;;;:::i;52448:180::-;;;;;;;;;;;;;;;;-1:-1:-1;52448:180:0;-1:-1:-1;;;;;52448:180:0;;:::i;24179:87::-;;;:::i;45566:153::-;;;;;;;;;;;;;;;;-1:-1:-1;45566:153:0;;;;;;;:::i;42566:64::-;;;;;;;;;;;;;;;;-1:-1:-1;42566:64:0;;;;;;-1:-1:-1;;;;;42566:64:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;42455:25;;;:::i;52176:214::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;52176:214:0;;;;;;;;:::i;44036:812::-;;;;;;;;;;;;;;;;-1:-1:-1;44036:812:0;;;;;;;-1:-1:-1;;;;;44036:812:0;;;;;;;;;;;;;;;;;;;;;;;:::i;41987:22::-;;;:::i;48152:1496::-;;;;;;;;;;;;;;;;-1:-1:-1;48152:1496:0;;;;;;;:::i;42098:68::-;;;:::i;53092:357::-;;;;;;;;;;;;;;;;-1:-1:-1;53092:357:0;;:::i;25133:244::-;;;;;;;;;;;;;;;;-1:-1:-1;25133:244:0;-1:-1:-1;;;;;25133:244:0;;:::i;52864:220::-;;;;;;;;;;;;;;;;-1:-1:-1;52864:220:0;-1:-1:-1;;;;;52864:220:0;;:::i;42173:68::-;;;:::i;43384:95::-;43456:8;:15;43384:95;:::o;44945:545::-;24410:12;:10;:12::i;:::-;-1:-1:-1;;;;;24399:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24399:23:0;;24391:68;;;;;-1:-1:-1;;;24391:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24391:68:0;;;;;;;;;;;;;;;43773:8:::1;:15:::0;45104:4;;43767:21;::::1;43759:49;;;::::0;;-1:-1:-1;;;43759:49:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;43759:49:0;;;;;;;;;;;;;::::1;;45146:3:::2;45129:13;:20;;;;45121:70;;;;-1:-1:-1::0;;;45121:70:0::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45206:11;45202:61;;;45234:17;:15;:17::i;:::-;45291:87;45356:11;45291:46;45311:8;45320:4;45311:14;;;;;;;;;;;;;;;;;;:25;;;45291:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::2;:87::i;:::-;45273:15;:105;;;;45417:11;45389:8;45398:4;45389:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;45469:13;45439:8;45448:4;45439:14;;;;;;;;;;;;;;;;;;:27;;;:43;;;;;;;;;;;;;;;;;;24470:1:::1;44945:545:::0;;;;:::o;42511:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;42511:26:0;;;;-1:-1:-1;42511:26:0;;;;;;;;;;-1:-1:-1;;;42511:26:0;;;;;:::o;42681:34::-;;;;:::o;42370:46::-;;;;:::o;41891:65::-;;;-1:-1:-1;;;;;41891:65:0;;:::o;52636:220::-;52722:8;;-1:-1:-1;;;;;52722:8:0;52708:10;:22;52700:59;;;;;-1:-1:-1;;;52700:59:0;;;;;;;;;;;;-1:-1:-1;;;52700:59:0;;;;;;;;;;;;;;;52770:8;:22;;-1:-1:-1;;;;;;52770:22:0;-1:-1:-1;;;;;52770:22:0;;;;;;;;52808:40;;52824:10;;52808:40;;-1:-1:-1;;52808:40:0;52636:220;:::o;49700:1508::-;27136:1;27742:7;;:19;;27734:63;;;;;-1:-1:-1;;;27734:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27136:1;27875:7;:18;43773:8:::1;:15:::0;49781:4;;43767:21;::::1;43759:49;;;::::0;;-1:-1:-1;;;43759:49:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;43759:49:0;;;;;;;;;;;;;::::1;;49797:16:::2;49808:4;49797:10;:16::i;:::-;49826:21;49850:8;49859:4;49850:14;;;;;;;;;::::0;;;::::2;::::0;;;49899;;;:8:::2;:14:::0;;;;;;49914:10:::2;49899:26:::0;;;;;;;49850:14:::2;::::0;;;::::2;::::0;;::::2;49964:10;::::0;;::::2;::::0;49954:39;;-1:-1:-1;;;49954:39:0;;;;49850:14;;-1:-1:-1;49899:26:0;;49850:14;-1:-1:-1;;;;;49964:10:0::2;::::0;49954:37:::2;::::0;:39;;::::2;::::0;49850:14;;49954:39;;;;;;49964:10;49954:39;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;49954:39:0;50014:11;;49954:39;;-1:-1:-1;50006:44:0::2;;;::::0;;-1:-1:-1;;;50006:44:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;50006:44:0;;;;;;;;;;;;;::::2;;50077:1;50069:5;:9;50061:32;;;::::0;;-1:-1:-1;;;50061:32:0;;::::2;;::::0;::::2;::::0;::::2;::::0;;;;-1:-1:-1;;;50061:32:0;;;;;;;;;;;;;::::2;;50141:15;50172:101;50243:4;:15;;;50172:48;50215:4;50172:38;50188:4;:21;;;50172:4;:11;;;:15;;:38;;;;:::i;:::-;:42:::0;::::2;:48::i;:::-;:52:::0;::::2;:101::i;:::-;50141:132:::0;-1:-1:-1;50290:11:0;;50286:82:::2;;50318:38;50336:10;50348:7;50318:17;:38::i;:::-;50430:11:::0;;50456:17;;::::2;50452:67;;;50501:6;50490:17;;50452:67;50533:12:::0;;50529:543:::2;;50612:10;::::0;;::::2;::::0;50602:40:::2;::::0;;-1:-1:-1;;;50602:40:0;;;;::::2;::::0;;;;50562:20:::2;::::0;-1:-1:-1;;;;;50612:10:0;;::::2;::::0;50602:30:::2;::::0;:40;;;;;::::2;::::0;;;;;;;;50562:20;50612:10;50602:40;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;50602:40:0;50678:11;;50602:40;;-1:-1:-1;50663:26:0;::::2;50659:166;;;50724:1;50710:15:::0;;50659:166:::2;;;50780:11:::0;;:29:::2;::::0;50796:12;50780:15:::2;:29::i;:::-;50766:43:::0;;50659:166:::2;50866:9:::0;;50859:42:::2;::::0;;-1:-1:-1;;;50859:42:0;;50895:4:::2;50859:42;::::0;::::2;::::0;;;50841:15:::2;::::0;-1:-1:-1;;;;;50866:9:0::2;::::0;50859:27:::2;::::0;:42;;;;;::::2;::::0;;;;;;;;50866:9;50859:42;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;50859:42:0;;-1:-1:-1;50920:18:0;;::::2;50916:77;;;50970:7;50959:18;;50916:77;51007:9:::0;;:53:::2;::::0;-1:-1:-1;;;;;51007:9:0::2;51038:10;51051:8:::0;51007:22:::2;:53::i;:::-;50529:543;;;51116:21;::::0;::::2;::::0;51100:11;;:48:::2;::::0;51143:4:::2;::::0;51100:38:::2;::::0;:15:::2;:38::i;:48::-;51082:15;::::0;::::2;:66:::0;51164:36:::2;::::0;;;;;;;51185:4;;51173:10:::2;::::0;51164:36:::2;::::0;;;;::::2;::::0;;::::2;-1:-1:-1::0;;27092:1:0;28054:22;;-1:-1:-1;;;;;;49700:1508:0:o;42321:42::-;;;;:::o;42423:25::-;;;;:::o;47051:1093::-;47103:21;47127:8;47136:4;47127:14;;;;;;;;;;;;;;;;;;47103:38;;47172:4;:20;;;47156:12;:36;47152:75;;47209:7;;;47152:75;47237:23;47273:4;:10;;;;;;;;;;-1:-1:-1;;;;;47273:10:0;-1:-1:-1;;;;;47263:37:0;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47263:39:0;;-1:-1:-1;47317:20:0;47313:109;;-1:-1:-1;47377:12:0;47354:20;;;;:35;47404:7;;47313:109;47432:18;47453:49;47467:4;:20;;;47489:12;47453:13;:49::i;:::-;47432:70;;47531:1;47517:10;:15;47513:54;;47549:7;;;;;47513:54;47577:19;47600:71;47655:15;;47600:50;47634:4;:15;;;47600:29;47615:13;;47600:10;:14;;:29;;;;:::i;:::-;:33;;:50::i;:71::-;47695:5;;47721:7;;47819:15;;47695:5;47780:15;;;47758:16;;47577:94;;-1:-1:-1;;;;;;47695:5:0;;;;47684:22;;47721:7;;;;47743:106;;47819:15;47743:53;;:32;;:10;;:14;:32::i;:106::-;47684:176;;;;;;;;;;;;;-1:-1:-1;;;;;47684:176:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;47884:5:0;;47873:87;;;-1:-1:-1;;;47873:87:0;;47918:4;47873:87;;;;;;;;;;;;-1:-1:-1;;;;;47884:5:0;;;;-1:-1:-1;47873:22:0;;-1:-1:-1;47873:87:0;;;;;47884:5;;47873:87;;;;;;;;47884:5;;47873:87;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47997:93;48037:42;48063:15;48037:21;48053:4;48037:11;:15;;:21;;;;:::i;:42::-;47997:21;;;;;:25;:93::i;:::-;47973:21;;;:117;-1:-1:-1;;48124:12:0;48101:20;;;;:35;;;;-1:-1:-1;47051:1093:0;;:::o;51279:466::-;27136:1;27742:7;;:19;;27734:63;;;;;-1:-1:-1;;;27734:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27136:1;27875:7;:18;43773:8:::1;:15:::0;51351:4;;43767:21;::::1;43759:49;;;::::0;;-1:-1:-1;;;43759:49:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;43759:49:0;;;;;;;;;;;;;::::1;;51367:21:::2;51391:8;51400:4;51391:14;;;;;;;;;::::0;;;::::2;::::0;;;51440;;;:8:::2;:14:::0;;;;;;51455:10:::2;51440:26:::0;;;;;;;51496:11;;51391:14:::2;::::0;;;::::2;::::0;;::::2;51530:10;::::0;;::::2;::::0;51520:38;;-1:-1:-1;;;51520:38:0;;;;::::2;::::0;;;;;51391:14;;-1:-1:-1;51440:26:0;;-1:-1:-1;;;;;51530:10:0;;::::2;::::0;51520:30:::2;::::0;:38;;;;;51391:14;;51520:38;;;;;;;;;51530:10;51520:38;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;;51585:1:0::2;51571:15:::0;;;51597::::2;::::0;::::2;:19:::0;51627:9;;:51:::2;::::0;-1:-1:-1;;;;;51627:9:0::2;51658:10;51671:6:::0;51627:22:::2;:51::i;:::-;51694:43;::::0;;;;;;;51724:4;;51712:10:::2;::::0;51694:43:::2;::::0;;;;::::2;::::0;;::::2;-1:-1:-1::0;;27092:1:0;28054:22;;-1:-1:-1;;;51279:466:0:o;45783:929::-;45884:7;45909:21;45933:8;45942:4;45933:14;;;;;;;;;;;;;;;;45982;;;:8;:14;;;;;;-1:-1:-1;;;;;45982:21:0;;;;;;;;;;;45933:14;;;;;;;;46041:21;;;;46109:10;;;;;46099:39;;-1:-1:-1;;;46099:39:0;;;;45933:14;;-1:-1:-1;45982:21:0;;46041;;45933:14;;46109:10;;;;;46099:37;;:39;;;;;;;;;;;46109:10;46099:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46099:39:0;46168:20;;;;46099:39;;-1:-1:-1;46153:12:0;:35;:59;;;;-1:-1:-1;46192:20:0;;;46153:59;46149:474;;;46229:18;46267:49;46281:4;:20;;;46303:12;46267:13;:49::i;:::-;46229:87;;46331:19;46370:111;46447:15;;46370:50;46404:4;:15;;;46370:29;46385:13;;46370:10;:14;;:29;;;;:::i;:111::-;46331:150;-1:-1:-1;46515:96:0;46554:42;46580:15;46554:21;46331:150;46570:4;46554:15;:21::i;:42::-;46515:16;;:20;:96::i;:::-;46496:115;;46149:474;;;46640:64;46688:4;:15;;;46640:43;46678:4;46640:33;46656:16;46640:4;:11;;;:15;;:33;;;;:::i;:64::-;46633:71;;;;;;45783:929;;;;;:::o;46795:180::-;46857:8;:15;46840:14;46883:85;46911:6;46905:3;:12;46883:85;;;46941:15;46952:3;46941:10;:15::i;:::-;46919:5;;46883:85;;;;46795:180;:::o;42018:71::-;;;-1:-1:-1;;;;;42018:71:0;;:::o;24830:148::-;24410:12;:10;:12::i;:::-;-1:-1:-1;;;;;24399:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24399:23:0;;24391:68;;;;;-1:-1:-1;;;24391:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24391:68:0;;;;;;;;;;;;;;;24937:1:::1;24921:6:::0;;24900:40:::1;::::0;-1:-1:-1;;;;;24921:6:0;;::::1;::::0;24900:40:::1;::::0;24937:1;;24900:40:::1;24968:1;24951:19:::0;;-1:-1:-1;;;;;;24951:19:0::1;::::0;;24830:148::o;41804:64::-;;;-1:-1:-1;;;;;41804:64:0;;:::o;42250:::-;;;-1:-1:-1;;;;;42250:64:0;;:::o;52448:180::-;52519:7;;-1:-1:-1;;;;;52519:7:0;52505:10;:21;52497:43;;;;;-1:-1:-1;;;52497:43:0;;;;;;;;;;;;-1:-1:-1;;;52497:43:0;;;;;;;;;;;;;;;52551:7;:18;;-1:-1:-1;;;;;;52551:18:0;-1:-1:-1;;;;;52551:18:0;;;;;;;;52585:35;;52599:10;;52585:35;;-1:-1:-1;;52585:35:0;52448:180;:::o;24179:87::-;24225:7;24252:6;-1:-1:-1;;;;;24252:6:0;24179:87;:::o;45566:153::-;45665:7;45697:14;:3;45705:5;45697:7;:14::i;:::-;45690:21;45566:153;-1:-1:-1;;;45566:153:0:o;42566:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;42455:25::-;;;;:::o;52176:214::-;24410:12;:10;:12::i;:::-;-1:-1:-1;;;;;24399:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24399:23:0;;24391:68;;;;;-1:-1:-1;;;24391:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24391:68:0;;;;;;;;;;;;;;;52308:5:::1;::::0;-1:-1:-1;;;;;52298:15:0;;::::1;52308:5:::0;::::1;52298:15;;52290:33;;;::::0;;-1:-1:-1;;;52290:33:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;52290:33:0;;;;;;;;;;;;;::::1;;52334:48;-1:-1:-1::0;;;;;52334:27:0;::::1;52362:10;52374:7:::0;52334:27:::1;:48::i;44036:812::-:0;24410:12;:10;:12::i;:::-;-1:-1:-1;;;;;24399:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24399:23:0;;24391:68;;;;;-1:-1:-1;;;24391:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24391:68:0;;;;;;;;;;;;;;;44245:3:::1;44228:13;:20;;;;44220:70;;;;-1:-1:-1::0;;;44220:70:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44305:11;44301:61;;;44333:17;:15;:17::i;:::-;44372:23;44426:10;;44411:12;:25;:53;;44454:10;;44411:53;;;44439:12;44411:53;44493:15;::::0;44372:92;;-1:-1:-1;44493:32:0::1;::::0;44513:11;44493:19:::1;:32::i;:::-;44475:15;:50:::0;44564:265:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;44564:265:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;44564:265:0;;;;;;;;::::1;::::0;;;;;;::::1;::::0;;::::1;::::0;;;;;;44536:8:::1;:304:::0;;::::1;::::0;::::1;::::0;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;::::1;-1:-1:-1::0;;;;;;44536:304:0;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::1;-1:-1:-1::0;;;44536:304:0::1;-1:-1:-1::0;;;;44536:304:0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;;-1:-1:-1;44036:812:0:o;41987:22::-;;;-1:-1:-1;;;;;41987:22:0;;:::o;48152:1496::-;27136:1;27742:7;;:19;;27734:63;;;;;-1:-1:-1;;;27734:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27136:1;27875:7;:18;43773:8:::1;:15:::0;48231:4;;43767:21;::::1;43759:49;;;::::0;;-1:-1:-1;;;43759:49:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;43759:49:0;;;;;;;;;;;;;::::1;;48247:16:::2;48258:4;48247:10;:16::i;:::-;48274:21;48298:8;48307:4;48298:14;;;;;;;;;::::0;;;::::2;::::0;;;48347;;;:8:::2;:14:::0;;;;;;48362:10:::2;48347:26:::0;;;;;;;48390:11;;48298:14:::2;::::0;;::::2;::::0;;::::2;::::0;-1:-1:-1;48390:15:0;48386:296:::2;;48422:15;48457:109;48532:4;:15;;;48457:48;48500:4;48457:38;48473:4;:21;;;48457:4;:11;;;:15;;:38;;;;:::i;:109::-;48422:144:::0;-1:-1:-1;48585:11:0;;48581:90:::2;;48617:38;48635:10;48647:7;48617:17;:38::i;:::-;48386:296;;48696:12:::0;;48692:821:::2;;48725:9:::0;;:72:::2;::::0;-1:-1:-1;;;;;48725:9:0::2;48760:10;48781:4;48788:8:::0;48725:26:::2;:72::i;:::-;48856:17;::::0;::::2;::::0;48829:8;;-1:-1:-1;;;48856:17:0;::::2;;;:21:::0;;;;:50:::2;;;48896:10;;48881:12;:25;48856:50;48852:422;;;48961:17;::::0;::::2;::::0;48927:18:::2;::::0;48948:42:::2;::::0;48984:5:::2;::::0;48948:31:::2;::::0;:8;;-1:-1:-1;;;48961:17:0;::::2;;;48948:12;:31::i;:42::-;48927:63:::0;-1:-1:-1;49009:23:0::2;49035:17;48927:63:::0;49050:1:::2;49035:14;:17::i;:::-;49094:8;::::0;49071:9;;49009:43;;-1:-1:-1;49071:49:0::2;::::0;-1:-1:-1;;;;;49071:9:0;;::::2;::::0;49094:8:::2;49009:43:::0;49071:22:::2;:49::i;:::-;49162:8;::::0;49139:65:::2;::::0;-1:-1:-1;;;;;49162:8:0::2;49172:31;:10:::0;49187:15;49172:14:::2;:31::i;:::-;49139:9:::0;;-1:-1:-1;;;;;49139:9:0::2;::::0;:65;:22:::2;:65::i;:::-;49232:26;49233:8:::0;49247:10;49232:14:::2;:26::i;:::-;49223:35;;48852:422;;;49320:10;::::0;::::2;::::0;49288:9;;:51:::2;::::0;-1:-1:-1;;;;;49288:9:0;;::::2;::::0;49320:10:::2;49332:6:::0;49288:31:::2;:51::i;:::-;49354:21;49405:8;49414:4;49405:14;;;;;;;;;::::0;;;::::2;::::0;;;:20:::2;:14;::::0;;::::2;;:20:::0;::::2;::::0;49395:47:::2;::::0;;-1:-1:-1;;;49395:47:0;;;;::::2;::::0;;;;-1:-1:-1;;;;;49405:20:0;;::::2;::::0;49395:39:::2;::::0;:47;;;;;49405:14;49395:47;;;;;;;;;49405:20;49395:47;::::2;;::::0;::::2;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;-1:-1:-1::0;49395:47:0;49471:11;;49395:47;;-1:-1:-1;49471:30:0::2;::::0;49395:47;49471:15:::2;:30::i;:::-;49457:44:::0;;-1:-1:-1;;48692:821:0::2;49557:21;::::0;::::2;::::0;49541:11;;:48:::2;::::0;49584:4:::2;::::0;49541:38:::2;::::0;:15:::2;:38::i;:48::-;49523:15;::::0;::::2;:66:::0;49605:35:::2;::::0;;;;;;;49625:4;;49613:10:::2;::::0;49605:35:::2;::::0;;;;::::2;::::0;;::::2;-1:-1:-1::0;;27092:1:0;28054:22;;-1:-1:-1;;;48152:1496:0:o;42098:68::-;;;-1:-1:-1;;;;;42098:68:0;;:::o;53092:357::-;53176:7;53161:12;:22;53153:46;;;;;-1:-1:-1;;;53153:46:0;;;;;;;;;;;;-1:-1:-1;;;53153:46:0;;;;;;;;;;;;;;;53288:11;;53217:4;;53210:124;;-1:-1:-1;;;;;53217:4:0;;;;53262:10;;53288:11;53314:9;53210:29;:124::i;:::-;53358:5;;53347:45;;;-1:-1:-1;;;53347:45:0;;53370:10;53347:45;;;;;;;;;;;;-1:-1:-1;;;;;53358:5:0;;;;53347:22;;:45;;;;;53358:5;;53347:45;;;;;;;;53358:5;;53347:45;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;53408:33:0;;;;;;;;53420:10;;-1:-1:-1;53408:33:0;;-1:-1:-1;53408:33:0;;;;;;;;53092:357;:::o;25133:244::-;24410:12;:10;:12::i;:::-;-1:-1:-1;;;;;24399:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24399:23:0;;24391:68;;;;;-1:-1:-1;;;24391:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24391:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;25222:22:0;::::1;25214:73;;;;-1:-1:-1::0;;;25214:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25324:6;::::0;;25303:38:::1;::::0;-1:-1:-1;;;;;25303:38:0;;::::1;::::0;25324:6;::::1;::::0;25303:38:::1;::::0;::::1;25352:6;:17:::0;;-1:-1:-1;;;;;;25352:17:0::1;-1:-1:-1::0;;;;;25352:17:0;;;::::1;::::0;;;::::1;::::0;;25133:244::o;52864:220::-;52950:8;;-1:-1:-1;;;;;52950:8:0;52936:10;:22;52928:59;;;;;-1:-1:-1;;;52928:59:0;;;;;;;;;;;;-1:-1:-1;;;52928:59:0;;;;;;;;;;;;;;;52998:8;:22;;-1:-1:-1;;;;;;52998:22:0;-1:-1:-1;;;;;52998:22:0;;;;;;;;53036:40;;53052:10;;53036:40;;-1:-1:-1;;53036:40:0;52864:220;:::o;42173:68::-;;;-1:-1:-1;;;;;42173:68:0;;:::o;22714:106::-;22802:10;22714:106;:::o;6101:158::-;6159:7;6192:1;6187;:6;;6179:49;;;;;-1:-1:-1;;;6179:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6246:5:0;;;6101:158::o;5639:179::-;5697:7;5729:5;;;5753:6;;;;5745:46;;;;;-1:-1:-1;;;5745:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;6518:220;6576:7;6600:6;6596:20;;-1:-1:-1;6615:1:0;6608:8;;6596:20;6639:5;;;6643:1;6639;:5;:1;6663:5;;;;;:10;6655:56;;;;-1:-1:-1;;;6655:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7216:153;7274:7;7306:1;7302;:5;7294:44;;;;;-1:-1:-1;;;7294:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;7360:1;7356;:5;;;;;;;7216:153;-1:-1:-1;;;7216:153:0:o;51853:315::-;51958:5;;51951:38;;;-1:-1:-1;;;51951:38:0;;51983:4;51951:38;;;;;;51932:16;;-1:-1:-1;;;;;51958:5:0;;51951:23;;:38;;;;;;;;;;;;;;51958:5;51951:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51951:38:0;;-1:-1:-1;52004:20:0;;;52000:161;;;52048:5;;52041:37;;;-1:-1:-1;;;52041:37:0;;-1:-1:-1;;;;;52041:37:0;;;;;;;;;;;;;;;52048:5;;;;;52041:22;;:37;;;;;;;;;;;;;;52048:5;;52041:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52000:161:0;;-1:-1:-1;52000:161:0;;52118:5;;52111:38;;;-1:-1:-1;;;52111:38:0;;-1:-1:-1;;;;;52111:38:0;;;;;;;;;;;;;;;52118:5;;;;;52111:22;;:38;;;;;;;;;;;;;;52118:5;;52111:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52000:161:0;51853:315;;;:::o;19005:177::-;19115:58;;;-1:-1:-1;;;;;19115:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19115:58:0;-1:-1:-1;;;19115:58:0;;;19088:86;;19108:5;;19088:19;:86::i;19190:205::-;19318:68;;;-1:-1:-1;;;;;19318:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19318:68:0;-1:-1:-1;;;19318:68:0;;;19291:96;;19311:5;;19291:19;:96::i;:::-;19190:205;;;;:::o;20294:286::-;20391:20;20414:50;20458:5;20414;-1:-1:-1;;;;;20414:15:0;;20438:4;20445:7;20414:39;;;;;;;;;;;;;-1:-1:-1;;;;;20414:39:0;;;;;;-1:-1:-1;;;;;20414:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20414:39:0;;:43;:50::i;:::-;20502:69;;;-1:-1:-1;;;;;20502:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20502:69:0;-1:-1:-1;;;20502:69:0;;;20391:73;;-1:-1:-1;20475:97:0;;20495:5;;21310:761;21734:23;21760:69;21788:4;21760:69;;;;;;;;;;;;;;;;;21768:5;-1:-1:-1;;;;;21760:27:0;;;:69;;;;;:::i;:::-;21844:17;;21734:95;;-1:-1:-1;21844:21:0;21840:224;;21986:10;21975:30;;;;;;;;;;;;;;;-1:-1:-1;21975:30:0;21967:85;;;;-1:-1:-1;;;21967:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13998:195;14101:12;14133:52;14155:6;14163:4;14169:1;14172:12;14133:21;:52::i;:::-;14126:59;13998:195;-1:-1:-1;;;;13998:195:0:o;15050:530::-;15177:12;15235:5;15210:21;:30;;15202:81;;;;-1:-1:-1;;;15202:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15302:18;15313:6;15302:10;:18::i;:::-;15294:60;;;;;-1:-1:-1;;;15294:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15428:12;15442:23;15469:6;-1:-1:-1;;;;;15469:11:0;15489:5;15497:4;15469:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15469:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15427:75;;;;15520:52;15538:7;15547:10;15559:12;15520:17;:52::i;:::-;15513:59;15050:530;-1:-1:-1;;;;;;;15050:530:0:o;11080:422::-;11447:20;11486:8;;;11080:422::o;17590:742::-;17705:12;17734:7;17730:595;;;-1:-1:-1;17765:10:0;17758:17;;17730:595;17879:17;;:21;17875:439;;18142:10;18136:17;18203:15;18190:10;18186:2;18182:19;18175:44;18090:148;18285:12;18278:20;;-1:-1:-1;;;18278:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://1e368fb4cc556f26d002322661a53f8e2d552ada8a653d6ecd5b4a06c10ba2f7
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.