Contract 0x5195e78bb6f09740190b69f18cd472dcda2d0a1a

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x2b5cab5c38414f7ba9697f2b05872d31f1fd702432bb35326ce29c4c4290a12aDeposit120840142021-10-25 17:18:5821 hrs 22 mins ago0x4d8035da703dce71cc5e0179a9a11d8f49779b3a IN  0x5195e78bb6f09740190b69f18cd472dcda2d0a1a0 BNB0.000517365
0x0432b1af78ab290a4f539d94a167232f3747451137ce4cc943053f6b5f75390bDeposit120037322021-10-22 21:40:563 days 17 hrs ago0x4f0d7d28f134f3700e994beb1db07374d16e81cc IN  0x5195e78bb6f09740190b69f18cd472dcda2d0a1a0 BNB0.00059566
0xb84bd73e57458ed6010d53c869e146a0be750339b77df5584aa3573c0fc9b8e9Withdraw120037072021-10-22 21:39:413 days 17 hrs ago0x4f0d7d28f134f3700e994beb1db07374d16e81cc IN  0x5195e78bb6f09740190b69f18cd472dcda2d0a1a0 BNB0.000329505
0x2949ba4d608b016ae4bd222b6253a439d6fe08669f6ffd81d56230f7f330b037Deposit119469752021-10-20 21:22:435 days 17 hrs ago0x4d8035da703dce71cc5e0179a9a11d8f49779b3a IN  0x5195e78bb6f09740190b69f18cd472dcda2d0a1a0 BNB0.000517365
0x9848882fc4d753842dfdec7bb9ae8a794b5d0146042d9d9baf67a0a0d53c590fWithdraw119263982021-10-20 4:05:206 days 10 hrs ago0xfb580b618a58d29af7aea2bbb6c756019b4ffb2a IN  0x5195e78bb6f09740190b69f18cd472dcda2d0a1a0 BNB0.000329385
0x84103b8f973eadf9befb56faa31e2d8df42e92e82e87db3f20388d471b84f726Deposit119263902021-10-20 4:04:566 days 10 hrs ago0xfb580b618a58d29af7aea2bbb6c756019b4ffb2a IN  0x5195e78bb6f09740190b69f18cd472dcda2d0a1a0 BNB0.00045943
0x13c574cfe2bd055aca5d2dd1aaefe3a80026fbf4331cc1a11525bc320d055c2cDeposit119184642021-10-19 21:25:446 days 17 hrs ago0xfb580b618a58d29af7aea2bbb6c756019b4ffb2a IN  0x5195e78bb6f09740190b69f18cd472dcda2d0a1a0 BNB0.00059566
0x488793f98b506055293f6982acc7a670860519ef54da9d1f29d1ca4596f66a09Deposit118261002021-10-16 15:33:299 days 23 hrs ago0x363b65e317a31794ba175d5d00cc525246ccac08 IN  0x5195e78bb6f09740190b69f18cd472dcda2d0a1a0 BNB0.00052291
0xd84887d02ee96cc7b6f8906699619aaedf8f4ce3da3761336cfde71e8921c9e7Deposit118260912021-10-16 15:32:579 days 23 hrs ago0x363b65e317a31794ba175d5d00cc525246ccac08 IN  0x5195e78bb6f09740190b69f18cd472dcda2d0a1a0 BNB0.00053443
0x1f50e506a0e9cb76a7c472a58f3b33f76a5c3eb4417659996387fb2ce5bb2cfdDeposit118038812021-10-15 20:57:0310 days 17 hrs ago0x55bfb05f08801c405c295acbc39d1014c3de41c8 IN  0x5195e78bb6f09740190b69f18cd472dcda2d0a1a0 BNB0.000526845
0x6a3edb2bd05790b02f856736a05b35f84716f9b202a9846d1a95fe95ed40b651Deposit118038382021-10-15 20:54:5410 days 17 hrs ago0x55bfb05f08801c405c295acbc39d1014c3de41c8 IN  0x5195e78bb6f09740190b69f18cd472dcda2d0a1a0 BNB0.000442365
0x04b62027b7bc68e4c99cbcdea17dd477b1aacf8b20640cbb762f6264b3faf101Deposit117984702021-10-15 16:26:2310 days 22 hrs ago0x85af369e13a28a521eb4fc698ac7576a864ec554 IN  0x5195e78bb6f09740190b69f18cd472dcda2d0a1a0 BNB0.00052303
0x51f8dea90977885279fb6ad84a16bd1b61388ea17b1c6500e315e99c3d02f401Deposit117957212021-10-15 14:08:1411 days 33 mins ago0x4f0d7d28f134f3700e994beb1db07374d16e81cc IN  0x5195e78bb6f09740190b69f18cd472dcda2d0a1a0 BNB0.00052297
0xd1eae2c681a5b9417f360a5f71ba9b5d1dc603e100312f8aeb6dd794f16dc180Deposit117957152021-10-15 14:07:5611 days 33 mins ago0x4f0d7d28f134f3700e994beb1db07374d16e81cc IN  0x5195e78bb6f09740190b69f18cd472dcda2d0a1a0 BNB0.00052291
0x3f055059f8b19109cd498d74c912acca367df5543376d23c51fc90e58a22bd30Deposit117956782021-10-15 14:06:0511 days 35 mins ago0xb9971675641a502c3ba25d9f3e31836b5165108d IN  0x5195e78bb6f09740190b69f18cd472dcda2d0a1a0 BNB0.00052291
0xf561f0f6abca7df26155bf3bc1b6a4ba42a8cd2346e2e676a3b7b0b3ee2214daDeposit117396562021-10-13 15:13:1412 days 23 hrs ago0x4d8035da703dce71cc5e0179a9a11d8f49779b3a IN  0x5195e78bb6f09740190b69f18cd472dcda2d0a1a0 BNB0.000517365
0x37126c7e074577411617de60aa1aaefaa71c33b93184e972b6003f508f14d218Deposit116891782021-10-11 20:37:2714 days 18 hrs ago0x55bfb05f08801c405c295acbc39d1014c3de41c8 IN  0x5195e78bb6f09740190b69f18cd472dcda2d0a1a0 BNB0.000526845
0x9f7f4704be4e8125dc9a6d6be2971f4789a71b1679c1dfc5b53cf87307ee5f5dDeposit116890992021-10-11 20:33:3014 days 18 hrs ago0x55bfb05f08801c405c295acbc39d1014c3de41c8 IN  0x5195e78bb6f09740190b69f18cd472dcda2d0a1a0 BNB0.000442365
0x9e9692186df8f807391fd7789604c5570bf24988929638c78b3351e926b140cbWithdraw116799902021-10-11 12:18:2115 days 2 hrs ago0x3311514d764e6e2cff2f538f8279569708de90ab IN  0x5195e78bb6f09740190b69f18cd472dcda2d0a1a0 BNB0.000370655
0x216396a2ad12f74885894842cee855aa65d6ef03c7ada75ee3a68dc813bf71e2Withdraw116799852021-10-11 12:18:0615 days 2 hrs ago0x3311514d764e6e2cff2f538f8279569708de90ab IN  0x5195e78bb6f09740190b69f18cd472dcda2d0a1a0 BNB0.00029783
0xad73067709736dfd90c5785b2fdaffb12280de6da392485c3fbd11793bb7f9eeWithdraw116799822021-10-11 12:17:5715 days 2 hrs ago0x3311514d764e6e2cff2f538f8279569708de90ab IN  0x5195e78bb6f09740190b69f18cd472dcda2d0a1a0 BNB0.000445595
0xc9448bc8e49233b1a35e6aaf9316023a45127ab3a186d44246df7f5b8b33a5b2Withdraw116799802021-10-11 12:17:5115 days 2 hrs ago0x3311514d764e6e2cff2f538f8279569708de90ab IN  0x5195e78bb6f09740190b69f18cd472dcda2d0a1a0 BNB0.0002978
0x9801a8f8b90ec045318daa2f14eb3a30131888ae596cb176542da4edd01aa672Withdraw116799772021-10-11 12:17:4215 days 2 hrs ago0x3311514d764e6e2cff2f538f8279569708de90ab IN  0x5195e78bb6f09740190b69f18cd472dcda2d0a1a0 BNB0.0002978
0x13a29b2d7d20c1f33c536232818c858a34d662f81bcba99cc639a8695e59aad6Withdraw116799752021-10-11 12:17:3615 days 2 hrs ago0x3311514d764e6e2cff2f538f8279569708de90ab IN  0x5195e78bb6f09740190b69f18cd472dcda2d0a1a0 BNB0.000445595
0xb43cec4358b123937b2f8ab5e91473672dcd3cb5065205ac6cc26f52360fbef3Withdraw116799722021-10-11 12:17:2715 days 2 hrs ago0x3311514d764e6e2cff2f538f8279569708de90ab IN  0x5195e78bb6f09740190b69f18cd472dcda2d0a1a0 BNB0.00029777
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Similar Match)
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0xda4d3d7ffa979014a0cbe9df452f183c26be59ea

