Contract 0x50ba8bf9e34f0f83f96a340387d1d3888ba4b3b5

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x54aa98b3ac5876d71bf1a5bf7b3f925d97b35f5ce4a281633d2a971958115eaaTransfer132450352021-12-06 13:33:0617 mins ago0x7670e853db3046678120c6c74835b21f80d3bc36 IN  RugZombie: ZMBE Token0 BNB0.00026759
0x4055abbaaf1d6aa1cce406f753f801610ac1b67d1d979f35e6978549024e8ff7Transfer132398192021-12-06 9:01:054 hrs 49 mins ago0x993826a6f2e3d33e3b87e8fa7b5668a7d82368e5 IN  RugZombie: ZMBE Token0 BNB0.00019253
0x0c1e03f05c63debbe69e681ae172cecf14e10c59c2c4fb526d5e8af6ea7b561fTransfer132341172021-12-06 4:10:419 hrs 40 mins ago0xf7684b0d168b77096ffb6b4cab74ac6fa4ae6748 IN  RugZombie: ZMBE Token0 BNB0.00011759
0xa7c0091618be61d5ab99721faf8d732b131f7d301a13ccba0084169b24641b9fApprove132338542021-12-06 3:57:319 hrs 53 mins ago0x486c5504f9cbb3abf5272c592d2874fe54f629c9 IN  RugZombie: ZMBE Token0 BNB0.00022261
0x2df696baf3f7a51bf7b81bfbf3191cb16cd6d6509928bf5edd03f38900077c3dApprove132295182021-12-06 0:15:3013 hrs 35 mins ago0x83694b5ce034cd7f664b28e1c69fd9d2b35bd1e0 IN  RugZombie: ZMBE Token0 BNB0.00022111
0x7f7908788f92219547a53a68132d726aa98ec7dc195f3ad86c24faa043e67518Approve132210942021-12-05 17:10:5920 hrs 39 mins ago0xc3bb1385b6cfec47e182ed6cd424b1b81a8830d7 IN  RugZombie: ZMBE Token0 BNB0.00014761
0x18d120fe626f184a990607d89ed67af05052d7d6cd59506b3b81251919026f13Approve132195642021-12-05 15:46:3622 hrs 4 mins ago0x82744a754c1baf1a574d9b642b2493b6b3edc766 IN  RugZombie: ZMBE Token0 BNB0.00012661
0xabb890df9a5c14f3de8294a14e9a3045bb3082d52ad7ecd1b5c8d7937e8d6ae8Approve132195482021-12-05 15:45:4822 hrs 4 mins ago0x82744a754c1baf1a574d9b642b2493b6b3edc766 IN  RugZombie: ZMBE Token0 BNB0.00022261
0xaf277e83d7cae1aa660e3623cb6f9e2bbe9874c5442958a5ef7146f2ec31d5ccApprove132178602021-12-05 14:13:4923 hrs 36 mins ago0x9f0fd1d18339852c53b3ffa1bd5e2b580876dcaf IN  RugZombie: ZMBE Token0 BNB0.00022261
0xd9b2b05f4a391afc7a051ce08b89739ffe63b3daba272a58928781d570aaa976Approve132132162021-12-05 10:11:311 day 3 hrs ago0x51aad11e5a5bd05b3409358853d0d6a66aa60c40 IN  RugZombie: ZMBE Token0 BNB0.00022261
0x1bce2b2daa94d11f380fc5f17ee1fe38fff668ffa4694bf83bee9350864dbc13Approve132131882021-12-05 10:10:071 day 3 hrs ago0x51aad11e5a5bd05b3409358853d0d6a66aa60c40 IN  RugZombie: ZMBE Token0 BNB0.00022261
0x58e4fbc13ac0955b91898b109635cef65cb257ba55beb72f9ad444ece6028771Transfer132129022021-12-05 9:55:491 day 3 hrs ago0x1e72d025fdb3f654fe23ec37bda607979bbd54ed IN  RugZombie: ZMBE Token0 BNB0.00019265
0x7c1ecc9effc10f72315e27c292cc8a353ae1454ff8831939829510bd5a39961bTransfer132044962021-12-05 2:53:231 day 10 hrs ago0xf7aa989b2e1f0828cfc9c39985bf7f370660c18f IN  RugZombie: ZMBE Token0 BNB0.00019265
0x0e24e323c7d89754394c479efbd921e3cf3f6c475289065e18cc8f0a4eb3041fApprove132036422021-12-05 2:10:401 day 11 hrs ago0x035e186632e5dfdd72db2749b1dea022740754ea IN  RugZombie: ZMBE Token0 BNB0.00022261
0x5a0554879b7b268e6c5f7e1b605e2b061fe972423be602fcade5efbd01c859d6Approve132018572021-12-05 0:41:071 day 13 hrs ago0xb47af365ed3616bcdffa45657fd8d1ea03d1d093 IN  RugZombie: ZMBE Token0 BNB0.00022261
0x976a5e67021a87254def11a33a28d3f7a65edee232e8c018c7670e432fe17aa2Approve131988612021-12-04 22:11:171 day 15 hrs ago0x8cf99659db1c3c96465132260870b307bd7a0b40 IN  RugZombie: ZMBE Token0 BNB0.00022261
0x485e8ad1d02a4cde81a3dbceaf56627f585673170cf129924622b2f0cf9c67eaApprove131988422021-12-04 22:10:201 day 15 hrs ago0x8cf99659db1c3c96465132260870b307bd7a0b40 IN  RugZombie: ZMBE Token0 BNB0.00022261
0x6a78041240521aa0305f21e7cdceda253e81fbc8a7f1417af8591a6e2b4c7ce0Approve131988192021-12-04 22:09:111 day 15 hrs ago0x8cf99659db1c3c96465132260870b307bd7a0b40 IN  RugZombie: ZMBE Token0 BNB0.00022261
0x49aedd0946d89818d7ebe5d32058dd630ca163c2c907f844b2250ea47a498594Approve131976722021-12-04 21:11:501 day 16 hrs ago0xa97f7eb14da5568153ea06b2656ccf7c338d942f IN  RugZombie: ZMBE Token0 BNB0.00012661
0x448450545f7bd779f9db80401f55219ede675b3644e7e20b20389ca5fcb29220Approve131973162021-12-04 20:54:021 day 16 hrs ago0xf3bc02c6dca8faa10909262a225ff75b8bda6c1b IN  RugZombie: ZMBE Token0 BNB0.00022261
0x9738862ad3ba18fd125056b6ef792c42303860bddfa23c1e4f8017add6768e22Transfer131973012021-12-04 20:53:171 day 16 hrs ago0x7b47f2a20f97c8c0822a18d6988e237323d6129b IN  RugZombie: ZMBE Token0 BNB0.00019271
0x184a694c6c972d42f39586475b028d256becf042d43ae3ce811e36e4e42cdcf6Transfer131971392021-12-04 20:45:111 day 17 hrs ago0xf3bc02c6dca8faa10909262a225ff75b8bda6c1b IN  RugZombie: ZMBE Token0 BNB0.00019271
0x5471156a299e5761c171816e21cc24e054974c6291487783ff714571b62bf1bbApprove131965542021-12-04 20:15:561 day 17 hrs ago0x376f80a4624999478de97b7c6d0ffcfaafafa085 IN  RugZombie: ZMBE Token0 BNB0.000072845
0x2add3c07cdd1abea57e56966657e56c287e0491294569a6c6a3fed85c9058305Approve131960682021-12-04 19:51:381 day 17 hrs ago0x6ee87166ae581d586c26e594798a5553ac5f077c IN  RugZombie: ZMBE Token0 BNB0.00012661
0x9ac60fb9992311dab64d22977ccf7fb5dfd8230d2971e37ced4a9e29b64f3948Approve131960302021-12-04 19:49:441 day 18 hrs ago0x6ee87166ae581d586c26e594798a5553ac5f077c IN  RugZombie: ZMBE Token0 BNB0.00022261
[ Download CSV Export 

OVERVIEW

The RugZombie Team has created a Dapp from a fork of PancakeSwap code to allow users the opportunity to stake “dead” tokens in our Graves or Tombs in exchange for custom NFT artwork as a consolation prize and earn a yield with our $ZMBE token.

Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ZombieToken

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 7 : ZombieToken.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

import "./token/BEP20/BEP20.sol";

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

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

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

    // Limits wallet balances during launch.
    bool public launch = true;
    // tracks addresses without anti-whale wallet balance limit. (should only be DrFrankenstain contract)
    mapping (address => bool) public whitelist;

    /// @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), "ZMBE::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "ZMBE::delegateBySig: invalid nonce");
        require(block.timestamp <= expiry, "ZMBE::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, "ZMBE::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 ZMBEs (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, "ZMBE::_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 view returns (uint) {
        uint256 chainId;
        assembly { chainId := chainid() }
        return chainId;
    }

    // Anti whale: 2% wallet balance limit (is lifted after launch)
    // Has to allow tx's from owner so initial liquidity pairing doesnt fail
    modifier whaleDetection(address recipient, uint256 amount) {
        uint256 balanceBasisPointsOfTotalSupply = calcBasisPoints(totalSupply(), amount + balanceOf(recipient));
        require(
            balanceBasisPointsOfTotalSupply <= 200 || launch == false || whitelist[recipient] == true || msg.sender == owner() || tx.origin == owner(),
            'Whale Detection: wallet cannot hold > 2% of total supply at launch.'
        );
        _;
    }

    function transfer(address recipient, uint256 amount) public override whaleDetection(recipient, amount) returns (bool) {
        return super.transfer(recipient, amount);
    }

    function transferFrom(address sender, address recipient, uint256 amount) public override whaleDetection(recipient, amount) returns (bool) {
        return super.transferFrom(sender, recipient, amount);
    }

    function liftLaunchWhaleDetection() public onlyOwner {
        launch = false;
    }


    function whitelistAddress(address _address) public onlyOwner {
        whitelist[_address] = true;
    }

    // Helpers

    // Get basis points (percentage) of _portion relative to _amount
    function calcBasisPoints(uint _amount, uint  _portion) public pure returns(uint) {
        if(_portion == 0 || _amount == 0) {
            return 0;
        } else {
            uint _basisPoints = (_portion * 10000) / _amount;
            return _basisPoints;
        }
    }
}

File 2 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

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

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

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

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

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 3 of 7 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

/**
 * @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 4 of 7 : BEP20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

import '../../access/Ownable.sol';
import '../../utils/Context.sol';
import './IBEP20.sol';
import '../../math/SafeMath.sol';
import '../../utils/Address.sol';

/**
 * @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}.
 */
abstract contract BEP20 is Context, IBEP20, Ownable {
    using SafeMath for uint256;
    using Address for address;

    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

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

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

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

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

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

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

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

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

    /**
     * @dev See {BEP20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public 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 {
        require(account != address(0), 'BEP20: mint to the zero address');

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

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

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

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

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

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

File 5 of 7 : IBEP20.sol
// SPDX-License-Identifier: GPL-3.0-or-later

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

File 6 of 7 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

File 7 of 7 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

/*
 * @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 meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_portion","type":"uint256"}],"name":"calcBasisPoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint256","name":"votes","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"launch","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liftLaunchWhaleDetection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"whitelistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600b805460ff191660011790553480156200001e57600080fd5b506040518060400160405280600c81526020016b2d37b6b134b2902a37b5b2b760a11b815250604051806040016040528060048152602001635a4d424560e01b815250600062000073620000fe60201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508151620000d290600490602085019062000102565b508051620000e890600590602084019062000102565b50506006805460ff1916601217905550620001e5565b3390565b8280546200011090620001a8565b90600052602060002090601f0160209004810192826200013457600085556200017f565b82601f106200014f57805160ff19168380011785556200017f565b828001600101855582156200017f579182015b828111156200017f57825182559160200191906001019062000162565b506200018d92915062000191565b5090565b5b808211156200018d576000815560010162000192565b600181811c90821680620001bd57607f821691505b60208210811415620001df57634e487b7160e01b600052602260045260246000fd5b50919050565b611d6c80620001f56000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c8063782d6fe11161010f578063a9059cbb116100a2578063dd62ed3e11610071578063dd62ed3e14610487578063e7a324dc146104c0578063f1127ed8146104e7578063f2fde38b1461053e57600080fd5b8063a9059cbb1461043b578063b4b5ea571461044e578063bcb4850314610461578063c3cda5201461047457600080fd5b806395d89b41116100de57806395d89b41146103ea5780639b19251a146103f2578063a0712d6814610415578063a457c2d71461042857600080fd5b8063782d6fe1146103a65780637ecebe00146103b9578063893d20e8146103d95780638da5cb5b146103d957600080fd5b806340c10f19116101875780635c19a95c116101565780635c19a95c146103275780636fcfff451461033a57806370a0823114610375578063715018a61461039e57600080fd5b806340c10f19146102b357806341566585146102c8578063529c0f48146102db578063587cde1e146102e357600080fd5b806320606b70116101c357806320606b701461025157806323b872dd14610278578063313ce5671461028b57806339509351146102a057600080fd5b806301339c21146101f557806306fdde0314610217578063095ea7b31461022c57806318160ddd1461023f575b600080fd5b600b546102029060ff1681565b60405190151581526020015b60405180910390f35b61021f610551565b60405161020e9190611a4a565b61020261023a36600461194c565b6105e3565b6003545b60405190815260200161020e565b6102437f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b610202610286366004611911565b6105fa565b60065460405160ff909116815260200161020e565b6102026102ae36600461194c565b6106d1565b6102c66102c136600461194c565b61070c565b005b6102c66102d63660046118c5565b610769565b6102c66107b7565b61030f6102f13660046118c5565b6001600160a01b039081166000908152600760205260409020541690565b6040516001600160a01b03909116815260200161020e565b6102c66103353660046118c5565b6107ed565b6103606103483660046118c5565b60096020526000908152604090205463ffffffff1681565b60405163ffffffff909116815260200161020e565b6102436103833660046118c5565b6001600160a01b031660009081526001602052604090205490565b6102c66107fa565b6102436103b436600461194c565b61086e565b6102436103c73660046118c5565b600a6020526000908152604090205481565b6000546001600160a01b031661030f565b61021f610ad3565b6102026104003660046118c5565b600c6020526000908152604090205460ff1681565b610202610423366004611a11565b610ae2565b61020261043636600461194c565b610b20565b61020261044936600461194c565b610b6f565b61024361045c3660046118c5565b610c18565b61024361046f366004611a29565b610c8d565b6102c6610482366004611975565b610cc9565b6102436104953660046118df565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6102437fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b6105226104f53660046119d3565b60086020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6040805163ffffffff909316835260208301919091520161020e565b6102c661054c3660046118c5565b610f97565b60606004805461056090611c0d565b80601f016020809104026020016040519081016040528092919081815260200182805461058c90611c0d565b80156105d95780601f106105ae576101008083540402835291602001916105d9565b820191906000526020600020905b8154815290600101906020018083116105bc57829003601f168201915b5050505050905090565b60006105f0338484611081565b5060015b92915050565b60008282600061062f61060c60035490565b6001600160a01b03851660009081526001602052604090205461046f9085611b3b565b905060c8811115806106445750600b5460ff16155b8061066c57506001600160a01b0383166000908152600c602052604090205460ff1615156001145b8061068157506000546001600160a01b031633145b8061069657506000546001600160a01b031632145b6106bb5760405162461bcd60e51b81526004016106b290611a9d565b60405180910390fd5b6106c68787876111a6565b979650505050505050565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916105f0918590610707908661120a565b611081565b6000546001600160a01b031633146107365760405162461bcd60e51b81526004016106b290611b06565b6107408282611269565b6001600160a01b0380831660009081526007602052604081205461076592168361134f565b5050565b6000546001600160a01b031633146107935760405162461bcd60e51b81526004016106b290611b06565b6001600160a01b03166000908152600c60205260409020805460ff19166001179055565b6000546001600160a01b031633146107e15760405162461bcd60e51b81526004016106b290611b06565b600b805460ff19169055565b6107f733826114b3565b50565b6000546001600160a01b031633146108245760405162461bcd60e51b81526004016106b290611b06565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60004382106108cf5760405162461bcd60e51b815260206004820152602760248201527f5a4d42453a3a6765745072696f72566f7465733a206e6f742079657420646574604482015266195c9b5a5b995960ca1b60648201526084016106b2565b6001600160a01b03831660009081526009602052604090205463ffffffff16806108fd5760009150506105f4565b6001600160a01b03841660009081526008602052604081208491610922600185611be8565b63ffffffff9081168252602082019290925260400160002054161161098b576001600160a01b038416600090815260086020526040812090610965600184611be8565b63ffffffff1663ffffffff168152602001908152602001600020600101549150506105f4565b6001600160a01b038416600090815260086020908152604080832083805290915290205463ffffffff168310156109c65760009150506105f4565b6000806109d4600184611be8565b90505b8163ffffffff168163ffffffff161115610a9c57600060026109f98484611be8565b610a039190611b8f565b610a0d9083611be8565b6001600160a01b038816600090815260086020908152604080832063ffffffff8086168552908352928190208151808301909252805490931680825260019093015491810191909152919250871415610a70576020015194506105f49350505050565b805163ffffffff16871115610a8757819350610a95565b610a92600183611be8565b92505b50506109d7565b506001600160a01b038516600090815260086020908152604080832063ffffffff9094168352929052206001015491505092915050565b60606005805461056090611c0d565b600080546001600160a01b03163314610b0d5760405162461bcd60e51b81526004016106b290611b06565b610b173383611269565b5060015b919050565b60006105f0338461070785604051806060016040528060258152602001611cde602591393360009081526002602090815260408083206001600160a01b038d1684529091529020549190611533565b600082826000610b8161060c60035490565b905060c881111580610b965750600b5460ff16155b80610bbe57506001600160a01b0383166000908152600c602052604090205460ff1615156001145b80610bd357506000546001600160a01b031633145b80610be857506000546001600160a01b031632145b610c045760405162461bcd60e51b81526004016106b290611a9d565b610c0e868661156d565b9695505050505050565b6001600160a01b03811660009081526009602052604081205463ffffffff1680610c43576000610c86565b6001600160a01b038316600090815260086020526040812090610c67600184611be8565b63ffffffff1663ffffffff168152602001908152602001600020600101545b9392505050565b6000811580610c9a575082155b15610ca7575060006105f4565b600083610cb684612710611bb2565b610cc09190611b7b565b91506105f49050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866610cf4610551565b80519060200120610d024690565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a90528251808503909101815261014084019092528151919093012061190160f01b610160830152610162820183905261018282018190529192506000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015610e2e573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610ea05760405162461bcd60e51b815260206004820152602660248201527f5a4d42453a3a64656c656761746542795369673a20696e76616c6964207369676044820152656e617475726560d01b60648201526084016106b2565b6001600160a01b0381166000908152600a60205260408120805491610ec483611c48565b919050558914610f215760405162461bcd60e51b815260206004820152602260248201527f5a4d42453a3a64656c656761746542795369673a20696e76616c6964206e6f6e604482015261636560f01b60648201526084016106b2565b87421115610f805760405162461bcd60e51b815260206004820152602660248201527f5a4d42453a3a64656c656761746542795369673a207369676e617475726520656044820152651e1c1a5c995960d21b60648201526084016106b2565b610f8a818b6114b3565b505050505b505050505050565b6000546001600160a01b03163314610fc15760405162461bcd60e51b81526004016106b290611b06565b6001600160a01b0381166110265760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106b2565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166110e35760405162461bcd60e51b8152602060048201526024808201527f42455032303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106b2565b6001600160a01b0382166111445760405162461bcd60e51b815260206004820152602260248201527f42455032303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106b2565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60006111b3848484611576565b611200843361070785604051806060016040528060288152602001611c90602891396001600160a01b038a1660009081526002602090815260408083203384529091529020549190611533565b5060019392505050565b6000806112178385611b3b565b905083811015610c865760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016106b2565b6001600160a01b0382166112bf5760405162461bcd60e51b815260206004820152601f60248201527f42455032303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106b2565b6003546112cc908261120a565b6003556001600160a01b0382166000908152600160205260409020546112f2908261120a565b6001600160a01b0383166000818152600160205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906113439085815260200190565b60405180910390a35050565b816001600160a01b0316836001600160a01b0316141580156113715750600081115b156114ae576001600160a01b03831615611414576001600160a01b03831660009081526009602052604081205463ffffffff1690816113b15760006113f4565b6001600160a01b0385166000908152600860205260408120906113d5600185611be8565b63ffffffff1663ffffffff168152602001908152602001600020600101545b90506000611402828561169a565b9050611410868484846116dc565b5050505b6001600160a01b038216156114ae576001600160a01b03821660009081526009602052604081205463ffffffff16908161144f576000611492565b6001600160a01b038416600090815260086020526040812090611473600185611be8565b63ffffffff1663ffffffff168152602001908152602001600020600101545b905060006114a0828561120a565b9050610f8f858484846116dc565b505050565b6001600160a01b03828116600081815260076020818152604080842080546001845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a461152d82848361134f565b50505050565b600081848411156115575760405162461bcd60e51b81526004016106b29190611a4a565b5060006115648486611bd1565b95945050505050565b60006105f03384845b6001600160a01b0383166115da5760405162461bcd60e51b815260206004820152602560248201527f42455032303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106b2565b61161781604051806060016040528060268152602001611cb8602691396001600160a01b0386166000908152600160205260409020549190611533565b6001600160a01b038085166000908152600160205260408082209390935590841681522054611646908261120a565b6001600160a01b0380841660008181526001602052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906111999085815260200190565b6000610c8683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611533565b600061170043604051806060016040528060348152602001611d036034913961187e565b905060008463ffffffff1611801561175a57506001600160a01b038516600090815260086020526040812063ffffffff83169161173e600188611be8565b63ffffffff908116825260208201929092526040016000205416145b156117a3576001600160a01b03851660009081526008602052604081208391611784600188611be8565b63ffffffff168152602081019190915260400160002060010155611833565b60408051808201825263ffffffff838116825260208083018681526001600160a01b038a166000908152600883528581208a851682529092529390209151825463ffffffff191691161781559051600191820155611802908590611b53565b6001600160a01b0386166000908152600960205260409020805463ffffffff191663ffffffff929092169190911790555b60408051848152602081018490526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b60008164010000000084106118a65760405162461bcd60e51b81526004016106b29190611a4a565b509192915050565b80356001600160a01b0381168114610b1b57600080fd5b6000602082840312156118d6578081fd5b610c86826118ae565b600080604083850312156118f1578081fd5b6118fa836118ae565b9150611908602084016118ae565b90509250929050565b600080600060608486031215611925578081fd5b61192e846118ae565b925061193c602085016118ae565b9150604084013590509250925092565b6000806040838503121561195e578182fd5b611967836118ae565b946020939093013593505050565b60008060008060008060c0878903121561198d578182fd5b611996876118ae565b95506020870135945060408701359350606087013560ff811681146119b9578283fd5b9598949750929560808101359460a0909101359350915050565b600080604083850312156119e5578182fd5b6119ee836118ae565b9150602083013563ffffffff81168114611a06578182fd5b809150509250929050565b600060208284031215611a22578081fd5b5035919050565b60008060408385031215611a3b578182fd5b50508035926020909101359150565b6000602080835283518082850152825b81811015611a7657858101830151858201604001528201611a5a565b81811115611a875783604083870101525b50601f01601f1916929092016040019392505050565b60208082526043908201527f5768616c6520446574656374696f6e3a2077616c6c65742063616e6e6f74206860408201527f6f6c64203e203225206f6620746f74616c20737570706c79206174206c61756e60608201526231b41760e91b608082015260a00190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611b4e57611b4e611c63565b500190565b600063ffffffff808316818516808303821115611b7257611b72611c63565b01949350505050565b600082611b8a57611b8a611c79565b500490565b600063ffffffff80841680611ba657611ba6611c79565b92169190910492915050565b6000816000190483118215151615611bcc57611bcc611c63565b500290565b600082821015611be357611be3611c63565b500390565b600063ffffffff83811690831681811015611c0557611c05611c63565b039392505050565b600181811c90821680611c2157607f821691505b60208210811415611c4257634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611c5c57611c5c611c63565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fdfe42455032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636542455032303a207472616e7366657220616d6f756e7420657863656564732062616c616e636542455032303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f5a4d42453a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473a26469706673582212208937f1e5518d47ba01712e6257872e1e7a61c9775ae75958713c07a5d8fc23af64736f6c63430008040033

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.