ETH Price: $2,742.78 (+2.82%)
Gas: 0.69 Gwei

Token

Gyrowin (GW)
 

Overview

Max Total Supply

5,000,000,000 GW

Holders

37 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
25,526.196921775585656995 GW

Value
$0.00
0x751a2bbd09d65497ddd597d666d925142e8cf62a
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Gyrowin

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : gyrowin(current-bsc).sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity = 0.8.19;

import "@openzeppelin/[email protected]/utils/Address.sol";
import "@openzeppelin/[email protected]/token/ERC20/extensions/IERC20Permit.sol";
import "@openzeppelin/[email protected]/token/ERC20/IERC20.sol";
import "@openzeppelin/[email protected]/token/ERC20/utils/SafeERC20.sol";

/**
* Welcome to Gyrowin,
* Gyrowin is a decentralised cross-chain gaming and defi platform,
* which let's user play lottery and earn interest on their winnings
* through lending available within the platform.
* Users will also be able to borrow token to play lottery with zero liquidation on their collateral.
* Moreover, Gyrowin also introduces the new fun way to stake Gyrowin token in Binance chain
* with multiple rewards sources resulting in higher yield for the participants.
* https://gyro.win
*/
contract Gyrowin {

    string public constant name = "Gyrowin";
    string public constant symbol = "GW";
    uint8 public constant decimals = 18;
    uint256 public constant MAX_TOTAL_SUPPLY = 5 * 10 ** (decimals + 9); // 5 billion Gyrowin

    // totalSupply denotes tokens that have been mined and locked including circulatingSupply
    uint256 private _totalSupply;

    // circulatingSupply denotes tokens that currently exists in circulation
    uint256 public circulatingSupply;

    // notice An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);
    // notice An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance);
    event Transfer(address indexed from, address indexed to, uint256 amount);
    event Approval(address indexed owner, address indexed spender, uint256 amount);
    event NewOwner(address oldOwner, address newOwner);
    event NewTreasury(address oldTreasury, address NewTreasury);
    /// @notice An event thats emittied when users are able to trade token
    event TradingOpen(uint256 indexed openTime);
    /// @notice An event thats emitted when token are locked and circulating supply in decreased
    event LockInfo(address indexed account, uint256 amount, uint256 lockTime);
    /// @notice An event thats emitted when token are unlocked and circulating supply in increased back again
    event UnlockInfo(address indexed account, uint256 amount, uint256 lockTime);
    event GasPriceLimit(uint256 indexed);
    event Fee(uint256 indexed);

    /// @notice owner of the contract
    /// @dev should be multisig address
    address private _owner;

    address private constant DEAD_ADDRESS = 0x000000000000000000000000000000000000dEaD;

    // treasury account
    address private _treasury;

    /// @notice list vesting contract address
    mapping(address => bool) private _vestingCA;

    /// @notice list freeezelock contract address
    mapping(address => bool) private _freezeLockCA;


    /**
     * @notice Construct a new Gyrowin token
    */
    bool private _initialize;
    function initialize(address owner, address pair, address treasury) external {
        require(owner == address(0x05803c32E393765a204e22fCF560421729cbCA42), "GW: !owner");
        require(treasury != address(0), "GW: can't be the zero address");
        require(!_initialize, "GW: initialized");
        _owner = owner;
        _balance[_msgSender()] = MAX_TOTAL_SUPPLY;

        _totalSupply = MAX_TOTAL_SUPPLY;
        circulatingSupply = MAX_TOTAL_SUPPLY;

        /// @notice buy/sell fee 1%
        _fee = 1;
        _gasPriceLimit = 5000000000 wei;
        _swapPair[pair] = true;

        _treasury = treasury;

        _initialize = true;
    }

    receive() payable external {}

    modifier onlyOwner() {
        require(_owner == _msgSender(), "GW: !owner"); _;
    }

    modifier onlyLockCA() {
        require(isFreezeLockCA(_msgSender()) || isVestingCA(_msgSender()), "GW: no lock contract"); _;
    }

    using SafeERC20 for IERC20;

    uint256 public _fee;

    /// @notice store trading start block by getLaunchBlock function
    uint256 private launchBlock;

    /// @notice status of getting launch block
    bool private _getLaunchBlock;

    /// @notice initial gas price limit
    uint256 private _gasPriceLimit;

    /// @notice status of buy/sell fee
    bool private lockedFee;

    /// @notice status of MEV restriction
    bool private releasedMEV;

    /// @notice list token pair contract address
    mapping(address => bool) private _swapPair;

    /// @notice limited gas price for mev
    mapping(address => bool) private _mev;

    /// @notice notice Official record of token balances for each account
    mapping(address => uint256) private _balance;

    /// @notice notice Allowance amounts on behalf of others
    mapping(address => mapping(address => uint256)) private _allowance;

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

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

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

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

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

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

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

    /// @notice The totalSupply method denotes the current circulating total supply of the tokens including lock
    function totalSupply() external view returns (uint256) {
        return _totalSupply;
    }

    
    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool) {
        _approve(_msgSender(), spender, amount);

        return true;
    }


     /**
     * @notice Get the number of tokens `spender` is approved to spend on behalf of `account`
     * @param owner The address of the account holding the funds
     * @param spender The address of the account spending the funds
     * @return The number of tokens approved
     */
    function allowance(address owner, address spender) external view returns (uint256) {
        return _allowance[owner][spender];
    }


    // This is an alternative to {approve} that can be used as a mitigation for problems described in {BEP20-approve}.
    function increaseAllowance(address spender, uint256 addedValue) external virtual returns (bool) {
        _approve(_msgSender(), spender, _allowance[_msgSender()][spender] + (addedValue));

        return true;
    }


    // This is an alternative to {approve} that can be used as a mitigation for problems described in {BEP20-approve}.
    function decreaseAllowance(address spender, uint256 subtractedValue) external virtual returns (bool) {
        uint256 currentAllowance = _allowance[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "GW: decreased allowance below zero");

        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

 
     /**
     * @notice Transfer `amount` tokens from `sender` to `recepient'
     * @param recipient The address of the destination account
     * @param amount The number of tokens to transfer
     * @return Whether or not the transfer succeeded
     */
    function transfer(address recipient, uint256 amount) external returns (bool) {
        require(recipient != address(0), "GW: can't transfer to the zero address");

        _transfer(_msgSender(), recipient, amount);

        return true;
    }


    /**
     * @notice Transfer `amount` tokens from `src` to `dst`
     * @param sender The address of the source account
     * @param recipient The address of the destination account
     * @param amount The number of tokens to transfer
     * @return Whether or not the transfer succeeded
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool) {
        require(recipient != address(0), "GW: can't transfer to the zero address");
        require(sender != address(0), "GW: can't transfer from the zero address");
        
        _spendAllowance(sender, _msgSender(), amount);
        _transfer(sender, recipient, amount);

        return true;
    }


    /**
     * @notice Get the number of tokens held by the `account`
     * @param account The address of the account to get the balance of
     * @return The number of tokens held
     */
    function balanceOf(address account) external view returns (uint256) {
        return _balance[account];
    }


    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {BEP20-_burn}.
     */
    function burn(uint256 amount) external returns (bool) {
        require(_msgSender() != address(0), "GW: burn from the zero address");
        require(_balance[_msgSender()] >= amount, "GW: burn amount exceeds balance");
        
        _burn(_msgSender(), amount);
        return true;
    }

    /**
     * @dev Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function burnFrom(address account, uint256 amount) external returns (bool) {
        require(account != address(0), "GW: burn from the zero address");
        require(_balance[account] >= amount, "GW: burn amount exceeds balance");

        _spendAllowance(account, _msgSender(), amount); // check for the allowance

        _burn(account, amount);

        return true;
    }


    /**
     * @notice Delegate votes from `_msgSender()` to `delegatee`
     * @param delegatee The address to delegate votes to
     */
    function delegate(address delegatee) public {
        return _delegate(_msgSender(), delegatee);
    }

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s) public {
        bytes32 domainSeparator = keccak256(
            abi.encode(
                DOMAIN_TYPEHASH,
                keccak256(bytes(name)),
                getChainId(),
                address(this)
            )
        );
        bytes32 structHash = keccak256(
            abi.encode(DELEGATION_TYPEHASH, delegatee, nonce, expiry)
        );
        bytes32 digest = keccak256(
            abi.encodePacked("\x19\x01", domainSeparator, structHash)
        );
        address signatory = ecrecover(digest, v, r, s);
        require(
            signatory != address(0),
            "GW::delegateBySig: invalid signature"
        );
        require(
            nonce == nonces[signatory]++,
            "GW::delegateBySig: invalid nonce"
        );
        require(
            block.timestamp <= expiry,
            "GW::delegateBySig: signature expired"
        );
        return _delegate(signatory, delegatee);
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account) external view returns (uint256) {
        uint32 nCheckpoints = numCheckpoints[account];
        return
            nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint blockNumber) public view returns (uint256) {
        require(blockNumber < block.number, "GW::getPriorVotes: not yet determined");

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee) internal {
        address currentDelegate = _delegates[delegator];
        uint256 delegatorBalance = _balance[delegator];
        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveDelegates(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveDelegates(address senderRep, address recepientRep, uint256 amount) internal {
        if (senderRep != recepientRep && amount > 0) {
            if (senderRep != address(0)) {
                uint32 senderRepNum = numCheckpoints[senderRep];
                uint256 senderRepOld = senderRepNum > 0
                    ? checkpoints[senderRep][senderRepNum - 1].votes
                    : 0;
                uint256 senderRepNew = senderRepOld - amount;
                _writeCheckpoint(
                    senderRep,
                    senderRepNum,
                    senderRepOld,
                    senderRepNew
                );
            }

            if (recepientRep != address(0)) {
                uint32 recepientRepNum = numCheckpoints[recepientRep];
                uint256 recepientRepOld = recepientRepNum > 0
                    ? checkpoints[recepientRep][recepientRepNum - 1].votes
                    : 0;
                uint256 recepientRepNew = recepientRepOld + amount;
                _writeCheckpoint(
                    recepientRep,
                    recepientRepNum,
                    recepientRepOld,
                    recepientRepNew
                );
            }
        }
    }

    function _writeCheckpoint(address delegatee, uint32 nCheckpoints, uint256 oldVotes, uint256 newVotes) internal {
        uint32 blockNumber = safe32(
            block.number,
            "GW::_writeCheckpoint: block number exceeds 32 bits"
        );

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

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }


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

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


    /**
     * the following features added for standard erc20 _transfer function:
     * check either swap or wallet transfer
     * added buy/sell fee if tranfer is swap
     * the fee goes to treasury account
     * first 4 block numbers has gas price limt after _getLaunchBlock is true
     * and then gas limit for only mev if sender/receipient is in _mev variable
     */
    function _transfer(address sender, address recipient, uint256 amount) internal {
        require(_balance[sender] >= amount, "GW: balance is insufficient");
        require(recipient != address(this), "GW: can not transfer to gw contract");

        // allow for adding lp
        if (launchBlock == 0 && (_swapPair[sender] || _swapPair[recipient])) {
            require(_owner == sender, "GW: !owner");
            _moveDelegates(_delegates[sender], _delegates[recipient], amount);
            transferToken(sender, recipient, amount); 

        // take fees on buy/sell
        } else if (_fee != 0 && (_swapPair[sender] || _swapPair[recipient])) {
            uint256 taxAmount = amount * _fee / 100;
            amount = amount - taxAmount;

            // tax distribute to Money plant
            transferToken(sender, _treasury, taxAmount);

            // help to protect honest holders from front-running
            if (block.number <= launchBlock + 3 && tx.gasprice > _gasPriceLimit) {
                revert("GW: exceeded gas price");
            } else if (
                (_mev[sender] || _mev[recipient]) && 
                _gasPriceLimit != 0 &&
                _gasPriceLimit < tx.gasprice
                ) {
                revert("GW: exceeded gas price");
            }
            _moveDelegates(_delegates[sender], _delegates[recipient], amount);
            transferToken(sender, recipient, amount); 
        
        // no fees on wallet transfer
        } else {
            _moveDelegates(_delegates[sender], _delegates[recipient], amount);
            transferToken(sender, recipient, amount); 
        }
    }


    ///@notice normal token transfer
    function transferToken(address sender, address recipient, uint256 amount) internal {
        unchecked {
            _balance[sender] -= amount;
            _balance[recipient] += amount;
        }

         emit Transfer(sender, recipient, amount);
    }


    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the dead address.
     *
     */
    function _burn(address account, uint256 amount) internal {
        unchecked {
            _balance[account] -= amount;
            circulatingSupply -= amount;
            _totalSupply -= amount;
        }

        emit Transfer(account, DEAD_ADDRESS, amount);

        if (_totalSupply < MAX_TOTAL_SUPPLY * 40 / 100) {
            revert("GW: total supply should be equal to or greater than 2 billion");
        }
    }


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


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


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


    function renounceOwnership(address dead) external onlyOwner() {
        require(dead == address(0), "GW: invalid address");
        _owner = address(0);
    }


    /**
     * @notice change the owner of the contract
     * @dev only callable by the owner
     * @param account new owner address
     */
    function updateOwner(address account) external onlyOwner() {
        require(account != address(0),"GW: invalid owner address");
        _owner = account;

        emit NewOwner(_owner, account);
    }


    /// update treasury account
    /// @dev only callable by the owner
    function updateTreasury(address account) external onlyOwner() {
        require(account != address(0), "GW: can't be zero address");

        _treasury = account;

        emit NewTreasury(_treasury, account);
    }


    /// update freeze contract address
    /// @dev only callable by the owner
    function updateFreezeLockCA(address contractAddr, bool status) external onlyOwner() {
        require(contractAddr != address(0), "GW: can't be zero address");
        require(isContract(contractAddr), "GW: !contract");

        if (status) {
            require(!_freezeLockCA[contractAddr], "GW: already listed");
        }
        _freezeLockCA[contractAddr] = status;
    }

    /// update vesting contract address
    /// @dev only callable by the owner
    function updateVestingCA(address contractAddr, bool status) external onlyOwner() {
        require(contractAddr != address(0), "GW: can't be zero address");
        require(isContract(contractAddr), "GW: !contract");
        
        if (status) {
            require(!_vestingCA[contractAddr], "GW: already listed");
        }
        _vestingCA[contractAddr] = status;
    }


    /// @dev call by the owner modifier
    function isOwner() external view returns (address) {
        return _owner;
    }


    /// @notice check if the address is the treasury account
    function isTreasury() external view returns (address) {
        return _treasury;
    }


    /// @notice check if the address is the vesting contract address
    function isVestingCA(address account) public view returns (bool) {
        return _vestingCA[account];
    }


    /// @notice check if the address is the freezelock contract address
    function isFreezeLockCA(address account) public view returns (bool) {
        return _freezeLockCA[account];
    }


    /**
     * @notice set pair token address
     * @dev only callable by the owner
     * @param account address of the pair
     * @param pair check 
     */
    function setSwapPair(address account, bool pair) external onlyOwner() {
        require(account != address(0), "GW: can't be zero address");
        if (pair) {
            require(!_swapPair[account], "GW: already listed");
        }
        _swapPair[account] = pair;
    }

    /**
     * @notice check if the address is right pair address
     * @param account address of the swap pair
     * @return Account is valid pair or not
     */
    function isSwapPair(address account) external view returns (bool) {
        return _swapPair[account];
    }


    /**
     * @notice set mev to limit the swap gas price
     * @dev this setting is only valid with setGasLimit function and only callable by owner
     * @param account address of the mev
     * @param mev true to set the limit of address swap price
     */
    function setMEV(address[] calldata account, bool mev) external onlyOwner() {
        require(account.length > 0, "GW: empty accounts");
        for (uint256 i = 0; i < account.length; i++) {
            _mev[account[i]] = mev;
        }
    }


    /**
     * @notice set swap gas price limit to prevent mev
     * @dev if gasPriceLimit sets zero then no more limit possible forever with setMEV function
     * and only callable by owner
     * this setting is only valid with setMEV function
     * the minimum gas price is 3gwei
     * @param gasPriceLimit amount of gas limit
     */
    function setGasLimit(uint256 gasPriceLimit) external onlyOwner() {
        require(gasPriceLimit >= 3000000000 wei, "GW: min. gas price limit is 3gwei");
        require(!releasedMEV, "GW: gas price limit renounced with zero");
        _gasPriceLimit = gasPriceLimit;
        if (_gasPriceLimit == 0) {
            // release gas price limit & mev forever
            releasedMEV = true;
        }

        emit GasPriceLimit(_gasPriceLimit);
    }


    /**
     * @notice set fees
     * @dev only callable by the owner
     * @param newFee buy and sell fee for the token
     * - requirements
     * require maximum 1% buy/sell fee
     * require zero buy/sell forever if _fee set to zero
     */
    function setFee(uint256 newFee) public onlyOwner() {
        require(!lockedFee, "GW: fee renounced with zero");
        _fee = newFee;
        if (_fee == 0) {
            // fee to zero forever
            lockedFee = true;
        } else if(_fee > 1) {
            revert("GW: maximum 1% buy/sell fee");
        }

        emit Fee(_fee);
    }


    /**
     * @dev Set when to open trading
     * @dev set block number to check when _getLaunchBlock is true
     * @dev _getLaunchBlock cannot be set false after it started
     */
    function getLaunchBlock(bool status) external onlyOwner() {
        require(!_getLaunchBlock, "GW: not allowed");
        launchBlock = block.number;
        _getLaunchBlock = status;

        emit TradingOpen(block.timestamp);
    }


    // decrease circulating supply by lock 
    function subtractCirculatingSupply(address contractAddr, uint256 amount) external onlyLockCA() {
        require(
            _vestingCA[contractAddr] ||
            _freezeLockCA[contractAddr],
            "GW: invalid contract"
            );
            
        require(amount <= _balance[contractAddr], "GW: amount exceeds balance");
        
        // subtract locked token from circulatingSupply
        circulatingSupply -= amount;

        if (circulatingSupply <= 0) {
            revert("GW: circulating supply can not be zero");
        }

        emit LockInfo(contractAddr, amount, block.timestamp);
    }

    
    // increase circulating supply by unlock    
    function addCirculatingSupply(address contractAddr, uint256 amount) external onlyLockCA() {
        require(
            _vestingCA[contractAddr] ||
            _freezeLockCA[contractAddr],
            "GW: invalid contract"
            );
        require(amount <= _balance[contractAddr], "GW: amount exceeds balance");

        // add unlocked token to circulatingSupply
        circulatingSupply += amount;

        emit UnlockInfo(contractAddr, amount, block.timestamp);
    }


    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `value`.
     *
     * Does not update the allowance value in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 value) internal {
        uint256 currentAllowance = this.allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {

            require(currentAllowance >= value, "GW: insufficent allowance");

            unchecked {
                _approve(owner, spender, currentAllowance - value);
            }
        }
    }


    /**
     * @notice rescue BNB sent to the address
     * @param amount to be retrieved from the contract
     * @param to address of the destination account
     * @dev only callable by the owner
     */
    function rescueBNB(uint256 amount, address payable to) external onlyOwner() {
        require(amount > 0, "GW: zero amount");
        require(to != address(0), "GW: can't be zero address");
        require(amount <= address(this).balance, "GW: insufficient funds");
        to.transfer(amount);
    }

    /**
     * @notice rescue BEP20 token sent to the address
     * @param amount to be retrieved for BEP20 contract
     * @param recipient address of the destination account
     * @dev only callable by the owner
     */
    function rescusBEP20Token(address token, address recipient, uint256 amount) external payable onlyOwner() {
        require(amount > 0, "GW: zero amount");
        require(recipient != address(0), "GW: can't be zero address");
        require(token != address(this), "GW: can not claim contract's own tokens");
        require(amount <= IERC20(token).balanceOf(address(this)), "GW: insufficient funds");

        IERC20(token).safeTransfer(recipient, amount);
    }   


    /**
     * @notice check if the address is contract
     * @param contractAddr address of the contract
     * @return check true if contractAddr is a contract
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     * 
     * @dev Among others, `isContract` will return false for the following
     * types of addresses:
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed

     */
    function isContract(address contractAddr) private view returns (bool check) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;

        assembly {
            codehash := extcodehash(contractAddr)
        }
        return (codehash != accountHash && codehash != 0x0);
    } 
}


