ETH Price: $2,452.18 (-0.81%)

Token

vMeowl (VMEOWL)
 

Overview

Max Total Supply

26,604.468543888888888889 VMEOWL

Holders

5

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0 VMEOWL

Value
$0.00
0xd93b094fb09c175c124adb70b09d06fee12d20d7
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x424b34a7...a5b688048
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
VestedMeowl

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : VestedMeowl.sol
// SPDX-License-Identifier: AGPL-3.0-only

pragma solidity ^0.8.19;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/math/Math.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";

/* 
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMXKNMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMN0XMMMMMMMMMM
MMMMMMMMWk'.c0WMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMW0c.'kWMMMMMMMM
MMMMMMMNo.   .:xKWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWKx:.   .oNMMMMMMM
MMMMMMXc        .;cdxOKXWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNKOkdc;.        cXMMMMMM
MMMMMXc               ..,:oxKWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWKxl;..               cXMMMMM
MMMMNl                      .,oKWMMMMMMMMMMMMMMMMMMWWNNXXNNMMMMMMMMMWKd;.                     lNMMMM
MMMWx.                         .lKMMMMMMMMMMWXOxlc:;,'..,l0WMMMMMMW0c.                        .xWMMM
MMMK;      .dOOOkxoc,.           'kWMMMMMNOo;.         ,kNMMMMMMWKl.          .,codkOOOd.      ;KMMM
MMMx.      lWMMMMMMMWXkl'         .xWMWKd,.           cXMMWNKXWWk'         'lkXWMMMMMMMWl      .xMMM
MMNl      .kMMMMMMMMMMMMXx'        .kXd.              ;olc;'.lXd.        ,xXWMMMMMMMMMMMk.      lNMM
MMX:      ,KMMMMMMMMMMMMMMXl.       .'                      .xd.       .lXMMMMMMMMMMMMMMK,      ;XMM
MMX;      ;XMMMMMMMMMMMMMMMWd.                              .;.       .dWMMMMMMMMMMMMMMMX;      ;XMM
MMX:      ,KMMMMMMMMMMMMMMMMNo.                                      .oWMMMMMMMMMMMMMMMMK;      :XMM
MMWl      '0MMMMMMMMMMMMMMMMMX;                                      ;XMMMMMMMMMMMMMMMMM0'      lWMM
MMMk.     .xMMMMMMMMMMMMMMMMMWd.                                    .dWMMMMMMMMMMMMMMMMMx.     .kMMM
MMMX:      :XMMMMMMMMMMMMMMMMNd.                                    .dNWMMMMMMMMMMMMMMMX:      :XMMM
MMMMk.     .xWMMMMMMMMMMMN0dc'.                                      .':d0NMMMMMMMMMMMWx.     .kMMMM
MMMMNo.     'OMMMMMMMMWKd,.                                              .,dXMMMMMMMMMO'     .oNMMMM
MMMMMNl      'OWMMMMMNd.     .,clolc;.                        .;clolc,.     'dNMMMMMWO'      lNMMMMM
MMMMMMXl.     .xWMMMXc     'dKWMWXxodkkc.                  .ckKOddONMWKd'     cKMMMNx.     .lXMMMMMM
MMMMMMMNd.     .cKWNc     ;KMMMNd.   .xNO;                ;OW0:.   :KMMMK;     cXWKc.     .dNMMMMMMM
MMMMMMMMWO;      .ol.    ,0MMMWx.     .kMXc              cXMX;      :XMMM0,    .lo.      ;OWMMMMMMMM
MMMMMMMMMMNd'            oWMMMX;       cNMK;            ;KMMx.      .OMMMWo            .oXWNKKNMMMMM
MMMMMMMMMMMWO;          .xMMMMK,       :XMWx.          .xMMWd       .xMMMMx.           .',,',dNMMMMM
MMMMMMMN0xl;.           .xMMMMK;       cNMMO.          .OMMMx.      .OMMMMx.               ,kNMMMMMM
MMMMNOl,.                lNMMMNl      .dWMMk.          .kMMM0'      ,KMMMNl             .:xNMMMMMMMM
MMMXc.                   .kWMMMO'     ;KMMNl  .;llll,   lNMMNo     .dWMMWk.            'oKWMMMMMMMMM
MMMx.                     .:dOXNk,...cKMMNd.  ,0MMMMk.  .dWMMXl...,xXXOd:.               .;dKWMMMMMM
MMMd.                         .,::;:oxkxo;.    cXMMK;    .;oxxxl::c:,.                      .xWMMMMM
MMMO.          .'.                              ckk:                                         .kMMMMM
MMMX:       'lO0l.                                                                            cNMMMM
MMMMO.    'dXMNo.                                                                             ;XMMMM
MMMMWd.  :KMMMO.       .                                                 ...        .:dol:'.  :XMMMM
MMMMMNl.cXMMMM0'  .;ok000kd:.                                         .lO0K0Oxc'    .OMMMWN0o,oWMMMM
MMMMMMXOKMMMMMWO,,kWMMMMMMMWXx;.                                   .,dKWMMMMMMMXd. .oNMMMMMMMNNMMMMM
MMMMMMMMMMMMMMMMNNMMMMMMMMMMMMW0d:.                             .;o0NMMMMMMMMMMMWOcxNMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWXOdl;'..                .';cdOXWMMMMMMMMMMMMMMMMWMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMWNX0OkxdoolllooodxO0KNWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
*/

