ETH Price: $3,693.56 (+2.84%)

Token

ERC-20: DogShiToken (DOGSHI)
 

Overview

Max Total Supply

21,000,000 DOGSHI

Holders

332

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.000684214632409824 DOGSHI

Value
$0.00
0x4bf87a449bfbc0f3b54fa41566c813b0049c7aa2
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:
ReflectionToken

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : DogShi.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.19;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Arrays.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

contract ReflectionToken is IERC20, Context, Ownable {
    using Address for address;
    using Arrays for uint256[];
    using Counters for Counters.Counter;

    // Snapshotted values have arrays of ids and the value corresponding to that id. These could be an array of a
    // Snapshot struct, but that would impede usage of functions that work on an array.
    struct Snapshots {
        uint256[] ids;
        uint256[] values;
    }

    mapping(address => Snapshots) private _accountBalanceSnapshots;
    Snapshots private _totalSupplySnapshots;

    // Snapshot ids increase monotonically, with the first value being 1. An id of 0 is invalid.
    Counters.Counter private _currentSnapshotId;

    /**
     * @dev Emitted by {_snapshot} when a snapshot identified by `id` is created.
     */
    event Snapshot(uint256 id);

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

    uint256 private _totalSupply;
    uint256 private _totalShare;
    uint256 private NAV;
    uint256 private LastRewardBlock;
    string private _name;
    string private _symbol;
    uint8 private _decimals = 18;
    
    mapping(address => uint256) private _lastRewards;
    mapping (address => bool) private _isExcluded; // Accounts to not receive rewards
    address[] private _excluded; // Accounts which do not receive rewards
    mapping(address => uint256) private _excludedBalance;

    uint256 internal constant maxSupply = 21 * 10 ** 24;
    uint256 internal constant liquiditySupply = maxSupply * 10 / 100;
    uint256 internal constant ryoshiSupply = maxSupply * 50 / 100;
    uint256 internal constant contractSupply = maxSupply - liquiditySupply - ryoshiSupply;
    uint256[] public halvingBlock = [19686542,30109852,40533162]; //mainnet

    uint256 startBlock;

    uint256 holderRewardPerBlock;
    uint256 liquidityRewardPerBlock;
    uint256 totalRewardForHolder;

    bool isActivated;
    uint256 activateTime;
    uint256 totalRewardByDAO;
    uint256 lastRewardBlockByVoting;

    address liquidityAddress;
    mapping(address => uint256) private _liquidityBlock;
    uint256 liquidityLastRewardBlock;
    uint256 liquidityAccTokensPerShare;
    mapping( address=> uint256) private rewardDebts;
    address previousLiquidityAdder;
    address votingContract;
    uint256 totalDistributedRewardByVoting;

    constructor(
        string memory tname,
        string memory tsymbol
    ) {
        _name = tname;
        _symbol = tsymbol;
        _mint(0xB8f226dDb7bC672E27dffB67e4adAbFa8c0dFA08, ryoshiSupply);
        _mint( address(this), contractSupply);
        _mint( _msgSender(), liquiditySupply);

        setExclude(address(this)); //no rewards for deployer
        setExclude(0xdEAD000000000000000042069420694206942069); //no rewards to dead wallet
        setExclude(0xB8f226dDb7bC672E27dffB67e4adAbFa8c0dFA08); //no additional rewards to Ryoshi

        totalRewardForHolder = contractSupply * 20 / 100;
        totalRewardByDAO = totalRewardForHolder;

        isActivated = false;
        activateTime = 0;
    }

    /**
     * @dev Creates a new snapshot and returns its snapshot id.
     *
     * Emits a {Snapshot} event that contains the same id.
     *
     * {_snapshot} is `internal` and you have to decide how to expose it externally. Its usage may be restricted to a
     * set of accounts, for example using {AccessControl}, or it may be open to the public.
     *
     * [WARNING]
     * ====
     * While an open way of calling {_snapshot} is required for certain trust minimization mechanisms such as forking,
     * you must consider that it can potentially be used by attackers in two ways.
     *
     * First, it can be used to increase the cost of retrieval of values from snapshots, although it will grow
     * logarithmically thus rendering this attack ineffective in the long term. Second, it can be used to target
     * specific accounts and increase the cost of ERC20 transfers for them, in the ways specified in the Gas Costs
     * section above.
     *
     * We haven't measured the actual numbers; if this is something you're interested in please reach out to us.
     * ====
     */
    function _snapshot() internal virtual returns (uint256) {
        _currentSnapshotId.increment();

        uint256 currentId = _getCurrentSnapshotId();
        emit Snapshot(currentId);
        return currentId;
    }

    /**
     * @dev Get the current snapshotId
     */
    function _getCurrentSnapshotId() internal view virtual returns (uint256) {
        return _currentSnapshotId.current();
    }

    function getCurrentSnapshotId() external view virtual returns (uint256) {
        return _getCurrentSnapshotId();
    }

    function snapshot() external returns (uint256) {
        require(_msgSender() == votingContract);
        return _snapshot();
    }

    /**
     * @dev Retrieves the balance of `account` at the time `snapshotId` was created.
     */
    function balanceOfAt(address account, uint256 snapshotId) public view virtual returns (uint256) {
        (bool snapshotted, uint256 value) = _valueAt(snapshotId, _accountBalanceSnapshots[account]);

        return snapshotted ? value : balanceOf(account);
    }

    /**
     * @dev Retrieves the total supply at the time `snapshotId` was created.
     */
    function totalSupplyAt(uint256 snapshotId) public view virtual returns (uint256) {
        (bool snapshotted, uint256 value) = _valueAt(snapshotId, _totalSupplySnapshots);

        return snapshotted ? value : totalSupply();
    }

    // Update balance and/or total supply snapshots before the values are modified. This is implemented
    // in the _beforeTokenTransfer hook, which is executed for _mint, _burn, and _transfer operations.
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {
        if (from == address(0)) {
            // mint
            _updateAccountSnapshot(to);
            _updateTotalSupplySnapshot();
        } else if (to == address(0)) {
            // burn
            _updateAccountSnapshot(from);
            _updateTotalSupplySnapshot();
        } else {
            // transfer
            _updateAccountSnapshot(from);
            _updateAccountSnapshot(to);
        }
    }

    function _valueAt(uint256 snapshotId, Snapshots storage snapshots) private view returns (bool, uint256) {
        require(snapshotId > 0, "ERC20Snapshot: id is 0");
        require(snapshotId <= _getCurrentSnapshotId(), "ERC20Snapshot: nonexistent id");

        // When a valid snapshot is queried, there are three possibilities:
        //  a) The queried value was not modified after the snapshot was taken. Therefore, a snapshot entry was never
        //  created for this id, and all stored snapshot ids are smaller than the requested one. The value that corresponds
        //  to this id is the current one.
        //  b) The queried value was modified after the snapshot was taken. Therefore, there will be an entry with the
        //  requested id, and its value is the one to return.
        //  c) More snapshots were created after the requested one, and the queried value was later modified. There will be
        //  no entry for the requested id: the value that corresponds to it is that of the smallest snapshot id that is
        //  larger than the requested one.
        //
        // In summary, we need to find an element in an array, returning the index of the smallest value that is larger if
        // it is not found, unless said value doesn't exist (e.g. when all values are smaller). Arrays.findUpperBound does
        // exactly this.

        uint256 index = snapshots.ids.findUpperBound(snapshotId);

        if (index == snapshots.ids.length) {
            return (false, 0);
        } else {
            return (true, snapshots.values[index]);
        }
    }

    function _updateAccountSnapshot(address account) private {
        _updateSnapshot(_accountBalanceSnapshots[account], balanceOf(account));
    }

    function _updateTotalSupplySnapshot() private {
        _updateSnapshot(_totalSupplySnapshots, totalSupply());
    }

    function _updateSnapshot(Snapshots storage snapshots, uint256 currentValue) private {
        uint256 currentId = _getCurrentSnapshotId();
        if (_lastSnapshotId(snapshots.ids) < currentId) {
            snapshots.ids.push(currentId);
            snapshots.values.push(currentValue);
        }
    }

    function _lastSnapshotId(uint256[] storage ids) private view returns (uint256) {
        if (ids.length == 0) {
            return 0;
        } else {
            return ids[ids.length - 1];
        }
    }
    
    function getRewardPerBlock( uint256 currentBlock, uint256 totalReward) internal view returns(uint256){
        uint256 rewardPerBlock = 0;
        uint256 totalBlock = 0;
        uint256 halving = 1;
        if( isActivated == false) return 0;
        for( uint i = 0; i < halvingBlock.length;i++) {
            if( currentBlock < halvingBlock[i]) {
                totalBlock += ((halvingBlock[i] - currentBlock)/halving);
            }
            halving *= 2;
        }
        if( totalBlock == 0 ) return 0;
        rewardPerBlock = totalReward / totalBlock;
        return rewardPerBlock;
    }

    function setExclude(address user) public onlyOwner {
        require(_isExcluded[user]==false,"already excluded!");
        _excludedBalance[user] = balanceOf(user);
        _excluded.push(user);
        _isExcluded[user] = true;
        NAV -= _excludedBalance[user];
        _totalShare -= _userShares[user];
        _userShares[user] = 0;
    }

    function setLiquidityAddress(address liquidity) public onlyOwner {
        liquidityAddress = liquidity;
    }

    function setVotingContractAddress(address _votingContract) public onlyOwner {
        votingContract = _votingContract;
    }

    function activateHolderReward() public onlyOwner {
        startBlock = block.number;
        isActivated = true;
        holderRewardPerBlock = getRewardPerBlock(startBlock,totalRewardForHolder);
        liquidityRewardPerBlock = holderRewardPerBlock * 3;
        activateTime = block.number;
    }

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

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


    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        if(_isExcluded[account]) {
            if( account == address(this)) {
                return _excludedBalance[account] - totalUsedAmount();
            }
            return _excludedBalance[account];
        }
        uint256 balance = getRewardOfLiquidityUser(account);
        if( _totalShare == 0 ) return balance;
        uint curNAV = NAV;
        if( block.number > LastRewardBlock) {
            curNAV += getTokensReward();
        }
        balance += (curNAV * _userShares[account] / _totalShare);
        return balance;
    }

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

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

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

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

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

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

        return true;
    }

    function addingDecimal() public view returns (uint256) {
        return 10**_decimals;
    }

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

        _beforeTokenTransfer(from, to, amount);
        
        if( _isExcluded[from] && !_isExcluded[to] ) {
            _transferFromExcluded(from, to, amount);
        } else if( !_isExcluded[from] && _isExcluded[to]) {
            _transferToExcluded(from, to, amount);
        } else if( !_isExcluded[from] && !_isExcluded[to]) {
            _transferStandard(from, to, amount);
        } else if(_isExcluded[from] && _isExcluded[to]) {
            _transferBothExcluded(from, to, amount);
        } else {
            _transferStandard(from, to, amount);
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    function distributeRewardByVoting(address _receiver, uint256 _amount) public {
        require(_msgSender() == votingContract,"only voting contract can call this function");
        uint256 amount = getPendingRewardByVoting();
        require(_amount > 0 && _amount <= amount, "Can't distribute this amount");
        _transfer( address(this), _receiver, _amount);
        totalDistributedRewardByVoting += _amount;
        lastRewardBlockByVoting = block.number;
    }

    function getPendingRewardByVoting() public view returns(uint256) {
        return getRewardAmount(holderRewardPerBlock, startBlock,block.number) - totalDistributedRewardByVoting;
    }

    function totalUsedAmount() internal view returns(uint256) {
        uint rewardPerBlock = getRewardPerBlock(startBlock, totalRewardForHolder * 4);
        uint totalUsed = getRewardAmount(rewardPerBlock, startBlock, block.number);
        return totalUsed;
    }

    function totalDistributedReward() public view returns(uint256) {
        uint totalUsed = totalUsedAmount();
        totalUsed += totalDistributedRewardByVoting;
        return totalUsed;
    }

    function getRewardAmount(uint rewardPerBlock, uint firstBlock, uint lastBlock) internal view returns(uint) {
        uint i = 0;
        if( firstBlock < startBlock) firstBlock = startBlock;
        if( lastBlock <= firstBlock) return 0;
        if( rewardPerBlock == 0) return 0;
        
        for( i = 0; i < halvingBlock.length; i++ ) {
            if( firstBlock < halvingBlock[i]) break;
            rewardPerBlock /= 2;
        }
        if(i == halvingBlock.length) {
            return 0;
        }
        uint256 totalReward = 0;
        for( uint j = i; j < halvingBlock.length; j++) {
            if( lastBlock < halvingBlock[j]) {
                totalReward += rewardPerBlock*(lastBlock-firstBlock);
                break;
            }
            totalReward += rewardPerBlock*(halvingBlock[j]-firstBlock);
            firstBlock = halvingBlock[j];
            rewardPerBlock /= 2;
        }
        return totalReward;        
    }

    function getTokensReward() public view returns(uint256) {
        return getRewardAmount(holderRewardPerBlock, LastRewardBlock, block.number);
    }

    function getRewardOfLiquidityUser(address user) public view returns(uint256) {
        uint256 accTokensPerShare = liquidityAccTokensPerShare;
        if(liquidityAddress == address(0)) return 0;
        uint256 lpSupply = IERC20(liquidityAddress).totalSupply();
        uint256 lpBalance = IERC20(liquidityAddress).balanceOf(user);
        uint256 curBlock = block.number;
        uint256 finalBlock = halvingBlock[halvingBlock.length-1];
        if( curBlock > finalBlock) curBlock = finalBlock;
        if (curBlock > liquidityLastRewardBlock && lpSupply != 0) {
            uint256 tokensReward = getLiquidityTokensReward();
            accTokensPerShare += (tokensReward * addingDecimal() / lpSupply);
        }
        uint256 rewardDebt = rewardDebts[user];
        if( user == previousLiquidityAdder)
            rewardDebt = lpBalance * liquidityAccTokensPerShare / addingDecimal();
        return lpBalance * accTokensPerShare / addingDecimal() - rewardDebt;
    }

    function getLiquidityTokensReward() public view returns(uint256) {
        return getRewardAmount(liquidityRewardPerBlock, liquidityLastRewardBlock, block.number);
    }

    function _transferStandard(address from, address to, uint256 amount) private {
        NAV += getTokensReward();
        uint valuePerShare = NAV * addingDecimal() / _totalShare;
        uint shareAmount = amount * addingDecimal() / valuePerShare;
        _userShares[from] -= shareAmount;
        _userShares[to] += shareAmount;
        LastRewardBlock = block.number;
    }

    function _transferFromExcluded(address from, address to, uint256 amount) private {
        NAV += getTokensReward();
        uint valuePerShare = NAV * addingDecimal() / _totalShare;
        uint shareAmount = amount * addingDecimal() / valuePerShare;
        NAV += amount;
        _excludedBalance[from] -= amount;
        _userShares[to] += shareAmount;
        _totalShare += shareAmount;
        LastRewardBlock = block.number;
        if( from == liquidityAddress) {
            uint256 liquidityTotalSupply = IERC20(liquidityAddress).totalSupply();
            if( liquidityLastRewardBlock == 0) {
                previousLiquidityAdder = to;
                liquidityLastRewardBlock = block.number;
            } else if( block.number > liquidityLastRewardBlock){
                uint256 previousBalance = IERC20(liquidityAddress).balanceOf(previousLiquidityAdder);
                rewardDebts[previousLiquidityAdder] = previousBalance * liquidityAccTokensPerShare;
                liquidityAccTokensPerShare += getLiquidityTokensReward() / liquidityTotalSupply;
                uint256 toUNIBalance = IERC20(liquidityAddress).balanceOf(to);
                uint256 toPendingBalance = liquidityAccTokensPerShare * toUNIBalance / addingDecimal() - rewardDebts[to];
                if( toPendingBalance > 0) {
                    _userShares[to] += (toPendingBalance * addingDecimal() / valuePerShare);
                }
                liquidityLastRewardBlock = block.number;
                previousLiquidityAdder = to;
            }
        }
    }

    function _transferToExcluded(address from, address to, uint256 amount) private {
        NAV += getTokensReward();
        uint valuePerShare = NAV * addingDecimal() / _totalShare;
        uint shareAmount = amount * addingDecimal() / valuePerShare;
        NAV -= amount;
        _userShares[from] -= shareAmount;
        _excludedBalance[to] += amount;
        _totalShare -= shareAmount;
        LastRewardBlock = block.number;
        if( to == liquidityAddress) {
            uint256 liquidityTotalSupply = IERC20(liquidityAddress).totalSupply();
            if( liquidityLastRewardBlock == 0) {
                previousLiquidityAdder = from;
                liquidityLastRewardBlock = block.number;
            } else if( block.number > liquidityLastRewardBlock){
                uint256 previousBalance = IERC20(liquidityAddress).balanceOf(previousLiquidityAdder);
                rewardDebts[previousLiquidityAdder] = previousBalance * liquidityAccTokensPerShare;
                liquidityAccTokensPerShare += getLiquidityTokensReward() / liquidityTotalSupply;
                uint256 fromUNIBalance = IERC20(liquidityAddress).balanceOf(from);
                uint256 fromPendingBalance = liquidityAccTokensPerShare * fromUNIBalance / addingDecimal() - rewardDebts[from];
                if( fromPendingBalance > 0) {
                    _userShares[from] += (fromPendingBalance * addingDecimal() / valuePerShare);
                }
                liquidityLastRewardBlock = block.number;
                previousLiquidityAdder = from;
            }
        }
    }

    function _transferBothExcluded(address from, address to, uint256 amount) private {
        _excludedBalance[from] -= amount;
        _excludedBalance[to] += amount;
    }

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

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

        _totalSupply += amount;
        if( _totalShare == 0 ) {
            NAV += amount;
            _userShares[account] += addingDecimal();
            _totalShare += addingDecimal();
        } else {
            NAV += getTokensReward();
            uint valuePerShare = NAV * addingDecimal() / _totalShare;
            uint shareAmount = amount * addingDecimal() / valuePerShare;
            _userShares[account] += shareAmount;
            _totalShare += shareAmount;
            NAV += amount;
        }
        LastRewardBlock = block.number;
        

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

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

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

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

        uint256 accountBalance = balanceOf(account);
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        NAV += getTokensReward();
        uint valuePerShare = NAV * addingDecimal() / _totalShare;
        uint shareAmount = amount * addingDecimal() / valuePerShare;
        _userShares[account] -= shareAmount;
        _totalShare -= shareAmount;
        NAV -= amount;
        LastRewardBlock = block.number;
        _totalSupply -= amount;

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

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

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

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

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

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

    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 2 of 9 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 3 of 9 : Arrays.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Arrays.sol)

