ETH Price: $2,609.19 (-2.72%)
 

Overview

Max Total Supply

100 CMT

Holders

65

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
theirritant.eth
Balance
1 CMT
0xa501ec048fb89e3bd3e1354751a2c04e953afb6f
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:
Commit

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion
File 1 of 18 : Commit.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

/// @dev OpenZeppelin contracts v5.0.2
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/Base64.sol";

/// @title Commit
/// @author Unruly Unroll, 2024
/// @notice https://commit.unrulyunroll.xyz
contract Commit is ERC721, ReentrancyGuard, Ownable, ERC2981 {
    using Strings for uint256;

    bool public saleActive;
    mapping(uint256 => bytes32) public tokenSeed;
    address payable public withdrawalAddress;
    uint256 public maxSupply = 100;
    uint256 public mintPrice = 0.025 ether;
    string public baseExternalUrl = 'https://commit.unrulyunroll.xyz/metadata/external/';
    string public baseImageUrl = 'https://commit.unrulyunroll.xyz/metadata/image/';
    string[] public htmlTemplate = ['<!doctype html><meta name="viewport" content="width=device-width,maximum-scale=1"><title>COMMIT</title><style>*{margin:0;padding:0;user-select:none;width:100%;height:100%;overflow:hidden}</style><a id="E"></a><canvas id="V"><script>', ';for([a,b]of new URL(location).searchParams)O[a]=b;with(G=V.getContext("webgl2",{preserveDrawingBuffer:1}))(X=e=>getExtension(e))`EXT_color_buffer_float`,L=X`OES_texture_float_linear`,onkeyup=(H={f:ondblclick=e=>P=!V.requestFullscreen(),s:e=>(E.href=V.toDataURL`image/png`,E.download=document.title+".png",E.click())," ":V.onclick=e=>P=!P},e=>H[e.key]?.call()),K=(e,a,r,t=((t,i=(t+6*e)%6)=>r-r*a*Math.max(Math.min(i,4-i,1),0)))=>[t(5),t(3),t(1),1],onresize=I=e=>(F=0,viewport(0,0,w=V.width=V.clientWidth*(r=O.r??devicePixelRatio)|0,h=V.height=V.clientHeight*r|0),(y=[],x=[0,1,2]).map((e=>(x[e]=createTexture(),B(e),(T=(e,a,r)=>texImage2D(t,0,34842,e,a,0,RGBA,5126,r))(w,h),[a=9728+(L&&1),a,b=33071,b].map(((e,a)=>texParameteri(t,10240+a,e))),e<2&&((J=e=>bindFramebuffer(a=36160,e))(y[e]??=createFramebuffer()),framebufferTexture2D(a,36064,t,x[e],0))))),S=Uint32Array.of(9,7,5,3),R=(e=1)=>e*(e=S[3],S[3]=S[2],S[2]=S[1],e^=e<<11,S[0]^=e^e>>>8^(S[1]=S[0])>>>19,S[0]/2**32),[...O.S].map((e=>R(S[3]^=e.charCodeAt()*S[0]))),C=[K(R(),.9,.2),K(0,0,.95),K(R(),.85,1)]),p=createProgram(i=O.f),["out O{X x=X(-1);x[gl_VertexID]=3.;gl_Position=X(u=x.xy,0,1);}","U X k[3];U sampler2D s,t;U bool b;F B(V p){return length(max(p=abs(p-.5)-.5,0.))+min(max(p.x,p.y),0.);}X K(X x,X y,F h){mat3 m=mat3(.4122214708,.2119034982,.0883024619,.5363325363,.6806995451,.2817188376,.0514459929,.1073969566,.6299787005);W a=W(1./3.),c=mix(P(m*x.rgb,a),P(m*y.rgb,a),h);return X(inverse(m)*(c*c*c),1);}out X c;in O{V d=k[2].xy,i,p=.5+.5*u,f=modf(p*d,i),v=(c=T(t,(i+.5)/d)).xy+(f-c.xy)/(1.-c.z*k[2].z);c=b?T(s,p)+(fract(sin(p.x*12.9898+p.y*78.233)*43758.5453)-.5)/255.:clamp(P(mix(P(T(s,(i+v)/d),G),K(P(k[0],G),P(k[1],G),c.w/2.>.5?f.x:f.y),k[2].w<1.?1.:mod(c.w,2.)>.5||c.z==0.?0.:step(0.,B(v))),1./G),0.,1.);}"].map(((e,a)=>attachShader(p,s=createShader(35633-a),shaderSource(s,"#version 300 es~V vec2~W vec3~X vec4~F float~U uniform~T texture~G X(2.2)~P pow~O V u;void main()\\nprecision highp F;\\n".split`~`.join`\\n#define `+e),compileShader(s)))),linkProgram(p),useProgram(p),U=(e,a,r)=>G["uniform"+e](getUniformLocation(p,a),r),B=(e,a=e)=>activeTexture(33984+e)||bindTexture(t=3553,x[a]),(A=e=>requestAnimationFrame((e=>(P&&F||(F%i||(a=(r=0|R(+O.g+1))/(w<=h?w:h),m=w*a+.5|0||1,n=h*a+.5|0||1,U("1i","t",1),B(1,2),T(m,n,new Float32Array([...Array(m*n)].flatMap((e=>[R(),R(),R()>.01*O.i*!!r&&R()**.5,(R()<.5)<<1|R()<.01*O.c]))))),U("4fv","k",[...C[(a=F/i|0)%3],...C[++a%3],m,n,F%i/i,F/i]),[0,1].map((e=>(U("1i","b",e),B(0,a=F/i&1^e),J(e?null:y[1-a]),drawArrays(5,0,3)))),F++),A()))))(P=0,I())</script></canvas>'];
    uint256 private _tokenIdCounter;
    struct Traits {
        uint256 gridWidth;
        uint256 feedbackInterval;
        uint256 idleCells;
        uint256 clampedCells;
    }

    event SaleActive(bool _active);

    error InactiveSale();
    error SoldOut();
    error InvalidEthAmount();
    error InvalidSupply();
    error ZeroBalance();

    constructor() ERC721("COMMIT", "CMT") Ownable(msg.sender) {
        withdrawalAddress = payable(msg.sender);
        _setDefaultRoyalty(payable(msg.sender), 500);
    }

    /// @notice Mint token to caller.
    /// @dev Fail when saleActive is false.
    /// function mint() external payable nonReentrant {
    function mint() external payable nonReentrant {
        if (_tokenIdCounter >= maxSupply) revert SoldOut();
        if (!saleActive) revert InactiveSale();
        if (msg.value != mintPrice) revert InvalidEthAmount();
        tokenSeed[_tokenIdCounter] = _createHash(_tokenIdCounter);
        _safeMint(msg.sender, _tokenIdCounter);
        ++_tokenIdCounter;
    }

    /// @notice Mint free token to contract owner.
    /// @dev Can only be called by the contract owner.
    function creatorMint() external onlyOwner {
        if (_tokenIdCounter >= maxSupply) revert SoldOut();
        tokenSeed[_tokenIdCounter] = _createHash(_tokenIdCounter);
        _safeMint(msg.sender, _tokenIdCounter);
        ++_tokenIdCounter;
    }

    /// @notice Set HTML htmlTemplate array.
    /// @param _part1 The template head string.
    /// @param _part2 The template tail string.
    /// @dev A string with the seed will be inserted between the two parts.
    function setHtmlTemplate(string memory _part1, string memory _part2) external onlyOwner {
        htmlTemplate = [_part1, _part2];
    }

    /// @notice Set saleActive boolean state.
    /// @param _active The boolean state value.
    function setSaleActive(bool _active) external onlyOwner {
        saleActive = _active;
        emit SaleActive(_active);
    }
    
    /// @notice Set collection max supply.
    /// @param _supply The new supply amount.
    /// @dev The new supply can only be inferior to previous one, and superior or equal to token count.
    function setMaxSupply(uint256 _supply) external onlyOwner {
        if (_supply < _tokenIdCounter || _supply >= maxSupply) revert InvalidSupply();
        maxSupply = _supply;
    }

    /// @notice Set tokens mint price.
    /// @param _price The new price.
    function setMintPrice(uint256 _price) external onlyOwner {
        mintPrice = _price;
    }

    /// @notice Set external_url metadata string prefix.
    /// @param _url The URL string to set `baseExternalUrl` to.
    function setBaseExternalUrl(string memory _url) external onlyOwner {
        baseExternalUrl = _url;
    }

    /// @notice Set image metadata string prefix.
    /// @param _url The URL string to set `baseImageUrl` to.
    function setBaseImageUrl(string memory _url) external onlyOwner {
        baseImageUrl = _url;
    }

    /// @notice Set withdrawal address.
    /// @param _address The address to set `withdrawalAddress` to.
    function setWithdrawalAddress(address payable _address) external onlyOwner {
        withdrawalAddress = _address;
    }

    /// @notice Withdraw all balance to withdrawalAddress.
    function withdraw() external onlyOwner nonReentrant {
        if (address(this).balance == 0) revert ZeroBalance();
        Address.sendValue(withdrawalAddress, address(this).balance);
    }

    function setDefaultRoyalty(address payable _receiver, uint96 _feeNumerator) external onlyOwner {
      _setDefaultRoyalty(_receiver, _feeNumerator);
    }

    /// @notice Return the contract balance in Wei.
    /// @return The resulting unsigned integer.
    function contractBalance() external view returns (uint256) {
        return address(this).balance;
    }

    /// @notice Return the amount of tokens created.
    /// @return The resulting unsigned integer.
    function totalSupply() external view returns (uint256) {
        return _tokenIdCounter;
    }

    /// @notice Generate token HTML string
    /// @param _tokenId The token ID.
    /// @return The resulting string.
    function tokenHTML(uint256 _tokenId) public view returns (string memory) {
        string memory seedString = uint256(tokenSeed[_tokenId]).toHexString();
        Traits memory traits = _generateTraits(_tokenId);
        string memory html = string.concat(htmlTemplate[0], 'O={'
            'S:"', seedString, '",'
            'g:', traits.gridWidth.toString(), ','
            'f:', traits.feedbackInterval.toString(), ','
            'i:', traits.idleCells.toString(), ','
            'c:', traits.clampedCells.toString(),
        '}', htmlTemplate[1]);
        return html;
    }

    /// @notice Generate token metadata string.
    /// @param _tokenId The token ID.
    /// @return A base64 encoded Data URL string.
    function tokenURI(uint256 _tokenId) public view override returns (string memory) {
        string memory idString = _tokenId.toString();
        string memory imageUrl = string.concat(baseImageUrl, idString);
        string memory externalUrl = string.concat(baseExternalUrl, idString);
        Traits memory traits = _generateTraits(_tokenId);
        string memory json = string.concat('{'
            '"name":"COMMIT #', idString, '",'
            '"id":', idString, ','
            '"author":"Unruly Unroll",'
            '"description":"[COMMIT #', idString, '](', externalUrl, '), '
            'on-chain generative artwork by Unruly Unroll, 2024. [https://commit.unrulyunroll.xyz](https://commit.unrulyunroll.xyz)\\n\\n'
            'Pause/Resume the animation with SPACE key or left-click.\\nSave a screenshot in PNG format with S key.\\n'
            'Enter fullscreen mode with F key or double-click.\\nExit fullscreen mode with ESC key.",'
            '"image":"', imageUrl, '",'
            '"external_url":"', externalUrl, '",'
            '"animation_url":"data:text/html;base64,', Base64.encode(bytes(tokenHTML(_tokenId))), '",');
        json = string.concat(json, '"attributes":['
            '{"trait_type":"Grid Width","value":"', traits.gridWidth.toString(), '"},'
            '{"trait_type":"Feedback Interval","value":"', traits.feedbackInterval.toString(), '"},'
            '{"trait_type":"Idle Cells (%)","value":"', traits.idleCells.toString(), '"},'
            '{"trait_type":"Clamped Cells (%)","value":"', traits.clampedCells.toString(), '"}'
        '],"seed":"', uint256(tokenSeed[_tokenId]).toHexString(), '"}');
        return string.concat("data:application/json;base64,", Base64.encode(bytes(json)));
    }
    
    function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC2981) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    /// @dev Create a hash for the given tokenId, blockNumber and sender.
    /// @param _tokenId The token ID.
    /// @return The resulting hash.
    function _createHash(uint256 _tokenId) private view returns (bytes32) {
        unchecked {return keccak256(abi.encodePacked(_tokenId, msg.sender, blockhash(block.number - 1), block.prevrandao, block.coinbase));}
    }

    /// @notice Return a Traits struct for a given token ID.
    /// @param _tokenId The token ID.
    /// @return t The resulting Traits struct.
    function _generateTraits(uint256 _tokenId) private view returns (Traits memory t) {
        uint256[] memory randomNumbers = _generateRandomNumbers(tokenSeed[_tokenId], 5);
        t.gridWidth = 3 + randomNumbers[0] % 3;
        uint256 a = randomNumbers[1] % 9;
        uint256 b = randomNumbers[2] % 9;
        t.feedbackInterval = 12 + (a < b ? a : b);
        t.idleCells = 40 + randomNumbers[3] % 41;
        t.clampedCells = 50 + randomNumbers[4] % 41;
    }

    /// @dev Generates an array of random numbers based on a seed value.
    /// @param seed The seed value.
    /// @param length The number of random numbers to generate.
    /// @return An array of random numbers with length equal to `length`.
    function _generateRandomNumbers(bytes32 seed, uint256 length) private pure returns (uint256[] memory) {
        uint256[] memory randNumbers = new uint256[](length);
        for (uint256 i; i < length; i++) {
            randNumbers[i] = uint256(keccak256(abi.encodePacked(uint256(seed) + i)));
        }
        return randNumbers;
    }
}

