ETH Price: $3,099.29 (-0.39%)
Gas: 2 Gwei

Token

Beatnik Tiki Tribe Pigz (PGZ)
 

Overview

Max Total Supply

1,339 PGZ

Holders

192

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
62 PGZ
0x54a89f518c17097047188704ca2d6d8d7ef3af7e
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:
Pigz

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 20 : Pigz.sol
//SPDX-License-Identifier: MIT

/*

 ____                     __               __          ______    __              ______           __                
/\  _`\                  /\ \__         __/\ \        /\__  _\__/\ \      __    /\__  _\       __/\ \               
\ \ \L\ \     __     __  \ \ ,_\   ___ /\_\ \ \/'\    \/_/\ \/\_\ \ \/'\ /\_\   \/_/\ \/ _ __ /\_\ \ \____     __   
 \ \  _ <'  /'__`\ /'__`\ \ \ \/ /' _ `\/\ \ \ , <       \ \ \/\ \ \ , < \/\ \     \ \ \/\`'__\/\ \ \ '__`\  /'__`\ 
  \ \ \L\ \/\  __//\ \L\.\_\ \ \_/\ \/\ \ \ \ \ \\`\      \ \ \ \ \ \ \\`\\ \ \     \ \ \ \ \/ \ \ \ \ \L\ \/\  __/ 
   \ \____/\ \____\ \__/.\_\\ \__\ \_\ \_\ \_\ \_\ \_\     \ \_\ \_\ \_\ \_\ \_\     \ \_\ \_\  \ \_\ \_,__/\ \____\
    \/___/  \/____/\/__/\/_/ \/__/\/_/\/_/\/_/\/_/\/_/      \/_/\/_/\/_/\/_/\/_/      \/_/\/_/   \/_/\/___/  \/____/
                                                                                                                                                                                                                                        
*/

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";


contract Pigz is Ownable, ERC721Enumerable, ERC721Burnable, ERC721Pausable {

    using Counters for Counters.Counter;

    event PigClaimed(uint256 _totalClaimed, address _owner, uint256 _numOfTokens, uint256[] _tokenIds);
    event PigMutated(uint256 _pigId);

    Counters.Counter private _tokenIdTracker;
    
    bool public claimEnabled;
    bool public mutationEnabled;
    uint256 public price;
    uint256 public mutationPrice;
    string public metadataBaseURL;
    ERC20 public hulaCoin;
    address public hulaTreasury;

    mapping(uint => bool) private mutated;

    uint256 public constant maxPigz = 2000;

    constructor (
        string memory _metadataBaseURL, 
        address _hulaContractAddress,
        address _hulaTreasury
        ) 
        ERC721("Beatnik Tiki Tribe Pigz", "PGZ") {
            metadataBaseURL = _metadataBaseURL;
            hulaCoin = ERC20(_hulaContractAddress);
            hulaTreasury = _hulaTreasury;
            
            claimEnabled = false;
            price = 500 ether;
            
            mutationEnabled = false;
            mutationPrice = 200 ether;
    }

    function setBaseURI(string memory baseURL) public onlyOwner {
        metadataBaseURL = baseURL;
    }

    function flipClaimEnabled() public onlyOwner {
        claimEnabled = !(claimEnabled);
    }

    function flipMutationEnabled() public onlyOwner {
        mutationEnabled = !(mutationEnabled);
    }

    function setPrice(uint256 _price) public onlyOwner {
        price = _price;
    }

    function setMutationPrice(uint256 _price) public onlyOwner {
        mutationPrice = _price;
    }

    function withdrawEth() public onlyOwner {
        uint256 _balance = address(this).balance;
        address payable _sender = payable(_msgSender());
        _sender.transfer(_balance);
    }

    function withdrawHula() public onlyOwner {
        uint256 _balance = hulaCoin.balanceOf(address(this));
        hulaCoin.transfer(_msgSender(), _balance);
    }

    function mintPigToAddress(address to) public onlyOwner {
        require(_tokenIdTracker.current() < maxPigz, "TikiPigz: All Pigz have already been claimed");
        _safeMint(to, _tokenIdTracker.current() + 1);
        _tokenIdTracker.increment();
    }

    function reservePigz(uint num) public onlyOwner {
        uint i;
        for (i=0; i<num; i++)
            mintPigToAddress(msg.sender);
    }

    function pause() public virtual onlyOwner {
        _pause();
    }

    function unpause() public virtual onlyOwner {
        _unpause();
    }

    function getCurrentCount() public view returns (uint256) {
        return _tokenIdTracker.current();
    }

    function claimPig(uint numOfTokens) public {
        
        address _sender = _msgSender();

        require(claimEnabled, "TikiPigz: Cannot claim Pigz at the moment");
        require(_tokenIdTracker.current() + numOfTokens <= maxPigz, "TikiPigz: Claim will exceed maximum available Pigz");
        require(numOfTokens > 0, "TikiPigz: Must claim atleast one Pig");
        require(hulaCoin.allowance(_sender, address(this)) >= (price * numOfTokens), "TikiPigz: Insufficient Hula allowance to claim Pigz");
        

        hulaCoin.transferFrom(_sender, hulaTreasury, (price * numOfTokens));

        uint256[] memory ids = new uint256[](numOfTokens);
        for(uint i=0; i<numOfTokens; i++) {
            uint256 _tokenid = _tokenIdTracker.current() + 1;
            ids[i] = _tokenid;
            _safeMint(_sender, _tokenid);
            _tokenIdTracker.increment();
        }
        
        emit PigClaimed(_tokenIdTracker.current(), _sender, numOfTokens, ids);
    }

    function mutatePig(uint pigId) public {

        address _sender = _msgSender();

        require(mutationEnabled, "TikiPigz: Cannot mutate Pigz at the moment");
        require(ownerOf(pigId)==_sender, "TikiPigz: Can only mutate a pig that you own");
        require(!(mutated[pigId]), "TikiPigz: Pig can only mutate once");
        require(hulaCoin.balanceOf(_sender) >= mutationPrice, "TikiPigz: Insufficient Hula balance to mutate pig");
        require(hulaCoin.allowance(_sender, address(this)) >= mutationPrice, "TikiPigz: Insufficient Hula allowance to mutate pig");

        hulaCoin.transferFrom(_sender, hulaTreasury, mutationPrice);
        mutated[pigId] = true;

        emit PigMutated(pigId);
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return metadataBaseURL;
    }

    function _beforeTokenTransfer(
        address from, 
        address to, 
        uint256 tokenId
    ) internal virtual override(ERC721Enumerable, ERC721, ERC721Pausable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }
    
    function supportsInterface(
        bytes4 interfaceId
    ) public view virtual override(ERC721Enumerable, ERC721) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

}

File 2 of 20 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

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

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 20 : ERC721.sol
// SPDX-License-Identifier: MIT

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 {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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 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 5 of 20 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 6 of 20 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

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

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "../../../security/Pausable.sol";

/**
 * @dev ERC721 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 */
abstract contract ERC721Pausable is ERC721, Pausable {
    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        require(!paused(), "ERC721Pausable: token transfer while paused");
    }
}

File 8 of 20 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 9 of 20 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 11 of 20 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

File 12 of 20 : IERC721.sol
// SPDX-License-Identifier: MIT

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 13 of 20 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

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 14 of 20 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

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 15 of 20 : Address.sol
// SPDX-License-Identifier: MIT

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 16 of 20 : Strings.sol
// SPDX-License-Identifier: MIT

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 17 of 20 : ERC165.sol
// SPDX-License-Identifier: MIT

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 18 of 20 : IERC165.sol
// SPDX-License-Identifier: MIT

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);
}

