ETH Price: $2,487.71 (-1.86%)
Gas: 3.92 Gwei

Token

RogueRhinos (RYNO)
 

Overview

Max Total Supply

638 RYNO

Holders

230

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 RYNO
0x90b7debf57052876d557020a2be7349885473b59
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:
RogueRhinos

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : RogueRhinos.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

// 
// ██████╗  ██████╗  ██████╗ ██╗   ██╗███████╗   
// ██╔══██╗██╔═══██╗██╔════╝ ██║   ██║██╔════╝   
// ██████╔╝██║   ██║██║  ███╗██║   ██║█████╗     
// ██╔══██╗██║   ██║██║   ██║██║   ██║██╔══╝     
// ██║  ██║╚██████╔╝╚██████╔╝╚██████╔╝███████╗   
// ╚═╝  ╚═╝ ╚═════╝  ╚═════╝  ╚═════╝ ╚══════╝   
//                                               
// ██████╗ ██╗  ██╗██╗███╗   ██╗ ██████╗ ███████╗
// ██╔══██╗██║  ██║██║████╗  ██║██╔═══██╗██╔════╝
// ██████╔╝███████║██║██╔██╗ ██║██║   ██║███████╗
// ██╔══██╗██╔══██║██║██║╚██╗██║██║   ██║╚════██║
// ██║  ██║██║  ██║██║██║ ╚████║╚██████╔╝███████║
// ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝╚═╝  ╚═══╝ ╚═════╝ ╚══════╝
//                                              

contract RogueRhinos is ERC721, Ownable {
	uint256 private constant MAX_RHINOS = 5556; 	//5555+1 for efficient maths
	uint256 private constant MINT_MAX = 21; 		//20+1 for efficient maths
	uint256 private reserveRhinos = 101; 			//100+1, airdrops, team, promos
	uint256 public mintPrice = 0.05 ether; 
	uint256 public totalSupply;						//mimic enumerable totalSupply()
	string private baseURI; 						//metadata root
	address[6] private teamAddrs;
	mapping (address => uint256) private teamShares;
	mapping (address => uint256) public minted; 	//allowlist tracking
	address public deityAddress = address(0); 		//trusted contract with burning rights for future utility
	address private msgSigner; 						//for allowlist verification
	bool public saleLive = false;					//sale toggle
	bool public presaleLive = false;				//presale toggle

	/**
	 * @param baseURI_ is the metadata root
	 * @param msgSigner_ is the verification address for allowlist validation
	 * @param teamAddrs_ are the team addresses
	 * @param teamShares_ are the team shares /10000
	 */
	constructor(
		string memory baseURI_, 
		address msgSigner_,
		address[6] memory teamAddrs_,
		uint256[6] memory teamShares_
	) 
		ERC721("RogueRhinos", "RYNO") 
	{
		baseURI = baseURI_;
		msgSigner = msgSigner_;

		for (uint256 i = 0; i < teamAddrs_.length; i++) {
			teamAddrs[i] = address(teamAddrs_[i]);
			teamShares[teamAddrs_[i]] = teamShares_[i];
		}
	}

	modifier saleIsLive {
		require(saleLive == true, "Sale not live");
		_;
	}

	modifier presaleIsLive {
		require(presaleLive == true, "Presale not live");
		_;
	}

	/**
	 * @notice allow contract to receive Ether
	 */
	receive() external payable {}

	//public
	/**
	 * @notice mint brand new RogueRhino nfts
	 * @param _numRhinos is the number of rhinos to mint
	 */
	function mintRhino(uint256 _numRhinos) public payable saleIsLive {
		require(tx.origin == msg.sender, "Humans only");
		require(_numRhinos > 0, "0 mint");
		require(_numRhinos < MINT_MAX, "20 max");
		require(msg.value == (_numRhinos * mintPrice), "Wrong ETH");

		_mintRhinos(msg.sender, _numRhinos);
	}

	/**
	 * @notice mint rhinos from the two allowlists.  
	 *  Raging Rhinos got rugged. If you held Raging (rugged) Rhinos
	 *  at the snapshot (Jan 25th 2022) you got on the Rogue allowlist.
	 * @dev you do not have to mint all your quota at once but 
	 *  you must pass the same sig and claimQuota each time you mint.
	 * @param _numToMint number of rhinos to mint in this call
	 * @param _sig allowlist signature
	 * @param _claimQuota initial allowlist quota to claim
	 * @param _listId 1 for raging rhino holder, 2 for public allowlist
	 */
	function rogueListMint(
		uint256 _numToMint,
		bytes calldata _sig,
		uint256 _claimQuota,
		uint256 _listId
	) 
		public
		payable
		presaleIsLive
	{
		//which allowlist is msg.sender in?
		if (_listId == 1) { //rogue allowlist
			require(msg.value == 0, "Wrong ETH");
		} else if (_listId == 2) { //public allowlist
			require(msg.value == (mintPrice * _numToMint), "Wrong ETH");
		} else { //for completeness
			revert("Bad listId");
		}

		require(tx.origin == msg.sender, "Humans only");
		require(_numToMint > 0, "0 mint");
		uint256 _minted = minted[msg.sender]; //local var for gas efficiency
		require(_numToMint + _minted <= _claimQuota, "Quota exceeded");
		require(legitSigner(_sig, _claimQuota, _listId), "Invalid sig");
		_minted += _numToMint;

		minted[msg.sender] = _minted;

		_mintRhinos(msg.sender, _numToMint);
	}

	/**
	 * @notice burn a rhino :(
	 * @notice whyyyyyy??
	 * @param _rhinoId token ID to be burned
	 */
	function burn(uint256 _rhinoId) external {
		require(
			_isApprovedOrOwner(msg.sender, _rhinoId), 
			"Wallet not approved to burn"
		);
		_burn(_rhinoId);
	}

	/**
	 * @dev future utility may demand burning 
	 *  via a trusted deity contract
	 * @param _rhinoId the rhino to burn
	 */
	function deityBurn(uint256 _rhinoId) external {
		require(deityAddress != address(0), "Deity Address not set");
		require(
			_isApprovedOrOwner(tx.origin, _rhinoId) 
			&& msg.sender == deityAddress,
			"Can't burn this"
		);
		_burn(_rhinoId);
	}

	/**
	 * @notice list all the rhinos in a wallet
	 * @dev useful for staking in future utility
	 * @dev don't call from a contract or you'll 
	 *  ruin yourself with gas
	 */
    function walletOfOwner(address _addr) 
    public 
    virtual 
    view
    returns (uint256[] memory) 
    {
        uint256 ownerBal = balanceOf(_addr);
        if (ownerBal == 0) {
            return new uint256[](0);
        } else {
            uint256[] memory tokenList = new uint256[](ownerBal);
            uint256 count;
            uint256 maxLoops = totalSupply;
            for (uint i = 0; i < maxLoops; i++) {
                bool exists = _exists(i);
                if (exists && ownerOf(i) == _addr) {
                    tokenList[count] = i;
                    count++;
                } else if (!exists && tokenList[ownerBal - 1] == 0) {
                    maxLoops++;
                }
            }
            return tokenList;
        }
    }

	/**
	 * @notice set the upgrade deity address
	 * @param _deityAddress is the trusted deity contract address
	 */
	function setDeityAddress(address _deityAddress) public onlyOwner {
		deityAddress = _deityAddress;
	}

	/**
	 * @param _newBaseURI will be set as the new baseURI
	 * for token metadata access
	 */
	function setBaseURI(string memory _newBaseURI) public onlyOwner {
		baseURI = _newBaseURI;
	}

	/**
	 * @notice start or stop minting
	 */
	function toggleSale() public onlyOwner {
		saleLive = !saleLive;
	}

	/**
	 * @notice start or stop presale minting
	 */
	function togglePresale() public onlyOwner {
		presaleLive = !presaleLive;
	}

	/**
	 * @notice set a new sale mintPrice in WEI,
	 *  just in case eth does something ridiculous.
	 * @dev be sure to set the new mintPrice in WEI
	 * @notice again, make sure you set this in WEI!
	 * @notice 1 eth == 1*10^18 wei
	 * @param _newWeiPrice the new mint mintPrice in WEI
	 */
	function setMintPrice(uint256 _newWeiPrice) public onlyOwner {
		mintPrice = _newWeiPrice;
	}

	/**
	 * @notice set a new msgSigner for allowlist validation
	 * @param _newSigner is the new signer address
	 */
	function setMsgSigner(address _newSigner) public onlyOwner {
		msgSigner = _newSigner;
	}

	/**
	 * @notice airdrop _num rhinos to _to
	 * @param _to recipient address
	 * @param _num number of rhinos
	 */
	function airdropRhinos(address _to, uint256 _num) public onlyOwner {
		require(reserveRhinos - _num > 0, "Reserve empty");
		reserveRhinos -= _num;
		_mintRhinos(_to, _num);
	}

	///withdraw to trusted wallets
	function withdraw() public {
		//team shares assigned in constructor are access keys
		require(teamShares[msg.sender] > 0, "Team only");
		uint256 bal = address(this).balance;

		for (uint256 mem = 0; mem < teamAddrs.length; mem++) {
			address adi = teamAddrs[mem];
			payable(adi).send(teamShares[adi] * bal / 10000);
		}
	}

	//internal
	/**
	 * @notice mint function called by multiple other functions
	 * @param _to recipient address
	 * @param _num number of rhinos to mint
	 */
	function _mintRhinos(address _to, uint256 _num) internal {
		uint256 _totalSupply = totalSupply; //temp var for gas efficiency
		require(_totalSupply + _num < MAX_RHINOS, "Too few Rhinos left!");

		for (uint256 r = 0; r < _num; r++) {
			unchecked { //overflow checked above
				_totalSupply++;
			}
			_safeMint(_to, _totalSupply); //trusted parent
		}
		totalSupply = _totalSupply;
	}

	///@notice override the _baseURI function in ERC721
	function _baseURI() 
	internal 
	view 
	virtual 
	override 
	returns (string memory) 
	{
		return baseURI;
	}

	//private
	/**
	 * @notice was the correct hash signed by the msgSigner?
	 * @param _sig the signed hash to inspect
	 * @dev _sig should be a signed hash of the sender, 
	 *  this contract, their quota and the whitelist id. 
	 *  The signer is recovered and compared to msgSigner for validity.
	 */
	function legitSigner(bytes memory _sig, uint256 _numToHash, uint256 _wlId)
	private 
	view
	returns (bool)
	{
		//hash the sender, this address, and a number
		//this should be the same hash as signed in _sig
		bytes32 checkHash = keccak256(abi.encodePacked(
			msg.sender,
			address(this),
			_numToHash,
			_wlId
		));

		bytes32 ethHash = ECDSA.toEthSignedMessageHash(checkHash);
		address recoveredSigner = ECDSA.recover(ethHash, _sig);
		return (recoveredSigner == msgSigner);
	}
}