File 2 of 18 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

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

File 3 of 18 : draft-IERC6093.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

File 4 of 18 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.20;

import {IERC165} from "../utils/introspection/IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(
        uint256 tokenId,
        uint256 salePrice
    ) external view returns (address receiver, uint256 royaltyAmount);
}

File 5 of 18 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.20;

import {IERC2981} from "../../interfaces/IERC2981.sol";
import {IERC165, ERC165} from "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 tokenId => RoyaltyInfo) private _tokenRoyaltyInfo;

    /**
     * @dev The default royalty set is invalid (eg. (numerator / denominator) >= 1).
     */
    error ERC2981InvalidDefaultRoyalty(uint256 numerator, uint256 denominator);

    /**
     * @dev The default royalty receiver is invalid.
     */
    error ERC2981InvalidDefaultRoyaltyReceiver(address receiver);

    /**
     * @dev The royalty set for an specific `tokenId` is invalid (eg. (numerator / denominator) >= 1).
     */
    error ERC2981InvalidTokenRoyalty(uint256 tokenId, uint256 numerator, uint256 denominator);

    /**
     * @dev The royalty receiver for `tokenId` is invalid.
     */
    error ERC2981InvalidTokenRoyaltyReceiver(uint256 tokenId, address receiver);

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice) public view virtual returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        uint256 denominator = _feeDenominator();
        if (feeNumerator > denominator) {
            // Royalty fee will exceed the sale price
            revert ERC2981InvalidDefaultRoyalty(feeNumerator, denominator);
        }
        if (receiver == address(0)) {
            revert ERC2981InvalidDefaultRoyaltyReceiver(address(0));
        }

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual {
        uint256 denominator = _feeDenominator();
        if (feeNumerator > denominator) {
            // Royalty fee will exceed the sale price
            revert ERC2981InvalidTokenRoyalty(tokenId, feeNumerator, denominator);
        }
        if (receiver == address(0)) {
            revert ERC2981InvalidTokenRoyaltyReceiver(tokenId, address(0));
        }

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 6 of 18 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.20;

import {IERC721} from "./IERC721.sol";
import {IERC721Receiver} from "./IERC721Receiver.sol";
import {IERC721Metadata} from "./extensions/IERC721Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {Strings} from "../../utils/Strings.sol";
import {IERC165, ERC165} from "../../utils/introspection/ERC165.sol";
import {IERC721Errors} from "../../interfaces/draft-IERC6093.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}.
 */
abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Errors {
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    mapping(uint256 tokenId => address) private _owners;

    mapping(address owner => uint256) private _balances;

    mapping(uint256 tokenId => address) private _tokenApprovals;

    mapping(address owner => mapping(address operator => 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 returns (uint256) {
        if (owner == address(0)) {
            revert ERC721InvalidOwner(address(0));
        }
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual returns (address) {
        return _requireOwned(tokenId);
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual returns (string memory) {
        _requireOwned(tokenId);

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string.concat(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 overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual {
        _approve(to, tokenId, _msgSender());
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual returns (address) {
        _requireOwned(tokenId);

        return _getApproved(tokenId);
    }

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(address from, address to, uint256 tokenId) public virtual {
        if (to == address(0)) {
            revert ERC721InvalidReceiver(address(0));
        }
        // Setting an "auth" arguments enables the `_isAuthorized` check which verifies that the token exists
        // (from != 0). Therefore, it is not needed to verify that the return value is not 0 here.
        address previousOwner = _update(to, tokenId, _msgSender());
        if (previousOwner != from) {
            revert ERC721IncorrectOwner(from, tokenId, previousOwner);
        }
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual {
        transferFrom(from, to, tokenId);
        _checkOnERC721Received(from, to, tokenId, data);
    }

    /**
     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist
     *
     * IMPORTANT: Any overrides to this function that add ownership of tokens not tracked by the
     * core ERC721 logic MUST be matched with the use of {_increaseBalance} to keep balances
     * consistent with ownership. The invariant to preserve is that for any address `a` the value returned by
     * `balanceOf(a)` must be equal to the number of tokens such that `_ownerOf(tokenId)` is `a`.
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @dev Returns the approved address for `tokenId`. Returns 0 if `tokenId` is not minted.
     */
    function _getApproved(uint256 tokenId) internal view virtual returns (address) {
        return _tokenApprovals[tokenId];
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `owner`'s tokens, or `tokenId` in
     * particular (ignoring whether it is owned by `owner`).
     *
     * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this
     * assumption.
     */
    function _isAuthorized(address owner, address spender, uint256 tokenId) internal view virtual returns (bool) {
        return
            spender != address(0) &&
            (owner == spender || isApprovedForAll(owner, spender) || _getApproved(tokenId) == spender);
    }

    /**
     * @dev Checks if `spender` can operate on `tokenId`, assuming the provided `owner` is the actual owner.
     * Reverts if `spender` does not have approval from the provided `owner` for the given token or for all its assets
     * the `spender` for the specific `tokenId`.
     *
     * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this
     * assumption.
     */
    function _checkAuthorized(address owner, address spender, uint256 tokenId) internal view virtual {
        if (!_isAuthorized(owner, spender, tokenId)) {
            if (owner == address(0)) {
                revert ERC721NonexistentToken(tokenId);
            } else {
                revert ERC721InsufficientApproval(spender, tokenId);
            }
        }
    }

    /**
     * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override.
     *
     * NOTE: the value is limited to type(uint128).max. This protect against _balance overflow. It is unrealistic that
     * a uint256 would ever overflow from increments when these increments are bounded to uint128 values.
     *
     * WARNING: Increasing an account's balance using this function tends to be paired with an override of the
     * {_ownerOf} function to resolve the ownership of the corresponding tokens so that balances and ownership
     * remain consistent with one another.
     */
    function _increaseBalance(address account, uint128 value) internal virtual {
        unchecked {
            _balances[account] += value;
        }
    }

    /**
     * @dev Transfers `tokenId` from its current owner to `to`, or alternatively mints (or burns) if the current owner
     * (or `to`) is the zero address. Returns the owner of the `tokenId` before the update.
     *
     * The `auth` argument is optional. If the value passed is non 0, then this function will check that
     * `auth` is either the owner of the token, or approved to operate on the token (by the owner).
     *
     * Emits a {Transfer} event.
     *
     * NOTE: If overriding this function in a way that tracks balances, see also {_increaseBalance}.
     */
    function _update(address to, uint256 tokenId, address auth) internal virtual returns (address) {
        address from = _ownerOf(tokenId);

        // Perform (optional) operator check
        if (auth != address(0)) {
            _checkAuthorized(from, auth, tokenId);
        }

        // Execute the update
        if (from != address(0)) {
            // Clear approval. No need to re-authorize or emit the Approval event
            _approve(address(0), tokenId, address(0), false);

            unchecked {
                _balances[from] -= 1;
            }
        }

        if (to != address(0)) {
            unchecked {
                _balances[to] += 1;
            }
        }

        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        return from;
    }

    /**
     * @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 {
        if (to == address(0)) {
            revert ERC721InvalidReceiver(address(0));
        }
        address previousOwner = _update(to, tokenId, address(0));
        if (previousOwner != address(0)) {
            revert ERC721InvalidSender(address(0));
        }
    }

    /**
     * @dev Mints `tokenId`, transfers it to `to` and checks for `to` acceptance.
     *
     * 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 {
        _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);
        _checkOnERC721Received(address(0), to, tokenId, data);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal {
        address previousOwner = _update(address(0), tokenId, address(0));
        if (previousOwner == address(0)) {
            revert ERC721NonexistentToken(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 {
        if (to == address(0)) {
            revert ERC721InvalidReceiver(address(0));
        }
        address previousOwner = _update(to, tokenId, address(0));
        if (previousOwner == address(0)) {
            revert ERC721NonexistentToken(tokenId);
        } else if (previousOwner != from) {
            revert ERC721IncorrectOwner(from, tokenId, previousOwner);
        }
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking that contract recipients
     * are aware of the ERC721 standard 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 like {safeTransferFrom} in the sense that it invokes
     * {IERC721Receiver-onERC721Received} on the receiver, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `tokenId` token must exist and be owned by `from`.
     * - `to` cannot be the zero address.
     * - `from` cannot be the zero address.
     * - 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) internal {
        _safeTransfer(from, to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeTransfer-address-address-uint256-}[`_safeTransfer`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual {
        _transfer(from, to, tokenId);
        _checkOnERC721Received(from, to, tokenId, data);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * The `auth` argument is optional. If the value passed is non 0, then this function will check that `auth` is
     * either the owner of the token, or approved to operate on all tokens held by this owner.
     *
     * Emits an {Approval} event.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address to, uint256 tokenId, address auth) internal {
        _approve(to, tokenId, auth, true);
    }

    /**
     * @dev Variant of `_approve` with an optional flag to enable or disable the {Approval} event. The event is not
     * emitted in the context of transfers.
     */
    function _approve(address to, uint256 tokenId, address auth, bool emitEvent) internal virtual {
        // Avoid reading the owner unless necessary
        if (emitEvent || auth != address(0)) {
            address owner = _requireOwned(tokenId);

            // We do not use _isAuthorized because single-token approvals should not be able to call approve
            if (auth != address(0) && owner != auth && !isApprovedForAll(owner, auth)) {
                revert ERC721InvalidApprover(auth);
            }

            if (emitEvent) {
                emit Approval(owner, to, tokenId);
            }
        }

        _tokenApprovals[tokenId] = to;
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Requirements:
     * - operator can't be the address zero.
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {
        if (operator == address(0)) {
            revert ERC721InvalidOperator(operator);
        }
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` doesn't have a current owner (it hasn't been minted, or it has been burned).
     * Returns the owner.
     *
     * Overrides to ownership logic should be done to {_ownerOf}.
     */
    function _requireOwned(uint256 tokenId) internal view returns (address) {
        address owner = _ownerOf(tokenId);
        if (owner == address(0)) {
            revert ERC721NonexistentToken(tokenId);
        }
        return owner;
    }

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target address. This will revert if the
     * recipient doesn't accept the token transfer. 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
     */
    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory data) private {
        if (to.code.length > 0) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                if (retval != IERC721Receiver.onERC721Received.selector) {
                    revert ERC721InvalidReceiver(to);
                }
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert ERC721InvalidReceiver(to);
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        }
    }
}

File 7 of 18 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.20;

import {IERC721} from "../IERC721.sol";

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

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

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

File 8 of 18 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.20;

import {IERC165} from "../../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`.
     *
     * 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;

    /**
     * @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 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * 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 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 address zero.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) external;

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

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

File 9 of 18 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.20;

/**
 * @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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 10 of 18 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)

pragma solidity ^0.8.20;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev The ETH balance of the account is not enough to perform the operation.
     */
    error AddressInsufficientBalance(address account);

    /**
     * @dev There's no code at `target` (it is not a contract).
     */
    error AddressEmptyCode(address target);

    /**
     * @dev A call to an address target failed. The target may have reverted.
     */
    error FailedInnerCall();

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

        (bool success, ) = recipient.call{value: amount}("");
        if (!success) {
            revert FailedInnerCall();
        }
    }

    /**
     * @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 or custom error, it is bubbled
     * up by this function (like regular Solidity function calls). However, if
     * the call reverted with no returned reason, this function reverts with a
     * {FailedInnerCall} error.
     *
     * 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.
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0);
    }

    /**
     * @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`.
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        if (address(this).balance < value) {
            revert AddressInsufficientBalance(address(this));
        }
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

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

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

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
     * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an
     * unsuccessful call.
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata
    ) internal view returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            // only check if target is a contract if the call was successful and the return data is empty
            // otherwise we already know that it was a contract
            if (returndata.length == 0 && target.code.length == 0) {
                revert AddressEmptyCode(target);
            }
            return returndata;
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
     * revert reason or with a default {FailedInnerCall} error.
     */
    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            return returndata;
        }
    }

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

File 11 of 18 : Base64.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.2) (utils/Base64.sol)

pragma solidity ^0.8.20;

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 */
library Base64 {
    /**
     * @dev Base64 Encoding/Decoding Table
     */
    string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /**
     * @dev Converts a `bytes` to its Bytes64 `string` representation.
     */
    function encode(bytes memory data) internal pure returns (string memory) {
        /**
         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
         */
        if (data.length == 0) return "";

        // Loads the table into memory
        string memory table = _TABLE;

        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
        // and split into 4 numbers of 6 bits.
        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
        // - `data.length + 2`  -> Round up
        // - `/ 3`              -> Number of 3-bytes chunks
        // - `4 *`              -> 4 characters for each chunk
        string memory result = new string(4 * ((data.length + 2) / 3));

        /// @solidity memory-safe-assembly
        assembly {
            // Prepare the lookup table (skip the first "length" byte)
            let tablePtr := add(table, 1)

            // Prepare result pointer, jump over length
            let resultPtr := add(result, 0x20)
            let dataPtr := data
            let endPtr := add(data, mload(data))

            // In some cases, the last iteration will read bytes after the end of the data. We cache the value, and
            // set it to zero to make sure no dirty bytes are read in that section.
            let afterPtr := add(endPtr, 0x20)
            let afterCache := mload(afterPtr)
            mstore(afterPtr, 0x00)

            // Run over the input, 3 bytes at a time
            for {

            } lt(dataPtr, endPtr) {

            } {
                // Advance 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // To write each character, shift the 3 byte (24 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F to bitmask the least significant 6 bits.
                // Use this as an index into the lookup table, mload an entire word
                // so the desired character is in the least significant byte, and
                // mstore8 this least significant byte into the result and continue.

                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance
            }

            // Reset the value that was cached
            mstore(afterPtr, afterCache)

            // When data `bytes` is not exactly 3 bytes long
            // it is padded with `=` characters at the end
            switch mod(mload(data), 3)
            case 1 {
                mstore8(sub(resultPtr, 1), 0x3d)
                mstore8(sub(resultPtr, 2), 0x3d)
            }
            case 2 {
                mstore8(sub(resultPtr, 1), 0x3d)
            }
        }

        return result;
    }
}

File 12 of 18 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

File 13 of 18 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)

pragma solidity ^0.8.20;

import {IERC165} from "./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);
 * }
 * ```
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 14 of 18 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

/**
 * @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 15 of 18 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

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

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

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

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            return a / b;
        }

        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

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

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            if (denominator <= prod1) {
                revert MathOverflowedMulDiv();
            }

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

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

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

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

            uint256 twos = denominator & (0 - denominator);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
     */
    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
        return uint8(rounding) % 2 == 1;
    }
}

File 16 of 18 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

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

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

File 17 of 18 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol)

pragma solidity ^0.8.20;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant NOT_ENTERED = 1;
    uint256 private constant ENTERED = 2;

    uint256 private _status;

    /**
     * @dev Unauthorized reentrant call.
     */
    error ReentrancyGuardReentrantCall();

    constructor() {
        _status = NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be NOT_ENTERED
        if (_status == ENTERED) {
            revert ReentrancyGuardReentrantCall();
        }

        // Any calls to nonReentrant after this point will fail
        _status = ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == ENTERED;
    }
}

File 18 of 18 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)

pragma solidity ^0.8.20;

import {Math} from "./math/Math.sol";
import {SignedMath} from "./math/SignedMath.sol";

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

    /**
     * @dev The `value` string doesn't fit in the specified `length`.
     */
    error StringsInsufficientHexLength(uint256 value, uint256 length);

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toStringSigned(int256 value) internal pure returns (string memory) {
        return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        uint256 localValue = value;
        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_DIGITS[localValue & 0xf];
            localValue >>= 4;
        }
        if (localValue != 0) {
            revert StringsInsufficientHexLength(value, length);
        }
        return string(buffer);
    }

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

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidDefaultRoyalty","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidDefaultRoyaltyReceiver","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidTokenRoyalty","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidTokenRoyaltyReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721IncorrectOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721InsufficientApproval","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC721InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC721InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721InvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC721InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC721InvalidSender","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721NonexistentToken","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[],"name":"InactiveSale","type":"error"},{"inputs":[],"name":"InvalidEthAmount","type":"error"},{"inputs":[],"name":"InvalidSupply","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[],"name":"SoldOut","type":"error"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"length","type":"uint256"}],"name":"StringsInsufficientHexLength","type":"error"},{"inputs":[],"name":"ZeroBalance","type":"error"},{"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":"bool","name":"_active","type":"bool"}],"name":"SaleActive","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"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":[],"name":"baseExternalUrl","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseImageUrl","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"creatorMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"htmlTemplate","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_url","type":"string"}],"name":"setBaseExternalUrl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_url","type":"string"}],"name":"setBaseImageUrl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_part1","type":"string"},{"internalType":"string","name":"_part2","type":"string"}],"name":"setHtmlTemplate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_active","type":"bool"}],"name":"setSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_address","type":"address"}],"name":"setWithdrawalAddress","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":"_tokenId","type":"uint256"}],"name":"tokenHTML","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenSeed","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawalAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040526064600d556658d15e17628000600e556040518060600160405280603281526020016200630060329139600f90816200003e91906200083a565b506040518060600160405280602f8152602001620062d1602f9139601090816200006991906200083a565b50604051806040016040528060405180610120016040528060e88152602001620057d860e89139815260200160405180610a400160405280610a118152602001620058c0610a1191398152506011906002620000c7929190620004d3565b50348015620000d557600080fd5b50336040518060400160405280600681526020017f434f4d4d495400000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f434d54000000000000000000000000000000000000000000000000000000000081525081600090816200015491906200083a565b5080600190816200016691906200083a565b5050506001600681905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620001e65760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401620001dd919062000966565b60405180910390fd5b620001f7816200025360201b60201c565b5033600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200024d336101f46200031960201b60201c565b62000a12565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006200032b620004c960201b60201c565b6bffffffffffffffffffffffff16905080826bffffffffffffffffffffffff161115620003935781816040517f6f483d090000000000000000000000000000000000000000000000000000000081526004016200038a929190620009e5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620004085760006040517fb6d9900a000000000000000000000000000000000000000000000000000000008152600401620003ff919062000966565b60405180910390fd5b60405180604001604052808473ffffffffffffffffffffffffffffffffffffffff168152602001836bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b6000612710905090565b82805482825590600052602060002090810192821562000520579160200282015b828111156200051f5782518290816200050e91906200083a565b5091602001919060010190620004f4565b5b5090506200052f919062000533565b5090565b5b808211156200055757600081816200054d91906200055b565b5060010162000534565b5090565b508054620005699062000629565b6000825580601f106200057d57506200059e565b601f0160209004906000526020600020908101906200059d9190620005a1565b5b50565b5b80821115620005bc576000816000905550600101620005a2565b5090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200064257607f821691505b602082108103620006585762000657620005fa565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620006c27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000683565b620006ce868362000683565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200071b620007156200070f84620006e6565b620006f0565b620006e6565b9050919050565b6000819050919050565b6200073783620006fa565b6200074f620007468262000722565b84845462000690565b825550505050565b600090565b6200076662000757565b620007738184846200072c565b505050565b5b818110156200079b576200078f6000826200075c565b60018101905062000779565b5050565b601f821115620007ea57620007b4816200065e565b620007bf8462000673565b81016020851015620007cf578190505b620007e7620007de8562000673565b83018262000778565b50505b505050565b600082821c905092915050565b60006200080f60001984600802620007ef565b1980831691505092915050565b60006200082a8383620007fc565b9150826002028217905092915050565b6200084582620005c0565b67ffffffffffffffff811115620008615762000860620005cb565b5b6200086d825462000629565b6200087a8282856200079f565b600060209050601f831160018114620008b257600084156200089d578287015190505b620008a985826200081c565b86555062000919565b601f198416620008c2866200065e565b60005b82811015620008ec57848901518255600182019150602085019450602081019050620008c5565b868310156200090c578489015162000908601f891682620007fc565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200094e8262000921565b9050919050565b620009608162000941565b82525050565b60006020820190506200097d600083018462000955565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6000620009bc620009b6620009b08462000983565b620006f0565b620006e6565b9050919050565b620009ce816200099b565b82525050565b620009df81620006e6565b82525050565b6000604082019050620009fc6000830185620009c3565b62000a0b6020830184620009d4565b9392505050565b614db68062000a226000396000f3fe6080604052600436106102305760003560e01c806370a082311161012e578063b88d4fde116100ab578063e985e9c51161006f578063e985e9c514610819578063f2bcd02214610856578063f2fde38b14610881578063f4a0a528146108aa578063f56026af146108d357610230565b8063b88d4fde14610722578063c506301d1461074b578063c87b56dd14610774578063d5abeb01146107b1578063da14be97146107dc57610230565b80638da5cb5b116100f25780638da5cb5b1461063d57806395d89b4114610668578063a22cb46514610693578063b56aca51146106bc578063b79bebaf146106e557610230565b806370a082311461056c578063715018a6146105a9578063841718a6146105c0578063891f9a11146105e95780638b7afe2e1461061257610230565b80632a55205a116101bc5780636352211e116101805780636352211e1461048557806366d0713f146104c25780636817c76c146104ed57806368428a1b146105185780636f8b44b01461054357610230565b80632a55205a146103b35780633ccfd60b146103f157806342842e0e146104085780634b845499146104315780635f5168361461044857610230565b8063095ea7b311610203578063095ea7b3146103035780631249c58b1461032c57806318160ddd1461033657806321b8092e1461036157806323b872dd1461038a57610230565b806301ffc9a71461023557806304634d8d1461027257806306fdde031461029b578063081812fc146102c6575b600080fd5b34801561024157600080fd5b5061025c60048036038101906102579190613321565b6108fe565b6040516102699190613369565b60405180910390f35b34801561027e57600080fd5b5061029960048036038101906102949190613426565b610910565b005b3480156102a757600080fd5b506102b0610926565b6040516102bd91906134f6565b60405180910390f35b3480156102d257600080fd5b506102ed60048036038101906102e8919061354e565b6109b8565b6040516102fa919061359c565b60405180910390f35b34801561030f57600080fd5b5061032a600480360381019061032591906135e3565b6109d4565b005b6103346109ea565b005b34801561034257600080fd5b5061034b610b00565b6040516103589190613632565b60405180910390f35b34801561036d57600080fd5b506103886004803603810190610383919061364d565b610b0a565b005b34801561039657600080fd5b506103b160048036038101906103ac919061367a565b610b56565b005b3480156103bf57600080fd5b506103da60048036038101906103d591906136cd565b610c58565b6040516103e892919061370d565b60405180910390f35b3480156103fd57600080fd5b50610406610e42565b005b34801561041457600080fd5b5061042f600480360381019061042a919061367a565b610ec2565b005b34801561043d57600080fd5b50610446610ee2565b005b34801561045457600080fd5b5061046f600480360381019061046a919061354e565b610f6f565b60405161047c919061374f565b60405180910390f35b34801561049157600080fd5b506104ac60048036038101906104a7919061354e565b610f87565b6040516104b9919061359c565b60405180910390f35b3480156104ce57600080fd5b506104d7610f99565b6040516104e491906134f6565b60405180910390f35b3480156104f957600080fd5b50610502611027565b60405161050f9190613632565b60405180910390f35b34801561052457600080fd5b5061052d61102d565b60405161053a9190613369565b60405180910390f35b34801561054f57600080fd5b5061056a6004803603810190610565919061354e565b611040565b005b34801561057857600080fd5b50610593600480360381019061058e919061376a565b61109b565b6040516105a09190613632565b60405180910390f35b3480156105b557600080fd5b506105be611155565b005b3480156105cc57600080fd5b506105e760048036038101906105e291906137c3565b611169565b005b3480156105f557600080fd5b50610610600480360381019061060b9190613925565b6111c5565b005b34801561061e57600080fd5b506106276111f7565b6040516106349190613632565b60405180910390f35b34801561064957600080fd5b506106526111ff565b60405161065f919061359c565b60405180910390f35b34801561067457600080fd5b5061067d611229565b60405161068a91906134f6565b60405180910390f35b34801561069f57600080fd5b506106ba60048036038101906106b5919061399d565b6112bb565b005b3480156106c857600080fd5b506106e360048036038101906106de91906139dd565b6112d1565b005b3480156106f157600080fd5b5061070c6004803603810190610707919061354e565b6112ec565b60405161071991906134f6565b60405180910390f35b34801561072e57600080fd5b5061074960048036038101906107449190613ac7565b6113c5565b005b34801561075757600080fd5b50610772600480360381019061076d91906139dd565b6113e2565b005b34801561078057600080fd5b5061079b6004803603810190610796919061354e565b6113fd565b6040516107a891906134f6565b60405180910390f35b3480156107bd57600080fd5b506107c6611555565b6040516107d39190613632565b60405180910390f35b3480156107e857600080fd5b5061080360048036038101906107fe919061354e565b61155b565b60405161081091906134f6565b60405180910390f35b34801561082557600080fd5b50610840600480360381019061083b9190613b4a565b611607565b60405161084d9190613369565b60405180910390f35b34801561086257600080fd5b5061086b61169b565b6040516108789190613b99565b60405180910390f35b34801561088d57600080fd5b506108a860048036038101906108a3919061376a565b6116c1565b005b3480156108b657600080fd5b506108d160048036038101906108cc919061354e565b611747565b005b3480156108df57600080fd5b506108e8611759565b6040516108f591906134f6565b60405180910390f35b6000610909826117e7565b9050919050565b610918611861565b61092282826118e8565b5050565b60606000805461093590613be3565b80601f016020809104026020016040519081016040528092919081815260200182805461096190613be3565b80156109ae5780601f10610983576101008083540402835291602001916109ae565b820191906000526020600020905b81548152906001019060200180831161099157829003601f168201915b5050505050905090565b60006109c382611a8a565b506109cd82611b12565b9050919050565b6109e682826109e1611b4f565b611b57565b5050565b6109f2611b69565b600d5460125410610a2f576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a60009054906101000a900460ff16610a75576040517f84b3602400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e543414610ab0576040517f0772327b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610abb601254611baf565b600b6000601254815260200190815260200160002081905550610ae033601254611beb565b601260008154610aef90613c43565b91905081905550610afe611c09565b565b6000601254905090565b610b12611861565b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610bc85760006040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401610bbf919061359c565b60405180910390fd5b6000610bdc8383610bd7611b4f565b611c13565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c52578382826040517f64283d7b000000000000000000000000000000000000000000000000000000008152600401610c4993929190613c8b565b60405180910390fd5b50505050565b6000806000600960008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610ded5760086040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610df7611e2d565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610e239190613cc2565b610e2d9190613d33565b90508160000151819350935050509250929050565b610e4a611861565b610e52611b69565b60004703610e8c576040517f669567ea00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610eb8600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1647611e37565b610ec0611c09565b565b610edd838383604051806020016040528060008152506113c5565b505050565b610eea611861565b600d5460125410610f27576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f32601254611baf565b600b6000601254815260200190815260200160002081905550610f5733601254611beb565b601260008154610f6690613c43565b91905081905550565b600b6020528060005260406000206000915090505481565b6000610f9282611a8a565b9050919050565b60108054610fa690613be3565b80601f0160208091040260200160405190810160405280929190818152602001828054610fd290613be3565b801561101f5780601f10610ff45761010080835404028352916020019161101f565b820191906000526020600020905b81548152906001019060200180831161100257829003601f168201915b505050505081565b600e5481565b600a60009054906101000a900460ff1681565b611048611861565b60125481108061105a5750600d548110155b15611091576040517f15ae672700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600d8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361110e5760006040517f89c62b64000000000000000000000000000000000000000000000000000000008152600401611105919061359c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61115d611861565b6111676000611f24565b565b611171611861565b80600a60006101000a81548160ff0219169083151502179055507fe8a4303c22d8b575a6f175ea4803f56b0a4551ac9e22153304feb0ddfd614355816040516111ba9190613369565b60405180910390a150565b6111cd611861565b60405180604001604052808381526020018281525060119060026111f29291906131b3565b505050565b600047905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461123890613be3565b80601f016020809104026020016040519081016040528092919081815260200182805461126490613be3565b80156112b15780601f10611286576101008083540402835291602001916112b1565b820191906000526020600020905b81548152906001019060200180831161129457829003601f168201915b5050505050905090565b6112cd6112c6611b4f565b8383611fea565b5050565b6112d9611861565b80601090816112e89190613f10565b5050565b6060600061130f600b60008581526020019081526020016000205460001c612159565b9050600061131c84612177565b90506000601160008154811061133557611334613fe2565b5b906000526020600020018361134d84600001516122dc565b61135a85602001516122dc565b61136786604001516122dc565b61137487606001516122dc565b601160018154811061138957611388613fe2565b5b906000526020600020016040516020016113a997969594939291906141b4565b6040516020818303038152906040529050809350505050919050565b6113d0848484610b56565b6113dc848484846123aa565b50505050565b6113ea611861565b80600f90816113f99190613f10565b5050565b6060600061140a836122dc565b90506000601082604051602001611422929190614273565b60405160208183030381529060405290506000600f83604051602001611449929190614273565b6040516020818303038152906040529050600061146586612177565b9050600084858685878761148061147b8e6112ec565b612561565b6040516020016114969796959493929190614606565b6040516020818303038152906040529050806114b583600001516122dc565b6114c284602001516122dc565b6114cf85604001516122dc565b6114dc86606001516122dc565b6114fb600b60008e81526020019081526020016000205460001c612159565b604051602001611510969594939291906148eb565b604051602081830303815290604052905061152a81612561565b60405160200161153a91906149b3565b60405160208183030381529060405295505050505050919050565b600d5481565b6011818154811061156b57600080fd5b90600052602060002001600091509050805461158690613be3565b80601f01602080910402602001604051908101604052809291908181526020018280546115b290613be3565b80156115ff5780601f106115d4576101008083540402835291602001916115ff565b820191906000526020600020905b8154815290600101906020018083116115e257829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6116c9611861565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361173b5760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401611732919061359c565b60405180910390fd5b61174481611f24565b50565b61174f611861565b80600e8190555050565b600f805461176690613be3565b80601f016020809104026020016040519081016040528092919081815260200182805461179290613be3565b80156117df5780601f106117b4576101008083540402835291602001916117df565b820191906000526020600020905b8154815290600101906020018083116117c257829003601f168201915b505050505081565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061185a5750611859826126d3565b5b9050919050565b611869611b4f565b73ffffffffffffffffffffffffffffffffffffffff166118876111ff565b73ffffffffffffffffffffffffffffffffffffffff16146118e6576118aa611b4f565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016118dd919061359c565b60405180910390fd5b565b60006118f2611e2d565b6bffffffffffffffffffffffff16905080826bffffffffffffffffffffffff1611156119575781816040517f6f483d0900000000000000000000000000000000000000000000000000000000815260040161194e929190614a0a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036119c95760006040517fb6d9900a0000000000000000000000000000000000000000000000000000000081526004016119c0919061359c565b60405180910390fd5b60405180604001604052808473ffffffffffffffffffffffffffffffffffffffff168152602001836bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b600080611a96836127b5565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611b0957826040517f7e273289000000000000000000000000000000000000000000000000000000008152600401611b009190613632565b60405180910390fd5b80915050919050565b60006004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600033905090565b611b6483838360016127f2565b505050565b600260065403611ba5576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600681905550565b6000813360014303404441604051602001611bce959493929190614ae6565b604051602081830303815290604052805190602001209050919050565b611c058282604051806020016040528060008152506129b7565b5050565b6001600681905550565b600080611c1f846127b5565b9050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611c6157611c608184866129d3565b5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611cf257611ca36000856000806127f2565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614611d75576001600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b846002600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4809150509392505050565b6000612710905090565b80471015611e7c57306040517fcd786059000000000000000000000000000000000000000000000000000000008152600401611e73919061359c565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611ea290614b76565b60006040518083038185875af1925050503d8060008114611edf576040519150601f19603f3d011682016040523d82523d6000602084013e611ee4565b606091505b5050905080611f1f576040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361205b57816040517f5b08ba18000000000000000000000000000000000000000000000000000000008152600401612052919061359c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161214c9190613369565b60405180910390a3505050565b606061217082600161216a85612a97565b01612b27565b9050919050565b61217f61320c565b600061219f600b6000858152602001908152602001600020546005612d6d565b90506003816000815181106121b7576121b6613fe2565b5b60200260200101516121c99190614b8b565b60036121d59190614bbc565b82600001818152505060006009826001815181106121f6576121f5613fe2565b5b60200260200101516122089190614b8b565b9050600060098360028151811061222257612221613fe2565b5b60200260200101516122349190614b8b565b90508082106122435780612245565b815b600c6122519190614bbc565b8460200181815250506029836003815181106122705761226f613fe2565b5b60200260200101516122829190614b8b565b602861228e9190614bbc565b8460400181815250506029836004815181106122ad576122ac613fe2565b5b60200260200101516122bf9190614b8b565b60326122cb9190614bbc565b846060018181525050505050919050565b6060600060016122eb84612e3c565b01905060008167ffffffffffffffff81111561230a576123096137fa565b5b6040519080825280601f01601f19166020018201604052801561233c5781602001600182028036833780820191505090505b509050600082602001820190505b60011561239f578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161239357612392613d04565b5b0494506000850361234a575b819350505050919050565b60008373ffffffffffffffffffffffffffffffffffffffff163b111561255b578273ffffffffffffffffffffffffffffffffffffffff1663150b7a026123ee611b4f565b8685856040518563ffffffff1660e01b81526004016124109493929190614c45565b6020604051808303816000875af192505050801561244c57506040513d601f19601f820116820180604052508101906124499190614ca6565b60015b6124d0573d806000811461247c576040519150601f19603f3d011682016040523d82523d6000602084013e612481565b606091505b5060008151036124c857836040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016124bf919061359c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461255957836040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401612550919061359c565b60405180910390fd5b505b50505050565b60606000825103612583576040518060200160405280600081525090506126ce565b6000604051806060016040528060408152602001614d4160409139905060006003600285516125b29190614bbc565b6125bc9190613d33565b60046125c89190613cc2565b67ffffffffffffffff8111156125e1576125e06137fa565b5b6040519080825280601f01601f1916602001820160405280156126135781602001600182028036833780820191505090505b50905060018201602082018586518701602081018051600082525b82841015612689576003840193508351603f8160121c168701518653600186019550603f81600c1c168701518653600186019550603f8160061c168701518653600186019550603f811687015186536001860195505061262e565b80825260038a5106600181146126a657600281146126b9576126c1565b603d6001870353603d60028703536126c1565b603d60018703535b5050505050505080925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061279e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806127ae57506127ad82612f8f565b5b9050919050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b808061282b5750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b1561295f57600061283b84611a8a565b9050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156128a657508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b80156128b957506128b78184611607565b155b156128fb57826040517fa9fbf51f0000000000000000000000000000000000000000000000000000000081526004016128f2919061359c565b60405180910390fd5b811561295d57838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b836004600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b6129c18383612ff9565b6129ce60008484846123aa565b505050565b6129de8383836130f2565b612a9257600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612a5357806040517f7e273289000000000000000000000000000000000000000000000000000000008152600401612a4a9190613632565b60405180910390fd5b81816040517f177e802f000000000000000000000000000000000000000000000000000000008152600401612a8992919061370d565b60405180910390fd5b505050565b600080600090506000608084901c1115612ab957608083901c92506010810190505b6000604084901c1115612ad457604083901c92506008810190505b6000602084901c1115612aef57602083901c92506004810190505b6000601084901c1115612b0a57601083901c92506002810190505b6000600884901c1115612b1e576001810190505b80915050919050565b6060600083905060006002846002612b3f9190613cc2565b612b499190614bbc565b67ffffffffffffffff811115612b6257612b616137fa565b5b6040519080825280601f01601f191660200182016040528015612b945781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612bcc57612bcb613fe2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612c3057612c2f613fe2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001856002612c709190613cc2565b612c7a9190614bbc565b90505b6001811115612d1a577f3031323334353637383961626364656600000000000000000000000000000000600f841660108110612cbc57612cbb613fe2565b5b1a60f81b828281518110612cd357612cd2613fe2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600483901c925080612d1390614cd3565b9050612c7d565b5060008214612d625784846040517fe22e27eb000000000000000000000000000000000000000000000000000000008152600401612d59929190614cfc565b60405180910390fd5b809250505092915050565b606060008267ffffffffffffffff811115612d8b57612d8a6137fa565b5b604051908082528060200260200182016040528015612db95781602001602082028036833780820191505090505b50905060005b83811015612e3157808560001c612dd69190614bbc565b604051602001612de69190614d25565b6040516020818303038152906040528051906020012060001c828281518110612e1257612e11613fe2565b5b6020026020010181815250508080612e2990613c43565b915050612dbf565b508091505092915050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612e9a577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612e9057612e8f613d04565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612ed7576d04ee2d6d415b85acef81000000008381612ecd57612ecc613d04565b5b0492506020810190505b662386f26fc100008310612f0657662386f26fc100008381612efc57612efb613d04565b5b0492506010810190505b6305f5e1008310612f2f576305f5e1008381612f2557612f24613d04565b5b0492506008810190505b6127108310612f54576127108381612f4a57612f49613d04565b5b0492506004810190505b60648310612f775760648381612f6d57612f6c613d04565b5b0492506002810190505b600a8310612f86576001810190505b80915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361306b5760006040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401613062919061359c565b60405180910390fd5b600061307983836000611c13565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146130ed5760006040517f73c6ac6e0000000000000000000000000000000000000000000000000000000081526004016130e4919061359c565b60405180910390fd5b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156131aa57508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061316b575061316a8484611607565b5b806131a957508273ffffffffffffffffffffffffffffffffffffffff1661319183611b12565b73ffffffffffffffffffffffffffffffffffffffff16145b5b90509392505050565b8280548282559060005260206000209081019282156131fb579160200282015b828111156131fa5782518290816131ea9190613f10565b50916020019190600101906131d3565b5b5090506132089190613234565b5090565b6040518060800160405280600081526020016000815260200160008152602001600081525090565b5b80821115613254576000818161324b9190613258565b50600101613235565b5090565b50805461326490613be3565b6000825580601f106132765750613295565b601f0160209004906000526020600020908101906132949190613298565b5b50565b5b808211156132b1576000816000905550600101613299565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6132fe816132c9565b811461330957600080fd5b50565b60008135905061331b816132f5565b92915050565b600060208284031215613337576133366132bf565b5b60006133458482850161330c565b91505092915050565b60008115159050919050565b6133638161334e565b82525050565b600060208201905061337e600083018461335a565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006133af82613384565b9050919050565b6133bf816133a4565b81146133ca57600080fd5b50565b6000813590506133dc816133b6565b92915050565b60006bffffffffffffffffffffffff82169050919050565b613403816133e2565b811461340e57600080fd5b50565b600081359050613420816133fa565b92915050565b6000806040838503121561343d5761343c6132bf565b5b600061344b858286016133cd565b925050602061345c85828601613411565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134a0578082015181840152602081019050613485565b60008484015250505050565b6000601f19601f8301169050919050565b60006134c882613466565b6134d28185613471565b93506134e2818560208601613482565b6134eb816134ac565b840191505092915050565b6000602082019050818103600083015261351081846134bd565b905092915050565b6000819050919050565b61352b81613518565b811461353657600080fd5b50565b60008135905061354881613522565b92915050565b600060208284031215613564576135636132bf565b5b600061357284828501613539565b91505092915050565b600061358682613384565b9050919050565b6135968161357b565b82525050565b60006020820190506135b1600083018461358d565b92915050565b6135c08161357b565b81146135cb57600080fd5b50565b6000813590506135dd816135b7565b92915050565b600080604083850312156135fa576135f96132bf565b5b6000613608858286016135ce565b925050602061361985828601613539565b9150509250929050565b61362c81613518565b82525050565b60006020820190506136476000830184613623565b92915050565b600060208284031215613663576136626132bf565b5b6000613671848285016133cd565b91505092915050565b600080600060608486031215613693576136926132bf565b5b60006136a1868287016135ce565b93505060206136b2868287016135ce565b92505060406136c386828701613539565b9150509250925092565b600080604083850312156136e4576136e36132bf565b5b60006136f285828601613539565b925050602061370385828601613539565b9150509250929050565b6000604082019050613722600083018561358d565b61372f6020830184613623565b9392505050565b6000819050919050565b61374981613736565b82525050565b60006020820190506137646000830184613740565b92915050565b6000602082840312156137805761377f6132bf565b5b600061378e848285016135ce565b91505092915050565b6137a08161334e565b81146137ab57600080fd5b50565b6000813590506137bd81613797565b92915050565b6000602082840312156137d9576137d86132bf565b5b60006137e7848285016137ae565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613832826134ac565b810181811067ffffffffffffffff82111715613851576138506137fa565b5b80604052505050565b60006138646132b5565b90506138708282613829565b919050565b600067ffffffffffffffff8211156138905761388f6137fa565b5b613899826134ac565b9050602081019050919050565b82818337600083830152505050565b60006138c86138c384613875565b61385a565b9050828152602081018484840111156138e4576138e36137f5565b5b6138ef8482856138a6565b509392505050565b600082601f83011261390c5761390b6137f0565b5b813561391c8482602086016138b5565b91505092915050565b6000806040838503121561393c5761393b6132bf565b5b600083013567ffffffffffffffff81111561395a576139596132c4565b5b613966858286016138f7565b925050602083013567ffffffffffffffff811115613987576139866132c4565b5b613993858286016138f7565b9150509250929050565b600080604083850312156139b4576139b36132bf565b5b60006139c2858286016135ce565b92505060206139d3858286016137ae565b9150509250929050565b6000602082840312156139f3576139f26132bf565b5b600082013567ffffffffffffffff811115613a1157613a106132c4565b5b613a1d848285016138f7565b91505092915050565b600067ffffffffffffffff821115613a4157613a406137fa565b5b613a4a826134ac565b9050602081019050919050565b6000613a6a613a6584613a26565b61385a565b905082815260208101848484011115613a8657613a856137f5565b5b613a918482856138a6565b509392505050565b600082601f830112613aae57613aad6137f0565b5b8135613abe848260208601613a57565b91505092915050565b60008060008060808587031215613ae157613ae06132bf565b5b6000613aef878288016135ce565b9450506020613b00878288016135ce565b9350506040613b1187828801613539565b925050606085013567ffffffffffffffff811115613b3257613b316132c4565b5b613b3e87828801613a99565b91505092959194509250565b60008060408385031215613b6157613b606132bf565b5b6000613b6f858286016135ce565b9250506020613b80858286016135ce565b9150509250929050565b613b93816133a4565b82525050565b6000602082019050613bae6000830184613b8a565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613bfb57607f821691505b602082108103613c0e57613c0d613bb4565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613c4e82613518565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613c8057613c7f613c14565b5b600182019050919050565b6000606082019050613ca0600083018661358d565b613cad6020830185613623565b613cba604083018461358d565b949350505050565b6000613ccd82613518565b9150613cd883613518565b9250828202613ce681613518565b91508282048414831517613cfd57613cfc613c14565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613d3e82613518565b9150613d4983613518565b925082613d5957613d58613d04565b5b828204905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613dc67fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613d89565b613dd08683613d89565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613e0d613e08613e0384613518565b613de8565b613518565b9050919050565b6000819050919050565b613e2783613df2565b613e3b613e3382613e14565b848454613d96565b825550505050565b600090565b613e50613e43565b613e5b818484613e1e565b505050565b5b81811015613e7f57613e74600082613e48565b600181019050613e61565b5050565b601f821115613ec457613e9581613d64565b613e9e84613d79565b81016020851015613ead578190505b613ec1613eb985613d79565b830182613e60565b50505b505050565b600082821c905092915050565b6000613ee760001984600802613ec9565b1980831691505092915050565b6000613f008383613ed6565b9150826002028217905092915050565b613f1982613466565b67ffffffffffffffff811115613f3257613f316137fa565b5b613f3c8254613be3565b613f47828285613e83565b600060209050601f831160018114613f7a5760008415613f68578287015190505b613f728582613ef4565b865550613fda565b601f198416613f8886613d64565b60005b82811015613fb057848901518255600182019150602085019450602081019050613f8b565b86831015613fcd5784890151613fc9601f891682613ed6565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081905092915050565b6000815461402981613be3565b6140338186614011565b9450600182166000811461404e576001811461406357614096565b60ff1983168652811515820286019350614096565b61406c85613d64565b60005b8381101561408e5781548189015260018201915060208101905061406f565b838801955050505b50505092915050565b7f4f3d7b533a220000000000000000000000000000000000000000000000000000815250565b60006140d082613466565b6140da8185614011565b93506140ea818560208601613482565b80840191505092915050565b7f222c673a00000000000000000000000000000000000000000000000000000000815250565b7f2c663a0000000000000000000000000000000000000000000000000000000000815250565b7f2c693a0000000000000000000000000000000000000000000000000000000000815250565b7f2c633a0000000000000000000000000000000000000000000000000000000000815250565b7f7d00000000000000000000000000000000000000000000000000000000000000815250565b60006141c0828a61401c565b91506141cb8261409f565b6006820191506141db82896140c5565b91506141e6826140f6565b6004820191506141f682886140c5565b91506142018261411c565b60038201915061421182876140c5565b915061421c82614142565b60038201915061422c82866140c5565b915061423782614168565b60038201915061424782856140c5565b91506142528261418e565b600182019150614262828461401c565b915081905098975050505050505050565b600061427f828561401c565b915061428b82846140c5565b91508190509392505050565b7f7b226e616d65223a22434f4d4d49542023000000000000000000000000000000815250565b7f222c226964223a00000000000000000000000000000000000000000000000000815250565b7f2c22617574686f72223a22556e72756c7920556e726f6c6c222c22646573637260008201527f697074696f6e223a225b434f4d4d495420230000000000000000000000000000602082015250565b600061433f603283614011565b915061434a826142e3565b603282019050919050565b7f5d28000000000000000000000000000000000000000000000000000000000000815250565b7f292c206f6e2d636861696e2067656e6572617469766520617274776f726b206260008201527f7920556e72756c7920556e726f6c6c2c20323032342e205b68747470733a2f2f60208201527f636f6d6d69742e756e72756c79756e726f6c6c2e78797a5d2868747470733a2f60408201527f2f636f6d6d69742e756e72756c79756e726f6c6c2e78797a295c6e5c6e50617560608201527f73652f526573756d652074686520616e696d6174696f6e20776974682053504160808201527f4345206b6579206f72206c6566742d636c69636b2e5c6e53617665206120736360a08201527f7265656e73686f7420696e20504e4720666f726d617420776974682053206b6560c08201527f792e5c6e456e7465722066756c6c73637265656e206d6f64652077697468204660e08201527f206b6579206f7220646f75626c652d636c69636b2e5c6e457869742066756c6c6101008201527f73637265656e206d6f6465207769746820455343206b65792e222c22696d61676101208201527f65223a220000000000000000000000000000000000000000000000000000000061014082015250565b600061453161014483614011565b915061453c8261437b565b61014482019050919050565b7f222c2265787465726e616c5f75726c223a220000000000000000000000000000815250565b7f222c22616e696d6174696f6e5f75726c223a22646174613a746578742f68746d60008201527f6c3b6261736536342c0000000000000000000000000000000000000000000000602082015250565b60006145ca602983614011565b91506145d58261456e565b602982019050919050565b7f222c000000000000000000000000000000000000000000000000000000000000815250565b600061461182614297565b601182019150614621828a6140c5565b915061462c826142bd565b60078201915061463c82896140c5565b915061464782614332565b915061465382886140c5565b915061465e82614355565b60028201915061466e82876140c5565b915061467982614523565b915061468582866140c5565b915061469082614548565b6012820191506146a082856140c5565b91506146ab826145bd565b91506146b782846140c5565b91506146c2826145e0565b60028201915081905098975050505050505050565b7f2261747472696275746573223a5b7b2274726169745f74797065223a2247726960008201527f64205769647468222c2276616c7565223a220000000000000000000000000000602082015250565b6000614733603283614011565b915061473e826146d7565b603282019050919050565b7f227d2c7b2274726169745f74797065223a22466565646261636b20496e74657260008201527f76616c222c2276616c7565223a22000000000000000000000000000000000000602082015250565b60006147a5602e83614011565b91506147b082614749565b602e82019050919050565b7f227d2c7b2274726169745f74797065223a2249646c652043656c6c732028252960008201527f222c2276616c7565223a22000000000000000000000000000000000000000000602082015250565b6000614817602b83614011565b9150614822826147bb565b602b82019050919050565b7f227d2c7b2274726169745f74797065223a22436c616d7065642043656c6c732060008201527f282529222c2276616c7565223a22000000000000000000000000000000000000602082015250565b6000614889602e83614011565b91506148948261482d565b602e82019050919050565b7f227d5d2c2273656564223a220000000000000000000000000000000000000000815250565b7f227d000000000000000000000000000000000000000000000000000000000000815250565b60006148f782896140c5565b915061490282614726565b915061490e82886140c5565b915061491982614798565b915061492582876140c5565b91506149308261480a565b915061493c82866140c5565b91506149478261487c565b915061495382856140c5565b915061495e8261489f565b600c8201915061496e82846140c5565b9150614979826148c5565b600282019150819050979650505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815250565b60006149be8261498d565b601d820191506149ce82846140c5565b915081905092915050565b60006149f46149ef6149ea846133e2565b613de8565b613518565b9050919050565b614a04816149d9565b82525050565b6000604082019050614a1f60008301856149fb565b614a2c6020830184613623565b9392505050565b6000819050919050565b614a4e614a4982613518565b614a33565b82525050565b60008160601b9050919050565b6000614a6c82614a54565b9050919050565b6000614a7e82614a61565b9050919050565b614a96614a918261357b565b614a73565b82525050565b6000819050919050565b614ab7614ab282613736565b614a9c565b82525050565b6000614ac882614a61565b9050919050565b614ae0614adb826133a4565b614abd565b82525050565b6000614af28288614a3d565b602082019150614b028287614a85565b601482019150614b128286614aa6565b602082019150614b228285614a3d565b602082019150614b328284614acf565b6014820191508190509695505050505050565b600081905092915050565b50565b6000614b60600083614b45565b9150614b6b82614b50565b600082019050919050565b6000614b8182614b53565b9150819050919050565b6000614b9682613518565b9150614ba183613518565b925082614bb157614bb0613d04565b5b828206905092915050565b6000614bc782613518565b9150614bd283613518565b9250828201905080821115614bea57614be9613c14565b5b92915050565b600081519050919050565b600082825260208201905092915050565b6000614c1782614bf0565b614c218185614bfb565b9350614c31818560208601613482565b614c3a816134ac565b840191505092915050565b6000608082019050614c5a600083018761358d565b614c67602083018661358d565b614c746040830185613623565b8181036060830152614c868184614c0c565b905095945050505050565b600081519050614ca0816132f5565b92915050565b600060208284031215614cbc57614cbb6132bf565b5b6000614cca84828501614c91565b91505092915050565b6000614cde82613518565b915060008203614cf157614cf0613c14565b5b600182039050919050565b6000604082019050614d116000830185613623565b614d1e6020830184613623565b9392505050565b6000614d318284614a3d565b6020820191508190509291505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220d6615c1b842f8f910dc961b0039dabf5419a4aa94e155ed6d96c00856588a43d64736f6c634300081400333c21646f63747970652068746d6c3e3c6d657461206e616d653d2276696577706f72742220636f6e74656e743d2277696474683d6465766963652d77696474682c6d6178696d756d2d7363616c653d31223e3c7469746c653e434f4d4d49543c2f7469746c653e3c7374796c653e2a7b6d617267696e3a303b70616464696e673a303b757365722d73656c6563743a6e6f6e653b77696474683a313030253b6865696768743a313030253b6f766572666c6f773a68696464656e7d3c2f7374796c653e3c612069643d2245223e3c2f613e3c63616e7661732069643d2256223e3c7363726970743e3b666f72285b612c625d6f66206e65772055524c286c6f636174696f6e292e736561726368506172616d73294f5b615d3d623b7769746828473d562e676574436f6e746578742822776562676c32222c7b707265736572766544726177696e674275666665723a317d292928583d653d3e676574457874656e73696f6e28652929604558545f636f6c6f725f6275666665725f666c6f6174602c4c3d58604f45535f746578747572655f666c6f61745f6c696e656172602c6f6e6b657975703d28483d7b663a6f6e64626c636c69636b3d653d3e503d21562e7265717565737446756c6c73637265656e28292c733a653d3e28452e687265663d562e746f4461746155524c60696d6167652f706e67602c452e646f776e6c6f61643d646f63756d656e742e7469746c652b222e706e67222c452e636c69636b2829292c2220223a562e6f6e636c69636b3d653d3e503d21507d2c653d3e485b652e6b65795d3f2e63616c6c2829292c4b3d28652c612c722c743d2828742c693d28742b362a65292536293d3e722d722a612a4d6174682e6d6178284d6174682e6d696e28692c342d692c31292c302929293d3e5b742835292c742833292c742831292c315d2c6f6e726573697a653d493d653d3e28463d302c76696577706f727428302c302c773d562e77696474683d562e636c69656e7457696474682a28723d4f2e723f3f646576696365506978656c526174696f297c302c683d562e6865696768743d562e636c69656e744865696768742a727c30292c28793d5b5d2c783d5b302c312c325d292e6d61702828653d3e28785b655d3d6372656174655465787475726528292c422865292c28543d28652c612c72293d3e746578496d616765324428742c302c33343834322c652c612c302c524742412c353132362c72292928772c68292c5b613d393732382b284c262631292c612c623d33333037312c625d2e6d6170282828652c61293d3e746578506172616d657465726928742c31303234302b612c652929292c653c32262628284a3d653d3e62696e644672616d6562756666657228613d33363136302c65292928795b655d3f3f3d6372656174654672616d656275666665722829292c6672616d6562756666657254657874757265324428612c33363036342c742c785b655d2c3029292929292c533d55696e74333241727261792e6f6628392c372c352c33292c523d28653d31293d3e652a28653d535b335d2c535b335d3d535b325d2c535b325d3d535b315d2c655e3d653c3c31312c535b305d5e3d655e653e3e3e385e28535b315d3d535b305d293e3e3e31392c535b305d2f322a2a3332292c5b2e2e2e4f2e535d2e6d61702828653d3e5228535b335d5e3d652e63686172436f6465417428292a535b305d2929292c433d5b4b285228292c2e392c2e32292c4b28302c302c2e3935292c4b285228292c2e38352c31295d292c703d63726561746550726f6772616d28693d4f2e66292c5b226f7574204f7b5820783d58282d31293b785b676c5f56657274657849445d3d332e3b676c5f506f736974696f6e3d5828753d782e78792c302c31293b7d222c22552058206b5b335d3b552073616d706c6572324420732c743b5520626f6f6c20623b46204228562070297b72657475726e206c656e677468286d617828703d61627328702d2e35292d2e352c302e29292b6d696e286d617828702e782c702e79292c302e293b7d58204b285820782c5820792c462068297b6d617433206d3d6d617433282e343132323231343730382c2e323131393033343938322c2e303838333032343631392c2e353336333332353336332c2e363830363939353435312c2e323831373138383337362c2e303531343435393932392c2e313037333936393536362c2e36323939373837303035293b5720613d5728312e2f332e292c633d6d69782850286d2a782e7267622c61292c50286d2a792e7267622c61292c68293b72657475726e205828696e7665727365286d292a28632a632a63292c31293b7d6f7574205820633b696e204f7b5620643d6b5b325d2e78792c692c703d2e352b2e352a752c663d6d6f646628702a642c69292c763d28633d5428742c28692b2e35292f6429292e78792b28662d632e7879292f28312e2d632e7a2a6b5b325d2e7a293b633d623f5428732c70292b2866726163742873696e28702e782a31322e393839382b702e792a37382e323333292a34333735382e35343533292d2e35292f3235352e3a636c616d702850286d69782850285428732c28692b76292f64292c47292c4b2850286b5b305d2c47292c50286b5b315d2c47292c632e772f322e3e2e353f662e783a662e79292c6b5b325d2e773c312e3f312e3a6d6f6428632e772c322e293e2e357c7c632e7a3d3d302e3f302e3a7374657028302e2c4228762929292c312e2f47292c302e2c312e293b7d225d2e6d6170282828652c61293d3e61747461636853686164657228702c733d6372656174655368616465722833353633332d61292c736861646572536f7572636528732c222376657273696f6e203330302065737e5620766563327e5720766563337e5820766563347e4620666c6f61747e5520756e69666f726d7e5420746578747572657e47205828322e32297e5020706f777e4f205620753b766f6964206d61696e28295c6e707265636973696f6e20686967687020463b5c6e222e73706c6974607e602e6a6f696e605c6e23646566696e6520602b65292c636f6d70696c655368616465722873292929292c6c696e6b50726f6772616d2870292c75736550726f6772616d2870292c553d28652c612c72293d3e475b22756e69666f726d222b655d28676574556e69666f726d4c6f636174696f6e28702c61292c72292c423d28652c613d65293d3e616374697665546578747572652833333938342b65297c7c62696e645465787475726528743d333535332c785b615d292c28413d653d3e72657175657374416e696d6174696f6e4672616d652828653d3e28502626467c7c284625697c7c28613d28723d307c52282b4f2e672b3129292f28773c3d683f773a68292c6d3d772a612b2e357c307c7c312c6e3d682a612b2e357c307c7c312c5528223169222c2274222c31292c4228312c32292c54286d2c6e2c6e657720466c6f617433324172726179285b2e2e2e4172726179286d2a6e295d2e666c61744d61702828653d3e5b5228292c5228292c5228293e2e30312a4f2e692a21217226265228292a2a2e352c285228293c2e35293c3c317c5228293c2e30312a4f2e635d29292929292c552822346676222c226b222c5b2e2e2e435b28613d462f697c302925335d2c2e2e2e435b2b2b6125335d2c6d2c6e2c4625692f692c462f695d292c5b302c315d2e6d61702828653d3e285528223169222c2262222c65292c4228302c613d462f6926315e65292c4a28653f6e756c6c3a795b312d615d292c6472617741727261797328352c302c33292929292c462b2b292c4128292929292928503d302c492829293c2f7363726970743e3c2f63616e7661733e68747470733a2f2f636f6d6d69742e756e72756c79756e726f6c6c2e78797a2f6d657461646174612f696d6167652f68747470733a2f2f636f6d6d69742e756e72756c79756e726f6c6c2e78797a2f6d657461646174612f65787465726e616c2f

Deployed Bytecode

0x6080604052600436106102305760003560e01c806370a082311161012e578063b88d4fde116100ab578063e985e9c51161006f578063e985e9c514610819578063f2bcd02214610856578063f2fde38b14610881578063f4a0a528146108aa578063f56026af146108d357610230565b8063b88d4fde14610722578063c506301d1461074b578063c87b56dd14610774578063d5abeb01146107b1578063da14be97146107dc57610230565b80638da5cb5b116100f25780638da5cb5b1461063d57806395d89b4114610668578063a22cb46514610693578063b56aca51146106bc578063b79bebaf146106e557610230565b806370a082311461056c578063715018a6146105a9578063841718a6146105c0578063891f9a11146105e95780638b7afe2e1461061257610230565b80632a55205a116101bc5780636352211e116101805780636352211e1461048557806366d0713f146104c25780636817c76c146104ed57806368428a1b146105185780636f8b44b01461054357610230565b80632a55205a146103b35780633ccfd60b146103f157806342842e0e146104085780634b845499146104315780635f5168361461044857610230565b8063095ea7b311610203578063095ea7b3146103035780631249c58b1461032c57806318160ddd1461033657806321b8092e1461036157806323b872dd1461038a57610230565b806301ffc9a71461023557806304634d8d1461027257806306fdde031461029b578063081812fc146102c6575b600080fd5b34801561024157600080fd5b5061025c60048036038101906102579190613321565b6108fe565b6040516102699190613369565b60405180910390f35b34801561027e57600080fd5b5061029960048036038101906102949190613426565b610910565b005b3480156102a757600080fd5b506102b0610926565b6040516102bd91906134f6565b60405180910390f35b3480156102d257600080fd5b506102ed60048036038101906102e8919061354e565b6109b8565b6040516102fa919061359c565b60405180910390f35b34801561030f57600080fd5b5061032a600480360381019061032591906135e3565b6109d4565b005b6103346109ea565b005b34801561034257600080fd5b5061034b610b00565b6040516103589190613632565b60405180910390f35b34801561036d57600080fd5b506103886004803603810190610383919061364d565b610b0a565b005b34801561039657600080fd5b506103b160048036038101906103ac919061367a565b610b56565b005b3480156103bf57600080fd5b506103da60048036038101906103d591906136cd565b610c58565b6040516103e892919061370d565b60405180910390f35b3480156103fd57600080fd5b50610406610e42565b005b34801561041457600080fd5b5061042f600480360381019061042a919061367a565b610ec2565b005b34801561043d57600080fd5b50610446610ee2565b005b34801561045457600080fd5b5061046f600480360381019061046a919061354e565b610f6f565b60405161047c919061374f565b60405180910390f35b34801561049157600080fd5b506104ac60048036038101906104a7919061354e565b610f87565b6040516104b9919061359c565b60405180910390f35b3480156104ce57600080fd5b506104d7610f99565b6040516104e491906134f6565b60405180910390f35b3480156104f957600080fd5b50610502611027565b60405161050f9190613632565b60405180910390f35b34801561052457600080fd5b5061052d61102d565b60405161053a9190613369565b60405180910390f35b34801561054f57600080fd5b5061056a6004803603810190610565919061354e565b611040565b005b34801561057857600080fd5b50610593600480360381019061058e919061376a565b61109b565b6040516105a09190613632565b60405180910390f35b3480156105b557600080fd5b506105be611155565b005b3480156105cc57600080fd5b506105e760048036038101906105e291906137c3565b611169565b005b3480156105f557600080fd5b50610610600480360381019061060b9190613925565b6111c5565b005b34801561061e57600080fd5b506106276111f7565b6040516106349190613632565b60405180910390f35b34801561064957600080fd5b506106526111ff565b60405161065f919061359c565b60405180910390f35b34801561067457600080fd5b5061067d611229565b60405161068a91906134f6565b60405180910390f35b34801561069f57600080fd5b506106ba60048036038101906106b5919061399d565b6112bb565b005b3480156106c857600080fd5b506106e360048036038101906106de91906139dd565b6112d1565b005b3480156106f157600080fd5b5061070c6004803603810190610707919061354e565b6112ec565b60405161071991906134f6565b60405180910390f35b34801561072e57600080fd5b5061074960048036038101906107449190613ac7565b6113c5565b005b34801561075757600080fd5b50610772600480360381019061076d91906139dd565b6113e2565b005b34801561078057600080fd5b5061079b6004803603810190610796919061354e565b6113fd565b6040516107a891906134f6565b60405180910390f35b3480156107bd57600080fd5b506107c6611555565b6040516107d39190613632565b60405180910390f35b3480156107e857600080fd5b5061080360048036038101906107fe919061354e565b61155b565b60405161081091906134f6565b60405180910390f35b34801561082557600080fd5b50610840600480360381019061083b9190613b4a565b611607565b60405161084d9190613369565b60405180910390f35b34801561086257600080fd5b5061086b61169b565b6040516108789190613b99565b60405180910390f35b34801561088d57600080fd5b506108a860048036038101906108a3919061376a565b6116c1565b005b3480156108b657600080fd5b506108d160048036038101906108cc919061354e565b611747565b005b3480156108df57600080fd5b506108e8611759565b6040516108f591906134f6565b60405180910390f35b6000610909826117e7565b9050919050565b610918611861565b61092282826118e8565b5050565b60606000805461093590613be3565b80601f016020809104026020016040519081016040528092919081815260200182805461096190613be3565b80156109ae5780601f10610983576101008083540402835291602001916109ae565b820191906000526020600020905b81548152906001019060200180831161099157829003601f168201915b5050505050905090565b60006109c382611a8a565b506109cd82611b12565b9050919050565b6109e682826109e1611b4f565b611b57565b5050565b6109f2611b69565b600d5460125410610a2f576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a60009054906101000a900460ff16610a75576040517f84b3602400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600e543414610ab0576040517f0772327b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610abb601254611baf565b600b6000601254815260200190815260200160002081905550610ae033601254611beb565b601260008154610aef90613c43565b91905081905550610afe611c09565b565b6000601254905090565b610b12611861565b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610bc85760006040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401610bbf919061359c565b60405180910390fd5b6000610bdc8383610bd7611b4f565b611c13565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c52578382826040517f64283d7b000000000000000000000000000000000000000000000000000000008152600401610c4993929190613c8b565b60405180910390fd5b50505050565b6000806000600960008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610ded5760086040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610df7611e2d565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610e239190613cc2565b610e2d9190613d33565b90508160000151819350935050509250929050565b610e4a611861565b610e52611b69565b60004703610e8c576040517f669567ea00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610eb8600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1647611e37565b610ec0611c09565b565b610edd838383604051806020016040528060008152506113c5565b505050565b610eea611861565b600d5460125410610f27576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f32601254611baf565b600b6000601254815260200190815260200160002081905550610f5733601254611beb565b601260008154610f6690613c43565b91905081905550565b600b6020528060005260406000206000915090505481565b6000610f9282611a8a565b9050919050565b60108054610fa690613be3565b80601f0160208091040260200160405190810160405280929190818152602001828054610fd290613be3565b801561101f5780601f10610ff45761010080835404028352916020019161101f565b820191906000526020600020905b81548152906001019060200180831161100257829003601f168201915b505050505081565b600e5481565b600a60009054906101000a900460ff1681565b611048611861565b60125481108061105a5750600d548110155b15611091576040517f15ae672700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600d8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361110e5760006040517f89c62b64000000000000000000000000000000000000000000000000000000008152600401611105919061359c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61115d611861565b6111676000611f24565b565b611171611861565b80600a60006101000a81548160ff0219169083151502179055507fe8a4303c22d8b575a6f175ea4803f56b0a4551ac9e22153304feb0ddfd614355816040516111ba9190613369565b60405180910390a150565b6111cd611861565b60405180604001604052808381526020018281525060119060026111f29291906131b3565b505050565b600047905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461123890613be3565b80601f016020809104026020016040519081016040528092919081815260200182805461126490613be3565b80156112b15780601f10611286576101008083540402835291602001916112b1565b820191906000526020600020905b81548152906001019060200180831161129457829003601f168201915b5050505050905090565b6112cd6112c6611b4f565b8383611fea565b5050565b6112d9611861565b80601090816112e89190613f10565b5050565b6060600061130f600b60008581526020019081526020016000205460001c612159565b9050600061131c84612177565b90506000601160008154811061133557611334613fe2565b5b906000526020600020018361134d84600001516122dc565b61135a85602001516122dc565b61136786604001516122dc565b61137487606001516122dc565b601160018154811061138957611388613fe2565b5b906000526020600020016040516020016113a997969594939291906141b4565b6040516020818303038152906040529050809350505050919050565b6113d0848484610b56565b6113dc848484846123aa565b50505050565b6113ea611861565b80600f90816113f99190613f10565b5050565b6060600061140a836122dc565b90506000601082604051602001611422929190614273565b60405160208183030381529060405290506000600f83604051602001611449929190614273565b6040516020818303038152906040529050600061146586612177565b9050600084858685878761148061147b8e6112ec565b612561565b6040516020016114969796959493929190614606565b6040516020818303038152906040529050806114b583600001516122dc565b6114c284602001516122dc565b6114cf85604001516122dc565b6114dc86606001516122dc565b6114fb600b60008e81526020019081526020016000205460001c612159565b604051602001611510969594939291906148eb565b604051602081830303815290604052905061152a81612561565b60405160200161153a91906149b3565b60405160208183030381529060405295505050505050919050565b600d5481565b6011818154811061156b57600080fd5b90600052602060002001600091509050805461158690613be3565b80601f01602080910402602001604051908101604052809291908181526020018280546115b290613be3565b80156115ff5780601f106115d4576101008083540402835291602001916115ff565b820191906000526020600020905b8154815290600101906020018083116115e257829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6116c9611861565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361173b5760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401611732919061359c565b60405180910390fd5b61174481611f24565b50565b61174f611861565b80600e8190555050565b600f805461176690613be3565b80601f016020809104026020016040519081016040528092919081815260200182805461179290613be3565b80156117df5780601f106117b4576101008083540402835291602001916117df565b820191906000526020600020905b8154815290600101906020018083116117c257829003601f168201915b505050505081565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061185a5750611859826126d3565b5b9050919050565b611869611b4f565b73ffffffffffffffffffffffffffffffffffffffff166118876111ff565b73ffffffffffffffffffffffffffffffffffffffff16146118e6576118aa611b4f565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016118dd919061359c565b60405180910390fd5b565b60006118f2611e2d565b6bffffffffffffffffffffffff16905080826bffffffffffffffffffffffff1611156119575781816040517f6f483d0900000000000000000000000000000000000000000000000000000000815260040161194e929190614a0a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036119c95760006040517fb6d9900a0000000000000000000000000000000000000000000000000000000081526004016119c0919061359c565b60405180910390fd5b60405180604001604052808473ffffffffffffffffffffffffffffffffffffffff168152602001836bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b600080611a96836127b5565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611b0957826040517f7e273289000000000000000000000000000000000000000000000000000000008152600401611b009190613632565b60405180910390fd5b80915050919050565b60006004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600033905090565b611b6483838360016127f2565b505050565b600260065403611ba5576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600681905550565b6000813360014303404441604051602001611bce959493929190614ae6565b604051602081830303815290604052805190602001209050919050565b611c058282604051806020016040528060008152506129b7565b5050565b6001600681905550565b600080611c1f846127b5565b9050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611c6157611c608184866129d3565b5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611cf257611ca36000856000806127f2565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614611d75576001600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b846002600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4809150509392505050565b6000612710905090565b80471015611e7c57306040517fcd786059000000000000000000000000000000000000000000000000000000008152600401611e73919061359c565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611ea290614b76565b60006040518083038185875af1925050503d8060008114611edf576040519150601f19603f3d011682016040523d82523d6000602084013e611ee4565b606091505b5050905080611f1f576040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361205b57816040517f5b08ba18000000000000000000000000000000000000000000000000000000008152600401612052919061359c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161214c9190613369565b60405180910390a3505050565b606061217082600161216a85612a97565b01612b27565b9050919050565b61217f61320c565b600061219f600b6000858152602001908152602001600020546005612d6d565b90506003816000815181106121b7576121b6613fe2565b5b60200260200101516121c99190614b8b565b60036121d59190614bbc565b82600001818152505060006009826001815181106121f6576121f5613fe2565b5b60200260200101516122089190614b8b565b9050600060098360028151811061222257612221613fe2565b5b60200260200101516122349190614b8b565b90508082106122435780612245565b815b600c6122519190614bbc565b8460200181815250506029836003815181106122705761226f613fe2565b5b60200260200101516122829190614b8b565b602861228e9190614bbc565b8460400181815250506029836004815181106122ad576122ac613fe2565b5b60200260200101516122bf9190614b8b565b60326122cb9190614bbc565b846060018181525050505050919050565b6060600060016122eb84612e3c565b01905060008167ffffffffffffffff81111561230a576123096137fa565b5b6040519080825280601f01601f19166020018201604052801561233c5781602001600182028036833780820191505090505b509050600082602001820190505b60011561239f578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161239357612392613d04565b5b0494506000850361234a575b819350505050919050565b60008373ffffffffffffffffffffffffffffffffffffffff163b111561255b578273ffffffffffffffffffffffffffffffffffffffff1663150b7a026123ee611b4f565b8685856040518563ffffffff1660e01b81526004016124109493929190614c45565b6020604051808303816000875af192505050801561244c57506040513d601f19601f820116820180604052508101906124499190614ca6565b60015b6124d0573d806000811461247c576040519150601f19603f3d011682016040523d82523d6000602084013e612481565b606091505b5060008151036124c857836040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016124bf919061359c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461255957836040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401612550919061359c565b60405180910390fd5b505b50505050565b60606000825103612583576040518060200160405280600081525090506126ce565b6000604051806060016040528060408152602001614d4160409139905060006003600285516125b29190614bbc565b6125bc9190613d33565b60046125c89190613cc2565b67ffffffffffffffff8111156125e1576125e06137fa565b5b6040519080825280601f01601f1916602001820160405280156126135781602001600182028036833780820191505090505b50905060018201602082018586518701602081018051600082525b82841015612689576003840193508351603f8160121c168701518653600186019550603f81600c1c168701518653600186019550603f8160061c168701518653600186019550603f811687015186536001860195505061262e565b80825260038a5106600181146126a657600281146126b9576126c1565b603d6001870353603d60028703536126c1565b603d60018703535b5050505050505080925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061279e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806127ae57506127ad82612f8f565b5b9050919050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b808061282b5750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b1561295f57600061283b84611a8a565b9050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156128a657508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b80156128b957506128b78184611607565b155b156128fb57826040517fa9fbf51f0000000000000000000000000000000000000000000000000000000081526004016128f2919061359c565b60405180910390fd5b811561295d57838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b836004600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b6129c18383612ff9565b6129ce60008484846123aa565b505050565b6129de8383836130f2565b612a9257600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612a5357806040517f7e273289000000000000000000000000000000000000000000000000000000008152600401612a4a9190613632565b60405180910390fd5b81816040517f177e802f000000000000000000000000000000000000000000000000000000008152600401612a8992919061370d565b60405180910390fd5b505050565b600080600090506000608084901c1115612ab957608083901c92506010810190505b6000604084901c1115612ad457604083901c92506008810190505b6000602084901c1115612aef57602083901c92506004810190505b6000601084901c1115612b0a57601083901c92506002810190505b6000600884901c1115612b1e576001810190505b80915050919050565b6060600083905060006002846002612b3f9190613cc2565b612b499190614bbc565b67ffffffffffffffff811115612b6257612b616137fa565b5b6040519080825280601f01601f191660200182016040528015612b945781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612bcc57612bcb613fe2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612c3057612c2f613fe2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001856002612c709190613cc2565b612c7a9190614bbc565b90505b6001811115612d1a577f3031323334353637383961626364656600000000000000000000000000000000600f841660108110612cbc57612cbb613fe2565b5b1a60f81b828281518110612cd357612cd2613fe2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600483901c925080612d1390614cd3565b9050612c7d565b5060008214612d625784846040517fe22e27eb000000000000000000000000000000000000000000000000000000008152600401612d59929190614cfc565b60405180910390fd5b809250505092915050565b606060008267ffffffffffffffff811115612d8b57612d8a6137fa565b5b604051908082528060200260200182016040528015612db95781602001602082028036833780820191505090505b50905060005b83811015612e3157808560001c612dd69190614bbc565b604051602001612de69190614d25565b6040516020818303038152906040528051906020012060001c828281518110612e1257612e11613fe2565b5b6020026020010181815250508080612e2990613c43565b915050612dbf565b508091505092915050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612e9a577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612e9057612e8f613d04565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612ed7576d04ee2d6d415b85acef81000000008381612ecd57612ecc613d04565b5b0492506020810190505b662386f26fc100008310612f0657662386f26fc100008381612efc57612efb613d04565b5b0492506010810190505b6305f5e1008310612f2f576305f5e1008381612f2557612f24613d04565b5b0492506008810190505b6127108310612f54576127108381612f4a57612f49613d04565b5b0492506004810190505b60648310612f775760648381612f6d57612f6c613d04565b5b0492506002810190505b600a8310612f86576001810190505b80915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361306b5760006040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401613062919061359c565b60405180910390fd5b600061307983836000611c13565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146130ed5760006040517f73c6ac6e0000000000000000000000000000000000000000000000000000000081526004016130e4919061359c565b60405180910390fd5b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156131aa57508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061316b575061316a8484611607565b5b806131a957508273ffffffffffffffffffffffffffffffffffffffff1661319183611b12565b73ffffffffffffffffffffffffffffffffffffffff16145b5b90509392505050565b8280548282559060005260206000209081019282156131fb579160200282015b828111156131fa5782518290816131ea9190613f10565b50916020019190600101906131d3565b5b5090506132089190613234565b5090565b6040518060800160405280600081526020016000815260200160008152602001600081525090565b5b80821115613254576000818161324b9190613258565b50600101613235565b5090565b50805461326490613be3565b6000825580601f106132765750613295565b601f0160209004906000526020600020908101906132949190613298565b5b50565b5b808211156132b1576000816000905550600101613299565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6132fe816132c9565b811461330957600080fd5b50565b60008135905061331b816132f5565b92915050565b600060208284031215613337576133366132bf565b5b60006133458482850161330c565b91505092915050565b60008115159050919050565b6133638161334e565b82525050565b600060208201905061337e600083018461335a565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006133af82613384565b9050919050565b6133bf816133a4565b81146133ca57600080fd5b50565b6000813590506133dc816133b6565b92915050565b60006bffffffffffffffffffffffff82169050919050565b613403816133e2565b811461340e57600080fd5b50565b600081359050613420816133fa565b92915050565b6000806040838503121561343d5761343c6132bf565b5b600061344b858286016133cd565b925050602061345c85828601613411565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134a0578082015181840152602081019050613485565b60008484015250505050565b6000601f19601f8301169050919050565b60006134c882613466565b6134d28185613471565b93506134e2818560208601613482565b6134eb816134ac565b840191505092915050565b6000602082019050818103600083015261351081846134bd565b905092915050565b6000819050919050565b61352b81613518565b811461353657600080fd5b50565b60008135905061354881613522565b92915050565b600060208284031215613564576135636132bf565b5b600061357284828501613539565b91505092915050565b600061358682613384565b9050919050565b6135968161357b565b82525050565b60006020820190506135b1600083018461358d565b92915050565b6135c08161357b565b81146135cb57600080fd5b50565b6000813590506135dd816135b7565b92915050565b600080604083850312156135fa576135f96132bf565b5b6000613608858286016135ce565b925050602061361985828601613539565b9150509250929050565b61362c81613518565b82525050565b60006020820190506136476000830184613623565b92915050565b600060208284031215613663576136626132bf565b5b6000613671848285016133cd565b91505092915050565b600080600060608486031215613693576136926132bf565b5b60006136a1868287016135ce565b93505060206136b2868287016135ce565b92505060406136c386828701613539565b9150509250925092565b600080604083850312156136e4576136e36132bf565b5b60006136f285828601613539565b925050602061370385828601613539565b9150509250929050565b6000604082019050613722600083018561358d565b61372f6020830184613623565b9392505050565b6000819050919050565b61374981613736565b82525050565b60006020820190506137646000830184613740565b92915050565b6000602082840312156137805761377f6132bf565b5b600061378e848285016135ce565b91505092915050565b6137a08161334e565b81146137ab57600080fd5b50565b6000813590506137bd81613797565b92915050565b6000602082840312156137d9576137d86132bf565b5b60006137e7848285016137ae565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613832826134ac565b810181811067ffffffffffffffff82111715613851576138506137fa565b5b80604052505050565b60006138646132b5565b90506138708282613829565b919050565b600067ffffffffffffffff8211156138905761388f6137fa565b5b613899826134ac565b9050602081019050919050565b82818337600083830152505050565b60006138c86138c384613875565b61385a565b9050828152602081018484840111156138e4576138e36137f5565b5b6138ef8482856138a6565b509392505050565b600082601f83011261390c5761390b6137f0565b5b813561391c8482602086016138b5565b91505092915050565b6000806040838503121561393c5761393b6132bf565b5b600083013567ffffffffffffffff81111561395a576139596132c4565b5b613966858286016138f7565b925050602083013567ffffffffffffffff811115613987576139866132c4565b5b613993858286016138f7565b9150509250929050565b600080604083850312156139b4576139b36132bf565b5b60006139c2858286016135ce565b92505060206139d3858286016137ae565b9150509250929050565b6000602082840312156139f3576139f26132bf565b5b600082013567ffffffffffffffff811115613a1157613a106132c4565b5b613a1d848285016138f7565b91505092915050565b600067ffffffffffffffff821115613a4157613a406137fa565b5b613a4a826134ac565b9050602081019050919050565b6000613a6a613a6584613a26565b61385a565b905082815260208101848484011115613a8657613a856137f5565b5b613a918482856138a6565b509392505050565b600082601f830112613aae57613aad6137f0565b5b8135613abe848260208601613a57565b91505092915050565b60008060008060808587031215613ae157613ae06132bf565b5b6000613aef878288016135ce565b9450506020613b00878288016135ce565b9350506040613b1187828801613539565b925050606085013567ffffffffffffffff811115613b3257613b316132c4565b5b613b3e87828801613a99565b91505092959194509250565b60008060408385031215613b6157613b606132bf565b5b6000613b6f858286016135ce565b9250506020613b80858286016135ce565b9150509250929050565b613b93816133a4565b82525050565b6000602082019050613bae6000830184613b8a565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613bfb57607f821691505b602082108103613c0e57613c0d613bb4565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613c4e82613518565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613c8057613c7f613c14565b5b600182019050919050565b6000606082019050613ca0600083018661358d565b613cad6020830185613623565b613cba604083018461358d565b949350505050565b6000613ccd82613518565b9150613cd883613518565b9250828202613ce681613518565b91508282048414831517613cfd57613cfc613c14565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613d3e82613518565b9150613d4983613518565b925082613d5957613d58613d04565b5b828204905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613dc67fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613d89565b613dd08683613d89565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613e0d613e08613e0384613518565b613de8565b613518565b9050919050565b6000819050919050565b613e2783613df2565b613e3b613e3382613e14565b848454613d96565b825550505050565b600090565b613e50613e43565b613e5b818484613e1e565b505050565b5b81811015613e7f57613e74600082613e48565b600181019050613e61565b5050565b601f821115613ec457613e9581613d64565b613e9e84613d79565b81016020851015613ead578190505b613ec1613eb985613d79565b830182613e60565b50505b505050565b600082821c905092915050565b6000613ee760001984600802613ec9565b1980831691505092915050565b6000613f008383613ed6565b9150826002028217905092915050565b613f1982613466565b67ffffffffffffffff811115613f3257613f316137fa565b5b613f3c8254613be3565b613f47828285613e83565b600060209050601f831160018114613f7a5760008415613f68578287015190505b613f728582613ef4565b865550613fda565b601f198416613f8886613d64565b60005b82811015613fb057848901518255600182019150602085019450602081019050613f8b565b86831015613fcd5784890151613fc9601f891682613ed6565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081905092915050565b6000815461402981613be3565b6140338186614011565b9450600182166000811461404e576001811461406357614096565b60ff1983168652811515820286019350614096565b61406c85613d64565b60005b8381101561408e5781548189015260018201915060208101905061406f565b838801955050505b50505092915050565b7f4f3d7b533a220000000000000000000000000000000000000000000000000000815250565b60006140d082613466565b6140da8185614011565b93506140ea818560208601613482565b80840191505092915050565b7f222c673a00000000000000000000000000000000000000000000000000000000815250565b7f2c663a0000000000000000000000000000000000000000000000000000000000815250565b7f2c693a0000000000000000000000000000000000000000000000000000000000815250565b7f2c633a0000000000000000000000000000000000000000000000000000000000815250565b7f7d00000000000000000000000000000000000000000000000000000000000000815250565b60006141c0828a61401c565b91506141cb8261409f565b6006820191506141db82896140c5565b91506141e6826140f6565b6004820191506141f682886140c5565b91506142018261411c565b60038201915061421182876140c5565b915061421c82614142565b60038201915061422c82866140c5565b915061423782614168565b60038201915061424782856140c5565b91506142528261418e565b600182019150614262828461401c565b915081905098975050505050505050565b600061427f828561401c565b915061428b82846140c5565b91508190509392505050565b7f7b226e616d65223a22434f4d4d49542023000000000000000000000000000000815250565b7f222c226964223a00000000000000000000000000000000000000000000000000815250565b7f2c22617574686f72223a22556e72756c7920556e726f6c6c222c22646573637260008201527f697074696f6e223a225b434f4d4d495420230000000000000000000000000000602082015250565b600061433f603283614011565b915061434a826142e3565b603282019050919050565b7f5d28000000000000000000000000000000000000000000000000000000000000815250565b7f292c206f6e2d636861696e2067656e6572617469766520617274776f726b206260008201527f7920556e72756c7920556e726f6c6c2c20323032342e205b68747470733a2f2f60208201527f636f6d6d69742e756e72756c79756e726f6c6c2e78797a5d2868747470733a2f60408201527f2f636f6d6d69742e756e72756c79756e726f6c6c2e78797a295c6e5c6e50617560608201527f73652f526573756d652074686520616e696d6174696f6e20776974682053504160808201527f4345206b6579206f72206c6566742d636c69636b2e5c6e53617665206120736360a08201527f7265656e73686f7420696e20504e4720666f726d617420776974682053206b6560c08201527f792e5c6e456e7465722066756c6c73637265656e206d6f64652077697468204660e08201527f206b6579206f7220646f75626c652d636c69636b2e5c6e457869742066756c6c6101008201527f73637265656e206d6f6465207769746820455343206b65792e222c22696d61676101208201527f65223a220000000000000000000000000000000000000000000000000000000061014082015250565b600061453161014483614011565b915061453c8261437b565b61014482019050919050565b7f222c2265787465726e616c5f75726c223a220000000000000000000000000000815250565b7f222c22616e696d6174696f6e5f75726c223a22646174613a746578742f68746d60008201527f6c3b6261736536342c0000000000000000000000000000000000000000000000602082015250565b60006145ca602983614011565b91506145d58261456e565b602982019050919050565b7f222c000000000000000000000000000000000000000000000000000000000000815250565b600061461182614297565b601182019150614621828a6140c5565b915061462c826142bd565b60078201915061463c82896140c5565b915061464782614332565b915061465382886140c5565b915061465e82614355565b60028201915061466e82876140c5565b915061467982614523565b915061468582866140c5565b915061469082614548565b6012820191506146a082856140c5565b91506146ab826145bd565b91506146b782846140c5565b91506146c2826145e0565b60028201915081905098975050505050505050565b7f2261747472696275746573223a5b7b2274726169745f74797065223a2247726960008201527f64205769647468222c2276616c7565223a220000000000000000000000000000602082015250565b6000614733603283614011565b915061473e826146d7565b603282019050919050565b7f227d2c7b2274726169745f74797065223a22466565646261636b20496e74657260008201527f76616c222c2276616c7565223a22000000000000000000000000000000000000602082015250565b60006147a5602e83614011565b91506147b082614749565b602e82019050919050565b7f227d2c7b2274726169745f74797065223a2249646c652043656c6c732028252960008201527f222c2276616c7565223a22000000000000000000000000000000000000000000602082015250565b6000614817602b83614011565b9150614822826147bb565b602b82019050919050565b7f227d2c7b2274726169745f74797065223a22436c616d7065642043656c6c732060008201527f282529222c2276616c7565223a22000000000000000000000000000000000000602082015250565b6000614889602e83614011565b91506148948261482d565b602e82019050919050565b7f227d5d2c2273656564223a220000000000000000000000000000000000000000815250565b7f227d000000000000000000000000000000000000000000000000000000000000815250565b60006148f782896140c5565b915061490282614726565b915061490e82886140c5565b915061491982614798565b915061492582876140c5565b91506149308261480a565b915061493c82866140c5565b91506149478261487c565b915061495382856140c5565b915061495e8261489f565b600c8201915061496e82846140c5565b9150614979826148c5565b600282019150819050979650505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815250565b60006149be8261498d565b601d820191506149ce82846140c5565b915081905092915050565b60006149f46149ef6149ea846133e2565b613de8565b613518565b9050919050565b614a04816149d9565b82525050565b6000604082019050614a1f60008301856149fb565b614a2c6020830184613623565b9392505050565b6000819050919050565b614a4e614a4982613518565b614a33565b82525050565b60008160601b9050919050565b6000614a6c82614a54565b9050919050565b6000614a7e82614a61565b9050919050565b614a96614a918261357b565b614a73565b82525050565b6000819050919050565b614ab7614ab282613736565b614a9c565b82525050565b6000614ac882614a61565b9050919050565b614ae0614adb826133a4565b614abd565b82525050565b6000614af28288614a3d565b602082019150614b028287614a85565b601482019150614b128286614aa6565b602082019150614b228285614a3d565b602082019150614b328284614acf565b6014820191508190509695505050505050565b600081905092915050565b50565b6000614b60600083614b45565b9150614b6b82614b50565b600082019050919050565b6000614b8182614b53565b9150819050919050565b6000614b9682613518565b9150614ba183613518565b925082614bb157614bb0613d04565b5b828206905092915050565b6000614bc782613518565b9150614bd283613518565b9250828201905080821115614bea57614be9613c14565b5b92915050565b600081519050919050565b600082825260208201905092915050565b6000614c1782614bf0565b614c218185614bfb565b9350614c31818560208601613482565b614c3a816134ac565b840191505092915050565b6000608082019050614c5a600083018761358d565b614c67602083018661358d565b614c746040830185613623565b8181036060830152614c868184614c0c565b905095945050505050565b600081519050614ca0816132f5565b92915050565b600060208284031215614cbc57614cbb6132bf565b5b6000614cca84828501614c91565b91505092915050565b6000614cde82613518565b915060008203614cf157614cf0613c14565b5b600182039050919050565b6000604082019050614d116000830185613623565b614d1e6020830184613623565b9392505050565b6000614d318284614a3d565b6020820191508190509291505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220d6615c1b842f8f910dc961b0039dabf5419a4aa94e155ed6d96c00856588a43d64736f6c63430008140033

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.