pragma solidity = 0.8.19;

// Creator: 0xe048da82E00cA18Be546Ec558FACd95E03346b94
// Factory CA: 0x738C0069FcA8D8762c08B99d3fcA3dF4006E0c12
// nonce: 10
// Salt: 40023785230  Address: 0x77774A06271d6A305CAccDBc06f847DEF05c7777
/**
 * remove Factory ca when you verify it
 * factory ca should be the same nonce with the same addr to match the deploy ca between bsc and eth.
 * thus, you can use any wallet for factory owner after you got the factory ca.
*/
contract Factory{
    address public owner = 0x05803c32E393765a204e22fCF560421729cbCA42;

    event Deployed(address indexed Factory);
    
    // we need bytecode of the contract to be deployed along with the constructor parameters
    function getBytecode() public pure returns (bytes memory){
        return type(Gyrowin).creationCode;
    }

    //compute the deployment address
    function computeAddress(bytes memory _byteCode, uint256 _salt)public view returns (address ){
        require(msg.sender == owner, "wazup");
        bytes32 hash_ = keccak256(abi.encodePacked(bytes1(0xff),address(this),_salt,keccak256(_byteCode)));
        return address(uint160(uint256(hash_)));
    }

    //deploy the contract and check the event for the deployed address
    function deploy(bytes memory _byteCode, uint256 _salt)public payable{
        require(msg.sender == owner, "wazup");
        address depAddr;

        assembly{
            depAddr:= create2(callvalue(),add(_byteCode,0x20), mload(_byteCode), _salt)
        if iszero(extcodesize(depAddr)){
            revert(0,0)
        }

        }
        emit Deployed(depAddr);
    }

    function changeOwner(address newOwner) external {
        require(newOwner != address(0));
        require(msg.sender == owner, "wazup");
        owner = newOwner;
    }
}