contract VestedMeowl is ERC20, Ownable, ReentrancyGuard {
    using SafeERC20 for IERC20;

    event Claim(address indexed claimer, uint256 initialAmount);

    uint16[] public cumulativeScheduleInBPS;
    uint256 public immutable timePeriodInSeconds;
    uint256 public immutable startTime;

    mapping(address => uint128) public claimedByAccount;

    IERC20 public immutable meowl;

    constructor(
        IERC20 meowl_,
        uint16[] memory cumulativeScheduleInBPS_,
        uint256 timePeriodInDays
    ) ERC20("vMeowl", "VMEOWL") {
        meowl = meowl_;
        startTime = block.timestamp;
        cumulativeScheduleInBPS = cumulativeScheduleInBPS_;
        timePeriodInSeconds = timePeriodInDays * 1 days;
    }

    function multiMint(
        address[] calldata accounts,
        uint256[] calldata initialAmounts
    ) external onlyOwner {
        for (uint256 i = 0; i < accounts.length; i++) {
            mint(accounts[i], initialAmounts[i]);
        }
    }

    function mint(address account, uint256 initialAmount) public onlyOwner {
        _mint(account, initialAmount);
    }

    function _claim(address account) private returns (uint128 claimable) {
        claimable = uint128(claimableOf(account));
        if (claimable > 0) {
            claimedByAccount[account] += claimable;
            _burn(account, claimable);
            emit Claim(account, claimable);
        }
    }

    function _vestingSnapshot(
        address account
    ) internal view returns (uint256, uint256, uint256) {
        uint128 claimed = claimedByAccount[account];
        uint256 balance = balanceOf(account);
        uint256 initialAllocation = balance + claimed;
        return (
            _totalVestedOf(initialAllocation, block.timestamp),
            claimed,
            balance
        );
    }

    function claim(address recipient) external nonReentrant {
        uint256 claimable = _claim(recipient);
        require(claimable > 0, "VMEOWL/ZERO_VESTED");
        meowl.transfer(recipient, claimable);
    }

    function _totalVestedOf(
        uint256 initialAllocation,
        uint256 currentTime
    ) internal view returns (uint256 total) {
        if (currentTime <= startTime) {
            return 0;
        }
        uint16[] memory _cumulativeScheduleInBPS = cumulativeScheduleInBPS;
        uint256 elapsed = Math.min(
            currentTime - startTime,
            _cumulativeScheduleInBPS.length * timePeriodInSeconds
        );
        uint256 currentPeriod = elapsed / timePeriodInSeconds;
        uint256 elapsedInCurrentPeriod = elapsed % timePeriodInSeconds;
        uint256 cumulativeMultiplierPast = 0;

        if (currentPeriod > 0) {
            cumulativeMultiplierPast = _cumulativeScheduleInBPS[
                currentPeriod - 1
            ];
            total = (initialAllocation * cumulativeMultiplierPast) / 10000;
        }

        if (elapsedInCurrentPeriod > 0) {
            uint256 currentMultiplier = _cumulativeScheduleInBPS[
                currentPeriod
            ] - cumulativeMultiplierPast;
            uint256 periodAllocation = (initialAllocation * currentMultiplier) /
                10000;
            total +=
                (periodAllocation * elapsedInCurrentPeriod) /
                timePeriodInSeconds;
        }
    }

    function vestedOf(address account) external view returns (uint256) {
        (uint256 vested, , ) = _vestingSnapshot(account);
        return vested;
    }

    function claimableOf(address account) public view returns (uint256) {
        (uint256 vested, uint256 claimed, uint256 balance) = _vestingSnapshot(
            account
        );
        return Math.min(vested - claimed, balance);
    }

    function rescue() external onlyOwner {
        require(
            block.timestamp >
                startTime +
                    (cumulativeScheduleInBPS.length * timePeriodInSeconds),
            "vMEOWL/RESCUE_BEFORE_END"
        );
        meowl.transfer(owner(), meowl.balanceOf(address(this)));
    }
}