pragma solidity ^0.8.0;

import "./StorageSlot.sol";
import "./math/Math.sol";

/**
 * @dev Collection of functions related to array types.
 */
library Arrays {
    using StorageSlot for bytes32;

    /**
     * @dev Searches a sorted `array` and returns the first index that contains
     * a value greater or equal to `element`. If no such index exists (i.e. all
     * values in the array are strictly less than `element`), the array length is
     * returned. Time complexity O(log n).
     *
     * `array` is expected to be sorted in ascending order, and to contain no
     * repeated elements.
     */
    function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {
        if (array.length == 0) {
            return 0;
        }

        uint256 low = 0;
        uint256 high = array.length;

        while (low < high) {
            uint256 mid = Math.average(low, high);

            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)
            // because Math.average rounds down (it does integer division with truncation).
            if (unsafeAccess(array, mid).value > element) {
                high = mid;
            } else {
                low = mid + 1;
            }
        }

        // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound.
        if (low > 0 && unsafeAccess(array, low - 1).value == element) {
            return low - 1;
        } else {
            return low;
        }
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeAccess(address[] storage arr, uint256 pos) internal pure returns (StorageSlot.AddressSlot storage) {
        bytes32 slot;
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0, arr.slot)
            slot := add(keccak256(0, 0x20), pos)
        }
        return slot.getAddressSlot();
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeAccess(bytes32[] storage arr, uint256 pos) internal pure returns (StorageSlot.Bytes32Slot storage) {
        bytes32 slot;
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0, arr.slot)
            slot := add(keccak256(0, 0x20), pos)
        }
        return slot.getBytes32Slot();
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeAccess(uint256[] storage arr, uint256 pos) internal pure returns (StorageSlot.Uint256Slot storage) {
        bytes32 slot;
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0, arr.slot)
            slot := add(keccak256(0, 0x20), pos)
        }
        return slot.getUint256Slot();
    }
}

