ETH Price: $3,487.96 (-0.09%)

Token

PNLToken (PNL)
 

Overview

Max Total Supply

29,520,194.22297985543 PNL

Holders

1,553 (0.00%)

Market

Price

$0.01 @ 0.000003 ETH (-1.46%)

Onchain Market Cap

$344,784.06

Circulating Supply Market Cap

$127,127.00

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
proudape.eth
Balance
51.844634818578531287 PNL

Value
$0.61 ( ~0.000174887091026135 Eth) [0.0002%]
0x81dcab1513d88478a3536348d6d7560f2d8762a4
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

TruePNL builds on-/off-chain financial products for retail investors to achieve beautiful and transparent investment experience.

Market

Volume (24H):$156.58
Market Capitalization:$127,127.00
Circulating Supply:10,886,324.00 PNL
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
PNLToken

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : PNLToken.sol
pragma solidity ^0.8.0;
pragma experimental ABIEncoderV2;

struct VestingWallet {
    address wallet;
    uint256 totalAmount;
    uint256 dayAmount;
    uint256 startDay;
    uint256 afterDays;
    bool nonlinear;
    bool advisory;
}

/**
 * dailyRate:       the daily amount of tokens to give access to,
 *                  this is a percentage * 1000000000000000000
 *                  this value is ignored if nonlinear is true
 * afterDays:       vesting cliff, dont allow any withdrawal before these days expired
 * nonlinear:       non linear vesting, used for PRIVATE/FOUNDATION/STRATEGIC sales
 **/

struct VestingType {
    uint256 dailyRate;
    uint256 afterDays;
    bool nonlinear;
    bool advisory;
}
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

contract PNLToken is Ownable, ERC20Burnable {
    using SafeMath for uint256;

    mapping(address => VestingWallet) public vestingWallets;
    VestingType[] public vestingTypes;

    mapping(address => bool) public freezeList;

    uint256 public constant PRECISION = 1e18;
    uint256 public constant ONE_HUNDRED_PERCENT = PRECISION * 100;

    // Non linear unlocks [i,j] j% per day for i days
    uint256[][] public nonLinearUnlock = [
        [10000000000000000000, 1], //10% during the first day
        [1000000000000000000, 40], //1% for the next 40 days
        [250000000000000000, 200] // then 0.25% per 200 days
    ];

    uint256[][] public advisoryNonLinearUnlock = [
        [uint256(20000000000000000000), 1], //20% during the first day
        [uint256(666666666666666666), 121] //0,66% daily after
    ];

    /**
     * Setup the initial supply and types of vesting schemas
     **/

    constructor() ERC20("PNLToken", "PNL") {
        // 0: TEAM, 2.7% monthly (0.09% daily) 1 year after TGE.
        vestingTypes.push(
            VestingType(92592592000000000, 360 days, false, false)
        );

        // 1: MARKETING, 3% monthly (0.1% daily) after TGE.
        vestingTypes.push(VestingType(100000000000000000, 0, false, false));

        // 2: SEED/PRIVATE/STRATEGIC NONLINEAR 10% at TGE, then 1% daily over 40 days, then 0.25% for 200 days.
        vestingTypes.push(VestingType(0, 0, true, false));

        // 3: ADVISORY. 20% at TGE, then 0,67% daily over 120 days
        vestingTypes.push(VestingType(0, 0, true, true));

        // 4: Immediate unlock
        vestingTypes.push(VestingType(100000000000000000000, 0, false, false));

        // 5: FOUNDATION. 5% monthly (0.166% daily) 1 year after TGE.
        vestingTypes.push(
            VestingType(166666666666666666, 360 days, false, false)
        );

        // 6: STACKING. 4.17% monthly (0.139% daily) after TGE
        vestingTypes.push(VestingType(138888888888888888, 0, false, false));

        // Release BEFORE token start, tokens for liquidity
        _mint(address(0xB1537209C77C42d5fe33B56FD2bA3a7434c5Acb8), 1500000e18);

        // and public sale
        _mint(address(0xB1537209C77C42d5fe33B56FD2bA3a7434c5Acb8), 3400000e18);
    }

    // Vested tokens wont be available before the listing time
    function getListingTime() public pure returns (uint256) {
        return 1621357200;
    }

    function getMaxTotalSupply() public pure returns (uint256) {
        return PRECISION * 1e8; // 100 million tokens with 18 decimals
    }

    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 z
    ) private pure returns (uint256) {
        return x.mul(y).div(z);
    }

    function freeze(address user) external onlyOwner {
        freezeList[user] = true;
    }

    function unfreeze(address user) external onlyOwner {
        freezeList[user] = false;
    }

    function addAllocations(
        address[] memory addresses,
        uint256[] memory totalAmounts,
        uint256 vestingTypeIndex
    ) external onlyOwner returns (bool) {
        require(
            addresses.length == totalAmounts.length,
            "Address and totalAmounts length must be same"
        );
        require(
            vestingTypeIndex < vestingTypes.length,
            "Vesting type isnt found"
        );

        VestingType memory vestingType = vestingTypes[vestingTypeIndex];
        uint256 addressesLength = addresses.length;

        for (uint256 i = 0; i < addressesLength; i++) {
            address _address = addresses[i];
            uint256 totalAmount = totalAmounts[i];
            // We add 1 to round up, this prevents small amounts from never vesting
            uint256 dayAmount =
                mulDiv(
                    totalAmounts[i],
                    vestingType.dailyRate,
                    ONE_HUNDRED_PERCENT
                );
            uint256 afterDay = vestingType.afterDays;
            bool nonlinear = vestingType.nonlinear;
            bool advisory = vestingType.advisory;

            addVestingWallet(
                _address,
                totalAmount,
                dayAmount,
                afterDay,
                nonlinear,
                advisory
            );
        }

        return true;
    }

    function _mint(address account, uint256 amount) internal override {
        uint256 totalSupply = super.totalSupply();
        require(
            getMaxTotalSupply() >= totalSupply.add(amount),
            "Maximum supply exceeded!"
        );
        super._mint(account, amount);
    }

    function addVestingWallet(
        address wallet,
        uint256 totalAmount,
        uint256 dayAmount,
        uint256 afterDays,
        bool nonlinear,
        bool advisory
    ) internal {
        require(
            vestingWallets[wallet].totalAmount == 0,
            "Vesting wallet already created for this address"
        );

        uint256 releaseTime = getListingTime();

        // Create vesting wallets
        VestingWallet memory vestingWallet =
            VestingWallet(
                wallet,
                totalAmount,
                dayAmount,
                releaseTime.add(afterDays),
                afterDays,
                nonlinear,
                advisory
            );

        vestingWallets[wallet] = vestingWallet;
        _mint(wallet, totalAmount);
    }

    function getTimestamp() external view returns (uint256) {
        return block.timestamp;
    }

    /**
     * Returns the amount of days passed with vesting
     */

    function getDays(uint256 afterDays) public view returns (uint256) {
        uint256 releaseTime = getListingTime();
        uint256 time = releaseTime.add(afterDays);

        if (block.timestamp < time) {
            return 0;
        }

        uint256 diff = block.timestamp.sub(time);
        uint256 ds = diff.div(1 days).add(1);

        return ds;
    }

    function isStarted(uint256 startDay) public view returns (bool) {
        uint256 releaseTime = getListingTime();

        if (block.timestamp < releaseTime || block.timestamp < startDay) {
            return false;
        }

        return true;
    }

    // Calculate the amount of unlocked tokens after X days for a given amount, nonlinear
    function calculateNonLinear(uint256 _days, uint256 amount)
        public
        view
        returns (uint256)
    {
        if (_days > 360) {
            return amount;
        }

        uint256 unlocked = 0;
        uint256 _days_remainder = 0;

        for (uint256 i = 0; i < nonLinearUnlock.length; i++) {
            if (_days <= _days_remainder) break;

            if (_days.sub(_days_remainder) >= nonLinearUnlock[i][1]) {
                unlocked = unlocked.add(
                    mulDiv(amount, nonLinearUnlock[i][0], ONE_HUNDRED_PERCENT)
                        .mul(nonLinearUnlock[i][1])
                );
            }

            if (_days.sub(_days_remainder) < nonLinearUnlock[i][1]) {
                unlocked = unlocked.add(
                    mulDiv(amount, nonLinearUnlock[i][0], ONE_HUNDRED_PERCENT)
                        .mul(_days.sub(_days_remainder))
                );
            }

            _days_remainder += nonLinearUnlock[i][1];
        }

        if (unlocked > amount) {
            unlocked = amount;
        }

        return unlocked;
    }

    function calculateNonLinearAdvisory(uint256 _days, uint256 amount)
        public
        view
        returns (uint256)
    {
        if (_days > 360) {
            return amount;
        }

        uint256 unlocked = 0;
        uint256 _days_remainder = 0;

        for (uint256 i = 0; i < advisoryNonLinearUnlock.length; i++) {
            if (_days <= _days_remainder) break;

            if (_days.sub(_days_remainder) >= advisoryNonLinearUnlock[i][1]) {
                unlocked = unlocked.add(
                    mulDiv(
                        amount,
                        advisoryNonLinearUnlock[i][0],
                        ONE_HUNDRED_PERCENT
                    )
                        .mul(advisoryNonLinearUnlock[i][1])
                );
            }

            if (_days.sub(_days_remainder) < advisoryNonLinearUnlock[i][1]) {
                unlocked = unlocked.add(
                    mulDiv(
                        amount,
                        advisoryNonLinearUnlock[i][0],
                        ONE_HUNDRED_PERCENT
                    )
                        .mul(_days.sub(_days_remainder))
                );
            }

            _days_remainder += advisoryNonLinearUnlock[i][1];
        }

        if (unlocked > amount) {
            unlocked = amount;
        }

        return unlocked;
    }

    // Returns the amount of tokens unlocked by vesting so far
    function getUnlockedVestingAmount(address sender)
        public
        view
        returns (uint256)
    {
        if (vestingWallets[sender].totalAmount == 0) {
            return 0;
        }

        if (!isStarted(0)) {
            return 0;
        }

        uint256 dailyTransferableAmount = 0;
        uint256 trueDays = getDays(vestingWallets[sender].afterDays);

        if (vestingWallets[sender].nonlinear == true) {
            if (vestingWallets[sender].advisory == false) {
                dailyTransferableAmount = calculateNonLinear(
                    trueDays,
                    vestingWallets[sender].totalAmount
                );
            } else {
                dailyTransferableAmount = calculateNonLinearAdvisory(
                    trueDays,
                    vestingWallets[sender].totalAmount
                );
            }
        } else {
            dailyTransferableAmount = vestingWallets[sender].dayAmount.mul(
                trueDays
            );
        }

        if (dailyTransferableAmount > vestingWallets[sender].totalAmount) {
            return vestingWallets[sender].totalAmount;
        }

        return dailyTransferableAmount;
    }

    // Returns the amount of vesting tokens still locked
    function getRestAmount(address sender) public view returns (uint256) {
        uint256 transferableAmount = getUnlockedVestingAmount(sender);
        uint256 restAmount =
            vestingWallets[sender].totalAmount.sub(transferableAmount);

        return restAmount;
    }

    function isFrozen(address sender) public view returns (bool) {
        if (freezeList[sender] == true) return false;
        return true;
    }

    // Transfer control
    function canTransfer(address sender, uint256 amount)
        public
        view
        returns (bool)
    {
        // Treat as a normal coin if this is not a vested wallet
        if (vestingWallets[sender].totalAmount == 0) {
            return true;
        }

        uint256 balance = balanceOf(sender);
        uint256 restAmount = getRestAmount(sender);

        // Account for sending received tokens outside of the vesting schedule
        if (
            balance > vestingWallets[sender].totalAmount &&
            balance.sub(vestingWallets[sender].totalAmount) >= amount
        ) {
            return true;
        }

        // Don't allow vesting if the period has not started yet or if you are below allowance
        if (
            !isStarted(vestingWallets[sender].startDay) ||
            balance.sub(amount) < restAmount
        ) {
            return false;
        }

        return true;
    }

    // @override
    function _beforeTokenTransfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual override(ERC20) {
        // Reject any transfers that are not allowed
        require(isFrozen(sender), "The account is frozen");
        require(
            canTransfer(sender, amount),
            "Unable to transfer, not unlocked yet."
        );
        super._beforeTokenTransfer(sender, recipient, amount);
    }
}

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