File 2 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 11 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

File 4 of 11 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

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

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This 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:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, 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:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

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

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

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

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

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

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

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

File 5 of 11 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

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

File 6 of 11 : IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 7 of 11 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

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

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

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

File 8 of 11 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/IERC20Permit.sol";
import "../../../utils/Address.sol";

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

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

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

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
     * Revert on invalid signature.
     */
    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

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

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
    }

    /**
     * @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).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // 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 cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return
            success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));
    }
}

File 9 of 11 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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://consensys.net/diligence/blog/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.8.0/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");

        (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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 10 of 11 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with 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 calldata) {
        return msg.data;
    }
}

File 11 of 11 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
        }
    }
}

Settings
{
  "viaIR": true,
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"meowl_","type":"address"},{"internalType":"uint16[]","name":"cumulativeScheduleInBPS_","type":"uint16[]"},{"internalType":"uint256","name":"timePeriodInDays","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"claimer","type":"address"},{"indexed":false,"internalType":"uint256","name":"initialAmount","type":"uint256"}],"name":"Claim","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":[{"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":"address","name":"recipient","type":"address"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"claimableOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedByAccount","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"cumulativeScheduleInBPS","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"meowl","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"initialAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"initialAmounts","type":"uint256[]"}],"name":"multiMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"rescue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timePeriodInSeconds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","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":"account","type":"address"}],"name":"vestedOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60e060405234620005a75762001f25803803806200001d81620005cc565b928339810190606081830312620005a75780516001600160a01b0392908381168103620005a7576020838101516001600160401b0390818111620005a7578501601f858183011215620005a757815196838811620004a75760059688881b93866200008a818701620005cc565b809b81520190878296820101928311620005a7578701905b8282106200058b575050506040015196620000bc620005ac565b9560068752651d93595bdddb60d21b86880152620000d9620005ac565b97600689526515935153d5d360d21b878a0152875193868511620004a757600394855460019a8b82811c9216801562000580575b8b8310146200056a57818b8585941162000539575b50508a90848311600114620004c957600092620004bd575b505060001982881b1c1916908a1b1785555b895190878211620004a75760049a8b548b81811c911680156200049c575b8b8210146200048757908c8b8385879695116200044b575b5050508a918311600114620003e457600092620003d8575b505060001982871b1c191690891b1789555b8054336001600160a01b0319821681179092556040519b167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a38660065560c0524260a05251928311620003c357680100000000000000008311620003c35760075490836007558184106200036e575b5050926007600052826000209180861c9360005b8581106200032c5750600f1982169091039081620002d3575b5050505050506201518091828102928184041490151715620002be575060805261191990816200060c8239608051818181610734015281816109f70152611550015260a05181818161055001528181610a1e0152611437015260c05181818161021901528181610a6d0152610c330152f35b601190634e487b7160e01b6000525260246000fd5b949190600095865b828110620002f657505050505001553880808080806200024c565b909192826200031f869961ffff849851169085851b60031b9161ffff809116831b921b19161790565b98019493929101620002db565b6000805b6010811062000346575085820155830162000233565b88519098918691859161ffff8c851b60031b81811b199092169216901b179201980162000330565b620003a1916007600052600f86600020918187018a1c830193601e888b1b1680620003a9575b505001881c0190620005f2565b38806200021f565b6000198681018054928c0390931b1c169055388062000394565b604186634e487b7160e01b6000525260246000fd5b0151905038806200019a565b908b9350601f198316918d6000528b6000209260005b8d8282106200043457505084116200041b575b505050811b018955620001ac565b015160001983891b60f8161c191690553880806200040d565b8385015186558f97909501949384019301620003fa565b62000474926000528482600020918188018a1c83019388106200047d575b01881c0190620005f2565b8c8b3862000182565b9250819262000469565b60228d634e487b7160e01b6000525260246000fd5b90607f16906200016a565b634e487b7160e01b600052604160045260246000fd5b0151905038806200013a565b60008981528c81208e9550929190601f198516908e5b828210620005185750508411620004ff575b505050811b0185556200014c565b0151600019838a1b60f8161c19169055388080620004f1565b91929395968291958786015181550195019301908e95949392918e620004df565b62000562918a6000528682600020918187018a1c83019387106200047d5701881c0190620005f2565b388b62000122565b634e487b7160e01b600052602260045260246000fd5b91607f16916200010d565b815161ffff81168103620005a7578152908701908701620000a2565b600080fd5b60408051919082016001600160401b03811183821017620004a757604052565b6040519190601f01601f191682016001600160401b03811183821017620004a757604052565b818110620005fe575050565b60008155600101620005f256fe6080604081815260048036101561001557600080fd5b600092833560e01c90816306fdde0314610eaa57508063095ea7b314610e8057806318160ddd14610e615780631e83409a14610bb05780631fbe1979146109d257806323b872dd146109085780632f81bc71146107c3578063313ce567146107a757806339509351146107575780633ac88a551461071c57806340c10f19146106685780635694cb0a1461060757806370a08231146105d0578063715018a61461057357806378e97925146105385780638903ab9d1461050b5780638acc846f146104c95780638da5cb5b146104a0578063944771041461047157806395d89b411461036d578063a457c2d7146102c6578063a9059cbb14610295578063dd62ed3e1461024c578063df54439b146102045763f2fde38b1461013657600080fd5b346102005760203660031901126102005761014f610fe5565b90610158611047565b6001600160a01b039182169283156101ae575050600554826bffffffffffffffffffffffff60a01b821617600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152fd5b8280fd5b505034610248578160031936011261024857517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b5080fd5b5050346102485780600319360112610248578060209261026a610fe5565b610272611000565b6001600160a01b0391821683526001865283832091168252845220549051908152f35b5050346102485780600319360112610248576020906102bf6102b5610fe5565b60243590336110fa565b5160018152f35b50823461036a578260031936011261036a576102e0610fe5565b918360243592338152600160205281812060018060a01b0386168252602052205490828210610319576020856102bf8585038733611256565b608490602086519162461bcd60e51b8352820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152fd5b80fd5b50919034610248578160031936011261024857805191809380549160019083821c92828516948515610467575b60209586861081146104545785895290811561043057506001146103d8575b6103d487876103ca828c038361109f565b5191829182610f9c565b0390f35b81529295507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b82841061041d57505050826103d4946103ca928201019438806103b9565b80548685018801529286019281016103ff565b60ff19168887015250505050151560051b83010192506103ca826103d438806103b9565b634e487b7160e01b845260228352602484fd5b93607f169361039a565b50503461024857602036600319011261024857602090610497610492610fe5565b611396565b50509051908152f35b50503461024857816003193601126102485760055490516001600160a01b039091168152602090f35b505034610248576020366003190112610248576020916001600160801b039082906001600160a01b036104fa610fe5565b168152600885522054169051908152f35b5050346102485760203660031901126102485760209061053161052c610fe5565b61189e565b9051908152f35b505034610248578160031936011261024857602090517f00000000000000000000000000000000000000000000000000000000000000008152f35b833461036a578060031936011261036a5761058c611047565b600580546001600160a01b0319811690915581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b5050346102485760203660031901126102485760209181906001600160a01b036105f8610fe5565b16815280845220549051908152f35b509034610200576020366003190112610200578135600754811015610664579060f061ffff9260076020965280851c7fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68801549251941b161c168152f35b8380fd5b509034610200578060031936011261020057610682610fe5565b906024359161068f611047565b6001600160a01b03169283156106da57506020826000805160206118c4833981519152926106c087956002546110d7565b60025585855284835280852082815401905551908152a380f35b6020606492519162461bcd60e51b8352820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152fd5b505034610248578160031936011261024857602090517f00000000000000000000000000000000000000000000000000000000000000008152f35b5050346102485780600319360112610248576102bf6020926107a061077a610fe5565b338352600186528483206001600160a01b038216845286529184902054602435906110d7565b9033611256565b5050346102485781600319360112610248576020905160128152f35b50903461020057806003193601126102005767ffffffffffffffff918035838111610904576107f59036908301611016565b90926024948535908111610900576108109036908501611016565b909261081a611047565b875b818110610827578880f35b610832818389611358565b356001600160a01b038116908190036108fc57610850828588611358565b35610859611047565b81156108ba576000805160206118c48339815191528b91600261087d8282546110d7565b90558383526020908382528884208181540190558851908152a360001981146108a85760010161081c565b634e487b7160e01b8952601186528789fd5b855162461bcd60e51b81526020818a0152601f818c01527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606490fd5b8980fd5b8680fd5b8480fd5b5082903461024857606036600319011261024857610924610fe5565b61092c611000565b91846044359460018060a01b038416815260016020528181203382526020522054906000198203610966575b6020866102bf8787876110fa565b84821061098f5750918391610984602096956102bf95033383611256565b919394819350610958565b606490602087519162461bcd60e51b8352820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152fd5b5090346102005782600319360112610200576109ec611047565b610a42610a1c6007547f0000000000000000000000000000000000000000000000000000000000000000906113e8565b7f00000000000000000000000000000000000000000000000000000000000000006110d7565b421115610b6d5760055481516370a0823160e01b815230848201526020938593926001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116929116908684602481865afa938415610b63579087949392918794610b2a575b50855163a9059cbb60e01b81526001600160a01b03909216908201908152602081019390935294859283919082906040015b03925af1908115610b215750610af4578280f35b81610b1392903d10610b1a575b610b0b818361109f565b81019061137e565b5038808280f35b503d610b01565b513d85823e3d90fd5b8581969295503d8311610b5c575b610b42818361109f565b81010312610b5857925186939092610ae0610aae565b8580fd5b503d610b38565b85513d88823e3d90fd5b906020606492519162461bcd60e51b8352820152601860248201527f764d454f574c2f5245534355455f4245464f52455f454e4400000000000000006044820152fd5b5034610200576020918260031936011261066457610bcc610fe5565b600260065414610e1f5760026006556001600160801b039283610bee8361189e565b16938415908115610cc9575b50610c9157825163a9059cbb60e01b81526001600160a01b039092169082019081526020810193909352918390839081906040010381877f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af1908115610b215750610c73575b82600160065580f35b81610c8992903d10610b1a57610b0b818361109f565b503880610c6a565b825162461bcd60e51b8152908101859052601260248201527115935153d5d30bd6915493d7d59154d5115160721b6044820152606490fd5b6001600160a01b03841680895260088852858920805491929091908181168901818111610e0c5716906001600160801b0319161790558015610dbf5780885287875284882054868110610d71578690828a528989520385892055856002540360025587816000805160206118c48339815191528988518a8152a37f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4878651888152a238610bfa565b855162461bcd60e51b8152808501899052602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608490fd5b845162461bcd60e51b8152808401889052602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608490fd5b634e487b7160e01b8c526011875260248cfd5b5091606492519162461bcd60e51b8352820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152fd5b5050346102485781600319360112610248576020906002549051908152f35b5050346102485780600319360112610248576020906102bf610ea0610fe5565b6024359033611256565b9291905034610664578360031936011261066457600354600181811c9186908281168015610f92575b6020958686108214610f7f5750848852908115610f5d5750600114610f04575b6103d486866103ca828b038361109f565b929550600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b828410610f4a57505050826103d4946103ca928201019438610ef3565b8054868501880152928601928101610f2d565b60ff191687860152505050151560051b83010192506103ca826103d438610ef3565b634e487b7160e01b845260229052602483fd5b93607f1693610ed3565b6020808252825181830181905290939260005b828110610fd157505060409293506000838284010152601f8019910116010190565b818101860151848201604001528501610faf565b600435906001600160a01b0382168203610ffb57565b600080fd5b602435906001600160a01b0382168203610ffb57565b9181601f84011215610ffb5782359167ffffffffffffffff8311610ffb576020808501948460051b010111610ffb57565b6005546001600160a01b0316330361105b57565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b90601f8019910116810190811067ffffffffffffffff8211176110c157604052565b634e487b7160e01b600052604160045260246000fd5b919082018092116110e457565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0390811691821561120357169182156111b25760008281528060205260408120549180831061115e57604082826000805160206118c4833981519152958760209652828652038282205586815220818154019055604051908152a3565b60405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608490fd5b60405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b60405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608490fd5b6001600160a01b0390811691821561130757169182156112b75760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260018252604060002085600052825280604060002055604051908152a3565b60405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608490fd5b60405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b91908110156113685760051b0190565b634e487b7160e01b600052603260045260246000fd5b90816020910312610ffb57518015158103610ffb5790565b60018060a01b031660005260086020526001600160801b0360406000205416906000602052604060002054906113d66113cf84846110d7565b429061142f565b929190565b919082039182116110e457565b818102929181159184041417156110e457565b8115611405570490565b634e487b7160e01b600052601260045260246000fd5b80518210156113685760209160051b010190565b6000929183917f000000000000000000000000000000000000000000000000000000000000000080831115611896576040928351938485916007549081835260208093019160078a527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6888a905b82600f8301106117cb5791859391611542966115479a9998969454938383106117b5575b83831061179c575b838310611784575b83831061176b575b838310611754575b5082821061173d575b828210611726575b82821061170f575b8282106116f8575b8282106116e1575b8282106116ca575b8282106116b3575b82821061169c575b828210611685575b82821061166e575b5010611661575b509050038661109f565b6113db565b928251936115767f000000000000000000000000000000000000000000000000000000000000000080966113e8565b8082101561165a57505b61158a85826113fb565b908515611646578590069382826115fa575b50846115ab575b505050505050565b6115dd6115ee979896946115d76115e39561ffff6115d06115e89a976127109761141b565b51166113db565b906113e8565b046113e8565b6113fb565b906110d7565b903880808080806115a3565b9192509650600019820190828211611632575061161a61ffff918861141b565b51169061271061162a83856113e8565b04963861159c565b634e487b7160e01b81526011600452602490fd5b634e487b7160e01b83526012600452602483fd5b9050611580565b60f01c8152018038611538565b6001919461ffff8560e01c16815201930184611531565b6001919461ffff8560d01c16815201930184611529565b6001919461ffff8560c01c16815201930184611521565b6001919461ffff8560b01c16815201930184611519565b6001919461ffff8560a01c16815201930184611511565b6001919461ffff8560901c16815201930184611509565b6001919461ffff8560801c16815201930184611501565b6001919461ffff8560701c168152019301846114f9565b6001919461ffff8560601c168152019301846114f1565b6001919461ffff8560501c168152019301846114e9565b9461ffff85600194971c16815201930184386114e0565b91948160019161ffff8760301c168152019501916114d8565b91948160019161ffff87831c168152019501916114d0565b91948160019161ffff8760101c168152019501916114c8565b91948160019161ffff87168152019501916114c0565b9495509091926001610200601092875461ffff80821683528082871c168b84015280828c1c1689840152818982826060828260301c168189015282826080951c1684890152828260a0828260501c16818c0152828260c0951c16848c0152828260e0988d8a848460701c169101521c166101008c0152828260901c166101208c01521c16610140890152828260b01c166101608901521c16610180860152828260d01c166101a08601521c166101c083015260f01c6101e0820152019501910189959493929161149c565b509193505050565b6118aa6118b191611396565b92916113db565b90808210156118be575090565b90509056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122085022f652ac6887581a5b3bbeb89eb377e075ee860a4c1422c9a9abf54cf8a2964736f6c63430008130033000000000000000000000000d4c7b43d5bb78d5c897914a7a2c259cde05242d800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000003e80000000000000000000000000000000000000000000000000000000000000bb800000000000000000000000000000000000000000000000000000000000017700000000000000000000000000000000000000000000000000000000000002710

Deployed Bytecode

0x6080604081815260048036101561001557600080fd5b600092833560e01c90816306fdde0314610eaa57508063095ea7b314610e8057806318160ddd14610e615780631e83409a14610bb05780631fbe1979146109d257806323b872dd146109085780632f81bc71146107c3578063313ce567146107a757806339509351146107575780633ac88a551461071c57806340c10f19146106685780635694cb0a1461060757806370a08231146105d0578063715018a61461057357806378e97925146105385780638903ab9d1461050b5780638acc846f146104c95780638da5cb5b146104a0578063944771041461047157806395d89b411461036d578063a457c2d7146102c6578063a9059cbb14610295578063dd62ed3e1461024c578063df54439b146102045763f2fde38b1461013657600080fd5b346102005760203660031901126102005761014f610fe5565b90610158611047565b6001600160a01b039182169283156101ae575050600554826bffffffffffffffffffffffff60a01b821617600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152fd5b8280fd5b505034610248578160031936011261024857517f000000000000000000000000d4c7b43d5bb78d5c897914a7a2c259cde05242d86001600160a01b03168152602090f35b5080fd5b5050346102485780600319360112610248578060209261026a610fe5565b610272611000565b6001600160a01b0391821683526001865283832091168252845220549051908152f35b5050346102485780600319360112610248576020906102bf6102b5610fe5565b60243590336110fa565b5160018152f35b50823461036a578260031936011261036a576102e0610fe5565b918360243592338152600160205281812060018060a01b0386168252602052205490828210610319576020856102bf8585038733611256565b608490602086519162461bcd60e51b8352820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152fd5b80fd5b50919034610248578160031936011261024857805191809380549160019083821c92828516948515610467575b60209586861081146104545785895290811561043057506001146103d8575b6103d487876103ca828c038361109f565b5191829182610f9c565b0390f35b81529295507f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b82841061041d57505050826103d4946103ca928201019438806103b9565b80548685018801529286019281016103ff565b60ff19168887015250505050151560051b83010192506103ca826103d438806103b9565b634e487b7160e01b845260228352602484fd5b93607f169361039a565b50503461024857602036600319011261024857602090610497610492610fe5565b611396565b50509051908152f35b50503461024857816003193601126102485760055490516001600160a01b039091168152602090f35b505034610248576020366003190112610248576020916001600160801b039082906001600160a01b036104fa610fe5565b168152600885522054169051908152f35b5050346102485760203660031901126102485760209061053161052c610fe5565b61189e565b9051908152f35b505034610248578160031936011261024857602090517f0000000000000000000000000000000000000000000000000000000064c85a778152f35b833461036a578060031936011261036a5761058c611047565b600580546001600160a01b0319811690915581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b5050346102485760203660031901126102485760209181906001600160a01b036105f8610fe5565b16815280845220549051908152f35b509034610200576020366003190112610200578135600754811015610664579060f061ffff9260076020965280851c7fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68801549251941b161c168152f35b8380fd5b509034610200578060031936011261020057610682610fe5565b906024359161068f611047565b6001600160a01b03169283156106da57506020826000805160206118c4833981519152926106c087956002546110d7565b60025585855284835280852082815401905551908152a380f35b6020606492519162461bcd60e51b8352820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152fd5b505034610248578160031936011261024857602090517f00000000000000000000000000000000000000000000000000000000000a8c008152f35b5050346102485780600319360112610248576102bf6020926107a061077a610fe5565b338352600186528483206001600160a01b038216845286529184902054602435906110d7565b9033611256565b5050346102485781600319360112610248576020905160128152f35b50903461020057806003193601126102005767ffffffffffffffff918035838111610904576107f59036908301611016565b90926024948535908111610900576108109036908501611016565b909261081a611047565b875b818110610827578880f35b610832818389611358565b356001600160a01b038116908190036108fc57610850828588611358565b35610859611047565b81156108ba576000805160206118c48339815191528b91600261087d8282546110d7565b90558383526020908382528884208181540190558851908152a360001981146108a85760010161081c565b634e487b7160e01b8952601186528789fd5b855162461bcd60e51b81526020818a0152601f818c01527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606490fd5b8980fd5b8680fd5b8480fd5b5082903461024857606036600319011261024857610924610fe5565b61092c611000565b91846044359460018060a01b038416815260016020528181203382526020522054906000198203610966575b6020866102bf8787876110fa565b84821061098f5750918391610984602096956102bf95033383611256565b919394819350610958565b606490602087519162461bcd60e51b8352820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152fd5b5090346102005782600319360112610200576109ec611047565b610a42610a1c6007547f00000000000000000000000000000000000000000000000000000000000a8c00906113e8565b7f0000000000000000000000000000000000000000000000000000000064c85a776110d7565b421115610b6d5760055481516370a0823160e01b815230848201526020938593926001600160a01b037f000000000000000000000000d4c7b43d5bb78d5c897914a7a2c259cde05242d88116929116908684602481865afa938415610b63579087949392918794610b2a575b50855163a9059cbb60e01b81526001600160a01b03909216908201908152602081019390935294859283919082906040015b03925af1908115610b215750610af4578280f35b81610b1392903d10610b1a575b610b0b818361109f565b81019061137e565b5038808280f35b503d610b01565b513d85823e3d90fd5b8581969295503d8311610b5c575b610b42818361109f565b81010312610b5857925186939092610ae0610aae565b8580fd5b503d610b38565b85513d88823e3d90fd5b906020606492519162461bcd60e51b8352820152601860248201527f764d454f574c2f5245534355455f4245464f52455f454e4400000000000000006044820152fd5b5034610200576020918260031936011261066457610bcc610fe5565b600260065414610e1f5760026006556001600160801b039283610bee8361189e565b16938415908115610cc9575b50610c9157825163a9059cbb60e01b81526001600160a01b039092169082019081526020810193909352918390839081906040010381877f000000000000000000000000d4c7b43d5bb78d5c897914a7a2c259cde05242d86001600160a01b03165af1908115610b215750610c73575b82600160065580f35b81610c8992903d10610b1a57610b0b818361109f565b503880610c6a565b825162461bcd60e51b8152908101859052601260248201527115935153d5d30bd6915493d7d59154d5115160721b6044820152606490fd5b6001600160a01b03841680895260088852858920805491929091908181168901818111610e0c5716906001600160801b0319161790558015610dbf5780885287875284882054868110610d71578690828a528989520385892055856002540360025587816000805160206118c48339815191528988518a8152a37f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4878651888152a238610bfa565b855162461bcd60e51b8152808501899052602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608490fd5b845162461bcd60e51b8152808401889052602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608490fd5b634e487b7160e01b8c526011875260248cfd5b5091606492519162461bcd60e51b8352820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152fd5b5050346102485781600319360112610248576020906002549051908152f35b5050346102485780600319360112610248576020906102bf610ea0610fe5565b6024359033611256565b9291905034610664578360031936011261066457600354600181811c9186908281168015610f92575b6020958686108214610f7f5750848852908115610f5d5750600114610f04575b6103d486866103ca828b038361109f565b929550600383527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b828410610f4a57505050826103d4946103ca928201019438610ef3565b8054868501880152928601928101610f2d565b60ff191687860152505050151560051b83010192506103ca826103d438610ef3565b634e487b7160e01b845260229052602483fd5b93607f1693610ed3565b6020808252825181830181905290939260005b828110610fd157505060409293506000838284010152601f8019910116010190565b818101860151848201604001528501610faf565b600435906001600160a01b0382168203610ffb57565b600080fd5b602435906001600160a01b0382168203610ffb57565b9181601f84011215610ffb5782359167ffffffffffffffff8311610ffb576020808501948460051b010111610ffb57565b6005546001600160a01b0316330361105b57565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b90601f8019910116810190811067ffffffffffffffff8211176110c157604052565b634e487b7160e01b600052604160045260246000fd5b919082018092116110e457565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0390811691821561120357169182156111b25760008281528060205260408120549180831061115e57604082826000805160206118c4833981519152958760209652828652038282205586815220818154019055604051908152a3565b60405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608490fd5b60405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b60405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608490fd5b6001600160a01b0390811691821561130757169182156112b75760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925918360005260018252604060002085600052825280604060002055604051908152a3565b60405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608490fd5b60405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b91908110156113685760051b0190565b634e487b7160e01b600052603260045260246000fd5b90816020910312610ffb57518015158103610ffb5790565b60018060a01b031660005260086020526001600160801b0360406000205416906000602052604060002054906113d66113cf84846110d7565b429061142f565b929190565b919082039182116110e457565b818102929181159184041417156110e457565b8115611405570490565b634e487b7160e01b600052601260045260246000fd5b80518210156113685760209160051b010190565b6000929183917f0000000000000000000000000000000000000000000000000000000064c85a7780831115611896576040928351938485916007549081835260208093019160078a527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6888a905b82600f8301106117cb5791859391611542966115479a9998969454938383106117b5575b83831061179c575b838310611784575b83831061176b575b838310611754575b5082821061173d575b828210611726575b82821061170f575b8282106116f8575b8282106116e1575b8282106116ca575b8282106116b3575b82821061169c575b828210611685575b82821061166e575b5010611661575b509050038661109f565b6113db565b928251936115767f00000000000000000000000000000000000000000000000000000000000a8c0080966113e8565b8082101561165a57505b61158a85826113fb565b908515611646578590069382826115fa575b50846115ab575b505050505050565b6115dd6115ee979896946115d76115e39561ffff6115d06115e89a976127109761141b565b51166113db565b906113e8565b046113e8565b6113fb565b906110d7565b903880808080806115a3565b9192509650600019820190828211611632575061161a61ffff918861141b565b51169061271061162a83856113e8565b04963861159c565b634e487b7160e01b81526011600452602490fd5b634e487b7160e01b83526012600452602483fd5b9050611580565b60f01c8152018038611538565b6001919461ffff8560e01c16815201930184611531565b6001919461ffff8560d01c16815201930184611529565b6001919461ffff8560c01c16815201930184611521565b6001919461ffff8560b01c16815201930184611519565b6001919461ffff8560a01c16815201930184611511565b6001919461ffff8560901c16815201930184611509565b6001919461ffff8560801c16815201930184611501565b6001919461ffff8560701c168152019301846114f9565b6001919461ffff8560601c168152019301846114f1565b6001919461ffff8560501c168152019301846114e9565b9461ffff85600194971c16815201930184386114e0565b91948160019161ffff8760301c168152019501916114d8565b91948160019161ffff87831c168152019501916114d0565b91948160019161ffff8760101c168152019501916114c8565b91948160019161ffff87168152019501916114c0565b9495509091926001610200601092875461ffff80821683528082871c168b84015280828c1c1689840152818982826060828260301c168189015282826080951c1684890152828260a0828260501c16818c0152828260c0951c16848c0152828260e0988d8a848460701c169101521c166101008c0152828260901c166101208c01521c16610140890152828260b01c166101608901521c16610180860152828260d01c166101a08601521c166101c083015260f01c6101e0820152019501910189959493929161149c565b509193505050565b6118aa6118b191611396565b92916113db565b90808210156118be575090565b90509056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122085022f652ac6887581a5b3bbeb89eb377e075ee860a4c1422c9a9abf54cf8a2964736f6c63430008130033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.