Contract 0xde866dD77b6DF6772e320dC92BFF0eDDC626C674 5

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xdaaa0f7baa78492b03234f229955eca686cff982566cc3c55723bd9d0ae688f8Leave Staking121393822021-10-27 16:04:1322 mins ago0xecbc2350b80172a7424c75831d870785d494d9b5 IN  0xde866dd77b6df6772e320dc92bff0eddc626c6740 BNB0.000363635
0xccd73007db29098f7d2c636ce55b194a448b39f852be72c1be9a05cb82aa0c5eLeave Staking121393622021-10-27 16:03:1323 mins ago0xecbc2350b80172a7424c75831d870785d494d9b5 IN  0xde866dd77b6df6772e320dc92bff0eddc626c6740 BNB0.000632125
0x75169431c93c3d34895b741ee3521490539c37f3a337ab3ba16897147e8c75f6Withdraw121393602021-10-27 16:03:0724 mins ago0x0758bfc802e9c9f19665905995c8faa33b65a216 IN  0xde866dd77b6df6772e320dc92bff0eddc626c6740 BNB0.000617175
0xe8c28dc83b705e84e1bca88fdc1129c33d4ed9cd78436cf7f4ca6e7ef5ddee65Leave Staking121393162021-10-27 16:00:5526 mins ago0x3db1897a071501683c506a2a167052927c3b4086 IN  0xde866dd77b6df6772e320dc92bff0eddc626c6740 BNB0.000363635
0xd41629b4785a7daf3b0ae5a0168816067597d22ca57d90b707e539570a80e9cfWithdraw121393022021-10-27 16:00:1326 mins ago0x3db1897a071501683c506a2a167052927c3b4086 IN  0xde866dd77b6df6772e320dc92bff0eddc626c6740 BNB0.000421205
0x6ea9b4c6ac24a89cc69fd9c721aba6c86a1c04e2e0bc644a73507ce06be029c6Leave Staking121384692021-10-27 15:18:051 hr 9 mins ago0xb45a9bc1b02a828ea5db7dc1f55431e759569aed IN  0xde866dd77b6df6772e320dc92bff0eddc626c6740 BNB0.000363635
0xfd824482a9eb654963493c2a70c0f723ddf2be4512cef8dd27969e029341bd75Leave Staking121384622021-10-27 15:17:411 hr 9 mins ago0xb45a9bc1b02a828ea5db7dc1f55431e759569aed IN  0xde866dd77b6df6772e320dc92bff0eddc626c6740 BNB0.000632125
0x3244a316428d7cc00de4ea5b2f531041a0833961749b84602ea456fdf4292a97Deposit121384002021-10-27 15:14:181 hr 12 mins ago0x82a20cafe6f4ab54ced046e89a0760d7f3a68b0f IN  0xde866dd77b6df6772e320dc92bff0eddc626c6740 BNB0.000364885
0x561cab6a2b394d815bd7bc30a70af61c79fedb5c7ee7181a2e877f9cfcd2824aDeposit121383962021-10-27 15:14:051 hr 13 mins ago0x82a20cafe6f4ab54ced046e89a0760d7f3a68b0f IN  0xde866dd77b6df6772e320dc92bff0eddc626c6740 BNB0.000506915
0xd9752b065a185c217fe23f985dc4481649d73f410aba451fb0fb7447248e6f44Leave Staking121383892021-10-27 15:13:411 hr 13 mins ago0x82a20cafe6f4ab54ced046e89a0760d7f3a68b0f IN  0xde866dd77b6df6772e320dc92bff0eddc626c6740 BNB0.000363635
0x7701ab5bfdf6372aea3f6d33a868b484f520694f183fba4ca0c9f8d6475df129Leave Staking121383812021-10-27 15:13:111 hr 13 mins ago0x82a20cafe6f4ab54ced046e89a0760d7f3a68b0f IN  0xde866dd77b6df6772e320dc92bff0eddc626c6740 BNB0.000632125
0xd0565d8da5f92141b92daac6715e7fe4ac756a88e74ce1ee2ebfeed28e9bdc51Withdraw121382232021-10-27 15:04:121 hr 22 mins ago0x662c395a000defb95c1d86634a0907e3e88856e1 IN  0xde866dd77b6df6772e320dc92bff0eddc626c6740 BNB0.000542235
0xe859ed163b689b7411732ef793675ee36e17dd6c03438697de9310e1893f919fLeave Staking121382012021-10-27 15:02:581 hr 24 mins ago0x662c395a000defb95c1d86634a0907e3e88856e1 IN  0xde866dd77b6df6772e320dc92bff0eddc626c6740 BNB0.000463665
0x6b3d6d85b05a733a2ce88bf1619ca4e5cf327e38384d6aba3012063e877d9cc7Withdraw121381782021-10-27 15:01:331 hr 25 mins ago0xf9de2fce5e331c219ede50fe37e66dff184875bf IN  0xde866dd77b6df6772e320dc92bff0eddc626c6740 BNB0.000421145
0x47a5ecd38e99d0c4e0e9290ab8497800137b350a2029bd3fe8a34d54648efa9fWithdraw121379162021-10-27 14:48:141 hr 38 mins ago0xe002cf71df96b42b1fa30e08db88291531ce2c10 IN  0xde866dd77b6df6772e320dc92bff0eddc626c6740 BNB0.000542175
0x48352fcd18d75ec515f8e559ad0ac2d9cde3ea73fefdb8c136a7fbf794304b01Leave Staking121379092021-10-27 14:47:531 hr 39 mins ago0xe002cf71df96b42b1fa30e08db88291531ce2c10 IN  0xde866dd77b6df6772e320dc92bff0eddc626c6740 BNB0.000463665
0x4ac3ff1848689cc9aa0314533174b8405bf1c904fac81bca7182a66f052f0601Deposit121377202021-10-27 14:38:181 hr 48 mins ago0x454f530c0229f67b1fe6cfef0c836610445d5d9a IN  0xde866dd77b6df6772e320dc92bff0eddc626c6740 BNB0.000506915
0xa54ab324ff0ec901aaba6b1fe9e1aebc2827fb7072f63271b2a1646c4b4acd7aWithdraw121377162021-10-27 14:38:061 hr 49 mins ago0xd6de6f12099c4230695bc974f6e8b47825107826 IN  0xde866dd77b6df6772e320dc92bff0eddc626c6740 BNB0.000421205
0x147b5b4bcc12ec6e8306fa1c804da668d21daf45e49f6ef16149afa649732815Leave Staking121377132021-10-27 14:37:571 hr 49 mins ago0x454f530c0229f67b1fe6cfef0c836610445d5d9a IN  0xde866dd77b6df6772e320dc92bff0eddc626c6740 BNB0.000538665
0x3dcf687168cd7deab94b0c9ed9b71caba3e74ee538243896cc4b53e1cf3a2074Withdraw121375842021-10-27 14:30:481 hr 56 mins ago0xccb29af002709878108553bbd726dba6c55342bb IN  0xde866dd77b6df6772e320dc92bff0eddc626c6740 BNB0.000421265
0x5988eceb723ecd3b8a57f33ee1415a178f0c018c65d73ec8971578c404084562Withdraw121375682021-10-27 14:29:521 hr 57 mins ago0xccb29af002709878108553bbd726dba6c55342bb IN  0xde866dd77b6df6772e320dc92bff0eddc626c6740 BNB0.000542235
0x008b1974bc6b42d053af8da0b3ed104fc00f4de1011250bb6b00be4ab045d9bfWithdraw121375542021-10-27 14:29:031 hr 58 mins ago0xccb29af002709878108553bbd726dba6c55342bb IN  0xde866dd77b6df6772e320dc92bff0eddc626c6740 BNB0.000421205
0xd1c0c52ba684a058cc8bd210081ca63abdb1e07a6a849a1253d9bb0807f3c404Withdraw121367112021-10-27 13:45:152 hrs 41 mins ago0x7250ccad180af376ba021176b5a15d0a4badb64d IN  0xde866dd77b6df6772e320dc92bff0eddc626c6740 BNB0.000421205
0x8f7662fd2096ea0c3a52721054307761754d65d2bfda11b0e3b95b86103949f6Withdraw121366172021-10-27 13:40:172 hrs 46 mins ago0xb60f592309fb2cdd4eab12b880e0c73081a6475a IN  0xde866dd77b6df6772e320dc92bff0eddc626c6740 BNB0.000421205
0x0997fbb5ec740dc6005075a3ea6ff2f1f1a869362b10d52361359a6631aa4601Deposit121362682021-10-27 13:22:113 hrs 4 mins ago0xccb29af002709878108553bbd726dba6c55342bb IN  0xde866dd77b6df6772e320dc92bff0eddc626c6740 BNB0.000506915
[ 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 0x483fE8e7734Dc10C70736a8937301c208C313596

Contract Name:
MasterChef

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-03-14
*/

// SPDX-License-Identifier: MIT

// ((/*,                                                                    ,*((/,.
// &&@@&&%#/*.                                                        .*(#&&@@@@%. 
// &&@@@@@@@&%(.                                                    ,#%&@@@@@@@@%. 
// &&@@@@@@@@@&&(,                                                ,#&@@@@@@@@@@@%. 
// &&@@@@@@@@@@@&&/.                                            .(&&@@@@@@@@@@@@%. 
// %&@@@@@@@@@@@@@&(,                                          *#&@@@@@@@@@@@@@@%. 
// #&@@@@@@@@@@@@@@&#*                                       .*#@@@@@@@@@@@@@@@&#. 
// #&@@@@@@@@@@@@@@@@#.                                      ,%&@@@@@@@@@@@@@@@&#. 
// #&@@@@@@@@@@@@@@@@%(,                                    ,(&@@@@@@@@@@@@@@@@&#. 
// #&@@@@@@@@@@@@@@@@&&/                                   .(%&@@@@@@@@@@@@@@@@&#. 
// #%@@@@@@@@@@@@@@@@@@(.               ,(/,.              .#&@@@@@@@@@@@@@@@@@&#. 
// (%@@@@@@@@@@@@@@@@@@#*.            ./%&&&/.            .*%@@@@@@@@@@@@@@@@@@%(. 
// (%@@@@@@@@@@@@@@@@@@#*.           *#&@@@@&%*.          .*%@@@@@@@@@@@@@@@@@@%(. 
// (%@@@@@@@@@@@@@@@@@@#/.         ./#@@@@@@@@%(.         ./%@@@@@@@@@@@@@@@@@@%(. 
// (%@@@@@@@@@@@@@@@@@@#/.        ./&@@@@@@@@@@&(*        ,/%@@@@@@@@@@@@@@@@@@%(. 
// (%@@@@@@@@@@@@@@@@@@%/.       ,#&@@@@@@@@@@@@&#,.      ,/%@@@@@@@@@@@@@@@@@@%(. 
// /%@@@@@@@@@@@@@@@@@@#/.      *(&@@@@@@@@@@@@@@&&*      ./%@@@@@@@@@@@@@@@@@&%(. 
// /%@@@@@@@@@@@@@@@@@@#/.     .(&@@@@@@@@@@@@@@@@@#*.    ,/%@@@@@@@@@@@@@@@@@&#/. 
// ,#@@@@@@@@@@@@@@@@@@#/.    ./%@@@@@@@@@@@@@@@@@@&#,    ,/%@@@@@@@@@@@@@@@@@&(,  
//  /%&@@@@@@@@@@@@@@@@#/.    *#&@@@@@@@@@@@@@@@@@@@&*    ,/%@@@@@@@@@@@@@@@@&%*   
//  .*#&@@@@@@@@@@@@@@@#/.    /&&@@@@@@@@@@@@@@@@@@@&/.   ,/%@@@@@@@@@@@@@@@@#*.   
//    ,(&@@@@@@@@@@@@@@#/.    /@@@@@@@@@@@@@@@@@@@@@&(,   ,/%@@@@@@@@@@@@@@%(,     
//     .*(&&@@@@@@@@@@@#/.    /&&@@@@@@@@@@@@@@@@@@@&/,   ,/%@@@@@@@@@@@&%/,       
//        ./%&@@@@@@@@@#/.    *#&@@@@@@@@@@@@@@@@@@@%*    ,/%@@@@@@@@@&%*          
//           ,/#%&&@@@@#/.     ,#&@@@@@@@@@@@@@@@@@#/.    ,/%@@@@&&%(/,            
//               ./#&@@%/.      ,/&@@@@@@@@@@@@@@%(,      ,/%@@%#*.                
//                   .,,,         ,/%&@@@@@@@@&%(*        .,,,.                    
//                                   ,/%&@@@%(*.                                   
//  .,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,**((/*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
//                                                                                                                                                                                                                                                                                                            
//                                                                                             

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

pragma solidity ^0.6.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

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

pragma solidity ^0.6.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/utils/Address.sol

pragma solidity ^0.6.2;

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.6.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/GSN/Context.sol

pragma solidity ^0.6.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;

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public 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;





/**
 * @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;
    using Address for address;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view 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 returns (uint8) {
        return _decimals;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view 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 is internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal 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 {
        _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/WardenToken.sol

pragma solidity 0.6.12;



// WardenToken with Governance.
contract WardenToken is ERC20('WardenSwap Token', 'Warden'), 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);
    }

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

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

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

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

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

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

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

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

    bytes32 public DOMAIN_SEPARATOR;
    // keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    bytes32 public constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;

    /// @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);

    constructor() public {
        DOMAIN_SEPARATOR = keccak256(
            abi.encode(
                keccak256('EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)'),
                keccak256(bytes(name())),
                keccak256(bytes('1')),
                getChainId(),
                address(this)
            )
        );
    }

    /**
     * @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), "WAD::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "WAD::delegateBySig: invalid nonce");
        require(now <= expiry, "WAD::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, "WAD::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 WADs (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, "WAD::_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;
    }

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external {
        require(deadline >= block.timestamp, 'WAD::permit: signature expired');
        bytes32 digest = keccak256(
            abi.encodePacked(
                '\x19\x01',
                DOMAIN_SEPARATOR,
                keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, nonces[owner]++, deadline))
            )
        );
        address recoveredAddress = ecrecover(digest, v, r, s);
        require(recoveredAddress != address(0) && recoveredAddress == owner, 'WAD::permit: invalid signature');
        _approve(owner, spender, value);
    }
}

// File: contracts/Tempest.sol

pragma solidity 0.6.12;




// Tempest with Governance.
contract Tempest is ERC20('Tempest', 'TST'), 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);
    }

    function burn(address _from ,uint256 _amount) public onlyOwner {
        _burn(_from, _amount);
        _moveDelegates(_delegates[_from], address(0), _amount);
    }

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

    // The WAD TOKEN!
    WardenToken public warden;


    constructor(
        WardenToken _warden
    ) public {
        warden = _warden;

        DOMAIN_SEPARATOR = keccak256(
            abi.encode(
                keccak256('EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)'),
                keccak256(bytes(name())),
                keccak256(bytes('1')),
                getChainId(),
                address(this)
            )
        );
    }

    // Safe warden transfer function, just in case if rounding error causes pool to not have enough WADs.
    function safeWardenTransfer(address _to, uint256 _amount) public onlyOwner {
        uint256 wardenBal = warden.balanceOf(address(this));
        if (_amount > wardenBal) {
            warden.transfer(_to, wardenBal);
        } else {
            warden.transfer(_to, _amount);
        }
    }

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

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

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

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

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

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

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

    bytes32 public DOMAIN_SEPARATOR;
    // keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    bytes32 public constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;

    /// @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), "WAD::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "WAD::delegateBySig: invalid nonce");
        require(now <= expiry, "WAD::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, "WAD::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 WADs (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, "WAD::_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;
    }

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external {
        require(deadline >= block.timestamp, 'WAD::permit: signature expired');
        bytes32 digest = keccak256(
            abi.encodePacked(
                '\x19\x01',
                DOMAIN_SEPARATOR,
                keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, nonces[owner]++, deadline))
            )
        );
        address recoveredAddress = ecrecover(digest, v, r, s);
        require(recoveredAddress != address(0) && recoveredAddress == owner, 'WAD::permit: invalid signature');
        _approve(owner, spender, value);
    }
}

// File: contracts/MasterChef.sol

pragma solidity 0.6.12;







// import "@nomiclabs/buidler/console.sol";

interface IMigratorChef {
    // Perform LP token migration from legacy to WardenPool.
    // Take the current LP token address and return the new LP token address.
    // Migrator should have full access to the caller's LP token.
    // Return the new LP token address.
    //
    // XXX Migrator must have allowance access to legacy LP tokens.
    // WardenPool must mint EXACTLY the same amount of WardenPool LP tokens or
    // else something bad will happen. Traditional legacy does not
    // do that so be careful!
    function migrate(IERC20 token) external returns (IERC20);
}

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

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

    // Info of each pool.
    struct PoolInfo {
        IERC20 lpToken;           // Address of LP token contract.
        uint256 allocPoint;       // How many allocation points assigned to this pool. WARDENs to distribute per block.
        uint256 lastRewardBlock;  // Last block number that WARDENs distribution occurs.
        uint256 accWardenPerShare; // Accumulated WARDENs per share, times 1e12. See below.
    }

    // The WARDEN TOKEN!
    WardenToken public warden;
    // The TEMPEST TOKEN!
    Tempest public tst;
    // Dev address.
    address public devaddr;
    // WARDEN tokens created per block.
    uint256 public wardenPerBlock;
    // Bonus muliplier for early warden makers.
    uint256 public BONUS_MULTIPLIER = 1;
    // The migrator contract. It has a lot of power. Can only be set through governance (owner).
    IMigratorChef public migrator;

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

    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event LogPoolAddition(uint256 indexed pid, uint256 allocPoint, IERC20 indexed lpToken, bool indexed wwithUpdate);
    event LogSetPool(uint256 indexed pid, uint256 allocPoint, bool indexed wwithUpdate);
    event LogUpdatePool(uint256 indexed pid, uint256 lastRewardBlock, uint256 lpSupply, uint256 accWardenPerShare);
    event LogUpdateMultiplier(uint256 multiplierNumber);

    constructor(
        WardenToken _warden,
        Tempest _tst,
        address _devaddr,
        uint256 _wardenPerBlock,
        uint256 _startBlock
    ) public {
        warden = _warden;
        tst = _tst;
        devaddr = _devaddr;
        wardenPerBlock = _wardenPerBlock;
        startBlock = _startBlock;

        // staking pool
        poolInfo.push(PoolInfo({
            lpToken: _warden,
            allocPoint: 0,
            lastRewardBlock: startBlock,
            accWardenPerShare: 0
        }));
        emit LogPoolAddition(0, 0, _warden, true);
    }

    function updateMultiplier(uint256 multiplierNumber) public onlyOwner {
        BONUS_MULTIPLIER = multiplierNumber;
        emit LogUpdateMultiplier(multiplierNumber);
    }

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

    // Add a new lp to the pool. Can only be called by the owner.
    // XXX DO NOT add the same LP token more than once. Rewards will be messed up if you do.
    function add(
        uint256 _allocPoint,
        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,
            accWardenPerShare: 0
        }));
        emit LogPoolAddition(poolInfo.length.sub(1), _allocPoint, _lpToken, _withUpdate);
    }

    // Update the given pool's WARDEN allocation point. Can only be called by the owner.
    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;
        emit LogSetPool(_pid, _allocPoint, _withUpdate);
    }

    // Set the migrator contract. Can only be called by the owner.
    function setMigrator(IMigratorChef _migrator) public onlyOwner {
        migrator = _migrator;
    }

    // Migrate lp token to another lp contract. Can be called by anyone. We trust that migrator contract is good.
    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;
    }

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

    // View function to see pending WARDENs on frontend.
    function pendingWarden(uint256 _pid, address _user) external view returns (uint256) {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][_user];
        uint256 accWardenPerShare = pool.accWardenPerShare;
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (block.number > pool.lastRewardBlock && lpSupply != 0) {
            uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
            uint256 wardenReward = multiplier.mul(wardenPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
            accWardenPerShare = accWardenPerShare.add(wardenReward.mul(1e12).div(lpSupply));
        }
        return user.amount.mul(accWardenPerShare).div(1e12).sub(user.rewardDebt);
    }

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


    // Update reward variables of the given pool to be up-to-date.
    function updatePool(uint256 _pid) public {
        PoolInfo storage pool = poolInfo[_pid];
        if (block.number <= pool.lastRewardBlock) {
            return;
        }
        uint256 lpSupply = pool.lpToken.balanceOf(address(this));
        if (lpSupply == 0) {
            pool.lastRewardBlock = block.number;
            return;
        }
        uint256 multiplier = getMultiplier(pool.lastRewardBlock, block.number);
        uint256 wardenReward = multiplier.mul(wardenPerBlock).mul(pool.allocPoint).div(totalAllocPoint);
        warden.mint(devaddr, wardenReward.div(8));
        warden.mint(address(tst), wardenReward);
        pool.accWardenPerShare = pool.accWardenPerShare.add(wardenReward.mul(1e12).div(lpSupply));
        pool.lastRewardBlock = block.number;
        emit LogUpdatePool(_pid, pool.lastRewardBlock, lpSupply, pool.accWardenPerShare);
    }

    // Deposit LP tokens to MasterChef for WARDEN allocation.
    function deposit(uint256 _pid, uint256 _amount) public {

        require (_pid != 0, 'deposit WARDEN by staking');

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

    // Withdraw LP tokens from MasterChef.
    function withdraw(uint256 _pid, uint256 _amount) public {

        require (_pid != 0, 'withdraw WARDEN by unstaking');
        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.accWardenPerShare).div(1e12).sub(user.rewardDebt);
        if(pending > 0) {
            safeWardenTransfer(msg.sender, pending);
        }
        user.amount = user.amount.sub(_amount);
        user.rewardDebt = user.amount.mul(pool.accWardenPerShare).div(1e12);
        if(_amount > 0) {
            pool.lpToken.safeTransfer(address(msg.sender), _amount);
        }
        emit Withdraw(msg.sender, _pid, _amount);
    }

    // Stake WARDEN tokens to MasterChef
    function enterStaking(uint256 _amount) public {
        PoolInfo storage pool = poolInfo[0];
        UserInfo storage user = userInfo[0][msg.sender];
        updatePool(0);
        if (user.amount > 0) {
            uint256 pending = user.amount.mul(pool.accWardenPerShare).div(1e12).sub(user.rewardDebt);
            if(pending > 0) {
                safeWardenTransfer(msg.sender, pending);
            }
        }
        user.amount = user.amount.add(_amount);
        user.rewardDebt = user.amount.mul(pool.accWardenPerShare).div(1e12);
        if(_amount > 0) {
            pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount);
        }

        tst.mint(msg.sender, _amount);
        emit Deposit(msg.sender, 0, _amount);
    }

    // Withdraw WARDEN tokens from STAKING.
    function leaveStaking(uint256 _amount) public {
        PoolInfo storage pool = poolInfo[0];
        UserInfo storage user = userInfo[0][msg.sender];
        require(user.amount >= _amount, "withdraw: not good");
        updatePool(0);
        uint256 pending = user.amount.mul(pool.accWardenPerShare).div(1e12).sub(user.rewardDebt);
        if(pending > 0) {
            safeWardenTransfer(msg.sender, pending);
        }
        user.amount = user.amount.sub(_amount);
        user.rewardDebt = user.amount.mul(pool.accWardenPerShare).div(1e12);
        tst.burn(msg.sender, _amount);
        if(_amount > 0) {
            pool.lpToken.safeTransfer(address(msg.sender), _amount);
        }
        emit Withdraw(msg.sender, 0, _amount);
    }

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

        uint256 _amount = user.amount;
        user.amount = 0;
        user.rewardDebt = 0;

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

    // Safe warden transfer function, just in case if rounding error causes pool to not have enough WARDENs.
    function safeWardenTransfer(address _to, uint256 _amount) internal {
        tst.safeWardenTransfer(_to, _amount);
    }

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract WardenToken","name":"_warden","type":"address"},{"internalType":"contract Tempest","name":"_tst","type":"address"},{"internalType":"address","name":"_devaddr","type":"address"},{"internalType":"uint256","name":"_wardenPerBlock","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":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"},{"indexed":true,"internalType":"contract IERC20","name":"lpToken","type":"address"},{"indexed":true,"internalType":"bool","name":"wwithUpdate","type":"bool"}],"name":"LogPoolAddition","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"allocPoint","type":"uint256"},{"indexed":true,"internalType":"bool","name":"wwithUpdate","type":"bool"}],"name":"LogSetPool","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"multiplierNumber","type":"uint256"}],"name":"LogUpdateMultiplier","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lpSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"accWardenPerShare","type":"uint256"}],"name":"LogUpdatePool","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":"address","name":"_devaddr","type":"address"}],"name":"dev","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devaddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"enterStaking","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":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"leaveStaking","outputs":[],"stateMutability":"nonpayable","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":"pendingWarden","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":"accWardenPerShare","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":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tst","outputs":[{"internalType":"contract Tempest","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"multiplierNumber","type":"uint256"}],"name":"updateMultiplier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"warden","outputs":[{"internalType":"contract WardenToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wardenPerBlock","outputs":[{"internalType":"uint256","name":"","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"}]

60806040526001600555600060095534801561001a57600080fd5b5060405162002b0038038062002b00833981810160405260a081101561003f57600080fd5b508051602082015160408301516060840151608090940151929391929091906000610068610213565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b038088166001600160a01b03199283168117845560028054898416908516179055600380548884169085161790556004868155600a86905560408051608081018252838152600060208083018281528385018b81526060850184815260078054808e0182559086529551959097027fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6888101805496909a1695909a169490941790975595517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68988015590517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68a87015591517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68b9095019490945583518181529351919390927fad5b09333e221a3ab1ec48f5594f2ba9fd1c56d813d8928281574015e18c0a5b92918290030190a45050505050610217565b3390565b6128d980620002276000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806364482f79116101045780638dbb1e3a116100a2578063b5bf1a3911610071578063b5bf1a391461050c578063d49e77cd14610514578063e2bbb1581461051c578063f2fde38b1461053f576101cf565b80638dbb1e3a1461045657806391888f2e1461047957806393f1a40b14610481578063b458b781146104d3576101cf565b80637f17df83116100de5780637f17df831461040b5780638aa28550146104135780638d88a90e1461041b5780638da5cb5b1461044e576101cf565b806364482f79146103a7578063715018a6146103d25780637cd07e47146103da576101cf565b8063441a3e701161017157806351eb05a61161014b57806351eb05a6146103485780635312ea8e146103655780635ffe614614610382578063630b5ba11461039f576101cf565b8063441a3e7014610300578063454b06081461032357806348cd4cb114610340576101cf565b806317caf6f1116101ad57806317caf6f1146102675780631eaaa0451461026f57806323cf3118146102b057806341441d3b146102e3576101cf565b8063081e3eda146101d45780631058d281146101ee5780631526fe271461020d575b600080fd5b6101dc610572565b60408051918252519081900360200190f35b61020b6004803603602081101561020457600080fd5b5035610578565b005b61022a6004803603602081101561022357600080fd5b50356107b7565b6040805173ffffffffffffffffffffffffffffffffffffffff90951685526020850193909352838301919091526060830152519081900360800190f35b6101dc610805565b61020b6004803603606081101561028557600080fd5b5080359073ffffffffffffffffffffffffffffffffffffffff6020820135169060400135151561080b565b61020b600480360360208110156102c657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610a31565b61020b600480360360208110156102f957600080fd5b5035610b09565b61020b6004803603604081101561031657600080fd5b5080359060200135610ccf565b61020b6004803603602081101561033957600080fd5b5035610ec0565b6101dc61121b565b61020b6004803603602081101561035e57600080fd5b5035611221565b61020b6004803603602081101561037b57600080fd5b50356114f8565b61020b6004803603602081101561039857600080fd5b50356115a1565b61020b61166d565b61020b600480360360608110156103bd57600080fd5b50803590602081013590604001351515611690565b61020b6117d5565b6103e26118d5565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6101dc6118f1565b6101dc6118f7565b61020b6004803603602081101561043157600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166118fd565b6103e26119ca565b6101dc6004803603604081101561046c57600080fd5b50803590602001356119e6565b6103e2611a03565b6104ba6004803603604081101561049757600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff16611a1f565b6040805192835260208301919091528051918290030190f35b6101dc600480360360408110156104e957600080fd5b508035906020013573ffffffffffffffffffffffffffffffffffffffff16611a43565b6103e2611bcb565b6103e2611be7565b61020b6004803603604081101561053257600080fd5b5080359060200135611c03565b61020b6004803603602081101561055557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611d8d565b60075490565b6000600760008154811061058857fe5b600091825260208083203384527f5eff886ea0ce6ca488a3d6e336d6c0f75f46d19b42c06ce5ee98e42c96d256c7909152604090922080546004909202909201925083111561063857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f77697468647261773a206e6f7420676f6f640000000000000000000000000000604482015290519081900360640190fd5b6106426000611221565b600061067c826001015461067664e8d4a5100061067087600301548760000154611f1790919063ffffffff16565b90611f8a565b90611fcc565b9050801561068e5761068e338261200e565b815461069a9085611fcc565b80835560038401546106b79164e8d4a51000916106709190611f17565b6001830155600254604080517f9dc29fac00000000000000000000000000000000000000000000000000000000815233600482015260248101879052905173ffffffffffffffffffffffffffffffffffffffff90921691639dc29fac9160448082019260009290919082900301818387803b15801561073557600080fd5b505af1158015610749573d6000803e3d6000fd5b5050505060008411156107795782546107799073ffffffffffffffffffffffffffffffffffffffff1633866120a5565b60408051858152905160009133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a350505050565b600781815481106107c457fe5b6000918252602090912060049091020180546001820154600283015460039093015473ffffffffffffffffffffffffffffffffffffffff9092169350919084565b60095481565b610813612137565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461089c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b80156108aa576108aa61166d565b6000600a5443116108bd57600a546108bf565b435b6009549091506108cf908561213b565b6009556040805160808101825273ffffffffffffffffffffffffffffffffffffffff8581168083526020830188815293830185815260006060850181815260078054600180820183559382905296517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688600490980297880180547fffffffffffffffffffffffff000000000000000000000000000000000000000016919097161790955595517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68986015590517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68a85015593517fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68b9093019290925554841515926109f89190611fcc565b6040805188815290517fad5b09333e221a3ab1ec48f5594f2ba9fd1c56d813d8928281574015e18c0a5b9181900360200190a450505050565b610a39612137565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614610ac257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60006007600081548110610b1957fe5b600091825260208083203384527f5eff886ea0ce6ca488a3d6e336d6c0f75f46d19b42c06ce5ee98e42c96d256c790915260408320600490920201925090610b6090611221565b805415610ba9576000610b95826001015461067664e8d4a5100061067087600301548760000154611f1790919063ffffffff16565b90508015610ba757610ba7338261200e565b505b8054610bb5908461213b565b8082556003830154610bd29164e8d4a51000916106709190611f17565b60018201558215610c01578154610c019073ffffffffffffffffffffffffffffffffffffffff163330866121af565b600254604080517f40c10f1900000000000000000000000000000000000000000000000000000000815233600482015260248101869052905173ffffffffffffffffffffffffffffffffffffffff909216916340c10f199160448082019260009290919082900301818387803b158015610c7a57600080fd5b505af1158015610c8e573d6000803e3d6000fd5b5050604080518681529051600093503392507f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a3505050565b81610d3b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f77697468647261772057415244454e20627920756e7374616b696e6700000000604482015290519081900360640190fd5b600060078381548110610d4a57fe5b600091825260208083208684526008825260408085203386529092529220805460049092029092019250831115610de257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f77697468647261773a206e6f7420676f6f640000000000000000000000000000604482015290519081900360640190fd5b610deb84611221565b6000610e19826001015461067664e8d4a5100061067087600301548760000154611f1790919063ffffffff16565b90508015610e2b57610e2b338261200e565b8154610e379085611fcc565b8083556003840154610e549164e8d4a51000916106709190611f17565b60018301558315610e82578254610e829073ffffffffffffffffffffffffffffffffffffffff1633866120a5565b604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b60065473ffffffffffffffffffffffffffffffffffffffff16610f4457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f6d6967726174653a206e6f206d69677261746f72000000000000000000000000604482015290519081900360640190fd5b600060078281548110610f5357fe5b600091825260208083206004928302018054604080517f70a0823100000000000000000000000000000000000000000000000000000000815230958101959095525191955073ffffffffffffffffffffffffffffffffffffffff16939284926370a0823192602480840193829003018186803b158015610fd257600080fd5b505afa158015610fe6573d6000803e3d6000fd5b505050506040513d6020811015610ffc57600080fd5b50516006549091506110289073ffffffffffffffffffffffffffffffffffffffff84811691168361224a565b600654604080517fce5494bb00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85811660048301529151600093929092169163ce5494bb9160248082019260209290919082900301818787803b1580156110a057600080fd5b505af11580156110b4573d6000803e3d6000fd5b505050506040513d60208110156110ca57600080fd5b5051604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905191925073ffffffffffffffffffffffffffffffffffffffff8316916370a0823191602480820192602092909190829003018186803b15801561113c57600080fd5b505afa158015611150573d6000803e3d6000fd5b505050506040513d602081101561116657600080fd5b505182146111d557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f6d6967726174653a206261640000000000000000000000000000000000000000604482015290519081900360640190fd5b83547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9190911617909255505050565b600a5481565b60006007828154811061123057fe5b906000526020600020906004020190508060020154431161125157506114f5565b8054604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905160009273ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b1580156112c157600080fd5b505afa1580156112d5573d6000803e3d6000fd5b505050506040513d60208110156112eb57600080fd5b50519050806113015750436002909101556114f5565b60006113118360020154436119e6565b9050600061133e600954610670866001015461133860045487611f1790919063ffffffff16565b90611f17565b60015460035491925073ffffffffffffffffffffffffffffffffffffffff908116916340c10f199116611372846008611f8a565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156113c557600080fd5b505af11580156113d9573d6000803e3d6000fd5b5050600154600254604080517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff92831660048201526024810187905290519190921693506340c10f199250604480830192600092919082900301818387803b15801561145b57600080fd5b505af115801561146f573d6000803e3d6000fd5b5050505061149d6114928461067064e8d4a5100085611f1790919063ffffffff16565b60038601549061213b565b600385018190554360028601819055604080519182526020820186905281810192909252905186917fcb7325664a4a3b7c7223eefc492a97ca4fdf94d46884621e5a8fae5a04b2b9d2919081900360600190a2505050505b50565b60006007828154811061150757fe5b6000918252602080832085845260088252604080852033808752935284208054858255600182019590955560049093020180549094509192916115649173ffffffffffffffffffffffffffffffffffffffff9190911690836120a5565b604080518281529051859133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a350505050565b6115a9612137565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461163257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b60058190556040805182815290517f4c8239bba1e0e6ac76ecaa42a44ed333d341da1efaaa6f548139cb41fb7f00d39181900360200190a150565b60075460005b8181101561168c5761168481611221565b600101611673565b5050565b611698612137565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461172157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b801561172f5761172f61166d565b61176c826117666007868154811061174357fe5b906000526020600020906004020160010154600954611fcc90919063ffffffff16565b9061213b565b600981905550816007848154811061178057fe5b906000526020600020906004020160010181905550801515837f31b4adb47fe10f535ba0f237d0ef37a1281f4974f03b5f1bb1ca4172aceb70c4846040518082815260200191505060405180910390a3505050565b6117dd612137565b60005473ffffffffffffffffffffffffffffffffffffffff90811691161461186657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60065473ffffffffffffffffffffffffffffffffffffffff1681565b60045481565b60055481565b60035473ffffffffffffffffffffffffffffffffffffffff16331461198357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f6465763a207775743f0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b6005546000906119fa906113388486611fcc565b90505b92915050565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b60086020908152600092835260408084209091529082529020805460019091015482565b60008060078481548110611a5357fe5b6000918252602080832087845260088252604080852073ffffffffffffffffffffffffffffffffffffffff898116875290845281862060049586029093016003810154815484517f70a082310000000000000000000000000000000000000000000000000000000081523098810198909852935191985093969395939492909116926370a08231926024808301939192829003018186803b158015611af757600080fd5b505afa158015611b0b573d6000803e3d6000fd5b505050506040513d6020811015611b2157600080fd5b5051600285015490915043118015611b3857508015155b15611b98576000611b4d8560020154436119e6565b90506000611b74600954610670886001015461133860045487611f1790919063ffffffff16565b9050611b93611b8c846106708464e8d4a51000611f17565b859061213b565b935050505b611bc0836001015461067664e8d4a51000610670868860000154611f1790919063ffffffff16565b979650505050505050565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60035473ffffffffffffffffffffffffffffffffffffffff1681565b81611c6f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f6465706f7369742057415244454e206279207374616b696e6700000000000000604482015290519081900360640190fd5b600060078381548110611c7e57fe5b60009182526020808320868452600882526040808520338652909252922060049091029091019150611caf84611221565b805415611cf8576000611ce4826001015461067664e8d4a5100061067087600301548760000154611f1790919063ffffffff16565b90508015611cf657611cf6338261200e565b505b8054611d04908461213b565b8082556003830154611d219164e8d4a51000916106709190611f17565b60018201558215611d50578154611d509073ffffffffffffffffffffffffffffffffffffffff163330866121af565b604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050565b611d95612137565b60005473ffffffffffffffffffffffffffffffffffffffff908116911614611e1e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116611e8a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806127fd6026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600082611f26575060006119fd565b82820282848281611f3357fe5b04146119fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806128236021913960400191505060405180910390fd5b60006119fa83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506123d8565b60006119fa83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612494565b600254604080517fd78b23f800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152602482018590529151919092169163d78b23f891604480830192600092919082900301818387803b15801561208957600080fd5b505af115801561209d573d6000803e3d6000fd5b505050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052612132908490612508565b505050565b3390565b6000828201838110156119fa57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6040805173ffffffffffffffffffffffffffffffffffffffff80861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052612244908590612508565b50505050565b8015806122f65750604080517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156122c857600080fd5b505afa1580156122dc573d6000803e3d6000fd5b505050506040513d60208110156122f257600080fd5b5051155b61234b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603681526020018061286e6036913960400191505060405180910390fd5b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f095ea7b300000000000000000000000000000000000000000000000000000000179052612132908490612508565b6000818361247e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561244357818101518382015260200161242b565b50505050905090810190601f1680156124705780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161248a57fe5b0495945050505050565b60008184841115612500576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181815283516024840152835190928392604490910191908501908083836000831561244357818101518382015260200161242b565b505050900390565b606061256a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166125e09092919063ffffffff16565b8051909150156121325780806020019051602081101561258957600080fd5b5051612132576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612844602a913960400191505060405180910390fd5b60606125ef84846000856125f7565b949350505050565b6060612602856127c3565b61266d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106126d757805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0909201916020918201910161269a565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612739576040519150601f19603f3d011682016040523d82523d6000602084013e61273e565b606091505b509150915081156127525791506125ef9050565b8051156127625780518082602001fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181815286516024840152865187939192839260440191908501908083836000831561244357818101518382015260200161242b565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906125ef57505015159291505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a2646970667358221220ab2f3256bdd5d046426081296cad19bfce4469f178e956920244852e91fd124564736f6c634300060c00330000000000000000000000004c29e5a399d12593ef488b8d00ac2859abf63c03000000000000000000000000d9ebe001d15e45fd8e4ef881d4739809334e32b8000000000000000000000000ec4270a619ea1b22838fa2a1a58bdaeff0d4f6d10000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000576ed0

Deployed ByteCode Sourcemap

58153:12414:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61808:95;;;:::i;:::-;;;;;;;;;;;;;;;;68916:760;;;;;;;;;;;;;;;;-1:-1:-1;68916:760:0;;:::i;:::-;;60017:26;;;;;;;;;;;;;;;;-1:-1:-1;60017:26:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60260:34;;;:::i;62072:640::-;;;;;;;;;;;;;;;;-1:-1:-1;62072:640:0;;;;;;;;;;;;;;;;:::i;63282:102::-;;;;;;;;;;;;;;;;-1:-1:-1;63282:102:0;;;;:::i;68088:775::-;;;;;;;;;;;;;;;;-1:-1:-1;68088:775:0;;:::i;67230:808::-;;;;;;;;;;;;;;;;-1:-1:-1;67230:808:0;;;;;;;:::i;63507:491::-;;;;;;;;;;;;;;;;-1:-1:-1;63507:491:0;;:::i;60353:25::-;;;:::i;65401:888::-;;;;;;;;;;;;;;;;-1:-1:-1;65401:888:0;;:::i;69747:392::-;;;;;;;;;;;;;;;;-1:-1:-1;69747:392:0;;:::i;61624:176::-;;;;;;;;;;;;;;;;-1:-1:-1;61624:176:0;;:::i;65143:180::-;;;:::i;62810:396::-;;;;;;;;;;;;;;;;-1:-1:-1;62810:396:0;;;;;;;;;;;;;;:::i;23758:148::-;;;:::i;59952:29::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;59727;;;:::i;59812:35::-;;;:::i;70435:129::-;;;;;;;;;;;;;;;;-1:-1:-1;70435:129:0;;;;:::i;23116:79::-;;;:::i;64074:143::-;;;;;;;;;;;;;;;;-1:-1:-1;64074:143:0;;;;;;;:::i;59611:18::-;;;:::i;60099:66::-;;;;;;;;;;;;;;;;-1:-1:-1;60099:66:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;64283:777;;;;;;;;;;;;;;;;-1:-1:-1;64283:777:0;;;;;;;;;:::i;59552:25::-;;;:::i;59657:22::-;;;:::i;66360:818::-;;;;;;;;;;;;;;;;-1:-1:-1;66360:818:0;;;;;;;:::i;24061:244::-;;;;;;;;;;;;;;;;-1:-1:-1;24061:244:0;;;;:::i;61808:95::-;61880:8;:15;61808:95;:::o;68916:760::-;68973:21;68997:8;69006:1;68997:11;;;;;;;;;;;;;;;;69055:10;69043:23;;:11;:23;;;:11;:23;;;69085:11;;68997;;;;;;;;-1:-1:-1;69085:22:0;-1:-1:-1;69085:22:0;69077:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69141:13;69152:1;69141:10;:13::i;:::-;69165:15;69183:70;69237:4;:15;;;69183:49;69227:4;69183:39;69199:4;:22;;;69183:4;:11;;;:15;;:39;;;;:::i;:::-;:43;;:49::i;:::-;:53;;:70::i;:::-;69165:88;-1:-1:-1;69267:11:0;;69264:82;;69295:39;69314:10;69326:7;69295:18;:39::i;:::-;69370:11;;:24;;69386:7;69370:15;:24::i;:::-;69356:38;;;69439:22;;;;69423:49;;69467:4;;69423:39;;69356:38;69423:15;:39::i;:49::-;69405:15;;;:67;69483:3;;:29;;;;;;69492:10;69483:29;;;;;;;;;;;;:3;;;;;:8;;:29;;;;;:3;;:29;;;;;;;;:3;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69536:1;69526:7;:11;69523:98;;;69554:12;;:55;;:12;;69588:10;69601:7;69554:25;:55::i;:::-;69636:32;;;;;;;;69657:1;;69645:10;;69636:32;;;;;;;;;68916:760;;;;:::o;60017:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60017:26:0;;;:::o;60260:34::-;;;;:::o;62072:640::-;23338:12;:10;:12::i;:::-;23328:6;;:22;:6;;;:22;;;23320:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62207:11:::1;62203:61;;;62235:17;:15;:17::i;:::-;62274:23;62315:10;;62300:12;:25;:53;;62343:10;;62300:53;;;62328:12;62300:53;62382:15;::::0;62274:79;;-1:-1:-1;62382:32:0::1;::::0;62402:11;62382:19:::1;:32::i;:::-;62364:15;:50:::0;62439:173:::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;62439:173:0;;;;;;62425:8:::1;:188:::0;;::::1;::::0;;::::1;::::0;;;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;;;;;;;;;;;;62645:15;62629:75;::::1;;::::0;62645:22:::1;::::0;:15;:19:::1;:22::i;:::-;62629:75;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;23398:1;62072:640:::0;;;:::o;63282:102::-;23338:12;:10;:12::i;:::-;23328:6;;:22;:6;;;:22;;;23320:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63356:8:::1;:20:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;63282:102::o;68088:775::-;68145:21;68169:8;68178:1;68169:11;;;;;;;;;;;;;;;;68227:10;68215:23;;:11;:23;;;:11;:23;;68169:11;;;;;;-1:-1:-1;68215:23:0;68249:13;;:10;:13::i;:::-;68277:11;;:15;68273:240;;68309:15;68327:70;68381:4;:15;;;68327:49;68371:4;68327:39;68343:4;:22;;;68327:4;:11;;;:15;;:39;;;;:::i;:70::-;68309:88;-1:-1:-1;68415:11:0;;68412:90;;68447:39;68466:10;68478:7;68447:18;:39::i;:::-;68273:240;;68537:11;;:24;;68553:7;68537:15;:24::i;:::-;68523:38;;;68606:22;;;;68590:49;;68634:4;;68590:39;;68523:38;68590:15;:39::i;:49::-;68572:15;;;:67;68653:11;;68650:117;;68681:12;;:74;;:12;;68719:10;68740:4;68747:7;68681:29;:74::i;:::-;68779:3;;:29;;;;;;68788:10;68779:29;;;;;;;;;;;;:3;;;;;:8;;:29;;;;;:3;;:29;;;;;;;;:3;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;68824:31:0;;;;;;;;68844:1;;-1:-1:-1;68832:10:0;;-1:-1:-1;68824:31:0;;;;;;;;;68088:775;;;:::o;67230:808::-;67308:9;67299:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67361:21;67385:8;67394:4;67385:14;;;;;;;;;;;;;;;;67434;;;:8;:14;;;;;;67449:10;67434:26;;;;;;;67479:11;;67385:14;;;;;;;;-1:-1:-1;67479:22:0;-1:-1:-1;67479:22:0;67471:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67537:16;67548:4;67537:10;:16::i;:::-;67564:15;67582:70;67636:4;:15;;;67582:49;67626:4;67582:39;67598:4;:22;;;67582:4;:11;;;:15;;:39;;;;:::i;:70::-;67564:88;-1:-1:-1;67666:11:0;;67663:82;;67694:39;67713:10;67725:7;67694:18;:39::i;:::-;67769:11;;:24;;67785:7;67769:15;:24::i;:::-;67755:38;;;67838:22;;;;67822:49;;67866:4;;67822:39;;67755:38;67822:15;:39::i;:49::-;67804:15;;;:67;67885:11;;67882:98;;67913:12;;:55;;:12;;67947:10;67960:7;67913:25;:55::i;:::-;67995:35;;;;;;;;68016:4;;68004:10;;67995:35;;;;;;;;;67230:808;;;;;:::o;63507:491::-;63572:8;;63564:31;63572:8;63556:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63631:21;63655:8;63664:4;63655:14;;;;;;;;;;;;;;;;;;;;;63697:12;;63734:32;;;;;;63760:4;63734:32;;;;;;;;63655:14;;-1:-1:-1;63697:12:0;;;63655:14;63697:12;;63734:17;;:32;;;;;;;;;;63697:12;63734:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63734:32:0;63805:8;;63734:32;;-1:-1:-1;63777:43:0;;63805:8;63777:19;;;;63805:8;63734:32;63777:19;:43::i;:::-;63851:8;;:25;;;;;;:8;:25;;;;;;;;;63831:17;;63851:8;;;;;:16;;:25;;;;;;;;;;;;;;;63831:17;63851:8;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63851:25:0;63902:35;;;;;;63931:4;63902:35;;;;;;63851:25;;-1:-1:-1;63902:20:0;;;;;;:35;;;;;63851:25;;63902:35;;;;;;;;:20;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63902:35:0;63895:42;;63887:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63965:25;;;;;;;;;;;;;-1:-1:-1;;;63507:491:0:o;60353:25::-;;;;:::o;65401:888::-;65453:21;65477:8;65486:4;65477:14;;;;;;;;;;;;;;;;;;65453:38;;65522:4;:20;;;65506:12;:36;65502:75;;65559:7;;;65502:75;65606:12;;:37;;;;;;65637:4;65606:37;;;;;;65587:16;;65606:12;;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65606:37:0;;-1:-1:-1;65658:13:0;65654:102;;-1:-1:-1;65711:12:0;65688:20;;;;:35;65738:7;;65654:102;65766:18;65787:49;65801:4;:20;;;65823:12;65787:13;:49::i;:::-;65766:70;;65847:20;65870:72;65926:15;;65870:51;65905:4;:15;;;65870:30;65885:14;;65870:10;:14;;:30;;;;:::i;:::-;:34;;:51::i;:72::-;65953:6;;65965:7;;65847:95;;-1:-1:-1;65953:6:0;;;;;:11;;65965:7;65974:19;65847:95;65991:1;65974:16;:19::i;:::-;65953:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;66005:6:0;;66025:3;;66005:39;;;;;;:6;66025:3;;;66005:39;;;;;;;;;;;;:6;;;;;-1:-1:-1;66005:11:0;;-1:-1:-1;66005:39:0;;;;;:6;;:39;;;;;;;:6;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66080:64;66107:36;66134:8;66107:22;66124:4;66107:12;:16;;:22;;;;:::i;:36::-;66080:22;;;;;:26;:64::i;:::-;66055:22;;;:89;;;66178:12;66155:20;;;:35;;;66206:75;;;;;;;;;;;;;;;;;;;;;66220:4;;66206:75;;;;;;;;;;65401:888;;;;;;:::o;69747:392::-;69806:21;69830:8;69839:4;69830:14;;;;;;;;;;;;;;;;69879;;;:8;:14;;;;;;69894:10;69879:26;;;;;;;69936:11;;69958:15;;;-1:-1:-1;69984:15:0;;:19;;;;69830:14;;;;;70016:12;;69830:14;;-1:-1:-1;69879:26:0;;69936:11;70016:55;;69879:26;70016:12;;;;;69936:11;70016:25;:55::i;:::-;70087:44;;;;;;;;70117:4;;70105:10;;70087:44;;;;;;;;;69747:392;;;;:::o;61624:176::-;23338:12;:10;:12::i;:::-;23328:6;;:22;:6;;;:22;;;23320:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61704:16:::1;:35:::0;;;61755:37:::1;::::0;;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;61624:176:::0;:::o;65143:180::-;65205:8;:15;65188:14;65231:85;65259:6;65253:3;:12;65231:85;;;65289:15;65300:3;65289:10;:15::i;:::-;65267:5;;65231:85;;;;65143:180;:::o;62810:396::-;23338:12;:10;:12::i;:::-;23328:6;;:22;:6;;;:22;;;23320:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62942:11:::1;62938:61;;;62970:17;:15;:17::i;:::-;63027:63;63078:11;63027:46;63047:8;63056:4;63047:14;;;;;;;;;;;;;;;;;;:25;;;63027:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:63::i;:::-;63009:15;:81;;;;63129:11;63101:8;63110:4;63101:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;63186:11;63156:42;;63167:4;63156:42;63173:11;63156:42;;;;;;;;;;;;;;;;;;62810:396:::0;;;:::o;23758:148::-;23338:12;:10;:12::i;:::-;23328:6;;:22;:6;;;:22;;;23320:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23865:1:::1;23849:6:::0;;23828:40:::1;::::0;::::1;23849:6:::0;;::::1;::::0;23828:40:::1;::::0;23865:1;;23828:40:::1;23896:1;23879:19:::0;;;::::1;::::0;;23758:148::o;59952:29::-;;;;;;:::o;59727:::-;;;;:::o;59812:35::-;;;;:::o;70435:129::-;70506:7;;;;70492:10;:21;70484:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70538:7;:18;;;;;;;;;;;;;;;70435:129::o;23116:79::-;23154:7;23181:6;;;23116:79;:::o;64074:143::-;64192:16;;64146:7;;64173:36;;:14;:3;64181:5;64173:7;:14::i;:36::-;64166:43;;64074:143;;;;;:::o;59611:18::-;;;;;;:::o;60099:66::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;64283:777::-;64358:7;64378:21;64402:8;64411:4;64402:14;;;;;;;;;;;;;;;;64451;;;:8;:14;;;;;;:21;;;;;;;;;;;;64402:14;;;;;;;64511:22;;;;64563:12;;:37;;;;;64594:4;64563:37;;;;;;;;;64402:14;;-1:-1:-1;64451:21:0;;64511:22;;64402:14;;64563:12;;;;;:22;;:37;;;;;64402:14;;64563:37;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64563:37:0;64630:20;;;;64563:37;;-1:-1:-1;64615:12:0;:35;:52;;;;-1:-1:-1;64654:13:0;;;64615:52;64611:359;;;64684:18;64705:49;64719:4;:20;;;64741:12;64705:13;:49::i;:::-;64684:70;;64769:20;64792:72;64848:15;;64792:51;64827:4;:15;;;64792:30;64807:14;;64792:10;:14;;:30;;;;:::i;:72::-;64769:95;-1:-1:-1;64899:59:0;64921:36;64948:8;64921:22;64769:95;64938:4;64921:16;:22::i;:36::-;64899:17;;:21;:59::i;:::-;64879:79;;64611:359;;;64987:65;65036:4;:15;;;64987:44;65026:4;64987:34;65003:17;64987:4;:11;;;:15;;:34;;;;:::i;:65::-;64980:72;64283:777;-1:-1:-1;;;;;;;64283:777:0:o;59552:25::-;;;;;;:::o;59657:22::-;;;;;;:::o;66360:818::-;66437:9;66428:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66489:21;66513:8;66522:4;66513:14;;;;;;;;;;;;;;;;66562;;;:8;:14;;;;;;66577:10;66562:26;;;;;;;66513:14;;;;;;;;-1:-1:-1;66599:16:0;66571:4;66599:10;:16::i;:::-;66630:11;;:15;66626:240;;66662:15;66680:70;66734:4;:15;;;66680:49;66724:4;66680:39;66696:4;:22;;;66680:4;:11;;;:15;;:39;;;;:::i;:70::-;66662:88;-1:-1:-1;66768:11:0;;66765:90;;66800:39;66819:10;66831:7;66800:18;:39::i;:::-;66626:240;;66890:11;;:24;;66906:7;66890:15;:24::i;:::-;66876:38;;;66959:22;;;;66943:49;;66987:4;;66943:39;;66876:38;66943:15;:39::i;:49::-;66925:15;;;:67;67007:11;;67003:118;;67035:12;;:74;;:12;;67073:10;67094:4;67101:7;67035:29;:74::i;:::-;67136:34;;;;;;;;67156:4;;67144:10;;67136:34;;;;;;;;;66360:818;;;;:::o;24061:244::-;23338:12;:10;:12::i;:::-;23328:6;;:22;:6;;;:22;;;23320:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24150:22:::1;::::0;::::1;24142:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24252:6;::::0;;24231:38:::1;::::0;::::1;::::0;;::::1;::::0;24252:6;::::1;::::0;24231:38:::1;::::0;::::1;24280:6;:17:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;24061:244::o;5178:471::-;5236:7;5481:6;5477:47;;-1:-1:-1;5511:1:0;5504:8;;5477:47;5548:5;;;5552:1;5548;:5;:1;5572:5;;;;;:10;5564:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6125:132;6183:7;6210:39;6214:1;6217;6210:39;;;;;;;;;;;;;;;;;:3;:39::i;4288:136::-;4346:7;4373:43;4377:1;4380;4373:43;;;;;;;;;;;;;;;;;:3;:43::i;70257:122::-;70335:3;;:36;;;;;;:3;:36;;;;;;;;;;;;;;;:3;;;;;:22;;:36;;;;;:3;;:36;;;;;;;:3;;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70257:122;;:::o;17977:177::-;18087:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18110:23;18087:58;;;18060:86;;18080:5;;18060:19;:86::i;:::-;17977:177;;;:::o;21672:106::-;21760:10;21672:106;:::o;3824:181::-;3882:7;3914:5;;;3938:6;;;;3930:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18162:205;18290:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18313:27;18290:68;;;18263:96;;18283:5;;18263:19;:96::i;:::-;18162:205;;;;:::o;18636:622::-;19006:10;;;19005:62;;-1:-1:-1;19022:39:0;;;;;;19046:4;19022:39;;;;:15;:39;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19022:39:0;:44;19005:62;18997:152;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19187:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19210:22;19187:62;;;19160:90;;19180:5;;19160:19;:90::i;6753:278::-;6839:7;6874:12;6867:5;6859:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6898:9;6914:1;6910;:5;;;;;;;6753:278;-1:-1:-1;;;;;6753:278:0:o;4727:192::-;4813:7;4849:12;4841:6;;;;4833:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4885:5:0;;;4727:192::o;20282:761::-;20706:23;20732:69;20760:4;20732:69;;;;;;;;;;;;;;;;;20740:5;20732:27;;;;:69;;;;;:::i;:::-;20816:17;;20706:95;;-1:-1:-1;20816:21:0;20812:224;;20958:10;20947:30;;;;;;;;;;;;;;;-1:-1:-1;20947:30:0;20939:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14960:196;15063:12;15095:53;15118:6;15126:4;15132:1;15135:12;15095:22;:53::i;:::-;15088:60;14960:196;-1:-1:-1;;;;14960:196:0:o;16337:979::-;16467:12;16500:18;16511:6;16500:10;:18::i;:::-;16492:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16626:12;16640:23;16667:6;:11;;16687:8;16698:4;16667:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16625:78;;;;16718:7;16714:595;;;16749:10;-1:-1:-1;16742:17:0;;-1:-1:-1;16742:17:0;16714:595;16863:17;;:21;16859:439;;17126:10;17120:17;17187:15;17174:10;17170:2;17166:19;17159:44;17074:148;17262:20;;;;;;;;;;;;;;;;;;;;17269:12;;17262:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11845:619;11905:4;12373:20;;12216:66;12413:23;;;;;;:42;;-1:-1:-1;;12440:15:0;;;12405:51;-1:-1:-1;;11845:619:0:o

Swarm Source

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