ETH Price: $3,484.68 (+4.52%)

Token

Wait (WAIT)
 

Overview

Max Total Supply

1,362,050,343.26279939 WAIT

Holders

3,344

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 8 Decimals)

Balance
229,498.35202831 WAIT

Value
$0.00
0xf3e4d991a20043b6bd025058cf4d96fd7501070b
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:
WaitV2

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : WaitV2.sol
//SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol";
import './wait_stuff.sol';


contract WaitV2 is ERC20, ERC20Burnable, ERC20Permit {

    //Address of WaitV1
    IWAIT public waitV1_contract;
    address WAITV1_ADDRESS;
    address manager;

    address timeKeeper = 0x20d7acED31E7C947faB0C3aD62C2D426D152C399;
    uint256 public totalSacs = 8;
    bool public minting = false;

    //True if user has claimed their Midnight bonus
    mapping(address => bool) public claimedMidnight;

    //Total number of people eligible for Wait from each sac
    mapping(uint => uint) public totalPeople;

    //Total number of people who have minted their Midnight bonus Wait per sac
    mapping(uint => uint) public mintedPeopleV2;

    //Number of people who minted Midnight bonus each day since launch per sac;
    mapping(uint => mapping(uint => uint)) public dailyMintedPeopleV2;

    //Amount of Midnight bonus Wait minted for each sac
    mapping(uint => uint) public totalWaitV2;

    //Amount of WaitV1 minted before launch
    mapping(uint => uint) public totalWaitV1;
    
    //Amount of unclaimed Wait (this is the midnight bonus) per sac
    mapping(uint => uint) public unclaimedWaitV2;
    
    //Timestamps of when each sacrifice ended
    mapping(uint => uint) public sacTimes;
    
    //Maximum amount of Wait minted for each sac before pulse launched
    mapping(uint => uint) public maxWait;
    
    //Number of people in each sac who didn't claim their wait
    mapping(uint => uint) public unclaimedPeople;
    
    //Timestamp when MidnightBonus is called
    uint public MidnightBonusTime;
    
    //Amount of WaitV1 exchanged for WaitV2
    uint public WaitV1Exchanged;
    
    //Amount of WaitV1 exchanged for WaitV2 each day since launched
    mapping(uint => uint) public dailyWaitV1Exchanged;

    //Total amount of Midnight Bonus each person got per sac
    mapping(uint => mapping(address => uint)) public claimedAmountV2;

    event mintedMidnight(uint amount, address user);
    event waitExchanged(uint amount, address user);
    event waitV2Burned(uint amount, address user);


    constructor(address v1) ERC20("Wait", "WAIT") ERC20Permit("WaitV2"){
        WAITV1_ADDRESS = v1;
        waitV1_contract = IWAIT(WAITV1_ADDRESS);
        manager = 0x25B6106149284b0269C44BE6beda5ec59C89753a;
        
        //Setting the total number of eligible people in each sac
        totalPeople[0] = 79404; //Pulse
        totalPeople[1] = 152701; //PulseX
        totalPeople[2] = 9553; //Liquid Loans
        totalPeople[3] = 3125; //Hurricash
        totalPeople[4] = 847; //Genius
        totalPeople[5] = 292; //Mintra
        totalPeople[6] = 875; //Phiat
        totalPeople[7] = 1247; //Internet Money Dividend
        
        //Setting timestamps of the end of each sac
        sacTimes[0] = 1627948800; //Pulse
        sacTimes[1] = 1645660800; //PulseX
        sacTimes[2] = 1647907200; //Liquid Loans
        sacTimes[3] = 1646092800; //Hurricash
        sacTimes[4] = 1654041600; //Genius
        sacTimes[5] = 1647561600; //Mintra
        sacTimes[6] = 1654387200; //Phiat
        sacTimes[7] = 1647734400; //Internet Money Dividend

    }

    //Function can only be called by manager
    modifier manager_function(){
        require(msg.sender==manager,"Only the manager can call this function");
    _;}

    //Function can only be called after MidnightBonus() is called
    modifier minting_on(){
        require(minting == true,"Minting Wait has been turned off, go claim the Midnight Bonus");
    _;}

    //Makes WaitV2 divisible
    function decimals() public pure override returns (uint8) {
        return 8;
    }

    //Amount of people that minted WaitV1 for each sac
    function V1mintedPeople(uint i) public view returns(uint) {
        return waitV1_contract.mintedPeople(i);
    }

    //Amount of Midnight bonus shares person has in each sac
    function V1ClaimedAmount(uint i, address addy) public view returns(uint) {
        return waitV1_contract.ClaimedAmount(i,addy);
    }

    //Total amount of Midnight bonus shares for each sac
    function V1totalWait(uint i) public view returns(uint) {
        return waitV1_contract.totalWait(i);
    }

    //WaitV1 balance of msg.sender
    function V1waitBalance() public view returns(uint) {
        return waitV1_contract.balanceOf(msg.sender);
    }

    //Number of days passed since MidnightBonus() is called / Pulsechain launches
    function daysPassedSinceLaunch() public view minting_on returns (uint) {
        return (block.timestamp - MidnightBonusTime) / 86400;
    }

    //Function that turns minting of Midnight bonus on
    //Sets the amount of unclaimed Wait for each sac
    //Sets the time the function is called
    function midnightBonus() public manager_function {

        require(minting == false, "Pulse already launched");
        minting = true;
        MidnightBonusTime = block.timestamp;
        uint waitAmount;

        for(uint i; i < totalSacs; i++) {
            totalWaitV1[i] = V1totalWait(i);
            maxWait[i] = (block.timestamp - sacTimes[i]) / 3600;
            if (totalPeople[i] < V1mintedPeople(i)) {
                unclaimedPeople[i] = 0;
            }
            else {
                unclaimedPeople[i] = totalPeople[i] - V1mintedPeople(i);
            }

            unclaimedWaitV2[i] = unclaimedPeople[i] * maxWait[i] * 10**decimals() / 2;
            waitAmount += unclaimedWaitV2[i];
        }

        _mint(timeKeeper, waitAmount);

    }

    //Function that returns amount of Midnight bonus user can mint for specific sac
    function mintableUnclaimedWait(uint sac) public view  minting_on returns (uint waitAmount) {

        require(sac<totalSacs, "Not an accurate sacrifice");
        require(claimedMidnight[msg.sender] == false, "You already claimed your midnight Bonus");
        require(V1ClaimedAmount(sac, msg.sender) > 0, "You never claimed your Wait or already claimed the unclaimed Wait");
        require(V1ClaimedAmount(sac, msg.sender) <= maxWait[sac], "You claimed too late");

        waitAmount = unclaimedWaitV2[sac] * V1ClaimedAmount(sac, msg.sender) / totalWaitV1[sac];

    }

    //Funtion that returns total amount Midnight bonus user can mint
    function mintableAllUnclaimedWait() public view minting_on returns(uint waitAmount) {

        require(claimedMidnight[msg.sender] == false, "You already claimed your Midnight Bonus");

        for(uint i; i < totalSacs; i++) {
            if ((V1ClaimedAmount(i, msg.sender) > 0) && (V1ClaimedAmount(i, msg.sender) <= maxWait[i])) {
                waitAmount += unclaimedWaitV2[i] * V1ClaimedAmount(i, msg.sender) / totalWaitV1[i];
            }
        }
    }
    
    //Function that mints user total amount of eligible Midnight bonus
    function mintAllUnclaimedWait() minting_on public {

        require(claimedMidnight[msg.sender] == false, "You already claimed your midnight Bonus");
        claimedMidnight[msg.sender] = true;

        uint waitAmount = 0;
        for(uint i; i < totalSacs; i++) {
            if ((V1ClaimedAmount(i, msg.sender) > 0) && (V1ClaimedAmount(i, msg.sender) <= maxWait[i])) {
                uint temp = unclaimedWaitV2[i] * V1ClaimedAmount(i, msg.sender) / totalWaitV1[i];
                waitAmount += temp;
                mintedPeopleV2[i]++;
                dailyMintedPeopleV2[i][daysPassedSinceLaunch()]++;
                totalWaitV2[i] += temp;
                claimedAmountV2[i][msg.sender] += temp;
            }
        }

        _mint(msg.sender, waitAmount);
        emit mintedMidnight(waitAmount, msg.sender);

    }
    
    //Current percent user gets for exchanging WaitV1 for WaitV2
    function currentPercent() public view minting_on returns (uint) {
        
        uint daysPassed = daysPassedSinceLaunch();

        if (daysPassed < 11) {
            return 100;
        }
        else if (daysPassed < 31) {
            return (100 - (5 * (daysPassed - 11)));
        }
        else {
            return 0;
        }
    }
    
    //Current amount of WaitV2 user would get for their WaitV1
    function currentExchange() public view minting_on returns(uint) {

        uint daysPassed = daysPassedSinceLaunch();

        require(daysPassed < 31, "It's too late to exchange your V1 Wait for V2");

        uint userBalance = V1waitBalance();

        if (daysPassed < 11) {
            return userBalance * 10**decimals();
        }
        else {
            uint owedAmount = (100 - (5 * (daysPassed - 11))) * userBalance * 10**decimals() / 100;
            return owedAmount;
        }
    }

    //Function that swaps WaitV1 for WaitV2 based on 
    // - user balance
    // - days passed since launch
    // - uncallable if 0%
    function exchangeV1forV2() public minting_on {

        uint daysPassed = daysPassedSinceLaunch();

        require(daysPassed < 31, "It's too late to exchange your V1 Wait for V2");

        uint userBalance = V1waitBalance();

        if (daysPassed < 11) {
            waitV1_contract.burnFrom(msg.sender, userBalance);
            _mint(msg.sender, userBalance * 10**decimals());
        }
        else {
            waitV1_contract.burnFrom(msg.sender, userBalance);
            uint owedAmount = (100 - (5 * (daysPassed - 11))) * userBalance * 10**decimals() / 100;
            _mint(msg.sender, owedAmount);
        }

        dailyWaitV1Exchanged[daysPassed] += userBalance;
        WaitV1Exchanged += userBalance;

        emit waitExchanged(userBalance,msg.sender);
    }

    //Function that returns current Midnight bonus user would recieve pre-launch for sac
    function preMidnightBonus(uint sac) public view returns (uint waitAmount) {

        require(sac<totalSacs, "not an accurate sacrifice");
        require(minting == false, "Midnight Bonus can now be claimed");

        uint unclaimedUsers;
        if (totalPeople[sac] > V1mintedPeople(sac)) {
            unclaimedUsers = totalPeople[sac] - V1mintedPeople(sac);
        }
        else {
            unclaimedUsers = 0;
        }
        uint currentWait = (block.timestamp - sacTimes[sac]) / 3600;
        uint unclaimedWait = unclaimedUsers * currentWait * 10**decimals() / 2;
        waitAmount += unclaimedWait * V1ClaimedAmount(sac, msg.sender) / V1totalWait(sac);

    }

    //Function that returns total current Midnight bonus user would recieve pre-launch
    function preMidnightBonusAll() public view returns (uint waitAmount) {

        require(minting == false, "Midnight Bonus can now be claimed");

        uint unclaimedUsers;
        for (uint i; i < totalSacs; i++) {
            if (totalPeople[i] > V1mintedPeople(i)) {
                unclaimedUsers = totalPeople[i] - V1mintedPeople(i);
            }
            else {
                unclaimedUsers = 0;
            }
            uint currentWait = (block.timestamp - sacTimes[i]) / 3600;
            uint unclaimedWait = unclaimedUsers * currentWait * 10**decimals() / 2;
            waitAmount += unclaimedWait * V1ClaimedAmount(i, msg.sender) / V1totalWait(i);
        }

    }

    //Function to update totalPeople with accurate numbers based on new and improving eligibility databases
    function updateTotalPeople(uint Pulse, uint PulseX, uint Liquid, uint Hurricash, uint Genius, uint Mintra, uint Phiat, uint IMD) public manager_function {

        require(minting == false, "Pulse has launched");
        totalPeople[0] = Pulse;
        totalPeople[1] = PulseX;
        totalPeople[2] = Liquid;
        totalPeople[3] = Hurricash;
        totalPeople[4] = Genius;
        totalPeople[5] = Mintra;
        totalPeople[6] = Phiat;
        totalPeople[7] = IMD;

    }

    function proofOfBenevolence (uint256 amount)external{
        require (balanceOf(msg.sender) >= amount,
            "Insufficient balance to facilitate PoB");
        require(block.timestamp >= MidnightBonusTime,"Contract not yet active");
        uint256 currentAllowance = allowance(msg.sender, address(this));
        require(currentAllowance >= amount,
            "Burn amount exceeds allowance");
        _burn(msg.sender, amount);
        emit waitV2Burned(amount,msg.sender);
    }

}