File 19 of 20 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 20 of 20 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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":"_metadataBaseURL","type":"string"},{"internalType":"address","name":"_hulaContractAddress","type":"address"},{"internalType":"address","name":"_hulaTreasury","type":"address"}],"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_totalClaimed","type":"uint256"},{"indexed":false,"internalType":"address","name":"_owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"_numOfTokens","type":"uint256"},{"indexed":false,"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"PigClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_pigId","type":"uint256"}],"name":"PigMutated","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"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":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numOfTokens","type":"uint256"}],"name":"claimPig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipClaimEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipMutationEnabled","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":[],"name":"getCurrentCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hulaCoin","outputs":[{"internalType":"contract ERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hulaTreasury","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":"maxPigz","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataBaseURL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mintPigToAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"pigId","type":"uint256"}],"name":"mutatePig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mutationEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mutationPrice","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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"reservePigz","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURL","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setMutationPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","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":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawHula","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162005e4938038062005e49833981810160405281019062000037919062000411565b6040518060400160405280601781526020017f426561746e696b2054696b69205472696265205069677a0000000000000000008152506040518060400160405280600381526020017f50475a0000000000000000000000000000000000000000000000000000000000815250620000c3620000b76200020c60201b60201c565b6200021460201b60201c565b8160019080519060200190620000db929190620002d8565b508060029080519060200190620000f4929190620002d8565b5050506000600b60006101000a81548160ff02191690831515021790555082601090805190602001906200012a929190620002d8565b5081601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600d60006101000a81548160ff021916908315150217905550681b1ae4d6e2ef500000600e819055506000600d60016101000a81548160ff021916908315150217905550680ad78ebc5ac6200000600f819055505050506200063e565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002e69062000549565b90600052602060002090601f0160209004810192826200030a576000855562000356565b82601f106200032557805160ff191683800117855562000356565b8280016001018555821562000356579182015b828111156200035557825182559160200191906001019062000338565b5b50905062000365919062000369565b5090565b5b80821115620003845760008160009055506001016200036a565b5090565b60006200039f6200039984620004a9565b62000480565b905082815260208101848484011115620003b857600080fd5b620003c584828562000513565b509392505050565b600081519050620003de8162000624565b92915050565b600082601f830112620003f657600080fd5b81516200040884826020860162000388565b91505092915050565b6000806000606084860312156200042757600080fd5b600084015167ffffffffffffffff8111156200044257600080fd5b6200045086828701620003e4565b93505060206200046386828701620003cd565b92505060406200047686828701620003cd565b9150509250925092565b60006200048c6200049f565b90506200049a82826200057f565b919050565b6000604051905090565b600067ffffffffffffffff821115620004c757620004c6620005e4565b5b620004d28262000613565b9050602081019050919050565b6000620004ec82620004f3565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200053357808201518184015260208101905062000516565b8381111562000543576000848401525b50505050565b600060028204905060018216806200056257607f821691505b60208210811415620005795762000578620005b5565b5b50919050565b6200058a8262000613565b810181811067ffffffffffffffff82111715620005ac57620005ab620005e4565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6200062f81620004df565b81146200063b57600080fd5b50565b6157fb806200064e6000396000f3fe608060405234801561001057600080fd5b50600436106102695760003560e01c8063615044141161015157806397d211c2116100c3578063b88d4fde11610087578063b88d4fde1461068e578063bc83574f146106aa578063c87b56dd146106c6578063dd51babf146106f6578063e985e9c514610714578063f2fde38b1461074457610269565b806397d211c214610622578063a035b1fe14610640578063a0ef91df1461065e578063a22cb46514610668578063a7242e8c1461068457610269565b8063715018a611610115578063715018a61461059a5780637e8184db146105a45780638456cb59146105c05780638da5cb5b146105ca57806391b7f5ed146105e857806395d89b411461060457610269565b806361504414146104e25780636352211e1461050057806366fcb2631461053057806370736e6a1461054e57806370a082311461056a57610269565b80632866ed21116101ea57806342842e0e116101ae57806342842e0e1461043657806342966c68146104525780634f6ccce71461046e57806355f804b31461049e5780635c975abb146104ba5780635f76aeea146104d857610269565b80632866ed21146103b85780632ac05c91146103d65780632f745c59146103f25780633f4ba83a14610422578063426e1f111461042c57610269565b806310da2eb91161023157806310da2eb91461032457806318160ddd146103425780631974c998146103605780631b04fab91461037e57806323b872dd1461039c57610269565b806301ffc9a71461026e57806306fdde031461029e578063081812fc146102bc578063095ea7b3146102ec5780630ed81dfe14610308575b600080fd5b61028860048036038101906102839190613d55565b610760565b6040516102959190614512565b60405180910390f35b6102a6610772565b6040516102b39190614548565b60405180910390f35b6102d660048036038101906102d19190613de8565b610804565b6040516102e39190614422565b60405180910390f35b61030660048036038101906103019190613cf0565b610889565b005b610322600480360381019061031d9190613b85565b6109a1565b005b61032c610a96565b6040516103399190614548565b60405180910390f35b61034a610b24565b604051610357919061496a565b60405180910390f35b610368610b31565b604051610375919061496a565b60405180910390f35b610386610b37565b604051610393919061452d565b60405180910390f35b6103b660048036038101906103b19190613bea565b610b5d565b005b6103c0610bbd565b6040516103cd9190614512565b60405180910390f35b6103f060048036038101906103eb9190613de8565b610bd0565b005b61040c60048036038101906104079190613cf0565b610ff6565b604051610419919061496a565b60405180910390f35b61042a61109b565b005b610434611121565b005b610450600480360381019061044b9190613bea565b611306565b005b61046c60048036038101906104679190613de8565b611326565b005b61048860048036038101906104839190613de8565b611382565b604051610495919061496a565b60405180910390f35b6104b860048036038101906104b39190613da7565b611419565b005b6104c26114af565b6040516104cf9190614512565b60405180910390f35b6104e06114c6565b005b6104ea61156e565b6040516104f79190614422565b60405180910390f35b61051a60048036038101906105159190613de8565b611594565b6040516105279190614422565b60405180910390f35b610538611646565b6040516105459190614512565b60405180910390f35b61056860048036038101906105639190613de8565b611659565b005b610584600480360381019061057f9190613b85565b611700565b604051610591919061496a565b60405180910390f35b6105a26117b8565b005b6105be60048036038101906105b99190613de8565b611840565b005b6105c8611c8f565b005b6105d2611d15565b6040516105df9190614422565b60405180910390f35b61060260048036038101906105fd9190613de8565b611d3e565b005b61060c611dc4565b6040516106199190614548565b60405180910390f35b61062a611e56565b604051610637919061496a565b60405180910390f35b610648611e5c565b604051610655919061496a565b60405180910390f35b610666611e62565b005b610682600480360381019061067d9190613cb4565b611f3a565b005b61068c6120bb565b005b6106a860048036038101906106a39190613c39565b612163565b005b6106c460048036038101906106bf9190613de8565b6121c5565b005b6106e060048036038101906106db9190613de8565b61224b565b6040516106ed9190614548565b60405180910390f35b6106fe6122f2565b60405161070b919061496a565b60405180910390f35b61072e60048036038101906107299190613bae565b612303565b60405161073b9190614512565b60405180910390f35b61075e60048036038101906107599190613b85565b612397565b005b600061076b8261248f565b9050919050565b60606001805461078190614cc3565b80601f01602080910402602001604051908101604052809291908181526020018280546107ad90614cc3565b80156107fa5780601f106107cf576101008083540402835291602001916107fa565b820191906000526020600020905b8154815290600101906020018083116107dd57829003601f168201915b5050505050905090565b600061080f82612509565b61084e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610845906147ca565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061089482611594565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610905576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fc9061488a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610924612575565b73ffffffffffffffffffffffffffffffffffffffff16148061095357506109528161094d612575565b612303565b5b610992576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109899061472a565b60405180910390fd5b61099c838361257d565b505050565b6109a9612575565b73ffffffffffffffffffffffffffffffffffffffff166109c7611d15565b73ffffffffffffffffffffffffffffffffffffffff1614610a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a14906147ea565b60405180910390fd5b6107d0610a2a600c612636565b10610a6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a619061480a565b60405180910390fd5b610a89816001610a7a600c612636565b610a849190614ad4565b612644565b610a93600c612662565b50565b60108054610aa390614cc3565b80601f0160208091040260200160405190810160405280929190818152602001828054610acf90614cc3565b8015610b1c5780601f10610af157610100808354040283529160200191610b1c565b820191906000526020600020905b815481529060010190602001808311610aff57829003601f168201915b505050505081565b6000600980549050905090565b600f5481565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610b6e610b68612575565b82612678565b610bad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba4906148aa565b60405180910390fd5b610bb8838383612756565b505050565b600d60009054906101000a900460ff1681565b6000610bda612575565b9050600d60009054906101000a900460ff16610c2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c229061492a565b60405180910390fd5b6107d082610c39600c612636565b610c439190614ad4565b1115610c84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7b9061486a565b60405180910390fd5b60008211610cc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbe9061478a565b60405180910390fd5b81600e54610cd59190614b5b565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e83306040518363ffffffff1660e01b8152600401610d3292919061443d565b60206040518083038186803b158015610d4a57600080fd5b505afa158015610d5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d829190613e11565b1015610dc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dba9061460a565b60405180910390fd5b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd82601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685600e54610e339190614b5b565b6040518463ffffffff1660e01b8152600401610e5193929190614466565b602060405180830381600087803b158015610e6b57600080fd5b505af1158015610e7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea39190613d2c565b5060008267ffffffffffffffff811115610ee6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610f145781602001602082028036833780820191505090505b50905060005b83811015610faa5760006001610f30600c612636565b610f3a9190614ad4565b905080838381518110610f76577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050610f8c8482612644565b610f96600c612662565b508080610fa290614d26565b915050610f1a565b507fab4342e652311b3e8efca127b7914b54c47fc7f0675ae3122063e6a4edf3ffd4610fd6600c612636565b838584604051610fe99493929190614985565b60405180910390a1505050565b600061100183611700565b8210611042576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611039906145aa565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6110a3612575565b73ffffffffffffffffffffffffffffffffffffffff166110c1611d15565b73ffffffffffffffffffffffffffffffffffffffff1614611117576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110e906147ea565b60405180910390fd5b61111f6129b2565b565b611129612575565b73ffffffffffffffffffffffffffffffffffffffff16611147611d15565b73ffffffffffffffffffffffffffffffffffffffff161461119d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611194906147ea565b60405180910390fd5b6000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016111fa9190614422565b60206040518083038186803b15801561121257600080fd5b505afa158015611226573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124a9190613e11565b9050601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb611292612575565b836040518363ffffffff1660e01b81526004016112b09291906144e9565b602060405180830381600087803b1580156112ca57600080fd5b505af11580156112de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113029190613d2c565b5050565b61132183838360405180602001604052806000815250612163565b505050565b611337611331612575565b82612678565b611376576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136d9061494a565b60405180910390fd5b61137f81612a54565b50565b600061138c610b24565b82106113cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c4906148ca565b60405180910390fd5b60098281548110611407577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b611421612575565b73ffffffffffffffffffffffffffffffffffffffff1661143f611d15565b73ffffffffffffffffffffffffffffffffffffffff1614611495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148c906147ea565b60405180910390fd5b80601090805190602001906114ab92919061397f565b5050565b6000600b60009054906101000a900460ff16905090565b6114ce612575565b73ffffffffffffffffffffffffffffffffffffffff166114ec611d15565b73ffffffffffffffffffffffffffffffffffffffff1614611542576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611539906147ea565b60405180910390fd5b600d60019054906101000a900460ff1615600d60016101000a81548160ff021916908315150217905550565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561163d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116349061476a565b60405180910390fd5b80915050919050565b600d60019054906101000a900460ff1681565b611661612575565b73ffffffffffffffffffffffffffffffffffffffff1661167f611d15565b73ffffffffffffffffffffffffffffffffffffffff16146116d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cc906147ea565b60405180910390fd5b60005b818110156116fc576116e9336109a1565b80806116f490614d26565b9150506116d8565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611771576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117689061474a565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6117c0612575565b73ffffffffffffffffffffffffffffffffffffffff166117de611d15565b73ffffffffffffffffffffffffffffffffffffffff1614611834576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182b906147ea565b60405180910390fd5b61183e6000612b65565b565b600061184a612575565b9050600d60019054906101000a900460ff1661189b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118929061490a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166118bb83611594565b73ffffffffffffffffffffffffffffffffffffffff1614611911576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119089061464a565b60405180910390fd5b6013600083815260200190815260200160002060009054906101000a900460ff1615611972576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119699061470a565b60405180910390fd5b600f54601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b81526004016119d09190614422565b60206040518083038186803b1580156119e857600080fd5b505afa1580156119fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a209190613e11565b1015611a61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a58906146ca565b60405180910390fd5b600f54601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e83306040518363ffffffff1660e01b8152600401611ac192919061443d565b60206040518083038186803b158015611ad957600080fd5b505afa158015611aed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b119190613e11565b1015611b52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b49906148ea565b60405180910390fd5b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd82601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600f546040518463ffffffff1660e01b8152600401611bd593929190614466565b602060405180830381600087803b158015611bef57600080fd5b505af1158015611c03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c279190613d2c565b5060016013600084815260200190815260200160002060006101000a81548160ff0219169083151502179055507f4150eb2d36130edb79e1e1c2d1f8a3e92e73145e6ffdec37ff27d83b94b24a8c82604051611c83919061496a565b60405180910390a15050565b611c97612575565b73ffffffffffffffffffffffffffffffffffffffff16611cb5611d15565b73ffffffffffffffffffffffffffffffffffffffff1614611d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d02906147ea565b60405180910390fd5b611d13612c29565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611d46612575565b73ffffffffffffffffffffffffffffffffffffffff16611d64611d15565b73ffffffffffffffffffffffffffffffffffffffff1614611dba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db1906147ea565b60405180910390fd5b80600e8190555050565b606060028054611dd390614cc3565b80601f0160208091040260200160405190810160405280929190818152602001828054611dff90614cc3565b8015611e4c5780601f10611e2157610100808354040283529160200191611e4c565b820191906000526020600020905b815481529060010190602001808311611e2f57829003601f168201915b5050505050905090565b6107d081565b600e5481565b611e6a612575565b73ffffffffffffffffffffffffffffffffffffffff16611e88611d15565b73ffffffffffffffffffffffffffffffffffffffff1614611ede576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed5906147ea565b60405180910390fd5b60004790506000611eed612575565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611f35573d6000803e3d6000fd5b505050565b611f42612575565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa79061468a565b60405180910390fd5b8060066000611fbd612575565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661206a612575565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120af9190614512565b60405180910390a35050565b6120c3612575565b73ffffffffffffffffffffffffffffffffffffffff166120e1611d15565b73ffffffffffffffffffffffffffffffffffffffff1614612137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212e906147ea565b60405180910390fd5b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b61217461216e612575565b83612678565b6121b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121aa906148aa565b60405180910390fd5b6121bf84848484612ccc565b50505050565b6121cd612575565b73ffffffffffffffffffffffffffffffffffffffff166121eb611d15565b73ffffffffffffffffffffffffffffffffffffffff1614612241576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612238906147ea565b60405180910390fd5b80600f8190555050565b606061225682612509565b612295576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228c9061484a565b60405180910390fd5b600061229f612d28565b905060008151116122bf57604051806020016040528060008152506122ea565b806122c984612dba565b6040516020016122da9291906143fe565b6040516020818303038152906040525b915050919050565b60006122fe600c612636565b905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61239f612575565b73ffffffffffffffffffffffffffffffffffffffff166123bd611d15565b73ffffffffffffffffffffffffffffffffffffffff1614612413576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240a906147ea565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247a906145ea565b60405180910390fd5b61248c81612b65565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612502575061250182612f67565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166125f083611594565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b61265e828260405180602001604052806000815250613049565b5050565b6001816000016000828254019250508190555050565b600061268382612509565b6126c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b9906146aa565b60405180910390fd5b60006126cd83611594565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061273c57508373ffffffffffffffffffffffffffffffffffffffff1661272484610804565b73ffffffffffffffffffffffffffffffffffffffff16145b8061274d575061274c8185612303565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661277682611594565b73ffffffffffffffffffffffffffffffffffffffff16146127cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c39061482a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561283c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128339061466a565b60405180910390fd5b6128478383836130a4565b61285260008261257d565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128a29190614bb5565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128f99190614ad4565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6129ba6114af565b6129f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129f09061458a565b60405180910390fd5b6000600b60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612a3d612575565b604051612a4a9190614422565b60405180910390a1565b6000612a5f82611594565b9050612a6d816000846130a4565b612a7860008361257d565b6001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ac89190614bb5565b925050819055506003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612c316114af565b15612c71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c68906146ea565b60405180910390fd5b6001600b60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612cb5612575565b604051612cc29190614422565b60405180910390a1565b612cd7848484612756565b612ce3848484846130b4565b612d22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d19906145ca565b60405180910390fd5b50505050565b606060108054612d3790614cc3565b80601f0160208091040260200160405190810160405280929190818152602001828054612d6390614cc3565b8015612db05780601f10612d8557610100808354040283529160200191612db0565b820191906000526020600020905b815481529060010190602001808311612d9357829003601f168201915b5050505050905090565b60606000821415612e02576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612f62565b600082905060005b60008214612e34578080612e1d90614d26565b915050600a82612e2d9190614b2a565b9150612e0a565b60008167ffffffffffffffff811115612e76577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612ea85781602001600182028036833780820191505090505b5090505b60008514612f5b57600182612ec19190614bb5565b9150600a85612ed09190614d6f565b6030612edc9190614ad4565b60f81b818381518110612f18577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612f549190614b2a565b9450612eac565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061303257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061304257506130418261324b565b5b9050919050565b61305383836132b5565b61306060008484846130b4565b61309f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613096906145ca565b60405180910390fd5b505050565b6130af838383613483565b505050565b60006130d58473ffffffffffffffffffffffffffffffffffffffff166134db565b1561323e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130fe612575565b8786866040518563ffffffff1660e01b8152600401613120949392919061449d565b602060405180830381600087803b15801561313a57600080fd5b505af192505050801561316b57506040513d601f19601f820116820180604052508101906131689190613d7e565b60015b6131ee573d806000811461319b576040519150601f19603f3d011682016040523d82523d6000602084013e6131a0565b606091505b506000815114156131e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131dd906145ca565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613243565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613325576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161331c906147aa565b60405180910390fd5b61332e81612509565b1561336e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133659061462a565b60405180910390fd5b61337a600083836130a4565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546133ca9190614ad4565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b61348e8383836134ee565b6134966114af565b156134d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134cd9061456a565b60405180910390fd5b505050565b600080823b905060008111915050919050565b6134f9838383613602565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561353c5761353781613607565b61357b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461357a576135798382613650565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135be576135b9816137bd565b6135fd565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146135fc576135fb8282613900565b5b5b505050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161365d84611700565b6136679190614bb5565b905060006008600084815260200190815260200160002054905081811461374c576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506137d19190614bb5565b90506000600a6000848152602001908152602001600020549050600060098381548110613827577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806009838154811061386f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a60008581526020019081526020016000206000905560098054806138e4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061390b83611700565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b82805461398b90614cc3565b90600052602060002090601f0160209004810192826139ad57600085556139f4565b82601f106139c657805160ff19168380011785556139f4565b828001600101855582156139f4579182015b828111156139f35782518255916020019190600101906139d8565b5b509050613a019190613a05565b5090565b5b80821115613a1e576000816000905550600101613a06565b5090565b6000613a35613a30846149f6565b6149d1565b905082815260208101848484011115613a4d57600080fd5b613a58848285614c81565b509392505050565b6000613a73613a6e84614a27565b6149d1565b905082815260208101848484011115613a8b57600080fd5b613a96848285614c81565b509392505050565b600081359050613aad81615769565b92915050565b600081359050613ac281615780565b92915050565b600081519050613ad781615780565b92915050565b600081359050613aec81615797565b92915050565b600081519050613b0181615797565b92915050565b600082601f830112613b1857600080fd5b8135613b28848260208601613a22565b91505092915050565b600082601f830112613b4257600080fd5b8135613b52848260208601613a60565b91505092915050565b600081359050613b6a816157ae565b92915050565b600081519050613b7f816157ae565b92915050565b600060208284031215613b9757600080fd5b6000613ba584828501613a9e565b91505092915050565b60008060408385031215613bc157600080fd5b6000613bcf85828601613a9e565b9250506020613be085828601613a9e565b9150509250929050565b600080600060608486031215613bff57600080fd5b6000613c0d86828701613a9e565b9350506020613c1e86828701613a9e565b9250506040613c2f86828701613b5b565b9150509250925092565b60008060008060808587031215613c4f57600080fd5b6000613c5d87828801613a9e565b9450506020613c6e87828801613a9e565b9350506040613c7f87828801613b5b565b925050606085013567ffffffffffffffff811115613c9c57600080fd5b613ca887828801613b07565b91505092959194509250565b60008060408385031215613cc757600080fd5b6000613cd585828601613a9e565b9250506020613ce685828601613ab3565b9150509250929050565b60008060408385031215613d0357600080fd5b6000613d1185828601613a9e565b9250506020613d2285828601613b5b565b9150509250929050565b600060208284031215613d3e57600080fd5b6000613d4c84828501613ac8565b91505092915050565b600060208284031215613d6757600080fd5b6000613d7584828501613add565b91505092915050565b600060208284031215613d9057600080fd5b6000613d9e84828501613af2565b91505092915050565b600060208284031215613db957600080fd5b600082013567ffffffffffffffff811115613dd357600080fd5b613ddf84828501613b31565b91505092915050565b600060208284031215613dfa57600080fd5b6000613e0884828501613b5b565b91505092915050565b600060208284031215613e2357600080fd5b6000613e3184828501613b70565b91505092915050565b6000613e4683836143e0565b60208301905092915050565b613e5b81614be9565b82525050565b6000613e6c82614a68565b613e768185614a96565b9350613e8183614a58565b8060005b83811015613eb2578151613e998882613e3a565b9750613ea483614a89565b925050600181019050613e85565b5085935050505092915050565b613ec881614bfb565b82525050565b6000613ed982614a73565b613ee38185614aa7565b9350613ef3818560208601614c90565b613efc81614e5c565b840191505092915050565b613f1081614c5d565b82525050565b6000613f2182614a7e565b613f2b8185614ab8565b9350613f3b818560208601614c90565b613f4481614e5c565b840191505092915050565b6000613f5a82614a7e565b613f648185614ac9565b9350613f74818560208601614c90565b80840191505092915050565b6000613f8d602b83614ab8565b9150613f9882614e6d565b604082019050919050565b6000613fb0601483614ab8565b9150613fbb82614ebc565b602082019050919050565b6000613fd3602b83614ab8565b9150613fde82614ee5565b604082019050919050565b6000613ff6603283614ab8565b915061400182614f34565b604082019050919050565b6000614019602683614ab8565b915061402482614f83565b604082019050919050565b600061403c603383614ab8565b915061404782614fd2565b604082019050919050565b600061405f601c83614ab8565b915061406a82615021565b602082019050919050565b6000614082602c83614ab8565b915061408d8261504a565b604082019050919050565b60006140a5602483614ab8565b91506140b082615099565b604082019050919050565b60006140c8601983614ab8565b91506140d3826150e8565b602082019050919050565b60006140eb602c83614ab8565b91506140f682615111565b604082019050919050565b600061410e603183614ab8565b915061411982615160565b604082019050919050565b6000614131601083614ab8565b915061413c826151af565b602082019050919050565b6000614154602283614ab8565b915061415f826151d8565b604082019050919050565b6000614177603883614ab8565b915061418282615227565b604082019050919050565b600061419a602a83614ab8565b91506141a582615276565b604082019050919050565b60006141bd602983614ab8565b91506141c8826152c5565b604082019050919050565b60006141e0602483614ab8565b91506141eb82615314565b604082019050919050565b6000614203602083614ab8565b915061420e82615363565b602082019050919050565b6000614226602c83614ab8565b91506142318261538c565b604082019050919050565b6000614249602083614ab8565b9150614254826153db565b602082019050919050565b600061426c602c83614ab8565b915061427782615404565b604082019050919050565b600061428f602983614ab8565b915061429a82615453565b604082019050919050565b60006142b2602f83614ab8565b91506142bd826154a2565b604082019050919050565b60006142d5603283614ab8565b91506142e0826154f1565b604082019050919050565b60006142f8602183614ab8565b915061430382615540565b604082019050919050565b600061431b603183614ab8565b91506143268261558f565b604082019050919050565b600061433e602c83614ab8565b9150614349826155de565b604082019050919050565b6000614361603383614ab8565b915061436c8261562d565b604082019050919050565b6000614384602a83614ab8565b915061438f8261567c565b604082019050919050565b60006143a7602983614ab8565b91506143b2826156cb565b604082019050919050565b60006143ca603083614ab8565b91506143d58261571a565b604082019050919050565b6143e981614c53565b82525050565b6143f881614c53565b82525050565b600061440a8285613f4f565b91506144168284613f4f565b91508190509392505050565b60006020820190506144376000830184613e52565b92915050565b60006040820190506144526000830185613e52565b61445f6020830184613e52565b9392505050565b600060608201905061447b6000830186613e52565b6144886020830185613e52565b61449560408301846143ef565b949350505050565b60006080820190506144b26000830187613e52565b6144bf6020830186613e52565b6144cc60408301856143ef565b81810360608301526144de8184613ece565b905095945050505050565b60006040820190506144fe6000830185613e52565b61450b60208301846143ef565b9392505050565b60006020820190506145276000830184613ebf565b92915050565b60006020820190506145426000830184613f07565b92915050565b600060208201905081810360008301526145628184613f16565b905092915050565b6000602082019050818103600083015261458381613f80565b9050919050565b600060208201905081810360008301526145a381613fa3565b9050919050565b600060208201905081810360008301526145c381613fc6565b9050919050565b600060208201905081810360008301526145e381613fe9565b9050919050565b600060208201905081810360008301526146038161400c565b9050919050565b600060208201905081810360008301526146238161402f565b9050919050565b6000602082019050818103600083015261464381614052565b9050919050565b6000602082019050818103600083015261466381614075565b9050919050565b6000602082019050818103600083015261468381614098565b9050919050565b600060208201905081810360008301526146a3816140bb565b9050919050565b600060208201905081810360008301526146c3816140de565b9050919050565b600060208201905081810360008301526146e381614101565b9050919050565b6000602082019050818103600083015261470381614124565b9050919050565b6000602082019050818103600083015261472381614147565b9050919050565b600060208201905081810360008301526147438161416a565b9050919050565b600060208201905081810360008301526147638161418d565b9050919050565b60006020820190508181036000830152614783816141b0565b9050919050565b600060208201905081810360008301526147a3816141d3565b9050919050565b600060208201905081810360008301526147c3816141f6565b9050919050565b600060208201905081810360008301526147e381614219565b9050919050565b600060208201905081810360008301526148038161423c565b9050919050565b600060208201905081810360008301526148238161425f565b9050919050565b6000602082019050818103600083015261484381614282565b9050919050565b60006020820190508181036000830152614863816142a5565b9050919050565b60006020820190508181036000830152614883816142c8565b9050919050565b600060208201905081810360008301526148a3816142eb565b9050919050565b600060208201905081810360008301526148c38161430e565b9050919050565b600060208201905081810360008301526148e381614331565b9050919050565b6000602082019050818103600083015261490381614354565b9050919050565b6000602082019050818103600083015261492381614377565b9050919050565b600060208201905081810360008301526149438161439a565b9050919050565b60006020820190508181036000830152614963816143bd565b9050919050565b600060208201905061497f60008301846143ef565b92915050565b600060808201905061499a60008301876143ef565b6149a76020830186613e52565b6149b460408301856143ef565b81810360608301526149c68184613e61565b905095945050505050565b60006149db6149ec565b90506149e78282614cf5565b919050565b6000604051905090565b600067ffffffffffffffff821115614a1157614a10614e2d565b5b614a1a82614e5c565b9050602081019050919050565b600067ffffffffffffffff821115614a4257614a41614e2d565b5b614a4b82614e5c565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614adf82614c53565b9150614aea83614c53565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b1f57614b1e614da0565b5b828201905092915050565b6000614b3582614c53565b9150614b4083614c53565b925082614b5057614b4f614dcf565b5b828204905092915050565b6000614b6682614c53565b9150614b7183614c53565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614baa57614ba9614da0565b5b828202905092915050565b6000614bc082614c53565b9150614bcb83614c53565b925082821015614bde57614bdd614da0565b5b828203905092915050565b6000614bf482614c33565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614c6882614c6f565b9050919050565b6000614c7a82614c33565b9050919050565b82818337600083830152505050565b60005b83811015614cae578082015181840152602081019050614c93565b83811115614cbd576000848401525b50505050565b60006002820490506001821680614cdb57607f821691505b60208210811415614cef57614cee614dfe565b5b50919050565b614cfe82614e5c565b810181811067ffffffffffffffff82111715614d1d57614d1c614e2d565b5b80604052505050565b6000614d3182614c53565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614d6457614d63614da0565b5b600182019050919050565b6000614d7a82614c53565b9150614d8583614c53565b925082614d9557614d94614dcf565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732315061757361626c653a20746f6b656e207472616e73666572207760008201527f68696c6520706175736564000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f54696b695069677a3a20496e73756666696369656e742048756c6120616c6c6f60008201527f77616e636520746f20636c61696d205069677a00000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f54696b695069677a3a2043616e206f6e6c79206d75746174652061207069672060008201527f7468617420796f75206f776e0000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f54696b695069677a3a20496e73756666696369656e742048756c612062616c6160008201527f6e636520746f206d757461746520706967000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f54696b695069677a3a205069672063616e206f6e6c79206d7574617465206f6e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f54696b695069677a3a204d75737420636c61696d2061746c65617374206f6e6560008201527f2050696700000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54696b695069677a3a20416c6c205069677a206861766520616c72656164792060008201527f6265656e20636c61696d65640000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f54696b695069677a3a20436c61696d2077696c6c20657863656564206d61786960008201527f6d756d20617661696c61626c65205069677a0000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f54696b695069677a3a20496e73756666696369656e742048756c6120616c6c6f60008201527f77616e636520746f206d75746174652070696700000000000000000000000000602082015250565b7f54696b695069677a3a2043616e6e6f74206d7574617465205069677a2061742060008201527f746865206d6f6d656e7400000000000000000000000000000000000000000000602082015250565b7f54696b695069677a3a2043616e6e6f7420636c61696d205069677a206174207460008201527f6865206d6f6d656e740000000000000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b61577281614be9565b811461577d57600080fd5b50565b61578981614bfb565b811461579457600080fd5b50565b6157a081614c07565b81146157ab57600080fd5b50565b6157b781614c53565b81146157c257600080fd5b5056fea2646970667358221220a633b63839649ce8a06c0f4773ce3a756a95b36bcc8dc4970b93abcb8ec384c764736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000600000000000000000000000003608aaa2623dcb3dd0105d93a44da65dcdf9a58600000000000000000000000029803972b56ce5cad6f13815af7ffef34cbbedd3000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d5944756b425251487237466b4a4b7139367937663577706972333773673735636351634a417a48564b61705000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102695760003560e01c8063615044141161015157806397d211c2116100c3578063b88d4fde11610087578063b88d4fde1461068e578063bc83574f146106aa578063c87b56dd146106c6578063dd51babf146106f6578063e985e9c514610714578063f2fde38b1461074457610269565b806397d211c214610622578063a035b1fe14610640578063a0ef91df1461065e578063a22cb46514610668578063a7242e8c1461068457610269565b8063715018a611610115578063715018a61461059a5780637e8184db146105a45780638456cb59146105c05780638da5cb5b146105ca57806391b7f5ed146105e857806395d89b411461060457610269565b806361504414146104e25780636352211e1461050057806366fcb2631461053057806370736e6a1461054e57806370a082311461056a57610269565b80632866ed21116101ea57806342842e0e116101ae57806342842e0e1461043657806342966c68146104525780634f6ccce71461046e57806355f804b31461049e5780635c975abb146104ba5780635f76aeea146104d857610269565b80632866ed21146103b85780632ac05c91146103d65780632f745c59146103f25780633f4ba83a14610422578063426e1f111461042c57610269565b806310da2eb91161023157806310da2eb91461032457806318160ddd146103425780631974c998146103605780631b04fab91461037e57806323b872dd1461039c57610269565b806301ffc9a71461026e57806306fdde031461029e578063081812fc146102bc578063095ea7b3146102ec5780630ed81dfe14610308575b600080fd5b61028860048036038101906102839190613d55565b610760565b6040516102959190614512565b60405180910390f35b6102a6610772565b6040516102b39190614548565b60405180910390f35b6102d660048036038101906102d19190613de8565b610804565b6040516102e39190614422565b60405180910390f35b61030660048036038101906103019190613cf0565b610889565b005b610322600480360381019061031d9190613b85565b6109a1565b005b61032c610a96565b6040516103399190614548565b60405180910390f35b61034a610b24565b604051610357919061496a565b60405180910390f35b610368610b31565b604051610375919061496a565b60405180910390f35b610386610b37565b604051610393919061452d565b60405180910390f35b6103b660048036038101906103b19190613bea565b610b5d565b005b6103c0610bbd565b6040516103cd9190614512565b60405180910390f35b6103f060048036038101906103eb9190613de8565b610bd0565b005b61040c60048036038101906104079190613cf0565b610ff6565b604051610419919061496a565b60405180910390f35b61042a61109b565b005b610434611121565b005b610450600480360381019061044b9190613bea565b611306565b005b61046c60048036038101906104679190613de8565b611326565b005b61048860048036038101906104839190613de8565b611382565b604051610495919061496a565b60405180910390f35b6104b860048036038101906104b39190613da7565b611419565b005b6104c26114af565b6040516104cf9190614512565b60405180910390f35b6104e06114c6565b005b6104ea61156e565b6040516104f79190614422565b60405180910390f35b61051a60048036038101906105159190613de8565b611594565b6040516105279190614422565b60405180910390f35b610538611646565b6040516105459190614512565b60405180910390f35b61056860048036038101906105639190613de8565b611659565b005b610584600480360381019061057f9190613b85565b611700565b604051610591919061496a565b60405180910390f35b6105a26117b8565b005b6105be60048036038101906105b99190613de8565b611840565b005b6105c8611c8f565b005b6105d2611d15565b6040516105df9190614422565b60405180910390f35b61060260048036038101906105fd9190613de8565b611d3e565b005b61060c611dc4565b6040516106199190614548565b60405180910390f35b61062a611e56565b604051610637919061496a565b60405180910390f35b610648611e5c565b604051610655919061496a565b60405180910390f35b610666611e62565b005b610682600480360381019061067d9190613cb4565b611f3a565b005b61068c6120bb565b005b6106a860048036038101906106a39190613c39565b612163565b005b6106c460048036038101906106bf9190613de8565b6121c5565b005b6106e060048036038101906106db9190613de8565b61224b565b6040516106ed9190614548565b60405180910390f35b6106fe6122f2565b60405161070b919061496a565b60405180910390f35b61072e60048036038101906107299190613bae565b612303565b60405161073b9190614512565b60405180910390f35b61075e60048036038101906107599190613b85565b612397565b005b600061076b8261248f565b9050919050565b60606001805461078190614cc3565b80601f01602080910402602001604051908101604052809291908181526020018280546107ad90614cc3565b80156107fa5780601f106107cf576101008083540402835291602001916107fa565b820191906000526020600020905b8154815290600101906020018083116107dd57829003601f168201915b5050505050905090565b600061080f82612509565b61084e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610845906147ca565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061089482611594565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610905576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fc9061488a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610924612575565b73ffffffffffffffffffffffffffffffffffffffff16148061095357506109528161094d612575565b612303565b5b610992576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109899061472a565b60405180910390fd5b61099c838361257d565b505050565b6109a9612575565b73ffffffffffffffffffffffffffffffffffffffff166109c7611d15565b73ffffffffffffffffffffffffffffffffffffffff1614610a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a14906147ea565b60405180910390fd5b6107d0610a2a600c612636565b10610a6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a619061480a565b60405180910390fd5b610a89816001610a7a600c612636565b610a849190614ad4565b612644565b610a93600c612662565b50565b60108054610aa390614cc3565b80601f0160208091040260200160405190810160405280929190818152602001828054610acf90614cc3565b8015610b1c5780601f10610af157610100808354040283529160200191610b1c565b820191906000526020600020905b815481529060010190602001808311610aff57829003601f168201915b505050505081565b6000600980549050905090565b600f5481565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610b6e610b68612575565b82612678565b610bad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba4906148aa565b60405180910390fd5b610bb8838383612756565b505050565b600d60009054906101000a900460ff1681565b6000610bda612575565b9050600d60009054906101000a900460ff16610c2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c229061492a565b60405180910390fd5b6107d082610c39600c612636565b610c439190614ad4565b1115610c84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7b9061486a565b60405180910390fd5b60008211610cc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbe9061478a565b60405180910390fd5b81600e54610cd59190614b5b565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e83306040518363ffffffff1660e01b8152600401610d3292919061443d565b60206040518083038186803b158015610d4a57600080fd5b505afa158015610d5e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d829190613e11565b1015610dc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dba9061460a565b60405180910390fd5b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd82601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685600e54610e339190614b5b565b6040518463ffffffff1660e01b8152600401610e5193929190614466565b602060405180830381600087803b158015610e6b57600080fd5b505af1158015610e7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea39190613d2c565b5060008267ffffffffffffffff811115610ee6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610f145781602001602082028036833780820191505090505b50905060005b83811015610faa5760006001610f30600c612636565b610f3a9190614ad4565b905080838381518110610f76577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050610f8c8482612644565b610f96600c612662565b508080610fa290614d26565b915050610f1a565b507fab4342e652311b3e8efca127b7914b54c47fc7f0675ae3122063e6a4edf3ffd4610fd6600c612636565b838584604051610fe99493929190614985565b60405180910390a1505050565b600061100183611700565b8210611042576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611039906145aa565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6110a3612575565b73ffffffffffffffffffffffffffffffffffffffff166110c1611d15565b73ffffffffffffffffffffffffffffffffffffffff1614611117576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110e906147ea565b60405180910390fd5b61111f6129b2565b565b611129612575565b73ffffffffffffffffffffffffffffffffffffffff16611147611d15565b73ffffffffffffffffffffffffffffffffffffffff161461119d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611194906147ea565b60405180910390fd5b6000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016111fa9190614422565b60206040518083038186803b15801561121257600080fd5b505afa158015611226573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124a9190613e11565b9050601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb611292612575565b836040518363ffffffff1660e01b81526004016112b09291906144e9565b602060405180830381600087803b1580156112ca57600080fd5b505af11580156112de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113029190613d2c565b5050565b61132183838360405180602001604052806000815250612163565b505050565b611337611331612575565b82612678565b611376576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136d9061494a565b60405180910390fd5b61137f81612a54565b50565b600061138c610b24565b82106113cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c4906148ca565b60405180910390fd5b60098281548110611407577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b611421612575565b73ffffffffffffffffffffffffffffffffffffffff1661143f611d15565b73ffffffffffffffffffffffffffffffffffffffff1614611495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148c906147ea565b60405180910390fd5b80601090805190602001906114ab92919061397f565b5050565b6000600b60009054906101000a900460ff16905090565b6114ce612575565b73ffffffffffffffffffffffffffffffffffffffff166114ec611d15565b73ffffffffffffffffffffffffffffffffffffffff1614611542576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611539906147ea565b60405180910390fd5b600d60019054906101000a900460ff1615600d60016101000a81548160ff021916908315150217905550565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561163d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116349061476a565b60405180910390fd5b80915050919050565b600d60019054906101000a900460ff1681565b611661612575565b73ffffffffffffffffffffffffffffffffffffffff1661167f611d15565b73ffffffffffffffffffffffffffffffffffffffff16146116d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cc906147ea565b60405180910390fd5b60005b818110156116fc576116e9336109a1565b80806116f490614d26565b9150506116d8565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611771576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117689061474a565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6117c0612575565b73ffffffffffffffffffffffffffffffffffffffff166117de611d15565b73ffffffffffffffffffffffffffffffffffffffff1614611834576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182b906147ea565b60405180910390fd5b61183e6000612b65565b565b600061184a612575565b9050600d60019054906101000a900460ff1661189b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118929061490a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166118bb83611594565b73ffffffffffffffffffffffffffffffffffffffff1614611911576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119089061464a565b60405180910390fd5b6013600083815260200190815260200160002060009054906101000a900460ff1615611972576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119699061470a565b60405180910390fd5b600f54601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b81526004016119d09190614422565b60206040518083038186803b1580156119e857600080fd5b505afa1580156119fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a209190613e11565b1015611a61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a58906146ca565b60405180910390fd5b600f54601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e83306040518363ffffffff1660e01b8152600401611ac192919061443d565b60206040518083038186803b158015611ad957600080fd5b505afa158015611aed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b119190613e11565b1015611b52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b49906148ea565b60405180910390fd5b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd82601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600f546040518463ffffffff1660e01b8152600401611bd593929190614466565b602060405180830381600087803b158015611bef57600080fd5b505af1158015611c03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c279190613d2c565b5060016013600084815260200190815260200160002060006101000a81548160ff0219169083151502179055507f4150eb2d36130edb79e1e1c2d1f8a3e92e73145e6ffdec37ff27d83b94b24a8c82604051611c83919061496a565b60405180910390a15050565b611c97612575565b73ffffffffffffffffffffffffffffffffffffffff16611cb5611d15565b73ffffffffffffffffffffffffffffffffffffffff1614611d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d02906147ea565b60405180910390fd5b611d13612c29565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611d46612575565b73ffffffffffffffffffffffffffffffffffffffff16611d64611d15565b73ffffffffffffffffffffffffffffffffffffffff1614611dba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db1906147ea565b60405180910390fd5b80600e8190555050565b606060028054611dd390614cc3565b80601f0160208091040260200160405190810160405280929190818152602001828054611dff90614cc3565b8015611e4c5780601f10611e2157610100808354040283529160200191611e4c565b820191906000526020600020905b815481529060010190602001808311611e2f57829003601f168201915b5050505050905090565b6107d081565b600e5481565b611e6a612575565b73ffffffffffffffffffffffffffffffffffffffff16611e88611d15565b73ffffffffffffffffffffffffffffffffffffffff1614611ede576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed5906147ea565b60405180910390fd5b60004790506000611eed612575565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015611f35573d6000803e3d6000fd5b505050565b611f42612575565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa79061468a565b60405180910390fd5b8060066000611fbd612575565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661206a612575565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120af9190614512565b60405180910390a35050565b6120c3612575565b73ffffffffffffffffffffffffffffffffffffffff166120e1611d15565b73ffffffffffffffffffffffffffffffffffffffff1614612137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212e906147ea565b60405180910390fd5b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b61217461216e612575565b83612678565b6121b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121aa906148aa565b60405180910390fd5b6121bf84848484612ccc565b50505050565b6121cd612575565b73ffffffffffffffffffffffffffffffffffffffff166121eb611d15565b73ffffffffffffffffffffffffffffffffffffffff1614612241576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612238906147ea565b60405180910390fd5b80600f8190555050565b606061225682612509565b612295576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228c9061484a565b60405180910390fd5b600061229f612d28565b905060008151116122bf57604051806020016040528060008152506122ea565b806122c984612dba565b6040516020016122da9291906143fe565b6040516020818303038152906040525b915050919050565b60006122fe600c612636565b905090565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61239f612575565b73ffffffffffffffffffffffffffffffffffffffff166123bd611d15565b73ffffffffffffffffffffffffffffffffffffffff1614612413576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240a906147ea565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612483576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247a906145ea565b60405180910390fd5b61248c81612b65565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612502575061250182612f67565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166125f083611594565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b61265e828260405180602001604052806000815250613049565b5050565b6001816000016000828254019250508190555050565b600061268382612509565b6126c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b9906146aa565b60405180910390fd5b60006126cd83611594565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061273c57508373ffffffffffffffffffffffffffffffffffffffff1661272484610804565b73ffffffffffffffffffffffffffffffffffffffff16145b8061274d575061274c8185612303565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661277682611594565b73ffffffffffffffffffffffffffffffffffffffff16146127cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c39061482a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561283c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128339061466a565b60405180910390fd5b6128478383836130a4565b61285260008261257d565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128a29190614bb5565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128f99190614ad4565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6129ba6114af565b6129f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129f09061458a565b60405180910390fd5b6000600b60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612a3d612575565b604051612a4a9190614422565b60405180910390a1565b6000612a5f82611594565b9050612a6d816000846130a4565b612a7860008361257d565b6001600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ac89190614bb5565b925050819055506003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612c316114af565b15612c71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c68906146ea565b60405180910390fd5b6001600b60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612cb5612575565b604051612cc29190614422565b60405180910390a1565b612cd7848484612756565b612ce3848484846130b4565b612d22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d19906145ca565b60405180910390fd5b50505050565b606060108054612d3790614cc3565b80601f0160208091040260200160405190810160405280929190818152602001828054612d6390614cc3565b8015612db05780601f10612d8557610100808354040283529160200191612db0565b820191906000526020600020905b815481529060010190602001808311612d9357829003601f168201915b5050505050905090565b60606000821415612e02576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612f62565b600082905060005b60008214612e34578080612e1d90614d26565b915050600a82612e2d9190614b2a565b9150612e0a565b60008167ffffffffffffffff811115612e76577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612ea85781602001600182028036833780820191505090505b5090505b60008514612f5b57600182612ec19190614bb5565b9150600a85612ed09190614d6f565b6030612edc9190614ad4565b60f81b818381518110612f18577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612f549190614b2a565b9450612eac565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061303257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061304257506130418261324b565b5b9050919050565b61305383836132b5565b61306060008484846130b4565b61309f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613096906145ca565b60405180910390fd5b505050565b6130af838383613483565b505050565b60006130d58473ffffffffffffffffffffffffffffffffffffffff166134db565b1561323e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026130fe612575565b8786866040518563ffffffff1660e01b8152600401613120949392919061449d565b602060405180830381600087803b15801561313a57600080fd5b505af192505050801561316b57506040513d601f19601f820116820180604052508101906131689190613d7e565b60015b6131ee573d806000811461319b576040519150601f19603f3d011682016040523d82523d6000602084013e6131a0565b606091505b506000815114156131e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131dd906145ca565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613243565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613325576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161331c906147aa565b60405180910390fd5b61332e81612509565b1561336e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133659061462a565b60405180910390fd5b61337a600083836130a4565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546133ca9190614ad4565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b61348e8383836134ee565b6134966114af565b156134d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134cd9061456a565b60405180910390fd5b505050565b600080823b905060008111915050919050565b6134f9838383613602565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561353c5761353781613607565b61357b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461357a576135798382613650565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135be576135b9816137bd565b6135fd565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146135fc576135fb8282613900565b5b5b505050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161365d84611700565b6136679190614bb5565b905060006008600084815260200190815260200160002054905081811461374c576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506137d19190614bb5565b90506000600a6000848152602001908152602001600020549050600060098381548110613827577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806009838154811061386f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a60008581526020019081526020016000206000905560098054806138e4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061390b83611700565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b82805461398b90614cc3565b90600052602060002090601f0160209004810192826139ad57600085556139f4565b82601f106139c657805160ff19168380011785556139f4565b828001600101855582156139f4579182015b828111156139f35782518255916020019190600101906139d8565b5b509050613a019190613a05565b5090565b5b80821115613a1e576000816000905550600101613a06565b5090565b6000613a35613a30846149f6565b6149d1565b905082815260208101848484011115613a4d57600080fd5b613a58848285614c81565b509392505050565b6000613a73613a6e84614a27565b6149d1565b905082815260208101848484011115613a8b57600080fd5b613a96848285614c81565b509392505050565b600081359050613aad81615769565b92915050565b600081359050613ac281615780565b92915050565b600081519050613ad781615780565b92915050565b600081359050613aec81615797565b92915050565b600081519050613b0181615797565b92915050565b600082601f830112613b1857600080fd5b8135613b28848260208601613a22565b91505092915050565b600082601f830112613b4257600080fd5b8135613b52848260208601613a60565b91505092915050565b600081359050613b6a816157ae565b92915050565b600081519050613b7f816157ae565b92915050565b600060208284031215613b9757600080fd5b6000613ba584828501613a9e565b91505092915050565b60008060408385031215613bc157600080fd5b6000613bcf85828601613a9e565b9250506020613be085828601613a9e565b9150509250929050565b600080600060608486031215613bff57600080fd5b6000613c0d86828701613a9e565b9350506020613c1e86828701613a9e565b9250506040613c2f86828701613b5b565b9150509250925092565b60008060008060808587031215613c4f57600080fd5b6000613c5d87828801613a9e565b9450506020613c6e87828801613a9e565b9350506040613c7f87828801613b5b565b925050606085013567ffffffffffffffff811115613c9c57600080fd5b613ca887828801613b07565b91505092959194509250565b60008060408385031215613cc757600080fd5b6000613cd585828601613a9e565b9250506020613ce685828601613ab3565b9150509250929050565b60008060408385031215613d0357600080fd5b6000613d1185828601613a9e565b9250506020613d2285828601613b5b565b9150509250929050565b600060208284031215613d3e57600080fd5b6000613d4c84828501613ac8565b91505092915050565b600060208284031215613d6757600080fd5b6000613d7584828501613add565b91505092915050565b600060208284031215613d9057600080fd5b6000613d9e84828501613af2565b91505092915050565b600060208284031215613db957600080fd5b600082013567ffffffffffffffff811115613dd357600080fd5b613ddf84828501613b31565b91505092915050565b600060208284031215613dfa57600080fd5b6000613e0884828501613b5b565b91505092915050565b600060208284031215613e2357600080fd5b6000613e3184828501613b70565b91505092915050565b6000613e4683836143e0565b60208301905092915050565b613e5b81614be9565b82525050565b6000613e6c82614a68565b613e768185614a96565b9350613e8183614a58565b8060005b83811015613eb2578151613e998882613e3a565b9750613ea483614a89565b925050600181019050613e85565b5085935050505092915050565b613ec881614bfb565b82525050565b6000613ed982614a73565b613ee38185614aa7565b9350613ef3818560208601614c90565b613efc81614e5c565b840191505092915050565b613f1081614c5d565b82525050565b6000613f2182614a7e565b613f2b8185614ab8565b9350613f3b818560208601614c90565b613f4481614e5c565b840191505092915050565b6000613f5a82614a7e565b613f648185614ac9565b9350613f74818560208601614c90565b80840191505092915050565b6000613f8d602b83614ab8565b9150613f9882614e6d565b604082019050919050565b6000613fb0601483614ab8565b9150613fbb82614ebc565b602082019050919050565b6000613fd3602b83614ab8565b9150613fde82614ee5565b604082019050919050565b6000613ff6603283614ab8565b915061400182614f34565b604082019050919050565b6000614019602683614ab8565b915061402482614f83565b604082019050919050565b600061403c603383614ab8565b915061404782614fd2565b604082019050919050565b600061405f601c83614ab8565b915061406a82615021565b602082019050919050565b6000614082602c83614ab8565b915061408d8261504a565b604082019050919050565b60006140a5602483614ab8565b91506140b082615099565b604082019050919050565b60006140c8601983614ab8565b91506140d3826150e8565b602082019050919050565b60006140eb602c83614ab8565b91506140f682615111565b604082019050919050565b600061410e603183614ab8565b915061411982615160565b604082019050919050565b6000614131601083614ab8565b915061413c826151af565b602082019050919050565b6000614154602283614ab8565b915061415f826151d8565b604082019050919050565b6000614177603883614ab8565b915061418282615227565b604082019050919050565b600061419a602a83614ab8565b91506141a582615276565b604082019050919050565b60006141bd602983614ab8565b91506141c8826152c5565b604082019050919050565b60006141e0602483614ab8565b91506141eb82615314565b604082019050919050565b6000614203602083614ab8565b915061420e82615363565b602082019050919050565b6000614226602c83614ab8565b91506142318261538c565b604082019050919050565b6000614249602083614ab8565b9150614254826153db565b602082019050919050565b600061426c602c83614ab8565b915061427782615404565b604082019050919050565b600061428f602983614ab8565b915061429a82615453565b604082019050919050565b60006142b2602f83614ab8565b91506142bd826154a2565b604082019050919050565b60006142d5603283614ab8565b91506142e0826154f1565b604082019050919050565b60006142f8602183614ab8565b915061430382615540565b604082019050919050565b600061431b603183614ab8565b91506143268261558f565b604082019050919050565b600061433e602c83614ab8565b9150614349826155de565b604082019050919050565b6000614361603383614ab8565b915061436c8261562d565b604082019050919050565b6000614384602a83614ab8565b915061438f8261567c565b604082019050919050565b60006143a7602983614ab8565b91506143b2826156cb565b604082019050919050565b60006143ca603083614ab8565b91506143d58261571a565b604082019050919050565b6143e981614c53565b82525050565b6143f881614c53565b82525050565b600061440a8285613f4f565b91506144168284613f4f565b91508190509392505050565b60006020820190506144376000830184613e52565b92915050565b60006040820190506144526000830185613e52565b61445f6020830184613e52565b9392505050565b600060608201905061447b6000830186613e52565b6144886020830185613e52565b61449560408301846143ef565b949350505050565b60006080820190506144b26000830187613e52565b6144bf6020830186613e52565b6144cc60408301856143ef565b81810360608301526144de8184613ece565b905095945050505050565b60006040820190506144fe6000830185613e52565b61450b60208301846143ef565b9392505050565b60006020820190506145276000830184613ebf565b92915050565b60006020820190506145426000830184613f07565b92915050565b600060208201905081810360008301526145628184613f16565b905092915050565b6000602082019050818103600083015261458381613f80565b9050919050565b600060208201905081810360008301526145a381613fa3565b9050919050565b600060208201905081810360008301526145c381613fc6565b9050919050565b600060208201905081810360008301526145e381613fe9565b9050919050565b600060208201905081810360008301526146038161400c565b9050919050565b600060208201905081810360008301526146238161402f565b9050919050565b6000602082019050818103600083015261464381614052565b9050919050565b6000602082019050818103600083015261466381614075565b9050919050565b6000602082019050818103600083015261468381614098565b9050919050565b600060208201905081810360008301526146a3816140bb565b9050919050565b600060208201905081810360008301526146c3816140de565b9050919050565b600060208201905081810360008301526146e381614101565b9050919050565b6000602082019050818103600083015261470381614124565b9050919050565b6000602082019050818103600083015261472381614147565b9050919050565b600060208201905081810360008301526147438161416a565b9050919050565b600060208201905081810360008301526147638161418d565b9050919050565b60006020820190508181036000830152614783816141b0565b9050919050565b600060208201905081810360008301526147a3816141d3565b9050919050565b600060208201905081810360008301526147c3816141f6565b9050919050565b600060208201905081810360008301526147e381614219565b9050919050565b600060208201905081810360008301526148038161423c565b9050919050565b600060208201905081810360008301526148238161425f565b9050919050565b6000602082019050818103600083015261484381614282565b9050919050565b60006020820190508181036000830152614863816142a5565b9050919050565b60006020820190508181036000830152614883816142c8565b9050919050565b600060208201905081810360008301526148a3816142eb565b9050919050565b600060208201905081810360008301526148c38161430e565b9050919050565b600060208201905081810360008301526148e381614331565b9050919050565b6000602082019050818103600083015261490381614354565b9050919050565b6000602082019050818103600083015261492381614377565b9050919050565b600060208201905081810360008301526149438161439a565b9050919050565b60006020820190508181036000830152614963816143bd565b9050919050565b600060208201905061497f60008301846143ef565b92915050565b600060808201905061499a60008301876143ef565b6149a76020830186613e52565b6149b460408301856143ef565b81810360608301526149c68184613e61565b905095945050505050565b60006149db6149ec565b90506149e78282614cf5565b919050565b6000604051905090565b600067ffffffffffffffff821115614a1157614a10614e2d565b5b614a1a82614e5c565b9050602081019050919050565b600067ffffffffffffffff821115614a4257614a41614e2d565b5b614a4b82614e5c565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614adf82614c53565b9150614aea83614c53565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b1f57614b1e614da0565b5b828201905092915050565b6000614b3582614c53565b9150614b4083614c53565b925082614b5057614b4f614dcf565b5b828204905092915050565b6000614b6682614c53565b9150614b7183614c53565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614baa57614ba9614da0565b5b828202905092915050565b6000614bc082614c53565b9150614bcb83614c53565b925082821015614bde57614bdd614da0565b5b828203905092915050565b6000614bf482614c33565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614c6882614c6f565b9050919050565b6000614c7a82614c33565b9050919050565b82818337600083830152505050565b60005b83811015614cae578082015181840152602081019050614c93565b83811115614cbd576000848401525b50505050565b60006002820490506001821680614cdb57607f821691505b60208210811415614cef57614cee614dfe565b5b50919050565b614cfe82614e5c565b810181811067ffffffffffffffff82111715614d1d57614d1c614e2d565b5b80604052505050565b6000614d3182614c53565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614d6457614d63614da0565b5b600182019050919050565b6000614d7a82614c53565b9150614d8583614c53565b925082614d9557614d94614dcf565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732315061757361626c653a20746f6b656e207472616e73666572207760008201527f68696c6520706175736564000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f54696b695069677a3a20496e73756666696369656e742048756c6120616c6c6f60008201527f77616e636520746f20636c61696d205069677a00000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f54696b695069677a3a2043616e206f6e6c79206d75746174652061207069672060008201527f7468617420796f75206f776e0000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f54696b695069677a3a20496e73756666696369656e742048756c612062616c6160008201527f6e636520746f206d757461746520706967000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f54696b695069677a3a205069672063616e206f6e6c79206d7574617465206f6e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f54696b695069677a3a204d75737420636c61696d2061746c65617374206f6e6560008201527f2050696700000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54696b695069677a3a20416c6c205069677a206861766520616c72656164792060008201527f6265656e20636c61696d65640000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f54696b695069677a3a20436c61696d2077696c6c20657863656564206d61786960008201527f6d756d20617661696c61626c65205069677a0000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f54696b695069677a3a20496e73756666696369656e742048756c6120616c6c6f60008201527f77616e636520746f206d75746174652070696700000000000000000000000000602082015250565b7f54696b695069677a3a2043616e6e6f74206d7574617465205069677a2061742060008201527f746865206d6f6d656e7400000000000000000000000000000000000000000000602082015250565b7f54696b695069677a3a2043616e6e6f7420636c61696d205069677a206174207460008201527f6865206d6f6d656e740000000000000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b61577281614be9565b811461577d57600080fd5b50565b61578981614bfb565b811461579457600080fd5b50565b6157a081614c07565b81146157ab57600080fd5b50565b6157b781614c53565b81146157c257600080fd5b5056fea2646970667358221220a633b63839649ce8a06c0f4773ce3a756a95b36bcc8dc4970b93abcb8ec384c764736f6c63430008040033

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

00000000000000000000000000000000000000000000000000000000000000600000000000000000000000003608aaa2623dcb3dd0105d93a44da65dcdf9a58600000000000000000000000029803972b56ce5cad6f13815af7ffef34cbbedd3000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d5944756b425251487237466b4a4b7139367937663577706972333773673735636351634a417a48564b61705000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _metadataBaseURL (string): https://gateway.pinata.cloud/ipfs/QmYDukBRQHr7FkJKq96y7f5wpir37sg75ccQcJAzHVKapP
Arg [1] : _hulaContractAddress (address): 0x3608aAa2623DCB3dD0105D93a44Da65dCdf9A586
Arg [2] : _hulaTreasury (address): 0x29803972b56Ce5caD6F13815AF7ffEF34cBBeDd3

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 0000000000000000000000003608aaa2623dcb3dd0105d93a44da65dcdf9a586
Arg [2] : 00000000000000000000000029803972b56ce5cad6f13815af7ffef34cbbedd3
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000050
Arg [4] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [5] : 732f516d5944756b425251487237466b4a4b7139367937663577706972333773
Arg [6] : 673735636351634a417a48564b61705000000000000000000000000000000000


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.