ETH Price: $3,241.64 (+2.33%)
Gas: 3 Gwei

Token

ARBOFIRE (arfw)
 

Overview

Max Total Supply

333 arfw

Holders

229

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
iheartart.eth
Balance
2 arfw
0x050EE024a0fFd8b9bd383271835b27Dd66c3feC3
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:
ArboFireworks

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

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

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

pragma solidity ^0.8.0;

contract ArboFireworks is ERC721Enumerable, Ownable {
    IERC721 public _arfes;

    //price variables
    uint256 public constant PRICE_PER_TOKEN = 0.03 ether;

    //supply variables
    uint256 public _maxSupply = 333;

    //sale state control variables
    bool public _isBurningEnabled = false;
    bool public _isMintingEnabled = false;
    bool public _isClaimingEnabled = false;

    //wallet to withdraw to
    address payable public _abar =
        payable(address(0x96f10441b25f56AfE30FDB03c6853f0fEC70F389));

    //metadata variables
    string private _baseURI_ = "http://localhost:3001/api/tokens/";
    uint256 private _tokenId;

    //artwork script
    string public _script = "let pg,seed=parseInt(tokenData.hash.slice(0,16),16);const firework=[],colors=['#c33f3f','#ffe63f','#609f65','#ff893f','#ad4dd0','#00c0f8','#636363','#FFFFFF','#2e40a9','#222222'],ccA=['#F085F2','#C55CF2','#7732D9','#F27E63','#F25252'],ccB=['#C33A32','#006E46','#F6B221','#880D53','#1E428A'];let gravity,rdn,count,frame,posX=[],num=[],type=[],dis=[],hh=[];const ss=150;let bg,pg2,pg3,colorId,frameStyle,branch,branchIdx,doBranch,step=0,fireColor=0;const json={},snap=isToSnap;function preload(){compose()}function setup(){createCanvas(600,600,WEBGL),noSmooth(),pg=createGraphics(ss,ss,WEBGL),pg2=createGraphics(600,600),pg3=createGraphics(600,600),canvas.imageSmoothingEnabled=!1,this._renderer.getTexture(pg).setInterpolation(NEAREST,NEAREST),pg.angleMode(DEGREES),pg.noSmooth(),pg.clear(),pg.background(0),pg2.clear(),pg2.image(bg,0,0),pg3.clear(),pg3.image(tree,0,0),gravity=createVector(0,.004)}function echo(){const e=color(colors[colorId]),o=red(e),t=red(e),r=red(e);pg.fill(o,t,r,10),pg.noStroke(),pg.rectMode(CENTER),pg.rect(0,0,ss,ss)}function noEcho(){background(0),pg.clear()}function doFire(e){if(null!=num[e])for(let o=0;o<num[e];o++)firework.push(new Ball(o,pos(posX[e]),type[e],num[e],dis[e],hh[e]))}function draw(){if(150==++step)pg2.clear(),pg2.image(bg,0,0),pg3.clear(),pg3.image(tree,0,0),doBranch<5&&pg3.image(branch,0,0);else if(step>160){if(echo(),5==(count=frameCount%500)?(doFire(0),doFire(10)):20==count?(doFire(1),doFire(11)):40==count?(doFire(2),doFire(12)):60==count?(doFire(3),doFire(13)):80==count?(doFire(4),doFire(14)):100==count?(doFire(5),doFire(15)):120==count?(doFire(6),doFire(16)):140==count?(doFire(7),doFire(17)):160==count?(doFire(8),doFire(18)):180==count&&(doFire(9),doFire(19)),firework.length>0)for(let e=0;e<firework.length;e++)firework[e].show(),firework[e].move(),firework[e].applyForce(gravity),firework[e].vel.y>0&&firework[e].boom(),firework[e].isDead()&&firework.splice(e,1);imageMode(CENTER),image(pg2,0,0,500,500),image(pg,0,0,500,500),blendMode(BLEND),image(pg3,0,0,500,500),noFill(),image(frame,0,0)}800==step&&snap&&(save(`${tokenData.tokenId}.png`),saveJSON(json,`${tokenData.tokenId}.json`),window.emitMetadataDownloaded&&setTimeout(()=>{window.emitMetadataDownloaded()},1e4))}class Ball{constructor(e,o,t,r,i,n){this.pos=createVector(o,88),this.vel=createVector(0,-.01),this.acel=createVector(0,-1),this.s=1,this.t=t,this.aux=!0,this.a=255,this.life=random(3,10),this.id=e,this.num=r,this.c=null,this.dis=i,this.hh=n}show(){pg.noStroke(),fireColor>1?(this.c=colors[colorId],pg.fill(this.c)):(this.cc=ccB[this.id%ccB.length],this.c=color(this.cc),pg.fill(this.c)),pg.ellipse(this.pos.x,this.pos.y,this.s,this.s),this.aux||(this.a-=random(2,this.life))}move(){this.vel.add(this.acel),this.vel.limit(this.hh),this.pos.add(this.vel),this.acel.mult(0)}applyForce(e){this.acel.add(e)}boom(){0==this.t?this.aux&&(this.x=cos(this.id/this.num*6.28),this.y=sin(this.id/this.num*6.28),this.acel=createVector(this.x,this.y),this.acel.normalize(),this.acel.mult(this.dis),this.aux=!1):1==this.t?this.aux&&(this.acel=p5.Vector.random2D(),this.acel.normalize(),this.acel.mult(random(this.dis)),this.aux=!1):2==this.t&&(this.acel=p5.Vector.random2D(),this.acel.normalize(),this.acel.mult(this.dis),this.aux=!1)}isDead(){return this.a<10}}function compose(){step=0,(rdn=new Random(seed)).random_dec(),colorId=rdn.random_int(0,10);const e=rdn.random_int(0,10);let o;o=!((fireColor=rdn.random_int(0,10))>1),branchIdx=0;let t,r,i,n,s=!1,a=!1;n=colors[colorId];const d=rdn.random_num(0,1);if(frameStyle=d>.95?5:d>.9?4:d>.8?3:d>.66?2:d>.33?1:0,frame=loadImage(`${imgBaseUrl}/frame_${frameStyle}.png`),e<7){s=!1;const e=rdn.random_int(0,9);t=e;const o=rdn.random_int(0,9);r=o,i=branchIdx=rdn.random_int(0,9),bg=loadImage(`${imgBaseUrl}/moon_${e}.png`),tree=loadImage(`${imgBaseUrl}/tree_${o}.png`)}else s=!0,bg=loadImage(`${imgBaseUrl}/moon_${colorId}.png`),tree=loadImage(`${imgBaseUrl}/tree_${colorId}.png`),branchIdx=colorId,t=colorId,r=colorId,i=colorId;(doBranch=rdn.random_int(0,10))<5?(branch=loadImage(`${imgBaseUrl}/t_${branchIdx}.png`),a=!0):i=null;const c=rdn.random_int(6,20);for(let e=0;e<c;e++)posX[e]=rdn.random_int(1,6),num[e]=rdn.random_int(5,30),type[e]=rdn.random_int(0,2),dis[e]=rdn.random_num(.4,.6),hh[e]=rdn.random_num(2,3);if(debug){const e=[`FrameStyle:${frameStyle}`,`SameColor:${s}`,`Branch:${a}`,`BgImg:${t}`,`TreeImg:${r}`,`BranchImg:${i}`,`FireworkColor:${n}`,`Shot:${c}`,`SpecialFirework:${o}`];console.log(e)}json['Frame Style']=frameStyle,json['Same Color']=s,json.Branch=a,json['Background Image']=t,json['Tree Image']=r,json['Branch Image']=i,json['Firework Color']=n,json.Shot=c,json['Special Firework']=o}function anchor(){push(),noFill(),stroke(255);for(let e=0;e<7;e++){const o=average(600,7,e)-300;ellipse(o,250,20,20)}pop()}function mousePressed(){debug&&(seed=int(random(1e4)),posX=[],colorg=[],num=[],type=[],dis=[],hh=[],compose())}function touchStarted(){debug&&(seed=int(random(1e4)),posX=[],colorg=[],num=[],type=[],dis=[],hh=[],compose())}class Random{constructor(e){this.seed=e}random_dec(){return this.seed^=this.seed<<13,this.seed^=this.seed>>17,this.seed^=this.seed<<5,(this.seed<0?1+~this.seed:this.seed)%1e3/1e3}random_num(e,o){return e+(o-e)*this.random_dec()}random_int(e,o){return Math.floor(this.random_num(e,o))}}function average(e,o,t){return e/(o+1)*(t+1)}function pos(e){const o=average(600,7,e);return map(o,0,600,-ss/2,ss/2)}function applyFeedbackTo(e){const o=e.get(1,1,e.width-2,e.height-2);e.image(o,-50,-50,e.width,e.height)}";

    //build token claimed mapping
    mapping(uint256 => bool) public _buildTokenClaimed;

    //tokenId to unique hash mapping
    mapping(uint256 => bytes32) public _tokenIdToHash;

    constructor(address arfes) ERC721("ARBOFIRE", "arfw") {
        _arfes = IERC721(arfes);
    }

    function setMaxSupply(uint256 maxSupply) external onlyOwner {
        _maxSupply = maxSupply;
    }

    function setScript(string memory script) external onlyOwner {
        _script = script;
    }

    function toggleBurningEnabled() external onlyOwner {
        _isBurningEnabled = !_isBurningEnabled;
    }

    function toggleMintingEnabled() external onlyOwner {
        _isMintingEnabled = !_isMintingEnabled;
    }

    function toggleClaimingEnabled() external onlyOwner {
        _isClaimingEnabled = !_isClaimingEnabled;
    }

    function _mintToken(address to) internal {
        ++_tokenId;
        uint256 newTokenId = _tokenId;

        bytes32 hash = keccak256(
            abi.encodePacked(
                newTokenId,
                block.number,
                blockhash(block.number - 1),
                msg.sender,
                block.timestamp
            )
        );
        _tokenIdToHash[newTokenId] = hash;

        _safeMint(to, newTokenId);
    }

    function reserveTokens(uint256 tokensToReserve) external onlyOwner {
        for (uint256 i = 0; i < tokensToReserve; i++) {
            _mintToken(msg.sender);
        }
    }

    function claim(uint256 buildTokenId) external {
        require(_isClaimingEnabled, "claiming is not enabled");
        require(totalSupply() < _maxSupply, "sold out");
        require(
            buildTokenId >= 357 && buildTokenId <= 536,
            "token ID entered is not a BUILD token"
        );
        require(
            _arfes.ownerOf(buildTokenId) == msg.sender,
            "not the owner of the BUILD token entered"
        );
        require(
            _buildTokenClaimed[buildTokenId] == false,
            "Firework already claimed for this BUILD token"
        );

        _buildTokenClaimed[buildTokenId] = true;
        _mintToken(msg.sender);
    }

    function mint() external payable {
        require(_isMintingEnabled, "minting is not enabled");
        require(totalSupply() < _maxSupply, "sold out");
        require(msg.value == PRICE_PER_TOKEN, "wrong value");

        _mintToken(msg.sender);
    }

    function burn(uint256 tokenId) public {
        require(_isBurningEnabled, "burning is not enabled");
        require(
            _isApprovedOrOwner(_msgSender(), tokenId),
            "caller is not owner nor approved"
        );
        _burn(tokenId);
    }

    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        _abar.transfer(balance);
    }

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

    function setBaseURI(string memory newBaseURI) public onlyOwner {
        _baseURI_ = newBaseURI;
    }
}