File 2 of 13 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the 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 virtual override returns (uint8) {
        return 18;
    }

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 3 of 13 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.0;

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

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

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

File 4 of 13 : draft-ERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/extensions/draft-ERC20Permit.sol)

pragma solidity ^0.8.0;

import "./draft-IERC20Permit.sol";
import "../ERC20.sol";
import "../../../utils/cryptography/draft-EIP712.sol";
import "../../../utils/cryptography/ECDSA.sol";
import "../../../utils/Counters.sol";

/**
 * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 *
 * _Available since v3.4._
 */
abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 {
    using Counters for Counters.Counter;

    mapping(address => Counters.Counter) private _nonces;

    // solhint-disable-next-line var-name-mixedcase
    bytes32 private constant _PERMIT_TYPEHASH =
        keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    /**
     * @dev In previous versions `_PERMIT_TYPEHASH` was declared as `immutable`.
     * However, to ensure consistency with the upgradeable transpiler, we will continue
     * to reserve a slot.
     * @custom:oz-renamed-from _PERMIT_TYPEHASH
     */
    // solhint-disable-next-line var-name-mixedcase
    bytes32 private _PERMIT_TYPEHASH_DEPRECATED_SLOT;

    /**
     * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`.
     *
     * It's a good idea to use the same `name` that is defined as the ERC20 token name.
     */
    constructor(string memory name) EIP712(name, "1") {}

    /**
     * @dev See {IERC20Permit-permit}.
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public virtual override {
        require(block.timestamp <= deadline, "ERC20Permit: expired deadline");

        bytes32 structHash = keccak256(abi.encode(_PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline));

        bytes32 hash = _hashTypedDataV4(structHash);

        address signer = ECDSA.recover(hash, v, r, s);
        require(signer == owner, "ERC20Permit: invalid signature");

        _approve(owner, spender, value);
    }

    /**
     * @dev See {IERC20Permit-nonces}.
     */
    function nonces(address owner) public view virtual override returns (uint256) {
        return _nonces[owner].current();
    }

    /**
     * @dev See {IERC20Permit-DOMAIN_SEPARATOR}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view override returns (bytes32) {
        return _domainSeparatorV4();
    }

    /**
     * @dev "Consume a nonce": return the current value and increment.
     *
     * _Available since v4.1._
     */
    function _useNonce(address owner) internal virtual returns (uint256 current) {
        Counters.Counter storage nonce = _nonces[owner];
        current = nonce.current();
        nonce.increment();
    }
}

File 5 of 13 : wait_stuff.sol
//SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;

interface IWAIT {
    function balanceOf(address account) external view returns (uint256);
    function approve(address spender, uint256 amount) external returns (bool);
    function transfer(address recipient, uint256 amount) external returns (bool);
    function burn(uint256 amount) external;
    function mintedPeople(uint sac) external view returns (uint);
    function ClaimedAmount(uint sac, address user) external view returns (uint);
    function totalWait(uint sac) external view returns (uint);
    function burnFrom(address account, uint amount) external;
    }

File 6 of 13 : 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 13 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

File 8 of 13 : 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 9 of 13 : draft-IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

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

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

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

File 10 of 13 : draft-EIP712.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol)

pragma solidity ^0.8.0;

import "./ECDSA.sol";

/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * _Available since v3.4._
 */
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;
    address private immutable _CACHED_THIS;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;

    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256(
            "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
        );
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _CACHED_THIS = address(this);
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function _buildDomainSeparator(
        bytes32 typeHash,
        bytes32 nameHash,
        bytes32 versionHash
    ) private view returns (bytes32) {
        return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this)));
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }
}

