Contract 0xa9c9d9aed47320835c84090c62dc324fcf24f683

 

Contract Overview

Balance:
0 BNB

BNB Value:
$0.00
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x347861be5e22325194bd443eaa1be70b6cde7919faadc02956963dc1758301f3Deposit111309972021-09-22 8:04:303 hrs 49 mins ago0x15b5b90b285ddb8473a2e6531c8ad16f95a65eb3 IN  0xa9c9d9aed47320835c84090c62dc324fcf24f6830 BNB0.000687675
0x98d979a8dca165a4383dcd9c92af8f2d93c799dc8957aab648fcc787d9e54e1eDeposit111215282021-09-22 0:06:4111 hrs 47 mins ago0x3b4772b64d9f2d632e2930a49cbfc463ba204ccd IN  0xa9c9d9aed47320835c84090c62dc324fcf24f6830 BNB0.000612675
0x436cccb73c3d3d5bfb30fa674380ff99fd2503cccf6b8480f079564fed227151Deposit111215282021-09-22 0:06:4111 hrs 47 mins ago0x3b4772b64d9f2d632e2930a49cbfc463ba204ccd IN  0xa9c9d9aed47320835c84090c62dc324fcf24f6830 BNB0.000687675
0x6a567d0498fb02b6c0cc1645256b85c6db7b990e6e582474e57c4f85aa3c56b8Withdraw111180852021-09-21 21:10:4214 hrs 43 mins ago0xfebd25e770e89116fe88e40c2784be1dddd6bdf5 IN  0xa9c9d9aed47320835c84090c62dc324fcf24f6830 BNB0.000489265
0x300aafb4bcccde9f140966258906abeef919c5980fd9ca5f7c0d960f7c4bed3dDeposit111054342021-09-21 10:35:071 day 1 hr ago0x74c6126b40a29c0a74a3a61bfafd7ae1cecb7f43 IN  0xa9c9d9aed47320835c84090c62dc324fcf24f6830 BNB0.000687675
0xbfbd2740e6867167a7a02ce38436c6145d6fe0980e2993849bbb7e8bc60ec255Deposit111038112021-09-21 9:13:581 day 2 hrs ago0xf61b9714562e8be3c0a8bfd1dc4d44fac452f5b5 IN  0xa9c9d9aed47320835c84090c62dc324fcf24f6830 BNB0.000612675
0x6c63ca69c310950bf96d4650178e2d3e50b153ab026a6f0d0911c06f96f4ce7fDeposit110961882021-09-21 2:52:441 day 9 hrs ago0x67af8dd8f11061ee1b3ee9341637aa548510762b IN  0xa9c9d9aed47320835c84090c62dc324fcf24f6830 BNB0.000613
0xca3a20a36a82b60c11000c136fb6ae220f92fb3b033bf84878e17298f11c58b4Deposit110955392021-09-21 2:20:171 day 9 hrs ago0xfeab70797e50496c8e8193cab424f950e463b675 IN  0xa9c9d9aed47320835c84090c62dc324fcf24f6830 BNB0.000751035
0x111fadb771ff090181d04027e5aaa4b45da601b64d72b0f40afbdc03bae3765dDeposit110946712021-09-21 1:36:171 day 10 hrs ago0x9ea0c4bb61096ade0638e52bf0241dea5c2424ad IN  0xa9c9d9aed47320835c84090c62dc324fcf24f6830 BNB0.000612675
0x1b842c2327ff79e6e2221a013c4426ff4dc1a50a7ef55d4824f0f43c0570309cDeposit110945062021-09-21 1:28:021 day 10 hrs ago0x6899ffaf25d8732581502009974e07585109e7a1 IN  0xa9c9d9aed47320835c84090c62dc324fcf24f6830 BNB0.000612675
0x990d2c524d73af9501b744e886469328d61e4ee6a1f2689db5d4ee377824b3f3Deposit110877632021-09-20 19:48:511 day 16 hrs ago0x33bcbd37ecb7647fd3eb05e1bc25e724889b4ec1 IN  0xa9c9d9aed47320835c84090c62dc324fcf24f6830 BNB0.000601155
0xe337825e7b83178adc5ae0370486c0e298b62cd5976283de2bdeb8fda8c8accdDeposit110877402021-09-20 19:47:421 day 16 hrs ago0x33bcbd37ecb7647fd3eb05e1bc25e724889b4ec1 IN  0xa9c9d9aed47320835c84090c62dc324fcf24f6830 BNB0.000612675
0xdc977da4800a8bdb67f4f71178e410f9c5fe905c8bcd6977e1557f5f65138156Deposit110855362021-09-20 17:57:291 day 17 hrs ago0x416f990e0374c32f4f5056d0532834230a2ec074 IN  0xa9c9d9aed47320835c84090c62dc324fcf24f6830 BNB0.000601155
0x66bf87b2ae56c6a1eb708fbde7722859a64cd2aa1ff4f21bf9f9d4cb6aede48aDeposit110854822021-09-20 17:54:471 day 17 hrs ago0x416f990e0374c32f4f5056d0532834230a2ec074 IN  0xa9c9d9aed47320835c84090c62dc324fcf24f6830 BNB0.000612675
0x275076321856e02a68add5db637a222843f789d879afc3fd50badd7e11aa7817Deposit110854802021-09-20 17:54:411 day 17 hrs ago0x416f990e0374c32f4f5056d0532834230a2ec074 IN  0xa9c9d9aed47320835c84090c62dc324fcf24f6830 BNB0.000612675
0x6dcfbbed7a72373ae6ea8331a40e6c28c487a8846da43ea516c22ef9ade3078dDeposit110846242021-09-20 17:11:531 day 18 hrs ago0x23a9059ac0e4e8f423bda817957b98ba33bb9102 IN  0xa9c9d9aed47320835c84090c62dc324fcf24f6830 BNB0.000687675
0x6ecae97ba9a8b6af08ef9d933d5f964c3897186fedb438c935a13d8554a97604Deposit110780682021-09-20 11:41:522 days 12 mins ago0xb8c32b988309076d213a7c04b1547f92c74fa6fe IN  0xa9c9d9aed47320835c84090c62dc324fcf24f6830 BNB0.000612675
0xa2f4ea745fe3a6e090a732cafd3fde2164486c39716f5b29923e68db132ffbcbDeposit110756002021-09-20 9:38:192 days 2 hrs ago0x8047b86775db93a2f472ff73778f1bc5093618c9 IN  0xa9c9d9aed47320835c84090c62dc324fcf24f6830 BNB0.000687675
0x0e0b385753fd6333dd0fda169d9bc52e5dd1fcde6b96843f06325833e1fd31e1Deposit110729922021-09-20 7:27:532 days 4 hrs ago0xdddd34f88b475dae9fef76af218b00cca0d7a06a IN  0xa9c9d9aed47320835c84090c62dc324fcf24f6830 BNB0.000612675
0x880b428b890043c48b655181a0bb24775078c58e802ebf861b45875d9a484627Deposit110711022021-09-20 5:53:212 days 6 hrs ago0x90f3bddb52d2e3a170e2f61f05a976d40a456f42 IN  0xa9c9d9aed47320835c84090c62dc324fcf24f6830 BNB0.000612675
0xf38db729fdd1a41286b2b80844f36ddee0dc75c932fdaa40a08719d44d3a151aDeposit110647232021-09-20 0:34:232 days 11 hrs ago0x5275817b74021e97c980e95ede6bbac0d0d6f3a2 IN  0xa9c9d9aed47320835c84090c62dc324fcf24f6830 BNB0.000612675
0x584731daca2f24633f9cd2fe3529d8798f4058bca9321e767f9a0d1564a7302aDeposit110647222021-09-20 0:34:202 days 11 hrs ago0x5275817b74021e97c980e95ede6bbac0d0d6f3a2 IN  0xa9c9d9aed47320835c84090c62dc324fcf24f6830 BNB0.000687675
0xf417b197bb884a6269d54219363ba3ad85481884a4b36e93f8af14e68ff1ad72Deposit110617972021-09-19 22:08:032 days 13 hrs ago0x37dd8b4af171f9d7046621ca363325f5b4bff38e IN  0xa9c9d9aed47320835c84090c62dc324fcf24f6830 BNB0.00064497
0x6f22f30dd3bcf5fb50527d069ac4b83599a74a4df39e8a0d14efa85ef2839bd7Deposit110615052021-09-19 21:53:272 days 14 hrs ago0xfeab70797e50496c8e8193cab424f950e463b675 IN  0xa9c9d9aed47320835c84090c62dc324fcf24f6830 BNB0.000612675
0x7ea17620b1ef1329d4ccbcb2426d87b4e56a66bf18d6419780e8ff4471611f68Deposit110615042021-09-19 21:53:242 days 14 hrs ago0xfeab70797e50496c8e8193cab424f950e463b675 IN  0xa9c9d9aed47320835c84090c62dc324fcf24f6830 BNB0.000687675
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x5b244e3f90f6a81c3a799f263f9d66a8e53987fe93f3db30f562f688d7cc070b54712892021-03-07 11:57:24198 days 23 hrs ago 0xa9c9d9aed47320835c84090c62dc324fcf24f683 MochiSwap: MOCHI Token0 BNB
0x5b244e3f90f6a81c3a799f263f9d66a8e53987fe93f3db30f562f688d7cc070b54712892021-03-07 11:57:24198 days 23 hrs ago 0xa9c9d9aed47320835c84090c62dc324fcf24f683 MochiSwap: MOCHI Token0 BNB
0x5b244e3f90f6a81c3a799f263f9d66a8e53987fe93f3db30f562f688d7cc070b54712892021-03-07 11:57:24198 days 23 hrs ago 0xa9c9d9aed47320835c84090c62dc324fcf24f683 MochiSwap: MOCHI Token0 BNB
0x5b244e3f90f6a81c3a799f263f9d66a8e53987fe93f3db30f562f688d7cc070b54712892021-03-07 11:57:24198 days 23 hrs ago 0xa9c9d9aed47320835c84090c62dc324fcf24f683 MochiSwap: MOCHI Token0 BNB
0x5b244e3f90f6a81c3a799f263f9d66a8e53987fe93f3db30f562f688d7cc070b54712892021-03-07 11:57:24198 days 23 hrs ago 0xa9c9d9aed47320835c84090c62dc324fcf24f683 MochiSwap: MOCHI Token0 BNB
0x5b244e3f90f6a81c3a799f263f9d66a8e53987fe93f3db30f562f688d7cc070b54712892021-03-07 11:57:24198 days 23 hrs ago 0xa9c9d9aed47320835c84090c62dc324fcf24f683 MochiSwap: MOCHI Token0 BNB
0xacfcb70c7fee564f351ca158647ba910938604f89b87b53ecea1cad00fe251d754712832021-03-07 11:57:06198 days 23 hrs ago 0xa9c9d9aed47320835c84090c62dc324fcf24f683 0x2e1998075786160e7433debf2e85ed971d09847f0 BNB
0xacfcb70c7fee564f351ca158647ba910938604f89b87b53ecea1cad00fe251d754712832021-03-07 11:57:06198 days 23 hrs ago 0xa9c9d9aed47320835c84090c62dc324fcf24f683 MochiSwap: MOCHI Token0 BNB
0xacfcb70c7fee564f351ca158647ba910938604f89b87b53ecea1cad00fe251d754712832021-03-07 11:57:06198 days 23 hrs ago 0xa9c9d9aed47320835c84090c62dc324fcf24f683 MochiSwap: MOCHI Token0 BNB
0xacfcb70c7fee564f351ca158647ba910938604f89b87b53ecea1cad00fe251d754712832021-03-07 11:57:06198 days 23 hrs ago 0xa9c9d9aed47320835c84090c62dc324fcf24f683 MochiSwap: MOCHI Token0 BNB
0xacfcb70c7fee564f351ca158647ba910938604f89b87b53ecea1cad00fe251d754712832021-03-07 11:57:06198 days 23 hrs ago 0xa9c9d9aed47320835c84090c62dc324fcf24f683 MochiSwap: MOCHI Token0 BNB
0xacfcb70c7fee564f351ca158647ba910938604f89b87b53ecea1cad00fe251d754712832021-03-07 11:57:06198 days 23 hrs ago 0xa9c9d9aed47320835c84090c62dc324fcf24f683 0x2e1998075786160e7433debf2e85ed971d09847f0 BNB
0xca5e7a217c7841f5b7336ff8c831684ad476cdb8f2340b772e458248f47beec254712122021-03-07 11:53:33199 days ago 0xa9c9d9aed47320835c84090c62dc324fcf24f683 0x18e02d21fca9b7cecb9ab59cc81e24cf65caede10 BNB
0xca5e7a217c7841f5b7336ff8c831684ad476cdb8f2340b772e458248f47beec254712122021-03-07 11:53:33199 days ago 0xa9c9d9aed47320835c84090c62dc324fcf24f683 MochiSwap: MOCHI Token0 BNB
0xca5e7a217c7841f5b7336ff8c831684ad476cdb8f2340b772e458248f47beec254712122021-03-07 11:53:33199 days ago 0xa9c9d9aed47320835c84090c62dc324fcf24f683 MochiSwap: MOCHI Token0 BNB
0xca5e7a217c7841f5b7336ff8c831684ad476cdb8f2340b772e458248f47beec254712122021-03-07 11:53:33199 days ago 0xa9c9d9aed47320835c84090c62dc324fcf24f683 MochiSwap: MOCHI Token0 BNB
0xca5e7a217c7841f5b7336ff8c831684ad476cdb8f2340b772e458248f47beec254712122021-03-07 11:53:33199 days ago 0xa9c9d9aed47320835c84090c62dc324fcf24f683 MochiSwap: MOCHI Token0 BNB
0xca5e7a217c7841f5b7336ff8c831684ad476cdb8f2340b772e458248f47beec254712122021-03-07 11:53:33199 days ago 0xa9c9d9aed47320835c84090c62dc324fcf24f683 0x18e02d21fca9b7cecb9ab59cc81e24cf65caede10 BNB
0x98ac2dba22d26621f029207456d0387dfae42dc93d371d8510407590ff068bf254711482021-03-07 11:50:21199 days 3 mins ago 0xa9c9d9aed47320835c84090c62dc324fcf24f683 MochiSwap: MOCHI Token0 BNB
0x98ac2dba22d26621f029207456d0387dfae42dc93d371d8510407590ff068bf254711482021-03-07 11:50:21199 days 3 mins ago 0xa9c9d9aed47320835c84090c62dc324fcf24f683 MochiSwap: MOCHI Token0 BNB
0x98ac2dba22d26621f029207456d0387dfae42dc93d371d8510407590ff068bf254711482021-03-07 11:50:21199 days 3 mins ago 0xa9c9d9aed47320835c84090c62dc324fcf24f683 MochiSwap: MOCHI Token0 BNB
0x98ac2dba22d26621f029207456d0387dfae42dc93d371d8510407590ff068bf254711482021-03-07 11:50:21199 days 3 mins ago 0xa9c9d9aed47320835c84090c62dc324fcf24f683 MochiSwap: MOCHI Token0 BNB
0x98ac2dba22d26621f029207456d0387dfae42dc93d371d8510407590ff068bf254711482021-03-07 11:50:21199 days 3 mins ago 0xa9c9d9aed47320835c84090c62dc324fcf24f683 MochiSwap: MOCHI Token0 BNB
0x98ac2dba22d26621f029207456d0387dfae42dc93d371d8510407590ff068bf254711482021-03-07 11:50:21199 days 3 mins ago 0xa9c9d9aed47320835c84090c62dc324fcf24f683 MochiSwap: MOCHI Token0 BNB
0xf4b9faff5c26af2e62e05ded4027923e5358148d19d8ea8c75cf0eaa4a047c4154711452021-03-07 11:50:12199 days 4 mins ago 0xa9c9d9aed47320835c84090c62dc324fcf24f683 0x18e02d21fca9b7cecb9ab59cc81e24cf65caede10 BNB
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MochiChef