pragma solidity ^0.8.0;

import "../ERC20.sol";
import "../../../utils/Context.sol";

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        uint256 currentAllowance = allowance(account, _msgSender());
        require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance");
        _approve(account, _msgSender(), currentAllowance - amount);
        _burn(account, amount);
    }
}

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

pragma solidity ^0.8.0;

import "./IERC20.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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    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}.
     *
     * The defaut value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overloaded;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual returns (uint8) {
        return 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:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

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

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

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        _approve(sender, _msgSender(), currentAllowance - 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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][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) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        _approve(_msgSender(), spender, currentAllowance - subtractedValue);

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        _balances[sender] = senderBalance - amount;
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);
    }

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

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

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

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        _balances[account] = accountBalance - amount;
        _totalSupply -= amount;

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

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

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

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

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

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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

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

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

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

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

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

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

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

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

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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ONE_HUNDRED_PERCENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRECISION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"totalAmounts","type":"uint256[]"},{"internalType":"uint256","name":"vestingTypeIndex","type":"uint256"}],"name":"addAllocations","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"advisoryNonLinearUnlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_days","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"calculateNonLinear","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_days","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"calculateNonLinearAdvisory","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"canTransfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"user","type":"address"}],"name":"freeze","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freezeList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"afterDays","type":"uint256"}],"name":"getDays","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getListingTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getMaxTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"getRestAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"getUnlockedVestingAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"isFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"startDay","type":"uint256"}],"name":"isStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"nonLinearUnlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"unfreeze","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"vestingTypes","outputs":[{"internalType":"uint256","name":"dailyRate","type":"uint256"},{"internalType":"uint256","name":"afterDays","type":"uint256"},{"internalType":"bool","name":"nonlinear","type":"bool"},{"internalType":"bool","name":"advisory","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"vestingWallets","outputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"totalAmount","type":"uint256"},{"internalType":"uint256","name":"dayAmount","type":"uint256"},{"internalType":"uint256","name":"startDay","type":"uint256"},{"internalType":"uint256","name":"afterDays","type":"uint256"},{"internalType":"bool","name":"nonlinear","type":"bool"},{"internalType":"bool","name":"advisory","type":"bool"}],"stateMutability":"view","type":"function"}]