Contract Name:
MasterChef

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

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

/**
 *Submitted for verification at BscScan.com on 2021-02-26
*/

// 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/EnumerableSet.sol

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

// 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/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/STKNToken.sol

pragma solidity 0.6.12;




// SushiToken with Governance.
contract STKNToken is ERC20("Stakin Yeild Token", "STKN"), 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);
        _moveDelegates(address(0), _delegates[_to], _amount);
    }

    mapping (address => address) internal _delegates;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

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

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

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

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

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

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

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

// File: contracts/MasterChef.sol

pragma solidity 0.6.12;

interface IMigratorChef {
    function migrate(IERC20 token) external returns (IERC20);
}


contract MasterChef is Ownable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;
    // Info of each user.
    struct UserInfo {
        uint256 amount; 
        uint256 rewardDebt; 
      
    }
    struct PoolInfo {
        IERC20 lpToken; 
        uint256 allocPoint; 
        uint256 lastRewardBlock; 
        uint256 accSushiPerShare; 
    }
    STKNToken public sushi;
    uint256 public sushiPerBlock;
    uint256 public constant BONUS_MULTIPLIER = 1;
    IMigratorChef public migrator;
    PoolInfo[] public poolInfo;
    mapping(uint256 => mapping(address => UserInfo)) public userInfo;
    mapping(uint256 => uint256) public totalStakeAmount;
    uint256 public totalAllocPoint = 0;
    uint256 public startBlock;
    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(
        address indexed user,
        uint256 indexed pid,
        uint256 amount
    );

    constructor(
        STKNToken _sushi,
        uint256 _sushiPerBlock,
        uint256 _startBlock
    ) public {
        sushi = _sushi;
        sushiPerBlock = _sushiPerBlock;
        startBlock = _startBlock;
        // staking pool
        poolInfo.push(PoolInfo({
            lpToken: _sushi,
            allocPoint: 0,
            lastRewardBlock: startBlock,
            accSushiPerShare: 0
        }));

        totalAllocPoint = 0;
    }

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

    function add(
        uint256 _allocPoint,
        IERC20 _lpToken,
        bool _withUpdate
    ) public onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        uint256 lastRewardBlock =
            block.number > startBlock ? block.number : startBlock;
        totalAllocPoint = totalAllocPoint.add(_allocPoint);
        poolInfo.push(
            PoolInfo({
                lpToken: _lpToken,
                allocPoint: _allocPoint,
                lastRewardBlock: lastRewardBlock,
                accSushiPerShare: 0
            })
        );
    }

    function set(
        uint256 _pid,
        uint256 _allocPoint,
        bool _withUpdate
    ) public onlyOwner {
        if (_withUpdate) {
            massUpdatePools();
        }
        totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(
            _allocPoint
        );
        poolInfo[_pid].allocPoint = _allocPoint;
    }

    function setMigrator(IMigratorChef _migrator) public onlyOwner {
        migrator = _migrator;
    }

    function migrate(uint256 _pid) public {
        require(address(migrator) != address(0), "migrate: no migrator");
        PoolInfo storage pool = poolInfo[_pid];
        IERC20 lpToken = pool.lpToken;
        uint256 bal = lpToken.balanceOf(address(this));
        lpToken.safeApprove(address(migrator), bal);
        IERC20 newLpToken = migrator.migrate(lpToken);
        require(bal == newLpToken.balanceOf(address(this)), "migrate: bad");
        pool.lpToken = newLpToken;
    }

    function getMultiplier(uint256 _from, uint256 _to) public view returns (uint256) {
        return _to.sub(_from).mul(BONUS_MULTIPLIER);
    }

    function pendingSty(uint256 _pid, address _user)
        external
        view
        returns (uint256)
    {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accSushiPerShare = pool.accSushiPerShare;
        uint256 lpSupply = totalStakeAmount[_pid];
        if (block.number > pool.lastRewardBlock && lpSupply != 0) {
            uint256 multiplier =
                getMultiplier(pool.lastRewardBlock, block.number);
            uint256 sushiReward =
                multiplier.mul(sushiPerBlock).mul(pool.allocPoint).div(
                    totalAllocPoint
                );
            accSushiPerShare = accSushiPerShare.add(
                sushiReward.mul(1e12).div(lpSupply)
            );
        }
        return user.amount.mul(accSushiPerShare).div(1e12).sub(user.rewardDebt);
    }

    function massUpdatePools() public {
        uint256 length = poolInfo.length;
        for (uint256 pid = 0; pid < length; ++pid) {
            updatePool(pid);
        }
    }

    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.number <= pool.lastRewardBlock) {
            return;
        }
        uint256 lpSupply = totalStakeAmount[_pid];
        if (lpSupply == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
        uint256 sushiReward =
            multiplier.mul(sushiPerBlock).mul(pool.allocPoint).div(
                totalAllocPoint
            );
        pool.accSushiPerShare = pool.accSushiPerShare.add(
            sushiReward.mul(1e12).div(lpSupply)
        );
        pool.lastRewardBlock = block.number;
    }

    function deposit(uint256 _pid, uint256 _amount) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updatePool(_pid);
        if (user.amount > 0) {
            uint256 pending =
                user.amount.mul(pool.accSushiPerShare).div(1e12).sub(
                    user.rewardDebt
                );
            safeSushiTransfer(msg.sender, pending);
        }
        pool.lpToken.safeTransferFrom(
            address(msg.sender),
            address(this),
            _amount
        );
        user.amount = user.amount.add(_amount);
        user.rewardDebt = user.amount.mul(pool.accSushiPerShare).div(1e12);
        totalStakeAmount[_pid] = totalStakeAmount[_pid].add(_amount);
        emit Deposit(msg.sender, _pid, _amount);
    }

    function withdraw(uint256 _pid, uint256 _amount) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool(_pid);
        uint256 pending =
            user.amount.mul(pool.accSushiPerShare).div(1e12).sub(
                user.rewardDebt
            );
        safeSushiTransfer(msg.sender, pending);
        user.amount = user.amount.sub(_amount);
        user.rewardDebt = user.amount.mul(pool.accSushiPerShare).div(1e12);
        pool.lpToken.safeTransfer(address(msg.sender), _amount);
        totalStakeAmount[_pid] = totalStakeAmount[_pid].sub(_amount);
        emit Withdraw(msg.sender, _pid, _amount);
    }

    function emergencyWithdraw(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        pool.lpToken.safeTransfer(address(msg.sender), user.amount);
        totalStakeAmount[_pid] = totalStakeAmount[_pid].sub(user.amount);
        emit EmergencyWithdraw(msg.sender, _pid, user.amount);
        user.amount = 0;
        user.rewardDebt = 0;
    }

    function safeSushiTransfer(address _to, uint256 _amount) internal {
        uint256 sushiBal = sushi.balanceOf(address(this));
        if (_amount > sushiBal) {
            sushi.transfer(_to, sushiBal);
        } else {
            sushi.transfer(_to, _amount);
        }
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract STKNToken","name":"_sushi","type":"address"},{"internalType":"uint256","name":"_sushiPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"BONUS_MULTIPLIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrator","outputs":[{"internalType":"contract IMigratorChef","name":"","type":"address"}],"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":"pendingSty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accSushiPerShare","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IMigratorChef","name":"_migrator","type":"address"}],"name":"setMigrator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sushi","outputs":[{"internalType":"contract STKNToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sushiPerBlock","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":"uint256","name":"","type":"uint256"}],"name":"totalStakeAmount","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":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600060075534801561001557600080fd5b5060405162002af238038062002af28339818101604052606081101561003a57600080fd5b81019080805190602001909291908051906020019092919080519060200190929190505050600061006f61023960201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35082600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160028190555080600881905550600460405180608001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160085481526020016000815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015550506000600781905550505050610241565b600033905090565b6128a180620002516000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c806364482f79116100c357806393f1a40b1161007c57806393f1a40b146104e2578063b0bcf42a1461054b578063cef1de2414610569578063e2bbb158146105ab578063f2fde38b146105e3578063fe21cf7c1461062757610158565b806364482f79146103c2578063715018a6146104065780637cd07e47146104105780638aa28550146104445780638da5cb5b146104625780638dbb1e3a1461049657610158565b8063441a3e7011610115578063441a3e70146102d8578063454b06081461031057806348cd4cb11461033e57806351eb05a61461035c5780635312ea8e1461038a578063630b5ba1146103b857610158565b8063081e3eda1461015d5780630a0879031461017b5780631526fe27146101af57806317caf6f11461021c5780631eaaa0451461023a57806323cf311814610294575b600080fd5b610165610689565b6040518082815260200191505060405180910390f35b610183610696565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101db600480360360208110156101c557600080fd5b81019080803590602001909291905050506106bc565b604051808573ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200182815260200194505050505060405180910390f35b610224610719565b6040518082815260200191505060405180910390f35b6102926004803603606081101561025057600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080351515906020019092919050505061071f565b005b6102d6600480360360208110156102aa57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506108df565b005b61030e600480360360408110156102ee57600080fd5b8101908080359060200190929190803590602001909291905050506109d2565b005b61033c6004803603602081101561032657600080fd5b8101908080359060200190929190505050610c59565b005b610346611083565b6040518082815260200191505060405180910390f35b6103886004803603602081101561037257600080fd5b8101908080359060200190929190505050611089565b005b6103b6600480360360208110156103a057600080fd5b8101908080359060200190929190505050611198565b005b6103c061130b565b005b610404600480360360608110156103d857600080fd5b810190808035906020019092919080359060200190929190803515159060200190929190505050611338565b005b61040e611469565b005b6104186115d6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61044c6115fc565b6040518082815260200191505060405180910390f35b61046a611601565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104cc600480360360408110156104ac57600080fd5b81019080803590602001909291908035906020019092919050505061162a565b6040518082815260200191505060405180910390f35b61052e600480360360408110156104f857600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061165a565b604051808381526020018281526020019250505060405180910390f35b61055361168b565b6040518082815260200191505060405180910390f35b6105956004803603602081101561057f57600080fd5b8101908080359060200190929190505050611691565b6040518082815260200191505060405180910390f35b6105e1600480360360408110156105c157600080fd5b8101908080359060200190929190803590602001909291905050506116a9565b005b610625600480360360208110156105f957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506118c6565b005b6106736004803603604081101561063d57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ab8565b6040518082815260200191505060405180910390f35b6000600480549050905090565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600481815481106106c957fe5b90600052602060002090600402016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154905084565b60075481565b610727611c4c565b73ffffffffffffffffffffffffffffffffffffffff16610745611601565b73ffffffffffffffffffffffffffffffffffffffff16146107ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80156107dd576107dc61130b565b5b600060085443116107f0576008546107f2565b435b905061080984600754611c5490919063ffffffff16565b600781905550600460405180608001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018681526020018381526020016000815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101556040820151816002015560608201518160030155505050505050565b6108e7611c4c565b73ffffffffffffffffffffffffffffffffffffffff16610905611601565b73ffffffffffffffffffffffffffffffffffffffff161461098e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600483815481106109e157fe5b9060005260206000209060040201905060006005600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508281600001541015610abf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b610ac884611089565b6000610b128260010154610b0464e8d4a51000610af687600301548760000154611cdc90919063ffffffff16565b611d6290919063ffffffff16565b611deb90919063ffffffff16565b9050610b1e3382611e6e565b610b35848360000154611deb90919063ffffffff16565b8260000181905550610b6f64e8d4a51000610b6185600301548560000154611cdc90919063ffffffff16565b611d6290919063ffffffff16565b8260010181905550610bc633858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166120e79092919063ffffffff16565b610bec846006600088815260200190815260200160002054611deb90919063ffffffff16565b6006600087815260200190815260200160002081905550843373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568866040518082815260200191505060405180910390a35050505050565b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610d1e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f6d6967726174653a206e6f206d69677261746f7200000000000000000000000081525060200191505060405180910390fd5b600060048281548110610d2d57fe5b9060005260206000209060040201905060008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610dcf57600080fd5b505afa158015610de3573d6000803e3d6000fd5b505050506040513d6020811015610df957600080fd5b81019080805190602001909291905050509050610e59600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16828473ffffffffffffffffffffffffffffffffffffffff166121899092919063ffffffff16565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ce5494bb846040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b158015610ee657600080fd5b505af1158015610efa573d6000803e3d6000fd5b505050506040513d6020811015610f1057600080fd5b810190808051906020019092919050505090508073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610f8a57600080fd5b505afa158015610f9e573d6000803e3d6000fd5b505050506040513d6020811015610fb457600080fd5b81019080805190602001909291905050508214611039576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f6d6967726174653a20626164000000000000000000000000000000000000000081525060200191505060405180910390fd5b808460000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050565b60085481565b60006004828154811061109857fe5b90600052602060002090600402019050806002015443116110b95750611195565b60006006600084815260200190815260200160002054905060008114156110ea574382600201819055505050611195565b60006110fa83600201544361162a565b9050600061113d60075461112f866001015461112160025487611cdc90919063ffffffff16565b611cdc90919063ffffffff16565b611d6290919063ffffffff16565b905061117f61116c8461115e64e8d4a5100085611cdc90919063ffffffff16565b611d6290919063ffffffff16565b8560030154611c5490919063ffffffff16565b8460030181905550438460020181905550505050505b50565b6000600482815481106111a757fe5b9060005260206000209060040201905060006005600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061125e3382600001548460000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166120e79092919063ffffffff16565b61128881600001546006600086815260200190815260200160002054611deb90919063ffffffff16565b6006600085815260200190815260200160002081905550823373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae059583600001546040518082815260200191505060405180910390a36000816000018190555060008160010181905550505050565b6000600480549050905060005b818110156113345761132981611089565b806001019050611318565b5050565b611340611c4c565b73ffffffffffffffffffffffffffffffffffffffff1661135e611601565b73ffffffffffffffffffffffffffffffffffffffff16146113e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80156113f6576113f561130b565b5b61143b8261142d6004868154811061140a57fe5b906000526020600020906004020160010154600754611deb90919063ffffffff16565b611c5490919063ffffffff16565b600781905550816004848154811061144f57fe5b906000526020600020906004020160010181905550505050565b611471611c4c565b73ffffffffffffffffffffffffffffffffffffffff1661148f611601565b73ffffffffffffffffffffffffffffffffffffffff1614611518576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600181565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600061165260016116448585611deb90919063ffffffff16565b611cdc90919063ffffffff16565b905092915050565b6005602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b60025481565b60066020528060005260406000206000915090505481565b6000600483815481106116b857fe5b9060005260206000209060040201905060006005600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061172584611089565b60008160000154111561178a57600061177c826001015461176e64e8d4a5100061176087600301548760000154611cdc90919063ffffffff16565b611d6290919063ffffffff16565b611deb90919063ffffffff16565b90506117883382611e6e565b505b6117db3330858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661234e909392919063ffffffff16565b6117f2838260000154611c5490919063ffffffff16565b816000018190555061182c64e8d4a5100061181e84600301548460000154611cdc90919063ffffffff16565b611d6290919063ffffffff16565b816001018190555061185a836006600087815260200190815260200160002054611c5490919063ffffffff16565b6006600086815260200190815260200160002081905550833373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15856040518082815260200191505060405180910390a350505050565b6118ce611c4c565b73ffffffffffffffffffffffffffffffffffffffff166118ec611601565b73ffffffffffffffffffffffffffffffffffffffff1614611975576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156119fb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061279f6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060048481548110611ac857fe5b9060005260206000209060040201905060006005600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600082600301549050600060066000888152602001908152602001600020549050836002015443118015611b61575060008114155b15611bfc576000611b7685600201544361162a565b90506000611bb9600754611bab8860010154611b9d60025487611cdc90919063ffffffff16565b611cdc90919063ffffffff16565b611d6290919063ffffffff16565b9050611bf7611be884611bda64e8d4a5100085611cdc90919063ffffffff16565b611d6290919063ffffffff16565b85611c5490919063ffffffff16565b935050505b611c408360010154611c3264e8d4a51000611c24868860000154611cdc90919063ffffffff16565b611d6290919063ffffffff16565b611deb90919063ffffffff16565b94505050505092915050565b600033905090565b600080828401905083811015611cd2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600080831415611cef5760009050611d5c565b6000828402905082848281611d0057fe5b0414611d57576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806127eb6021913960400191505060405180910390fd5b809150505b92915050565b6000808211611dd9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b818381611de257fe5b04905092915050565b600082821115611e63576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611ef957600080fd5b505afa158015611f0d573d6000803e3d6000fd5b505050506040513d6020811015611f2357600080fd5b810190808051906020019092919050505090508082111561201257600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611fd157600080fd5b505af1158015611fe5573d6000803e3d6000fd5b505050506040513d6020811015611ffb57600080fd5b8101908080519060200190929190505050506120e2565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156120a557600080fd5b505af11580156120b9573d6000803e3d6000fd5b505050506040513d60208110156120cf57600080fd5b8101908080519060200190929190505050505b505050565b6121848363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061240f565b505050565b6000811480612257575060008373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801561221a57600080fd5b505afa15801561222e573d6000803e3d6000fd5b505050506040513d602081101561224457600080fd5b8101908080519060200190929190505050145b6122ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001806128366036913960400191505060405180910390fd5b6123498363095ea7b360e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061240f565b505050565b612409846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061240f565b50505050565b6060612471826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166124fe9092919063ffffffff16565b90506000815111156124f95780806020019051602081101561249257600080fd5b81019080805190602001909291905050506124f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061280c602a913960400191505060405180910390fd5b5b505050565b606061250d8484600085612516565b90509392505050565b606082471015612571576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806127c56026913960400191505060405180910390fd5b61257a856126bf565b6125ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061263c5780518252602082019150602081019050602083039250612619565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461269e576040519150601f19603f3d011682016040523d82523d6000602084013e6126a3565b606091505b50915091506126b38282866126d2565b92505050949350505050565b600080823b905060008111915050919050565b606083156126e257829050612797565b6000835111156126f55782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561275c578082015181840152602081019050612741565b50505050905090810190601f1680156127895780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a264697066735822122044c29b33be49c88c5d8dfb1a04fb46c88e7a72022fd7e83253620317107e955464736f6c634300060c0033000000000000000000000000babb5924df1490123fd4a396d2305a896f41cc0e00000000000000000000000000000000000000000000000007ebcdfad580b6000000000000000000000000000000000000000000000000000000000000632ea0