Compiler Version
v0.7.3+commit.9bfce1f6

Optimization Enabled:
Yes with 5000 runs

Other Settings:
default evmVersion, Unlicense license

Contract Source Code (Solidity)

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

// Sources flattened with hardhat v2.0.10 https://hardhat.org

// File contracts/GSN/Context.sol

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

pragma solidity >=0.4.0;

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

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

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


// File contracts/access/Ownable.sol

pragma solidity >=0.4.0;

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

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

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

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

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

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

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

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


// File contracts/interfaces/IBEP20.sol

pragma solidity >=0.4.0;

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

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

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

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

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

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

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

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


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

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

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

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

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


// File contracts/math/SafeMath.sol

pragma solidity >=0.4.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

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

    // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)
    function sqrt(uint256 y) internal pure returns (uint256 z) {
        if (y > 3) {
            z = y;
            uint256 x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
    }
}


// File contracts/libraries/Address.sol

pragma solidity ^0.7.3;

/**
 * @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 contracts/libraries/BEP20.sol

pragma solidity >=0.4.0;





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

    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;
    uint256 private _supplyCap;

    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 n, string memory s) {
        _name = n;
        _symbol = s;
        _decimals = 18;
        _supplyCap = 100000000 * 1e18;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _totalSupply = _totalSupply.add(amount);
        require(_totalSupply <= _supplyCap, 'BEP20: supply cap exceeded');
        
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);

        return true;
    }

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

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

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

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

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


// File contracts/libraries/BEP20Mock.sol

pragma solidity ^0.7.3;

contract BEP20Mock is BEP20 {
    constructor(
        string memory name,
        string memory symbol,
        uint256 supply
    ) BEP20(name, symbol) {
        _mint(msg.sender, supply);

    }
}


// File contracts/libraries/SafeBEP20.sol

pragma solidity ^0.7.3;



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

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

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

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

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

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

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IBEP20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

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


// File contracts/MochiToken.sol

pragma solidity ^0.7.3;



// import "hardhat/console.sol";

// MochiToken with Governance.
contract MochiToken is BEP20('MochiSwap Token', 'MOCHI') {
    using SafeMath for uint256;
    using Address for address;

    function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
        // fix governance delegate bug
        _moveDelegates(_delegates[sender], _delegates[recipient], amount);
        return super.transferFrom(sender, recipient, amount);
    }

    function transfer(address to, uint256 amount) public override returns (bool) {
        _moveDelegates(_delegates[msg.sender], _delegates[to], amount);
        return super.transfer(to, amount);
    }

    function mint(address account, uint256 amount) public onlyOwner {
        _moveDelegates(address(0), _delegates[account], amount);
        super._mint(account, amount);
    }

    function burn(address account, uint256 amount) public onlyOwner {
        _moveDelegates(_delegates[account], address(0), amount);
        super._burn(account, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "MOCHI::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "MOCHI::delegateBySig: invalid nonce");
        require(block.timestamp <= expiry, "MOCHI::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, "MOCHI::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 MOCHIs (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, "MOCHI::_writeCheckpoint: block number exceeds 32 bits");

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

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

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

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


// File contracts/MochiChef.sol

pragma solidity ^0.7.3;





interface IMigratorChef {
    // Perform LP token migration from legacy UniswapV2 to MOCHIswap.
    // 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 UniswapV2 LP tokens.
    // MOCHIswap must mint EXACTLY the same amount of MOCHIswap LP tokens or
    // else something bad will happen. Traditional UniswapV2 does not
    // do that so be careful!
    function migrate(IBEP20 token) external returns (IBEP20);
}

// MochiChef is the master of mochi. He can make mochi 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 mochi is sufficiently
// distributed and the community can show to govern itself.
//
// Have fun reading it. Hopefully it's bug-free. God bless.
contract MochiChef is Ownable {
    using SafeMath for uint256;
    using SafeBEP20 for IBEP20;
    // Info of each user.
    struct UserInfo {
        uint256 amount; // How many LP tokens the user has provided.
        uint256 rewardDebt; // Reward debt. See explanation below.
        //
        // We do some fancy math here. Basically, any point in time, the amount of MOCHIs
        // entitled to a user but is pending to be distributed is:
        //
        //   pending reward = (user.amount * pool.accMochiPerShare) - user.rewardDebt
        //
        // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens:
        //   1. The pool's `accMochiPerShare` (and `lastRewardBlock`) gets updated.
        //   2. User receives the pending reward sent to his/her address.
        //   3. User's `amount` gets updated.
        //   4. User's `rewardDebt` gets updated.
    }
    // Info of each pool.
    struct PoolInfo {
        IBEP20 lpToken; // Address of LP token contract.
        uint256 allocPoint; // How many allocation points assigned to this pool. MOCHIs to distribute per block.
        uint256 lastRewardBlock; // Last block number that MOCHIs distribution occurs.
        uint256 accMochiPerShare; // Accumulated MOCHIs per share, times 1e12. See below.
    }
    // The mochi TOKEN!
    MochiToken public mochi;
    // Dev address.
    address public devaddr;
    // Block number when bonus mochi period ends.
    uint256 public bonusEndBlock;
    // mochi tokens created per block.
    uint256 public mochiPerBlock;
    // Bonus muliplier for early mochi makers.
    uint256 public constant BONUS_MULTIPLIER = 25;
    // 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 poitns. Must be the sum of all allocation points in all pools.
    uint256 public totalAllocPoint = 0;
    // The block number when mochi mining starts.
    uint256 public startBlock;
    event Deposit(address indexed user, uint256 indexed pid, uint256 amount);
    event Withdraw(address indexed user, uint256 indexed pid, uint256 amount);
    event EmergencyWithdraw(
        address indexed user,
        uint256 indexed pid,
        uint256 amount
    );

    constructor(
        MochiToken _mochi,
        address _devaddr,
        uint256 _mochiPerBlock,
        uint256 _startBlock,
        uint256 _bonusEndBlock
    ) {
        mochi = _mochi;
        devaddr = _devaddr;
        mochiPerBlock = _mochiPerBlock;
        bonusEndBlock = _bonusEndBlock;
        startBlock = _startBlock;
    }

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

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

    // Update the given pool's mochi 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;
    }

    // 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];
        IBEP20 lpToken = pool.lpToken;
        uint256 bal = lpToken.balanceOf(address(this));
        lpToken.safeApprove(address(migrator), bal);
        IBEP20 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)
    {
        if (_to <= bonusEndBlock) {
            return _to.sub(_from).mul(BONUS_MULTIPLIER);
        } else if (_from >= bonusEndBlock) {
            return _to.sub(_from);
        } else {
            return
                bonusEndBlock.sub(_from).mul(BONUS_MULTIPLIER).add(
                    _to.sub(bonusEndBlock)
                );
        }
    }

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

    // Update reward vairables 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 mochiReward =
            multiplier.mul(mochiPerBlock).mul(pool.allocPoint).div(
                totalAllocPoint
            );
        mochi.mint(devaddr, mochiReward.div(10));
        mochi.mint(address(this), mochiReward);
        pool.accMochiPerShare = pool.accMochiPerShare.add(
            mochiReward.mul(1e12).div(lpSupply)
        );
        pool.lastRewardBlock = block.number;
    }

    // Deposit LP tokens to MochiChef for mochi allocation.
    function deposit(uint256 _pid, uint256 _amount) public {
        PoolInfo storage pool = poolInfo[_pid];
        UserInfo storage user = userInfo[_pid][msg.sender];
        updatePool(_pid);
        if (user.amount > 0) {
            uint256 pending =
                user.amount.mul(pool.accMochiPerShare).div(1e12).sub(
                    user.rewardDebt
                );
            safemochiTransfer(msg.sender, pending);
        }
        pool.lpToken.safeTransferFrom(
            address(msg.sender),
            address(this),
            _amount
        );
        user.amount = user.amount.add(_amount);
        user.rewardDebt = user.amount.mul(pool.accMochiPerShare).div(1e12);
        emit Deposit(msg.sender, _pid, _amount);
    }

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

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

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

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


// File contracts/libraries/WBNB.sol

pragma solidity >0.4.18;

contract WBNB {
    string public name     = "Wrapped BNB";
    string public symbol   = "WBNB";
    uint8  public decimals = 18;

    event  Approval(address indexed src, address indexed guy, uint wad);
    event  Transfer(address indexed src, address indexed dst, uint wad);
    event  Deposit(address indexed dst, uint wad);
    event  Withdrawal(address indexed src, uint wad);

    mapping (address => uint)                       public  balanceOf;
    mapping (address => mapping (address => uint))  public  allowance;

    function a() public payable {
        deposit();
    }
    function deposit() public payable {
        balanceOf[msg.sender] += msg.value;
        emit Deposit(msg.sender, msg.value);
    }
    function withdraw(uint wad) public {
        require(balanceOf[msg.sender] >= wad);
        balanceOf[msg.sender] -= wad;
        msg.sender.transfer(wad);
        emit Withdrawal(msg.sender, wad);
    }

    function totalSupply() public view returns (uint) {
        return address(this).balance;
    }

    function approve(address guy, uint wad) public returns (bool) {
        allowance[msg.sender][guy] = wad;
        emit Approval(msg.sender, guy, wad);
        return true;
    }

    function transfer(address dst, uint wad) public returns (bool) {
        return transferFrom(msg.sender, dst, wad);
    }

    function transferFrom(address src, address dst, uint wad)
    public
    returns (bool)
    {
        require(balanceOf[src] >= wad);

        if (src != msg.sender && allowance[src][msg.sender] != uint(-1)) {
            require(allowance[src][msg.sender] >= wad);
            allowance[src][msg.sender] -= wad;
        }

        balanceOf[src] -= wad;
        balanceOf[dst] += wad;

        Transfer(src, dst, wad);

        return true;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract MochiToken","name":"_mochi","type":"address"},{"internalType":"address","name":"_devaddr","type":"address"},{"internalType":"uint256","name":"_mochiPerBlock","type":"uint256"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_bonusEndBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"BONUS_MULTIPLIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IBEP20","name":"_lpToken","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"bonusEndBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrator","outputs":[{"internalType":"contract IMigratorChef","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mochi","outputs":[{"internalType":"contract MochiToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mochiPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingMochi","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IBEP20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accMochiPerShare","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":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600060085534801561001557600080fd5b50604051612033380380612033833981810160405260a081101561003857600080fd5b5080516020820151604083015160608401516080909401519293919290919060006100616100e9565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b039687166001600160a01b03199182161790915560028054959096169416939093179093556004556003556009556100ed565b3390565b611f37806100fc6000396000f3fe608060405234801561001057600080fd5b50600436106101ae5760003560e01c806364482f79116100ee5780638dbb1e3a11610097578063d48ba6dd11610071578063d48ba6dd14610415578063d49e77cd14610441578063e2bbb15814610449578063f2fde38b1461046c576101ae565b80638dbb1e3a146103a557806393f1a40b146103c8578063c0baf8f71461040d576101ae565b80638aa28550116100c85780638aa285501461036f5780638d88a90e146103775780638da5cb5b1461039d576101ae565b806364482f7914610318578063715018a6146103435780637cd07e471461034b576101ae565b8063441a3e701161015b5780635136c3d0116101355780635136c3d0146102ce57806351eb05a6146102d65780635312ea8e146102f3578063630b5ba114610310576101ae565b8063441a3e7014610286578063454b0608146102a957806348cd4cb1146102c6576101ae565b80631aed65531161018c5780631aed6553146102225780631eaaa0451461022a57806323cf311814610260576101ae565b8063081e3eda146101b35780631526fe27146101cd57806317caf6f11461021a575b600080fd5b6101bb610492565b60408051918252519081900360200190f35b6101ea600480360360208110156101e357600080fd5b5035610498565b604080516001600160a01b0390951685526020850193909352838301919091526060830152519081900360800190f35b6101bb6104d9565b6101bb6104df565b61025e6004803603606081101561024057600080fd5b508035906001600160a01b03602082013516906040013515156104e5565b005b61025e6004803603602081101561027657600080fd5b50356001600160a01b031661068a565b61025e6004803603604081101561029c57600080fd5b508035906020013561072e565b61025e600480360360208110156102bf57600080fd5b503561088c565b6101bb610b65565b6101bb610b6b565b61025e600480360360208110156102ec57600080fd5b5035610b71565b61025e6004803603602081101561030957600080fd5b5035610dca565b61025e610e65565b61025e6004803603606081101561032e57600080fd5b50803590602081013590604001351515610e88565b61025e610f6b565b610353611037565b604080516001600160a01b039092168252519081900360200190f35b6101bb611046565b61025e6004803603602081101561038d57600080fd5b50356001600160a01b031661104b565b6103536110e4565b6101bb600480360360408110156103bb57600080fd5b50803590602001356110f3565b6103f4600480360360408110156103de57600080fd5b50803590602001356001600160a01b031661115f565b6040805192835260208301919091528051918290030190f35b610353611183565b6101bb6004803603604081101561042b57600080fd5b50803590602001356001600160a01b0316611192565b61035361130d565b61025e6004803603604081101561045f57600080fd5b508035906020013561131c565b61025e6004803603602081101561048257600080fd5b50356001600160a01b0316611421565b60065490565b600681815481106104a557fe5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b60085481565b60035481565b6104ed611494565b6000546001600160a01b0390811691161461054f576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b801561055d5761055d610e65565b6000600954431161057057600954610572565b435b6008549091506105829085611498565b600855604080516080810182526001600160a01b0394851681526020810195865290810191825260006060820181815260068054600181018255925291517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f600490920291820180547fffffffffffffffffffffffff000000000000000000000000000000000000000016919096161790945593517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d40840155517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d418301555090517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4290910155565b610692611494565b6000546001600160a01b039081169116146106f4576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600580547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b60006006838154811061073d57fe5b6000918252602080832086845260078252604080852033865290925292208054600490920290920192508311156107bb576040805162461bcd60e51b815260206004820152601260248201527f77697468647261773a206e6f7420676f6f640000000000000000000000000000604482015290519081900360640190fd5b6107c484610b71565b60006107fe82600101546107f864e8d4a510006107f2876003015487600001546114f990919063ffffffff16565b90611552565b90611594565b905061080a33826115d6565b81546108169085611594565b80835560038401546108339164e8d4a51000916107f291906114f9565b6001830155825461084e906001600160a01b031633866117b2565b604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b6005546001600160a01b03166108e9576040805162461bcd60e51b815260206004820152601460248201527f6d6967726174653a206e6f206d69677261746f72000000000000000000000000604482015290519081900360640190fd5b6000600682815481106108f857fe5b600091825260208083206004928302018054604080517f70a082310000000000000000000000000000000000000000000000000000000081523095810195909552519195506001600160a01b0316939284926370a0823192602480840193829003018186803b15801561096a57600080fd5b505afa15801561097e573d6000803e3d6000fd5b505050506040513d602081101561099457600080fd5b50516005549091506109b3906001600160a01b03848116911683611832565b600554604080517fce5494bb0000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301529151600093929092169163ce5494bb9160248082019260209290919082900301818787803b158015610a1e57600080fd5b505af1158015610a32573d6000803e3d6000fd5b505050506040513d6020811015610a4857600080fd5b5051604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290519192506001600160a01b038316916370a0823191602480820192602092909190829003018186803b158015610aad57600080fd5b505afa158015610ac1573d6000803e3d6000fd5b505050506040513d6020811015610ad757600080fd5b50518214610b2c576040805162461bcd60e51b815260206004820152600c60248201527f6d6967726174653a206261640000000000000000000000000000000000000000604482015290519081900360640190fd5b83547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b039190911617909255505050565b60095481565b60045481565b600060068281548110610b8057fe5b9060005260206000209060040201905080600201544311610ba15750610dc7565b8054604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610c0457600080fd5b505afa158015610c18573d6000803e3d6000fd5b505050506040513d6020811015610c2e57600080fd5b5051905080610c44575043600290910155610dc7565b6000610c548360020154436110f3565b90506000610c816008546107f28660010154610c7b600454876114f990919063ffffffff16565b906114f9565b6001546002549192506001600160a01b03908116916340c10f199116610ca884600a611552565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b158015610cee57600080fd5b505af1158015610d02573d6000803e3d6000fd5b5050600154604080517f40c10f190000000000000000000000000000000000000000000000000000000081523060048201526024810186905290516001600160a01b0390921693506340c10f19925060448082019260009290919082900301818387803b158015610d7257600080fd5b505af1158015610d86573d6000803e3d6000fd5b50505050610db4610da9846107f264e8d4a51000856114f990919063ffffffff16565b600386015490611498565b6003850155505043600290920191909155505b50565b600060068281548110610dd957fe5b60009182526020808320858452600782526040808520338087529352909320805460049093029093018054909450610e1e926001600160a01b039190911691906117b2565b80546040805191825251849133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a360008082556001909101555050565b60065460005b81811015610e8457610e7c81610b71565b600101610e6b565b5050565b610e90611494565b6000546001600160a01b03908116911614610ef2576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b8015610f0057610f00610e65565b610f3d82610f3760068681548110610f1457fe5b90600052602060002090600402016001015460085461159490919063ffffffff16565b90611498565b6008819055508160068481548110610f5157fe5b906000526020600020906004020160010181905550505050565b610f73611494565b6000546001600160a01b03908116911614610fd5576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b6005546001600160a01b031681565b601981565b6002546001600160a01b031633146110aa576040805162461bcd60e51b815260206004820152600960248201527f6465763a207775743f0000000000000000000000000000000000000000000000604482015290519081900360640190fd5b600280547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6000546001600160a01b031690565b600060035482116111145761110d6019610c7b8486611594565b9050611159565b60035483106111275761110d8284611594565b61110d61113f6003548461159490919063ffffffff16565b610f376019610c7b8760035461159490919063ffffffff16565b92915050565b60076020908152600092835260408084209091529082529020805460019091015482565b6001546001600160a01b031681565b600080600684815481106111a257fe5b600091825260208083208784526007825260408085206001600160a01b03898116875290845281862060049586029093016003810154815484517f70a082310000000000000000000000000000000000000000000000000000000081523098810198909852935191985093969395939492909116926370a08231926024808301939192829003018186803b15801561123957600080fd5b505afa15801561124d573d6000803e3d6000fd5b505050506040513d602081101561126357600080fd5b505160028501549091504311801561127a57508015155b156112da57600061128f8560020154436110f3565b905060006112b66008546107f28860010154610c7b600454876114f990919063ffffffff16565b90506112d56112ce846107f28464e8d4a510006114f9565b8590611498565b935050505b61130283600101546107f864e8d4a510006107f28688600001546114f990919063ffffffff16565b979650505050505050565b6002546001600160a01b031681565b60006006838154811061132b57fe5b6000918252602080832086845260078252604080852033865290925292206004909102909101915061135c84610b71565b80541561139f57600061139182600101546107f864e8d4a510006107f2876003015487600001546114f990919063ffffffff16565b905061139d33826115d6565b505b81546113b6906001600160a01b031633308661198c565b80546113c29084611498565b80825560038301546113df9164e8d4a51000916107f291906114f9565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050565b611429611494565b6000546001600160a01b0390811691161461148b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610dc781611a1a565b3390565b6000828201838110156114f2576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b60008261150857506000611159565b8282028284828161151557fe5b04146114f25760405162461bcd60e51b8152600401808060200182810382526021815260200180611eab6021913960400191505060405180910390fd5b60006114f283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611ad2565b60006114f283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611b74565b600154604080517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561163a57600080fd5b505afa15801561164e573d6000803e3d6000fd5b505050506040513d602081101561166457600080fd5b505190508082111561171157600154604080517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156116df57600080fd5b505af11580156116f3573d6000803e3d6000fd5b505050506040513d602081101561170957600080fd5b506117ad9050565b600154604080517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561178057600080fd5b505af1158015611794573d6000803e3d6000fd5b505050506040513d60208110156117aa57600080fd5b50505b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526117ad908490611bce565b8015806118d15750604080517fdd62ed3e0000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b03848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b1580156118a357600080fd5b505afa1580156118b7573d6000803e3d6000fd5b505050506040513d60208110156118cd57600080fd5b5051155b61190c5760405162461bcd60e51b8152600401808060200182810382526036815260200180611ecc6036913960400191505060405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f095ea7b3000000000000000000000000000000000000000000000000000000001790526117ad908490611bce565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052611a14908590611bce565b50505050565b6001600160a01b038116611a5f5760405162461bcd60e51b8152600401808060200182810382526026815260200180611e856026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b60008183611b5e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611b23578181015183820152602001611b0b565b50505050905090810190601f168015611b505780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611b6a57fe5b0495945050505050565b60008184841115611bc65760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611b23578181015183820152602001611b0b565b505050900390565b6060611c23826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611c7f9092919063ffffffff16565b8051909150156117ad57808060200190516020811015611c4257600080fd5b50516117ad5760405162461bcd60e51b815260040180806020018281038252602a815260200180611e5b602a913960400191505060405180910390fd5b6060611c8e8484600085611c96565b949350505050565b6060611ca185611e21565b611cf2576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611d4f57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611d12565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611db1576040519150601f19603f3d011682016040523d82523d6000602084013e611db6565b606091505b50915091508115611dca579150611c8e9050565b805115611dda5780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315611b23578181015183820152602001611b0b565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611c8e57505015159291505056fe5361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666542455032303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a264697066735822122032a851420f5e8d8c059da50a836cb3fe6bf68704b277f902fd87736cb419e89764736f6c63430007030033000000000000000000000000055dab90880613a556a5ae2903b2682f8a5b8d27000000000000000000000000997cfa6bd730bfd20b739e256b38d1f9da454ad900000000000000000000000000000000000000000000000014d1120d7b16000000000000000000000000000000000000000000000000000000000000004db4f1000000000000000000000000000000000000000000000000000000000053fdf4

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

000000000000000000000000055dab90880613a556a5ae2903b2682f8a5b8d27000000000000000000000000997cfa6bd730bfd20b739e256b38d1f9da454ad900000000000000000000000000000000000000000000000014d1120d7b16000000000000000000000000000000000000000000000000000000000000004db4f1000000000000000000000000000000000000000000000000000000000053fdf4

-----Decoded View---------------
Arg [0] : _mochi (address): 0x055dab90880613a556a5ae2903b2682f8a5b8d27
Arg [1] : _devaddr (address): 0x997cfa6bd730bfd20b739e256b38d1f9da454ad9
Arg [2] : _mochiPerBlock (uint256): 1500000000000000000
Arg [3] : _startBlock (uint256): 5092593
Arg [4] : _bonusEndBlock (uint256): 5504500

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000055dab90880613a556a5ae2903b2682f8a5b8d27
Arg [1] : 000000000000000000000000997cfa6bd730bfd20b739e256b38d1f9da454ad9
Arg [2] : 00000000000000000000000000000000000000000000000014d1120d7b160000
Arg [3] : 00000000000000000000000000000000000000000000000000000000004db4f1
Arg [4] : 000000000000000000000000000000000000000000000000000000000053fdf4


Deployed ByteCode Sourcemap

44659:10318:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47530:95;;;:::i;:::-;;;;;;;;;;;;;;;;46524:26;;;;;;;;;;;;;;;;-1:-1:-1;46524:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;46524:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46765:34;;;:::i;46153:28::-;;;:::i;47794:605::-;;;;;;;;;;;;;;;;-1:-1:-1;47794:605:0;;;-1:-1:-1;;;;;47794:605:0;;;;;;;;;;;;:::i;:::-;;48934:102;;;;;;;;;;;;;;;;-1:-1:-1;48934:102:0;-1:-1:-1;;;;;48934:102:0;;:::i;53261:700::-;;;;;;;;;;;;;;;;-1:-1:-1;53261:700:0;;;;;;;:::i;49159:491::-;;;;;;;;;;;;;;;;-1:-1:-1;49159:491:0;;:::i;46857:25::-;;;:::i;46228:28::-;;;:::i;51516:859::-;;;;;;;;;;;;;;;;-1:-1:-1;51516:859:0;;:::i;54032:356::-;;;;;;;;;;;;;;;;-1:-1:-1;54032:356:0;;:::i;51260:180::-;;;:::i;48496:362::-;;;;;;;;;;;;;;;;-1:-1:-1;48496:362:0;;;;;;;;;;;;;;:::i;2940:140::-;;;:::i;46461:29::-;;;:::i;:::-;;;;-1:-1:-1;;;;;46461:29:0;;;;;;;;;;;;;;46311:45;;;:::i;54845:129::-;;;;;;;;;;;;;;;;-1:-1:-1;54845:129:0;-1:-1:-1;;;;;54845:129:0;;:::i;2298:79::-;;;:::i;49726:480::-;;;;;;;;;;;;;;;;-1:-1:-1;49726:480:0;;;;;;;:::i;46606:64::-;;;;;;;;;;;;;;;;-1:-1:-1;46606:64:0;;;;;;-1:-1:-1;;;;;46606:64:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;46022:23;;;:::i;50271:906::-;;;;;;;;;;;;;;;;-1:-1:-1;50271:906:0;;;;;;-1:-1:-1;;;;;50271:906:0;;:::i;46073:22::-;;;:::i;52444:766::-;;;;;;;;;;;;;;;;-1:-1:-1;52444:766:0;;;;;;;:::i;3235:109::-;;;;;;;;;;;;;;;;-1:-1:-1;3235:109:0;-1:-1:-1;;;;;3235:109:0;;:::i;47530:95::-;47602:8;:15;47530:95;:::o;46524:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;46524:26:0;;;;-1:-1:-1;46524:26:0;;;:::o;46765:34::-;;;;:::o;46153:28::-;;;;:::o;47794:605::-;2520:12;:10;:12::i;:::-;2510:6;;-1:-1:-1;;;;;2510:6:0;;;:22;;;2502:67;;;;;-1:-1:-1;;;2502:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47929:11:::1;47925:61;;;47957:17;:15;:17::i;:::-;47996:23;48050:10;;48035:12;:25;:53;;48078:10;;48035:53;;;48063:12;48035:53;48117:15;::::0;47996:92;;-1:-1:-1;48117:32:0::1;::::0;48137:11;48117:19:::1;:32::i;:::-;48099:15;:50:::0;48188:192:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;48188:192:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;48188:192:0;;;;;;48160:8:::1;:231:::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;::::1;;::::0;;;;;;;;;;;;;;-1:-1:-1;48160:231:0;;;;;;;47794:605::o;48934:102::-;2520:12;:10;:12::i;:::-;2510:6;;-1:-1:-1;;;;;2510:6:0;;;:22;;;2502:67;;;;;-1:-1:-1;;;2502:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49008:8:::1;:20:::0;;;::::1;-1:-1:-1::0;;;;;49008:20:0;;;::::1;::::0;;;::::1;::::0;;48934:102::o;53261:700::-;53328:21;53352:8;53361:4;53352:14;;;;;;;;;;;;;;;;53401;;;:8;:14;;;;;;53416:10;53401:26;;;;;;;53446:11;;53352:14;;;;;;;;-1:-1:-1;53446:22:0;-1:-1:-1;53446:22:0;53438:53;;;;;-1:-1:-1;;;53438:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;53502:16;53513:4;53502:10;:16::i;:::-;53529:15;53560:101;53631:4;:15;;;53560:48;53603:4;53560:38;53576:4;:21;;;53560:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:48::i;:::-;:52;;:101::i;:::-;53529:132;;53672:38;53690:10;53702:7;53672:17;:38::i;:::-;53735:11;;:24;;53751:7;53735:15;:24::i;:::-;53721:38;;;53804:21;;;;53788:48;;53831:4;;53788:38;;53721;53788:15;:38::i;:48::-;53770:15;;;:66;53847:12;;:55;;-1:-1:-1;;;;;53847:12:0;53881:10;53894:7;53847:25;:55::i;:::-;53918:35;;;;;;;;53939:4;;53927:10;;53918:35;;;;;;;;;53261:700;;;;;:::o;49159:491::-;49224:8;;-1:-1:-1;;;;;49224:8:0;49208:64;;;;;-1:-1:-1;;;49208:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;49283:21;49307:8;49316:4;49307:14;;;;;;;;;;;;;;;;;;;;;49349:12;;49386:32;;;;;;49412:4;49386:32;;;;;;;;49307:14;;-1:-1:-1;;;;;;49349:12:0;;49307:14;49349:12;;49386:17;;:32;;;;;;;;;;49349:12;49386:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49386:32:0;49457:8;;49386:32;;-1:-1:-1;49429:43:0;;-1:-1:-1;;;;;49429:19:0;;;;49457:8;49386:32;49429:19;:43::i;:::-;49503:8;;:25;;;;;;-1:-1:-1;;;;;49503:25:0;;;;;;;;;49483:17;;49503:8;;;;;:16;;:25;;;;;;;;;;;;;;;49483:17;49503:8;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49503:25:0;49554:35;;;;;;49583:4;49554:35;;;;;;49503:25;;-1:-1:-1;;;;;;49554:20:0;;;;;:35;;;;;49503:25;;49554:35;;;;;;;;:20;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49554:35:0;49547:42;;49539:67;;;;;-1:-1:-1;;;49539:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;49617:25;;;;-1:-1:-1;;;;;49617:25:0;;;;;;;;-1:-1:-1;;;49159:491:0:o;46857:25::-;;;;:::o;46228:28::-;;;;:::o;51516:859::-;51568:21;51592:8;51601:4;51592:14;;;;;;;;;;;;;;;;;;51568:38;;51637:4;:20;;;51621:12;:36;51617:75;;51674:7;;;51617:75;51721:12;;:37;;;;;;51752:4;51721:37;;;;;;51702:16;;-1:-1:-1;;;;;51721:12:0;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51721:37:0;;-1:-1:-1;51773:13:0;51769:102;;-1:-1:-1;51826:12:0;51803:20;;;;:35;51853:7;;51769:102;51881:18;51902:49;51916:4;:20;;;51938:12;51902:13;:49::i;:::-;51881:70;;51962:19;51997:103;52070:15;;51997:50;52031:4;:15;;;51997:29;52012:13;;51997:10;:14;;:29;;;;:::i;:::-;:33;;:50::i;:103::-;52111:5;;52122:7;;51962:138;;-1:-1:-1;;;;;;52111:5:0;;;;:10;;52122:7;52131:19;51962:138;52147:2;52131:15;:19::i;:::-;52111:40;;;;;;;;;;;;;-1:-1:-1;;;;;52111:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52162:5:0;;:38;;;;;;52181:4;52162:38;;;;;;;;;;;;-1:-1:-1;;;;;52162:5:0;;;;-1:-1:-1;52162:10:0;;-1:-1:-1;52162:38:0;;;;;:5;;:38;;;;;;;;:5;;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52235:86;52275:35;52301:8;52275:21;52291:4;52275:11;:15;;:21;;;;:::i;:35::-;52235:21;;;;;:25;:86::i;:::-;52211:21;;;:110;-1:-1:-1;;52355:12:0;52332:20;;;;:35;;;;-1:-1:-1;51516:859:0;;:::o;54032:356::-;54091:21;54115:8;54124:4;54115:14;;;;;;;;;;;;;;;;54164;;;:8;:14;;;;;;54179:10;54164:26;;;;;;;;54248:11;;54115:14;;;;;;;54201:12;;54115:14;;-1:-1:-1;54201:59:0;;-1:-1:-1;;;;;54201:12:0;;;;;54179:10;54201:25;:59::i;:::-;54312:11;;54276:48;;;;;;;54306:4;;54294:10;;54276:48;;;;;;;;;54349:1;54335:15;;;54361;;;;:19;-1:-1:-1;;54032:356:0:o;51260:180::-;51322:8;:15;51305:14;51348:85;51376:6;51370:3;:12;51348:85;;;51406:15;51417:3;51406:10;:15::i;:::-;51384:5;;51348:85;;;;51260:180;:::o;48496:362::-;2520:12;:10;:12::i;:::-;2510:6;;-1:-1:-1;;;;;2510:6:0;;;:22;;;2502:67;;;;;-1:-1:-1;;;2502:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48628:11:::1;48624:61;;;48656:17;:15;:17::i;:::-;48713:87;48778:11;48713:46;48733:8;48742:4;48733:14;;;;;;;;;;;;;;;;;;:25;;;48713:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:87::i;:::-;48695:15;:105;;;;48839:11;48811:8;48820:4;48811:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;48496:362:::0;;;:::o;2940:140::-;2520:12;:10;:12::i;:::-;2510:6;;-1:-1:-1;;;;;2510:6:0;;;:22;;;2502:67;;;;;-1:-1:-1;;;2502:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3039:1:::1;3023:6:::0;;3002:40:::1;::::0;-1:-1:-1;;;;;3023:6:0;;::::1;::::0;3002:40:::1;::::0;3039:1;;3002:40:::1;3070:1;3053:19:::0;;;::::1;::::0;;2940:140::o;46461:29::-;;;-1:-1:-1;;;;;46461:29:0;;:::o;46311:45::-;46354:2;46311:45;:::o;54845:129::-;54916:7;;-1:-1:-1;;;;;54916:7:0;54902:10;:21;54894:43;;;;;-1:-1:-1;;;54894:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;54948:7;:18;;;;-1:-1:-1;;;;;54948:18:0;;;;;;;;;;54845:129::o;2298:79::-;2336:7;2363:6;-1:-1:-1;;;;;2363:6:0;2298:79;:::o;49726:480::-;49825:7;49861:13;;49854:3;:20;49850:349;;49898:36;46354:2;49898:14;:3;49906:5;49898:7;:14::i;:36::-;49891:43;;;;49850:349;49965:13;;49956:5;:22;49952:247;;50002:14;:3;50010:5;50002:7;:14::i;49952:247::-;50073:114;50146:22;50154:13;;50146:3;:7;;:22;;;;:::i;:::-;50073:46;46354:2;50073:24;50091:5;50073:13;;:17;;:24;;;;:::i;49952:247::-;49726:480;;;;:::o;46606:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;46022:23::-;;;-1:-1:-1;;;;;46022:23:0;;:::o;50271:906::-;50372:7;50397:21;50421:8;50430:4;50421:14;;;;;;;;;;;;;;;;50470;;;:8;:14;;;;;;-1:-1:-1;;;;;50470:21:0;;;;;;;;;;;50421:14;;;;;;;50529:21;;;;50580:12;;:37;;;;;50611:4;50580:37;;;;;;;;;50421:14;;-1:-1:-1;50470:21:0;;50529;;50421:14;;50580:12;;;;;:22;;:37;;;;;50421:14;;50580:37;;;;;:12;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50580:37:0;50647:20;;;;50580:37;;-1:-1:-1;50632:12:0;:35;:52;;;;-1:-1:-1;50671:13:0;;;50632:52;50628:460;;;50701:18;50739:49;50753:4;:20;;;50775:12;50739:13;:49::i;:::-;50701:87;;50803:19;50842:111;50919:15;;50842:50;50876:4;:15;;;50842:29;50857:13;;50842:10;:14;;:29;;;;:::i;:111::-;50803:150;-1:-1:-1;50987:89:0;51026:35;51052:8;51026:21;50803:150;51042:4;51026:15;:21::i;:35::-;50987:16;;:20;:89::i;:::-;50968:108;;50628:460;;;51105:64;51153:4;:15;;;51105:43;51143:4;51105:33;51121:16;51105:4;:11;;;:15;;:33;;;;:::i;:64::-;51098:71;50271:906;-1:-1:-1;;;;;;;50271:906:0:o;46073:22::-;;;-1:-1:-1;;;;;46073:22:0;;:::o;52444:766::-;52510:21;52534:8;52543:4;52534:14;;;;;;;;;;;;;;;;52583;;;:8;:14;;;;;;52598:10;52583:26;;;;;;;52534:14;;;;;;;;-1:-1:-1;52620:16:0;52592:4;52620:10;:16::i;:::-;52651:11;;:15;52647:245;;52683:15;52718:109;52793:4;:15;;;52718:48;52761:4;52718:38;52734:4;:21;;;52718:4;:11;;;:15;;:38;;;;:::i;:109::-;52683:144;;52842:38;52860:10;52872:7;52842:17;:38::i;:::-;52647:245;;52902:12;;:124;;-1:-1:-1;;;;;52902:12:0;52954:10;52988:4;53008:7;52902:29;:124::i;:::-;53051:11;;:24;;53067:7;53051:15;:24::i;:::-;53037:38;;;53120:21;;;;53104:48;;53147:4;;53104:38;;53037;53104:15;:38::i;:48::-;53086:15;;;:66;53168:34;;;;;;;;53188:4;;53176:10;;53168:34;;;;;;;;;52444:766;;;;:::o;3235:109::-;2520:12;:10;:12::i;:::-;2510:6;;-1:-1:-1;;;;;2510:6:0;;;:22;;;2502:67;;;;;-1:-1:-1;;;2502:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3308:28:::1;3327:8;3308:18;:28::i;892:98::-:0;972:10;892:98;:::o;7965:181::-;8023:7;8055:5;;;8079:6;;;;8071:46;;;;;-1:-1:-1;;;8071:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;8137:1;7965:181;-1:-1:-1;;;7965:181:0:o;9353:471::-;9411:7;9656:6;9652:47;;-1:-1:-1;9686:1:0;9679:8;;9652:47;9723:5;;;9727:1;9723;:5;:1;9747:5;;;;;:10;9739:56;;;;-1:-1:-1;;;9739:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10300:132;10358:7;10385:39;10389:1;10392;10385:39;;;;;;;;;;;;;;;;;:3;:39::i;8429:136::-;8487:7;8514:43;8518:1;8521;8514:43;;;;;;;;;;;;;;;;;:3;:43::i;54504:285::-;54600:5;;:30;;;;;;54624:4;54600:30;;;;;;54581:16;;-1:-1:-1;;;;;54600:5:0;;:15;;:30;;;;;;;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54600:30:0;;-1:-1:-1;54645:18:0;;;54641:141;;;54680:5;;:29;;;;;;-1:-1:-1;;;;;54680:29:0;;;;;;;;;;;;;;;:5;;;;;:14;;:29;;;;;;;;;;;;;;:5;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54641:141:0;;-1:-1:-1;54641:141:0;;54742:5;;:28;;;;;;-1:-1:-1;;;;;54742:28:0;;;;;;;;;;;;;;;:5;;;;;:14;;:28;;;;;;;;;;;;;;:5;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;54641:141:0;54504:285;;;:::o;30936:211::-;31080:58;;;-1:-1:-1;;;;;31080:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31103:23;31080:58;;;31053:86;;31073:5;;31053:19;:86::i;31672:670::-;32090:10;;;32089:62;;-1:-1:-1;32106:39:0;;;;;;32130:4;32106:39;;;;-1:-1:-1;;;;;32106:39:0;;;;;;;;;:15;;;;;;:39;;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32106:39:0;:44;32089:62;32067:166;;;;-1:-1:-1;;;32067:166:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32271:62;;;-1:-1:-1;;;;;32271:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32294:22;32271:62;;;32244:90;;32264:5;;32244:19;:90::i;31155:248::-;31326:68;;;-1:-1:-1;;;;;31326:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31349:27;31326:68;;;31299:96;;31319:5;;31299:19;:96::i;:::-;31155:248;;;;:::o;3450:229::-;-1:-1:-1;;;;;3524:22:0;;3516:73;;;;-1:-1:-1;;;3516:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3626:6;;;3605:38;;-1:-1:-1;;;;;3605:38:0;;;;3626:6;;;3605:38;;;3654:6;:17;;;;-1:-1:-1;;;;;3654:17:0;;;;;;;;;;3450:229::o;10928:312::-;11048:7;11083:12;11076:5;11068:28;;;;-1:-1:-1;;;11068:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11107:9;11123:1;11119;:5;;;;;;;10928:312;-1:-1:-1;;;;;10928:312:0:o;8868:226::-;8988:7;9024:12;9016:6;;;;9008:29;;;;-1:-1:-1;;;9008:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;9060:5:0;;;8868:226::o;33471:774::-;33895:23;33921:69;33949:4;33921:69;;;;;;;;;;;;;;;;;33929:5;-1:-1:-1;;;;;33921:27:0;;;:69;;;;;:::i;:::-;34005:17;;33895:95;;-1:-1:-1;34005:21:0;34001:237;;34160:10;34149:30;;;;;;;;;;;;;;;-1:-1:-1;34149:30:0;34141:85;;;;-1:-1:-1;;;34141:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16960:230;17097:12;17129:53;17152:6;17160:4;17166:1;17169:12;17129:22;:53::i;:::-;17122:60;16960:230;-1:-1:-1;;;;16960:230:0:o;18448:1020::-;18621:12;18654:18;18665:6;18654:10;:18::i;:::-;18646:60;;;;;-1:-1:-1;;;18646:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;18780:12;18794:23;18821:6;-1:-1:-1;;;;;18821:11:0;18840:8;18850:4;18821:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18779:76;;;;18870:7;18866:595;;;18901:10;-1:-1:-1;18894:17:0;;-1:-1:-1;18894:17:0;18866:595;19015:17;;:21;19011:439;;19278:10;19272:17;19339:15;19326:10;19322:2;19318:19;19311:44;19226:148;19414:20;;-1:-1:-1;;;19414:20:0;;;;;;;;;;;;;;;;;19421:12;;19414:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13823:641;13883:4;14364:20;;14194:66;14413:23;;;;;;:42;;-1:-1:-1;;14440:15:0;;;14405:51;-1:-1:-1;;13823:641:0:o

Swarm Source

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