File 2 of 12 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` 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 tokenId
    ) internal virtual {}
}

File 3 of 12 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 12 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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.
            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.
            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;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 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 5 of 12 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

File 6 of 12 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 7 of 12 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 8 of 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 9 of 12 : 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 10 of 12 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

    /**
     * @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);
    }
}

File 11 of 12 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 12 of 12 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"},{"internalType":"address","name":"msgSigner_","type":"address"},{"internalType":"address[6]","name":"teamAddrs_","type":"address[6]"},{"internalType":"uint256[6]","name":"teamShares_","type":"uint256[6]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_num","type":"uint256"}],"name":"airdropRhinos","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rhinoId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deityAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rhinoId","type":"uint256"}],"name":"deityBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numRhinos","type":"uint256"}],"name":"mintRhino","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numToMint","type":"uint256"},{"internalType":"bytes","name":"_sig","type":"bytes"},{"internalType":"uint256","name":"_claimQuota","type":"uint256"},{"internalType":"uint256","name":"_listId","type":"uint256"}],"name":"rogueListMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_deityAddress","type":"address"}],"name":"setDeityAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newWeiPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newSigner","type":"address"}],"name":"setMsgSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052606560075566b1a2bc2ec500006008556000601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060006014806101000a81548160ff0219169083151502179055506000601460156101000a81548160ff0219169083151502179055503480156200009857600080fd5b5060405162005f4c38038062005f4c8339818101604052810190620000be9190620006c9565b6040518060400160405280600b81526020017f526f6775655268696e6f730000000000000000000000000000000000000000008152506040518060400160405280600481526020017f52594e4f000000000000000000000000000000000000000000000000000000008152508160009080519060200190620001429291906200044d565b5080600190805190602001906200015b9291906200044d565b5050506200017e620001726200037f60201b60201c565b6200038760201b60201c565b83600a9080519060200190620001969291906200044d565b5082601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060005b600681101562000374578281600681106200021f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151600b82600681106200025f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818160068110620002d8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020020151601160008584600681106200031b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806200036b90620008e1565b915050620001db565b505050505062000a01565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200045b9062000875565b90600052602060002090601f0160209004810192826200047f5760008555620004cb565b82601f106200049a57805160ff1916838001178555620004cb565b82800160010185558215620004cb579182015b82811115620004ca578251825591602001919060010190620004ad565b5b509050620004da9190620004de565b5090565b5b80821115620004f9576000816000905550600101620004df565b5090565b6000620005146200050e8462000779565b62000750565b905080828560208602820111156200052b57600080fd5b60005b858110156200055f57816200054488826200061a565b8452602084019350602083019250506001810190506200052e565b5050509392505050565b6000620005806200057a84620007a2565b62000750565b905080828560208602820111156200059757600080fd5b60005b85811015620005cb5781620005b08882620006b2565b8452602084019350602083019250506001810190506200059a565b5050509392505050565b6000620005ec620005e684620007cb565b62000750565b9050828152602081018484840111156200060557600080fd5b620006128482856200083f565b509392505050565b6000815190506200062b81620009cd565b92915050565b600082601f8301126200064357600080fd5b600662000652848285620004fd565b91505092915050565b600082601f8301126200066d57600080fd5b60066200067c84828562000569565b91505092915050565b600082601f8301126200069757600080fd5b8151620006a9848260208601620005d5565b91505092915050565b600081519050620006c381620009e7565b92915050565b6000806000806101c08587031215620006e157600080fd5b600085015167ffffffffffffffff811115620006fc57600080fd5b6200070a8782880162000685565b94505060206200071d878288016200061a565b9350506040620007308782880162000631565b92505061010062000744878288016200065b565b91505092959194509250565b60006200075c6200076f565b90506200076a8282620008ab565b919050565b6000604051905090565b600067ffffffffffffffff8211156200079757620007966200098d565b5b602082029050919050565b600067ffffffffffffffff821115620007c057620007bf6200098d565b5b602082029050919050565b600067ffffffffffffffff821115620007e957620007e86200098d565b5b620007f482620009bc565b9050602081019050919050565b60006200080e8262000815565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b838110156200085f57808201518184015260208101905062000842565b838111156200086f576000848401525b50505050565b600060028204905060018216806200088e57607f821691505b60208210811415620008a557620008a46200095e565b5b50919050565b620008b682620009bc565b810181811067ffffffffffffffff82111715620008d857620008d76200098d565b5b80604052505050565b6000620008ee8262000835565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156200092457620009236200092f565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b620009d88162000801565b8114620009e457600080fd5b50565b620009f28162000835565b8114620009fe57600080fd5b50565b61553b8062000a116000396000f3fe6080604052600436106102085760003560e01c8063715018a611610118578063b88d4fde116100a0578063cb1a309c1161006f578063cb1a309c14610718578063e081b78114610743578063e985e9c51461076e578063f2fde38b146107ab578063f4a0a528146107d45761020f565b8063b88d4fde1461067a578063c104d45f146106a3578063c35a26ef146106bf578063c87b56dd146106db5761020f565b80638da5cb5b116100e75780638da5cb5b146105a95780638f349db8146105d457806395d89b41146105fd5780639d7de89314610628578063a22cb465146106515761020f565b8063715018a6146105275780637d8966e41461053e5780637dddd8f91461055557806383a9e0491461057e5761020f565b80633ccfd60b1161019b578063438b63001161016a578063438b63001461041c57806355f804b3146104595780636352211e146104825780636817c76c146104bf57806370a08231146104ea5761020f565b80633ccfd60b1461038a5780633e8d70a5146103a157806342842e0e146103ca57806342966c68146103f35761020f565b806318160ddd116101d757806318160ddd146102e25780631e7269c51461030d57806323b872dd1461034a57806334393743146103735761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063095ea7b3146102b95761020f565b3661020f57005b600080fd5b34801561022057600080fd5b5061023b600480360381019061023691906139ff565b6107fd565b6040516102489190614300565b60405180910390f35b34801561025d57600080fd5b506102666108df565b6040516102739190614360565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e9190613a92565b610971565b6040516102b09190614277565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db91906139c3565b6109f6565b005b3480156102ee57600080fd5b506102f7610b0e565b60405161030491906147e2565b60405180910390f35b34801561031957600080fd5b50610334600480360381019061032f9190613858565b610b14565b60405161034191906147e2565b60405180910390f35b34801561035657600080fd5b50610371600480360381019061036c91906138bd565b610b2c565b005b34801561037f57600080fd5b50610388610b8c565b005b34801561039657600080fd5b5061039f610c34565b005b3480156103ad57600080fd5b506103c860048036038101906103c39190613a92565b610dcc565b005b3480156103d657600080fd5b506103f160048036038101906103ec91906138bd565b610f0c565b005b3480156103ff57600080fd5b5061041a60048036038101906104159190613a92565b610f2c565b005b34801561042857600080fd5b50610443600480360381019061043e9190613858565b610f81565b60405161045091906142de565b60405180910390f35b34801561046557600080fd5b50610480600480360381019061047b9190613a51565b6111d3565b005b34801561048e57600080fd5b506104a960048036038101906104a49190613a92565b611269565b6040516104b69190614277565b60405180910390f35b3480156104cb57600080fd5b506104d461131b565b6040516104e191906147e2565b60405180910390f35b3480156104f657600080fd5b50610511600480360381019061050c9190613858565b611321565b60405161051e91906147e2565b60405180910390f35b34801561053357600080fd5b5061053c6113d9565b005b34801561054a57600080fd5b50610553611461565b005b34801561056157600080fd5b5061057c60048036038101906105779190613858565b611506565b005b34801561058a57600080fd5b506105936115c6565b6040516105a09190614300565b60405180910390f35b3480156105b557600080fd5b506105be6115d9565b6040516105cb9190614277565b60405180910390f35b3480156105e057600080fd5b506105fb60048036038101906105f69190613858565b611603565b005b34801561060957600080fd5b506106126116c3565b60405161061f9190614360565b60405180910390f35b34801561063457600080fd5b5061064f600480360381019061064a91906139c3565b611755565b005b34801561065d57600080fd5b5061067860048036038101906106739190613987565b611848565b005b34801561068657600080fd5b506106a1600480360381019061069c919061390c565b61185e565b005b6106bd60048036038101906106b89190613a92565b6118c0565b005b6106d960048036038101906106d49190613abb565b611a64565b005b3480156106e757600080fd5b5061070260048036038101906106fd9190613a92565b611dd9565b60405161070f9190614360565b60405180910390f35b34801561072457600080fd5b5061072d611e80565b60405161073a9190614277565b60405180910390f35b34801561074f57600080fd5b50610758611ea6565b6040516107659190614300565b60405180910390f35b34801561077a57600080fd5b5061079560048036038101906107909190613881565b611eb7565b6040516107a29190614300565b60405180910390f35b3480156107b757600080fd5b506107d260048036038101906107cd9190613858565b611f4b565b005b3480156107e057600080fd5b506107fb60048036038101906107f69190613a92565b612043565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108c857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108d857506108d7826120c9565b5b9050919050565b6060600080546108ee90614ae2565b80601f016020809104026020016040519081016040528092919081815260200182805461091a90614ae2565b80156109675780601f1061093c57610100808354040283529160200191610967565b820191906000526020600020905b81548152906001019060200180831161094a57829003601f168201915b5050505050905090565b600061097c82612133565b6109bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b290614622565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a0182611269565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6990614742565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a9161219f565b73ffffffffffffffffffffffffffffffffffffffff161480610ac05750610abf81610aba61219f565b611eb7565b5b610aff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af690614542565b60405180910390fd5b610b0983836121a7565b505050565b60095481565b60126020528060005260406000206000915090505481565b610b3d610b3761219f565b82612260565b610b7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7390614782565b60405180910390fd5b610b8783838361233e565b505050565b610b9461219f565b73ffffffffffffffffffffffffffffffffffffffff16610bb26115d9565b73ffffffffffffffffffffffffffffffffffffffff1614610c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bff90614682565b60405180910390fd5b601460159054906101000a900460ff1615601460156101000a81548160ff021916908315150217905550565b6000601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610cb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cad906147a2565b60405180910390fd5b600047905060005b6006811015610dc8576000600b8260068110610d03577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff166108fc61271085601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d8f9190614987565b610d999190614956565b9081150290604051600060405180830381858888f1935050505050508080610dc090614b45565b915050610cbe565b5050565b600073ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610e5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e55906143e2565b60405180910390fd5b610e683282612260565b8015610ec15750601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610f00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef790614522565b60405180910390fd5b610f098161259a565b50565b610f278383836040518060200160405280600081525061185e565b505050565b610f363382612260565b610f75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6c90614722565b60405180910390fd5b610f7e8161259a565b50565b60606000610f8e83611321565b9050600081141561101157600067ffffffffffffffff811115610fda577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156110085781602001602082028036833780820191505090505b509150506111ce565b60008167ffffffffffffffff811115611053577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156110815781602001602082028036833780820191505090505b509050600080600954905060005b818110156111c55760006110a282612133565b90508080156110e457508773ffffffffffffffffffffffffffffffffffffffff166110cc83611269565b73ffffffffffffffffffffffffffffffffffffffff16145b156111425781858581518110611123577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050838061113a90614b45565b9450506111b1565b8015801561119c575060008560018861115b91906149e1565b81518110611192577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151145b156111b05782806111ac90614b45565b9350505b5b5080806111bd90614b45565b91505061108f565b50829450505050505b919050565b6111db61219f565b73ffffffffffffffffffffffffffffffffffffffff166111f96115d9565b73ffffffffffffffffffffffffffffffffffffffff161461124f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124690614682565b60405180910390fd5b80600a9080519060200190611265929190613632565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611312576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130990614582565b60405180910390fd5b80915050919050565b60085481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611392576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138990614562565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113e161219f565b73ffffffffffffffffffffffffffffffffffffffff166113ff6115d9565b73ffffffffffffffffffffffffffffffffffffffff1614611455576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144c90614682565b60405180910390fd5b61145f60006126ab565b565b61146961219f565b73ffffffffffffffffffffffffffffffffffffffff166114876115d9565b73ffffffffffffffffffffffffffffffffffffffff16146114dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d490614682565b60405180910390fd5b60148054906101000a900460ff16156014806101000a81548160ff021916908315150217905550565b61150e61219f565b73ffffffffffffffffffffffffffffffffffffffff1661152c6115d9565b73ffffffffffffffffffffffffffffffffffffffff1614611582576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157990614682565b60405180910390fd5b80601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601460159054906101000a900460ff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61160b61219f565b73ffffffffffffffffffffffffffffffffffffffff166116296115d9565b73ffffffffffffffffffffffffffffffffffffffff161461167f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167690614682565b60405180910390fd5b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060600180546116d290614ae2565b80601f01602080910402602001604051908101604052809291908181526020018280546116fe90614ae2565b801561174b5780601f106117205761010080835404028352916020019161174b565b820191906000526020600020905b81548152906001019060200180831161172e57829003601f168201915b5050505050905090565b61175d61219f565b73ffffffffffffffffffffffffffffffffffffffff1661177b6115d9565b73ffffffffffffffffffffffffffffffffffffffff16146117d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c890614682565b60405180910390fd5b6000816007546117e191906149e1565b11611821576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611818906145a2565b60405180910390fd5b806007600082825461183391906149e1565b925050819055506118448282612771565b5050565b61185a61185361219f565b8383612804565b5050565b61186f61186961219f565b83612260565b6118ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a590614782565b60405180910390fd5b6118ba84848484612971565b50505050565b6001151560148054906101000a900460ff16151514611914576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190b906145e2565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611982576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197990614702565b60405180910390fd5b600081116119c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bc906147c2565b60405180910390fd5b60158110611a08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ff90614662565b60405180910390fd5b60085481611a169190614987565b3414611a57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4e90614502565b60405180910390fd5b611a613382612771565b50565b60011515601460159054906101000a900460ff16151514611aba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab190614762565b60405180910390fd5b6001811415611b0b5760003414611b06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afd90614502565b60405180910390fd5b611ba4565b6002811415611b685784600854611b229190614987565b3414611b63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5a90614502565b60405180910390fd5b611ba3565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9a906143a2565b60405180910390fd5b5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611c12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0990614702565b60405180910390fd5b60008511611c55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4c906147c2565b60405180910390fd5b6000601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828187611ca69190614900565b1115611ce7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cde90614642565b60405180910390fd5b611d3685858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505084846129cd565b611d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6c90614462565b60405180910390fd5b8581611d819190614900565b905080601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611dd13387612771565b505050505050565b6060611de482612133565b611e23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1a906146e2565b60405180910390fd5b6000611e2d612a77565b90506000815111611e4d5760405180602001604052806000815250611e78565b80611e5784612b09565b604051602001611e6892919061422d565b6040516020818303038152906040525b915050919050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60148054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f5361219f565b73ffffffffffffffffffffffffffffffffffffffff16611f716115d9565b73ffffffffffffffffffffffffffffffffffffffff1614611fc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbe90614682565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612037576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202e90614422565b60405180910390fd5b612040816126ab565b50565b61204b61219f565b73ffffffffffffffffffffffffffffffffffffffff166120696115d9565b73ffffffffffffffffffffffffffffffffffffffff16146120bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b690614682565b60405180910390fd5b8060088190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661221a83611269565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061226b82612133565b6122aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a1906144e2565b60405180910390fd5b60006122b583611269565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061232457508373ffffffffffffffffffffffffffffffffffffffff1661230c84610971565b73ffffffffffffffffffffffffffffffffffffffff16145b8061233557506123348185611eb7565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661235e82611269565b73ffffffffffffffffffffffffffffffffffffffff16146123b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ab906146a2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612424576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241b90614482565b60405180910390fd5b61242f838383612cb6565b61243a6000826121a7565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461248a91906149e1565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124e19190614900565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006125a582611269565b90506125b381600084612cb6565b6125be6000836121a7565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461260e91906149e1565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600060095490506115b482826127879190614900565b106127c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127be906146c2565b60405180910390fd5b60005b828110156127f75781806001019250506127e48483612cbb565b80806127ef90614b45565b9150506127ca565b5080600981905550505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286a906144a2565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516129649190614300565b60405180910390a3505050565b61297c84848461233e565b61298884848484612cd9565b6129c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129be90614402565b60405180910390fd5b50505050565b600080333085856040516020016129e794939291906141df565b6040516020818303038152906040528051906020012090506000612a0a82612e70565b90506000612a188288612ea0565b9050601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161493505050509392505050565b6060600a8054612a8690614ae2565b80601f0160208091040260200160405190810160405280929190818152602001828054612ab290614ae2565b8015612aff5780601f10612ad457610100808354040283529160200191612aff565b820191906000526020600020905b815481529060010190602001808311612ae257829003601f168201915b5050505050905090565b60606000821415612b51576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cb1565b600082905060005b60008214612b83578080612b6c90614b45565b915050600a82612b7c9190614956565b9150612b59565b60008167ffffffffffffffff811115612bc5577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612bf75781602001600182028036833780820191505090505b5090505b60008514612caa57600182612c1091906149e1565b9150600a85612c1f9190614bc6565b6030612c2b9190614900565b60f81b818381518110612c67577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ca39190614956565b9450612bfb565b8093505050505b919050565b505050565b612cd5828260405180602001604052806000815250612ec7565b5050565b6000612cfa8473ffffffffffffffffffffffffffffffffffffffff16612f22565b15612e63578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d2361219f565b8786866040518563ffffffff1660e01b8152600401612d459493929190614292565b602060405180830381600087803b158015612d5f57600080fd5b505af1925050508015612d9057506040513d601f19601f82011682018060405250810190612d8d9190613a28565b60015b612e13573d8060008114612dc0576040519150601f19603f3d011682016040523d82523d6000602084013e612dc5565b606091505b50600081511415612e0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e0290614402565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e68565b600190505b949350505050565b600081604051602001612e839190614251565b604051602081830303815290604052805190602001209050919050565b6000806000612eaf8585612f35565b91509150612ebc81612fb8565b819250505092915050565b612ed18383613309565b612ede6000848484612cd9565b612f1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1490614402565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600080604183511415612f775760008060006020860151925060408601519150606086015160001a9050612f6b878285856134d7565b94509450505050612fb1565b604083511415612fa8576000806020850151915060408501519050612f9d8683836135e4565b935093505050612fb1565b60006002915091505b9250929050565b60006004811115612ff2577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561302b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561303657613306565b60016004811115613070577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156130a9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156130ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130e190614382565b60405180910390fd5b60026004811115613124577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561315d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561319e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613195906143c2565b60405180910390fd5b600360048111156131d8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613211577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613252576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613249906144c2565b60405180910390fd5b60048081111561328b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156132c4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613305576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132fc906145c2565b60405180910390fd5b5b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613379576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161337090614602565b60405180910390fd5b61338281612133565b156133c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133b990614442565b60405180910390fd5b6133ce60008383612cb6565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461341e9190614900565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156135125760006003915091506135db565b601b8560ff161415801561352a5750601c8560ff1614155b1561353c5760006004915091506135db565b600060018787878760405160008152602001604052604051613561949392919061431b565b6020604051602081039080840390855afa158015613583573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156135d2576000600192509250506135db565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613624878288856134d7565b935093505050935093915050565b82805461363e90614ae2565b90600052602060002090601f01602090048101928261366057600085556136a7565b82601f1061367957805160ff19168380011785556136a7565b828001600101855582156136a7579182015b828111156136a657825182559160200191906001019061368b565b5b5090506136b491906136b8565b5090565b5b808211156136d15760008160009055506001016136b9565b5090565b60006136e86136e384614822565b6147fd565b90508281526020810184848401111561370057600080fd5b61370b848285614aa0565b509392505050565b600061372661372184614853565b6147fd565b90508281526020810184848401111561373e57600080fd5b613749848285614aa0565b509392505050565b600081359050613760816154a9565b92915050565b600081359050613775816154c0565b92915050565b60008135905061378a816154d7565b92915050565b60008151905061379f816154d7565b92915050565b60008083601f8401126137b757600080fd5b8235905067ffffffffffffffff8111156137d057600080fd5b6020830191508360018202830111156137e857600080fd5b9250929050565b600082601f83011261380057600080fd5b81356138108482602086016136d5565b91505092915050565b600082601f83011261382a57600080fd5b813561383a848260208601613713565b91505092915050565b600081359050613852816154ee565b92915050565b60006020828403121561386a57600080fd5b600061387884828501613751565b91505092915050565b6000806040838503121561389457600080fd5b60006138a285828601613751565b92505060206138b385828601613751565b9150509250929050565b6000806000606084860312156138d257600080fd5b60006138e086828701613751565b93505060206138f186828701613751565b925050604061390286828701613843565b9150509250925092565b6000806000806080858703121561392257600080fd5b600061393087828801613751565b945050602061394187828801613751565b935050604061395287828801613843565b925050606085013567ffffffffffffffff81111561396f57600080fd5b61397b878288016137ef565b91505092959194509250565b6000806040838503121561399a57600080fd5b60006139a885828601613751565b92505060206139b985828601613766565b9150509250929050565b600080604083850312156139d657600080fd5b60006139e485828601613751565b92505060206139f585828601613843565b9150509250929050565b600060208284031215613a1157600080fd5b6000613a1f8482850161377b565b91505092915050565b600060208284031215613a3a57600080fd5b6000613a4884828501613790565b91505092915050565b600060208284031215613a6357600080fd5b600082013567ffffffffffffffff811115613a7d57600080fd5b613a8984828501613819565b91505092915050565b600060208284031215613aa457600080fd5b6000613ab284828501613843565b91505092915050565b600080600080600060808688031215613ad357600080fd5b6000613ae188828901613843565b955050602086013567ffffffffffffffff811115613afe57600080fd5b613b0a888289016137a5565b94509450506040613b1d88828901613843565b9250506060613b2e88828901613843565b9150509295509295909350565b6000613b47838361419b565b60208301905092915050565b613b5c81614a15565b82525050565b613b73613b6e82614a15565b614b8e565b82525050565b6000613b8482614894565b613b8e81856148c2565b9350613b9983614884565b8060005b83811015613bca578151613bb18882613b3b565b9750613bbc836148b5565b925050600181019050613b9d565b5085935050505092915050565b613be081614a27565b82525050565b613bef81614a33565b82525050565b613c06613c0182614a33565b614ba0565b82525050565b6000613c178261489f565b613c2181856148d3565b9350613c31818560208601614aaf565b613c3a81614cb3565b840191505092915050565b6000613c50826148aa565b613c5a81856148e4565b9350613c6a818560208601614aaf565b613c7381614cb3565b840191505092915050565b6000613c89826148aa565b613c9381856148f5565b9350613ca3818560208601614aaf565b80840191505092915050565b6000613cbc6018836148e4565b9150613cc782614cd1565b602082019050919050565b6000613cdf600a836148e4565b9150613cea82614cfa565b602082019050919050565b6000613d02601f836148e4565b9150613d0d82614d23565b602082019050919050565b6000613d25601c836148f5565b9150613d3082614d4c565b601c82019050919050565b6000613d486015836148e4565b9150613d5382614d75565b602082019050919050565b6000613d6b6032836148e4565b9150613d7682614d9e565b604082019050919050565b6000613d8e6026836148e4565b9150613d9982614ded565b604082019050919050565b6000613db1601c836148e4565b9150613dbc82614e3c565b602082019050919050565b6000613dd4600b836148e4565b9150613ddf82614e65565b602082019050919050565b6000613df76024836148e4565b9150613e0282614e8e565b604082019050919050565b6000613e1a6019836148e4565b9150613e2582614edd565b602082019050919050565b6000613e3d6022836148e4565b9150613e4882614f06565b604082019050919050565b6000613e60602c836148e4565b9150613e6b82614f55565b604082019050919050565b6000613e836009836148e4565b9150613e8e82614fa4565b602082019050919050565b6000613ea6600f836148e4565b9150613eb182614fcd565b602082019050919050565b6000613ec96038836148e4565b9150613ed482614ff6565b604082019050919050565b6000613eec602a836148e4565b9150613ef782615045565b604082019050919050565b6000613f0f6029836148e4565b9150613f1a82615094565b604082019050919050565b6000613f32600d836148e4565b9150613f3d826150e3565b602082019050919050565b6000613f556022836148e4565b9150613f608261510c565b604082019050919050565b6000613f78600d836148e4565b9150613f838261515b565b602082019050919050565b6000613f9b6020836148e4565b9150613fa682615184565b602082019050919050565b6000613fbe602c836148e4565b9150613fc9826151ad565b604082019050919050565b6000613fe1600e836148e4565b9150613fec826151fc565b602082019050919050565b60006140046006836148e4565b915061400f82615225565b602082019050919050565b60006140276020836148e4565b91506140328261524e565b602082019050919050565b600061404a6029836148e4565b915061405582615277565b604082019050919050565b600061406d6014836148e4565b9150614078826152c6565b602082019050919050565b6000614090602f836148e4565b915061409b826152ef565b604082019050919050565b60006140b3600b836148e4565b91506140be8261533e565b602082019050919050565b60006140d6601b836148e4565b91506140e182615367565b602082019050919050565b60006140f96021836148e4565b915061410482615390565b604082019050919050565b600061411c6010836148e4565b9150614127826153df565b602082019050919050565b600061413f6031836148e4565b915061414a82615408565b604082019050919050565b60006141626009836148e4565b915061416d82615457565b602082019050919050565b60006141856006836148e4565b915061419082615480565b602082019050919050565b6141a481614a89565b82525050565b6141b381614a89565b82525050565b6141ca6141c582614a89565b614bbc565b82525050565b6141d981614a93565b82525050565b60006141eb8287613b62565b6014820191506141fb8286613b62565b60148201915061420b82856141b9565b60208201915061421b82846141b9565b60208201915081905095945050505050565b60006142398285613c7e565b91506142458284613c7e565b91508190509392505050565b600061425c82613d18565b91506142688284613bf5565b60208201915081905092915050565b600060208201905061428c6000830184613b53565b92915050565b60006080820190506142a76000830187613b53565b6142b46020830186613b53565b6142c160408301856141aa565b81810360608301526142d38184613c0c565b905095945050505050565b600060208201905081810360008301526142f88184613b79565b905092915050565b60006020820190506143156000830184613bd7565b92915050565b60006080820190506143306000830187613be6565b61433d60208301866141d0565b61434a6040830185613be6565b6143576060830184613be6565b95945050505050565b6000602082019050818103600083015261437a8184613c45565b905092915050565b6000602082019050818103600083015261439b81613caf565b9050919050565b600060208201905081810360008301526143bb81613cd2565b9050919050565b600060208201905081810360008301526143db81613cf5565b9050919050565b600060208201905081810360008301526143fb81613d3b565b9050919050565b6000602082019050818103600083015261441b81613d5e565b9050919050565b6000602082019050818103600083015261443b81613d81565b9050919050565b6000602082019050818103600083015261445b81613da4565b9050919050565b6000602082019050818103600083015261447b81613dc7565b9050919050565b6000602082019050818103600083015261449b81613dea565b9050919050565b600060208201905081810360008301526144bb81613e0d565b9050919050565b600060208201905081810360008301526144db81613e30565b9050919050565b600060208201905081810360008301526144fb81613e53565b9050919050565b6000602082019050818103600083015261451b81613e76565b9050919050565b6000602082019050818103600083015261453b81613e99565b9050919050565b6000602082019050818103600083015261455b81613ebc565b9050919050565b6000602082019050818103600083015261457b81613edf565b9050919050565b6000602082019050818103600083015261459b81613f02565b9050919050565b600060208201905081810360008301526145bb81613f25565b9050919050565b600060208201905081810360008301526145db81613f48565b9050919050565b600060208201905081810360008301526145fb81613f6b565b9050919050565b6000602082019050818103600083015261461b81613f8e565b9050919050565b6000602082019050818103600083015261463b81613fb1565b9050919050565b6000602082019050818103600083015261465b81613fd4565b9050919050565b6000602082019050818103600083015261467b81613ff7565b9050919050565b6000602082019050818103600083015261469b8161401a565b9050919050565b600060208201905081810360008301526146bb8161403d565b9050919050565b600060208201905081810360008301526146db81614060565b9050919050565b600060208201905081810360008301526146fb81614083565b9050919050565b6000602082019050818103600083015261471b816140a6565b9050919050565b6000602082019050818103600083015261473b816140c9565b9050919050565b6000602082019050818103600083015261475b816140ec565b9050919050565b6000602082019050818103600083015261477b8161410f565b9050919050565b6000602082019050818103600083015261479b81614132565b9050919050565b600060208201905081810360008301526147bb81614155565b9050919050565b600060208201905081810360008301526147db81614178565b9050919050565b60006020820190506147f760008301846141aa565b92915050565b6000614807614818565b90506148138282614b14565b919050565b6000604051905090565b600067ffffffffffffffff82111561483d5761483c614c84565b5b61484682614cb3565b9050602081019050919050565b600067ffffffffffffffff82111561486e5761486d614c84565b5b61487782614cb3565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061490b82614a89565b915061491683614a89565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561494b5761494a614bf7565b5b828201905092915050565b600061496182614a89565b915061496c83614a89565b92508261497c5761497b614c26565b5b828204905092915050565b600061499282614a89565b915061499d83614a89565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156149d6576149d5614bf7565b5b828202905092915050565b60006149ec82614a89565b91506149f783614a89565b925082821015614a0a57614a09614bf7565b5b828203905092915050565b6000614a2082614a69565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614acd578082015181840152602081019050614ab2565b83811115614adc576000848401525b50505050565b60006002820490506001821680614afa57607f821691505b60208210811415614b0e57614b0d614c55565b5b50919050565b614b1d82614cb3565b810181811067ffffffffffffffff82111715614b3c57614b3b614c84565b5b80604052505050565b6000614b5082614a89565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b8357614b82614bf7565b5b600182019050919050565b6000614b9982614baa565b9050919050565b6000819050919050565b6000614bb582614cc4565b9050919050565b6000819050919050565b6000614bd182614a89565b9150614bdc83614a89565b925082614bec57614beb614c26565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f426164206c697374496400000000000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f44656974792041646472657373206e6f74207365740000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f496e76616c696420736967000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f57726f6e67204554480000000000000000000000000000000000000000000000600082015250565b7f43616e2774206275726e20746869730000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5265736572766520656d70747900000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f53616c65206e6f74206c69766500000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f51756f7461206578636565646564000000000000000000000000000000000000600082015250565b7f3230206d61780000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f546f6f20666577205268696e6f73206c65667421000000000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f48756d616e73206f6e6c79000000000000000000000000000000000000000000600082015250565b7f57616c6c6574206e6f7420617070726f76656420746f206275726e0000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f50726573616c65206e6f74206c69766500000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f5465616d206f6e6c790000000000000000000000000000000000000000000000600082015250565b7f30206d696e740000000000000000000000000000000000000000000000000000600082015250565b6154b281614a15565b81146154bd57600080fd5b50565b6154c981614a27565b81146154d457600080fd5b50565b6154e081614a3d565b81146154eb57600080fd5b50565b6154f781614a89565b811461550257600080fd5b5056fea2646970667358221220ce73f0af6b047310077bac4180e9bf851095597e28b2277879dad40eb393ca7c64736f6c6343000804003300000000000000000000000000000000000000000000000000000000000001c000000000000000000000000045107553d3963e3982aa6b3ee16ffafd87fcd2770000000000000000000000006cbaf1f2b868c37d521b7e95ff8de29049eb09860000000000000000000000002b031166645d849d5b06fea65977cb487b4dd99300000000000000000000000083bb098e5d76d61407e853aa960e4d1b84f0a8f100000000000000000000000033f4ea35eb9e34e68ba0785f28de44149c9a59ad00000000000000000000000082907f9faca743d74167fa8a6ac9fe083335324700000000000000000000000004cb8ce73cb60874d9a34a60fc56d4164ba1f544000000000000000000000000000000000000000000000000000000000000119400000000000000000000000000000000000000000000000000000000000002ee0000000000000000000000000000000000000000000000000000000000000a2800000000000000000000000000000000000000000000000000000000000005dc000000000000000000000000000000000000000000000000000000000000009600000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5a4b4d7759764e6b597861474d6469457862506f787a365570475365523352354e3135416273477343735a672f00000000000000000000

Deployed Bytecode

0x6080604052600436106102085760003560e01c8063715018a611610118578063b88d4fde116100a0578063cb1a309c1161006f578063cb1a309c14610718578063e081b78114610743578063e985e9c51461076e578063f2fde38b146107ab578063f4a0a528146107d45761020f565b8063b88d4fde1461067a578063c104d45f146106a3578063c35a26ef146106bf578063c87b56dd146106db5761020f565b80638da5cb5b116100e75780638da5cb5b146105a95780638f349db8146105d457806395d89b41146105fd5780639d7de89314610628578063a22cb465146106515761020f565b8063715018a6146105275780637d8966e41461053e5780637dddd8f91461055557806383a9e0491461057e5761020f565b80633ccfd60b1161019b578063438b63001161016a578063438b63001461041c57806355f804b3146104595780636352211e146104825780636817c76c146104bf57806370a08231146104ea5761020f565b80633ccfd60b1461038a5780633e8d70a5146103a157806342842e0e146103ca57806342966c68146103f35761020f565b806318160ddd116101d757806318160ddd146102e25780631e7269c51461030d57806323b872dd1461034a57806334393743146103735761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063095ea7b3146102b95761020f565b3661020f57005b600080fd5b34801561022057600080fd5b5061023b600480360381019061023691906139ff565b6107fd565b6040516102489190614300565b60405180910390f35b34801561025d57600080fd5b506102666108df565b6040516102739190614360565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e9190613a92565b610971565b6040516102b09190614277565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db91906139c3565b6109f6565b005b3480156102ee57600080fd5b506102f7610b0e565b60405161030491906147e2565b60405180910390f35b34801561031957600080fd5b50610334600480360381019061032f9190613858565b610b14565b60405161034191906147e2565b60405180910390f35b34801561035657600080fd5b50610371600480360381019061036c91906138bd565b610b2c565b005b34801561037f57600080fd5b50610388610b8c565b005b34801561039657600080fd5b5061039f610c34565b005b3480156103ad57600080fd5b506103c860048036038101906103c39190613a92565b610dcc565b005b3480156103d657600080fd5b506103f160048036038101906103ec91906138bd565b610f0c565b005b3480156103ff57600080fd5b5061041a60048036038101906104159190613a92565b610f2c565b005b34801561042857600080fd5b50610443600480360381019061043e9190613858565b610f81565b60405161045091906142de565b60405180910390f35b34801561046557600080fd5b50610480600480360381019061047b9190613a51565b6111d3565b005b34801561048e57600080fd5b506104a960048036038101906104a49190613a92565b611269565b6040516104b69190614277565b60405180910390f35b3480156104cb57600080fd5b506104d461131b565b6040516104e191906147e2565b60405180910390f35b3480156104f657600080fd5b50610511600480360381019061050c9190613858565b611321565b60405161051e91906147e2565b60405180910390f35b34801561053357600080fd5b5061053c6113d9565b005b34801561054a57600080fd5b50610553611461565b005b34801561056157600080fd5b5061057c60048036038101906105779190613858565b611506565b005b34801561058a57600080fd5b506105936115c6565b6040516105a09190614300565b60405180910390f35b3480156105b557600080fd5b506105be6115d9565b6040516105cb9190614277565b60405180910390f35b3480156105e057600080fd5b506105fb60048036038101906105f69190613858565b611603565b005b34801561060957600080fd5b506106126116c3565b60405161061f9190614360565b60405180910390f35b34801561063457600080fd5b5061064f600480360381019061064a91906139c3565b611755565b005b34801561065d57600080fd5b5061067860048036038101906106739190613987565b611848565b005b34801561068657600080fd5b506106a1600480360381019061069c919061390c565b61185e565b005b6106bd60048036038101906106b89190613a92565b6118c0565b005b6106d960048036038101906106d49190613abb565b611a64565b005b3480156106e757600080fd5b5061070260048036038101906106fd9190613a92565b611dd9565b60405161070f9190614360565b60405180910390f35b34801561072457600080fd5b5061072d611e80565b60405161073a9190614277565b60405180910390f35b34801561074f57600080fd5b50610758611ea6565b6040516107659190614300565b60405180910390f35b34801561077a57600080fd5b5061079560048036038101906107909190613881565b611eb7565b6040516107a29190614300565b60405180910390f35b3480156107b757600080fd5b506107d260048036038101906107cd9190613858565b611f4b565b005b3480156107e057600080fd5b506107fb60048036038101906107f69190613a92565b612043565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108c857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108d857506108d7826120c9565b5b9050919050565b6060600080546108ee90614ae2565b80601f016020809104026020016040519081016040528092919081815260200182805461091a90614ae2565b80156109675780601f1061093c57610100808354040283529160200191610967565b820191906000526020600020905b81548152906001019060200180831161094a57829003601f168201915b5050505050905090565b600061097c82612133565b6109bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b290614622565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a0182611269565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6990614742565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a9161219f565b73ffffffffffffffffffffffffffffffffffffffff161480610ac05750610abf81610aba61219f565b611eb7565b5b610aff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af690614542565b60405180910390fd5b610b0983836121a7565b505050565b60095481565b60126020528060005260406000206000915090505481565b610b3d610b3761219f565b82612260565b610b7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7390614782565b60405180910390fd5b610b8783838361233e565b505050565b610b9461219f565b73ffffffffffffffffffffffffffffffffffffffff16610bb26115d9565b73ffffffffffffffffffffffffffffffffffffffff1614610c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bff90614682565b60405180910390fd5b601460159054906101000a900460ff1615601460156101000a81548160ff021916908315150217905550565b6000601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610cb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cad906147a2565b60405180910390fd5b600047905060005b6006811015610dc8576000600b8260068110610d03577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff166108fc61271085601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d8f9190614987565b610d999190614956565b9081150290604051600060405180830381858888f1935050505050508080610dc090614b45565b915050610cbe565b5050565b600073ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610e5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e55906143e2565b60405180910390fd5b610e683282612260565b8015610ec15750601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610f00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef790614522565b60405180910390fd5b610f098161259a565b50565b610f278383836040518060200160405280600081525061185e565b505050565b610f363382612260565b610f75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6c90614722565b60405180910390fd5b610f7e8161259a565b50565b60606000610f8e83611321565b9050600081141561101157600067ffffffffffffffff811115610fda577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156110085781602001602082028036833780820191505090505b509150506111ce565b60008167ffffffffffffffff811115611053577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156110815781602001602082028036833780820191505090505b509050600080600954905060005b818110156111c55760006110a282612133565b90508080156110e457508773ffffffffffffffffffffffffffffffffffffffff166110cc83611269565b73ffffffffffffffffffffffffffffffffffffffff16145b156111425781858581518110611123577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050838061113a90614b45565b9450506111b1565b8015801561119c575060008560018861115b91906149e1565b81518110611192577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151145b156111b05782806111ac90614b45565b9350505b5b5080806111bd90614b45565b91505061108f565b50829450505050505b919050565b6111db61219f565b73ffffffffffffffffffffffffffffffffffffffff166111f96115d9565b73ffffffffffffffffffffffffffffffffffffffff161461124f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124690614682565b60405180910390fd5b80600a9080519060200190611265929190613632565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611312576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130990614582565b60405180910390fd5b80915050919050565b60085481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611392576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138990614562565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113e161219f565b73ffffffffffffffffffffffffffffffffffffffff166113ff6115d9565b73ffffffffffffffffffffffffffffffffffffffff1614611455576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144c90614682565b60405180910390fd5b61145f60006126ab565b565b61146961219f565b73ffffffffffffffffffffffffffffffffffffffff166114876115d9565b73ffffffffffffffffffffffffffffffffffffffff16146114dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d490614682565b60405180910390fd5b60148054906101000a900460ff16156014806101000a81548160ff021916908315150217905550565b61150e61219f565b73ffffffffffffffffffffffffffffffffffffffff1661152c6115d9565b73ffffffffffffffffffffffffffffffffffffffff1614611582576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157990614682565b60405180910390fd5b80601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601460159054906101000a900460ff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61160b61219f565b73ffffffffffffffffffffffffffffffffffffffff166116296115d9565b73ffffffffffffffffffffffffffffffffffffffff161461167f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167690614682565b60405180910390fd5b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060600180546116d290614ae2565b80601f01602080910402602001604051908101604052809291908181526020018280546116fe90614ae2565b801561174b5780601f106117205761010080835404028352916020019161174b565b820191906000526020600020905b81548152906001019060200180831161172e57829003601f168201915b5050505050905090565b61175d61219f565b73ffffffffffffffffffffffffffffffffffffffff1661177b6115d9565b73ffffffffffffffffffffffffffffffffffffffff16146117d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c890614682565b60405180910390fd5b6000816007546117e191906149e1565b11611821576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611818906145a2565b60405180910390fd5b806007600082825461183391906149e1565b925050819055506118448282612771565b5050565b61185a61185361219f565b8383612804565b5050565b61186f61186961219f565b83612260565b6118ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a590614782565b60405180910390fd5b6118ba84848484612971565b50505050565b6001151560148054906101000a900460ff16151514611914576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190b906145e2565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611982576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197990614702565b60405180910390fd5b600081116119c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bc906147c2565b60405180910390fd5b60158110611a08576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ff90614662565b60405180910390fd5b60085481611a169190614987565b3414611a57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4e90614502565b60405180910390fd5b611a613382612771565b50565b60011515601460159054906101000a900460ff16151514611aba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab190614762565b60405180910390fd5b6001811415611b0b5760003414611b06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afd90614502565b60405180910390fd5b611ba4565b6002811415611b685784600854611b229190614987565b3414611b63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5a90614502565b60405180910390fd5b611ba3565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9a906143a2565b60405180910390fd5b5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611c12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0990614702565b60405180910390fd5b60008511611c55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4c906147c2565b60405180910390fd5b6000601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828187611ca69190614900565b1115611ce7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cde90614642565b60405180910390fd5b611d3685858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505084846129cd565b611d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6c90614462565b60405180910390fd5b8581611d819190614900565b905080601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611dd13387612771565b505050505050565b6060611de482612133565b611e23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1a906146e2565b60405180910390fd5b6000611e2d612a77565b90506000815111611e4d5760405180602001604052806000815250611e78565b80611e5784612b09565b604051602001611e6892919061422d565b6040516020818303038152906040525b915050919050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60148054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f5361219f565b73ffffffffffffffffffffffffffffffffffffffff16611f716115d9565b73ffffffffffffffffffffffffffffffffffffffff1614611fc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbe90614682565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612037576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202e90614422565b60405180910390fd5b612040816126ab565b50565b61204b61219f565b73ffffffffffffffffffffffffffffffffffffffff166120696115d9565b73ffffffffffffffffffffffffffffffffffffffff16146120bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b690614682565b60405180910390fd5b8060088190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661221a83611269565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061226b82612133565b6122aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a1906144e2565b60405180910390fd5b60006122b583611269565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061232457508373ffffffffffffffffffffffffffffffffffffffff1661230c84610971565b73ffffffffffffffffffffffffffffffffffffffff16145b8061233557506123348185611eb7565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661235e82611269565b73ffffffffffffffffffffffffffffffffffffffff16146123b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ab906146a2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612424576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241b90614482565b60405180910390fd5b61242f838383612cb6565b61243a6000826121a7565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461248a91906149e1565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124e19190614900565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006125a582611269565b90506125b381600084612cb6565b6125be6000836121a7565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461260e91906149e1565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600060095490506115b482826127879190614900565b106127c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127be906146c2565b60405180910390fd5b60005b828110156127f75781806001019250506127e48483612cbb565b80806127ef90614b45565b9150506127ca565b5080600981905550505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286a906144a2565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516129649190614300565b60405180910390a3505050565b61297c84848461233e565b61298884848484612cd9565b6129c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129be90614402565b60405180910390fd5b50505050565b600080333085856040516020016129e794939291906141df565b6040516020818303038152906040528051906020012090506000612a0a82612e70565b90506000612a188288612ea0565b9050601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161493505050509392505050565b6060600a8054612a8690614ae2565b80601f0160208091040260200160405190810160405280929190818152602001828054612ab290614ae2565b8015612aff5780601f10612ad457610100808354040283529160200191612aff565b820191906000526020600020905b815481529060010190602001808311612ae257829003601f168201915b5050505050905090565b60606000821415612b51576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cb1565b600082905060005b60008214612b83578080612b6c90614b45565b915050600a82612b7c9190614956565b9150612b59565b60008167ffffffffffffffff811115612bc5577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612bf75781602001600182028036833780820191505090505b5090505b60008514612caa57600182612c1091906149e1565b9150600a85612c1f9190614bc6565b6030612c2b9190614900565b60f81b818381518110612c67577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ca39190614956565b9450612bfb565b8093505050505b919050565b505050565b612cd5828260405180602001604052806000815250612ec7565b5050565b6000612cfa8473ffffffffffffffffffffffffffffffffffffffff16612f22565b15612e63578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d2361219f565b8786866040518563ffffffff1660e01b8152600401612d459493929190614292565b602060405180830381600087803b158015612d5f57600080fd5b505af1925050508015612d9057506040513d601f19601f82011682018060405250810190612d8d9190613a28565b60015b612e13573d8060008114612dc0576040519150601f19603f3d011682016040523d82523d6000602084013e612dc5565b606091505b50600081511415612e0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e0290614402565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e68565b600190505b949350505050565b600081604051602001612e839190614251565b604051602081830303815290604052805190602001209050919050565b6000806000612eaf8585612f35565b91509150612ebc81612fb8565b819250505092915050565b612ed18383613309565b612ede6000848484612cd9565b612f1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1490614402565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600080604183511415612f775760008060006020860151925060408601519150606086015160001a9050612f6b878285856134d7565b94509450505050612fb1565b604083511415612fa8576000806020850151915060408501519050612f9d8683836135e4565b935093505050612fb1565b60006002915091505b9250929050565b60006004811115612ff2577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561302b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561303657613306565b60016004811115613070577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156130a9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156130ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130e190614382565b60405180910390fd5b60026004811115613124577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561315d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561319e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613195906143c2565b60405180910390fd5b600360048111156131d8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613211577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613252576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613249906144c2565b60405180910390fd5b60048081111561328b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156132c4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613305576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132fc906145c2565b60405180910390fd5b5b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613379576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161337090614602565b60405180910390fd5b61338281612133565b156133c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133b990614442565b60405180910390fd5b6133ce60008383612cb6565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461341e9190614900565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156135125760006003915091506135db565b601b8560ff161415801561352a5750601c8560ff1614155b1561353c5760006004915091506135db565b600060018787878760405160008152602001604052604051613561949392919061431b565b6020604051602081039080840390855afa158015613583573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156135d2576000600192509250506135db565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613624878288856134d7565b935093505050935093915050565b82805461363e90614ae2565b90600052602060002090601f01602090048101928261366057600085556136a7565b82601f1061367957805160ff19168380011785556136a7565b828001600101855582156136a7579182015b828111156136a657825182559160200191906001019061368b565b5b5090506136b491906136b8565b5090565b5b808211156136d15760008160009055506001016136b9565b5090565b60006136e86136e384614822565b6147fd565b90508281526020810184848401111561370057600080fd5b61370b848285614aa0565b509392505050565b600061372661372184614853565b6147fd565b90508281526020810184848401111561373e57600080fd5b613749848285614aa0565b509392505050565b600081359050613760816154a9565b92915050565b600081359050613775816154c0565b92915050565b60008135905061378a816154d7565b92915050565b60008151905061379f816154d7565b92915050565b60008083601f8401126137b757600080fd5b8235905067ffffffffffffffff8111156137d057600080fd5b6020830191508360018202830111156137e857600080fd5b9250929050565b600082601f83011261380057600080fd5b81356138108482602086016136d5565b91505092915050565b600082601f83011261382a57600080fd5b813561383a848260208601613713565b91505092915050565b600081359050613852816154ee565b92915050565b60006020828403121561386a57600080fd5b600061387884828501613751565b91505092915050565b6000806040838503121561389457600080fd5b60006138a285828601613751565b92505060206138b385828601613751565b9150509250929050565b6000806000606084860312156138d257600080fd5b60006138e086828701613751565b93505060206138f186828701613751565b925050604061390286828701613843565b9150509250925092565b6000806000806080858703121561392257600080fd5b600061393087828801613751565b945050602061394187828801613751565b935050604061395287828801613843565b925050606085013567ffffffffffffffff81111561396f57600080fd5b61397b878288016137ef565b91505092959194509250565b6000806040838503121561399a57600080fd5b60006139a885828601613751565b92505060206139b985828601613766565b9150509250929050565b600080604083850312156139d657600080fd5b60006139e485828601613751565b92505060206139f585828601613843565b9150509250929050565b600060208284031215613a1157600080fd5b6000613a1f8482850161377b565b91505092915050565b600060208284031215613a3a57600080fd5b6000613a4884828501613790565b91505092915050565b600060208284031215613a6357600080fd5b600082013567ffffffffffffffff811115613a7d57600080fd5b613a8984828501613819565b91505092915050565b600060208284031215613aa457600080fd5b6000613ab284828501613843565b91505092915050565b600080600080600060808688031215613ad357600080fd5b6000613ae188828901613843565b955050602086013567ffffffffffffffff811115613afe57600080fd5b613b0a888289016137a5565b94509450506040613b1d88828901613843565b9250506060613b2e88828901613843565b9150509295509295909350565b6000613b47838361419b565b60208301905092915050565b613b5c81614a15565b82525050565b613b73613b6e82614a15565b614b8e565b82525050565b6000613b8482614894565b613b8e81856148c2565b9350613b9983614884565b8060005b83811015613bca578151613bb18882613b3b565b9750613bbc836148b5565b925050600181019050613b9d565b5085935050505092915050565b613be081614a27565b82525050565b613bef81614a33565b82525050565b613c06613c0182614a33565b614ba0565b82525050565b6000613c178261489f565b613c2181856148d3565b9350613c31818560208601614aaf565b613c3a81614cb3565b840191505092915050565b6000613c50826148aa565b613c5a81856148e4565b9350613c6a818560208601614aaf565b613c7381614cb3565b840191505092915050565b6000613c89826148aa565b613c9381856148f5565b9350613ca3818560208601614aaf565b80840191505092915050565b6000613cbc6018836148e4565b9150613cc782614cd1565b602082019050919050565b6000613cdf600a836148e4565b9150613cea82614cfa565b602082019050919050565b6000613d02601f836148e4565b9150613d0d82614d23565b602082019050919050565b6000613d25601c836148f5565b9150613d3082614d4c565b601c82019050919050565b6000613d486015836148e4565b9150613d5382614d75565b602082019050919050565b6000613d6b6032836148e4565b9150613d7682614d9e565b604082019050919050565b6000613d8e6026836148e4565b9150613d9982614ded565b604082019050919050565b6000613db1601c836148e4565b9150613dbc82614e3c565b602082019050919050565b6000613dd4600b836148e4565b9150613ddf82614e65565b602082019050919050565b6000613df76024836148e4565b9150613e0282614e8e565b604082019050919050565b6000613e1a6019836148e4565b9150613e2582614edd565b602082019050919050565b6000613e3d6022836148e4565b9150613e4882614f06565b604082019050919050565b6000613e60602c836148e4565b9150613e6b82614f55565b604082019050919050565b6000613e836009836148e4565b9150613e8e82614fa4565b602082019050919050565b6000613ea6600f836148e4565b9150613eb182614fcd565b602082019050919050565b6000613ec96038836148e4565b9150613ed482614ff6565b604082019050919050565b6000613eec602a836148e4565b9150613ef782615045565b604082019050919050565b6000613f0f6029836148e4565b9150613f1a82615094565b604082019050919050565b6000613f32600d836148e4565b9150613f3d826150e3565b602082019050919050565b6000613f556022836148e4565b9150613f608261510c565b604082019050919050565b6000613f78600d836148e4565b9150613f838261515b565b602082019050919050565b6000613f9b6020836148e4565b9150613fa682615184565b602082019050919050565b6000613fbe602c836148e4565b9150613fc9826151ad565b604082019050919050565b6000613fe1600e836148e4565b9150613fec826151fc565b602082019050919050565b60006140046006836148e4565b915061400f82615225565b602082019050919050565b60006140276020836148e4565b91506140328261524e565b602082019050919050565b600061404a6029836148e4565b915061405582615277565b604082019050919050565b600061406d6014836148e4565b9150614078826152c6565b602082019050919050565b6000614090602f836148e4565b915061409b826152ef565b604082019050919050565b60006140b3600b836148e4565b91506140be8261533e565b602082019050919050565b60006140d6601b836148e4565b91506140e182615367565b602082019050919050565b60006140f96021836148e4565b915061410482615390565b604082019050919050565b600061411c6010836148e4565b9150614127826153df565b602082019050919050565b600061413f6031836148e4565b915061414a82615408565b604082019050919050565b60006141626009836148e4565b915061416d82615457565b602082019050919050565b60006141856006836148e4565b915061419082615480565b602082019050919050565b6141a481614a89565b82525050565b6141b381614a89565b82525050565b6141ca6141c582614a89565b614bbc565b82525050565b6141d981614a93565b82525050565b60006141eb8287613b62565b6014820191506141fb8286613b62565b60148201915061420b82856141b9565b60208201915061421b82846141b9565b60208201915081905095945050505050565b60006142398285613c7e565b91506142458284613c7e565b91508190509392505050565b600061425c82613d18565b91506142688284613bf5565b60208201915081905092915050565b600060208201905061428c6000830184613b53565b92915050565b60006080820190506142a76000830187613b53565b6142b46020830186613b53565b6142c160408301856141aa565b81810360608301526142d38184613c0c565b905095945050505050565b600060208201905081810360008301526142f88184613b79565b905092915050565b60006020820190506143156000830184613bd7565b92915050565b60006080820190506143306000830187613be6565b61433d60208301866141d0565b61434a6040830185613be6565b6143576060830184613be6565b95945050505050565b6000602082019050818103600083015261437a8184613c45565b905092915050565b6000602082019050818103600083015261439b81613caf565b9050919050565b600060208201905081810360008301526143bb81613cd2565b9050919050565b600060208201905081810360008301526143db81613cf5565b9050919050565b600060208201905081810360008301526143fb81613d3b565b9050919050565b6000602082019050818103600083015261441b81613d5e565b9050919050565b6000602082019050818103600083015261443b81613d81565b9050919050565b6000602082019050818103600083015261445b81613da4565b9050919050565b6000602082019050818103600083015261447b81613dc7565b9050919050565b6000602082019050818103600083015261449b81613dea565b9050919050565b600060208201905081810360008301526144bb81613e0d565b9050919050565b600060208201905081810360008301526144db81613e30565b9050919050565b600060208201905081810360008301526144fb81613e53565b9050919050565b6000602082019050818103600083015261451b81613e76565b9050919050565b6000602082019050818103600083015261453b81613e99565b9050919050565b6000602082019050818103600083015261455b81613ebc565b9050919050565b6000602082019050818103600083015261457b81613edf565b9050919050565b6000602082019050818103600083015261459b81613f02565b9050919050565b600060208201905081810360008301526145bb81613f25565b9050919050565b600060208201905081810360008301526145db81613f48565b9050919050565b600060208201905081810360008301526145fb81613f6b565b9050919050565b6000602082019050818103600083015261461b81613f8e565b9050919050565b6000602082019050818103600083015261463b81613fb1565b9050919050565b6000602082019050818103600083015261465b81613fd4565b9050919050565b6000602082019050818103600083015261467b81613ff7565b9050919050565b6000602082019050818103600083015261469b8161401a565b9050919050565b600060208201905081810360008301526146bb8161403d565b9050919050565b600060208201905081810360008301526146db81614060565b9050919050565b600060208201905081810360008301526146fb81614083565b9050919050565b6000602082019050818103600083015261471b816140a6565b9050919050565b6000602082019050818103600083015261473b816140c9565b9050919050565b6000602082019050818103600083015261475b816140ec565b9050919050565b6000602082019050818103600083015261477b8161410f565b9050919050565b6000602082019050818103600083015261479b81614132565b9050919050565b600060208201905081810360008301526147bb81614155565b9050919050565b600060208201905081810360008301526147db81614178565b9050919050565b60006020820190506147f760008301846141aa565b92915050565b6000614807614818565b90506148138282614b14565b919050565b6000604051905090565b600067ffffffffffffffff82111561483d5761483c614c84565b5b61484682614cb3565b9050602081019050919050565b600067ffffffffffffffff82111561486e5761486d614c84565b5b61487782614cb3565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061490b82614a89565b915061491683614a89565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561494b5761494a614bf7565b5b828201905092915050565b600061496182614a89565b915061496c83614a89565b92508261497c5761497b614c26565b5b828204905092915050565b600061499282614a89565b915061499d83614a89565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156149d6576149d5614bf7565b5b828202905092915050565b60006149ec82614a89565b91506149f783614a89565b925082821015614a0a57614a09614bf7565b5b828203905092915050565b6000614a2082614a69565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614acd578082015181840152602081019050614ab2565b83811115614adc576000848401525b50505050565b60006002820490506001821680614afa57607f821691505b60208210811415614b0e57614b0d614c55565b5b50919050565b614b1d82614cb3565b810181811067ffffffffffffffff82111715614b3c57614b3b614c84565b5b80604052505050565b6000614b5082614a89565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b8357614b82614bf7565b5b600182019050919050565b6000614b9982614baa565b9050919050565b6000819050919050565b6000614bb582614cc4565b9050919050565b6000819050919050565b6000614bd182614a89565b9150614bdc83614a89565b925082614bec57614beb614c26565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f426164206c697374496400000000000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f44656974792041646472657373206e6f74207365740000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f496e76616c696420736967000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f57726f6e67204554480000000000000000000000000000000000000000000000600082015250565b7f43616e2774206275726e20746869730000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5265736572766520656d70747900000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f53616c65206e6f74206c69766500000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f51756f7461206578636565646564000000000000000000000000000000000000600082015250565b7f3230206d61780000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f546f6f20666577205268696e6f73206c65667421000000000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f48756d616e73206f6e6c79000000000000000000000000000000000000000000600082015250565b7f57616c6c6574206e6f7420617070726f76656420746f206275726e0000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f50726573616c65206e6f74206c69766500000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f5465616d206f6e6c790000000000000000000000000000000000000000000000600082015250565b7f30206d696e740000000000000000000000000000000000000000000000000000600082015250565b6154b281614a15565b81146154bd57600080fd5b50565b6154c981614a27565b81146154d457600080fd5b50565b6154e081614a3d565b81146154eb57600080fd5b50565b6154f781614a89565b811461550257600080fd5b5056fea2646970667358221220ce73f0af6b047310077bac4180e9bf851095597e28b2277879dad40eb393ca7c64736f6c63430008040033

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

00000000000000000000000000000000000000000000000000000000000001c000000000000000000000000045107553d3963e3982aa6b3ee16ffafd87fcd2770000000000000000000000006cbaf1f2b868c37d521b7e95ff8de29049eb09860000000000000000000000002b031166645d849d5b06fea65977cb487b4dd99300000000000000000000000083bb098e5d76d61407e853aa960e4d1b84f0a8f100000000000000000000000033f4ea35eb9e34e68ba0785f28de44149c9a59ad00000000000000000000000082907f9faca743d74167fa8a6ac9fe083335324700000000000000000000000004cb8ce73cb60874d9a34a60fc56d4164ba1f544000000000000000000000000000000000000000000000000000000000000119400000000000000000000000000000000000000000000000000000000000002ee0000000000000000000000000000000000000000000000000000000000000a2800000000000000000000000000000000000000000000000000000000000005dc000000000000000000000000000000000000000000000000000000000000009600000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5a4b4d7759764e6b597861474d6469457862506f787a365570475365523352354e3135416273477343735a672f00000000000000000000

-----Decoded View---------------
Arg [0] : baseURI_ (string): ipfs://QmZKMwYvNkYxaGMdiExbPoxz6UpGSeR3R5N15AbsGsCsZg/
Arg [1] : msgSigner_ (address): 0x45107553D3963E3982aa6b3Ee16ffAfd87FCd277
Arg [2] : teamAddrs_ (address[6]): 0x6cBaf1F2b868c37D521b7E95fF8dE29049eb0986,0x2B031166645D849D5b06fEA65977cb487B4dD993,0x83Bb098E5d76D61407e853AA960e4d1b84F0a8f1,0x33F4eA35EB9E34e68BA0785F28dE44149C9A59ad,0x82907f9FacA743D74167Fa8A6AC9fE0833353247,0x04CB8Ce73CB60874D9A34a60Fc56D4164ba1F544
Arg [3] : teamShares_ (uint256[6]): 4500,750,2600,1500,150,500

-----Encoded View---------------
17 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [1] : 00000000000000000000000045107553d3963e3982aa6b3ee16ffafd87fcd277
Arg [2] : 0000000000000000000000006cbaf1f2b868c37d521b7e95ff8de29049eb0986
Arg [3] : 0000000000000000000000002b031166645d849d5b06fea65977cb487b4dd993
Arg [4] : 00000000000000000000000083bb098e5d76d61407e853aa960e4d1b84f0a8f1
Arg [5] : 00000000000000000000000033f4ea35eb9e34e68ba0785f28de44149c9a59ad
Arg [6] : 00000000000000000000000082907f9faca743d74167fa8a6ac9fe0833353247
Arg [7] : 00000000000000000000000004cb8ce73cb60874d9a34a60fc56d4164ba1f544
Arg [8] : 0000000000000000000000000000000000000000000000000000000000001194
Arg [9] : 00000000000000000000000000000000000000000000000000000000000002ee
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000a28
Arg [11] : 00000000000000000000000000000000000000000000000000000000000005dc
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000096
Arg [13] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [15] : 697066733a2f2f516d5a4b4d7759764e6b597861474d6469457862506f787a36
Arg [16] : 5570475365523352354e3135416273477343735a672f00000000000000000000


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.