File 2 of 13 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 3 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 5 of 13 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 6 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 7 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 8 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 9 of 13 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 13 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 11 of 13 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 12 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 13 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"arfes","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":[],"name":"PRICE_PER_TOKEN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_abar","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_arfes","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_buildTokenClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_isBurningEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_isClaimingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_isMintingEnabled","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":"_script","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_tokenIdToHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buildTokenId","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","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":"tokensToReserve","type":"uint256"}],"name":"reserveTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"script","type":"string"}],"name":"setScript","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleBurningEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleClaimingEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleMintingEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

61014d600c55600d80546001600160b81b0319167696f10441b25f56afe30fdb03c6853f0fec70f38900000017905560e0604052602160808181529062002a1b60a03980516200005891600e91602090910190620001b8565b50604051806115c00160405280611599815260200162002a3c611599913980516200008c91601091602090910190620001b8565b503480156200009a57600080fd5b5060405162003fd538038062003fd5833981016040819052620000bd916200025e565b60408051808201825260088152674152424f4649524560c01b6020808301918252835180850190945260048452636172667760e01b9084015281519192916200010991600091620001b8565b5080516200011f906001906020840190620001b8565b5050506200013c620001366200016260201b60201c565b62000166565b600b80546001600160a01b0319166001600160a01b0392909216919091179055620002cb565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001c6906200028e565b90600052602060002090601f016020900481019282620001ea576000855562000235565b82601f106200020557805160ff191683800117855562000235565b8280016001018555821562000235579182015b828111156200023557825182559160200191906001019062000218565b506200024392915062000247565b5090565b5b8082111562000243576000815560010162000248565b60006020828403121562000270578081fd5b81516001600160a01b038116811462000287578182fd5b9392505050565b600181811c90821680620002a357607f821691505b60208210811415620002c557634e487b7160e01b600052602260045260246000fd5b50919050565b61274080620002db6000396000f3fe60806040526004361061023a5760003560e01c80635196e0601161012e5780638da5cb5b116100ab578063c87b56dd1161006f578063c87b56dd14610685578063d031370b146106a5578063d8287163146106c5578063e985e9c5146106da578063f2fde38b1461072357600080fd5b80638da5cb5b146105f357806395d89b4114610611578063a22cb46514610626578063a5cb71fd14610646578063b88d4fde1461066557600080fd5b8063715018a6116100f2578063715018a61461057457806378a4ab8514610589578063833b9499146105a957806383b9272b146105c45780638a016249146105de57600080fd5b80635196e060146104df57806355f804b3146104f45780636352211e146105145780636f8b44b01461053457806370a082311461055457600080fd5b80632f745c59116101bc57806342842e0e1161018057806342842e0e1461043857806342966c681461045857806345aa6201146104785780634f6ccce71461049f5780634ffc1c74146104bf57600080fd5b80632f745c59146103ae578063362cd5d0146103ce578063379607f5146103ee5780633ccfd60b1461040e5780633ee501b41461042357600080fd5b80631249c58b116102035780631249c58b1461032b57806318160ddd1461033357806322f4596f1461034857806323b872dd1461035e5780632dd03c721461037e57600080fd5b80625ea3071461023f57806301ffc9a71461027f57806306fdde03146102af578063081812fc146102d1578063095ea7b314610309575b600080fd5b34801561024b57600080fd5b5061026c61025a366004612429565b60126020526000908152604090205481565b6040519081526020015b60405180910390f35b34801561028b57600080fd5b5061029f61029a3660046123ab565b610743565b6040519015158152602001610276565b3480156102bb57600080fd5b506102c461076e565b60405161027691906124d9565b3480156102dd57600080fd5b506102f16102ec366004612429565b610800565b6040516001600160a01b039091168152602001610276565b34801561031557600080fd5b50610329610324366004612380565b61089a565b005b6103296109b0565b34801561033f57600080fd5b5060085461026c565b34801561035457600080fd5b5061026c600c5481565b34801561036a57600080fd5b50610329610379366004612292565b610a8d565b34801561038a57600080fd5b5061029f610399366004612429565b60116020526000908152604090205460ff1681565b3480156103ba57600080fd5b5061026c6103c9366004612380565b610abf565b3480156103da57600080fd5b50600b546102f1906001600160a01b031681565b3480156103fa57600080fd5b50610329610409366004612429565b610b55565b34801561041a57600080fd5b50610329610dd6565b34801561042f57600080fd5b50610329610e45565b34801561044457600080fd5b50610329610453366004612292565b610e83565b34801561046457600080fd5b50610329610473366004612429565b610e9e565b34801561048457600080fd5b50600d546102f190630100000090046001600160a01b031681565b3480156104ab57600080fd5b5061026c6104ba366004612429565b610f47565b3480156104cb57600080fd5b50600d5461029f9062010000900460ff1681565b3480156104eb57600080fd5b50610329610fe8565b34801561050057600080fd5b5061032961050f3660046123e3565b61102f565b34801561052057600080fd5b506102f161052f366004612429565b61106c565b34801561054057600080fd5b5061032961054f366004612429565b6110e3565b34801561056057600080fd5b5061026c61056f366004612222565b611112565b34801561058057600080fd5b50610329611199565b34801561059557600080fd5b506103296105a43660046123e3565b6111cd565b3480156105b557600080fd5b5061026c666a94d74f43000081565b3480156105d057600080fd5b50600d5461029f9060ff1681565b3480156105ea57600080fd5b506102c461120a565b3480156105ff57600080fd5b50600a546001600160a01b03166102f1565b34801561061d57600080fd5b506102c4611298565b34801561063257600080fd5b5061032961064136600461234f565b6112a7565b34801561065257600080fd5b50600d5461029f90610100900460ff1681565b34801561067157600080fd5b506103296106803660046122d2565b61136c565b34801561069157600080fd5b506102c46106a0366004612429565b6113a4565b3480156106b157600080fd5b506103296106c0366004612429565b61147f565b3480156106d157600080fd5b506103296114cf565b3480156106e657600080fd5b5061029f6106f536600461225a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561072f57600080fd5b5061032961073e366004612222565b611518565b60006001600160e01b0319821663780e9d6360e01b14806107685750610768826115b0565b92915050565b60606000805461077d90612633565b80601f01602080910402602001604051908101604052809291908181526020018280546107a990612633565b80156107f65780601f106107cb576101008083540402835291602001916107f6565b820191906000526020600020905b8154815290600101906020018083116107d957829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661087e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006108a58261106c565b9050806001600160a01b0316836001600160a01b031614156109135760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610875565b336001600160a01b038216148061092f575061092f81336106f5565b6109a15760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610875565b6109ab8383611600565b505050565b600d54610100900460ff16610a005760405162461bcd60e51b81526020600482015260166024820152751b5a5b9d1a5b99c81a5cc81b9bdd08195b98589b195960521b6044820152606401610875565b600c5460085410610a3e5760405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b6044820152606401610875565b666a94d74f4300003414610a825760405162461bcd60e51b815260206004820152600b60248201526a77726f6e672076616c756560a81b6044820152606401610875565b610a8b3361166e565b565b610a98335b82611702565b610ab45760405162461bcd60e51b815260040161087590612573565b6109ab8383836117f9565b6000610aca83611112565b8210610b2c5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610875565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600d5462010000900460ff16610bad5760405162461bcd60e51b815260206004820152601760248201527f636c61696d696e67206973206e6f7420656e61626c65640000000000000000006044820152606401610875565b600c5460085410610beb5760405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b6044820152606401610875565b6101658110158015610bff57506102188111155b610c595760405162461bcd60e51b815260206004820152602560248201527f746f6b656e20494420656e7465726564206973206e6f742061204255494c44206044820152643a37b5b2b760d91b6064820152608401610875565b600b546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e9060240160206040518083038186803b158015610c9d57600080fd5b505afa158015610cb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd5919061223e565b6001600160a01b031614610d3c5760405162461bcd60e51b815260206004820152602860248201527f6e6f7420746865206f776e6572206f6620746865204255494c4420746f6b656e60448201526708195b9d195c995960c21b6064820152608401610875565b60008181526011602052604090205460ff1615610db15760405162461bcd60e51b815260206004820152602d60248201527f46697265776f726b20616c726561647920636c61696d656420666f722074686960448201526c3990212aa4a622103a37b5b2b760991b6064820152608401610875565b6000818152601160205260409020805460ff19166001179055610dd33361166e565b50565b600a546001600160a01b03163314610e005760405162461bcd60e51b81526004016108759061253e565b600d546040514791630100000090046001600160a01b0316906108fc8315029083906000818181858888f19350505050158015610e41573d6000803e3d6000fd5b5050565b600a546001600160a01b03163314610e6f5760405162461bcd60e51b81526004016108759061253e565b600d805460ff19811660ff90911615179055565b6109ab8383836040518060200160405280600081525061136c565b600d5460ff16610ee95760405162461bcd60e51b8152602060048201526016602482015275189d5c9b9a5b99c81a5cc81b9bdd08195b98589b195960521b6044820152606401610875565b610ef233610a92565b610f3e5760405162461bcd60e51b815260206004820181905260248201527f63616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665646044820152606401610875565b610dd3816119a4565b6000610f5260085490565b8210610fb55760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610875565b60088281548110610fd657634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b031633146110125760405162461bcd60e51b81526004016108759061253e565b600d805461ff001981166101009182900460ff1615909102179055565b600a546001600160a01b031633146110595760405162461bcd60e51b81526004016108759061253e565b8051610e4190600e906020840190612113565b6000818152600260205260408120546001600160a01b0316806107685760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610875565b600a546001600160a01b0316331461110d5760405162461bcd60e51b81526004016108759061253e565b600c55565b60006001600160a01b03821661117d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610875565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146111c35760405162461bcd60e51b81526004016108759061253e565b610a8b6000611a4b565b600a546001600160a01b031633146111f75760405162461bcd60e51b81526004016108759061253e565b8051610e41906010906020840190612113565b6010805461121790612633565b80601f016020809104026020016040519081016040528092919081815260200182805461124390612633565b80156112905780601f1061126557610100808354040283529160200191611290565b820191906000526020600020905b81548152906001019060200180831161127357829003601f168201915b505050505081565b60606001805461077d90612633565b6001600160a01b0382163314156113005760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610875565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6113763383611702565b6113925760405162461bcd60e51b815260040161087590612573565b61139e84848484611a9d565b50505050565b6000818152600260205260409020546060906001600160a01b03166114235760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610875565b600061142d611ad0565b9050600081511161144d5760405180602001604052806000815250611478565b8061145784611adf565b60405160200161146892919061246d565b6040516020818303038152906040525b9392505050565b600a546001600160a01b031633146114a95760405162461bcd60e51b81526004016108759061253e565b60005b81811015610e41576114bd3361166e565b806114c78161266e565b9150506114ac565b600a546001600160a01b031633146114f95760405162461bcd60e51b81526004016108759061253e565b600d805462ff0000198116620100009182900460ff1615909102179055565b600a546001600160a01b031633146115425760405162461bcd60e51b81526004016108759061253e565b6001600160a01b0381166115a75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610875565b610dd381611a4b565b60006001600160e01b031982166380ac58cd60e01b14806115e157506001600160e01b03198216635b5e139f60e01b145b8061076857506301ffc9a760e01b6001600160e01b0319831614610768565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906116358261106c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600f6000815461167d9061266e565b90915550600f54600081436116936001826125f0565b6040805160208101949094528301919091524060608083019190915233901b6bffffffffffffffffffffffff1916608082015242609482015260b40160408051601f19818403018152918152815160209283012060008581526012909352912081905590506109ab8383611bf9565b6000818152600260205260408120546001600160a01b031661177b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610875565b60006117868361106c565b9050806001600160a01b0316846001600160a01b031614806117c15750836001600160a01b03166117b684610800565b6001600160a01b0316145b806117f157506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661180c8261106c565b6001600160a01b0316146118745760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610875565b6001600160a01b0382166118d65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610875565b6118e1838383611c13565b6118ec600082611600565b6001600160a01b03831660009081526003602052604081208054600192906119159084906125f0565b90915550506001600160a01b03821660009081526003602052604081208054600192906119439084906125c4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006119af8261106c565b90506119bd81600084611c13565b6119c8600083611600565b6001600160a01b03811660009081526003602052604081208054600192906119f19084906125f0565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611aa88484846117f9565b611ab484848484611ccb565b61139e5760405162461bcd60e51b8152600401610875906124ec565b6060600e805461077d90612633565b606081611b035750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611b2d5780611b178161266e565b9150611b269050600a836125dc565b9150611b07565b60008167ffffffffffffffff811115611b5657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611b80576020820181803683370190505b5090505b84156117f157611b956001836125f0565b9150611ba2600a86612689565b611bad9060306125c4565b60f81b818381518110611bd057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611bf2600a866125dc565b9450611b84565b610e41828260405180602001604052806000815250611dd8565b6001600160a01b038316611c6e57611c6981600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611c91565b816001600160a01b0316836001600160a01b031614611c9157611c918382611e0b565b6001600160a01b038216611ca8576109ab81611ea8565b826001600160a01b0316826001600160a01b0316146109ab576109ab8282611f81565b60006001600160a01b0384163b15611dcd57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611d0f90339089908890889060040161249c565b602060405180830381600087803b158015611d2957600080fd5b505af1925050508015611d59575060408051601f3d908101601f19168201909252611d56918101906123c7565b60015b611db3573d808015611d87576040519150601f19603f3d011682016040523d82523d6000602084013e611d8c565b606091505b508051611dab5760405162461bcd60e51b8152600401610875906124ec565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506117f1565b506001949350505050565b611de28383611fc5565b611def6000848484611ccb565b6109ab5760405162461bcd60e51b8152600401610875906124ec565b60006001611e1884611112565b611e2291906125f0565b600083815260076020526040902054909150808214611e75576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611eba906001906125f0565b60008381526009602052604081205460088054939450909284908110611ef057634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110611f1f57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611f6557634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611f8c83611112565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661201b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610875565b6000818152600260205260409020546001600160a01b0316156120805760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610875565b61208c60008383611c13565b6001600160a01b03821660009081526003602052604081208054600192906120b59084906125c4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461211f90612633565b90600052602060002090601f0160209004810192826121415760008555612187565b82601f1061215a57805160ff1916838001178555612187565b82800160010185558215612187579182015b8281111561218757825182559160200191906001019061216c565b50612193929150612197565b5090565b5b808211156121935760008155600101612198565b600067ffffffffffffffff808411156121c7576121c76126c9565b604051601f8501601f19908116603f011681019082821181831017156121ef576121ef6126c9565b8160405280935085815286868601111561220857600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612233578081fd5b8135611478816126df565b60006020828403121561224f578081fd5b8151611478816126df565b6000806040838503121561226c578081fd5b8235612277816126df565b91506020830135612287816126df565b809150509250929050565b6000806000606084860312156122a6578081fd5b83356122b1816126df565b925060208401356122c1816126df565b929592945050506040919091013590565b600080600080608085870312156122e7578081fd5b84356122f2816126df565b93506020850135612302816126df565b925060408501359150606085013567ffffffffffffffff811115612324578182fd5b8501601f81018713612334578182fd5b612343878235602084016121ac565b91505092959194509250565b60008060408385031215612361578182fd5b823561236c816126df565b915060208301358015158114612287578182fd5b60008060408385031215612392578182fd5b823561239d816126df565b946020939093013593505050565b6000602082840312156123bc578081fd5b8135611478816126f4565b6000602082840312156123d8578081fd5b8151611478816126f4565b6000602082840312156123f4578081fd5b813567ffffffffffffffff81111561240a578182fd5b8201601f8101841361241a578182fd5b6117f1848235602084016121ac565b60006020828403121561243a578081fd5b5035919050565b60008151808452612459816020860160208601612607565b601f01601f19169290920160200192915050565b6000835161247f818460208801612607565b835190830190612493818360208801612607565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906124cf90830184612441565b9695505050505050565b6020815260006114786020830184612441565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156125d7576125d761269d565b500190565b6000826125eb576125eb6126b3565b500490565b6000828210156126025761260261269d565b500390565b60005b8381101561262257818101518382015260200161260a565b8381111561139e5750506000910152565b600181811c9082168061264757607f821691505b6020821081141561266857634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156126825761268261269d565b5060010190565b600082612698576126986126b3565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610dd357600080fd5b6001600160e01b031981168114610dd357600080fdfea26469706673582212205b2129d574f295878907a1355f4e9b9ebe8f17a6d918f80cc7a615091378e8eb64736f6c63430008040033687474703a2f2f6c6f63616c686f73743a333030312f6170692f746f6b656e732f6c65742070672c736565643d7061727365496e7428746f6b656e446174612e686173682e736c69636528302c3136292c3136293b636f6e73742066697265776f726b3d5b5d2c636f6c6f72733d5b2723633333663366272c2723666665363366272c2723363039663635272c2723666638393366272c2723616434646430272c2723303063306638272c2723363336333633272c2723464646464646272c2723326534306139272c2723323232323232275d2c6363413d5b2723463038354632272c2723433535434632272c2723373733324439272c2723463237453633272c2723463235323532275d2c6363423d5b2723433333413332272c2723303036453436272c2723463642323231272c2723383830443533272c2723314534323841275d3b6c657420677261766974792c72646e2c636f756e742c6672616d652c706f73583d5b5d2c6e756d3d5b5d2c747970653d5b5d2c6469733d5b5d2c68683d5b5d3b636f6e73742073733d3135303b6c65742062672c7067322c7067332c636f6c6f7249642c6672616d655374796c652c6272616e63682c6272616e63684964782c646f4272616e63682c737465703d302c66697265436f6c6f723d303b636f6e7374206a736f6e3d7b7d2c736e61703d6973546f536e61703b66756e6374696f6e207072656c6f616428297b636f6d706f736528297d66756e6374696f6e20736574757028297b63726561746543616e766173283630302c3630302c574542474c292c6e6f536d6f6f746828292c70673d63726561746547726170686963732873732c73732c574542474c292c7067323d6372656174654772617068696373283630302c363030292c7067333d6372656174654772617068696373283630302c363030292c63616e7661732e696d616765536d6f6f7468696e67456e61626c65643d21312c746869732e5f72656e64657265722e67657454657874757265287067292e736574496e746572706f6c6174696f6e284e4541524553542c4e454152455354292c70672e616e676c654d6f64652844454752454553292c70672e6e6f536d6f6f746828292c70672e636c65617228292c70672e6261636b67726f756e642830292c7067322e636c65617228292c7067322e696d6167652862672c302c30292c7067332e636c65617228292c7067332e696d61676528747265652c302c30292c677261766974793d637265617465566563746f7228302c2e303034297d66756e6374696f6e206563686f28297b636f6e737420653d636f6c6f7228636f6c6f72735b636f6c6f7249645d292c6f3d7265642865292c743d7265642865292c723d7265642865293b70672e66696c6c286f2c742c722c3130292c70672e6e6f5374726f6b6528292c70672e726563744d6f64652843454e544552292c70672e7265637428302c302c73732c7373297d66756e6374696f6e206e6f4563686f28297b6261636b67726f756e642830292c70672e636c65617228297d66756e6374696f6e20646f466972652865297b6966286e756c6c213d6e756d5b655d29666f72286c6574206f3d303b6f3c6e756d5b655d3b6f2b2b2966697265776f726b2e70757368286e65772042616c6c286f2c706f7328706f73585b655d292c747970655b655d2c6e756d5b655d2c6469735b655d2c68685b655d29297d66756e6374696f6e206472617728297b6966283135303d3d2b2b73746570297067322e636c65617228292c7067322e696d6167652862672c302c30292c7067332e636c65617228292c7067332e696d61676528747265652c302c30292c646f4272616e63683c3526267067332e696d616765286272616e63682c302c30293b656c736520696628737465703e313630297b6966286563686f28292c353d3d28636f756e743d6672616d65436f756e7425353030293f28646f466972652830292c646f4669726528313029293a32303d3d636f756e743f28646f466972652831292c646f4669726528313129293a34303d3d636f756e743f28646f466972652832292c646f4669726528313229293a36303d3d636f756e743f28646f466972652833292c646f4669726528313329293a38303d3d636f756e743f28646f466972652834292c646f4669726528313429293a3130303d3d636f756e743f28646f466972652835292c646f4669726528313529293a3132303d3d636f756e743f28646f466972652836292c646f4669726528313629293a3134303d3d636f756e743f28646f466972652837292c646f4669726528313729293a3136303d3d636f756e743f28646f466972652838292c646f4669726528313829293a3138303d3d636f756e74262628646f466972652839292c646f4669726528313929292c66697265776f726b2e6c656e6774683e3029666f72286c657420653d303b653c66697265776f726b2e6c656e6774683b652b2b2966697265776f726b5b655d2e73686f7728292c66697265776f726b5b655d2e6d6f766528292c66697265776f726b5b655d2e6170706c79466f7263652867726176697479292c66697265776f726b5b655d2e76656c2e793e30262666697265776f726b5b655d2e626f6f6d28292c66697265776f726b5b655d2e6973446561642829262666697265776f726b2e73706c69636528652c31293b696d6167654d6f64652843454e544552292c696d616765287067322c302c302c3530302c353030292c696d6167652870672c302c302c3530302c353030292c626c656e644d6f646528424c454e44292c696d616765287067332c302c302c3530302c353030292c6e6f46696c6c28292c696d616765286672616d652c302c30297d3830303d3d737465702626736e6170262628736176652860247b746f6b656e446174612e746f6b656e49647d2e706e6760292c736176654a534f4e286a736f6e2c60247b746f6b656e446174612e746f6b656e49647d2e6a736f6e60292c77696e646f772e656d69744d65746164617461446f776e6c6f61646564262673657454696d656f75742828293d3e7b77696e646f772e656d69744d65746164617461446f776e6c6f6164656428297d2c31653429297d636c6173732042616c6c7b636f6e7374727563746f7228652c6f2c742c722c692c6e297b746869732e706f733d637265617465566563746f72286f2c3838292c746869732e76656c3d637265617465566563746f7228302c2d2e3031292c746869732e6163656c3d637265617465566563746f7228302c2d31292c746869732e733d312c746869732e743d742c746869732e6175783d21302c746869732e613d3235352c746869732e6c6966653d72616e646f6d28332c3130292c746869732e69643d652c746869732e6e756d3d722c746869732e633d6e756c6c2c746869732e6469733d692c746869732e68683d6e7d73686f7728297b70672e6e6f5374726f6b6528292c66697265436f6c6f723e313f28746869732e633d636f6c6f72735b636f6c6f7249645d2c70672e66696c6c28746869732e6329293a28746869732e63633d6363425b746869732e6964256363422e6c656e6774685d2c746869732e633d636f6c6f7228746869732e6363292c70672e66696c6c28746869732e6329292c70672e656c6c6970736528746869732e706f732e782c746869732e706f732e792c746869732e732c746869732e73292c746869732e6175787c7c28746869732e612d3d72616e646f6d28322c746869732e6c69666529297d6d6f766528297b746869732e76656c2e61646428746869732e6163656c292c746869732e76656c2e6c696d697428746869732e6868292c746869732e706f732e61646428746869732e76656c292c746869732e6163656c2e6d756c742830297d6170706c79466f7263652865297b746869732e6163656c2e6164642865297d626f6f6d28297b303d3d746869732e743f746869732e617578262628746869732e783d636f7328746869732e69642f746869732e6e756d2a362e3238292c746869732e793d73696e28746869732e69642f746869732e6e756d2a362e3238292c746869732e6163656c3d637265617465566563746f7228746869732e782c746869732e79292c746869732e6163656c2e6e6f726d616c697a6528292c746869732e6163656c2e6d756c7428746869732e646973292c746869732e6175783d2131293a313d3d746869732e743f746869732e617578262628746869732e6163656c3d70352e566563746f722e72616e646f6d324428292c746869732e6163656c2e6e6f726d616c697a6528292c746869732e6163656c2e6d756c742872616e646f6d28746869732e64697329292c746869732e6175783d2131293a323d3d746869732e74262628746869732e6163656c3d70352e566563746f722e72616e646f6d324428292c746869732e6163656c2e6e6f726d616c697a6528292c746869732e6163656c2e6d756c7428746869732e646973292c746869732e6175783d2131297d69734465616428297b72657475726e20746869732e613c31307d7d66756e6374696f6e20636f6d706f736528297b737465703d302c2872646e3d6e65772052616e646f6d287365656429292e72616e646f6d5f64656328292c636f6c6f7249643d72646e2e72616e646f6d5f696e7428302c3130293b636f6e737420653d72646e2e72616e646f6d5f696e7428302c3130293b6c6574206f3b6f3d21282866697265436f6c6f723d72646e2e72616e646f6d5f696e7428302c313029293e31292c6272616e63684964783d303b6c657420742c722c692c6e2c733d21312c613d21313b6e3d636f6c6f72735b636f6c6f7249645d3b636f6e737420643d72646e2e72616e646f6d5f6e756d28302c31293b6966286672616d655374796c653d643e2e39353f353a643e2e393f343a643e2e383f333a643e2e36363f323a643e2e33333f313a302c6672616d653d6c6f6164496d6167652860247b696d674261736555726c7d2f6672616d655f247b6672616d655374796c657d2e706e6760292c653c37297b733d21313b636f6e737420653d72646e2e72616e646f6d5f696e7428302c39293b743d653b636f6e7374206f3d72646e2e72616e646f6d5f696e7428302c39293b723d6f2c693d6272616e63684964783d72646e2e72616e646f6d5f696e7428302c39292c62673d6c6f6164496d6167652860247b696d674261736555726c7d2f6d6f6f6e5f247b657d2e706e6760292c747265653d6c6f6164496d6167652860247b696d674261736555726c7d2f747265655f247b6f7d2e706e6760297d656c736520733d21302c62673d6c6f6164496d6167652860247b696d674261736555726c7d2f6d6f6f6e5f247b636f6c6f7249647d2e706e6760292c747265653d6c6f6164496d6167652860247b696d674261736555726c7d2f747265655f247b636f6c6f7249647d2e706e6760292c6272616e63684964783d636f6c6f7249642c743d636f6c6f7249642c723d636f6c6f7249642c693d636f6c6f7249643b28646f4272616e63683d72646e2e72616e646f6d5f696e7428302c313029293c353f286272616e63683d6c6f6164496d6167652860247b696d674261736555726c7d2f745f247b6272616e63684964787d2e706e6760292c613d2130293a693d6e756c6c3b636f6e737420633d72646e2e72616e646f6d5f696e7428362c3230293b666f72286c657420653d303b653c633b652b2b29706f73585b655d3d72646e2e72616e646f6d5f696e7428312c36292c6e756d5b655d3d72646e2e72616e646f6d5f696e7428352c3330292c747970655b655d3d72646e2e72616e646f6d5f696e7428302c32292c6469735b655d3d72646e2e72616e646f6d5f6e756d282e342c2e36292c68685b655d3d72646e2e72616e646f6d5f6e756d28322c33293b6966286465627567297b636f6e737420653d5b604672616d655374796c653a247b6672616d655374796c657d602c6053616d65436f6c6f723a247b737d602c604272616e63683a247b617d602c604267496d673a247b747d602c6054726565496d673a247b727d602c604272616e6368496d673a247b697d602c6046697265776f726b436f6c6f723a247b6e7d602c6053686f743a247b637d602c605370656369616c46697265776f726b3a247b6f7d605d3b636f6e736f6c652e6c6f672865297d6a736f6e5b274672616d65205374796c65275d3d6672616d655374796c652c6a736f6e5b2753616d6520436f6c6f72275d3d732c6a736f6e2e4272616e63683d612c6a736f6e5b274261636b67726f756e6420496d616765275d3d742c6a736f6e5b275472656520496d616765275d3d722c6a736f6e5b274272616e636820496d616765275d3d692c6a736f6e5b2746697265776f726b20436f6c6f72275d3d6e2c6a736f6e2e53686f743d632c6a736f6e5b275370656369616c2046697265776f726b275d3d6f7d66756e6374696f6e20616e63686f7228297b7075736828292c6e6f46696c6c28292c7374726f6b6528323535293b666f72286c657420653d303b653c373b652b2b297b636f6e7374206f3d61766572616765283630302c372c65292d3330303b656c6c69707365286f2c3235302c32302c3230297d706f7028297d66756e6374696f6e206d6f7573655072657373656428297b6465627567262628736565643d696e742872616e646f6d2831653429292c706f73583d5b5d2c636f6c6f72673d5b5d2c6e756d3d5b5d2c747970653d5b5d2c6469733d5b5d2c68683d5b5d2c636f6d706f73652829297d66756e6374696f6e20746f7563685374617274656428297b6465627567262628736565643d696e742872616e646f6d2831653429292c706f73583d5b5d2c636f6c6f72673d5b5d2c6e756d3d5b5d2c747970653d5b5d2c6469733d5b5d2c68683d5b5d2c636f6d706f73652829297d636c6173732052616e646f6d7b636f6e7374727563746f722865297b746869732e736565643d657d72616e646f6d5f64656328297b72657475726e20746869732e736565645e3d746869732e736565643c3c31332c746869732e736565645e3d746869732e736565643e3e31372c746869732e736565645e3d746869732e736565643c3c352c28746869732e736565643c303f312b7e746869732e736565643a746869732e7365656429253165332f3165337d72616e646f6d5f6e756d28652c6f297b72657475726e20652b286f2d65292a746869732e72616e646f6d5f64656328297d72616e646f6d5f696e7428652c6f297b72657475726e204d6174682e666c6f6f7228746869732e72616e646f6d5f6e756d28652c6f29297d7d66756e6374696f6e206176657261676528652c6f2c74297b72657475726e20652f286f2b31292a28742b31297d66756e6374696f6e20706f732865297b636f6e7374206f3d61766572616765283630302c372c65293b72657475726e206d6170286f2c302c3630302c2d73732f322c73732f32297d66756e6374696f6e206170706c79466565646261636b546f2865297b636f6e7374206f3d652e67657428312c312c652e77696474682d322c652e6865696768742d32293b652e696d616765286f2c2d35302c2d35302c652e77696474682c652e686569676874297d0000000000000000000000009ecc667b19f36c712e99f600b8909f6b82dd3773