File 2 of 5 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

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

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

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

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"","type":"uint256"}],"name":"Fee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"","type":"uint256"}],"name":"GasPriceLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lockTime","type":"uint256"}],"name":"LockInfo","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"NewOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldTreasury","type":"address"},{"indexed":false,"internalType":"address","name":"NewTreasury","type":"address"}],"name":"NewTreasury","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"openTime","type":"uint256"}],"name":"TradingOpen","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":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lockTime","type":"uint256"}],"name":"UnlockInfo","type":"event"},{"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddr","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"addCirculatingSupply","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint256","name":"votes","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"circulatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"getLaunchBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"pair","type":"address"},{"internalType":"address","name":"treasury","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isFreezeLockCA","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isSwapPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTreasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isVestingCA","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":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"dead","type":"address"}],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address payable","name":"to","type":"address"}],"name":"rescueBNB","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescusBEP20Token","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"gasPriceLimit","type":"uint256"}],"name":"setGasLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"account","type":"address[]"},{"internalType":"bool","name":"mev","type":"bool"}],"name":"setMEV","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"pair","type":"bool"}],"name":"setSwapPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddr","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"subtractCirculatingSupply","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":"contractAddr","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"updateFreezeLockCA","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"updateOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"updateTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddr","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"updateVestingCA","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b506137ff806100206000396000f3fe6080604052600436106102815760003560e01c80637f51bb1f1161014f578063c0c53b8b116100c1578063d4246ba51161007a578063d4246ba51461086b578063dd62ed3e1461088b578063e796cebe146108d1578063e7a324dc1461090a578063ee7d72b41461093e578063f1127ed81461095e57600080fd5b8063c0c53b8b1461079c578063c3cda520146107bc578063c3e0dbe9146107dc578063c5b37c22146107fc578063c950584914610812578063d3aa73a31461084b57600080fd5b80639358928b116101135780639358928b146106bf57806395d89b41146106d55780639efdefba14610703578063a457c2d71461073c578063a9059cbb1461075c578063b4b5ea571461077c57600080fd5b80637f51bb1f146106235780638348a28814610643578063842a3bdd14610663578063880cdc31146106815780638f32d59b146106a157600080fd5b806342239927116101f35780636fcfff45116101ac5780636fcfff45146105255780637029948c1461056d57806370a0823114610580578063782d6fe1146105b657806379cc6790146105d65780637ecebe00146105f657600080fd5b8063422399271461043757806342966c681461048557806355c79ab8146104a55780635c19a95c146104c55780636273a8a8146104e557806369fe0e2d1461050557600080fd5b806323b872dd1161024557806323b872dd1461037b578063313ce5671461039b57806333039d3d146103c257806338bf3cfa146103d757806339509351146103f7578063408d78a51461041757600080fd5b806306fdde031461028d578063093064ac146102d6578063095ea7b3146102f857806318160ddd1461032857806320606b701461034757600080fd5b3661028857005b600080fd5b34801561029957600080fd5b506102c06040518060400160405280600781526020016623bcb937bbb4b760c91b81525081565b6040516102cd9190613116565b60405180910390f35b3480156102e257600080fd5b506102f66102f136600461316c565b6109c2565b005b34801561030457600080fd5b506103186103133660046131a5565b610aca565b60405190151581526020016102cd565b34801561033457600080fd5b506000545b6040519081526020016102cd565b34801561035357600080fd5b506103397f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b34801561038757600080fd5b506103186103963660046131d1565b610ae1565b3480156103a757600080fd5b506103b0601281565b60405160ff90911681526020016102cd565b3480156103ce57600080fd5b50610339610b91565b3480156103e357600080fd5b506102f66103f2366004613212565b610bb6565b34801561040357600080fd5b506103186104123660046131a5565b610c40565b34801561042357600080fd5b506102f661043236600461316c565b610c7c565b34801561044357600080fd5b5061046d610452366004613212565b6010602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016102cd565b34801561049157600080fd5b506103186104a036600461322f565b610d7b565b3480156104b157600080fd5b506102f66104c0366004613248565b610e3b565b3480156104d157600080fd5b506102f66104e0366004613212565b610f1e565b3480156104f157600080fd5b506102f66105003660046132ce565b610f2b565b34801561051157600080fd5b506102f661052036600461322f565b610fda565b34801561053157600080fd5b50610558610540366004613212565b60126020526000908152604090205463ffffffff1681565b60405163ffffffff90911681526020016102cd565b6102f661057b3660046131d1565b6110f9565b34801561058c57600080fd5b5061033961059b366004613212565b6001600160a01b03166000908152600e602052604090205490565b3480156105c257600080fd5b506103396105d13660046131a5565b6112bc565b3480156105e257600080fd5b506103186105f13660046131a5565b611522565b34801561060257600080fd5b50610339610611366004613212565b60136020526000908152604090205481565b34801561062f57600080fd5b506102f661063e366004613212565b6115f6565b34801561064f57600080fd5b506102f661065e36600461316c565b6116a2565b34801561066f57600080fd5b506003546001600160a01b031661046d565b34801561068d57600080fd5b506102f661069c366004613212565b61175c565b3480156106ad57600080fd5b506002546001600160a01b031661046d565b3480156106cb57600080fd5b5061033960015481565b3480156106e157600080fd5b506102c060405180604001604052806002815260200161475760f01b81525081565b34801561070f57600080fd5b5061031861071e366004613212565b6001600160a01b031660009081526004602052604090205460ff1690565b34801561074857600080fd5b506103186107573660046131a5565b611831565b34801561076857600080fd5b506103186107773660046131a5565b6118bd565b34801561078857600080fd5b50610339610797366004613212565b6118f0565b3480156107a857600080fd5b506102f66107b73660046132eb565b611965565b3480156107c857600080fd5b506102f66107d736600461332b565b611b31565b3480156107e857600080fd5b506102f66107f736600461338d565b611e0b565b34801561080857600080fd5b5061033960075481565b34801561081e57600080fd5b5061031861082d366004613212565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561085757600080fd5b506102f66108663660046131a5565b611f1c565b34801561087757600080fd5b506102f66108863660046131a5565b6120c0565b34801561089757600080fd5b506103396108a63660046133b2565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b3480156108dd57600080fd5b506103186108ec366004613212565b6001600160a01b03166000908152600c602052604090205460ff1690565b34801561091657600080fd5b506103397fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b34801561094a57600080fd5b506102f661095936600461322f565b6122ba565b34801561096a57600080fd5b506109a66109793660046133e0565b60116020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6040805163ffffffff90931683526020830191909152016102cd565b6002546001600160a01b031633146109f55760405162461bcd60e51b81526004016109ec90613417565b60405180910390fd5b6001600160a01b038216610a1b5760405162461bcd60e51b81526004016109ec9061343b565b610a24826123f7565b610a605760405162461bcd60e51b815260206004820152600d60248201526c11d5ce880858dbdb9d1c9858dd609a1b60448201526064016109ec565b8015610a9f576001600160a01b03821660009081526004602052604090205460ff1615610a9f5760405162461bcd60e51b81526004016109ec90613472565b6001600160a01b03919091166000908152600460205260409020805460ff1916911515919091179055565b6000610ad7338484612433565b5060015b92915050565b60006001600160a01b038316610b095760405162461bcd60e51b81526004016109ec9061349e565b6001600160a01b038416610b705760405162461bcd60e51b815260206004820152602860248201527f47573a2063616e2774207472616e736665722066726f6d20746865207a65726f604482015267206164647265737360c01b60648201526084016109ec565b610b7c84335b846124e1565b610b878484846125bc565b5060019392505050565b610b9d601260096134fa565b610ba890600a6135f7565b610bb3906005613606565b81565b6002546001600160a01b03163314610be05760405162461bcd60e51b81526004016109ec90613417565b6001600160a01b03811615610c2d5760405162461bcd60e51b815260206004820152601360248201527247573a20696e76616c6964206164647265737360681b60448201526064016109ec565b50600280546001600160a01b0319169055565b336000818152600f602090815260408083206001600160a01b03871684529091528120549091610ad7918590610c7790869061361d565b612433565b6002546001600160a01b03163314610ca65760405162461bcd60e51b81526004016109ec90613417565b6001600160a01b038216610ccc5760405162461bcd60e51b81526004016109ec9061343b565b610cd5826123f7565b610d115760405162461bcd60e51b815260206004820152600d60248201526c11d5ce880858dbdb9d1c9858dd609a1b60448201526064016109ec565b8015610d50576001600160a01b03821660009081526005602052604090205460ff1615610d505760405162461bcd60e51b81526004016109ec90613472565b6001600160a01b03919091166000908152600560205260409020805460ff1916911515919091179055565b600033610dca5760405162461bcd60e51b815260206004820152601e60248201527f47573a206275726e2066726f6d20746865207a65726f2061646472657373000060448201526064016109ec565b336000908152600e6020526040902054821115610e295760405162461bcd60e51b815260206004820152601f60248201527f47573a206275726e20616d6f756e7420657863656564732062616c616e63650060448201526064016109ec565b610e333383612914565b506001919050565b6002546001600160a01b03163314610e655760405162461bcd60e51b81526004016109ec90613417565b81610ea75760405162461bcd60e51b815260206004820152601260248201527147573a20656d707479206163636f756e747360701b60448201526064016109ec565b60005b82811015610f185781600d6000868685818110610ec957610ec9613630565b9050602002016020810190610ede9190613212565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610f1081613646565b915050610eaa565b50505050565b610f283382612a36565b50565b6002546001600160a01b03163314610f555760405162461bcd60e51b81526004016109ec90613417565b60095460ff1615610f9a5760405162461bcd60e51b815260206004820152600f60248201526e11d5ce881b9bdd08185b1b1bddd959608a1b60448201526064016109ec565b436008556009805460ff191682151517905560405142907f8c4a5ff44ee79dc94833fe49997e65da03b9b0197678252a1f4869d03647652590600090a250565b6002546001600160a01b031633146110045760405162461bcd60e51b81526004016109ec90613417565b600b5460ff16156110575760405162461bcd60e51b815260206004820152601b60248201527f47573a206665652072656e6f756e6365642077697468207a65726f000000000060448201526064016109ec565b6007819055600081900361107757600b805460ff191660011790556110ca565b600160075411156110ca5760405162461bcd60e51b815260206004820152601b60248201527f47573a206d6178696d756d203125206275792f73656c6c20666565000000000060448201526064016109ec565b6007546040517f557809284da7314475b1582804ae28e5f1349efc1fe970ea25d50fce75eb4f4390600090a250565b6002546001600160a01b031633146111235760405162461bcd60e51b81526004016109ec90613417565b600081116111655760405162461bcd60e51b815260206004820152600f60248201526e11d5ce881e995c9bc8185b5bdd5b9d608a1b60448201526064016109ec565b6001600160a01b03821661118b5760405162461bcd60e51b81526004016109ec9061343b565b306001600160a01b038416036111f35760405162461bcd60e51b815260206004820152602760248201527f47573a2063616e206e6f7420636c61696d20636f6e74726163742773206f776e60448201526620746f6b656e7360c81b60648201526084016109ec565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa158015611237573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125b919061365f565b8111156112a35760405162461bcd60e51b815260206004820152601660248201527547573a20696e73756666696369656e742066756e647360501b60448201526064016109ec565b6112b76001600160a01b0384168383612ab0565b505050565b600043821061131b5760405162461bcd60e51b815260206004820152602560248201527f47573a3a6765745072696f72566f7465733a206e6f74207965742064657465726044820152641b5a5b995960da1b60648201526084016109ec565b6001600160a01b03831660009081526012602052604081205463ffffffff169081900361134c576000915050610adb565b6001600160a01b03841660009081526011602052604081208491611371600185613678565b63ffffffff908116825260208201929092526040016000205416116113da576001600160a01b0384166000908152601160205260408120906113b4600184613678565b63ffffffff1663ffffffff16815260200190815260200160002060010154915050610adb565b6001600160a01b038416600090815260116020908152604080832083805290915290205463ffffffff16831015611415576000915050610adb565b600080611423600184613678565b90505b8163ffffffff168163ffffffff1611156114eb57600060026114488484613678565b61145291906136b2565b61145c9083613678565b6001600160a01b038816600090815260116020908152604080832063ffffffff80861685529083529281902081518083019092528054909316808252600190930154918101919091529192508790036114bf57602001519450610adb9350505050565b805163ffffffff168711156114d6578193506114e4565b6114e1600183613678565b92505b5050611426565b506001600160a01b038516600090815260116020908152604080832063ffffffff9094168352929052206001015491505092915050565b60006001600160a01b03831661157a5760405162461bcd60e51b815260206004820152601e60248201527f47573a206275726e2066726f6d20746865207a65726f2061646472657373000060448201526064016109ec565b6001600160a01b0383166000908152600e60205260409020548211156115e25760405162461bcd60e51b815260206004820152601f60248201527f47573a206275726e20616d6f756e7420657863656564732062616c616e63650060448201526064016109ec565b6115ec8333610b76565b610ad78383612914565b6002546001600160a01b031633146116205760405162461bcd60e51b81526004016109ec90613417565b6001600160a01b0381166116465760405162461bcd60e51b81526004016109ec9061343b565b600380546001600160a01b0319166001600160a01b0383169081179091556040805182815260208101929092527f567657fa3f286518b318f4a29870674f433f622fdfc819691acb13105b22822591015b60405180910390a150565b6002546001600160a01b031633146116cc5760405162461bcd60e51b81526004016109ec90613417565b6001600160a01b0382166116f25760405162461bcd60e51b81526004016109ec9061343b565b8015611731576001600160a01b0382166000908152600c602052604090205460ff16156117315760405162461bcd60e51b81526004016109ec90613472565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b6002546001600160a01b031633146117865760405162461bcd60e51b81526004016109ec90613417565b6001600160a01b0381166117dc5760405162461bcd60e51b815260206004820152601960248201527f47573a20696e76616c6964206f776e657220616464726573730000000000000060448201526064016109ec565b600280546001600160a01b0319166001600160a01b0383169081179091556040805182815260208101929092527f70aea8d848e8a90fb7661b227dc522eb6395c3dac71b63cb59edd5c9899b23649101611697565b336000908152600f602090815260408083206001600160a01b0386168452909152812054828110156118b05760405162461bcd60e51b815260206004820152602260248201527f47573a2064656372656173656420616c6c6f77616e63652062656c6f77207a65604482015261726f60f01b60648201526084016109ec565b610b873385858403612433565b60006001600160a01b0383166118e55760405162461bcd60e51b81526004016109ec9061349e565b610ad73384846125bc565b6001600160a01b03811660009081526012602052604081205463ffffffff168061191b57600061195e565b6001600160a01b03831660009081526011602052604081209061193f600184613678565b63ffffffff1663ffffffff168152602001908152602001600020600101545b9392505050565b6001600160a01b0383167305803c32e393765a204e22fcf560421729cbca42146119a15760405162461bcd60e51b81526004016109ec90613417565b6001600160a01b0381166119f75760405162461bcd60e51b815260206004820152601d60248201527f47573a2063616e277420626520746865207a65726f206164647265737300000060448201526064016109ec565b60065460ff1615611a3c5760405162461bcd60e51b815260206004820152600f60248201526e11d5ce881a5b9a5d1a585b1a5e9959608a1b60448201526064016109ec565b600280546001600160a01b0319166001600160a01b038516179055611a63601260096134fa565b611a6e90600a6135f7565b611a79906005613606565b336000908152600e6020526040902055611a95601260096134fa565b611aa090600a6135f7565b611aab906005613606565b600055611aba601260096134fa565b611ac590600a6135f7565b611ad0906005613606565b6001908155600781905564012a05f200600a556001600160a01b039283166000908152600c60205260409020805460ff199081168317909155600380546001600160a01b031916939094169290921790925560068054909116909117905550565b604080518082018252600781526623bcb937bbb4b760c91b60209182015281517f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866818301527f8b9f72504fe9b6f31eb450093cba2877b74a7dac63f85fe9024163bd034f5abe81840152466060820152306080808301919091528351808303909101815260a0820184528051908301207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08301526001600160a01b038a1660e083015261010082018990526101208083018990528451808403909101815261014083019094528351939092019290922061190160f01b6101608401526101628301829052610182830181905290916000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015611cb3573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611d225760405162461bcd60e51b8152602060048201526024808201527f47573a3a64656c656761746542795369673a20696e76616c6964207369676e616044820152637475726560e01b60648201526084016109ec565b6001600160a01b0381166000908152601360205260408120805491611d4683613646565b919050558914611d985760405162461bcd60e51b815260206004820181905260248201527f47573a3a64656c656761746542795369673a20696e76616c6964206e6f6e636560448201526064016109ec565b87421115611df45760405162461bcd60e51b8152602060048201526024808201527f47573a3a64656c656761746542795369673a207369676e6174757265206578706044820152631a5c995960e21b60648201526084016109ec565b611dfe818b612a36565b505050505b505050505050565b6002546001600160a01b03163314611e355760405162461bcd60e51b81526004016109ec90613417565b60008211611e775760405162461bcd60e51b815260206004820152600f60248201526e11d5ce881e995c9bc8185b5bdd5b9d608a1b60448201526064016109ec565b6001600160a01b038116611e9d5760405162461bcd60e51b81526004016109ec9061343b565b47821115611ee65760405162461bcd60e51b815260206004820152601660248201527547573a20696e73756666696369656e742066756e647360501b60448201526064016109ec565b6040516001600160a01b0382169083156108fc029084906000818181858888f193505050501580156112b7573d6000803e3d6000fd5b611f253361082d565b80611f345750611f343361071e565b611f775760405162461bcd60e51b815260206004820152601460248201527311d5ce881b9bc81b1bd8dac818dbdb9d1c9858dd60621b60448201526064016109ec565b6001600160a01b03821660009081526004602052604090205460ff1680611fb657506001600160a01b03821660009081526005602052604090205460ff165b611ff95760405162461bcd60e51b815260206004820152601460248201527311d5ce881a5b9d985b1a590818dbdb9d1c9858dd60621b60448201526064016109ec565b6001600160a01b0382166000908152600e60205260409020548111156120615760405162461bcd60e51b815260206004820152601a60248201527f47573a20616d6f756e7420657863656564732062616c616e636500000000000060448201526064016109ec565b8060016000828254612073919061361d565b9091555050604080518281524260208201526001600160a01b038416917ff1e5f4f38712fdf4f99f4c90c6a3441dbc158a2f5ce88b72964d6d1473a9b0d791015b60405180910390a25050565b6120c93361082d565b806120d857506120d83361071e565b61211b5760405162461bcd60e51b815260206004820152601460248201527311d5ce881b9bc81b1bd8dac818dbdb9d1c9858dd60621b60448201526064016109ec565b6001600160a01b03821660009081526004602052604090205460ff168061215a57506001600160a01b03821660009081526005602052604090205460ff165b61219d5760405162461bcd60e51b815260206004820152601460248201527311d5ce881a5b9d985b1a590818dbdb9d1c9858dd60621b60448201526064016109ec565b6001600160a01b0382166000908152600e60205260409020548111156122055760405162461bcd60e51b815260206004820152601a60248201527f47573a20616d6f756e7420657863656564732062616c616e636500000000000060448201526064016109ec565b806001600082825461221791906136d5565b909155505060015461227a5760405162461bcd60e51b815260206004820152602660248201527f47573a2063697263756c6174696e6720737570706c792063616e206e6f74206260448201526565207a65726f60d01b60648201526084016109ec565b604080518281524260208201526001600160a01b038416917f99c41df3bbc01305d045442ab3e5c03e958a726766f00f1d03cfec01ea36fa0b91016120b4565b6002546001600160a01b031633146122e45760405162461bcd60e51b81526004016109ec90613417565b63b2d05e008110156123425760405162461bcd60e51b815260206004820152602160248201527f47573a206d696e2e20676173207072696365206c696d697420697320336777656044820152606960f81b60648201526084016109ec565b600b54610100900460ff16156123aa5760405162461bcd60e51b815260206004820152602760248201527f47573a20676173207072696365206c696d69742072656e6f756e6365642077696044820152667468207a65726f60c81b60648201526084016109ec565b600a81905560008190036123c857600b805461ff0019166101001790555b600a546040517fdd97ddc812610d2178ed786c8b5b24fc59f1078d55429418ceb07f8fc890464e90600090a250565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061242b57508115155b949350505050565b6001600160a01b0383166124595760405162461bcd60e51b81526004016109ec906136e8565b6001600160a01b03821661247f5760405162461bcd60e51b81526004016109ec906136e8565b6001600160a01b038381166000818152600f602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b604051636eb1769f60e11b81526001600160a01b03808516600483015283166024820152600090309063dd62ed3e90604401602060405180830381865afa158015612530573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612554919061365f565b90506000198114610f1857818110156125af5760405162461bcd60e51b815260206004820152601960248201527f47573a20696e737566666963656e7420616c6c6f77616e63650000000000000060448201526064016109ec565b610f188484848403612433565b6001600160a01b0383166000908152600e60205260409020548111156126245760405162461bcd60e51b815260206004820152601b60248201527f47573a2062616c616e636520697320696e73756666696369656e74000000000060448201526064016109ec565b306001600160a01b038316036126885760405162461bcd60e51b815260206004820152602360248201527f47573a2063616e206e6f74207472616e7366657220746f20677720636f6e74726044820152621858dd60ea1b60648201526084016109ec565b6008541580156126d257506001600160a01b0383166000908152600c602052604090205460ff16806126d257506001600160a01b0382166000908152600c602052604090205460ff165b15612741576002546001600160a01b038481169116146127045760405162461bcd60e51b81526004016109ec90613417565b6001600160a01b0380841660009081526010602052604080822054858416835291205461273692918216911683612b02565b6112b7838383612c61565b6007541580159061278c57506001600160a01b0383166000908152600c602052604090205460ff168061278c57506001600160a01b0382166000908152600c602052604090205460ff165b156127045760006064600754836127a39190613606565b6127ad919061372d565b90506127b981836136d5565b6003549092506127d49085906001600160a01b031683612c61565b6008546127e290600361361d565b43111580156127f25750600a543a115b156128385760405162461bcd60e51b815260206004820152601660248201527547573a2065786365656465642067617320707269636560501b60448201526064016109ec565b6001600160a01b0384166000908152600d602052604090205460ff168061287757506001600160a01b0383166000908152600d602052604090205460ff165b80156128845750600a5415155b801561289157503a600a54105b156128d75760405162461bcd60e51b815260206004820152601660248201527547573a2065786365656465642067617320707269636560501b60448201526064016109ec565b6001600160a01b0380851660009081526010602052604080822054868416835291205461290992918216911684612b02565b610f18848484612c61565b6001600160a01b0382166000818152600e60205260408082208054859003905560018054859003905581548490039091555161dead91907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061297a9085815260200190565b60405180910390a36064612990601260096134fa565b61299b90600a6135f7565b6129a6906005613606565b6129b1906028613606565b6129bb919061372d565b6000541015612a325760405162461bcd60e51b815260206004820152603d60248201527f47573a20746f74616c20737570706c792073686f756c6420626520657175616c60448201527f20746f206f722067726561746572207468616e20322062696c6c696f6e00000060648201526084016109ec565b5050565b6001600160a01b0380831660008181526010602081815260408084208054600e845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610f18828483612b02565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526112b7908490612cc3565b816001600160a01b0316836001600160a01b031614158015612b245750600081115b156112b7576001600160a01b03831615612bc7576001600160a01b03831660009081526012602052604081205463ffffffff169081612b64576000612ba7565b6001600160a01b038516600090815260116020526040812090612b88600185613678565b63ffffffff1663ffffffff168152602001908152602001600020600101545b90506000612bb584836136d5565b9050612bc386848484612d98565b5050505b6001600160a01b038216156112b7576001600160a01b03821660009081526012602052604081205463ffffffff169081612c02576000612c45565b6001600160a01b038416600090815260116020526040812090612c26600185613678565b63ffffffff1663ffffffff168152602001908152602001600020600101545b90506000612c53848361361d565b9050611e0385848484612d98565b6001600160a01b038084166000818152600e6020526040808220805486900390559285168082529083902080548501905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906124d49085815260200190565b6000612d18826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612f3a9092919063ffffffff16565b9050805160001480612d39575080806020019051810190612d399190613741565b6112b75760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016109ec565b6000612dbc4360405180606001604052806032815260200161379860329139612f49565b905060008463ffffffff16118015612e1657506001600160a01b038516600090815260116020526040812063ffffffff831691612dfa600188613678565b63ffffffff908116825260208201929092526040016000205416145b15612e5f576001600160a01b03851660009081526011602052604081208391612e40600188613678565b63ffffffff168152602081019190915260400160002060010155612eef565b60408051808201825263ffffffff838116825260208083018681526001600160a01b038a166000908152601183528581208a851682529092529390209151825463ffffffff191691161781559051600191820155612ebe90859061375e565b6001600160a01b0386166000908152601260205260409020805463ffffffff191663ffffffff929092169190911790555b60408051848152602081018490526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b606061242b8484600085612f79565b6000816401000000008410612f715760405162461bcd60e51b81526004016109ec9190613116565b509192915050565b606082471015612fda5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016109ec565b600080866001600160a01b03168587604051612ff6919061377b565b60006040518083038185875af1925050503d8060008114613033576040519150601f19603f3d011682016040523d82523d6000602084013e613038565b606091505b509150915061304987838387613054565b979650505050505050565b606083156130c35782516000036130bc576001600160a01b0385163b6130bc5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016109ec565b508161242b565b61242b83838151156130d85781518083602001fd5b8060405162461bcd60e51b81526004016109ec9190613116565b60005b8381101561310d5781810151838201526020016130f5565b50506000910152565b60208152600082518060208401526131358160408501602087016130f2565b601f01601f19169190910160400192915050565b6001600160a01b0381168114610f2857600080fd5b8015158114610f2857600080fd5b6000806040838503121561317f57600080fd5b823561318a81613149565b9150602083013561319a8161315e565b809150509250929050565b600080604083850312156131b857600080fd5b82356131c381613149565b946020939093013593505050565b6000806000606084860312156131e657600080fd5b83356131f181613149565b9250602084013561320181613149565b929592945050506040919091013590565b60006020828403121561322457600080fd5b813561195e81613149565b60006020828403121561324157600080fd5b5035919050565b60008060006040848603121561325d57600080fd5b833567ffffffffffffffff8082111561327557600080fd5b818601915086601f83011261328957600080fd5b81358181111561329857600080fd5b8760208260051b85010111156132ad57600080fd5b602092830195509350508401356132c38161315e565b809150509250925092565b6000602082840312156132e057600080fd5b813561195e8161315e565b60008060006060848603121561330057600080fd5b833561330b81613149565b9250602084013561331b81613149565b915060408401356132c381613149565b60008060008060008060c0878903121561334457600080fd5b863561334f81613149565b95506020870135945060408701359350606087013560ff8116811461337357600080fd5b9598949750929560808101359460a0909101359350915050565b600080604083850312156133a057600080fd5b82359150602083013561319a81613149565b600080604083850312156133c557600080fd5b82356133d081613149565b9150602083013561319a81613149565b600080604083850312156133f357600080fd5b82356133fe81613149565b9150602083013563ffffffff8116811461319a57600080fd5b6020808252600a908201526923ab9d1010b7bbb732b960b11b604082015260600190565b60208082526019908201527f47573a2063616e2774206265207a65726f206164647265737300000000000000604082015260600190565b60208082526012908201527111d5ce88185b1c9958591e481b1a5cdd195960721b604082015260600190565b60208082526026908201527f47573a2063616e2774207472616e7366657220746f20746865207a65726f206160408201526564647265737360d01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60ff8181168382160190811115610adb57610adb6134e4565b600181815b8085111561354e578160001904821115613534576135346134e4565b8085161561354157918102915b93841c9390800290613518565b509250929050565b60008261356557506001610adb565b8161357257506000610adb565b81600181146135885760028114613592576135ae565b6001915050610adb565b60ff8411156135a3576135a36134e4565b50506001821b610adb565b5060208310610133831016604e8410600b84101617156135d1575081810a610adb565b6135db8383613513565b80600019048211156135ef576135ef6134e4565b029392505050565b600061195e60ff841683613556565b8082028115828204841417610adb57610adb6134e4565b80820180821115610adb57610adb6134e4565b634e487b7160e01b600052603260045260246000fd5b600060018201613658576136586134e4565b5060010190565b60006020828403121561367157600080fd5b5051919050565b63ffffffff828116828216039080821115613695576136956134e4565b5092915050565b634e487b7160e01b600052601260045260246000fd5b600063ffffffff808416806136c9576136c961369c565b92169190910492915050565b81810381811115610adb57610adb6134e4565b60208082526025908201527f47573a2063616e277420617070726f766520746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60008261373c5761373c61369c565b500490565b60006020828403121561375357600080fd5b815161195e8161315e565b63ffffffff818116838216019080821115613695576136956134e4565b6000825161378d8184602087016130f2565b919091019291505056fe47573a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473a2646970667358221220bf9eae581980a8b667d5f47d5883cd75b16ebcab180c8e926818a2518431490b64736f6c63430008130033