678ac7230489e8000060e09081526001610100526080908152670de0b6b3a764000061012090815260286101405260a0526101a06040526703782dace9d9000061016090815260c86101805260c0526200005e906009906003620012ef565b50604080516080810182526801158e460913d00000818301908152600160608301528152815180830190925267094079cd1a42aaaa82526079602083810191909152810191909152620000b690600a9060026200134d565b50348015620000c457600080fd5b50604051806040016040528060088152602001672827262a37b5b2b760c11b8152506040518060400160405280600381526020016214139360ea1b815250600062000114620006be60201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35081516200017390600490602085019062001399565b5080516200018990600590602084019062001399565b50505060076040518060800160405280670148f478cafe200081526020016301da9c008152602001600015158152602001600015158152509080600181540180825580915050600190039060005260206000209060030201600090919091909150600082015181600001556020820151816001015560408201518160020160006101000a81548160ff02191690831515021790555060608201518160020160016101000a81548160ff02191690831515021790555050506007604051806080016040528067016345785d8a0000815260200160008152602001600015158152602001600015158152509080600181540180825580915050600190039060005260206000209060030201600090919091909150600082015181600001556020820151816001015560408201518160020160006101000a81548160ff02191690831515021790555060608201518160020160016101000a81548160ff0219169083151502179055505050600760405180608001604052806000815260200160008152602001600115158152602001600015158152509080600181540180825580915050600190039060005260206000209060030201600090919091909150600082015181600001556020820151816001015560408201518160020160006101000a81548160ff02191690831515021790555060608201518160020160016101000a81548160ff0219169083151502179055505050600760405180608001604052806000815260200160008152602001600115158152602001600115158152509080600181540180825580915050600190039060005260206000209060030201600090919091909150600082015181600001556020820151816001015560408201518160020160006101000a81548160ff02191690831515021790555060608201518160020160016101000a81548160ff02191690831515021790555050506007604051806080016040528068056bc75e2d63100000815260200160008152602001600015158152602001600015158152509080600181540180825580915050600190039060005260206000209060030201600090919091909150600082015181600001556020820151816001015560408201518160020160006101000a81548160ff02191690831515021790555060608201518160020160016101000a81548160ff0219169083151502179055505050600760405180608001604052806702501e734690aaaa81526020016301da9c008152602001600015158152602001600015158152509080600181540180825580915050600190039060005260206000209060030201600090919091909150600082015181600001556020820151816001015560408201518160020160006101000a81548160ff02191690831515021790555060608201518160020160016101000a81548160ff0219169083151502179055505050600760405180608001604052806701ed6eb565788e38815260200160008152602001600015158152602001600015158152509080600181540180825580915050600190039060005260206000209060030201600090919091909150600082015181600001556020820151816001015560408201518160020160006101000a81548160ff02191690831515021790555060608201518160020160016101000a81548160ff02191690831515021790555050506200068d73b1537209c77c42d5fe33b56fd2ba3a7434c5acb86a013da329b6336471800000620006c260201b60201c565b620006b873b1537209c77c42d5fe33b56fd2ba3a7434c5acb86a02cffa5e8bebf4bd000000620006c2565b620016e1565b3390565b6000620006d96200074560201b620005911760201c565b9050620006f582826200074b60201b620015591790919060201c565b620006ff62000762565b1015620007295760405162461bcd60e51b8152600401620007209062001581565b60405180910390fd5b6200074083836200078160201b6200156c1760201c565b505050565b60035490565b6000620007598284620015f8565b90505b92915050565b60006200077c670de0b6b3a76400006305f5e10062001634565b905090565b6001600160a01b038216620007aa5760405162461bcd60e51b81526004016200072090620015b8565b620007b8600083836200084c565b8060036000828254620007cc9190620015f8565b90915550506001600160a01b03821660009081526001602052604081208054839290620007fb908490620015f8565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9062000840908590620015ef565b60405180910390a35050565b6200085783620008b9565b620008765760405162461bcd60e51b815260040162000720906200154a565b620008828382620008f2565b620008a15760405162461bcd60e51b8152600401620007209062001505565b620007408383836200074060201b62000c801760201c565b6001600160a01b03811660009081526008602052604081205460ff16151560011415620008e957506000620008ed565b5060015b919050565b6001600160a01b0382166000908152600660205260408120600101546200091c575060016200075c565b6000620009298462000a16565b90506000620009388562000a31565b6001600160a01b038616600090815260066020526040902060010154909150821180156200099b57506001600160a01b0385166000908152600660209081526040909120600101548591620009989185916200162c62000a80821b17901c565b10155b15620009ad576001925050506200075c565b6001600160a01b038516600090815260066020526040902060030154620009d49062000a8e565b1580620009f9575080620009f7858462000a8060201b6200162c1790919060201c565b105b1562000a0b576000925050506200075c565b506001949350505050565b6001600160a01b031660009081526001602052604090205490565b60008062000a3f8362000ac5565b6001600160a01b0384166000908152600660209081526040822060010154929350909162000a789184906200162c62000a80821b17901c565b949350505050565b600062000759828462001656565b60008062000a9b62000c73565b90508042108062000aab57508242105b1562000abc576000915050620008ed565b50600192915050565b6001600160a01b03811660009081526006602052604081206001015462000aef57506000620008ed565b62000afb600062000a8e565b62000b0957506000620008ed565b6001600160a01b038216600090815260066020526040812060040154819062000b329062000c7b565b6001600160a01b03851660009081526006602052604090206005015490915060ff1615156001141562000beb576001600160a01b038416600090815260066020526040902060050154610100900460ff1662000bb9576001600160a01b03841660009081526006602052604090206001015462000bb190829062000d1e565b915062000be5565b6001600160a01b03841660009081526006602052604090206001015462000be290829062001027565b91505b62000c23565b6001600160a01b03841660009081526006602090815260409091206002015462000c20918390620016386200129e821b17901c565b91505b6001600160a01b03841660009081526006602052604090206001015482111562000c6c575050506001600160a01b038116600090815260066020526040902060010154620008ed565b5092915050565b6360a3f29090565b60008062000c8862000c73565b9050600062000ca684836200074b60201b620015591790919060201c565b90508042101562000cbd57600092505050620008ed565b600062000cd9824262000a8060201b6200162c1790919060201c565b9050600062000d14600162000d006201518085620012ac60201b620016441790919060201c565b6200074b60201b620015591790919060201c565b9695505050505050565b600061016883111562000d335750806200075c565b60008060005b600954811015620010115781861162000d525762001011565b6009818154811062000d7457634e487b7160e01b600052603260045260246000fd5b9060005260206000200160018154811062000d9f57634e487b7160e01b600052603260045260246000fd5b906000526020600020015462000dc4838862000a8060201b6200162c1790919060201c565b1062000ed05762000ecd62000eb86009838154811062000df457634e487b7160e01b600052603260045260246000fd5b9060005260206000200160018154811062000e1f57634e487b7160e01b600052603260045260246000fd5b906000526020600020015462000ea4886009868154811062000e5157634e487b7160e01b600052603260045260246000fd5b9060005260206000200160008154811062000e7c57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154670de0b6b3a7640000606462000e9e919062001634565b620012ba565b6200129e60201b620016381790919060201c565b846200074b60201b620015591790919060201c565b92505b6009818154811062000ef257634e487b7160e01b600052603260045260246000fd5b9060005260206000200160018154811062000f1d57634e487b7160e01b600052603260045260246000fd5b906000526020600020015462000f42838862000a8060201b6200162c1790919060201c565b101562000f955762000f9262000eb862000f6b848962000a8060201b6200162c1790919060201c565b62000ea4886009868154811062000e5157634e487b7160e01b600052603260045260246000fd5b92505b6009818154811062000fb757634e487b7160e01b600052603260045260246000fd5b9060005260206000200160018154811062000fe257634e487b7160e01b600052603260045260246000fd5b90600052602060002001548262000ffa9190620015f8565b9150806200100881620016ad565b91505062000d39565b50838211156200101f578391505b509392505050565b60006101688311156200103c5750806200075c565b60008060005b600a5481101562001011578186116200105b5762001011565b600a81815481106200107d57634e487b7160e01b600052603260045260246000fd5b90600052602060002001600181548110620010a857634e487b7160e01b600052603260045260246000fd5b9060005260206000200154620010cd838862000a8060201b6200162c1790919060201c565b106200115d576200115a62000eb8600a8381548110620010fd57634e487b7160e01b600052603260045260246000fd5b906000526020600020016001815481106200112857634e487b7160e01b600052603260045260246000fd5b906000526020600020015462000ea488600a868154811062000e5157634e487b7160e01b600052603260045260246000fd5b92505b600a81815481106200117f57634e487b7160e01b600052603260045260246000fd5b90600052602060002001600181548110620011aa57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154620011cf838862000a8060201b6200162c1790919060201c565b101562001222576200121f62000eb8620011f8848962000a8060201b6200162c1790919060201c565b62000ea488600a868154811062000e5157634e487b7160e01b600052603260045260246000fd5b92505b600a81815481106200124457634e487b7160e01b600052603260045260246000fd5b906000526020600020016001815481106200126f57634e487b7160e01b600052603260045260246000fd5b906000526020600020015482620012879190620015f8565b9150806200129581620016ad565b91505062001042565b600062000759828462001634565b600062000759828462001613565b600062000a7882620012db85876200129e60201b620016381790919060201c565b620012ac60201b620016441790919060201c565b8280548282559060005260206000209081019282156200133b579160200282015b828111156200133b5782516200132a908390600262001424565b509160200191906001019062001310565b50620013499291506200146d565b5090565b8280548282559060005260206000209081019282156200133b579160200282015b828111156200133b5782516200138890839060026200148e565b50916020019190600101906200136e565b828054620013a79062001670565b90600052602060002090601f016020900481019282620013cb576000855562001416565b82601f10620013e657805160ff191683800117855562001416565b8280016001018555821562001416579182015b8281111562001416578251825591602001919060010190620013f9565b5062001349929150620014cb565b82805482825590600052602060002090810192821562001416579160200282015b828111156200141657825182906001600160401b031690559160200191906001019062001445565b8082111562001349576000620014848282620014e2565b506001016200146d565b82805482825590600052602060002090810192821562001416579160200282018281111562001416578251825591602001919060010190620013f9565b5b80821115620013495760008155600101620014cc565b5080546000825590600052602060002090810190620015029190620014cb565b50565b60208082526025908201527f556e61626c6520746f207472616e736665722c206e6f7420756e6c6f636b6564604082015264103cb2ba1760d91b606082015260800190565b60208082526015908201527f546865206163636f756e742069732066726f7a656e0000000000000000000000604082015260600190565b60208082526018908201527f4d6178696d756d20737570706c79206578636565646564210000000000000000604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b600082198211156200160e576200160e620016cb565b500190565b6000826200162f57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615620016515762001651620016cb565b500290565b6000828210156200166b576200166b620016cb565b500390565b6002810460018216806200168557607f821691505b60208210811415620016a757634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415620016c457620016c4620016cb565b5060010190565b634e487b7160e01b600052601160045260246000fd5b61246680620016f16000396000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c80638da5cb5b11610130578063c632395e116100b8578063e58398361161007c578063e583983614610472578063e66fa23914610485578063eca2b94e146104a8578063f22a0b31146104bb578063f2fde38b146104ce57610227565b8063c632395e1461041e578063c657852c14610431578063d45e09c114610444578063dd0081c714610457578063dd62ed3e1461045f57610227565b8063a9059cbb116100ff578063a9059cbb146103c2578063aaf5eb68146103d5578063abd225e1146103dd578063baf35107146103f0578063bb0099d51461041657610227565b80638da5cb5b1461037f57806395d89b4114610394578063a457c2d71461039c578063a851c2e5146103af57610227565b806345c8b1a6116101b3578063715018a611610182578063715018a61461032b578063786de14f1461033357806379cc6790146103465780637ea395bc146103595780638d1fdf2f1461036c57610227565b806345c8b1a6146102ea57806358019c5a146102fd5780635db30bb11461031057806370a082311461031857610227565b806323b872dd116101fa57806323b872dd14610287578063313ce5671461029a578063324cca2c146102af57806339509351146102c257806342966c68146102d557610227565b806306fdde031461022c578063095ea7b31461024a57806318160ddd1461026a578063188ec3561461027f575b600080fd5b6102346104e1565b6040516102419190611d92565b60405180910390f35b61025d610258366004611c0b565b610573565b6040516102419190611d87565b610272610591565b60405161024191906122bc565b610272610597565b61025d610295366004611bd0565b61059b565b6102a261063b565b60405161024191906122e4565b6102726102bd366004611d13565b610640565b61025d6102d0366004611c0b565b6108de565b6102e86102e3366004611cfb565b61092d565b005b6102e86102f8366004611b84565b610941565b61027261030b366004611d13565b6109a1565b6102726109de565b610272610326366004611b84565b6109fb565b6102e8610a1a565b610272610341366004611b84565b610aa3565b6102e8610354366004611c0b565b610c30565b610272610367366004611d13565b610c85565b6102e861037a366004611b84565b610c95565b610387610cf8565b6040516102419190611d34565b610234610d07565b61025d6103aa366004611c0b565b610d16565b61025d6103bd366004611c34565b610d91565b61025d6103d0366004611c0b565b610f7a565b610272610f8e565b61025d6103eb366004611cfb565b610f9a565b6104036103fe366004611b84565b610fc3565b6040516102419796959493929190611d48565b61027261100e565b61027261042c366004611b84565b611016565b61025d61043f366004611b84565b611054565b61025d610452366004611c0b565b611069565b610272611156565b61027261046d366004611b9e565b61116c565b61025d610480366004611b84565b611197565b610498610493366004611cfb565b6111cd565b60405161024194939291906122c5565b6102726104b6366004611d13565b61120c565b6102726104c9366004611cfb565b611439565b6102e86104dc366004611b84565b611499565b6060600480546104f0906123ae565b80601f016020809104026020016040519081016040528092919081815260200182805461051c906123ae565b80156105695780601f1061053e57610100808354040283529160200191610569565b820191906000526020600020905b81548152906001019060200180831161054c57829003601f168201915b5050505050905090565b6000610587610580611650565b8484611654565b5060015b92915050565b60035490565b4290565b60006105a8848484611708565b6001600160a01b0384166000908152600260205260408120816105c9611650565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156106155760405162461bcd60e51b815260040161060c90611fb4565b60405180910390fd5b61063085610621611650565b61062b8685612397565b611654565b506001949350505050565b601290565b600061016883111561065357508061058b565b60008060005b6009548110156108c95781861161066f576108c9565b6009818154811061069057634e487b7160e01b600052603260045260246000fd5b906000526020600020016001815481106106ba57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546106d0878461162c565b106107b5576107b26107ab600983815481106106fc57634e487b7160e01b600052603260045260246000fd5b9060005260206000200160018154811061072657634e487b7160e01b600052603260045260246000fd5b90600052602060002001546107a5886009868154811061075657634e487b7160e01b600052603260045260246000fd5b9060005260206000200160008154811061078057634e487b7160e01b600052603260045260246000fd5b9060005260206000200154670de0b6b3a764000060646107a09190612378565b611830565b90611638565b8490611559565b92505b600981815481106107d657634e487b7160e01b600052603260045260246000fd5b9060005260206000200160018154811061080057634e487b7160e01b600052603260045260246000fd5b600091825260209091200154610816878461162c565b1015610854576108516107ab61082c888561162c565b6107a5886009868154811061075657634e487b7160e01b600052603260045260246000fd5b92505b6009818154811061087557634e487b7160e01b600052603260045260246000fd5b9060005260206000200160018154811061089f57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154826108b59190612340565b9150806108c1816123e9565b915050610659565b50838211156108d6578391505b509392505050565b60006105876108eb611650565b8484600260006108f9611650565b6001600160a01b03908116825260208083019390935260409182016000908120918b168152925290205461062b9190612340565b61093e610938611650565b82611846565b50565b610949611650565b6001600160a01b031661095a610cf8565b6001600160a01b0316146109805760405162461bcd60e51b815260040161060c90611ffc565b6001600160a01b03166000908152600860205260409020805460ff19169055565b600982815481106109b157600080fd5b9060005260206000200181815481106109c957600080fd5b90600052602060002001600091509150505481565b60006109f6670de0b6b3a76400006305f5e100612378565b905090565b6001600160a01b0381166000908152600160205260409020545b919050565b610a22611650565b6001600160a01b0316610a33610cf8565b6001600160a01b031614610a595760405162461bcd60e51b815260040161060c90611ffc565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6001600160a01b038116600090815260066020526040812060010154610acb57506000610a15565b610ad56000610f9a565b610ae157506000610a15565b6001600160a01b0382166000908152600660205260408120600401548190610b0890611439565b6001600160a01b03851660009081526006602052604090206005015490915060ff16151560011415610bb9576001600160a01b038416600090815260066020526040902060050154610100900460ff16610b8a576001600160a01b038416600090815260066020526040902060010154610b83908290610640565b9150610bb4565b6001600160a01b038416600090815260066020526040902060010154610bb190829061120c565b91505b610be2565b6001600160a01b038416600090815260066020526040902060020154610bdf9082611638565b91505b6001600160a01b038416600090815260066020526040902060010154821115610c29575050506001600160a01b038116600090815260066020526040902060010154610a15565b5092915050565b6000610c3e8361046d611650565b905081811015610c605760405162461bcd60e51b815260040161060c90612097565b610c7683610c6c611650565b61062b8585612397565b610c808383611846565b505050565b600a82815481106109b157600080fd5b610c9d611650565b6001600160a01b0316610cae610cf8565b6001600160a01b031614610cd45760405162461bcd60e51b815260040161060c90611ffc565b6001600160a01b03166000908152600860205260409020805460ff19166001179055565b6000546001600160a01b031690565b6060600580546104f0906123ae565b60008060026000610d25611650565b6001600160a01b0390811682526020808301939093526040918201600090812091881681529252902054905082811015610d715760405162461bcd60e51b815260040161060c906121f4565b610d87610d7c611650565b8561062b8685612397565b5060019392505050565b6000610d9b611650565b6001600160a01b0316610dac610cf8565b6001600160a01b031614610dd25760405162461bcd60e51b815260040161060c90611ffc565b8251845114610df35760405162461bcd60e51b815260040161060c90612270565b6007548210610e145760405162461bcd60e51b815260040161060c90611ef2565b600060078381548110610e3757634e487b7160e01b600052603260045260246000fd5b600091825260208083206040805160808101825260039094029091018054845260018101549284019290925260029091015460ff808216151592840192909252610100900416151560608201528651909250905b81811015610f6d576000878281518110610eb557634e487b7160e01b600052603260045260246000fd5b602002602001015190506000878381518110610ee157634e487b7160e01b600052603260045260246000fd5b602002602001015190506000610f32898581518110610f1057634e487b7160e01b600052603260045260246000fd5b60200260200101518760000151670de0b6b3a764000060646107a09190612378565b6020870151604088015160608901519293509091610f5486868686868661192c565b5050505050508080610f65906123e9565b915050610e8b565b5060019695505050505050565b6000610587610f87611650565b8484611708565b670de0b6b3a764000081565b600080610fa561100e565b905080421080610fb457508242105b15610587576000915050610a15565b6006602052600090815260409020805460018201546002830154600384015460048501546005909501546001600160a01b039094169492939192909160ff8082169161010090041687565b6360a3f29090565b60008061102283610aa3565b6001600160a01b0384166000908152600660205260408120600101549192509061104c908361162c565b949350505050565b60086020526000908152604090205460ff1681565b6001600160a01b0382166000908152600660205260408120600101546110915750600161058b565b600061109c846109fb565b905060006110a985611016565b6001600160a01b038616600090815260066020526040902060010154909150821180156110fd57506001600160a01b03851660009081526006602052604090206001015484906110fa90849061162c565b10155b1561110d5760019250505061058b565b6001600160a01b03851660009081526006602052604090206003015461113290610f9a565b1580611146575080611144838661162c565b105b156106305760009250505061058b565b611169670de0b6b3a76400006064612378565b81565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6001600160a01b03811660009081526008602052604081205460ff161515600114156111c557506000610a15565b506001919050565b600781815481106111dd57600080fd5b600091825260209091206003909102018054600182015460029092015490925060ff8082169161010090041684565b600061016883111561121f57508061058b565b60008060005b600a548110156108c95781861161123b576108c9565b600a818154811061125c57634e487b7160e01b600052603260045260246000fd5b9060005260206000200160018154811061128657634e487b7160e01b600052603260045260246000fd5b60009182526020909120015461129c878461162c565b10611325576113226107ab600a83815481106112c857634e487b7160e01b600052603260045260246000fd5b906000526020600020016001815481106112f257634e487b7160e01b600052603260045260246000fd5b90600052602060002001546107a588600a868154811061075657634e487b7160e01b600052603260045260246000fd5b92505b600a818154811061134657634e487b7160e01b600052603260045260246000fd5b9060005260206000200160018154811061137057634e487b7160e01b600052603260045260246000fd5b600091825260209091200154611386878461162c565b10156113c4576113c16107ab61139c888561162c565b6107a588600a868154811061075657634e487b7160e01b600052603260045260246000fd5b92505b600a81815481106113e557634e487b7160e01b600052603260045260246000fd5b9060005260206000200160018154811061140f57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154826114259190612340565b915080611431816123e9565b915050611225565b60008061144461100e565b905060006114528285611559565b90508042101561146757600092505050610a15565b6000611473428361162c565b9050600061148f60016114898462015180611644565b90611559565b9695505050505050565b6114a1611650565b6001600160a01b03166114b2610cf8565b6001600160a01b0316146114d85760405162461bcd60e51b815260040161060c90611ffc565b6001600160a01b0381166114fe5760405162461bcd60e51b815260040161060c90611e6a565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60006115658284612340565b9392505050565b6001600160a01b0382166115925760405162461bcd60e51b815260040161060c90612239565b61159e60008383611a65565b80600360008282546115b09190612340565b90915550506001600160a01b038216600090815260016020526040812080548392906115dd908490612340565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906116209085906122bc565b60405180910390a35050565b60006115658284612397565b60006115658284612378565b60006115658284612358565b3390565b6001600160a01b03831661167a5760405162461bcd60e51b815260040161060c90612161565b6001600160a01b0382166116a05760405162461bcd60e51b815260040161060c90611eb0565b6001600160a01b0380841660008181526002602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906116fb9085906122bc565b60405180910390a3505050565b6001600160a01b03831661172e5760405162461bcd60e51b815260040161060c9061211c565b6001600160a01b0382166117545760405162461bcd60e51b815260040161060c90611de5565b61175f838383611a65565b6001600160a01b038316600090815260016020526040902054818110156117985760405162461bcd60e51b815260040161060c90611f6e565b6117a28282612397565b6001600160a01b0380861660009081526001602052604080822093909355908516815290812080548492906117d8908490612340565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161182291906122bc565b60405180910390a350505050565b600061104c826118408686611638565b90611644565b6001600160a01b03821661186c5760405162461bcd60e51b815260040161060c906120db565b61187882600083611a65565b6001600160a01b038216600090815260016020526040902054818110156118b15760405162461bcd60e51b815260040161060c90611e28565b6118bb8282612397565b6001600160a01b038416600090815260016020526040812091909155600380548492906118e9908490612397565b90915550506040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906116fb9086906122bc565b6001600160a01b038616600090815260066020526040902060010154156119655760405162461bcd60e51b815260040161060c906121a5565b600061196f61100e565b905060006040518060e00160405280896001600160a01b031681526020018881526020018781526020016119ac878561155990919063ffffffff16565b815260208082018890528615156040808401919091528615156060938401526001600160a01b038c8116600090815260068452829020855181546001600160a01b031916921691909117815591840151600183015583015160028201559082015160038201556080820151600482015560a08201516005909101805460c084015160ff199091169215159290921761ff001916610100921515929092029190911790559050611a5b8888611abb565b5050505050505050565b611a6e83611197565b611a8a5760405162461bcd60e51b815260040161060c90612031565b611a948382611069565b611ab05760405162461bcd60e51b815260040161060c90611f29565b610c80838383610c80565b6000611ac5610591565b9050611ad18183611559565b611ad96109de565b1015611af75760405162461bcd60e51b815260040161060c90612060565b610c80838361156c565b80356001600160a01b0381168114610a1557600080fd5b600082601f830112611b28578081fd5b81356020611b3d611b388361231c565b6122f2565b8281528181019085830183850287018401881015611b59578586fd5b855b85811015611b7757813584529284019290840190600101611b5b565b5090979650505050505050565b600060208284031215611b95578081fd5b61156582611b01565b60008060408385031215611bb0578081fd5b611bb983611b01565b9150611bc760208401611b01565b90509250929050565b600080600060608486031215611be4578081fd5b611bed84611b01565b9250611bfb60208501611b01565b9150604084013590509250925092565b60008060408385031215611c1d578182fd5b611c2683611b01565b946020939093013593505050565b600080600060608486031215611c48578283fd5b833567ffffffffffffffff80821115611c5f578485fd5b818601915086601f830112611c72578485fd5b81356020611c82611b388361231c565b82815281810190858301838502870184018c1015611c9e57898afd5b8996505b84871015611cc757611cb381611b01565b835260019690960195918301918301611ca2565b5097505087013592505080821115611cdd578384fd5b50611cea86828701611b18565b925050604084013590509250925092565b600060208284031215611d0c578081fd5b5035919050565b60008060408385031215611d25578182fd5b50508035926020909101359150565b6001600160a01b0391909116815260200190565b6001600160a01b039790971687526020870195909552604086019390935260608501919091526080840152151560a0830152151560c082015260e00190565b901515815260200190565b6000602080835283518082850152825b81811015611dbe57858101830151858201604001528201611da2565b81811115611dcf5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604082015261636560f01b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526017908201527f56657374696e6720747970652069736e7420666f756e64000000000000000000604082015260600190565b60208082526025908201527f556e61626c6520746f207472616e736665722c206e6f7420756e6c6f636b6564604082015264103cb2ba1760d91b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601590820152742a34329030b1b1b7bab73a1034b990333937bd32b760591b604082015260600190565b60208082526018908201527f4d6178696d756d20737570706c79206578636565646564210000000000000000604082015260600190565b60208082526024908201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604082015263616e636560e01b606082015260800190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252602f908201527f56657374696e672077616c6c657420616c72656164792063726561746564206660408201526e6f722074686973206164647265737360881b606082015260800190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b6020808252602c908201527f4164647265737320616e6420746f74616c416d6f756e7473206c656e6774682060408201526b6d7573742062652073616d6560a01b606082015260800190565b90815260200190565b9384526020840192909252151560408301521515606082015260800190565b60ff91909116815260200190565b60405181810167ffffffffffffffff811182821017156123145761231461241a565b604052919050565b600067ffffffffffffffff8211156123365761233661241a565b5060209081020190565b6000821982111561235357612353612404565b500190565b60008261237357634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561239257612392612404565b500290565b6000828210156123a9576123a9612404565b500390565b6002810460018216806123c257607f821691505b602082108114156123e357634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156123fd576123fd612404565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220441c7855bef91e3969e2578be48218305906b0b2ad3dbf633dfc6c20ebd1c07564736f6c63430008000033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102275760003560e01c80638da5cb5b11610130578063c632395e116100b8578063e58398361161007c578063e583983614610472578063e66fa23914610485578063eca2b94e146104a8578063f22a0b31146104bb578063f2fde38b146104ce57610227565b8063c632395e1461041e578063c657852c14610431578063d45e09c114610444578063dd0081c714610457578063dd62ed3e1461045f57610227565b8063a9059cbb116100ff578063a9059cbb146103c2578063aaf5eb68146103d5578063abd225e1146103dd578063baf35107146103f0578063bb0099d51461041657610227565b80638da5cb5b1461037f57806395d89b4114610394578063a457c2d71461039c578063a851c2e5146103af57610227565b806345c8b1a6116101b3578063715018a611610182578063715018a61461032b578063786de14f1461033357806379cc6790146103465780637ea395bc146103595780638d1fdf2f1461036c57610227565b806345c8b1a6146102ea57806358019c5a146102fd5780635db30bb11461031057806370a082311461031857610227565b806323b872dd116101fa57806323b872dd14610287578063313ce5671461029a578063324cca2c146102af57806339509351146102c257806342966c68146102d557610227565b806306fdde031461022c578063095ea7b31461024a57806318160ddd1461026a578063188ec3561461027f575b600080fd5b6102346104e1565b6040516102419190611d92565b60405180910390f35b61025d610258366004611c0b565b610573565b6040516102419190611d87565b610272610591565b60405161024191906122bc565b610272610597565b61025d610295366004611bd0565b61059b565b6102a261063b565b60405161024191906122e4565b6102726102bd366004611d13565b610640565b61025d6102d0366004611c0b565b6108de565b6102e86102e3366004611cfb565b61092d565b005b6102e86102f8366004611b84565b610941565b61027261030b366004611d13565b6109a1565b6102726109de565b610272610326366004611b84565b6109fb565b6102e8610a1a565b610272610341366004611b84565b610aa3565b6102e8610354366004611c0b565b610c30565b610272610367366004611d13565b610c85565b6102e861037a366004611b84565b610c95565b610387610cf8565b6040516102419190611d34565b610234610d07565b61025d6103aa366004611c0b565b610d16565b61025d6103bd366004611c34565b610d91565b61025d6103d0366004611c0b565b610f7a565b610272610f8e565b61025d6103eb366004611cfb565b610f9a565b6104036103fe366004611b84565b610fc3565b6040516102419796959493929190611d48565b61027261100e565b61027261042c366004611b84565b611016565b61025d61043f366004611b84565b611054565b61025d610452366004611c0b565b611069565b610272611156565b61027261046d366004611b9e565b61116c565b61025d610480366004611b84565b611197565b610498610493366004611cfb565b6111cd565b60405161024194939291906122c5565b6102726104b6366004611d13565b61120c565b6102726104c9366004611cfb565b611439565b6102e86104dc366004611b84565b611499565b6060600480546104f0906123ae565b80601f016020809104026020016040519081016040528092919081815260200182805461051c906123ae565b80156105695780601f1061053e57610100808354040283529160200191610569565b820191906000526020600020905b81548152906001019060200180831161054c57829003601f168201915b5050505050905090565b6000610587610580611650565b8484611654565b5060015b92915050565b60035490565b4290565b60006105a8848484611708565b6001600160a01b0384166000908152600260205260408120816105c9611650565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156106155760405162461bcd60e51b815260040161060c90611fb4565b60405180910390fd5b61063085610621611650565b61062b8685612397565b611654565b506001949350505050565b601290565b600061016883111561065357508061058b565b60008060005b6009548110156108c95781861161066f576108c9565b6009818154811061069057634e487b7160e01b600052603260045260246000fd5b906000526020600020016001815481106106ba57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546106d0878461162c565b106107b5576107b26107ab600983815481106106fc57634e487b7160e01b600052603260045260246000fd5b9060005260206000200160018154811061072657634e487b7160e01b600052603260045260246000fd5b90600052602060002001546107a5886009868154811061075657634e487b7160e01b600052603260045260246000fd5b9060005260206000200160008154811061078057634e487b7160e01b600052603260045260246000fd5b9060005260206000200154670de0b6b3a764000060646107a09190612378565b611830565b90611638565b8490611559565b92505b600981815481106107d657634e487b7160e01b600052603260045260246000fd5b9060005260206000200160018154811061080057634e487b7160e01b600052603260045260246000fd5b600091825260209091200154610816878461162c565b1015610854576108516107ab61082c888561162c565b6107a5886009868154811061075657634e487b7160e01b600052603260045260246000fd5b92505b6009818154811061087557634e487b7160e01b600052603260045260246000fd5b9060005260206000200160018154811061089f57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154826108b59190612340565b9150806108c1816123e9565b915050610659565b50838211156108d6578391505b509392505050565b60006105876108eb611650565b8484600260006108f9611650565b6001600160a01b03908116825260208083019390935260409182016000908120918b168152925290205461062b9190612340565b61093e610938611650565b82611846565b50565b610949611650565b6001600160a01b031661095a610cf8565b6001600160a01b0316146109805760405162461bcd60e51b815260040161060c90611ffc565b6001600160a01b03166000908152600860205260409020805460ff19169055565b600982815481106109b157600080fd5b9060005260206000200181815481106109c957600080fd5b90600052602060002001600091509150505481565b60006109f6670de0b6b3a76400006305f5e100612378565b905090565b6001600160a01b0381166000908152600160205260409020545b919050565b610a22611650565b6001600160a01b0316610a33610cf8565b6001600160a01b031614610a595760405162461bcd60e51b815260040161060c90611ffc565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6001600160a01b038116600090815260066020526040812060010154610acb57506000610a15565b610ad56000610f9a565b610ae157506000610a15565b6001600160a01b0382166000908152600660205260408120600401548190610b0890611439565b6001600160a01b03851660009081526006602052604090206005015490915060ff16151560011415610bb9576001600160a01b038416600090815260066020526040902060050154610100900460ff16610b8a576001600160a01b038416600090815260066020526040902060010154610b83908290610640565b9150610bb4565b6001600160a01b038416600090815260066020526040902060010154610bb190829061120c565b91505b610be2565b6001600160a01b038416600090815260066020526040902060020154610bdf9082611638565b91505b6001600160a01b038416600090815260066020526040902060010154821115610c29575050506001600160a01b038116600090815260066020526040902060010154610a15565b5092915050565b6000610c3e8361046d611650565b905081811015610c605760405162461bcd60e51b815260040161060c90612097565b610c7683610c6c611650565b61062b8585612397565b610c808383611846565b505050565b600a82815481106109b157600080fd5b610c9d611650565b6001600160a01b0316610cae610cf8565b6001600160a01b031614610cd45760405162461bcd60e51b815260040161060c90611ffc565b6001600160a01b03166000908152600860205260409020805460ff19166001179055565b6000546001600160a01b031690565b6060600580546104f0906123ae565b60008060026000610d25611650565b6001600160a01b0390811682526020808301939093526040918201600090812091881681529252902054905082811015610d715760405162461bcd60e51b815260040161060c906121f4565b610d87610d7c611650565b8561062b8685612397565b5060019392505050565b6000610d9b611650565b6001600160a01b0316610dac610cf8565b6001600160a01b031614610dd25760405162461bcd60e51b815260040161060c90611ffc565b8251845114610df35760405162461bcd60e51b815260040161060c90612270565b6007548210610e145760405162461bcd60e51b815260040161060c90611ef2565b600060078381548110610e3757634e487b7160e01b600052603260045260246000fd5b600091825260208083206040805160808101825260039094029091018054845260018101549284019290925260029091015460ff808216151592840192909252610100900416151560608201528651909250905b81811015610f6d576000878281518110610eb557634e487b7160e01b600052603260045260246000fd5b602002602001015190506000878381518110610ee157634e487b7160e01b600052603260045260246000fd5b602002602001015190506000610f32898581518110610f1057634e487b7160e01b600052603260045260246000fd5b60200260200101518760000151670de0b6b3a764000060646107a09190612378565b6020870151604088015160608901519293509091610f5486868686868661192c565b5050505050508080610f65906123e9565b915050610e8b565b5060019695505050505050565b6000610587610f87611650565b8484611708565b670de0b6b3a764000081565b600080610fa561100e565b905080421080610fb457508242105b15610587576000915050610a15565b6006602052600090815260409020805460018201546002830154600384015460048501546005909501546001600160a01b039094169492939192909160ff8082169161010090041687565b6360a3f29090565b60008061102283610aa3565b6001600160a01b0384166000908152600660205260408120600101549192509061104c908361162c565b949350505050565b60086020526000908152604090205460ff1681565b6001600160a01b0382166000908152600660205260408120600101546110915750600161058b565b600061109c846109fb565b905060006110a985611016565b6001600160a01b038616600090815260066020526040902060010154909150821180156110fd57506001600160a01b03851660009081526006602052604090206001015484906110fa90849061162c565b10155b1561110d5760019250505061058b565b6001600160a01b03851660009081526006602052604090206003015461113290610f9a565b1580611146575080611144838661162c565b105b156106305760009250505061058b565b611169670de0b6b3a76400006064612378565b81565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6001600160a01b03811660009081526008602052604081205460ff161515600114156111c557506000610a15565b506001919050565b600781815481106111dd57600080fd5b600091825260209091206003909102018054600182015460029092015490925060ff8082169161010090041684565b600061016883111561121f57508061058b565b60008060005b600a548110156108c95781861161123b576108c9565b600a818154811061125c57634e487b7160e01b600052603260045260246000fd5b9060005260206000200160018154811061128657634e487b7160e01b600052603260045260246000fd5b60009182526020909120015461129c878461162c565b10611325576113226107ab600a83815481106112c857634e487b7160e01b600052603260045260246000fd5b906000526020600020016001815481106112f257634e487b7160e01b600052603260045260246000fd5b90600052602060002001546107a588600a868154811061075657634e487b7160e01b600052603260045260246000fd5b92505b600a818154811061134657634e487b7160e01b600052603260045260246000fd5b9060005260206000200160018154811061137057634e487b7160e01b600052603260045260246000fd5b600091825260209091200154611386878461162c565b10156113c4576113c16107ab61139c888561162c565b6107a588600a868154811061075657634e487b7160e01b600052603260045260246000fd5b92505b600a81815481106113e557634e487b7160e01b600052603260045260246000fd5b9060005260206000200160018154811061140f57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154826114259190612340565b915080611431816123e9565b915050611225565b60008061144461100e565b905060006114528285611559565b90508042101561146757600092505050610a15565b6000611473428361162c565b9050600061148f60016114898462015180611644565b90611559565b9695505050505050565b6114a1611650565b6001600160a01b03166114b2610cf8565b6001600160a01b0316146114d85760405162461bcd60e51b815260040161060c90611ffc565b6001600160a01b0381166114fe5760405162461bcd60e51b815260040161060c90611e6a565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60006115658284612340565b9392505050565b6001600160a01b0382166115925760405162461bcd60e51b815260040161060c90612239565b61159e60008383611a65565b80600360008282546115b09190612340565b90915550506001600160a01b038216600090815260016020526040812080548392906115dd908490612340565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906116209085906122bc565b60405180910390a35050565b60006115658284612397565b60006115658284612378565b60006115658284612358565b3390565b6001600160a01b03831661167a5760405162461bcd60e51b815260040161060c90612161565b6001600160a01b0382166116a05760405162461bcd60e51b815260040161060c90611eb0565b6001600160a01b0380841660008181526002602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906116fb9085906122bc565b60405180910390a3505050565b6001600160a01b03831661172e5760405162461bcd60e51b815260040161060c9061211c565b6001600160a01b0382166117545760405162461bcd60e51b815260040161060c90611de5565b61175f838383611a65565b6001600160a01b038316600090815260016020526040902054818110156117985760405162461bcd60e51b815260040161060c90611f6e565b6117a28282612397565b6001600160a01b0380861660009081526001602052604080822093909355908516815290812080548492906117d8908490612340565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161182291906122bc565b60405180910390a350505050565b600061104c826118408686611638565b90611644565b6001600160a01b03821661186c5760405162461bcd60e51b815260040161060c906120db565b61187882600083611a65565b6001600160a01b038216600090815260016020526040902054818110156118b15760405162461bcd60e51b815260040161060c90611e28565b6118bb8282612397565b6001600160a01b038416600090815260016020526040812091909155600380548492906118e9908490612397565b90915550506040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906116fb9086906122bc565b6001600160a01b038616600090815260066020526040902060010154156119655760405162461bcd60e51b815260040161060c906121a5565b600061196f61100e565b905060006040518060e00160405280896001600160a01b031681526020018881526020018781526020016119ac878561155990919063ffffffff16565b815260208082018890528615156040808401919091528615156060938401526001600160a01b038c8116600090815260068452829020855181546001600160a01b031916921691909117815591840151600183015583015160028201559082015160038201556080820151600482015560a08201516005909101805460c084015160ff199091169215159290921761ff001916610100921515929092029190911790559050611a5b8888611abb565b5050505050505050565b611a6e83611197565b611a8a5760405162461bcd60e51b815260040161060c90612031565b611a948382611069565b611ab05760405162461bcd60e51b815260040161060c90611f29565b610c80838383610c80565b6000611ac5610591565b9050611ad18183611559565b611ad96109de565b1015611af75760405162461bcd60e51b815260040161060c90612060565b610c80838361156c565b80356001600160a01b0381168114610a1557600080fd5b600082601f830112611b28578081fd5b81356020611b3d611b388361231c565b6122f2565b8281528181019085830183850287018401881015611b59578586fd5b855b85811015611b7757813584529284019290840190600101611b5b565b5090979650505050505050565b600060208284031215611b95578081fd5b61156582611b01565b60008060408385031215611bb0578081fd5b611bb983611b01565b9150611bc760208401611b01565b90509250929050565b600080600060608486031215611be4578081fd5b611bed84611b01565b9250611bfb60208501611b01565b9150604084013590509250925092565b60008060408385031215611c1d578182fd5b611c2683611b01565b946020939093013593505050565b600080600060608486031215611c48578283fd5b833567ffffffffffffffff80821115611c5f578485fd5b818601915086601f830112611c72578485fd5b81356020611c82611b388361231c565b82815281810190858301838502870184018c1015611c9e57898afd5b8996505b84871015611cc757611cb381611b01565b835260019690960195918301918301611ca2565b5097505087013592505080821115611cdd578384fd5b50611cea86828701611b18565b925050604084013590509250925092565b600060208284031215611d0c578081fd5b5035919050565b60008060408385031215611d25578182fd5b50508035926020909101359150565b6001600160a01b0391909116815260200190565b6001600160a01b039790971687526020870195909552604086019390935260608501919091526080840152151560a0830152151560c082015260e00190565b901515815260200190565b6000602080835283518082850152825b81811015611dbe57858101830151858201604001528201611da2565b81811115611dcf5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604082015261636560f01b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526017908201527f56657374696e6720747970652069736e7420666f756e64000000000000000000604082015260600190565b60208082526025908201527f556e61626c6520746f207472616e736665722c206e6f7420756e6c6f636b6564604082015264103cb2ba1760d91b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601590820152742a34329030b1b1b7bab73a1034b990333937bd32b760591b604082015260600190565b60208082526018908201527f4d6178696d756d20737570706c79206578636565646564210000000000000000604082015260600190565b60208082526024908201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604082015263616e636560e01b606082015260800190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252602f908201527f56657374696e672077616c6c657420616c72656164792063726561746564206660408201526e6f722074686973206164647265737360881b606082015260800190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b6020808252602c908201527f4164647265737320616e6420746f74616c416d6f756e7473206c656e6774682060408201526b6d7573742062652073616d6560a01b606082015260800190565b90815260200190565b9384526020840192909252151560408301521515606082015260800190565b60ff91909116815260200190565b60405181810167ffffffffffffffff811182821017156123145761231461241a565b604052919050565b600067ffffffffffffffff8211156123365761233661241a565b5060209081020190565b6000821982111561235357612353612404565b500190565b60008261237357634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561239257612392612404565b500290565b6000828210156123a9576123a9612404565b500390565b6002810460018216806123c257607f821691505b602082108114156123e357634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156123fd576123fd612404565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220441c7855bef91e3969e2578be48218305906b0b2ad3dbf633dfc6c20ebd1c07564736f6c63430008000033

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.