File 11 of 13 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 12 of 13 : 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 13 of 13 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"v1","type":"address"}],"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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"user","type":"address"}],"name":"mintedMidnight","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"user","type":"address"}],"name":"waitExchanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"user","type":"address"}],"name":"waitV2Burned","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MidnightBonusTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"i","type":"uint256"},{"internalType":"address","name":"addy","type":"address"}],"name":"V1ClaimedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"i","type":"uint256"}],"name":"V1mintedPeople","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"i","type":"uint256"}],"name":"V1totalWait","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"V1waitBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WaitV1Exchanged","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"claimedAmountV2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedMidnight","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentExchange","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"dailyMintedPeopleV2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"dailyWaitV1Exchanged","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"daysPassedSinceLaunch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","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":[],"name":"exchangeV1forV2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"maxWait","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"midnightBonus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintAllUnclaimedWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintableAllUnclaimedWait","outputs":[{"internalType":"uint256","name":"waitAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"sac","type":"uint256"}],"name":"mintableUnclaimedWait","outputs":[{"internalType":"uint256","name":"waitAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintedPeopleV2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minting","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"sac","type":"uint256"}],"name":"preMidnightBonus","outputs":[{"internalType":"uint256","name":"waitAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preMidnightBonusAll","outputs":[{"internalType":"uint256","name":"waitAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"proofOfBenevolence","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"sacTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"totalPeople","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSacs","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":"","type":"uint256"}],"name":"totalWaitV1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"totalWaitV2","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":"uint256","name":"","type":"uint256"}],"name":"unclaimedPeople","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"unclaimedWaitV2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"Pulse","type":"uint256"},{"internalType":"uint256","name":"PulseX","type":"uint256"},{"internalType":"uint256","name":"Liquid","type":"uint256"},{"internalType":"uint256","name":"Hurricash","type":"uint256"},{"internalType":"uint256","name":"Genius","type":"uint256"},{"internalType":"uint256","name":"Mintra","type":"uint256"},{"internalType":"uint256","name":"Phiat","type":"uint256"},{"internalType":"uint256","name":"IMD","type":"uint256"}],"name":"updateTotalPeople","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"waitV1_contract","outputs":[{"internalType":"contract IWAIT","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

6101406040527320d7aced31e7c947fab0c3ad62c2d426d152c399600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506008600b556000600c60006101000a81548160ff0219169083151502179055503480156200008757600080fd5b5060405162005b0a38038062005b0a8339818101604052810190620000ad919062000633565b6040518060400160405280600681526020017f5761697456320000000000000000000000000000000000000000000000000000815250806040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f57616974000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f574149540000000000000000000000000000000000000000000000000000000081525081600390805190602001906200019e9291906200056c565b508060049080519060200190620001b79291906200056c565b50505060008280519060200120905060008280519060200120905060007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f90508260e081815250508161010081815250504660a08181525050620002238184846200053060201b60201c565b608081815250503073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1660601b8152505080610120818152505050505050505080600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507325b6106149284b0269c44be6beda5ec59c89753a600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506201362c600e6000808152602001908152602001600020819055506202547d600e60006001815260200190815260200160002081905550612551600e60006002815260200190815260200160002081905550610c35600e6000600381526020019081526020016000208190555061034f600e60006004815260200190815260200160002081905550610124600e6000600581526020019081526020016000208190555061036b600e600060068152602001908152602001600020819055506104df600e6000600781526020019081526020016000208190555063610887006014600080815260200190815260200160002081905550636216ca80601460006001815260200190815260200160002081905550636239118060146000600281526020019081526020016000208190555063621d6200601460006003815260200190815260200160002081905550636296ac00601460006004815260200190815260200160002081905550636233cb8060146000600581526020019081526020016000208190555063629bf2006014600060068152602001908152602001600020819055506362366e8060146000600781526020019081526020016000208190555050620007b6565b600083838346306040516020016200054d95949392919062000692565b6040516020818303038152906040528051906020012090509392505050565b8280546200057a9062000737565b90600052602060002090601f0160209004810192826200059e5760008555620005ea565b82601f10620005b957805160ff1916838001178555620005ea565b82800160010185558215620005ea579182015b82811115620005e9578251825591602001919060010190620005cc565b5b509050620005f99190620005fd565b5090565b5b8082111562000618576000816000905550600101620005fe565b5090565b6000815190506200062d816200079c565b92915050565b6000602082840312156200064657600080fd5b600062000656848285016200061c565b91505092915050565b6200066a81620006ef565b82525050565b6200067b8162000703565b82525050565b6200068c816200072d565b82525050565b600060a082019050620006a9600083018862000670565b620006b8602083018762000670565b620006c7604083018662000670565b620006d6606083018562000681565b620006e560808301846200065f565b9695505050505050565b6000620006fc826200070d565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060028204905060018216806200075057607f821691505b602082108114156200076757620007666200076d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b620007a781620006ef565b8114620007b357600080fd5b50565b60805160a05160c05160601c60e0516101005161012051615301620008096000396000612f6801526000612faa01526000612f8901526000612ebe01526000612f1401526000612f3d01526153016000f3fe608060405234801561001057600080fd5b50600436106102bb5760003560e01c80636ddfe61e1161018257806395d89b41116100e9578063d240a93a116100a2578063dd62ed3e1161007c578063dd62ed3e14610972578063f0056d60146109a2578063f8f2aa7d146109be578063fbc53c77146109dc576102bb565b8063d240a93a1461091c578063d505accf14610938578063d5ab7a5614610954576102bb565b806395d89b41146108325780639b60228d14610850578063a173b6391461086e578063a457c2d71461089e578063a9059cbb146108ce578063ca00d683146108fe576102bb565b80637c6994a11161013b5780637c6994a11461075c5780637dc2268c146107665780637ecebe00146107845780637f0b3b11146107b4578063833fd5fe146107e457806393e5df1714610802576102bb565b80636ddfe61e1461065057806370a0823114610680578063777a9b28146106b057806379cc6790146106e05780637a285593146106fc5780637acc5ea31461072c576102bb565b806323b872dd116102265780633f16ae34116101df5780633f16ae341461058e57806342966c68146105ac57806343b416ea146105c857806363cd23ca146105d2578063651c8edc146106025780636963ee5614610632576102bb565b806323b872dd1461049257806329521e8f146104c25780632dbe1402146104f2578063313ce567146105225780633644e51514610540578063395093511461055e576102bb565b8063196f7d5e11610278578063196f7d5e146103aa5780631faee43b146103b4578063207a4e56146103e457806321ba263e1461041457806322545a651461044457806322f8320e14610462576102bb565b806306fdde03146102c057806308a6c309146102de578063095ea7b3146102fc57806310c2b6c81461032c578063115cfb551461035c57806318160ddd1461038c575b600080fd5b6102c86109fa565b6040516102d59190614189565b60405180910390f35b6102e6610a8c565b6040516102f3919061416e565b60405180910390f35b61031660048036038101906103119190613902565b610ab2565b604051610323919061403f565b60405180910390f35b610346600480360381019061034191906139cc565b610ad5565b604051610353919061458b565b60405180910390f35b6103766004803603810190610371919061393e565b610afa565b604051610383919061458b565b60405180910390f35b610394610b12565b6040516103a1919061458b565b60405180910390f35b6103b2610b1c565b005b6103ce60048036038101906103c9919061393e565b610e54565b6040516103db919061458b565b60405180910390f35b6103fe60048036038101906103f9919061393e565b61107b565b60405161040b919061458b565b60405180910390f35b61042e6004803603810190610429919061393e565b611093565b60405161043b919061458b565b60405180910390f35b61044c6110ab565b604051610459919061458b565b60405180910390f35b61047c6004803603810190610477919061393e565b61121f565b604051610489919061458b565b60405180910390f35b6104ac60048036038101906104a79190613815565b611237565b6040516104b9919061403f565b60405180910390f35b6104dc60048036038101906104d7919061393e565b611266565b6040516104e9919061458b565b60405180910390f35b61050c6004803603810190610507919061393e565b61127e565b604051610519919061458b565b60405180910390f35b61052a611296565b60405161053791906145cf565b60405180910390f35b61054861129f565b604051610555919061405a565b60405180910390f35b61057860048036038101906105739190613902565b6112ae565b604051610585919061403f565b60405180910390f35b6105966112e5565b6040516105a3919061458b565b60405180910390f35b6105c660048036038101906105c1919061393e565b61135e565b005b6105d0611372565b005b6105ec60048036038101906105e79190613990565b611642565b6040516105f9919061458b565b60405180910390f35b61061c6004803603810190610617919061393e565b6116f9565b604051610629919061458b565b60405180910390f35b61063a611711565b604051610647919061458b565b60405180910390f35b61066a6004803603810190610665919061393e565b61185d565b604051610677919061458b565b60405180910390f35b61069a600480360381019061069591906137b0565b611911565b6040516106a7919061458b565b60405180910390f35b6106ca60048036038101906106c5919061393e565b611959565b6040516106d7919061458b565b60405180910390f35b6106fa60048036038101906106f59190613902565b611a0d565b005b6107166004803603810190610711919061393e565b611a2d565b604051610723919061458b565b60405180910390f35b610746600480360381019061074191906137b0565b611a45565b604051610753919061403f565b60405180910390f35b610764611a65565b005b61076e611d54565b60405161077b919061403f565b60405180910390f35b61079e600480360381019061079991906137b0565b611d67565b6040516107ab919061458b565b60405180910390f35b6107ce60048036038101906107c9919061393e565b611db7565b6040516107db919061458b565b60405180910390f35b6107ec611f52565b6040516107f9919061458b565b60405180910390f35b61081c60048036038101906108179190613990565b611f58565b604051610829919061458b565b60405180910390f35b61083a611f7d565b6040516108479190614189565b60405180910390f35b61085861200f565b604051610865919061458b565b60405180910390f35b6108886004803603810190610883919061393e565b612015565b604051610895919061458b565b60405180910390f35b6108b860048036038101906108b39190613902565b61202d565b6040516108c5919061403f565b60405180910390f35b6108e860048036038101906108e39190613902565b6120a4565b6040516108f5919061403f565b60405180910390f35b6109066120c7565b604051610913919061458b565b60405180910390f35b6109366004803603810190610931919061393e565b612179565b005b610952600480360381019061094d9190613864565b6122a1565b005b61095c6123e3565b604051610969919061458b565b60405180910390f35b61098c600480360381019061098791906137d9565b612580565b604051610999919061458b565b60405180910390f35b6109bc60048036038101906109b79190613a08565b612607565b005b6109c66127be565b6040516109d3919061458b565b60405180910390f35b6109e4612874565b6040516109f1919061458b565b60405180910390f35b606060038054610a099061494d565b80601f0160208091040260200160405190810160405280929190818152602001828054610a359061494d565b8015610a825780601f10610a5757610100808354040283529160200191610a82565b820191906000526020600020905b815481529060010190602001808311610a6557829003601f168201915b5050505050905090565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080610abd61287a565b9050610aca818585612882565b600191505092915050565b6010602052816000526040600020602052806000526040600020600091509150505481565b60146020528060005260406000206000915090505481565b6000600254905090565b60011515600c60009054906101000a900460ff16151514610b72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b69906142eb565b60405180910390fd5b60001515600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610c05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfc9061420b565b60405180910390fd5b6001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000805b600b54811015610e0d576000610c778233611642565b118015610ca057506015600082815260200190815260200160002054610c9d8233611642565b11155b15610dfa5760006012600083815260200190815260200160002054610cc58333611642565b6013600085815260200190815260200160002054610ce39190614809565b610ced9190614667565b90508083610cfb9190614611565b9250600f60008381526020019081526020016000206000815480929190610d219061497f565b9190505550601060008381526020019081526020016000206000610d436112e5565b81526020019081526020016000206000815480929190610d629061497f565b919050555080601160008481526020019081526020016000206000828254610d8a9190614611565b9250508190555080601a600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610df19190614611565b92505081905550505b8080610e059061497f565b915050610c61565b50610e183382612a4d565b7fb142818a9fe1c60c3f96993051fb25dfb138ee7455b83689b4b262e9adf16fdd8133604051610e499291906145a6565b60405180910390a150565b600060011515600c60009054906101000a900460ff16151514610eac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea3906142eb565b60405180910390fd5b600b548210610ef0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee79061450b565b60405180910390fd5b60001515600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610f83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7a9061420b565b60405180910390fd5b6000610f8f8333611642565b11610fcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc6906144eb565b60405180910390fd5b6015600083815260200190815260200160002054610fed8333611642565b111561102e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611025906141cb565b60405180910390fd5b601260008381526020019081526020016000205461104c8333611642565b601360008581526020019081526020016000205461106a9190614809565b6110749190614667565b9050919050565b60166020528060005260406000206000915090505481565b60156020528060005260406000206000915090505481565b6000801515600c60009054906101000a900460ff16151514611102576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f9906143eb565b60405180910390fd5b6000805b600b5481101561121a5761111981611959565b600e60008381526020019081526020016000205411156111615761113c81611959565b600e60008381526020019081526020016000205461115a9190614863565b9150611166565b600091505b6000610e1060146000848152602001908152602001600020544261118a9190614863565b6111949190614667565b9050600060026111a2611296565b600a6111ae91906146eb565b83866111ba9190614809565b6111c49190614809565b6111ce9190614667565b90506111d98361185d565b6111e38433611642565b826111ee9190614809565b6111f89190614667565b856112039190614611565b9450505080806112129061497f565b915050611106565b505090565b60196020528060005260406000206000915090505481565b60008061124261287a565b905061124f858285612bad565b61125a858585612c39565b60019150509392505050565b60126020528060005260406000206000915090505481565b60116020528060005260406000206000915090505481565b60006008905090565b60006112a9612eba565b905090565b6000806112b961287a565b90506112da8185856112cb8589612580565b6112d59190614611565b612882565b600191505092915050565b600060011515600c60009054906101000a900460ff1615151461133d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611334906142eb565b60405180910390fd5b620151806017544261134f9190614863565b6113599190614667565b905090565b61136f61136961287a565b82612fd4565b50565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611402576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f99061426b565b60405180910390fd5b60001515600c60009054906101000a900460ff16151514611458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144f9061438b565b60405180910390fd5b6001600c60006101000a81548160ff021916908315150217905550426017819055506000805b600b54811015611612576114918161185d565b6012600083815260200190815260200160002081905550610e106014600083815260200190815260200160002054426114ca9190614863565b6114d49190614667565b60156000838152602001908152602001600020819055506114f481611959565b600e600083815260200190815260200160002054101561152c576000601660008381526020019081526020016000208190555061156b565b61153581611959565b600e6000838152602001908152602001600020546115539190614863565b60166000838152602001908152602001600020819055505b6002611575611296565b600a61158191906146eb565b601560008481526020019081526020016000205460166000858152602001908152602001600020546115b39190614809565b6115bd9190614809565b6115c79190614667565b60136000838152602001908152602001600020819055506013600082815260200190815260200160002054826115fd9190614611565b9150808061160a9061497f565b91505061147e565b5061163f600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612a4d565b50565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166338ed5a6184846040518363ffffffff1660e01b81526004016116a19291906145a6565b60206040518083038186803b1580156116b957600080fd5b505afa1580156116cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116f19190613967565b905092915050565b600f6020528060005260406000206000915090505481565b600060011515600c60009054906101000a900460ff16151514611769576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611760906142eb565b60405180910390fd5b60006117736112e5565b9050601f81106117b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117af906143ab565b60405180910390fd5b60006117c26120c7565b9050600b8210156117f5576117d5611296565b600a6117e191906146eb565b816117ec9190614809565b9250505061185a565b60006064611801611296565b600a61180d91906146eb565b83600b8661181b9190614863565b60056118279190614809565b60646118339190614863565b61183d9190614809565b6118479190614809565b6118519190614667565b90508093505050505b90565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ff8053e6836040518263ffffffff1660e01b81526004016118ba919061458b565b60206040518083038186803b1580156118d257600080fd5b505afa1580156118e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061190a9190613967565b9050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cd561c3f836040518263ffffffff1660e01b81526004016119b6919061458b565b60206040518083038186803b1580156119ce57600080fd5b505afa1580156119e2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a069190613967565b9050919050565b611a1f82611a1961287a565b83612bad565b611a298282612fd4565b5050565b60136020528060005260406000206000915090505481565b600d6020528060005260406000206000915054906101000a900460ff1681565b60011515600c60009054906101000a900460ff16151514611abb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab2906142eb565b60405180910390fd5b6000611ac56112e5565b9050601f8110611b0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b01906143ab565b60405180910390fd5b6000611b146120c7565b9050600b821015611bdb57600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc679033836040518363ffffffff1660e01b8152600401611b7c929190614016565b600060405180830381600087803b158015611b9657600080fd5b505af1158015611baa573d6000803e3d6000fd5b50505050611bd633611bba611296565b600a611bc691906146eb565b83611bd19190614809565b612a4d565b611cd4565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc679033836040518363ffffffff1660e01b8152600401611c38929190614016565b600060405180830381600087803b158015611c5257600080fd5b505af1158015611c66573d6000803e3d6000fd5b5050505060006064611c76611296565b600a611c8291906146eb565b83600b86611c909190614863565b6005611c9c9190614809565b6064611ca89190614863565b611cb29190614809565b611cbc9190614809565b611cc69190614667565b9050611cd23382612a4d565b505b80601960008481526020019081526020016000206000828254611cf79190614611565b925050819055508060186000828254611d109190614611565b925050819055507f7ea9532d46b13c77ff258367a93fd3d5fead6268557f9d6e0777b75d3736bb108133604051611d489291906145a6565b60405180910390a15050565b600c60009054906101000a900460ff1681565b6000611db0600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206131ab565b9050919050565b6000600b548210611dfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df4906144cb565b60405180910390fd5b60001515600c60009054906101000a900460ff16151514611e53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4a906143eb565b60405180910390fd5b6000611e5e83611959565b600e6000858152602001908152602001600020541115611ea657611e8183611959565b600e600085815260200190815260200160002054611e9f9190614863565b9050611eab565b600090505b6000610e10601460008681526020019081526020016000205442611ecf9190614863565b611ed99190614667565b905060006002611ee7611296565b600a611ef391906146eb565b8385611eff9190614809565b611f099190614809565b611f139190614667565b9050611f1e8561185d565b611f288633611642565b82611f339190614809565b611f3d9190614667565b84611f489190614611565b9350505050919050565b600b5481565b601a602052816000526040600020602052806000526040600020600091509150505481565b606060048054611f8c9061494d565b80601f0160208091040260200160405190810160405280929190818152602001828054611fb89061494d565b80156120055780601f10611fda57610100808354040283529160200191612005565b820191906000526020600020905b815481529060010190602001808311611fe857829003601f168201915b5050505050905090565b60185481565b600e6020528060005260406000206000915090505481565b60008061203861287a565b905060006120468286612580565b90508381101561208b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120829061454b565b60405180910390fd5b6120988286868403612882565b60019250505092915050565b6000806120af61287a565b90506120bc818585612c39565b600191505092915050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016121249190613ffb565b60206040518083038186803b15801561213c57600080fd5b505afa158015612150573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121749190613967565b905090565b8061218333611911565b10156121c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bb906142ab565b60405180910390fd5b601754421015612209576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122009061428b565b60405180910390fd5b60006122153330612580565b90508181101561225a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122519061440b565b60405180910390fd5b6122643383612fd4565b7f4d6c4ae2808d16b09eb42f462f483795faf0f2dc132cdac6d1bb9d609cd5116b82336040516122959291906145a6565b60405180910390a15050565b834211156122e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122db9061432b565b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886123138c6131b9565b8960405160200161232996959493929190614075565b604051602081830303815290604052805190602001209050600061234c82613217565b9050600061235c82878787613231565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146123cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c39061444b565b60405180910390fd5b6123d78a8a8a612882565b50505050505050505050565b600060011515600c60009054906101000a900460ff1615151461243b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612432906142eb565b60405180910390fd5b60001515600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515146124ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c5906143cb565b60405180910390fd5b60005b600b5481101561257c5760006124e78233611642565b1180156125105750601560008281526020019081526020016000205461250d8233611642565b11155b156125695760126000828152602001908152602001600020546125338233611642565b60136000848152602001908152602001600020546125519190614809565b61255b9190614667565b826125669190614611565b91505b80806125749061497f565b9150506124d1565b5090565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268e9061426b565b60405180910390fd5b60001515600c60009054906101000a900460ff161515146126ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e49061446b565b60405180910390fd5b87600e60008081526020019081526020016000208190555086600e6000600181526020019081526020016000208190555085600e6000600281526020019081526020016000208190555084600e6000600381526020019081526020016000208190555083600e6000600481526020019081526020016000208190555082600e6000600581526020019081526020016000208190555081600e6000600681526020019081526020016000208190555080600e600060078152602001908152602001600020819055505050505050505050565b600060011515600c60009054906101000a900460ff16151514612816576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280d906142eb565b60405180910390fd5b60006128206112e5565b9050600b811015612835576064915050612871565b601f81101561286b57600b8161284b9190614863565b60056128579190614809565b60646128639190614863565b915050612871565b60009150505b90565b60175481565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e99061452b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612962576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612959906142cb565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051612a40919061458b565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab49061456b565b60405180910390fd5b612ac96000838361325c565b8060026000828254612adb9190614611565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b309190614611565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612b95919061458b565b60405180910390a3612ba960008383613261565b5050565b6000612bb98484612580565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114612c335781811015612c25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1c9061430b565b60405180910390fd5b612c328484848403612882565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612ca9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ca0906144ab565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d10906141eb565b60405180910390fd5b612d2483838361325c565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612daa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da19061434b565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e3d9190614611565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612ea1919061458b565b60405180910390a3612eb4848484613261565b50505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16148015612f3657507f000000000000000000000000000000000000000000000000000000000000000046145b15612f63577f00000000000000000000000000000000000000000000000000000000000000009050612fd1565b612fce7f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000613266565b90505b90565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613044576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303b9061448b565b60405180910390fd5b6130508260008361325c565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156130d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130cd9061422b565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816002600082825461312d9190614863565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051613192919061458b565b60405180910390a36131a683600084613261565b505050565b600081600001549050919050565b600080600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050613206816131ab565b9150613211816132a0565b50919050565b600061322a613224612eba565b836132b6565b9050919050565b6000806000613242878787876132e9565b9150915061324f816133f6565b8192505050949350505050565b505050565b505050565b600083838346306040516020016132819594939291906140d6565b6040516020818303038152906040528051906020012090509392505050565b6001816000016000828254019250508190555050565b600082826040516020016132cb929190613fc4565b60405160208183030381529060405280519060200120905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156133245760006003915091506133ed565b601b8560ff161415801561333c5750601c8560ff1614155b1561334e5760006004915091506133ed565b6000600187878787604051600081526020016040526040516133739493929190614129565b6020604051602081039080840390855afa158015613395573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156133e4576000600192509250506133ed565b80600092509250505b94509492505050565b60006004811115613430577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613469577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561347457613744565b600160048111156134ae577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156134e7577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613528576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161351f906141ab565b60405180910390fd5b60026004811115613562577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561359b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156135dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135d39061424b565b60405180910390fd5b60036004811115613616577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561364f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613690576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136879061436b565b60405180910390fd5b6004808111156136c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613702577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613743576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161373a9061442b565b60405180910390fd5b5b50565b6000813590506137568161526f565b92915050565b60008135905061376b81615286565b92915050565b6000813590506137808161529d565b92915050565b6000815190506137958161529d565b92915050565b6000813590506137aa816152b4565b92915050565b6000602082840312156137c257600080fd5b60006137d084828501613747565b91505092915050565b600080604083850312156137ec57600080fd5b60006137fa85828601613747565b925050602061380b85828601613747565b9150509250929050565b60008060006060848603121561382a57600080fd5b600061383886828701613747565b935050602061384986828701613747565b925050604061385a86828701613771565b9150509250925092565b600080600080600080600060e0888a03121561387f57600080fd5b600061388d8a828b01613747565b975050602061389e8a828b01613747565b96505060406138af8a828b01613771565b95505060606138c08a828b01613771565b94505060806138d18a828b0161379b565b93505060a06138e28a828b0161375c565b92505060c06138f38a828b0161375c565b91505092959891949750929550565b6000806040838503121561391557600080fd5b600061392385828601613747565b925050602061393485828601613771565b9150509250929050565b60006020828403121561395057600080fd5b600061395e84828501613771565b91505092915050565b60006020828403121561397957600080fd5b600061398784828501613786565b91505092915050565b600080604083850312156139a357600080fd5b60006139b185828601613771565b92505060206139c285828601613747565b9150509250929050565b600080604083850312156139df57600080fd5b60006139ed85828601613771565b92505060206139fe85828601613771565b9150509250929050565b600080600080600080600080610100898b031215613a2557600080fd5b6000613a338b828c01613771565b9850506020613a448b828c01613771565b9750506040613a558b828c01613771565b9650506060613a668b828c01613771565b9550506080613a778b828c01613771565b94505060a0613a888b828c01613771565b93505060c0613a998b828c01613771565b92505060e0613aaa8b828c01613771565b9150509295985092959890939650565b613ac381614897565b82525050565b613ad2816148a9565b82525050565b613ae1816148b5565b82525050565b613af8613af3826148b5565b6149c8565b82525050565b613b07816148f6565b82525050565b6000613b18826145ea565b613b2281856145f5565b9350613b3281856020860161491a565b613b3b81614a5f565b840191505092915050565b6000613b536018836145f5565b9150613b5e82614a7d565b602082019050919050565b6000613b766014836145f5565b9150613b8182614aa6565b602082019050919050565b6000613b996023836145f5565b9150613ba482614acf565b604082019050919050565b6000613bbc6027836145f5565b9150613bc782614b1e565b604082019050919050565b6000613bdf6022836145f5565b9150613bea82614b6d565b604082019050919050565b6000613c02601f836145f5565b9150613c0d82614bbc565b602082019050919050565b6000613c256027836145f5565b9150613c3082614be5565b604082019050919050565b6000613c486017836145f5565b9150613c5382614c34565b602082019050919050565b6000613c6b6026836145f5565b9150613c7682614c5d565b604082019050919050565b6000613c8e6022836145f5565b9150613c9982614cac565b604082019050919050565b6000613cb1603d836145f5565b9150613cbc82614cfb565b604082019050919050565b6000613cd4600283614606565b9150613cdf82614d4a565b600282019050919050565b6000613cf7601d836145f5565b9150613d0282614d73565b602082019050919050565b6000613d1a601d836145f5565b9150613d2582614d9c565b602082019050919050565b6000613d3d6026836145f5565b9150613d4882614dc5565b604082019050919050565b6000613d606022836145f5565b9150613d6b82614e14565b604082019050919050565b6000613d836016836145f5565b9150613d8e82614e63565b602082019050919050565b6000613da6602d836145f5565b9150613db182614e8c565b604082019050919050565b6000613dc96027836145f5565b9150613dd482614edb565b604082019050919050565b6000613dec6021836145f5565b9150613df782614f2a565b604082019050919050565b6000613e0f601d836145f5565b9150613e1a82614f79565b602082019050919050565b6000613e326022836145f5565b9150613e3d82614fa2565b604082019050919050565b6000613e55601e836145f5565b9150613e6082614ff1565b602082019050919050565b6000613e786012836145f5565b9150613e838261501a565b602082019050919050565b6000613e9b6021836145f5565b9150613ea682615043565b604082019050919050565b6000613ebe6025836145f5565b9150613ec982615092565b604082019050919050565b6000613ee16019836145f5565b9150613eec826150e1565b602082019050919050565b6000613f046041836145f5565b9150613f0f8261510a565b606082019050919050565b6000613f276019836145f5565b9150613f328261517f565b602082019050919050565b6000613f4a6024836145f5565b9150613f55826151a8565b604082019050919050565b6000613f6d6025836145f5565b9150613f78826151f7565b604082019050919050565b6000613f90601f836145f5565b9150613f9b82615246565b602082019050919050565b613faf816148df565b82525050565b613fbe816148e9565b82525050565b6000613fcf82613cc7565b9150613fdb8285613ae7565b602082019150613feb8284613ae7565b6020820191508190509392505050565b60006020820190506140106000830184613aba565b92915050565b600060408201905061402b6000830185613aba565b6140386020830184613fa6565b9392505050565b60006020820190506140546000830184613ac9565b92915050565b600060208201905061406f6000830184613ad8565b92915050565b600060c08201905061408a6000830189613ad8565b6140976020830188613aba565b6140a46040830187613aba565b6140b16060830186613fa6565b6140be6080830185613fa6565b6140cb60a0830184613fa6565b979650505050505050565b600060a0820190506140eb6000830188613ad8565b6140f86020830187613ad8565b6141056040830186613ad8565b6141126060830185613fa6565b61411f6080830184613aba565b9695505050505050565b600060808201905061413e6000830187613ad8565b61414b6020830186613fb5565b6141586040830185613ad8565b6141656060830184613ad8565b95945050505050565b60006020820190506141836000830184613afe565b92915050565b600060208201905081810360008301526141a38184613b0d565b905092915050565b600060208201905081810360008301526141c481613b46565b9050919050565b600060208201905081810360008301526141e481613b69565b9050919050565b6000602082019050818103600083015261420481613b8c565b9050919050565b6000602082019050818103600083015261422481613baf565b9050919050565b6000602082019050818103600083015261424481613bd2565b9050919050565b6000602082019050818103600083015261426481613bf5565b9050919050565b6000602082019050818103600083015261428481613c18565b9050919050565b600060208201905081810360008301526142a481613c3b565b9050919050565b600060208201905081810360008301526142c481613c5e565b9050919050565b600060208201905081810360008301526142e481613c81565b9050919050565b6000602082019050818103600083015261430481613ca4565b9050919050565b6000602082019050818103600083015261432481613cea565b9050919050565b6000602082019050818103600083015261434481613d0d565b9050919050565b6000602082019050818103600083015261436481613d30565b9050919050565b6000602082019050818103600083015261438481613d53565b9050919050565b600060208201905081810360008301526143a481613d76565b9050919050565b600060208201905081810360008301526143c481613d99565b9050919050565b600060208201905081810360008301526143e481613dbc565b9050919050565b6000602082019050818103600083015261440481613ddf565b9050919050565b6000602082019050818103600083015261442481613e02565b9050919050565b6000602082019050818103600083015261444481613e25565b9050919050565b6000602082019050818103600083015261446481613e48565b9050919050565b6000602082019050818103600083015261448481613e6b565b9050919050565b600060208201905081810360008301526144a481613e8e565b9050919050565b600060208201905081810360008301526144c481613eb1565b9050919050565b600060208201905081810360008301526144e481613ed4565b9050919050565b6000602082019050818103600083015261450481613ef7565b9050919050565b6000602082019050818103600083015261452481613f1a565b9050919050565b6000602082019050818103600083015261454481613f3d565b9050919050565b6000602082019050818103600083015261456481613f60565b9050919050565b6000602082019050818103600083015261458481613f83565b9050919050565b60006020820190506145a06000830184613fa6565b92915050565b60006040820190506145bb6000830185613fa6565b6145c86020830184613aba565b9392505050565b60006020820190506145e46000830184613fb5565b92915050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600061461c826148df565b9150614627836148df565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561465c5761465b6149d2565b5b828201905092915050565b6000614672826148df565b915061467d836148df565b92508261468d5761468c614a01565b5b828204905092915050565b6000808291508390505b60018511156146e2578086048111156146be576146bd6149d2565b5b60018516156146cd5780820291505b80810290506146db85614a70565b94506146a2565b94509492505050565b60006146f6826148df565b9150614701836148e9565b925061472e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484614736565b905092915050565b6000826147465760019050614802565b816147545760009050614802565b816001811461476a5760028114614774576147a3565b6001915050614802565b60ff841115614786576147856149d2565b5b8360020a91508482111561479d5761479c6149d2565b5b50614802565b5060208310610133831016604e8410600b84101617156147d85782820a9050838111156147d3576147d26149d2565b5b614802565b6147e58484846001614698565b925090508184048111156147fc576147fb6149d2565b5b81810290505b9392505050565b6000614814826148df565b915061481f836148df565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614858576148576149d2565b5b828202905092915050565b600061486e826148df565b9150614879836148df565b92508282101561488c5761488b6149d2565b5b828203905092915050565b60006148a2826148bf565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600061490182614908565b9050919050565b6000614913826148bf565b9050919050565b60005b8381101561493857808201518184015260208101905061491d565b83811115614947576000848401525b50505050565b6000600282049050600182168061496557607f821691505b6020821081141561497957614978614a30565b5b50919050565b600061498a826148df565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156149bd576149bc6149d2565b5b600182019050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b60008160011c9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f596f7520636c61696d656420746f6f206c617465000000000000000000000000600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f596f7520616c726561647920636c61696d656420796f7572206d69646e69676860008201527f7420426f6e757300000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f4f6e6c7920746865206d616e616765722063616e2063616c6c2074686973206660008201527f756e6374696f6e00000000000000000000000000000000000000000000000000602082015250565b7f436f6e7472616374206e6f742079657420616374697665000000000000000000600082015250565b7f496e73756666696369656e742062616c616e636520746f20666163696c69746160008201527f746520506f420000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d696e74696e67205761697420686173206265656e207475726e6564206f666660008201527f2c20676f20636c61696d20746865204d69646e6967687420426f6e7573000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b7f45524332305065726d69743a206578706972656420646561646c696e65000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f50756c736520616c7265616479206c61756e6368656400000000000000000000600082015250565b7f4974277320746f6f206c61746520746f2065786368616e676520796f7572205660008201527f31205761697420666f7220563200000000000000000000000000000000000000602082015250565b7f596f7520616c726561647920636c61696d656420796f7572204d69646e69676860008201527f7420426f6e757300000000000000000000000000000000000000000000000000602082015250565b7f4d69646e6967687420426f6e75732063616e206e6f7720626520636c61696d6560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b7f4275726e20616d6f756e74206578636565647320616c6c6f77616e6365000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332305065726d69743a20696e76616c6964207369676e61747572650000600082015250565b7f50756c736520686173206c61756e636865640000000000000000000000000000600082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f6e6f7420616e2061636375726174652073616372696669636500000000000000600082015250565b7f596f75206e6576657220636c61696d656420796f75722057616974206f72206160008201527f6c726561647920636c61696d65642074686520756e636c61696d65642057616960208201527f7400000000000000000000000000000000000000000000000000000000000000604082015250565b7f4e6f7420616e2061636375726174652073616372696669636500000000000000600082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b61527881614897565b811461528357600080fd5b50565b61528f816148b5565b811461529a57600080fd5b50565b6152a6816148df565b81146152b157600080fd5b50565b6152bd816148e9565b81146152c857600080fd5b5056fea2646970667358221220d6db9ba5e6fb0b2df6440563a9138c0b4bea4ff256a6346d9f8c3ccfeccd28aa64736f6c63430008040033000000000000000000000000b5588c411ba0bb7d38865fdc51d082d004e519f7

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102bb5760003560e01c80636ddfe61e1161018257806395d89b41116100e9578063d240a93a116100a2578063dd62ed3e1161007c578063dd62ed3e14610972578063f0056d60146109a2578063f8f2aa7d146109be578063fbc53c77146109dc576102bb565b8063d240a93a1461091c578063d505accf14610938578063d5ab7a5614610954576102bb565b806395d89b41146108325780639b60228d14610850578063a173b6391461086e578063a457c2d71461089e578063a9059cbb146108ce578063ca00d683146108fe576102bb565b80637c6994a11161013b5780637c6994a11461075c5780637dc2268c146107665780637ecebe00146107845780637f0b3b11146107b4578063833fd5fe146107e457806393e5df1714610802576102bb565b80636ddfe61e1461065057806370a0823114610680578063777a9b28146106b057806379cc6790146106e05780637a285593146106fc5780637acc5ea31461072c576102bb565b806323b872dd116102265780633f16ae34116101df5780633f16ae341461058e57806342966c68146105ac57806343b416ea146105c857806363cd23ca146105d2578063651c8edc146106025780636963ee5614610632576102bb565b806323b872dd1461049257806329521e8f146104c25780632dbe1402146104f2578063313ce567146105225780633644e51514610540578063395093511461055e576102bb565b8063196f7d5e11610278578063196f7d5e146103aa5780631faee43b146103b4578063207a4e56146103e457806321ba263e1461041457806322545a651461044457806322f8320e14610462576102bb565b806306fdde03146102c057806308a6c309146102de578063095ea7b3146102fc57806310c2b6c81461032c578063115cfb551461035c57806318160ddd1461038c575b600080fd5b6102c86109fa565b6040516102d59190614189565b60405180910390f35b6102e6610a8c565b6040516102f3919061416e565b60405180910390f35b61031660048036038101906103119190613902565b610ab2565b604051610323919061403f565b60405180910390f35b610346600480360381019061034191906139cc565b610ad5565b604051610353919061458b565b60405180910390f35b6103766004803603810190610371919061393e565b610afa565b604051610383919061458b565b60405180910390f35b610394610b12565b6040516103a1919061458b565b60405180910390f35b6103b2610b1c565b005b6103ce60048036038101906103c9919061393e565b610e54565b6040516103db919061458b565b60405180910390f35b6103fe60048036038101906103f9919061393e565b61107b565b60405161040b919061458b565b60405180910390f35b61042e6004803603810190610429919061393e565b611093565b60405161043b919061458b565b60405180910390f35b61044c6110ab565b604051610459919061458b565b60405180910390f35b61047c6004803603810190610477919061393e565b61121f565b604051610489919061458b565b60405180910390f35b6104ac60048036038101906104a79190613815565b611237565b6040516104b9919061403f565b60405180910390f35b6104dc60048036038101906104d7919061393e565b611266565b6040516104e9919061458b565b60405180910390f35b61050c6004803603810190610507919061393e565b61127e565b604051610519919061458b565b60405180910390f35b61052a611296565b60405161053791906145cf565b60405180910390f35b61054861129f565b604051610555919061405a565b60405180910390f35b61057860048036038101906105739190613902565b6112ae565b604051610585919061403f565b60405180910390f35b6105966112e5565b6040516105a3919061458b565b60405180910390f35b6105c660048036038101906105c1919061393e565b61135e565b005b6105d0611372565b005b6105ec60048036038101906105e79190613990565b611642565b6040516105f9919061458b565b60405180910390f35b61061c6004803603810190610617919061393e565b6116f9565b604051610629919061458b565b60405180910390f35b61063a611711565b604051610647919061458b565b60405180910390f35b61066a6004803603810190610665919061393e565b61185d565b604051610677919061458b565b60405180910390f35b61069a600480360381019061069591906137b0565b611911565b6040516106a7919061458b565b60405180910390f35b6106ca60048036038101906106c5919061393e565b611959565b6040516106d7919061458b565b60405180910390f35b6106fa60048036038101906106f59190613902565b611a0d565b005b6107166004803603810190610711919061393e565b611a2d565b604051610723919061458b565b60405180910390f35b610746600480360381019061074191906137b0565b611a45565b604051610753919061403f565b60405180910390f35b610764611a65565b005b61076e611d54565b60405161077b919061403f565b60405180910390f35b61079e600480360381019061079991906137b0565b611d67565b6040516107ab919061458b565b60405180910390f35b6107ce60048036038101906107c9919061393e565b611db7565b6040516107db919061458b565b60405180910390f35b6107ec611f52565b6040516107f9919061458b565b60405180910390f35b61081c60048036038101906108179190613990565b611f58565b604051610829919061458b565b60405180910390f35b61083a611f7d565b6040516108479190614189565b60405180910390f35b61085861200f565b604051610865919061458b565b60405180910390f35b6108886004803603810190610883919061393e565b612015565b604051610895919061458b565b60405180910390f35b6108b860048036038101906108b39190613902565b61202d565b6040516108c5919061403f565b60405180910390f35b6108e860048036038101906108e39190613902565b6120a4565b6040516108f5919061403f565b60405180910390f35b6109066120c7565b604051610913919061458b565b60405180910390f35b6109366004803603810190610931919061393e565b612179565b005b610952600480360381019061094d9190613864565b6122a1565b005b61095c6123e3565b604051610969919061458b565b60405180910390f35b61098c600480360381019061098791906137d9565b612580565b604051610999919061458b565b60405180910390f35b6109bc60048036038101906109b79190613a08565b612607565b005b6109c66127be565b6040516109d3919061458b565b60405180910390f35b6109e4612874565b6040516109f1919061458b565b60405180910390f35b606060038054610a099061494d565b80601f0160208091040260200160405190810160405280929190818152602001828054610a359061494d565b8015610a825780601f10610a5757610100808354040283529160200191610a82565b820191906000526020600020905b815481529060010190602001808311610a6557829003601f168201915b5050505050905090565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080610abd61287a565b9050610aca818585612882565b600191505092915050565b6010602052816000526040600020602052806000526040600020600091509150505481565b60146020528060005260406000206000915090505481565b6000600254905090565b60011515600c60009054906101000a900460ff16151514610b72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b69906142eb565b60405180910390fd5b60001515600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610c05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfc9061420b565b60405180910390fd5b6001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000805b600b54811015610e0d576000610c778233611642565b118015610ca057506015600082815260200190815260200160002054610c9d8233611642565b11155b15610dfa5760006012600083815260200190815260200160002054610cc58333611642565b6013600085815260200190815260200160002054610ce39190614809565b610ced9190614667565b90508083610cfb9190614611565b9250600f60008381526020019081526020016000206000815480929190610d219061497f565b9190505550601060008381526020019081526020016000206000610d436112e5565b81526020019081526020016000206000815480929190610d629061497f565b919050555080601160008481526020019081526020016000206000828254610d8a9190614611565b9250508190555080601a600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610df19190614611565b92505081905550505b8080610e059061497f565b915050610c61565b50610e183382612a4d565b7fb142818a9fe1c60c3f96993051fb25dfb138ee7455b83689b4b262e9adf16fdd8133604051610e499291906145a6565b60405180910390a150565b600060011515600c60009054906101000a900460ff16151514610eac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea3906142eb565b60405180910390fd5b600b548210610ef0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee79061450b565b60405180910390fd5b60001515600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610f83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7a9061420b565b60405180910390fd5b6000610f8f8333611642565b11610fcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc6906144eb565b60405180910390fd5b6015600083815260200190815260200160002054610fed8333611642565b111561102e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611025906141cb565b60405180910390fd5b601260008381526020019081526020016000205461104c8333611642565b601360008581526020019081526020016000205461106a9190614809565b6110749190614667565b9050919050565b60166020528060005260406000206000915090505481565b60156020528060005260406000206000915090505481565b6000801515600c60009054906101000a900460ff16151514611102576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f9906143eb565b60405180910390fd5b6000805b600b5481101561121a5761111981611959565b600e60008381526020019081526020016000205411156111615761113c81611959565b600e60008381526020019081526020016000205461115a9190614863565b9150611166565b600091505b6000610e1060146000848152602001908152602001600020544261118a9190614863565b6111949190614667565b9050600060026111a2611296565b600a6111ae91906146eb565b83866111ba9190614809565b6111c49190614809565b6111ce9190614667565b90506111d98361185d565b6111e38433611642565b826111ee9190614809565b6111f89190614667565b856112039190614611565b9450505080806112129061497f565b915050611106565b505090565b60196020528060005260406000206000915090505481565b60008061124261287a565b905061124f858285612bad565b61125a858585612c39565b60019150509392505050565b60126020528060005260406000206000915090505481565b60116020528060005260406000206000915090505481565b60006008905090565b60006112a9612eba565b905090565b6000806112b961287a565b90506112da8185856112cb8589612580565b6112d59190614611565b612882565b600191505092915050565b600060011515600c60009054906101000a900460ff1615151461133d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611334906142eb565b60405180910390fd5b620151806017544261134f9190614863565b6113599190614667565b905090565b61136f61136961287a565b82612fd4565b50565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611402576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f99061426b565b60405180910390fd5b60001515600c60009054906101000a900460ff16151514611458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144f9061438b565b60405180910390fd5b6001600c60006101000a81548160ff021916908315150217905550426017819055506000805b600b54811015611612576114918161185d565b6012600083815260200190815260200160002081905550610e106014600083815260200190815260200160002054426114ca9190614863565b6114d49190614667565b60156000838152602001908152602001600020819055506114f481611959565b600e600083815260200190815260200160002054101561152c576000601660008381526020019081526020016000208190555061156b565b61153581611959565b600e6000838152602001908152602001600020546115539190614863565b60166000838152602001908152602001600020819055505b6002611575611296565b600a61158191906146eb565b601560008481526020019081526020016000205460166000858152602001908152602001600020546115b39190614809565b6115bd9190614809565b6115c79190614667565b60136000838152602001908152602001600020819055506013600082815260200190815260200160002054826115fd9190614611565b9150808061160a9061497f565b91505061147e565b5061163f600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612a4d565b50565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166338ed5a6184846040518363ffffffff1660e01b81526004016116a19291906145a6565b60206040518083038186803b1580156116b957600080fd5b505afa1580156116cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116f19190613967565b905092915050565b600f6020528060005260406000206000915090505481565b600060011515600c60009054906101000a900460ff16151514611769576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611760906142eb565b60405180910390fd5b60006117736112e5565b9050601f81106117b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117af906143ab565b60405180910390fd5b60006117c26120c7565b9050600b8210156117f5576117d5611296565b600a6117e191906146eb565b816117ec9190614809565b9250505061185a565b60006064611801611296565b600a61180d91906146eb565b83600b8661181b9190614863565b60056118279190614809565b60646118339190614863565b61183d9190614809565b6118479190614809565b6118519190614667565b90508093505050505b90565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ff8053e6836040518263ffffffff1660e01b81526004016118ba919061458b565b60206040518083038186803b1580156118d257600080fd5b505afa1580156118e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061190a9190613967565b9050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cd561c3f836040518263ffffffff1660e01b81526004016119b6919061458b565b60206040518083038186803b1580156119ce57600080fd5b505afa1580156119e2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a069190613967565b9050919050565b611a1f82611a1961287a565b83612bad565b611a298282612fd4565b5050565b60136020528060005260406000206000915090505481565b600d6020528060005260406000206000915054906101000a900460ff1681565b60011515600c60009054906101000a900460ff16151514611abb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab2906142eb565b60405180910390fd5b6000611ac56112e5565b9050601f8110611b0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b01906143ab565b60405180910390fd5b6000611b146120c7565b9050600b821015611bdb57600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc679033836040518363ffffffff1660e01b8152600401611b7c929190614016565b600060405180830381600087803b158015611b9657600080fd5b505af1158015611baa573d6000803e3d6000fd5b50505050611bd633611bba611296565b600a611bc691906146eb565b83611bd19190614809565b612a4d565b611cd4565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc679033836040518363ffffffff1660e01b8152600401611c38929190614016565b600060405180830381600087803b158015611c5257600080fd5b505af1158015611c66573d6000803e3d6000fd5b5050505060006064611c76611296565b600a611c8291906146eb565b83600b86611c909190614863565b6005611c9c9190614809565b6064611ca89190614863565b611cb29190614809565b611cbc9190614809565b611cc69190614667565b9050611cd23382612a4d565b505b80601960008481526020019081526020016000206000828254611cf79190614611565b925050819055508060186000828254611d109190614611565b925050819055507f7ea9532d46b13c77ff258367a93fd3d5fead6268557f9d6e0777b75d3736bb108133604051611d489291906145a6565b60405180910390a15050565b600c60009054906101000a900460ff1681565b6000611db0600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206131ab565b9050919050565b6000600b548210611dfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df4906144cb565b60405180910390fd5b60001515600c60009054906101000a900460ff16151514611e53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4a906143eb565b60405180910390fd5b6000611e5e83611959565b600e6000858152602001908152602001600020541115611ea657611e8183611959565b600e600085815260200190815260200160002054611e9f9190614863565b9050611eab565b600090505b6000610e10601460008681526020019081526020016000205442611ecf9190614863565b611ed99190614667565b905060006002611ee7611296565b600a611ef391906146eb565b8385611eff9190614809565b611f099190614809565b611f139190614667565b9050611f1e8561185d565b611f288633611642565b82611f339190614809565b611f3d9190614667565b84611f489190614611565b9350505050919050565b600b5481565b601a602052816000526040600020602052806000526040600020600091509150505481565b606060048054611f8c9061494d565b80601f0160208091040260200160405190810160405280929190818152602001828054611fb89061494d565b80156120055780601f10611fda57610100808354040283529160200191612005565b820191906000526020600020905b815481529060010190602001808311611fe857829003601f168201915b5050505050905090565b60185481565b600e6020528060005260406000206000915090505481565b60008061203861287a565b905060006120468286612580565b90508381101561208b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120829061454b565b60405180910390fd5b6120988286868403612882565b60019250505092915050565b6000806120af61287a565b90506120bc818585612c39565b600191505092915050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016121249190613ffb565b60206040518083038186803b15801561213c57600080fd5b505afa158015612150573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121749190613967565b905090565b8061218333611911565b10156121c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bb906142ab565b60405180910390fd5b601754421015612209576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122009061428b565b60405180910390fd5b60006122153330612580565b90508181101561225a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122519061440b565b60405180910390fd5b6122643383612fd4565b7f4d6c4ae2808d16b09eb42f462f483795faf0f2dc132cdac6d1bb9d609cd5116b82336040516122959291906145a6565b60405180910390a15050565b834211156122e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122db9061432b565b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886123138c6131b9565b8960405160200161232996959493929190614075565b604051602081830303815290604052805190602001209050600061234c82613217565b9050600061235c82878787613231565b90508973ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146123cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c39061444b565b60405180910390fd5b6123d78a8a8a612882565b50505050505050505050565b600060011515600c60009054906101000a900460ff1615151461243b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612432906142eb565b60405180910390fd5b60001515600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515146124ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c5906143cb565b60405180910390fd5b60005b600b5481101561257c5760006124e78233611642565b1180156125105750601560008281526020019081526020016000205461250d8233611642565b11155b156125695760126000828152602001908152602001600020546125338233611642565b60136000848152602001908152602001600020546125519190614809565b61255b9190614667565b826125669190614611565b91505b80806125749061497f565b9150506124d1565b5090565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268e9061426b565b60405180910390fd5b60001515600c60009054906101000a900460ff161515146126ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e49061446b565b60405180910390fd5b87600e60008081526020019081526020016000208190555086600e6000600181526020019081526020016000208190555085600e6000600281526020019081526020016000208190555084600e6000600381526020019081526020016000208190555083600e6000600481526020019081526020016000208190555082600e6000600581526020019081526020016000208190555081600e6000600681526020019081526020016000208190555080600e600060078152602001908152602001600020819055505050505050505050565b600060011515600c60009054906101000a900460ff16151514612816576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280d906142eb565b60405180910390fd5b60006128206112e5565b9050600b811015612835576064915050612871565b601f81101561286b57600b8161284b9190614863565b60056128579190614809565b60646128639190614863565b915050612871565b60009150505b90565b60175481565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e99061452b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612962576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612959906142cb565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051612a40919061458b565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab49061456b565b60405180910390fd5b612ac96000838361325c565b8060026000828254612adb9190614611565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b309190614611565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612b95919061458b565b60405180910390a3612ba960008383613261565b5050565b6000612bb98484612580565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114612c335781811015612c25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1c9061430b565b60405180910390fd5b612c328484848403612882565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612ca9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ca0906144ab565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d10906141eb565b60405180910390fd5b612d2483838361325c565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612daa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da19061434b565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e3d9190614611565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612ea1919061458b565b60405180910390a3612eb4848484613261565b50505050565b60007f00000000000000000000000026179a4d4b58b4456f28d19507546596c9058ee573ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16148015612f3657507f000000000000000000000000000000000000000000000000000000000000000146145b15612f63577ff15155b291eb486d2a4d18e20386d89134aa8891f6e7c201238946d5d648b1fa9050612fd1565b612fce7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f0b78d8428e8214b59d6566c1ea0075b60885c425a8c7390dfbf1ac050f816d957fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6613266565b90505b90565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613044576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303b9061448b565b60405180910390fd5b6130508260008361325c565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156130d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130cd9061422b565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816002600082825461312d9190614863565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051613192919061458b565b60405180910390a36131a683600084613261565b505050565b600081600001549050919050565b600080600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050613206816131ab565b9150613211816132a0565b50919050565b600061322a613224612eba565b836132b6565b9050919050565b6000806000613242878787876132e9565b9150915061324f816133f6565b8192505050949350505050565b505050565b505050565b600083838346306040516020016132819594939291906140d6565b6040516020818303038152906040528051906020012090509392505050565b6001816000016000828254019250508190555050565b600082826040516020016132cb929190613fc4565b60405160208183030381529060405280519060200120905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156133245760006003915091506133ed565b601b8560ff161415801561333c5750601c8560ff1614155b1561334e5760006004915091506133ed565b6000600187878787604051600081526020016040526040516133739493929190614129565b6020604051602081039080840390855afa158015613395573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156133e4576000600192509250506133ed565b80600092509250505b94509492505050565b60006004811115613430577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613469577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561347457613744565b600160048111156134ae577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156134e7577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613528576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161351f906141ab565b60405180910390fd5b60026004811115613562577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561359b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156135dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135d39061424b565b60405180910390fd5b60036004811115613616577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561364f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613690576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136879061436b565b60405180910390fd5b6004808111156136c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613702577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613743576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161373a9061442b565b60405180910390fd5b5b50565b6000813590506137568161526f565b92915050565b60008135905061376b81615286565b92915050565b6000813590506137808161529d565b92915050565b6000815190506137958161529d565b92915050565b6000813590506137aa816152b4565b92915050565b6000602082840312156137c257600080fd5b60006137d084828501613747565b91505092915050565b600080604083850312156137ec57600080fd5b60006137fa85828601613747565b925050602061380b85828601613747565b9150509250929050565b60008060006060848603121561382a57600080fd5b600061383886828701613747565b935050602061384986828701613747565b925050604061385a86828701613771565b9150509250925092565b600080600080600080600060e0888a03121561387f57600080fd5b600061388d8a828b01613747565b975050602061389e8a828b01613747565b96505060406138af8a828b01613771565b95505060606138c08a828b01613771565b94505060806138d18a828b0161379b565b93505060a06138e28a828b0161375c565b92505060c06138f38a828b0161375c565b91505092959891949750929550565b6000806040838503121561391557600080fd5b600061392385828601613747565b925050602061393485828601613771565b9150509250929050565b60006020828403121561395057600080fd5b600061395e84828501613771565b91505092915050565b60006020828403121561397957600080fd5b600061398784828501613786565b91505092915050565b600080604083850312156139a357600080fd5b60006139b185828601613771565b92505060206139c285828601613747565b9150509250929050565b600080604083850312156139df57600080fd5b60006139ed85828601613771565b92505060206139fe85828601613771565b9150509250929050565b600080600080600080600080610100898b031215613a2557600080fd5b6000613a338b828c01613771565b9850506020613a448b828c01613771565b9750506040613a558b828c01613771565b9650506060613a668b828c01613771565b9550506080613a778b828c01613771565b94505060a0613a888b828c01613771565b93505060c0613a998b828c01613771565b92505060e0613aaa8b828c01613771565b9150509295985092959890939650565b613ac381614897565b82525050565b613ad2816148a9565b82525050565b613ae1816148b5565b82525050565b613af8613af3826148b5565b6149c8565b82525050565b613b07816148f6565b82525050565b6000613b18826145ea565b613b2281856145f5565b9350613b3281856020860161491a565b613b3b81614a5f565b840191505092915050565b6000613b536018836145f5565b9150613b5e82614a7d565b602082019050919050565b6000613b766014836145f5565b9150613b8182614aa6565b602082019050919050565b6000613b996023836145f5565b9150613ba482614acf565b604082019050919050565b6000613bbc6027836145f5565b9150613bc782614b1e565b604082019050919050565b6000613bdf6022836145f5565b9150613bea82614b6d565b604082019050919050565b6000613c02601f836145f5565b9150613c0d82614bbc565b602082019050919050565b6000613c256027836145f5565b9150613c3082614be5565b604082019050919050565b6000613c486017836145f5565b9150613c5382614c34565b602082019050919050565b6000613c6b6026836145f5565b9150613c7682614c5d565b604082019050919050565b6000613c8e6022836145f5565b9150613c9982614cac565b604082019050919050565b6000613cb1603d836145f5565b9150613cbc82614cfb565b604082019050919050565b6000613cd4600283614606565b9150613cdf82614d4a565b600282019050919050565b6000613cf7601d836145f5565b9150613d0282614d73565b602082019050919050565b6000613d1a601d836145f5565b9150613d2582614d9c565b602082019050919050565b6000613d3d6026836145f5565b9150613d4882614dc5565b604082019050919050565b6000613d606022836145f5565b9150613d6b82614e14565b604082019050919050565b6000613d836016836145f5565b9150613d8e82614e63565b602082019050919050565b6000613da6602d836145f5565b9150613db182614e8c565b604082019050919050565b6000613dc96027836145f5565b9150613dd482614edb565b604082019050919050565b6000613dec6021836145f5565b9150613df782614f2a565b604082019050919050565b6000613e0f601d836145f5565b9150613e1a82614f79565b602082019050919050565b6000613e326022836145f5565b9150613e3d82614fa2565b604082019050919050565b6000613e55601e836145f5565b9150613e6082614ff1565b602082019050919050565b6000613e786012836145f5565b9150613e838261501a565b602082019050919050565b6000613e9b6021836145f5565b9150613ea682615043565b604082019050919050565b6000613ebe6025836145f5565b9150613ec982615092565b604082019050919050565b6000613ee16019836145f5565b9150613eec826150e1565b602082019050919050565b6000613f046041836145f5565b9150613f0f8261510a565b606082019050919050565b6000613f276019836145f5565b9150613f328261517f565b602082019050919050565b6000613f4a6024836145f5565b9150613f55826151a8565b604082019050919050565b6000613f6d6025836145f5565b9150613f78826151f7565b604082019050919050565b6000613f90601f836145f5565b9150613f9b82615246565b602082019050919050565b613faf816148df565b82525050565b613fbe816148e9565b82525050565b6000613fcf82613cc7565b9150613fdb8285613ae7565b602082019150613feb8284613ae7565b6020820191508190509392505050565b60006020820190506140106000830184613aba565b92915050565b600060408201905061402b6000830185613aba565b6140386020830184613fa6565b9392505050565b60006020820190506140546000830184613ac9565b92915050565b600060208201905061406f6000830184613ad8565b92915050565b600060c08201905061408a6000830189613ad8565b6140976020830188613aba565b6140a46040830187613aba565b6140b16060830186613fa6565b6140be6080830185613fa6565b6140cb60a0830184613fa6565b979650505050505050565b600060a0820190506140eb6000830188613ad8565b6140f86020830187613ad8565b6141056040830186613ad8565b6141126060830185613fa6565b61411f6080830184613aba565b9695505050505050565b600060808201905061413e6000830187613ad8565b61414b6020830186613fb5565b6141586040830185613ad8565b6141656060830184613ad8565b95945050505050565b60006020820190506141836000830184613afe565b92915050565b600060208201905081810360008301526141a38184613b0d565b905092915050565b600060208201905081810360008301526141c481613b46565b9050919050565b600060208201905081810360008301526141e481613b69565b9050919050565b6000602082019050818103600083015261420481613b8c565b9050919050565b6000602082019050818103600083015261422481613baf565b9050919050565b6000602082019050818103600083015261424481613bd2565b9050919050565b6000602082019050818103600083015261426481613bf5565b9050919050565b6000602082019050818103600083015261428481613c18565b9050919050565b600060208201905081810360008301526142a481613c3b565b9050919050565b600060208201905081810360008301526142c481613c5e565b9050919050565b600060208201905081810360008301526142e481613c81565b9050919050565b6000602082019050818103600083015261430481613ca4565b9050919050565b6000602082019050818103600083015261432481613cea565b9050919050565b6000602082019050818103600083015261434481613d0d565b9050919050565b6000602082019050818103600083015261436481613d30565b9050919050565b6000602082019050818103600083015261438481613d53565b9050919050565b600060208201905081810360008301526143a481613d76565b9050919050565b600060208201905081810360008301526143c481613d99565b9050919050565b600060208201905081810360008301526143e481613dbc565b9050919050565b6000602082019050818103600083015261440481613ddf565b9050919050565b6000602082019050818103600083015261442481613e02565b9050919050565b6000602082019050818103600083015261444481613e25565b9050919050565b6000602082019050818103600083015261446481613e48565b9050919050565b6000602082019050818103600083015261448481613e6b565b9050919050565b600060208201905081810360008301526144a481613e8e565b9050919050565b600060208201905081810360008301526144c481613eb1565b9050919050565b600060208201905081810360008301526144e481613ed4565b9050919050565b6000602082019050818103600083015261450481613ef7565b9050919050565b6000602082019050818103600083015261452481613f1a565b9050919050565b6000602082019050818103600083015261454481613f3d565b9050919050565b6000602082019050818103600083015261456481613f60565b9050919050565b6000602082019050818103600083015261458481613f83565b9050919050565b60006020820190506145a06000830184613fa6565b92915050565b60006040820190506145bb6000830185613fa6565b6145c86020830184613aba565b9392505050565b60006020820190506145e46000830184613fb5565b92915050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600061461c826148df565b9150614627836148df565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561465c5761465b6149d2565b5b828201905092915050565b6000614672826148df565b915061467d836148df565b92508261468d5761468c614a01565b5b828204905092915050565b6000808291508390505b60018511156146e2578086048111156146be576146bd6149d2565b5b60018516156146cd5780820291505b80810290506146db85614a70565b94506146a2565b94509492505050565b60006146f6826148df565b9150614701836148e9565b925061472e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484614736565b905092915050565b6000826147465760019050614802565b816147545760009050614802565b816001811461476a5760028114614774576147a3565b6001915050614802565b60ff841115614786576147856149d2565b5b8360020a91508482111561479d5761479c6149d2565b5b50614802565b5060208310610133831016604e8410600b84101617156147d85782820a9050838111156147d3576147d26149d2565b5b614802565b6147e58484846001614698565b925090508184048111156147fc576147fb6149d2565b5b81810290505b9392505050565b6000614814826148df565b915061481f836148df565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614858576148576149d2565b5b828202905092915050565b600061486e826148df565b9150614879836148df565b92508282101561488c5761488b6149d2565b5b828203905092915050565b60006148a2826148bf565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b600061490182614908565b9050919050565b6000614913826148bf565b9050919050565b60005b8381101561493857808201518184015260208101905061491d565b83811115614947576000848401525b50505050565b6000600282049050600182168061496557607f821691505b6020821081141561497957614978614a30565b5b50919050565b600061498a826148df565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156149bd576149bc6149d2565b5b600182019050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b60008160011c9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f596f7520636c61696d656420746f6f206c617465000000000000000000000000600082015250565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f596f7520616c726561647920636c61696d656420796f7572206d69646e69676860008201527f7420426f6e757300000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f4f6e6c7920746865206d616e616765722063616e2063616c6c2074686973206660008201527f756e6374696f6e00000000000000000000000000000000000000000000000000602082015250565b7f436f6e7472616374206e6f742079657420616374697665000000000000000000600082015250565b7f496e73756666696369656e742062616c616e636520746f20666163696c69746160008201527f746520506f420000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d696e74696e67205761697420686173206265656e207475726e6564206f666660008201527f2c20676f20636c61696d20746865204d69646e6967687420426f6e7573000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b7f45524332305065726d69743a206578706972656420646561646c696e65000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f50756c736520616c7265616479206c61756e6368656400000000000000000000600082015250565b7f4974277320746f6f206c61746520746f2065786368616e676520796f7572205660008201527f31205761697420666f7220563200000000000000000000000000000000000000602082015250565b7f596f7520616c726561647920636c61696d656420796f7572204d69646e69676860008201527f7420426f6e757300000000000000000000000000000000000000000000000000602082015250565b7f4d69646e6967687420426f6e75732063616e206e6f7720626520636c61696d6560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b7f4275726e20616d6f756e74206578636565647320616c6c6f77616e6365000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332305065726d69743a20696e76616c6964207369676e61747572650000600082015250565b7f50756c736520686173206c61756e636865640000000000000000000000000000600082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f6e6f7420616e2061636375726174652073616372696669636500000000000000600082015250565b7f596f75206e6576657220636c61696d656420796f75722057616974206f72206160008201527f6c726561647920636c61696d65642074686520756e636c61696d65642057616960208201527f7400000000000000000000000000000000000000000000000000000000000000604082015250565b7f4e6f7420616e2061636375726174652073616372696669636500000000000000600082015250565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b61527881614897565b811461528357600080fd5b50565b61528f816148b5565b811461529a57600080fd5b50565b6152a6816148df565b81146152b157600080fd5b50565b6152bd816148e9565b81146152c857600080fd5b5056fea2646970667358221220d6db9ba5e6fb0b2df6440563a9138c0b4bea4ff256a6346d9f8c3ccfeccd28aa64736f6c63430008040033

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

000000000000000000000000b5588c411ba0bb7d38865fdc51d082d004e519f7

-----Decoded View---------------
Arg [0] : v1 (address): 0xb5588C411ba0bb7D38865fdC51D082d004e519F7

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000b5588c411ba0bb7d38865fdc51d082d004e519f7


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.