Deployed ByteCode Sourcemap

54929:7559:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56452:95;;;:::i;:::-;;;;;;;;;;;;;;;;;;;55311:22;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;55462:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55624:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;56555:605;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;57538:102;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;60980:771;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;57648:491;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;55665:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;59383:744;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;61759:431;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;59195:180;;;:::i;:::-;;57168:362;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;34592:148;;;:::i;:::-;;55426:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;55375:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;33941:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;58147:143;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;55495:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;55340:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;55566:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;60135:837;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;34895:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;58298:889;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;56452:95;56497:7;56524:8;:15;;;;56517:22;;56452:95;:::o;55311:22::-;;;;;;;;;;;;;:::o;55462:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;55624:34::-;;;;:::o;56555:605::-;34172:12;:10;:12::i;:::-;34161:23;;:7;:5;:7::i;:::-;:23;;;34153:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56690:11:::1;56686:61;;;56718:17;:15;:17::i;:::-;56686:61;56757:23;56811:10;;56796:12;:25;:53;;56839:10;;56796:53;;;56824:12;56796:53;56757:92;;56878:32;56898:11;56878:15;;:19;;:32;;;;:::i;:::-;56860:15;:50;;;;56921:8;56949:192;;;;;;;;56986:8;56949:192;;;;;;57025:11;56949:192;;;;57072:15;56949:192;;;;57124:1;56949:192;;::::0;56921:231:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34232:1;56555:605:::0;;;:::o;57538:102::-;34172:12;:10;:12::i;:::-;34161:23;;:7;:5;:7::i;:::-;:23;;;34153:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57623:9:::1;57612:8;;:20;;;;;;;;;;;;;;;;;;57538:102:::0;:::o;60980:771::-;61047:21;61071:8;61080:4;61071:14;;;;;;;;;;;;;;;;;;61047:38;;61096:21;61120:8;:14;61129:4;61120:14;;;;;;;;;;;:26;61135:10;61120:26;;;;;;;;;;;;;;;61096:50;;61180:7;61165:4;:11;;;:22;;61157:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61221:16;61232:4;61221:10;:16::i;:::-;61248:15;61279:101;61350:4;:15;;;61279:48;61322:4;61279:38;61295:4;:21;;;61279:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:48;;;;:::i;:::-;:52;;:101;;;;:::i;:::-;61248:132;;61391:38;61409:10;61421:7;61391:17;:38::i;:::-;61454:24;61470:7;61454:4;:11;;;:15;;:24;;;;:::i;:::-;61440:4;:11;;:38;;;;61507:48;61550:4;61507:38;61523:4;:21;;;61507:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:48;;;;:::i;:::-;61489:4;:15;;:66;;;;61566:55;61600:10;61613:7;61566:4;:12;;;;;;;;;;;;:25;;;;:55;;;;;:::i;:::-;61657:35;61684:7;61657:16;:22;61674:4;61657:22;;;;;;;;;;;;:26;;:35;;;;:::i;:::-;61632:16;:22;61649:4;61632:22;;;;;;;;;;;:60;;;;61729:4;61717:10;61708:35;;;61735:7;61708:35;;;;;;;;;;;;;;;;;;60980:771;;;;;:::o;57648:491::-;57734:1;57705:31;;57713:8;;;;;;;;;;;57705:31;;;;57697:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57772:21;57796:8;57805:4;57796:14;;;;;;;;;;;;;;;;;;57772:38;;57821:14;57838:4;:12;;;;;;;;;;;;57821:29;;57861:11;57875:7;:17;;;57901:4;57875:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57861:46;;57918:43;57946:8;;;;;;;;;;;57957:3;57918:7;:19;;;;:43;;;;;:::i;:::-;57972:17;57992:8;;;;;;;;;;;:16;;;58009:7;57992:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57972:45;;58043:10;:20;;;58072:4;58043:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58036:3;:42;58028:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58121:10;58106:4;:12;;;:25;;;;;;;;;;;;;;;;;;57648:491;;;;;:::o;55665:25::-;;;;:::o;59383:744::-;59435:21;59459:8;59468:4;59459:14;;;;;;;;;;;;;;;;;;59435:38;;59504:4;:20;;;59488:12;:36;59484:75;;59541:7;;;59484:75;59569:16;59588;:22;59605:4;59588:22;;;;;;;;;;;;59569:41;;59637:1;59625:8;:13;59621:102;;;59678:12;59655:4;:20;;:35;;;;59705:7;;;;59621:102;59733:18;59754:49;59768:4;:20;;;59790:12;59754:13;:49::i;:::-;59733:70;;59814:19;59849:103;59922:15;;59849:50;59883:4;:15;;;59849:29;59864:13;;59849:10;:14;;:29;;;;:::i;:::-;:33;;:50;;;;:::i;:::-;:54;;:103;;;;:::i;:::-;59814:138;;59987:86;60027:35;60053:8;60027:21;60043:4;60027:11;:15;;:21;;;;:::i;:::-;:25;;:35;;;;:::i;:::-;59987:4;:21;;;:25;;:86;;;;:::i;:::-;59963:4;:21;;:110;;;;60107:12;60084:4;:20;;:35;;;;59383:744;;;;;;:::o;61759:431::-;61818:21;61842:8;61851:4;61842:14;;;;;;;;;;;;;;;;;;61818:38;;61867:21;61891:8;:14;61900:4;61891:14;;;;;;;;;;;:26;61906:10;61891:26;;;;;;;;;;;;;;;61867:50;;61928:59;61962:10;61975:4;:11;;;61928:4;:12;;;;;;;;;;;;:25;;;;:59;;;;;:::i;:::-;62023:39;62050:4;:11;;;62023:16;:22;62040:4;62023:22;;;;;;;;;;;;:26;;:39;;;;:::i;:::-;61998:16;:22;62015:4;61998:22;;;;;;;;;;;:64;;;;62108:4;62096:10;62078:48;;;62114:4;:11;;;62078:48;;;;;;;;;;;;;;;;;;62151:1;62137:4;:11;;:15;;;;62181:1;62163:4;:15;;:19;;;;61759:431;;;:::o;59195:180::-;59240:14;59257:8;:15;;;;59240:32;;59288:11;59283:85;59311:6;59305:3;:12;59283:85;;;59341:15;59352:3;59341:10;:15::i;:::-;59319:5;;;;;59283:85;;;;59195:180;:::o;57168:362::-;34172:12;:10;:12::i;:::-;34161:23;;:7;:5;:7::i;:::-;:23;;;34153:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57300:11:::1;57296:61;;;57328:17;:15;:17::i;:::-;57296:61;57385:87;57450:11;57385:46;57405:8;57414:4;57405:14;;;;;;;;;;;;;;;;;;:25;;;57385:15;;:19;;:46;;;;:::i;:::-;:50;;:87;;;;:::i;:::-;57367:15;:105;;;;57511:11;57483:8;57492:4;57483:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;57168:362:::0;;;:::o;34592:148::-;34172:12;:10;:12::i;:::-;34161:23;;:7;:5;:7::i;:::-;:23;;;34153:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34699:1:::1;34662:40;;34683:6;::::0;::::1;;;;;;;;34662:40;;;;;;;;;;;;34730:1;34713:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;34592:148::o:0;55426:29::-;;;;;;;;;;;;;:::o;55375:44::-;55418:1;55375:44;:::o;33941:87::-;33987:7;34014:6;;;;;;;;;;;34007:13;;33941:87;:::o;58147:143::-;58219:7;58246:36;55418:1;58246:14;58254:5;58246:3;:7;;:14;;;;:::i;:::-;:18;;:36;;;;:::i;:::-;58239:43;;58147:143;;;;:::o;55495:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;55340:28::-;;;;:::o;55566:51::-;;;;;;;;;;;;;;;;;:::o;60135:837::-;60201:21;60225:8;60234:4;60225:14;;;;;;;;;;;;;;;;;;60201:38;;60250:21;60274:8;:14;60283:4;60274:14;;;;;;;;;;;:26;60289:10;60274:26;;;;;;;;;;;;;;;60250:50;;60311:16;60322:4;60311:10;:16::i;:::-;60356:1;60342:4;:11;;;:15;60338:245;;;60374:15;60409:109;60484:4;:15;;;60409:48;60452:4;60409:38;60425:4;:21;;;60409:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:48;;;;:::i;:::-;:52;;:109;;;;:::i;:::-;60374:144;;60533:38;60551:10;60563:7;60533:17;:38::i;:::-;60338:245;;60593:124;60645:10;60679:4;60699:7;60593:4;:12;;;;;;;;;;;;:29;;;;:124;;;;;;:::i;:::-;60742:24;60758:7;60742:4;:11;;;:15;;:24;;;;:::i;:::-;60728:4;:11;;:38;;;;60795:48;60838:4;60795:38;60811:4;:21;;;60795:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:48;;;;:::i;:::-;60777:4;:15;;:66;;;;60879:35;60906:7;60879:16;:22;60896:4;60879:22;;;;;;;;;;;;:26;;:35;;;;:::i;:::-;60854:16;:22;60871:4;60854:22;;;;;;;;;;;:60;;;;60950:4;60938:10;60930:34;;;60956:7;60930:34;;;;;;;;;;;;;;;;;;60135:837;;;;:::o;34895:244::-;34172:12;:10;:12::i;:::-;34161:23;;:7;:5;:7::i;:::-;:23;;;34153:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35004:1:::1;34984:22;;:8;:22;;;;34976:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35094:8;35065:38;;35086:6;::::0;::::1;;;;;;;;35065:38;;;;;;;;;;;;35123:8;35114:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;34895:244:::0;:::o;58298:889::-;58397:7;58422:21;58446:8;58455:4;58446:14;;;;;;;;;;;;;;;;;;58422:38;;58471:21;58495:8;:14;58504:4;58495:14;;;;;;;;;;;:21;58510:5;58495:21;;;;;;;;;;;;;;;58471:45;;58527:24;58554:4;:21;;;58527:48;;58586:16;58605;:22;58622:4;58605:22;;;;;;;;;;;;58586:41;;58657:4;:20;;;58642:12;:35;:52;;;;;58693:1;58681:8;:13;;58642:52;58638:460;;;58711:18;58749:49;58763:4;:20;;;58785:12;58749:13;:49::i;:::-;58711:87;;58813:19;58852:111;58929:15;;58852:50;58886:4;:15;;;58852:29;58867:13;;58852:10;:14;;:29;;;;:::i;:::-;:33;;:50;;;;:::i;:::-;:54;;:111;;;;:::i;:::-;58813:150;;58997:89;59036:35;59062:8;59036:21;59052:4;59036:11;:15;;:21;;;;:::i;:::-;:25;;:35;;;;:::i;:::-;58997:16;:20;;:89;;;;:::i;:::-;58978:108;;58638:460;;;59115:64;59163:4;:15;;;59115:43;59153:4;59115:33;59131:16;59115:4;:11;;;:15;;:33;;;;:::i;:::-;:37;;:43;;;;:::i;:::-;:47;;:64;;;;:::i;:::-;59108:71;;;;;;58298:889;;;;:::o;32480:106::-;32533:15;32568:10;32561:17;;32480:106;:::o;5705:179::-;5763:7;5783:9;5799:1;5795;:5;5783:17;;5824:1;5819;:6;;5811:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5875:1;5868:8;;;5705:179;;;;:::o;6584:220::-;6642:7;6671:1;6666;:6;6662:20;;;6681:1;6674:8;;;;6662:20;6693:9;6709:1;6705;:5;6693:17;;6738:1;6733;6729;:5;;;;;;:10;6721:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6795:1;6788:8;;;6584:220;;;;;:::o;7282:153::-;7340:7;7372:1;7368;:5;7360:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7426:1;7422;:5;;;;;;7415:12;;7282:153;;;;:::o;6167:158::-;6225:7;6258:1;6253;:6;;6245:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6316:1;6312;:5;6305:12;;6167:158;;;;:::o;62198:285::-;62275:16;62294:5;;;;;;;;;;;:15;;;62318:4;62294:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62275:49;;62349:8;62339:7;:18;62335:141;;;62374:5;;;;;;;;;;;:14;;;62389:3;62394:8;62374:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62335:141;;;62436:5;;;;;;;;;;;:14;;;62451:3;62456:7;62436:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62335:141;62198:285;;;:::o;19063:177::-;19146:86;19166:5;19196:23;;;19221:2;19225:5;19173:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19146:19;:86::i;:::-;19063:177;;;:::o;19722:622::-;20101:1;20092:5;:10;20091:62;;;;20151:1;20108:5;:15;;;20132:4;20139:7;20108:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:44;20091:62;20083:152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20246:90;20266:5;20296:22;;;20320:7;20329:5;20273:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20246:19;:90::i;:::-;19722:622;;;:::o;19248:205::-;19349:96;19369:5;19399:27;;;19428:4;19434:2;19438:5;19376:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19349:19;:96::i;:::-;19248:205;;;;:::o;21368:761::-;21792:23;21818:69;21846:4;21818:69;;;;;;;;;;;;;;;;;21826:5;21818:27;;;;:69;;;;;:::i;:::-;21792:95;;21922:1;21902:10;:17;:21;21898:224;;;22044:10;22033:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22025:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21898:224;21368:761;;;:::o;14060:195::-;14163:12;14195:52;14217:6;14225:4;14231:1;14234:12;14195:21;:52::i;:::-;14188:59;;14060:195;;;;;:::o;15112:530::-;15239:12;15297:5;15272:21;:30;;15264:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15364:18;15375:6;15364:10;:18::i;:::-;15356:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15490:12;15504:23;15531:6;:11;;15551:5;15559:4;15531:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15489:75;;;;15582:52;15600:7;15609:10;15621:12;15582:17;:52::i;:::-;15575:59;;;;15112:530;;;;;;:::o;11142:422::-;11202:4;11410:12;11521:7;11509:20;11501:28;;11555:1;11548:4;:8;11541:15;;;11142:422;;;:::o;17652:742::-;17767:12;17796:7;17792:595;;;17827:10;17820:17;;;;17792:595;17961:1;17941:10;:17;:21;17937:439;;;18204:10;18198:17;18265:15;18252:10;18248:2;18244:19;18237:44;18152:148;18347:12;18340:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17652:742;;;;;;:::o

Swarm Source

ipfs://44c29b33be49c88c5d8dfb1a04fb46c88e7a72022fd7e83253620317107e9554
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.