Deployed Bytecode

0x6080604052600436106102815760003560e01c80637f51bb1f1161014f578063c0c53b8b116100c1578063d4246ba51161007a578063d4246ba51461086b578063dd62ed3e1461088b578063e796cebe146108d1578063e7a324dc1461090a578063ee7d72b41461093e578063f1127ed81461095e57600080fd5b8063c0c53b8b1461079c578063c3cda520146107bc578063c3e0dbe9146107dc578063c5b37c22146107fc578063c950584914610812578063d3aa73a31461084b57600080fd5b80639358928b116101135780639358928b146106bf57806395d89b41146106d55780639efdefba14610703578063a457c2d71461073c578063a9059cbb1461075c578063b4b5ea571461077c57600080fd5b80637f51bb1f146106235780638348a28814610643578063842a3bdd14610663578063880cdc31146106815780638f32d59b146106a157600080fd5b806342239927116101f35780636fcfff45116101ac5780636fcfff45146105255780637029948c1461056d57806370a0823114610580578063782d6fe1146105b657806379cc6790146105d65780637ecebe00146105f657600080fd5b8063422399271461043757806342966c681461048557806355c79ab8146104a55780635c19a95c146104c55780636273a8a8146104e557806369fe0e2d1461050557600080fd5b806323b872dd1161024557806323b872dd1461037b578063313ce5671461039b57806333039d3d146103c257806338bf3cfa146103d757806339509351146103f7578063408d78a51461041757600080fd5b806306fdde031461028d578063093064ac146102d6578063095ea7b3146102f857806318160ddd1461032857806320606b701461034757600080fd5b3661028857005b600080fd5b34801561029957600080fd5b506102c06040518060400160405280600781526020016623bcb937bbb4b760c91b81525081565b6040516102cd9190613116565b60405180910390f35b3480156102e257600080fd5b506102f66102f136600461316c565b6109c2565b005b34801561030457600080fd5b506103186103133660046131a5565b610aca565b60405190151581526020016102cd565b34801561033457600080fd5b506000545b6040519081526020016102cd565b34801561035357600080fd5b506103397f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b34801561038757600080fd5b506103186103963660046131d1565b610ae1565b3480156103a757600080fd5b506103b0601281565b60405160ff90911681526020016102cd565b3480156103ce57600080fd5b50610339610b91565b3480156103e357600080fd5b506102f66103f2366004613212565b610bb6565b34801561040357600080fd5b506103186104123660046131a5565b610c40565b34801561042357600080fd5b506102f661043236600461316c565b610c7c565b34801561044357600080fd5b5061046d610452366004613212565b6010602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016102cd565b34801561049157600080fd5b506103186104a036600461322f565b610d7b565b3480156104b157600080fd5b506102f66104c0366004613248565b610e3b565b3480156104d157600080fd5b506102f66104e0366004613212565b610f1e565b3480156104f157600080fd5b506102f66105003660046132ce565b610f2b565b34801561051157600080fd5b506102f661052036600461322f565b610fda565b34801561053157600080fd5b50610558610540366004613212565b60126020526000908152604090205463ffffffff1681565b60405163ffffffff90911681526020016102cd565b6102f661057b3660046131d1565b6110f9565b34801561058c57600080fd5b5061033961059b366004613212565b6001600160a01b03166000908152600e602052604090205490565b3480156105c257600080fd5b506103396105d13660046131a5565b6112bc565b3480156105e257600080fd5b506103186105f13660046131a5565b611522565b34801561060257600080fd5b50610339610611366004613212565b60136020526000908152604090205481565b34801561062f57600080fd5b506102f661063e366004613212565b6115f6565b34801561064f57600080fd5b506102f661065e36600461316c565b6116a2565b34801561066f57600080fd5b506003546001600160a01b031661046d565b34801561068d57600080fd5b506102f661069c366004613212565b61175c565b3480156106ad57600080fd5b506002546001600160a01b031661046d565b3480156106cb57600080fd5b5061033960015481565b3480156106e157600080fd5b506102c060405180604001604052806002815260200161475760f01b81525081565b34801561070f57600080fd5b5061031861071e366004613212565b6001600160a01b031660009081526004602052604090205460ff1690565b34801561074857600080fd5b506103186107573660046131a5565b611831565b34801561076857600080fd5b506103186107773660046131a5565b6118bd565b34801561078857600080fd5b50610339610797366004613212565b6118f0565b3480156107a857600080fd5b506102f66107b73660046132eb565b611965565b3480156107c857600080fd5b506102f66107d736600461332b565b611b31565b3480156107e857600080fd5b506102f66107f736600461338d565b611e0b565b34801561080857600080fd5b5061033960075481565b34801561081e57600080fd5b5061031861082d366004613212565b6001600160a01b031660009081526005602052604090205460ff1690565b34801561085757600080fd5b506102f66108663660046131a5565b611f1c565b34801561087757600080fd5b506102f66108863660046131a5565b6120c0565b34801561089757600080fd5b506103396108a63660046133b2565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b3480156108dd57600080fd5b506103186108ec366004613212565b6001600160a01b03166000908152600c602052604090205460ff1690565b34801561091657600080fd5b506103397fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b34801561094a57600080fd5b506102f661095936600461322f565b6122ba565b34801561096a57600080fd5b506109a66109793660046133e0565b60116020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6040805163ffffffff90931683526020830191909152016102cd565b6002546001600160a01b031633146109f55760405162461bcd60e51b81526004016109ec90613417565b60405180910390fd5b6001600160a01b038216610a1b5760405162461bcd60e51b81526004016109ec9061343b565b610a24826123f7565b610a605760405162461bcd60e51b815260206004820152600d60248201526c11d5ce880858dbdb9d1c9858dd609a1b60448201526064016109ec565b8015610a9f576001600160a01b03821660009081526004602052604090205460ff1615610a9f5760405162461bcd60e51b81526004016109ec90613472565b6001600160a01b03919091166000908152600460205260409020805460ff1916911515919091179055565b6000610ad7338484612433565b5060015b92915050565b60006001600160a01b038316610b095760405162461bcd60e51b81526004016109ec9061349e565b6001600160a01b038416610b705760405162461bcd60e51b815260206004820152602860248201527f47573a2063616e2774207472616e736665722066726f6d20746865207a65726f604482015267206164647265737360c01b60648201526084016109ec565b610b7c84335b846124e1565b610b878484846125bc565b5060019392505050565b610b9d601260096134fa565b610ba890600a6135f7565b610bb3906005613606565b81565b6002546001600160a01b03163314610be05760405162461bcd60e51b81526004016109ec90613417565b6001600160a01b03811615610c2d5760405162461bcd60e51b815260206004820152601360248201527247573a20696e76616c6964206164647265737360681b60448201526064016109ec565b50600280546001600160a01b0319169055565b336000818152600f602090815260408083206001600160a01b03871684529091528120549091610ad7918590610c7790869061361d565b612433565b6002546001600160a01b03163314610ca65760405162461bcd60e51b81526004016109ec90613417565b6001600160a01b038216610ccc5760405162461bcd60e51b81526004016109ec9061343b565b610cd5826123f7565b610d115760405162461bcd60e51b815260206004820152600d60248201526c11d5ce880858dbdb9d1c9858dd609a1b60448201526064016109ec565b8015610d50576001600160a01b03821660009081526005602052604090205460ff1615610d505760405162461bcd60e51b81526004016109ec90613472565b6001600160a01b03919091166000908152600560205260409020805460ff1916911515919091179055565b600033610dca5760405162461bcd60e51b815260206004820152601e60248201527f47573a206275726e2066726f6d20746865207a65726f2061646472657373000060448201526064016109ec565b336000908152600e6020526040902054821115610e295760405162461bcd60e51b815260206004820152601f60248201527f47573a206275726e20616d6f756e7420657863656564732062616c616e63650060448201526064016109ec565b610e333383612914565b506001919050565b6002546001600160a01b03163314610e655760405162461bcd60e51b81526004016109ec90613417565b81610ea75760405162461bcd60e51b815260206004820152601260248201527147573a20656d707479206163636f756e747360701b60448201526064016109ec565b60005b82811015610f185781600d6000868685818110610ec957610ec9613630565b9050602002016020810190610ede9190613212565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610f1081613646565b915050610eaa565b50505050565b610f283382612a36565b50565b6002546001600160a01b03163314610f555760405162461bcd60e51b81526004016109ec90613417565b60095460ff1615610f9a5760405162461bcd60e51b815260206004820152600f60248201526e11d5ce881b9bdd08185b1b1bddd959608a1b60448201526064016109ec565b436008556009805460ff191682151517905560405142907f8c4a5ff44ee79dc94833fe49997e65da03b9b0197678252a1f4869d03647652590600090a250565b6002546001600160a01b031633146110045760405162461bcd60e51b81526004016109ec90613417565b600b5460ff16156110575760405162461bcd60e51b815260206004820152601b60248201527f47573a206665652072656e6f756e6365642077697468207a65726f000000000060448201526064016109ec565b6007819055600081900361107757600b805460ff191660011790556110ca565b600160075411156110ca5760405162461bcd60e51b815260206004820152601b60248201527f47573a206d6178696d756d203125206275792f73656c6c20666565000000000060448201526064016109ec565b6007546040517f557809284da7314475b1582804ae28e5f1349efc1fe970ea25d50fce75eb4f4390600090a250565b6002546001600160a01b031633146111235760405162461bcd60e51b81526004016109ec90613417565b600081116111655760405162461bcd60e51b815260206004820152600f60248201526e11d5ce881e995c9bc8185b5bdd5b9d608a1b60448201526064016109ec565b6001600160a01b03821661118b5760405162461bcd60e51b81526004016109ec9061343b565b306001600160a01b038416036111f35760405162461bcd60e51b815260206004820152602760248201527f47573a2063616e206e6f7420636c61696d20636f6e74726163742773206f776e60448201526620746f6b656e7360c81b60648201526084016109ec565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa158015611237573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125b919061365f565b8111156112a35760405162461bcd60e51b815260206004820152601660248201527547573a20696e73756666696369656e742066756e647360501b60448201526064016109ec565b6112b76001600160a01b0384168383612ab0565b505050565b600043821061131b5760405162461bcd60e51b815260206004820152602560248201527f47573a3a6765745072696f72566f7465733a206e6f74207965742064657465726044820152641b5a5b995960da1b60648201526084016109ec565b6001600160a01b03831660009081526012602052604081205463ffffffff169081900361134c576000915050610adb565b6001600160a01b03841660009081526011602052604081208491611371600185613678565b63ffffffff908116825260208201929092526040016000205416116113da576001600160a01b0384166000908152601160205260408120906113b4600184613678565b63ffffffff1663ffffffff16815260200190815260200160002060010154915050610adb565b6001600160a01b038416600090815260116020908152604080832083805290915290205463ffffffff16831015611415576000915050610adb565b600080611423600184613678565b90505b8163ffffffff168163ffffffff1611156114eb57600060026114488484613678565b61145291906136b2565b61145c9083613678565b6001600160a01b038816600090815260116020908152604080832063ffffffff80861685529083529281902081518083019092528054909316808252600190930154918101919091529192508790036114bf57602001519450610adb9350505050565b805163ffffffff168711156114d6578193506114e4565b6114e1600183613678565b92505b5050611426565b506001600160a01b038516600090815260116020908152604080832063ffffffff9094168352929052206001015491505092915050565b60006001600160a01b03831661157a5760405162461bcd60e51b815260206004820152601e60248201527f47573a206275726e2066726f6d20746865207a65726f2061646472657373000060448201526064016109ec565b6001600160a01b0383166000908152600e60205260409020548211156115e25760405162461bcd60e51b815260206004820152601f60248201527f47573a206275726e20616d6f756e7420657863656564732062616c616e63650060448201526064016109ec565b6115ec8333610b76565b610ad78383612914565b6002546001600160a01b031633146116205760405162461bcd60e51b81526004016109ec90613417565b6001600160a01b0381166116465760405162461bcd60e51b81526004016109ec9061343b565b600380546001600160a01b0319166001600160a01b0383169081179091556040805182815260208101929092527f567657fa3f286518b318f4a29870674f433f622fdfc819691acb13105b22822591015b60405180910390a150565b6002546001600160a01b031633146116cc5760405162461bcd60e51b81526004016109ec90613417565b6001600160a01b0382166116f25760405162461bcd60e51b81526004016109ec9061343b565b8015611731576001600160a01b0382166000908152600c602052604090205460ff16156117315760405162461bcd60e51b81526004016109ec90613472565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b6002546001600160a01b031633146117865760405162461bcd60e51b81526004016109ec90613417565b6001600160a01b0381166117dc5760405162461bcd60e51b815260206004820152601960248201527f47573a20696e76616c6964206f776e657220616464726573730000000000000060448201526064016109ec565b600280546001600160a01b0319166001600160a01b0383169081179091556040805182815260208101929092527f70aea8d848e8a90fb7661b227dc522eb6395c3dac71b63cb59edd5c9899b23649101611697565b336000908152600f602090815260408083206001600160a01b0386168452909152812054828110156118b05760405162461bcd60e51b815260206004820152602260248201527f47573a2064656372656173656420616c6c6f77616e63652062656c6f77207a65604482015261726f60f01b60648201526084016109ec565b610b873385858403612433565b60006001600160a01b0383166118e55760405162461bcd60e51b81526004016109ec9061349e565b610ad73384846125bc565b6001600160a01b03811660009081526012602052604081205463ffffffff168061191b57600061195e565b6001600160a01b03831660009081526011602052604081209061193f600184613678565b63ffffffff1663ffffffff168152602001908152602001600020600101545b9392505050565b6001600160a01b0383167305803c32e393765a204e22fcf560421729cbca42146119a15760405162461bcd60e51b81526004016109ec90613417565b6001600160a01b0381166119f75760405162461bcd60e51b815260206004820152601d60248201527f47573a2063616e277420626520746865207a65726f206164647265737300000060448201526064016109ec565b60065460ff1615611a3c5760405162461bcd60e51b815260206004820152600f60248201526e11d5ce881a5b9a5d1a585b1a5e9959608a1b60448201526064016109ec565b600280546001600160a01b0319166001600160a01b038516179055611a63601260096134fa565b611a6e90600a6135f7565b611a79906005613606565b336000908152600e6020526040902055611a95601260096134fa565b611aa090600a6135f7565b611aab906005613606565b600055611aba601260096134fa565b611ac590600a6135f7565b611ad0906005613606565b6001908155600781905564012a05f200600a556001600160a01b039283166000908152600c60205260409020805460ff199081168317909155600380546001600160a01b031916939094169290921790925560068054909116909117905550565b604080518082018252600781526623bcb937bbb4b760c91b60209182015281517f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866818301527f8b9f72504fe9b6f31eb450093cba2877b74a7dac63f85fe9024163bd034f5abe81840152466060820152306080808301919091528351808303909101815260a0820184528051908301207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08301526001600160a01b038a1660e083015261010082018990526101208083018990528451808403909101815261014083019094528351939092019290922061190160f01b6101608401526101628301829052610182830181905290916000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015611cb3573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611d225760405162461bcd60e51b8152602060048201526024808201527f47573a3a64656c656761746542795369673a20696e76616c6964207369676e616044820152637475726560e01b60648201526084016109ec565b6001600160a01b0381166000908152601360205260408120805491611d4683613646565b919050558914611d985760405162461bcd60e51b815260206004820181905260248201527f47573a3a64656c656761746542795369673a20696e76616c6964206e6f6e636560448201526064016109ec565b87421115611df45760405162461bcd60e51b8152602060048201526024808201527f47573a3a64656c656761746542795369673a207369676e6174757265206578706044820152631a5c995960e21b60648201526084016109ec565b611dfe818b612a36565b505050505b505050505050565b6002546001600160a01b03163314611e355760405162461bcd60e51b81526004016109ec90613417565b60008211611e775760405162461bcd60e51b815260206004820152600f60248201526e11d5ce881e995c9bc8185b5bdd5b9d608a1b60448201526064016109ec565b6001600160a01b038116611e9d5760405162461bcd60e51b81526004016109ec9061343b565b47821115611ee65760405162461bcd60e51b815260206004820152601660248201527547573a20696e73756666696369656e742066756e647360501b60448201526064016109ec565b6040516001600160a01b0382169083156108fc029084906000818181858888f193505050501580156112b7573d6000803e3d6000fd5b611f253361082d565b80611f345750611f343361071e565b611f775760405162461bcd60e51b815260206004820152601460248201527311d5ce881b9bc81b1bd8dac818dbdb9d1c9858dd60621b60448201526064016109ec565b6001600160a01b03821660009081526004602052604090205460ff1680611fb657506001600160a01b03821660009081526005602052604090205460ff165b611ff95760405162461bcd60e51b815260206004820152601460248201527311d5ce881a5b9d985b1a590818dbdb9d1c9858dd60621b60448201526064016109ec565b6001600160a01b0382166000908152600e60205260409020548111156120615760405162461bcd60e51b815260206004820152601a60248201527f47573a20616d6f756e7420657863656564732062616c616e636500000000000060448201526064016109ec565b8060016000828254612073919061361d565b9091555050604080518281524260208201526001600160a01b038416917ff1e5f4f38712fdf4f99f4c90c6a3441dbc158a2f5ce88b72964d6d1473a9b0d791015b60405180910390a25050565b6120c93361082d565b806120d857506120d83361071e565b61211b5760405162461bcd60e51b815260206004820152601460248201527311d5ce881b9bc81b1bd8dac818dbdb9d1c9858dd60621b60448201526064016109ec565b6001600160a01b03821660009081526004602052604090205460ff168061215a57506001600160a01b03821660009081526005602052604090205460ff165b61219d5760405162461bcd60e51b815260206004820152601460248201527311d5ce881a5b9d985b1a590818dbdb9d1c9858dd60621b60448201526064016109ec565b6001600160a01b0382166000908152600e60205260409020548111156122055760405162461bcd60e51b815260206004820152601a60248201527f47573a20616d6f756e7420657863656564732062616c616e636500000000000060448201526064016109ec565b806001600082825461221791906136d5565b909155505060015461227a5760405162461bcd60e51b815260206004820152602660248201527f47573a2063697263756c6174696e6720737570706c792063616e206e6f74206260448201526565207a65726f60d01b60648201526084016109ec565b604080518281524260208201526001600160a01b038416917f99c41df3bbc01305d045442ab3e5c03e958a726766f00f1d03cfec01ea36fa0b91016120b4565b6002546001600160a01b031633146122e45760405162461bcd60e51b81526004016109ec90613417565b63b2d05e008110156123425760405162461bcd60e51b815260206004820152602160248201527f47573a206d696e2e20676173207072696365206c696d697420697320336777656044820152606960f81b60648201526084016109ec565b600b54610100900460ff16156123aa5760405162461bcd60e51b815260206004820152602760248201527f47573a20676173207072696365206c696d69742072656e6f756e6365642077696044820152667468207a65726f60c81b60648201526084016109ec565b600a81905560008190036123c857600b805461ff0019166101001790555b600a546040517fdd97ddc812610d2178ed786c8b5b24fc59f1078d55429418ceb07f8fc890464e90600090a250565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061242b57508115155b949350505050565b6001600160a01b0383166124595760405162461bcd60e51b81526004016109ec906136e8565b6001600160a01b03821661247f5760405162461bcd60e51b81526004016109ec906136e8565b6001600160a01b038381166000818152600f602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b604051636eb1769f60e11b81526001600160a01b03808516600483015283166024820152600090309063dd62ed3e90604401602060405180830381865afa158015612530573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612554919061365f565b90506000198114610f1857818110156125af5760405162461bcd60e51b815260206004820152601960248201527f47573a20696e737566666963656e7420616c6c6f77616e63650000000000000060448201526064016109ec565b610f188484848403612433565b6001600160a01b0383166000908152600e60205260409020548111156126245760405162461bcd60e51b815260206004820152601b60248201527f47573a2062616c616e636520697320696e73756666696369656e74000000000060448201526064016109ec565b306001600160a01b038316036126885760405162461bcd60e51b815260206004820152602360248201527f47573a2063616e206e6f74207472616e7366657220746f20677720636f6e74726044820152621858dd60ea1b60648201526084016109ec565b6008541580156126d257506001600160a01b0383166000908152600c602052604090205460ff16806126d257506001600160a01b0382166000908152600c602052604090205460ff165b15612741576002546001600160a01b038481169116146127045760405162461bcd60e51b81526004016109ec90613417565b6001600160a01b0380841660009081526010602052604080822054858416835291205461273692918216911683612b02565b6112b7838383612c61565b6007541580159061278c57506001600160a01b0383166000908152600c602052604090205460ff168061278c57506001600160a01b0382166000908152600c602052604090205460ff165b156127045760006064600754836127a39190613606565b6127ad919061372d565b90506127b981836136d5565b6003549092506127d49085906001600160a01b031683612c61565b6008546127e290600361361d565b43111580156127f25750600a543a115b156128385760405162461bcd60e51b815260206004820152601660248201527547573a2065786365656465642067617320707269636560501b60448201526064016109ec565b6001600160a01b0384166000908152600d602052604090205460ff168061287757506001600160a01b0383166000908152600d602052604090205460ff165b80156128845750600a5415155b801561289157503a600a54105b156128d75760405162461bcd60e51b815260206004820152601660248201527547573a2065786365656465642067617320707269636560501b60448201526064016109ec565b6001600160a01b0380851660009081526010602052604080822054868416835291205461290992918216911684612b02565b610f18848484612c61565b6001600160a01b0382166000818152600e60205260408082208054859003905560018054859003905581548490039091555161dead91907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061297a9085815260200190565b60405180910390a36064612990601260096134fa565b61299b90600a6135f7565b6129a6906005613606565b6129b1906028613606565b6129bb919061372d565b6000541015612a325760405162461bcd60e51b815260206004820152603d60248201527f47573a20746f74616c20737570706c792073686f756c6420626520657175616c60448201527f20746f206f722067726561746572207468616e20322062696c6c696f6e00000060648201526084016109ec565b5050565b6001600160a01b0380831660008181526010602081815260408084208054600e845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610f18828483612b02565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526112b7908490612cc3565b816001600160a01b0316836001600160a01b031614158015612b245750600081115b156112b7576001600160a01b03831615612bc7576001600160a01b03831660009081526012602052604081205463ffffffff169081612b64576000612ba7565b6001600160a01b038516600090815260116020526040812090612b88600185613678565b63ffffffff1663ffffffff168152602001908152602001600020600101545b90506000612bb584836136d5565b9050612bc386848484612d98565b5050505b6001600160a01b038216156112b7576001600160a01b03821660009081526012602052604081205463ffffffff169081612c02576000612c45565b6001600160a01b038416600090815260116020526040812090612c26600185613678565b63ffffffff1663ffffffff168152602001908152602001600020600101545b90506000612c53848361361d565b9050611e0385848484612d98565b6001600160a01b038084166000818152600e6020526040808220805486900390559285168082529083902080548501905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906124d49085815260200190565b6000612d18826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612f3a9092919063ffffffff16565b9050805160001480612d39575080806020019051810190612d399190613741565b6112b75760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016109ec565b6000612dbc4360405180606001604052806032815260200161379860329139612f49565b905060008463ffffffff16118015612e1657506001600160a01b038516600090815260116020526040812063ffffffff831691612dfa600188613678565b63ffffffff908116825260208201929092526040016000205416145b15612e5f576001600160a01b03851660009081526011602052604081208391612e40600188613678565b63ffffffff168152602081019190915260400160002060010155612eef565b60408051808201825263ffffffff838116825260208083018681526001600160a01b038a166000908152601183528581208a851682529092529390209151825463ffffffff191691161781559051600191820155612ebe90859061375e565b6001600160a01b0386166000908152601260205260409020805463ffffffff191663ffffffff929092169190911790555b60408051848152602081018490526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b606061242b8484600085612f79565b6000816401000000008410612f715760405162461bcd60e51b81526004016109ec9190613116565b509192915050565b606082471015612fda5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016109ec565b600080866001600160a01b03168587604051612ff6919061377b565b60006040518083038185875af1925050503d8060008114613033576040519150601f19603f3d011682016040523d82523d6000602084013e613038565b606091505b509150915061304987838387613054565b979650505050505050565b606083156130c35782516000036130bc576001600160a01b0385163b6130bc5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016109ec565b508161242b565b61242b83838151156130d85781518083602001fd5b8060405162461bcd60e51b81526004016109ec9190613116565b60005b8381101561310d5781810151838201526020016130f5565b50506000910152565b60208152600082518060208401526131358160408501602087016130f2565b601f01601f19169190910160400192915050565b6001600160a01b0381168114610f2857600080fd5b8015158114610f2857600080fd5b6000806040838503121561317f57600080fd5b823561318a81613149565b9150602083013561319a8161315e565b809150509250929050565b600080604083850312156131b857600080fd5b82356131c381613149565b946020939093013593505050565b6000806000606084860312156131e657600080fd5b83356131f181613149565b9250602084013561320181613149565b929592945050506040919091013590565b60006020828403121561322457600080fd5b813561195e81613149565b60006020828403121561324157600080fd5b5035919050565b60008060006040848603121561325d57600080fd5b833567ffffffffffffffff8082111561327557600080fd5b818601915086601f83011261328957600080fd5b81358181111561329857600080fd5b8760208260051b85010111156132ad57600080fd5b602092830195509350508401356132c38161315e565b809150509250925092565b6000602082840312156132e057600080fd5b813561195e8161315e565b60008060006060848603121561330057600080fd5b833561330b81613149565b9250602084013561331b81613149565b915060408401356132c381613149565b60008060008060008060c0878903121561334457600080fd5b863561334f81613149565b95506020870135945060408701359350606087013560ff8116811461337357600080fd5b9598949750929560808101359460a0909101359350915050565b600080604083850312156133a057600080fd5b82359150602083013561319a81613149565b600080604083850312156133c557600080fd5b82356133d081613149565b9150602083013561319a81613149565b600080604083850312156133f357600080fd5b82356133fe81613149565b9150602083013563ffffffff8116811461319a57600080fd5b6020808252600a908201526923ab9d1010b7bbb732b960b11b604082015260600190565b60208082526019908201527f47573a2063616e2774206265207a65726f206164647265737300000000000000604082015260600190565b60208082526012908201527111d5ce88185b1c9958591e481b1a5cdd195960721b604082015260600190565b60208082526026908201527f47573a2063616e2774207472616e7366657220746f20746865207a65726f206160408201526564647265737360d01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60ff8181168382160190811115610adb57610adb6134e4565b600181815b8085111561354e578160001904821115613534576135346134e4565b8085161561354157918102915b93841c9390800290613518565b509250929050565b60008261356557506001610adb565b8161357257506000610adb565b81600181146135885760028114613592576135ae565b6001915050610adb565b60ff8411156135a3576135a36134e4565b50506001821b610adb565b5060208310610133831016604e8410600b84101617156135d1575081810a610adb565b6135db8383613513565b80600019048211156135ef576135ef6134e4565b029392505050565b600061195e60ff841683613556565b8082028115828204841417610adb57610adb6134e4565b80820180821115610adb57610adb6134e4565b634e487b7160e01b600052603260045260246000fd5b600060018201613658576136586134e4565b5060010190565b60006020828403121561367157600080fd5b5051919050565b63ffffffff828116828216039080821115613695576136956134e4565b5092915050565b634e487b7160e01b600052601260045260246000fd5b600063ffffffff808416806136c9576136c961369c565b92169190910492915050565b81810381811115610adb57610adb6134e4565b60208082526025908201527f47573a2063616e277420617070726f766520746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60008261373c5761373c61369c565b500490565b60006020828403121561375357600080fd5b815161195e8161315e565b63ffffffff818116838216019080821115613695576136956134e4565b6000825161378d8184602087016130f2565b919091019291505056fe47573a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473a2646970667358221220bf9eae581980a8b667d5f47d5883cd75b16ebcab180c8e926818a2518431490b64736f6c63430008130033

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.