File 4 of 9 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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
     * ====
     *
     * [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://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 6 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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 7 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"tname","type":"string"},{"internalType":"string","name":"tsymbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Snapshot","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"activateHolderReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"addingDecimal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"balanceOfAt","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":"_receiver","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"distributeRewardByVoting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getCurrentSnapshotId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLiquidityTokensReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPendingRewardByVoting","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getRewardOfLiquidityUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTokensReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"halvingBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"setExclude","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"liquidity","type":"address"}],"name":"setLiquidityAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_votingContract","type":"address"}],"name":"setVotingContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"snapshot","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDistributedReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"snapshotId","type":"uint256"}],"name":"totalSupplyAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526012600d60006101000a81548160ff021916908360ff160217905550604051806060016040528063012c648e63ffffffff1681526020016301cb709c63ffffffff16815260200163026a7caa63ffffffff1681525060129060036200006b929190620015d6565b503480156200007957600080fd5b50604051620061333803806200613383398181016040528101906200009f9190620017e2565b620000bf620000b36200032260201b60201c565b6200032a60201b60201c565b81600b9081620000d0919062001ab2565b5080600c9081620000e2919062001ab2565b506200013073b8f226ddb7bc672e27dffb67e4adabfa8c0dfa08606460326a115eec47f6cf7e3500000062000118919062001bc8565b62000124919062001c42565b620003ee60201b60201c565b620001b530606460326a115eec47f6cf7e3500000062000151919062001bc8565b6200015d919062001c42565b6064600a6a115eec47f6cf7e3500000062000179919062001bc8565b62000185919062001c42565b6a115eec47f6cf7e350000006200019d919062001c7a565b620001a9919062001c7a565b620003ee60201b60201c565b620001fd620001c96200032260201b60201c565b6064600a6a115eec47f6cf7e35000000620001e5919062001bc8565b620001f1919062001c42565b620003ee60201b60201c565b6200020e30620006ee60201b60201c565b6200023373dead000000000000000042069420694206942069620006ee60201b60201c565b6200025873b8f226ddb7bc672e27dffb67e4adabfa8c0dfa08620006ee60201b60201c565b60646014606460326a115eec47f6cf7e3500000062000278919062001bc8565b62000284919062001c42565b6064600a6a115eec47f6cf7e35000000620002a0919062001bc8565b620002ac919062001c42565b6a115eec47f6cf7e35000000620002c4919062001c7a565b620002d0919062001c7a565b620002dc919062001bc8565b620002e8919062001c42565b6016819055506016546019819055506000601760006101000a81548160ff0219169083151502179055506000601881905550505062002178565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000460576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004579062001d16565b60405180910390fd5b62000474600083836200099f60201b60201c565b806007600082825462000488919062001d38565b925050819055506000600854036200054c578060096000828254620004ae919062001d38565b92505081905550620004c562000a8060201b60201c565b600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000515919062001d38565b925050819055506200052c62000a8060201b60201c565b600860008282546200053f919062001d38565b9250508190555062000667565b6200055c62000aa560201b60201c565b600960008282546200056f919062001d38565b9250508190555060006008546200058b62000a8060201b60201c565b6009546200059a919062001bc8565b620005a6919062001c42565b9050600081620005bb62000a8060201b60201c565b84620005c8919062001bc8565b620005d4919062001c42565b905080600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000627919062001d38565b92505081905550806008600082825462000642919062001d38565b9250508190555082600960008282546200065d919062001d38565b9250508190555050505b43600a819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620006ce919062001d84565b60405180910390a3620006ea6000838362000ac360201b60201c565b5050565b620006fe62000ac860201b60201c565b60001515600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151462000794576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200078b9062001df1565b60405180910390fd5b620007a58162000b5960201b60201c565b601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506010819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550601160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460096000828254620008f6919062001c7a565b92505081905550600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546008600082825462000950919062001c7a565b925050819055506000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620009fb57620009e58262000d6060201b60201c565b620009f562000dc360201b60201c565b62000a7b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000a575762000a418362000d6060201b60201c565b62000a5162000dc360201b60201c565b62000a7a565b62000a688362000d6060201b60201c565b62000a798262000d6060201b60201c565b5b5b505050565b6000600d60009054906101000a900460ff16600a62000aa0919062001f74565b905090565b600062000abe601454600a544362000de760201b60201c565b905090565b505050565b62000ad86200032260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000afe62000fb460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000b57576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000b4e9062002015565b60405180910390fd5b565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161562000c8e573073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000c465762000bf262000fdd60201b60201c565b601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205462000c3e919062001c7a565b905062000d5b565b601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905062000d5b565b600062000ca1836200102760201b60201c565b905060006008540362000cb8578091505062000d5b565b60006009549050600a5443111562000cea5762000cda62000aa560201b60201c565b8162000ce7919062001d38565b90505b600854600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548262000d3a919062001bc8565b62000d46919062001c42565b8262000d53919062001d38565b915081925050505b919050565b62000dc0600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002062000db48362000b5960201b60201c565b6200138f60201b60201c565b50565b62000de5600262000dd96200141b60201b60201c565b6200138f60201b60201c565b565b6000806000905060135484101562000dff5760135493505b83831162000e1257600091505062000fad565b6000850362000e2657600091505062000fad565b600090505b60128054905081101562000e89576012818154811062000e505762000e4f62002037565b5b9060005260206000200154841062000e895760028562000e71919062001c42565b9450808062000e809062002066565b91505062000e2b565b601280549050810362000ea157600091505062000fad565b6000808290505b60128054905081101562000fa6576012818154811062000ecd5762000ecc62002037565b5b906000526020600020015485101562000f1057858562000eee919062001c7a565b8762000efb919062001bc8565b8262000f08919062001d38565b915062000fa6565b856012828154811062000f285762000f2762002037565b5b906000526020600020015462000f3f919062001c7a565b8762000f4c919062001bc8565b8262000f59919062001d38565b91506012818154811062000f725762000f7162002037565b5b9060005260206000200154955060028762000f8e919062001c42565b9650808062000f9d9062002066565b91505062000ea8565b5080925050505b9392505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008062001004601354600460165462000ff8919062001bc8565b6200142560201b60201c565b905060006200101d826013544362000de760201b60201c565b9050809250505090565b600080601e549050600073ffffffffffffffffffffffffffffffffffffffff16601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603620010915760009150506200138a565b6000601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001101573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011279190620020e4565b90506000601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b81526004016200118891906200215b565b602060405180830381865afa158015620011a6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011cc9190620020e4565b90506000439050600060126001601280549050620011eb919062001c7a565b81548110620011ff57620011fe62002037565b5b906000526020600020015490508082111562001219578091505b601d54821180156200122c575060008414155b1562001281576000620012446200153e60201b60201c565b9050846200125762000a8060201b60201c565b8262001264919062001bc8565b62001270919062001c42565b866200127d919062001d38565b9550505b6000601f60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050602060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff16036200134a576200132b62000a8060201b60201c565b601e54856200133b919062001bc8565b62001347919062001c42565b90505b806200135b62000a8060201b60201c565b878662001369919062001bc8565b62001375919062001c42565b62001381919062001c7a565b96505050505050505b919050565b6000620013a16200155c60201b60201c565b905080620013b8846000016200157560201b60201c565b1015620014165782600001819080600181540180825580915050600190039060005260206000200160009091909190915055826001018290806001815401808255809150506001900390600052602060002001600090919091909150555b505050565b6000600754905090565b600080600090506000806001905060001515601760009054906101000a900460ff161515036200145c576000935050505062001538565b60005b6012805490508110156200150a576012818154811062001484576200148362002037565b5b9060005260206000200154871015620014e357818760128381548110620014b057620014af62002037565b5b9060005260206000200154620014c7919062001c7a565b620014d3919062001c42565b83620014e0919062001d38565b92505b600282620014f2919062001bc8565b91508080620015019062002066565b9150506200145f565b506000820362001521576000935050505062001538565b81856200152f919062001c42565b92508293505050505b92915050565b600062001557601554601d544362000de760201b60201c565b905090565b6000620015706004620015c860201b60201c565b905090565b6000808280549050036200158d5760009050620015c3565b8160018380549050620015a1919062001c7a565b81548110620015b557620015b462002037565b5b906000526020600020015490505b919050565b600081600001549050919050565b8280548282559060005260206000209081019282156200161d579160200282015b828111156200161c578251829063ffffffff16905591602001919060010190620015f7565b5b5090506200162c919062001630565b5090565b5b808211156200164b57600081600090555060010162001631565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620016b8826200166d565b810181811067ffffffffffffffff82111715620016da57620016d96200167e565b5b80604052505050565b6000620016ef6200164f565b9050620016fd8282620016ad565b919050565b600067ffffffffffffffff82111562001720576200171f6200167e565b5b6200172b826200166d565b9050602081019050919050565b60005b83811015620017585780820151818401526020810190506200173b565b60008484015250505050565b60006200177b620017758462001702565b620016e3565b9050828152602081018484840111156200179a576200179962001668565b5b620017a784828562001738565b509392505050565b600082601f830112620017c757620017c662001663565b5b8151620017d984826020860162001764565b91505092915050565b60008060408385031215620017fc57620017fb62001659565b5b600083015167ffffffffffffffff8111156200181d576200181c6200165e565b5b6200182b85828601620017af565b925050602083015167ffffffffffffffff8111156200184f576200184e6200165e565b5b6200185d85828601620017af565b9150509250929050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620018ba57607f821691505b602082108103620018d057620018cf62001872565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200193a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620018fb565b620019468683620018fb565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620019936200198d62001987846200195e565b62001968565b6200195e565b9050919050565b6000819050919050565b620019af8362001972565b620019c7620019be826200199a565b84845462001908565b825550505050565b600090565b620019de620019cf565b620019eb818484620019a4565b505050565b5b8181101562001a135762001a07600082620019d4565b600181019050620019f1565b5050565b601f82111562001a625762001a2c81620018d6565b62001a3784620018eb565b8101602085101562001a47578190505b62001a5f62001a5685620018eb565b830182620019f0565b50505b505050565b600082821c905092915050565b600062001a876000198460080262001a67565b1980831691505092915050565b600062001aa2838362001a74565b9150826002028217905092915050565b62001abd8262001867565b67ffffffffffffffff81111562001ad95762001ad86200167e565b5b62001ae58254620018a1565b62001af282828562001a17565b600060209050601f83116001811462001b2a576000841562001b15578287015190505b62001b21858262001a94565b86555062001b91565b601f19841662001b3a86620018d6565b60005b8281101562001b645784890151825560018201915060208501945060208101905062001b3d565b8683101562001b84578489015162001b80601f89168262001a74565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062001bd5826200195e565b915062001be2836200195e565b925082820262001bf2816200195e565b9150828204841483151762001c0c5762001c0b62001b99565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600062001c4f826200195e565b915062001c5c836200195e565b92508262001c6f5762001c6e62001c13565b5b828204905092915050565b600062001c87826200195e565b915062001c94836200195e565b925082820390508181111562001caf5762001cae62001b99565b5b92915050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062001cfe601f8362001cb5565b915062001d0b8262001cc6565b602082019050919050565b6000602082019050818103600083015262001d318162001cef565b9050919050565b600062001d45826200195e565b915062001d52836200195e565b925082820190508082111562001d6d5762001d6c62001b99565b5b92915050565b62001d7e816200195e565b82525050565b600060208201905062001d9b600083018462001d73565b92915050565b7f616c7265616479206578636c7564656421000000000000000000000000000000600082015250565b600062001dd960118362001cb5565b915062001de68262001da1565b602082019050919050565b6000602082019050818103600083015262001e0c8162001dca565b9050919050565b60008160011c9050919050565b6000808291508390505b600185111562001e725780860481111562001e4a5762001e4962001b99565b5b600185161562001e5a5780820291505b808102905062001e6a8562001e13565b945062001e2a565b94509492505050565b60008262001e8d576001905062001f60565b8162001e9d576000905062001f60565b816001811462001eb6576002811462001ec15762001ef7565b600191505062001f60565b60ff84111562001ed65762001ed562001b99565b5b8360020a91508482111562001ef05762001eef62001b99565b5b5062001f60565b5060208310610133831016604e8410600b841016171562001f315782820a90508381111562001f2b5762001f2a62001b99565b5b62001f60565b62001f40848484600162001e20565b9250905081840481111562001f5a5762001f5962001b99565b5b81810290505b9392505050565b600060ff82169050919050565b600062001f81826200195e565b915062001f8e8362001f67565b925062001fbd7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462001e7b565b905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062001ffd60208362001cb5565b91506200200a8262001fc5565b602082019050919050565b60006020820190508181036000830152620020308162001fee565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600062002073826200195e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203620020a857620020a762001b99565b5b600182019050919050565b620020be816200195e565b8114620020ca57600080fd5b50565b600081519050620020de81620020b3565b92915050565b600060208284031215620020fd57620020fc62001659565b5b60006200210d84828501620020cd565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620021438262002116565b9050919050565b620021558162002136565b82525050565b60006020820190506200217260008301846200214a565b92915050565b613fab80620021886000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c806363d80c1b11610104578063981b24d0116100a2578063dd62ed3e11610071578063dd62ed3e1461056f578063deaa8afd1461059f578063e7c6ba34146105bd578063f2fde38b146105db576101da565b8063981b24d0146104c1578063a457c2d7146104f1578063a9059cbb14610521578063bcc1275514610551576101da565b8063715018a6116100de578063715018a61461045d5780638da5cb5b1461046757806395d89b41146104855780639711715a146104a3576101da565b806363d80c1b146103f35780636f70f4fd1461042357806370a082311461042d576101da565b8063395093511161017c5780635439ad861161014b5780635439ad86146103815780635b8427241461039f5780635f6f8b5f146103bb57806362b08e70146103d7576101da565b806339509351146102e757806348abac07146103175780634ee2cd7e14610335578063525fa81f14610365576101da565b806320ca7342116101b857806320ca73421461024b57806323b872dd14610269578063313ce567146102995780633168ae59146102b7576101da565b806306fdde03146101df578063095ea7b3146101fd57806318160ddd1461022d575b600080fd5b6101e76105f7565b6040516101f49190613276565b60405180910390f35b61021760048036038101906102129190613331565b610689565b604051610224919061338c565b60405180910390f35b6102356106ac565b60405161024291906133b6565b60405180910390f35b6102536106b6565b60405161026091906133b6565b60405180910390f35b610283600480360381019061027e91906133d1565b6106d9565b604051610290919061338c565b60405180910390f35b6102a1610708565b6040516102ae9190613440565b60405180910390f35b6102d160048036038101906102cc919061345b565b61071f565b6040516102de91906133b6565b60405180910390f35b61030160048036038101906102fc9190613331565b610743565b60405161030e919061338c565b60405180910390f35b61031f61077a565b60405161032c91906133b6565b60405180910390f35b61034f600480360381019061034a9190613331565b61079d565b60405161035c91906133b6565b60405180910390f35b61037f600480360381019061037a9190613488565b61080d565b005b610389610859565b60405161039691906133b6565b60405180910390f35b6103b960048036038101906103b49190613331565b610868565b005b6103d560048036038101906103d09190613488565b61098a565b005b6103f160048036038101906103ec9190613488565b610c24565b005b61040d60048036038101906104089190613488565b610c70565b60405161041a91906133b6565b60405180910390f35b61042b610f95565b005b61044760048036038101906104429190613488565b610ff1565b60405161045491906133b6565b60405180910390f35b6104656111cf565b005b61046f6111e3565b60405161047c91906134c4565b60405180910390f35b61048d61120c565b60405161049a9190613276565b60405180910390f35b6104ab61129e565b6040516104b891906133b6565b60405180910390f35b6104db60048036038101906104d6919061345b565b61130e565b6040516104e891906133b6565b60405180910390f35b61050b60048036038101906105069190613331565b61133f565b604051610518919061338c565b60405180910390f35b61053b60048036038101906105369190613331565b6113b6565b604051610548919061338c565b60405180910390f35b6105596113d9565b60405161056691906133b6565b60405180910390f35b610589600480360381019061058491906134df565b6113ef565b60405161059691906133b6565b60405180910390f35b6105a7611476565b6040516105b491906133b6565b60405180910390f35b6105c561149a565b6040516105d291906133b6565b60405180910390f35b6105f560048036038101906105f09190613488565b6114b0565b005b6060600b80546106069061354e565b80601f01602080910402602001604051908101604052809291908181526020018280546106329061354e565b801561067f5780601f106106545761010080835404028352916020019161067f565b820191906000526020600020905b81548152906001019060200180831161066257829003601f168201915b5050505050905090565b600080610694611533565b90506106a181858561153b565b600191505092915050565b6000600754905090565b60006022546106ca60145460135443611704565b6106d491906135ae565b905090565b6000806106e4611533565b90506106f18582856118a3565b6106fc85858561192f565b60019150509392505050565b6000600d60009054906101000a900460ff16905090565b6012818154811061072f57600080fd5b906000526020600020016000915090505481565b60008061074e611533565b905061076f81858561076085896113ef565b61076a91906135e2565b61153b565b600191505092915050565b6000600d60009054906101000a900460ff16600a6107989190613749565b905090565b60008060006107ea84600160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611d7c565b9150915081610801576107fc85610ff1565b610803565b805b9250505092915050565b610815611e71565b80601b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000610863611eef565b905090565b602160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108a9611533565b73ffffffffffffffffffffffffffffffffffffffff16146108ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f690613806565b60405180910390fd5b60006109096106b6565b905060008211801561091b5750808211155b61095a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095190613872565b60405180910390fd5b61096530848461192f565b816022600082825461097791906135e2565b9250508190555043601a81905550505050565b610992611e71565b60001515600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1c906138de565b60405180910390fd5b610a2e81610ff1565b601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506010819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550601160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460096000828254610b7d91906135ae565b92505081905550600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460086000828254610bd591906135ae565b925050819055506000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b610c2c611e71565b80602160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080601e549050600073ffffffffffffffffffffffffffffffffffffffff16601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610cd8576000915050610f90565b6000601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6b9190613913565b90506000601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b8152600401610dca91906134c4565b602060405180830381865afa158015610de7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e0b9190613913565b90506000439050600060126001601280549050610e2891906135ae565b81548110610e3957610e38613940565b5b9060005260206000200154905080821115610e52578091505b601d5482118015610e64575060008414155b15610ea2576000610e7361149a565b905084610e7e61077a565b82610e89919061396f565b610e9391906139e0565b86610e9e91906135e2565b9550505b6000601f60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050602060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1603610f5e57610f4361077a565b601e5485610f51919061396f565b610f5b91906139e0565b90505b80610f6761077a565b8786610f73919061396f565b610f7d91906139e0565b610f8791906135ae565b96505050505050505b919050565b610f9d611e71565b436013819055506001601760006101000a81548160ff021916908315150217905550610fcd601354601654611f00565b6014819055506003601454610fe2919061396f565b60158190555043601881905550565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611118573073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110d157611080612000565b601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546110ca91906135ae565b90506111ca565b601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506111ca565b600061112383610c70565b905060006008540361113857809150506111ca565b60006009549050600a5443111561115f576111516113d9565b8161115c91906135e2565b90505b600854600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826111ad919061396f565b6111b791906139e0565b826111c291906135e2565b915081925050505b919050565b6111d7611e71565b6111e16000612038565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600c805461121b9061354e565b80601f01602080910402602001604051908101604052809291908181526020018280546112479061354e565b80156112945780601f1061126957610100808354040283529160200191611294565b820191906000526020600020905b81548152906001019060200180831161127757829003601f168201915b5050505050905090565b6000602160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166112e1611533565b73ffffffffffffffffffffffffffffffffffffffff161461130157600080fd5b6113096120fc565b905090565b600080600061131e846002611d7c565b91509150816113345761132f6106ac565b611336565b805b92505050919050565b60008061134a611533565b9050600061135882866113ef565b90508381101561139d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139490613a83565b60405180910390fd5b6113aa828686840361153b565b60019250505092915050565b6000806113c1611533565b90506113ce81858561192f565b600191505092915050565b60006113ea601454600a5443611704565b905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600080611481612000565b90506022548161149191906135e2565b90508091505090565b60006114ab601554601d5443611704565b905090565b6114b8611e71565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611527576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151e90613b15565b60405180910390fd5b61153081612038565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036115aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a190613ba7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611619576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161090613c39565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516116f791906133b6565b60405180910390a3505050565b6000806000905060135484101561171b5760135493505b83831161172c57600091505061189c565b6000850361173e57600091505061189c565b600090505b601280549050811015611797576012818154811061176457611763613940565b5b906000526020600020015484106117975760028561178291906139e0565b9450808061178f90613c59565b915050611743565b60128054905081036117ad57600091505061189c565b6000808290505b60128054905081101561189557601281815481106117d5576117d4613940565b5b90600052602060002001548510156118105785856117f391906135ae565b876117fe919061396f565b8261180991906135e2565b9150611895565b856012828154811061182557611824613940565b5b906000526020600020015461183a91906135ae565b87611845919061396f565b8261185091906135e2565b91506012818154811061186657611865613940565b5b9060005260206000200154955060028761188091906139e0565b9650808061188d90613c59565b9150506117b4565b5080925050505b9392505050565b60006118af84846113ef565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611929578181101561191b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191290613ced565b60405180910390fd5b611928848484840361153b565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361199e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199590613d7f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0490613e11565b60405180910390fd5b611a18838383612152565b600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168015611abb5750600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611ad057611acb8383836121ff565b611d07565b600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015611b735750600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b15611b8857611b838383836127d8565b611d06565b600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015611c2c5750600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611c4157611c3c838383612db1565b611d05565b600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168015611ce35750600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b15611cf857611cf3838383612ed3565b611d04565b611d03838383612db1565b5b5b5b5b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611d6491906133b6565b60405180910390a3611d77838383612f84565b505050565b60008060008411611dc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db990613e7d565b60405180910390fd5b611dca611eef565b841115611e0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0390613ee9565b60405180910390fd5b6000611e248585600001612f8990919063ffffffff16565b905083600001805490508103611e41576000809250925050611e6a565b6001846001018281548110611e5957611e58613940565b5b906000526020600020015492509250505b9250929050565b611e79611533565b73ffffffffffffffffffffffffffffffffffffffff16611e976111e3565b73ffffffffffffffffffffffffffffffffffffffff1614611eed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee490613f55565b60405180910390fd5b565b6000611efb6004613042565b905090565b600080600090506000806001905060001515601760009054906101000a900460ff16151503611f355760009350505050611ffa565b60005b601280549050811015611fd05760128181548110611f5957611f58613940565b5b9060005260206000200154871015611fae57818760128381548110611f8157611f80613940565b5b9060005260206000200154611f9691906135ae565b611fa091906139e0565b83611fab91906135e2565b92505b600282611fbb919061396f565b91508080611fc890613c59565b915050611f38565b5060008203611fe55760009350505050611ffa565b8185611ff191906139e0565b92508293505050505b92915050565b60008061201d6013546004601654612018919061396f565b611f00565b9050600061202e8260135443611704565b9050809250505090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006121086004613050565b6000612112611eef565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb678160405161214391906133b6565b60405180910390a18091505090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361219c5761218f82613066565b6121976130b9565b6121fa565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036121e6576121d983613066565b6121e16130b9565b6121f9565b6121ef83613066565b6121f882613066565b5b5b505050565b6122076113d9565b6009600082825461221891906135e2565b92505081905550600060085461222c61077a565b600954612239919061396f565b61224391906139e0565b905060008161225061077a565b8461225b919061396f565b61226591906139e0565b9050826009600082825461227991906135e2565b9250508190555082601160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122cf91906135ae565b9250508190555080600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461232591906135e2565b92505081905550806008600082825461233e91906135e2565b9250508190555043600a81905550601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036127d1576000601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612410573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124349190613913565b90506000601d540361248d5784602060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555043601d819055506127cf565b601d544311156127ce576000601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231602060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b815260040161251691906134c4565b602060405180830381865afa158015612533573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125579190613913565b9050601e5481612567919061396f565b601f6000602060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816125d561149a565b6125df91906139e0565b601e60008282546125f091906135e2565b925050819055506000601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231886040518263ffffffff1660e01b815260040161265491906134c4565b602060405180830381865afa158015612671573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126959190613913565b90506000601f60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126e161077a565b83601e546126ef919061396f565b6126f991906139e0565b61270391906135ae565b90506000811115612782578561271761077a565b82612722919061396f565b61272c91906139e0565b600560008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461277a91906135e2565b925050819055505b43601d8190555087602060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505b5b505b5050505050565b6127e06113d9565b600960008282546127f191906135e2565b92505081905550600060085461280561077a565b600954612812919061396f565b61281c91906139e0565b905060008161282961077a565b84612834919061396f565b61283e91906139e0565b9050826009600082825461285291906135ae565b9250508190555080600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128a891906135ae565b9250508190555082601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128fe91906135e2565b92505081905550806008600082825461291791906135ae565b9250508190555043600a81905550601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612daa576000601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156129e9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a0d9190613913565b90506000601d5403612a665785602060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555043601d81905550612da8565b601d54431115612da7576000601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231602060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b8152600401612aef91906134c4565b602060405180830381865afa158015612b0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b309190613913565b9050601e5481612b40919061396f565b601f6000602060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081612bae61149a565b612bb891906139e0565b601e6000828254612bc991906135e2565b925050819055506000601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231896040518263ffffffff1660e01b8152600401612c2d91906134c4565b602060405180830381865afa158015612c4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c6e9190613913565b90506000601f60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612cba61077a565b83601e54612cc8919061396f565b612cd291906139e0565b612cdc91906135ae565b90506000811115612d5b5785612cf061077a565b82612cfb919061396f565b612d0591906139e0565b600560008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d5391906135e2565b925050819055505b43601d8190555088602060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505b5b505b5050505050565b612db96113d9565b60096000828254612dca91906135e2565b925050819055506000600854612dde61077a565b600954612deb919061396f565b612df591906139e0565b9050600081612e0261077a565b84612e0d919061396f565b612e1791906139e0565b905080600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e6891906135ae565b9250508190555080600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ebe91906135e2565b9250508190555043600a819055505050505050565b80601160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f2291906135ae565b9250508190555080601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f7891906135e2565b92505081905550505050565b505050565b600080838054905003612f9f576000905061303c565b600080848054905090505b80821015612ff3576000612fbe83836130cd565b905084612fcb87836130f3565b600001541115612fdd57809150612fed565b600181612fea91906135e2565b92505b50612faa565b60008211801561301b5750836130158660018561301091906135ae565b6130f3565b60000154145b156130365760018261302d91906135ae565b9250505061303c565b81925050505b92915050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6130b6600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206130b183610ff1565b613115565b50565b6130cb60026130c66106ac565b613115565b565b600060028284186130de91906139e0565b8284166130eb91906135e2565b905092915050565b6000808360005282602060002001905061310c81613190565b91505092915050565b600061311f611eef565b90508061312e8460000161319a565b101561318b5782600001819080600181540180825580915050600190039060005260206000200160009091909190915055826001018290806001815401808255809150506001900390600052602060002001600090919091909150555b505050565b6000819050919050565b6000808280549050036131b057600090506131e1565b81600183805490506131c291906135ae565b815481106131d3576131d2613940565b5b906000526020600020015490505b919050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613220578082015181840152602081019050613205565b60008484015250505050565b6000601f19601f8301169050919050565b6000613248826131e6565b61325281856131f1565b9350613262818560208601613202565b61326b8161322c565b840191505092915050565b60006020820190508181036000830152613290818461323d565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132c88261329d565b9050919050565b6132d8816132bd565b81146132e357600080fd5b50565b6000813590506132f5816132cf565b92915050565b6000819050919050565b61330e816132fb565b811461331957600080fd5b50565b60008135905061332b81613305565b92915050565b6000806040838503121561334857613347613298565b5b6000613356858286016132e6565b92505060206133678582860161331c565b9150509250929050565b60008115159050919050565b61338681613371565b82525050565b60006020820190506133a1600083018461337d565b92915050565b6133b0816132fb565b82525050565b60006020820190506133cb60008301846133a7565b92915050565b6000806000606084860312156133ea576133e9613298565b5b60006133f8868287016132e6565b9350506020613409868287016132e6565b925050604061341a8682870161331c565b9150509250925092565b600060ff82169050919050565b61343a81613424565b82525050565b60006020820190506134556000830184613431565b92915050565b60006020828403121561347157613470613298565b5b600061347f8482850161331c565b91505092915050565b60006020828403121561349e5761349d613298565b5b60006134ac848285016132e6565b91505092915050565b6134be816132bd565b82525050565b60006020820190506134d960008301846134b5565b92915050565b600080604083850312156134f6576134f5613298565b5b6000613504858286016132e6565b9250506020613515858286016132e6565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061356657607f821691505b6020821081036135795761357861351f565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006135b9826132fb565b91506135c4836132fb565b92508282039050818111156135dc576135db61357f565b5b92915050565b60006135ed826132fb565b91506135f8836132fb565b92508282019050808211156136105761360f61357f565b5b92915050565b60008160011c9050919050565b6000808291508390505b600185111561366d578086048111156136495761364861357f565b5b60018516156136585780820291505b808102905061366685613616565b945061362d565b94509492505050565b6000826136865760019050613742565b816136945760009050613742565b81600181146136aa57600281146136b4576136e3565b6001915050613742565b60ff8411156136c6576136c561357f565b5b8360020a9150848211156136dd576136dc61357f565b5b50613742565b5060208310610133831016604e8410600b84101617156137185782820a9050838111156137135761371261357f565b5b613742565b6137258484846001613623565b9250905081840481111561373c5761373b61357f565b5b81810290505b9392505050565b6000613754826132fb565b915061375f83613424565b925061378c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484613676565b905092915050565b7f6f6e6c7920766f74696e6720636f6e74726163742063616e2063616c6c20746860008201527f69732066756e6374696f6e000000000000000000000000000000000000000000602082015250565b60006137f0602b836131f1565b91506137fb82613794565b604082019050919050565b6000602082019050818103600083015261381f816137e3565b9050919050565b7f43616e27742064697374726962757465207468697320616d6f756e7400000000600082015250565b600061385c601c836131f1565b915061386782613826565b602082019050919050565b6000602082019050818103600083015261388b8161384f565b9050919050565b7f616c7265616479206578636c7564656421000000000000000000000000000000600082015250565b60006138c86011836131f1565b91506138d382613892565b602082019050919050565b600060208201905081810360008301526138f7816138bb565b9050919050565b60008151905061390d81613305565b92915050565b60006020828403121561392957613928613298565b5b6000613937848285016138fe565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061397a826132fb565b9150613985836132fb565b9250828202613993816132fb565b915082820484148315176139aa576139a961357f565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006139eb826132fb565b91506139f6836132fb565b925082613a0657613a056139b1565b5b828204905092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000613a6d6025836131f1565b9150613a7882613a11565b604082019050919050565b60006020820190508181036000830152613a9c81613a60565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613aff6026836131f1565b9150613b0a82613aa3565b604082019050919050565b60006020820190508181036000830152613b2e81613af2565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613b916024836131f1565b9150613b9c82613b35565b604082019050919050565b60006020820190508181036000830152613bc081613b84565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c236022836131f1565b9150613c2e82613bc7565b604082019050919050565b60006020820190508181036000830152613c5281613c16565b9050919050565b6000613c64826132fb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613c9657613c9561357f565b5b600182019050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000613cd7601d836131f1565b9150613ce282613ca1565b602082019050919050565b60006020820190508181036000830152613d0681613cca565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613d696025836131f1565b9150613d7482613d0d565b604082019050919050565b60006020820190508181036000830152613d9881613d5c565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613dfb6023836131f1565b9150613e0682613d9f565b604082019050919050565b60006020820190508181036000830152613e2a81613dee565b9050919050565b7f4552433230536e617073686f743a206964206973203000000000000000000000600082015250565b6000613e676016836131f1565b9150613e7282613e31565b602082019050919050565b60006020820190508181036000830152613e9681613e5a565b9050919050565b7f4552433230536e617073686f743a206e6f6e6578697374656e74206964000000600082015250565b6000613ed3601d836131f1565b9150613ede82613e9d565b602082019050919050565b60006020820190508181036000830152613f0281613ec6565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613f3f6020836131f1565b9150613f4a82613f09565b602082019050919050565b60006020820190508181036000830152613f6e81613f32565b905091905056fea26469706673582212201ae46a250bb3211939274a805b0a6cb20d1481d3476429b47cf762aa2f6596d064736f6c6343000813003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000b446f67536869546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006444f475348490000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101da5760003560e01c806363d80c1b11610104578063981b24d0116100a2578063dd62ed3e11610071578063dd62ed3e1461056f578063deaa8afd1461059f578063e7c6ba34146105bd578063f2fde38b146105db576101da565b8063981b24d0146104c1578063a457c2d7146104f1578063a9059cbb14610521578063bcc1275514610551576101da565b8063715018a6116100de578063715018a61461045d5780638da5cb5b1461046757806395d89b41146104855780639711715a146104a3576101da565b806363d80c1b146103f35780636f70f4fd1461042357806370a082311461042d576101da565b8063395093511161017c5780635439ad861161014b5780635439ad86146103815780635b8427241461039f5780635f6f8b5f146103bb57806362b08e70146103d7576101da565b806339509351146102e757806348abac07146103175780634ee2cd7e14610335578063525fa81f14610365576101da565b806320ca7342116101b857806320ca73421461024b57806323b872dd14610269578063313ce567146102995780633168ae59146102b7576101da565b806306fdde03146101df578063095ea7b3146101fd57806318160ddd1461022d575b600080fd5b6101e76105f7565b6040516101f49190613276565b60405180910390f35b61021760048036038101906102129190613331565b610689565b604051610224919061338c565b60405180910390f35b6102356106ac565b60405161024291906133b6565b60405180910390f35b6102536106b6565b60405161026091906133b6565b60405180910390f35b610283600480360381019061027e91906133d1565b6106d9565b604051610290919061338c565b60405180910390f35b6102a1610708565b6040516102ae9190613440565b60405180910390f35b6102d160048036038101906102cc919061345b565b61071f565b6040516102de91906133b6565b60405180910390f35b61030160048036038101906102fc9190613331565b610743565b60405161030e919061338c565b60405180910390f35b61031f61077a565b60405161032c91906133b6565b60405180910390f35b61034f600480360381019061034a9190613331565b61079d565b60405161035c91906133b6565b60405180910390f35b61037f600480360381019061037a9190613488565b61080d565b005b610389610859565b60405161039691906133b6565b60405180910390f35b6103b960048036038101906103b49190613331565b610868565b005b6103d560048036038101906103d09190613488565b61098a565b005b6103f160048036038101906103ec9190613488565b610c24565b005b61040d60048036038101906104089190613488565b610c70565b60405161041a91906133b6565b60405180910390f35b61042b610f95565b005b61044760048036038101906104429190613488565b610ff1565b60405161045491906133b6565b60405180910390f35b6104656111cf565b005b61046f6111e3565b60405161047c91906134c4565b60405180910390f35b61048d61120c565b60405161049a9190613276565b60405180910390f35b6104ab61129e565b6040516104b891906133b6565b60405180910390f35b6104db60048036038101906104d6919061345b565b61130e565b6040516104e891906133b6565b60405180910390f35b61050b60048036038101906105069190613331565b61133f565b604051610518919061338c565b60405180910390f35b61053b60048036038101906105369190613331565b6113b6565b604051610548919061338c565b60405180910390f35b6105596113d9565b60405161056691906133b6565b60405180910390f35b610589600480360381019061058491906134df565b6113ef565b60405161059691906133b6565b60405180910390f35b6105a7611476565b6040516105b491906133b6565b60405180910390f35b6105c561149a565b6040516105d291906133b6565b60405180910390f35b6105f560048036038101906105f09190613488565b6114b0565b005b6060600b80546106069061354e565b80601f01602080910402602001604051908101604052809291908181526020018280546106329061354e565b801561067f5780601f106106545761010080835404028352916020019161067f565b820191906000526020600020905b81548152906001019060200180831161066257829003601f168201915b5050505050905090565b600080610694611533565b90506106a181858561153b565b600191505092915050565b6000600754905090565b60006022546106ca60145460135443611704565b6106d491906135ae565b905090565b6000806106e4611533565b90506106f18582856118a3565b6106fc85858561192f565b60019150509392505050565b6000600d60009054906101000a900460ff16905090565b6012818154811061072f57600080fd5b906000526020600020016000915090505481565b60008061074e611533565b905061076f81858561076085896113ef565b61076a91906135e2565b61153b565b600191505092915050565b6000600d60009054906101000a900460ff16600a6107989190613749565b905090565b60008060006107ea84600160008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611d7c565b9150915081610801576107fc85610ff1565b610803565b805b9250505092915050565b610815611e71565b80601b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000610863611eef565b905090565b602160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108a9611533565b73ffffffffffffffffffffffffffffffffffffffff16146108ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f690613806565b60405180910390fd5b60006109096106b6565b905060008211801561091b5750808211155b61095a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095190613872565b60405180910390fd5b61096530848461192f565b816022600082825461097791906135e2565b9250508190555043601a81905550505050565b610992611e71565b60001515600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1c906138de565b60405180910390fd5b610a2e81610ff1565b601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506010819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550601160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460096000828254610b7d91906135ae565b92505081905550600560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460086000828254610bd591906135ae565b925050819055506000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b610c2c611e71565b80602160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080601e549050600073ffffffffffffffffffffffffffffffffffffffff16601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610cd8576000915050610f90565b6000601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6b9190613913565b90506000601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231866040518263ffffffff1660e01b8152600401610dca91906134c4565b602060405180830381865afa158015610de7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e0b9190613913565b90506000439050600060126001601280549050610e2891906135ae565b81548110610e3957610e38613940565b5b9060005260206000200154905080821115610e52578091505b601d5482118015610e64575060008414155b15610ea2576000610e7361149a565b905084610e7e61077a565b82610e89919061396f565b610e9391906139e0565b86610e9e91906135e2565b9550505b6000601f60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050602060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1603610f5e57610f4361077a565b601e5485610f51919061396f565b610f5b91906139e0565b90505b80610f6761077a565b8786610f73919061396f565b610f7d91906139e0565b610f8791906135ae565b96505050505050505b919050565b610f9d611e71565b436013819055506001601760006101000a81548160ff021916908315150217905550610fcd601354601654611f00565b6014819055506003601454610fe2919061396f565b60158190555043601881905550565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611118573073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110d157611080612000565b601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546110ca91906135ae565b90506111ca565b601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506111ca565b600061112383610c70565b905060006008540361113857809150506111ca565b60006009549050600a5443111561115f576111516113d9565b8161115c91906135e2565b90505b600854600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826111ad919061396f565b6111b791906139e0565b826111c291906135e2565b915081925050505b919050565b6111d7611e71565b6111e16000612038565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600c805461121b9061354e565b80601f01602080910402602001604051908101604052809291908181526020018280546112479061354e565b80156112945780601f1061126957610100808354040283529160200191611294565b820191906000526020600020905b81548152906001019060200180831161127757829003601f168201915b5050505050905090565b6000602160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166112e1611533565b73ffffffffffffffffffffffffffffffffffffffff161461130157600080fd5b6113096120fc565b905090565b600080600061131e846002611d7c565b91509150816113345761132f6106ac565b611336565b805b92505050919050565b60008061134a611533565b9050600061135882866113ef565b90508381101561139d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139490613a83565b60405180910390fd5b6113aa828686840361153b565b60019250505092915050565b6000806113c1611533565b90506113ce81858561192f565b600191505092915050565b60006113ea601454600a5443611704565b905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600080611481612000565b90506022548161149191906135e2565b90508091505090565b60006114ab601554601d5443611704565b905090565b6114b8611e71565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611527576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151e90613b15565b60405180910390fd5b61153081612038565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036115aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a190613ba7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611619576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161090613c39565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516116f791906133b6565b60405180910390a3505050565b6000806000905060135484101561171b5760135493505b83831161172c57600091505061189c565b6000850361173e57600091505061189c565b600090505b601280549050811015611797576012818154811061176457611763613940565b5b906000526020600020015484106117975760028561178291906139e0565b9450808061178f90613c59565b915050611743565b60128054905081036117ad57600091505061189c565b6000808290505b60128054905081101561189557601281815481106117d5576117d4613940565b5b90600052602060002001548510156118105785856117f391906135ae565b876117fe919061396f565b8261180991906135e2565b9150611895565b856012828154811061182557611824613940565b5b906000526020600020015461183a91906135ae565b87611845919061396f565b8261185091906135e2565b91506012818154811061186657611865613940565b5b9060005260206000200154955060028761188091906139e0565b9650808061188d90613c59565b9150506117b4565b5080925050505b9392505050565b60006118af84846113ef565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611929578181101561191b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191290613ced565b60405180910390fd5b611928848484840361153b565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361199e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199590613d7f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0490613e11565b60405180910390fd5b611a18838383612152565b600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168015611abb5750600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611ad057611acb8383836121ff565b611d07565b600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015611b735750600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b15611b8857611b838383836127d8565b611d06565b600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015611c2c5750600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611c4157611c3c838383612db1565b611d05565b600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168015611ce35750600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b15611cf857611cf3838383612ed3565b611d04565b611d03838383612db1565b5b5b5b5b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611d6491906133b6565b60405180910390a3611d77838383612f84565b505050565b60008060008411611dc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db990613e7d565b60405180910390fd5b611dca611eef565b841115611e0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0390613ee9565b60405180910390fd5b6000611e248585600001612f8990919063ffffffff16565b905083600001805490508103611e41576000809250925050611e6a565b6001846001018281548110611e5957611e58613940565b5b906000526020600020015492509250505b9250929050565b611e79611533565b73ffffffffffffffffffffffffffffffffffffffff16611e976111e3565b73ffffffffffffffffffffffffffffffffffffffff1614611eed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee490613f55565b60405180910390fd5b565b6000611efb6004613042565b905090565b600080600090506000806001905060001515601760009054906101000a900460ff16151503611f355760009350505050611ffa565b60005b601280549050811015611fd05760128181548110611f5957611f58613940565b5b9060005260206000200154871015611fae57818760128381548110611f8157611f80613940565b5b9060005260206000200154611f9691906135ae565b611fa091906139e0565b83611fab91906135e2565b92505b600282611fbb919061396f565b91508080611fc890613c59565b915050611f38565b5060008203611fe55760009350505050611ffa565b8185611ff191906139e0565b92508293505050505b92915050565b60008061201d6013546004601654612018919061396f565b611f00565b9050600061202e8260135443611704565b9050809250505090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006121086004613050565b6000612112611eef565b90507f8030e83b04d87bef53480e26263266d6ca66863aa8506aca6f2559d18aa1cb678160405161214391906133b6565b60405180910390a18091505090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361219c5761218f82613066565b6121976130b9565b6121fa565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036121e6576121d983613066565b6121e16130b9565b6121f9565b6121ef83613066565b6121f882613066565b5b5b505050565b6122076113d9565b6009600082825461221891906135e2565b92505081905550600060085461222c61077a565b600954612239919061396f565b61224391906139e0565b905060008161225061077a565b8461225b919061396f565b61226591906139e0565b9050826009600082825461227991906135e2565b9250508190555082601160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122cf91906135ae565b9250508190555080600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461232591906135e2565b92505081905550806008600082825461233e91906135e2565b9250508190555043600a81905550601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036127d1576000601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612410573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124349190613913565b90506000601d540361248d5784602060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555043601d819055506127cf565b601d544311156127ce576000601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231602060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b815260040161251691906134c4565b602060405180830381865afa158015612533573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125579190613913565b9050601e5481612567919061396f565b601f6000602060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816125d561149a565b6125df91906139e0565b601e60008282546125f091906135e2565b925050819055506000601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231886040518263ffffffff1660e01b815260040161265491906134c4565b602060405180830381865afa158015612671573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126959190613913565b90506000601f60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126e161077a565b83601e546126ef919061396f565b6126f991906139e0565b61270391906135ae565b90506000811115612782578561271761077a565b82612722919061396f565b61272c91906139e0565b600560008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461277a91906135e2565b925050819055505b43601d8190555087602060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505b5b505b5050505050565b6127e06113d9565b600960008282546127f191906135e2565b92505081905550600060085461280561077a565b600954612812919061396f565b61281c91906139e0565b905060008161282961077a565b84612834919061396f565b61283e91906139e0565b9050826009600082825461285291906135ae565b9250508190555080600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128a891906135ae565b9250508190555082601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128fe91906135e2565b92505081905550806008600082825461291791906135ae565b9250508190555043600a81905550601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612daa576000601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156129e9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a0d9190613913565b90506000601d5403612a665785602060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555043601d81905550612da8565b601d54431115612da7576000601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231602060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b8152600401612aef91906134c4565b602060405180830381865afa158015612b0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b309190613913565b9050601e5481612b40919061396f565b601f6000602060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081612bae61149a565b612bb891906139e0565b601e6000828254612bc991906135e2565b925050819055506000601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231896040518263ffffffff1660e01b8152600401612c2d91906134c4565b602060405180830381865afa158015612c4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c6e9190613913565b90506000601f60008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612cba61077a565b83601e54612cc8919061396f565b612cd291906139e0565b612cdc91906135ae565b90506000811115612d5b5785612cf061077a565b82612cfb919061396f565b612d0591906139e0565b600560008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d5391906135e2565b925050819055505b43601d8190555088602060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505b5b505b5050505050565b612db96113d9565b60096000828254612dca91906135e2565b925050819055506000600854612dde61077a565b600954612deb919061396f565b612df591906139e0565b9050600081612e0261077a565b84612e0d919061396f565b612e1791906139e0565b905080600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e6891906135ae565b9250508190555080600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ebe91906135e2565b9250508190555043600a819055505050505050565b80601160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f2291906135ae565b9250508190555080601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f7891906135e2565b92505081905550505050565b505050565b600080838054905003612f9f576000905061303c565b600080848054905090505b80821015612ff3576000612fbe83836130cd565b905084612fcb87836130f3565b600001541115612fdd57809150612fed565b600181612fea91906135e2565b92505b50612faa565b60008211801561301b5750836130158660018561301091906135ae565b6130f3565b60000154145b156130365760018261302d91906135ae565b9250505061303c565b81925050505b92915050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6130b6600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206130b183610ff1565b613115565b50565b6130cb60026130c66106ac565b613115565b565b600060028284186130de91906139e0565b8284166130eb91906135e2565b905092915050565b6000808360005282602060002001905061310c81613190565b91505092915050565b600061311f611eef565b90508061312e8460000161319a565b101561318b5782600001819080600181540180825580915050600190039060005260206000200160009091909190915055826001018290806001815401808255809150506001900390600052602060002001600090919091909150555b505050565b6000819050919050565b6000808280549050036131b057600090506131e1565b81600183805490506131c291906135ae565b815481106131d3576131d2613940565b5b906000526020600020015490505b919050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613220578082015181840152602081019050613205565b60008484015250505050565b6000601f19601f8301169050919050565b6000613248826131e6565b61325281856131f1565b9350613262818560208601613202565b61326b8161322c565b840191505092915050565b60006020820190508181036000830152613290818461323d565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132c88261329d565b9050919050565b6132d8816132bd565b81146132e357600080fd5b50565b6000813590506132f5816132cf565b92915050565b6000819050919050565b61330e816132fb565b811461331957600080fd5b50565b60008135905061332b81613305565b92915050565b6000806040838503121561334857613347613298565b5b6000613356858286016132e6565b92505060206133678582860161331c565b9150509250929050565b60008115159050919050565b61338681613371565b82525050565b60006020820190506133a1600083018461337d565b92915050565b6133b0816132fb565b82525050565b60006020820190506133cb60008301846133a7565b92915050565b6000806000606084860312156133ea576133e9613298565b5b60006133f8868287016132e6565b9350506020613409868287016132e6565b925050604061341a8682870161331c565b9150509250925092565b600060ff82169050919050565b61343a81613424565b82525050565b60006020820190506134556000830184613431565b92915050565b60006020828403121561347157613470613298565b5b600061347f8482850161331c565b91505092915050565b60006020828403121561349e5761349d613298565b5b60006134ac848285016132e6565b91505092915050565b6134be816132bd565b82525050565b60006020820190506134d960008301846134b5565b92915050565b600080604083850312156134f6576134f5613298565b5b6000613504858286016132e6565b9250506020613515858286016132e6565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061356657607f821691505b6020821081036135795761357861351f565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006135b9826132fb565b91506135c4836132fb565b92508282039050818111156135dc576135db61357f565b5b92915050565b60006135ed826132fb565b91506135f8836132fb565b92508282019050808211156136105761360f61357f565b5b92915050565b60008160011c9050919050565b6000808291508390505b600185111561366d578086048111156136495761364861357f565b5b60018516156136585780820291505b808102905061366685613616565b945061362d565b94509492505050565b6000826136865760019050613742565b816136945760009050613742565b81600181146136aa57600281146136b4576136e3565b6001915050613742565b60ff8411156136c6576136c561357f565b5b8360020a9150848211156136dd576136dc61357f565b5b50613742565b5060208310610133831016604e8410600b84101617156137185782820a9050838111156137135761371261357f565b5b613742565b6137258484846001613623565b9250905081840481111561373c5761373b61357f565b5b81810290505b9392505050565b6000613754826132fb565b915061375f83613424565b925061378c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484613676565b905092915050565b7f6f6e6c7920766f74696e6720636f6e74726163742063616e2063616c6c20746860008201527f69732066756e6374696f6e000000000000000000000000000000000000000000602082015250565b60006137f0602b836131f1565b91506137fb82613794565b604082019050919050565b6000602082019050818103600083015261381f816137e3565b9050919050565b7f43616e27742064697374726962757465207468697320616d6f756e7400000000600082015250565b600061385c601c836131f1565b915061386782613826565b602082019050919050565b6000602082019050818103600083015261388b8161384f565b9050919050565b7f616c7265616479206578636c7564656421000000000000000000000000000000600082015250565b60006138c86011836131f1565b91506138d382613892565b602082019050919050565b600060208201905081810360008301526138f7816138bb565b9050919050565b60008151905061390d81613305565b92915050565b60006020828403121561392957613928613298565b5b6000613937848285016138fe565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061397a826132fb565b9150613985836132fb565b9250828202613993816132fb565b915082820484148315176139aa576139a961357f565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006139eb826132fb565b91506139f6836132fb565b925082613a0657613a056139b1565b5b828204905092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000613a6d6025836131f1565b9150613a7882613a11565b604082019050919050565b60006020820190508181036000830152613a9c81613a60565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613aff6026836131f1565b9150613b0a82613aa3565b604082019050919050565b60006020820190508181036000830152613b2e81613af2565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613b916024836131f1565b9150613b9c82613b35565b604082019050919050565b60006020820190508181036000830152613bc081613b84565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c236022836131f1565b9150613c2e82613bc7565b604082019050919050565b60006020820190508181036000830152613c5281613c16565b9050919050565b6000613c64826132fb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613c9657613c9561357f565b5b600182019050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000613cd7601d836131f1565b9150613ce282613ca1565b602082019050919050565b60006020820190508181036000830152613d0681613cca565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613d696025836131f1565b9150613d7482613d0d565b604082019050919050565b60006020820190508181036000830152613d9881613d5c565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613dfb6023836131f1565b9150613e0682613d9f565b604082019050919050565b60006020820190508181036000830152613e2a81613dee565b9050919050565b7f4552433230536e617073686f743a206964206973203000000000000000000000600082015250565b6000613e676016836131f1565b9150613e7282613e31565b602082019050919050565b60006020820190508181036000830152613e9681613e5a565b9050919050565b7f4552433230536e617073686f743a206e6f6e6578697374656e74206964000000600082015250565b6000613ed3601d836131f1565b9150613ede82613e9d565b602082019050919050565b60006020820190508181036000830152613f0281613ec6565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613f3f6020836131f1565b9150613f4a82613f09565b602082019050919050565b60006020820190508181036000830152613f6e81613f32565b905091905056fea26469706673582212201ae46a250bb3211939274a805b0a6cb20d1481d3476429b47cf762aa2f6596d064736f6c63430008130033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000b446f67536869546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006444f475348490000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : tname (string): DogShiToken
Arg [1] : tsymbol (string): DOGSHI

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [3] : 446f67536869546f6b656e000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [5] : 444f475348490000000000000000000000000000000000000000000000000000


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.