Deployed Bytecode

0x60806040526004361061023a5760003560e01c80635196e0601161012e5780638da5cb5b116100ab578063c87b56dd1161006f578063c87b56dd14610685578063d031370b146106a5578063d8287163146106c5578063e985e9c5146106da578063f2fde38b1461072357600080fd5b80638da5cb5b146105f357806395d89b4114610611578063a22cb46514610626578063a5cb71fd14610646578063b88d4fde1461066557600080fd5b8063715018a6116100f2578063715018a61461057457806378a4ab8514610589578063833b9499146105a957806383b9272b146105c45780638a016249146105de57600080fd5b80635196e060146104df57806355f804b3146104f45780636352211e146105145780636f8b44b01461053457806370a082311461055457600080fd5b80632f745c59116101bc57806342842e0e1161018057806342842e0e1461043857806342966c681461045857806345aa6201146104785780634f6ccce71461049f5780634ffc1c74146104bf57600080fd5b80632f745c59146103ae578063362cd5d0146103ce578063379607f5146103ee5780633ccfd60b1461040e5780633ee501b41461042357600080fd5b80631249c58b116102035780631249c58b1461032b57806318160ddd1461033357806322f4596f1461034857806323b872dd1461035e5780632dd03c721461037e57600080fd5b80625ea3071461023f57806301ffc9a71461027f57806306fdde03146102af578063081812fc146102d1578063095ea7b314610309575b600080fd5b34801561024b57600080fd5b5061026c61025a366004612429565b60126020526000908152604090205481565b6040519081526020015b60405180910390f35b34801561028b57600080fd5b5061029f61029a3660046123ab565b610743565b6040519015158152602001610276565b3480156102bb57600080fd5b506102c461076e565b60405161027691906124d9565b3480156102dd57600080fd5b506102f16102ec366004612429565b610800565b6040516001600160a01b039091168152602001610276565b34801561031557600080fd5b50610329610324366004612380565b61089a565b005b6103296109b0565b34801561033f57600080fd5b5060085461026c565b34801561035457600080fd5b5061026c600c5481565b34801561036a57600080fd5b50610329610379366004612292565b610a8d565b34801561038a57600080fd5b5061029f610399366004612429565b60116020526000908152604090205460ff1681565b3480156103ba57600080fd5b5061026c6103c9366004612380565b610abf565b3480156103da57600080fd5b50600b546102f1906001600160a01b031681565b3480156103fa57600080fd5b50610329610409366004612429565b610b55565b34801561041a57600080fd5b50610329610dd6565b34801561042f57600080fd5b50610329610e45565b34801561044457600080fd5b50610329610453366004612292565b610e83565b34801561046457600080fd5b50610329610473366004612429565b610e9e565b34801561048457600080fd5b50600d546102f190630100000090046001600160a01b031681565b3480156104ab57600080fd5b5061026c6104ba366004612429565b610f47565b3480156104cb57600080fd5b50600d5461029f9062010000900460ff1681565b3480156104eb57600080fd5b50610329610fe8565b34801561050057600080fd5b5061032961050f3660046123e3565b61102f565b34801561052057600080fd5b506102f161052f366004612429565b61106c565b34801561054057600080fd5b5061032961054f366004612429565b6110e3565b34801561056057600080fd5b5061026c61056f366004612222565b611112565b34801561058057600080fd5b50610329611199565b34801561059557600080fd5b506103296105a43660046123e3565b6111cd565b3480156105b557600080fd5b5061026c666a94d74f43000081565b3480156105d057600080fd5b50600d5461029f9060ff1681565b3480156105ea57600080fd5b506102c461120a565b3480156105ff57600080fd5b50600a546001600160a01b03166102f1565b34801561061d57600080fd5b506102c4611298565b34801561063257600080fd5b5061032961064136600461234f565b6112a7565b34801561065257600080fd5b50600d5461029f90610100900460ff1681565b34801561067157600080fd5b506103296106803660046122d2565b61136c565b34801561069157600080fd5b506102c46106a0366004612429565b6113a4565b3480156106b157600080fd5b506103296106c0366004612429565b61147f565b3480156106d157600080fd5b506103296114cf565b3480156106e657600080fd5b5061029f6106f536600461225a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561072f57600080fd5b5061032961073e366004612222565b611518565b60006001600160e01b0319821663780e9d6360e01b14806107685750610768826115b0565b92915050565b60606000805461077d90612633565b80601f01602080910402602001604051908101604052809291908181526020018280546107a990612633565b80156107f65780601f106107cb576101008083540402835291602001916107f6565b820191906000526020600020905b8154815290600101906020018083116107d957829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661087e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006108a58261106c565b9050806001600160a01b0316836001600160a01b031614156109135760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610875565b336001600160a01b038216148061092f575061092f81336106f5565b6109a15760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610875565b6109ab8383611600565b505050565b600d54610100900460ff16610a005760405162461bcd60e51b81526020600482015260166024820152751b5a5b9d1a5b99c81a5cc81b9bdd08195b98589b195960521b6044820152606401610875565b600c5460085410610a3e5760405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b6044820152606401610875565b666a94d74f4300003414610a825760405162461bcd60e51b815260206004820152600b60248201526a77726f6e672076616c756560a81b6044820152606401610875565b610a8b3361166e565b565b610a98335b82611702565b610ab45760405162461bcd60e51b815260040161087590612573565b6109ab8383836117f9565b6000610aca83611112565b8210610b2c5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610875565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600d5462010000900460ff16610bad5760405162461bcd60e51b815260206004820152601760248201527f636c61696d696e67206973206e6f7420656e61626c65640000000000000000006044820152606401610875565b600c5460085410610beb5760405162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b6044820152606401610875565b6101658110158015610bff57506102188111155b610c595760405162461bcd60e51b815260206004820152602560248201527f746f6b656e20494420656e7465726564206973206e6f742061204255494c44206044820152643a37b5b2b760d91b6064820152608401610875565b600b546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e9060240160206040518083038186803b158015610c9d57600080fd5b505afa158015610cb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd5919061223e565b6001600160a01b031614610d3c5760405162461bcd60e51b815260206004820152602860248201527f6e6f7420746865206f776e6572206f6620746865204255494c4420746f6b656e60448201526708195b9d195c995960c21b6064820152608401610875565b60008181526011602052604090205460ff1615610db15760405162461bcd60e51b815260206004820152602d60248201527f46697265776f726b20616c726561647920636c61696d656420666f722074686960448201526c3990212aa4a622103a37b5b2b760991b6064820152608401610875565b6000818152601160205260409020805460ff19166001179055610dd33361166e565b50565b600a546001600160a01b03163314610e005760405162461bcd60e51b81526004016108759061253e565b600d546040514791630100000090046001600160a01b0316906108fc8315029083906000818181858888f19350505050158015610e41573d6000803e3d6000fd5b5050565b600a546001600160a01b03163314610e6f5760405162461bcd60e51b81526004016108759061253e565b600d805460ff19811660ff90911615179055565b6109ab8383836040518060200160405280600081525061136c565b600d5460ff16610ee95760405162461bcd60e51b8152602060048201526016602482015275189d5c9b9a5b99c81a5cc81b9bdd08195b98589b195960521b6044820152606401610875565b610ef233610a92565b610f3e5760405162461bcd60e51b815260206004820181905260248201527f63616c6c6572206973206e6f74206f776e6572206e6f7220617070726f7665646044820152606401610875565b610dd3816119a4565b6000610f5260085490565b8210610fb55760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610875565b60088281548110610fd657634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b600a546001600160a01b031633146110125760405162461bcd60e51b81526004016108759061253e565b600d805461ff001981166101009182900460ff1615909102179055565b600a546001600160a01b031633146110595760405162461bcd60e51b81526004016108759061253e565b8051610e4190600e906020840190612113565b6000818152600260205260408120546001600160a01b0316806107685760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610875565b600a546001600160a01b0316331461110d5760405162461bcd60e51b81526004016108759061253e565b600c55565b60006001600160a01b03821661117d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610875565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146111c35760405162461bcd60e51b81526004016108759061253e565b610a8b6000611a4b565b600a546001600160a01b031633146111f75760405162461bcd60e51b81526004016108759061253e565b8051610e41906010906020840190612113565b6010805461121790612633565b80601f016020809104026020016040519081016040528092919081815260200182805461124390612633565b80156112905780601f1061126557610100808354040283529160200191611290565b820191906000526020600020905b81548152906001019060200180831161127357829003601f168201915b505050505081565b60606001805461077d90612633565b6001600160a01b0382163314156113005760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610875565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6113763383611702565b6113925760405162461bcd60e51b815260040161087590612573565b61139e84848484611a9d565b50505050565b6000818152600260205260409020546060906001600160a01b03166114235760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610875565b600061142d611ad0565b9050600081511161144d5760405180602001604052806000815250611478565b8061145784611adf565b60405160200161146892919061246d565b6040516020818303038152906040525b9392505050565b600a546001600160a01b031633146114a95760405162461bcd60e51b81526004016108759061253e565b60005b81811015610e41576114bd3361166e565b806114c78161266e565b9150506114ac565b600a546001600160a01b031633146114f95760405162461bcd60e51b81526004016108759061253e565b600d805462ff0000198116620100009182900460ff1615909102179055565b600a546001600160a01b031633146115425760405162461bcd60e51b81526004016108759061253e565b6001600160a01b0381166115a75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610875565b610dd381611a4b565b60006001600160e01b031982166380ac58cd60e01b14806115e157506001600160e01b03198216635b5e139f60e01b145b8061076857506301ffc9a760e01b6001600160e01b0319831614610768565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906116358261106c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600f6000815461167d9061266e565b90915550600f54600081436116936001826125f0565b6040805160208101949094528301919091524060608083019190915233901b6bffffffffffffffffffffffff1916608082015242609482015260b40160408051601f19818403018152918152815160209283012060008581526012909352912081905590506109ab8383611bf9565b6000818152600260205260408120546001600160a01b031661177b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610875565b60006117868361106c565b9050806001600160a01b0316846001600160a01b031614806117c15750836001600160a01b03166117b684610800565b6001600160a01b0316145b806117f157506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661180c8261106c565b6001600160a01b0316146118745760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610875565b6001600160a01b0382166118d65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610875565b6118e1838383611c13565b6118ec600082611600565b6001600160a01b03831660009081526003602052604081208054600192906119159084906125f0565b90915550506001600160a01b03821660009081526003602052604081208054600192906119439084906125c4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006119af8261106c565b90506119bd81600084611c13565b6119c8600083611600565b6001600160a01b03811660009081526003602052604081208054600192906119f19084906125f0565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611aa88484846117f9565b611ab484848484611ccb565b61139e5760405162461bcd60e51b8152600401610875906124ec565b6060600e805461077d90612633565b606081611b035750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611b2d5780611b178161266e565b9150611b269050600a836125dc565b9150611b07565b60008167ffffffffffffffff811115611b5657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611b80576020820181803683370190505b5090505b84156117f157611b956001836125f0565b9150611ba2600a86612689565b611bad9060306125c4565b60f81b818381518110611bd057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611bf2600a866125dc565b9450611b84565b610e41828260405180602001604052806000815250611dd8565b6001600160a01b038316611c6e57611c6981600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611c91565b816001600160a01b0316836001600160a01b031614611c9157611c918382611e0b565b6001600160a01b038216611ca8576109ab81611ea8565b826001600160a01b0316826001600160a01b0316146109ab576109ab8282611f81565b60006001600160a01b0384163b15611dcd57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611d0f90339089908890889060040161249c565b602060405180830381600087803b158015611d2957600080fd5b505af1925050508015611d59575060408051601f3d908101601f19168201909252611d56918101906123c7565b60015b611db3573d808015611d87576040519150601f19603f3d011682016040523d82523d6000602084013e611d8c565b606091505b508051611dab5760405162461bcd60e51b8152600401610875906124ec565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506117f1565b506001949350505050565b611de28383611fc5565b611def6000848484611ccb565b6109ab5760405162461bcd60e51b8152600401610875906124ec565b60006001611e1884611112565b611e2291906125f0565b600083815260076020526040902054909150808214611e75576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611eba906001906125f0565b60008381526009602052604081205460088054939450909284908110611ef057634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110611f1f57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611f6557634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611f8c83611112565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661201b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610875565b6000818152600260205260409020546001600160a01b0316156120805760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610875565b61208c60008383611c13565b6001600160a01b03821660009081526003602052604081208054600192906120b59084906125c4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461211f90612633565b90600052602060002090601f0160209004810192826121415760008555612187565b82601f1061215a57805160ff1916838001178555612187565b82800160010185558215612187579182015b8281111561218757825182559160200191906001019061216c565b50612193929150612197565b5090565b5b808211156121935760008155600101612198565b600067ffffffffffffffff808411156121c7576121c76126c9565b604051601f8501601f19908116603f011681019082821181831017156121ef576121ef6126c9565b8160405280935085815286868601111561220857600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612233578081fd5b8135611478816126df565b60006020828403121561224f578081fd5b8151611478816126df565b6000806040838503121561226c578081fd5b8235612277816126df565b91506020830135612287816126df565b809150509250929050565b6000806000606084860312156122a6578081fd5b83356122b1816126df565b925060208401356122c1816126df565b929592945050506040919091013590565b600080600080608085870312156122e7578081fd5b84356122f2816126df565b93506020850135612302816126df565b925060408501359150606085013567ffffffffffffffff811115612324578182fd5b8501601f81018713612334578182fd5b612343878235602084016121ac565b91505092959194509250565b60008060408385031215612361578182fd5b823561236c816126df565b915060208301358015158114612287578182fd5b60008060408385031215612392578182fd5b823561239d816126df565b946020939093013593505050565b6000602082840312156123bc578081fd5b8135611478816126f4565b6000602082840312156123d8578081fd5b8151611478816126f4565b6000602082840312156123f4578081fd5b813567ffffffffffffffff81111561240a578182fd5b8201601f8101841361241a578182fd5b6117f1848235602084016121ac565b60006020828403121561243a578081fd5b5035919050565b60008151808452612459816020860160208601612607565b601f01601f19169290920160200192915050565b6000835161247f818460208801612607565b835190830190612493818360208801612607565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906124cf90830184612441565b9695505050505050565b6020815260006114786020830184612441565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156125d7576125d761269d565b500190565b6000826125eb576125eb6126b3565b500490565b6000828210156126025761260261269d565b500390565b60005b8381101561262257818101518382015260200161260a565b8381111561139e5750506000910152565b600181811c9082168061264757607f821691505b6020821081141561266857634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156126825761268261269d565b5060010190565b600082612698576126986126b3565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610dd357600080fd5b6001600160e01b031981168114610dd357600080fdfea26469706673582212205b2129d574f295878907a1355f4e9b9ebe8f17a6d918f80cc7a615091378e8eb64736f6c63430008040033

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

0000000000000000000000009ecc667b19f36c712e99f600b8909f6b82dd3773

-----Decoded View---------------
Arg [0] : arfes (address): 0x9ecC667b19F36c712E99F600b8909F6B82Dd3773

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000009ecc667b19f36c712e99f600b8909f6b82dd3773


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.