ETH Price: $3,930.56 (+0.64%)

Token

DOPE (DOPE)
 

Overview

Max Total Supply

8,000 DOPE

Holders

1,804

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 DOPE
0x9874346057faa8c5638694e1c1959f1d4bb48149
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The DOPEWARS community is producing a game on the Ethereum and StarkWare blockchain, inspired by the classic TI-83 game we played instead of doing math homework.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
DopeWarsLoot

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 50 runs

Other Settings:
default evmVersion
File 1 of 14 : NewLoot.sol
pragma solidity ^0.8.0;

import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/security/ReentrancyGuard.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol";

abstract contract ERC721Checkpointable is ERC721Enumerable {
    /// @notice Defines decimals as per ERC-20 convention to make integrations with 3rd party governance platforms easier
    uint8 public constant decimals = 0;

    /// @notice A record of each accounts delegate
    mapping(address => address) private _delegates;

    /// @notice A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint96 votes;
    }

    /// @notice A record of votes checkpoints for each account, by index
    mapping(address => mapping(uint32 => Checkpoint)) public checkpoints;

    /// @notice The number of checkpoints for each account
    mapping(address => uint32) public numCheckpoints;

    /// @notice The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH =
        keccak256('EIP712Domain(string name,uint256 chainId,address verifyingContract)');

    /// @notice The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH =
        keccak256('Delegation(address delegatee,uint256 nonce,uint256 expiry)');

    /// @notice A record of states for signing / validating signatures
    mapping(address => uint256) public nonces;

    /// @notice An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @notice An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance);

    /**
     * @notice The votes a delegator can delegate, which is the current balance of the delegator.
     * @dev Used when calling `_delegate()`
     */
    function votesToDelegate(address delegator) public view returns (uint96) {
        return safe96(balanceOf(delegator), 'ERC721Checkpointable::votesToDelegate: amount exceeds 96 bits');
    }

    /**
     * @notice Overrides the standard `Comp.sol` delegates mapping to return
     * the delegator's own address if they haven't delegated.
     * This avoids having to delegate to oneself.
     */
    function delegates(address delegator) public view returns (address) {
        address current = _delegates[delegator];
        return current == address(0) ? delegator : current;
    }

    /**
     * @notice Adapted from `_transferTokens()` in `Comp.sol` to update delegate votes.
     * @dev hooks into OpenZeppelin's `ERC721._transfer`
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal override {
        super._beforeTokenTransfer(from, to, tokenId);

        /// @notice Differs from `_transferTokens()` to use `delegates` override method to simulate auto-delegation
        _moveDelegates(delegates(from), delegates(to), 1);
    }

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegatee The address to delegate votes to
     */
    function delegate(address delegatee) public {
        if (delegatee == address(0)) delegatee = msg.sender;
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(
        address delegatee,
        uint256 nonce,
        uint256 expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public {
        bytes32 domainSeparator = keccak256(
            abi.encode(DOMAIN_TYPEHASH, keccak256(bytes(name())), getChainId(), address(this))
        );
        bytes32 structHash = keccak256(abi.encode(DELEGATION_TYPEHASH, delegatee, nonce, expiry));
        bytes32 digest = keccak256(abi.encodePacked('\x19\x01', domainSeparator, structHash));
        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), 'ERC721Checkpointable::delegateBySig: invalid signature');
        require(nonce == nonces[signatory]++, 'ERC721Checkpointable::delegateBySig: invalid nonce');
        require(block.timestamp <= expiry, 'ERC721Checkpointable::delegateBySig: signature expired');
        return _delegate(signatory, delegatee);
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account) external view returns (uint96) {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint256 blockNumber) public view returns (uint96) {
        require(blockNumber < block.number, 'ERC721Checkpointable::getPriorVotes: not yet determined');

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee) internal {
        /// @notice differs from `_delegate()` in `Comp.sol` to use `delegates` override method to simulate auto-delegation
        address currentDelegate = delegates(delegator);

        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        uint96 amount = votesToDelegate(delegator);

        _moveDelegates(currentDelegate, delegatee, amount);
    }

    function _moveDelegates(
        address srcRep,
        address dstRep,
        uint96 amount
    ) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint96 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint96 srcRepNew = sub96(srcRepOld, amount, 'ERC721Checkpointable::_moveDelegates: amount underflows');
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint96 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint96 dstRepNew = add96(dstRepOld, amount, 'ERC721Checkpointable::_moveDelegates: amount overflows');
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(
        address delegatee,
        uint32 nCheckpoints,
        uint96 oldVotes,
        uint96 newVotes
    ) internal {
        uint32 blockNumber = safe32(
            block.number,
            'ERC721Checkpointable::_writeCheckpoint: block number exceeds 32 bits'
        );

        if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
            checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
        } else {
            checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
            numCheckpoints[delegatee] = nCheckpoints + 1;
        }

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    function safe32(uint256 n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function safe96(uint256 n, string memory errorMessage) internal pure returns (uint96) {
        require(n < 2**96, errorMessage);
        return uint96(n);
    }

    function add96(
        uint96 a,
        uint96 b,
        string memory errorMessage
    ) internal pure returns (uint96) {
        uint96 c = a + b;
        require(c >= a, errorMessage);
        return c;
    }

    function sub96(
        uint96 a,
        uint96 b,
        string memory errorMessage
    ) internal pure returns (uint96) {
        require(b <= a, errorMessage);
        return a - b;
    }

    function getChainId() internal view returns (uint256) {
        uint256 chainId;
        assembly {
            chainId := chainid()
        }
        return chainId;
    }
}

library Base64 {
    bytes internal constant TABLE =
        "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /// @notice Encodes some bytes to the base64 representation
    function encode(bytes memory data) internal pure returns (string memory) {
        uint256 len = data.length;
        if (len == 0) return "";

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((len + 2) / 3);

        // Add some extra buffer at the end
        bytes memory result = new bytes(encodedLen + 32);

        bytes memory table = TABLE;

        assembly {
            let tablePtr := add(table, 1)
            let resultPtr := add(result, 32)

            for {
                let i := 0
            } lt(i, len) {

            } {
                i := add(i, 3)
                let input := and(mload(add(data, i)), 0xffffff)

                let out := mload(add(tablePtr, and(shr(18, input), 0x3F)))
                out := shl(8, out)
                out := add(
                    out,
                    and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF)
                )
                out := shl(8, out)
                out := add(
                    out,
                    and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF)
                )
                out := shl(8, out)
                out := add(
                    out,
                    and(mload(add(tablePtr, and(input, 0x3F))), 0xFF)
                )
                out := shl(224, out)

                mstore(resultPtr, out)

                resultPtr := add(resultPtr, 4)
            }

            switch mod(len, 3)
            case 1 {
                mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
            }
            case 2 {
                mstore(sub(resultPtr, 1), shl(248, 0x3d))
            }

            mstore(result, encodedLen)
        }

        return string(result);
    }
}

contract DopeWarsLoot is ERC721Checkpointable, ReentrancyGuard, Ownable {
    string[] private weapons = [
       "Pocket Knife",
       "Chain",
       "Knife",
       "Crowbar",
       "Handgun",
       "AK47",
       "Shovel",
       "Baseball Bat",
       "Tire Iron",
       "Police Baton",
       "Pepper Spray",
       "Razor Blade",
       "Chain",
       "Taser",
       "Brass Knuckles",
       "Shotgun",
       "Glock",
       "Uzi"
    ];

    string[] private clothes = [
       "White T Shirt",
       "Black T Shirt",
       "White Hoodie",
       "Black Hoodie",
       "Bulletproof Vest",
       "3 Piece Suit",
       "Checkered Shirt",
       "Bikini",
       "Golden Shirt",
       "Leather Vest",
       "Blood Stained Shirt",
       "Police Uniform",
       "Combat Jacket",
       "Basketball Jersey",
       "Track Suit",
       "Trenchcoat",
       "White Tank Top",
       "Black Tank Top",
       "Shirtless",
       "Naked"
    ];

    string[] private vehicle = [
       "Dodge",
       "Porsche",
       "Tricycle",
       "Scooter",
       "ATV",
       "Push Bike",
       "Electric Scooter",
       "Golf Cart",
       "Chopper",
       "Rollerblades",
       "Lowrider",
       "Camper",
       "Rolls Royce",
       "BMW M3",
       "Bike",
       "C63 AMG",
       "G Wagon"
    ];

    string[] private waistArmor = [
       "Gucci Belt",
       "Versace Belt",
       "Studded Belt",
       "Taser Holster",
       "Concealed Holster",
       "Diamond Belt",
       "D Ring Belt",
       "Suspenders",
       "Military Belt",
       "Metal Belt",
       "Pistol Holster",
       "SMG Holster",
       "Knife Holster",
       "Laces",
       "Sash",
       "Fanny Pack"
    ];

    string[] private footArmor = [
       "Black Air Force 1s",
       "White Forces",
       "Air Jordan 1 Chicagos",
       "Gucci Tennis 84",
       "Air Max 95",
       "Timberlands",
       "Reebok Classics",
       "Flip Flops",
       "Nike Cortez",
       "Dress Shoes",
       "Converse All Stars",
       "White Slippers",
       "Gucci Slides",
       "Alligator Dress Shoes",
       "Socks",
       "Open Toe Sandals",
       "Barefoot"
    ];

    string[] private handArmor = [
       "Rubber Gloves",
       "Baseball Gloves",
       "Boxing Gloves",
       "MMA Wraps",
       "Winter Gloves",
       "Nitrile Gloves",
       "Studded Leather Gloves",
       "Combat Gloves",
       "Leather Gloves",
       "White Gloves",
       "Black Gloves",
       "Kevlar Gloves",
       "Surgical Gloves",
       "Fingerless Gloves"
    ];

    string[] private necklaces = ["Bronze Chain", "Silver Chain", "Gold Chain"];

    string[] private rings = [
       "Gold Ring",
       "Silver Ring",
       "Diamond Ring",
       "Platinum Ring",
       "Titanium Ring",
       "Pinky Ring",
       "Thumb Ring"
    ];

    string[] private suffixes = [
       "from the Bayou",
       "from Atlanta",
       "from Compton",
       "from Oakland",
       "from SOMA",
       "from Hong Kong",
       "from London",
       "from Chicago",
       "from Brooklyn",
       "from Detroit",
       "from Mob Town",
       "from Murdertown",
       "from Sin City",
       "from Big Smoke",
       "from the Backwoods",
       "from the Big Easy",
       "from Queens",
       "from BedStuy",
       "from Buffalo"
    ];

    string[] private drugs = [
       "Weed",
       "Cocaine",
       "Ludes",
       "Acid",
       "Speed",
       "Heroin",
       "Oxycontin",
       "Zoloft",
       "Fentanyl",
       "Krokodil",
       "Coke",
       "Crack",
       "PCP",
       "LSD",
       "Shrooms",
       "Soma",
       "Xanax",
       "Molly",
       "Adderall"
    ];

    string[] private namePrefixes = [
       "OG",
       "King of the Street",
       "Cop Killer",
       "Blasta",
       "Lil",
       "Big",
       "Tiny",
       "Playboi",
       "Snitch boi",
       "Kingpin",
       "Father of the Game",
       "Son of the Game",
       "Loose Trigger Finger",
       "Slum Prince",
       "Corpse",
       "Mother of the Game",
       "Daughter of the Game",
       "Slum Princess",
       "Da",
       "Notorious",
       "The Boss of Bosses",
       "The Dog Killer",
       "The Killer of Dog Killer",
       "Slum God",
       "Candyman",
       "Candywoman",
       "The Butcher",
       "Yung Capone",
       "Yung Chapo",
       "Yung Blanco",
       "The Fixer",
       "Jail Bird",
       "Corner Cockatoo",
       "Powder Prince",
       "Hippie",
       "John E. Dell",
       "The Burning Man",
       "The Burning Woman",
       "Kid of the Game",
       "Street Queen",
       "The Killer of Dog Killers Killer",
       "Slum General",
       "Mafia Prince",
       "Crooked Cop",
       "Street Mayor",
       "Undercover Cop",
       "Oregano Farmer",
       "Bloody",
       "High on the Supply",
       "The Orphan",
       "The Orphan Maker",
       "Ex Boxer",
       "Ex Cop",
       "Ex School Teacher",
       "Ex Priest",
       "Ex Engineer",
       "Street Robinhood",
       "Hell Bound",
       "SoundCloud Rapper",
       "Gang Leader",
       "The CEO",
       "The Freelance Pharmacist",
       "Soccer Mom",
       "Soccer Dad"
    ];

    string[] private nameSuffixes = [
       "Feared",
       "Baron",
       "Vicious",
       "Killer",
       "Fugitive",
       "Triggerman",
       "Conman",
       "Outlaw",
       "Assassin",
       "Shooter",
       "Hitman",
       "Bloodstained",
       "Punishment",
       "Sin",
       "Smuggled",
       "LastResort",
       "Contraband",
       "Illicit"
    ];

    function random(string memory input) internal pure returns (uint256) {
        return uint256(keccak256(abi.encodePacked(input)));
    }

    function getWeapon(uint256 tokenId) public view returns (string memory) {
        return pluck(tokenId, "WEAPON", weapons);
    }

    function getClothes(uint256 tokenId) public view returns (string memory) {
        return pluck(tokenId, "CLOTHES", clothes);
    }

    function getVehicle(uint256 tokenId) public view returns (string memory) {
        return pluck(tokenId, "VEHICLE", vehicle);
    }

    function getWaist(uint256 tokenId) public view returns (string memory) {
        return pluck(tokenId, "WAIST", waistArmor);
    }

    function getFoot(uint256 tokenId) public view returns (string memory) {
        return pluck(tokenId, "FOOT", footArmor);
    }

    function getHand(uint256 tokenId) public view returns (string memory) {
        return pluck(tokenId, "HAND", handArmor);
    }

    function getDrugs(uint256 tokenId) public view returns (string memory) {
        return pluck(tokenId, "DRUGS", drugs);
    }

    function getNeck(uint256 tokenId) public view returns (string memory) {
        return pluck(tokenId, "NECK", necklaces);
    }

    function getRing(uint256 tokenId) public view returns (string memory) {
        return pluck(tokenId, "RING", rings);
    }

    function pluck(
        uint256 tokenId,
        string memory keyPrefix,
        string[] memory sourceArray
    ) internal view returns (string memory) {
        uint256 rand = random(
            string(abi.encodePacked(keyPrefix, toString(tokenId)))
        );
        string memory output = sourceArray[rand % sourceArray.length];
        uint256 greatness = rand % 21;
        if (greatness > 14) {
            output = string(
                abi.encodePacked(output, " ", suffixes[rand % suffixes.length])
            );
        }
        if (greatness >= 19) {
            string[2] memory name;
            name[0] = namePrefixes[rand % namePrefixes.length];
            name[1] = nameSuffixes[rand % nameSuffixes.length];
            if (greatness == 19) {
                output = string(
                    abi.encodePacked('"', name[0], " ", name[1], '" ', output)
                );
            } else {
                output = string(
                    abi.encodePacked(
                        '"',
                        name[0],
                        " ",
                        name[1],
                        '" ',
                        output,
                        " +1"
                    )
                );
            }
        }
        return output;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        override
        returns (string memory)
    {
        string[17] memory parts;
        parts[
            0
        ] = '<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 350 350"><style>.base { fill: white; font-family: serif; font-size: 14px; }</style><rect width="100%" height="100%" fill="black" /><text x="10" y="20" class="base">';

        parts[1] = getWeapon(tokenId);

        parts[2] = '</text><text x="10" y="40" class="base">';

        parts[3] = getClothes(tokenId);

        parts[4] = '</text><text x="10" y="60" class="base">';

        parts[5] = getVehicle(tokenId);

        parts[6] = '</text><text x="10" y="80" class="base">';

        parts[7] = getDrugs(tokenId);

        parts[8] = '</text><text x="10" y="100" class="base">';

        parts[9] = getFoot(tokenId);

        parts[10] = '</text><text x="10" y="120" class="base">';

        parts[11] = getHand(tokenId);

        parts[12] = '</text><text x="10" y="140" class="base">';

        parts[13] = getWaist(tokenId);

        parts[12] = '</text><text x="10" y="140" class="base">';

        parts[13] = getNeck(tokenId);

        parts[14] = '</text><text x="10" y="160" class="base">';

        parts[15] = getRing(tokenId);

        parts[16] = "</text></svg>";

        string memory output = string(
            abi.encodePacked(
                parts[0],
                parts[1],
                parts[2],
                parts[3],
                parts[4],
                parts[5],
                parts[6],
                parts[7],
                parts[8]
            )
        );
        output = string(
            abi.encodePacked(
                output,
                parts[9],
                parts[10],
                parts[11],
                parts[12],
                parts[13],
                parts[14],
                parts[15],
                parts[16]
            )
        );

        string memory json = Base64.encode(
            bytes(
                string(
                    abi.encodePacked(
                        '{"name": "Gear #',
                        toString(tokenId),
                        '", "description": "DWL is randomized street gear generated and stored on chain. Stats, images, and other functionality are intentionally omitted for others to interpret. Feel free to use Loot in any way you want.", "image": "data:image/svg+xml;base64,',
                        Base64.encode(bytes(output)),
                        '"}'
                    )
                )
            )
        );
        output = string(
            abi.encodePacked("data:application/json;base64,", json)
        );

        return output;
    }

    function claim(uint256 tokenId) public nonReentrant {
        //CHANGE: limit
        require(tokenId > 0 && tokenId < 8001, "Token ID invalid");
        _safeMint(_msgSender(), tokenId);
    }

    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT license
        // 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);
    }

    constructor() ERC721("DOPE", "DOPE") Ownable() {}
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 3 of 14 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

File 4 of 14 : 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 5 of 14 : 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 14 : 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 7 of 14 : 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 8 of 14 : 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 9 of 14 : 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 10 of 14 : 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 11 of 14 : 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 12 of 14 : 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 13 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 14 of 14 : 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": 50
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","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":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","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":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint96","name":"votes","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getClothes","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getDrugs","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getFoot","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getHand","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getNeck","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getRing","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getVehicle","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getWaist","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getWeapon","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"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":"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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"votesToDelegate","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"}]

600c6102c08181526b506f636b6574204b6e69666560a01b6102e052608090815260056103008181526421b430b4b760d91b61032081905260a091909152610340828152644b6e69666560d81b6103605260c05260076103808181526621b937bbb130b960c91b6103a05260e0526103c0818152662430b73233bab760c91b6103e05261010052600461040090815263414b343760e01b610420526101205260066104409081526514da1bdd995b60d21b61046052610140526104808581526b10985cd958985b1b0810985d60a21b6104a0526101605260096104c0908152682a34b9329024b937b760b91b6104e052610180526105008581526b2837b634b1b2902130ba37b760a11b610520526101a0526105409485526b50657070657220537072617960a01b610560526101c094909452600b6105809081526a52617a6f7220426c61646560a81b6105a0526101e0526105c08281526105e09190915261020052610600818152642a30b9b2b960d91b6106205261022052600e6106409081526d4272617373204b6e75636b6c657360901b61066052610240526106809283526629b437ba33bab760c91b6106a052610260929092526106c091825264476c6f636b60d81b6106e05261028091909152610740604052600361070090815262557a6960e81b610720526102a052620001fe906010906012620023e0565b50604080516102c081018252600d61028082018181526c15da1a5d1948150814da1a5c9d609a1b6102a08401528252825180840184528181526c109b1858dac8150814da1a5c9d609a1b6020828101919091528084019190915283518085018552600c8082526b576869746520486f6f64696560a01b8284015284860191909152845180860186528181526b426c61636b20486f6f64696560a01b81840152606085015284518086018652601081526f109d5b1b195d1c1c9bdbd98815995cdd60821b818401526080850152845180860186528181526b0cc8141a5958d94814dd5a5d60a21b8184015260a085015284518086018652600f81526e10da1958dad95c99590814da1a5c9d608a1b8184015260c085015284518086018652600681526542696b696e6960d01b8184015260e0850152845180860186528181526b11dbdb19195b8814da1a5c9d60a21b81840152610100850152845180860186529081526b1319585d1a195c8815995cdd60a21b8183015261012084015283518085018552601381527f426c6f6f6420537461696e6564205368697274000000000000000000000000008183015261014084015283518085018552600e8082526d506f6c69636520556e69666f726d60901b82840152610160850191909152845180860186529283526c10dbdb58985d08129858dad95d609a1b83830152610180840192909252835180850185526011808252704261736b657462616c6c204a657273657960781b828401526101a085019190915284518086018652600a80825269151c9858dac814dd5a5d60b21b828501526101c08601919091528551808701875290815269151c995b98da18dbd85d60b21b818401526101e0850152845180860186528381526d057686974652054616e6b20546f760941b81840152610200850152845180860186529283526d0426c61636b2054616e6b20546f760941b8383015261022084019290925283518085018552600981526853686972746c65737360b81b818301526102408401528351808501909452600584526413985ad95960da1b908401526102608201929092526200051b9190601462002444565b5060408051610260810182526005610220820190815264446f64676560d81b610240830152815281518083018352600780825266506f727363686560c81b60208381019190915280840192909252835180850185526008808252675472696379636c6560c01b8285015284860191909152845180860186528281526629b1b7b7ba32b960c91b81850152606085015284518086018652600381526220aa2b60e91b81850152608085015284518086018652600980825268507573682042696b6560b81b8286015260a086019190915285518087018752601081526f22b632b1ba3934b19029b1b7b7ba32b960811b8186015260c0860152855180870187529081526811dbdb198810d85c9d60ba1b8185015260e0850152845180860186528281526621b437b83832b960c91b8185015261010085015284518086018652600c81526b526f6c6c6572626c6164657360a01b8185015261012085015284518086018652908152672637bbb934b232b960c11b818401526101408401528351808501855260068082526521b0b6b832b960d11b8285015261016085019190915284518086018652600b81526a526f6c6c7320526f79636560a81b818501526101808501528451808601865290815265424d57204d3360d01b818401526101a084015283518085018552600481526342696b6560e01b818401526101c0840152835180850185528181526643363320414d4760c81b818401526101e0840152835180850190945283526623902bb0b3b7b760c91b908301526102008101919091526200076990601290601162002496565b506040805161024081018252600a61020082018181526911dd58d8da4810995b1d60b21b610220840152825282518084018452600c8082526b15995c9cd858d94810995b1d60a21b60208381019190915280850192909252845180860186528181526b14dd1d591919590810995b1d60a21b818401528486015284518086018652600d8082526c2a30b9b2b9102437b639ba32b960991b82850152606086019190915285518087018752601181527021b7b731b2b0b632b2102437b639ba32b960791b818501526080860152855180870187529182526b111a585b5bdb990810995b1d60a21b8284015260a085019190915284518086018652600b8082526a1108149a5b99c810995b1d60aa1b8285015260c0860191909152855180870187528481526953757370656e6465727360b01b8185015260e0860152855180870187528281526c135a5b1a5d185c9e4810995b1d609a1b81850152610100860152855180870187528481526913595d185b0810995b1d60b21b8185015261012086015285518087018752600e81526d2834b9ba37b6102437b639ba32b960911b81850152610140860152855180870187529081526a29a6a3902437b639ba32b960a91b81840152610160850152845180860186529081526c25b734b332902437b639ba32b960991b818301526101808401528351808501855260058152644c6163657360d81b818301526101a08401528351808501855260048152630a6c2e6d60e31b818301526101c084015283518085019094529083526946616e6e79205061636b60b01b908301526101e0810191909152620009ca906013906010620024e8565b5060408051610260810182526012610220820181815271426c61636b2041697220466f72636520317360701b610240840152825282518084018452600c8082526b576869746520466f7263657360a01b602083810191909152808501929092528451808601865260158082527f416972204a6f7264616e2031204368696361676f730000000000000000000000828501528587019190915285518087018752600f8082526e11dd58d8da4815195b9b9a5cc80e0d608a1b82860152606087019190915286518088018852600a80825269416972204d617820393560b01b82870152608088019190915287518089018952600b8082526a54696d6265726c616e647360a81b8288015260a08901919091528851808a018a529283526e526565626f6b20436c61737369637360881b8387015260c08801929092528751808901895290815269466c697020466c6f707360b01b8186015260e0870152865180880188528181526a2734b5b29021b7b93a32bd60a91b81860152610100870152865180880188529081526a44726573732053686f657360a81b818501526101208601528551808701875293845271436f6e766572736520416c6c20537461727360701b8484015261014085019390935284518086018652600e81526d576869746520536c69707065727360901b81840152610160850152845180860186529081526b477563636920536c6964657360a01b81830152610180840152835180850185529182527f416c6c696761746f722044726573732053686f65730000000000000000000000828201526101a0830191909152825180840184526005815264536f636b7360d81b818301526101c083015282518084018452601081526f4f70656e20546f652053616e64616c7360801b818301526101e08301528251808401909352600883526710985c99599bdbdd60c21b9083015261020081019190915262000c9690601490601162002496565b506040805161020081018252600d6101c082018181526c52756262657220476c6f76657360981b6101e0840152825282518084018452600f8082526e4261736562616c6c20476c6f76657360881b60208381019190915280850192909252845180860186528381526c426f78696e6720476c6f76657360981b81840152848601528451808601865260098152684d4d4120577261707360b81b818401526060850152845180860186528381526c57696e74657220476c6f76657360981b81840152608085015284518086018652600e8082526d4e697472696c6520476c6f76657360901b8285015260a086019190915285518087018752601681527f53747564646564204c65617468657220476c6f766573000000000000000000008185015260c0860152855180870187528481526c436f6d62617420476c6f76657360981b8185015260e0860152855180870187528181526d4c65617468657220476c6f76657360901b8185015261010086015285518087018752600c8082526b576869746520476c6f76657360a01b82860152610120870191909152865180880188529081526b426c61636b20476c6f76657360a01b81850152610140860152855180870187529384526c4b65766c617220476c6f76657360981b84840152610160850193909352845180860186529081526e537572676963616c20476c6f76657360881b818301526101808401528351808501909452601184527046696e6765726c65737320476c6f76657360781b908401526101a082019290925262000ede91601591906200253a565b5060405180606001604052806040518060400160405280600c81526020016b213937b73d329021b430b4b760a11b81525081526020016040518060400160405280600c81526020016b29b4b63b32b91021b430b4b760a11b81525081526020016040518060400160405280600a81526020016923b7b6321021b430b4b760b11b815250815250601690600362000f769291906200258c565b506040805161012081018252600960e0820190815268476f6c642052696e6760b81b610100830152815281518083018352600b81526a53696c7665722052696e6760a81b6020828101919091528083019190915282518084018452600c81526b4469616d6f6e642052696e6760a01b818301528284015282518084018452600d8082526c506c6174696e756d2052696e6760981b828401526060840191909152835180850185529081526c546974616e69756d2052696e6760981b81830152608083015282518084018452600a8082526950696e6b792052696e6760b01b8284015260a084019190915283518085019094528352695468756d622052696e6760b01b9083015260c081019190915262001094906017906007620025de565b50604080516102a081018252600e61026082018181526d66726f6d20746865204261796f7560901b610280840152825282518084018452600c8082526b66726f6d2041746c616e746160a01b60208381019190915280850192909252845180860186528181526b333937b69021b7b6b83a37b760a11b8184015284860152845180860186528181526b199c9bdb4813d85adb185b9960a21b81840152606085015284518086018652600981526866726f6d20534f4d4160b81b818401526080850152845180860186528381526d66726f6d20486f6e67204b6f6e6760901b8184015260a085015284518086018652600b8082526a333937b6902637b73237b760a91b8285015260c0860191909152855180870187528281526b66726f6d204368696361676f60a01b8185015260e086015285518087018752600d8082526c333937b690213937b7b5b63cb760991b82860152610100870191909152865180880188528381526b199c9bdb4811195d1c9bda5d60a21b81860152610120870152865180880188528181526c333937b69026b7b1102a37bbb760991b8186015261014087015286518088018852600f81526e333937b69026bab93232b93a37bbb760891b81860152610160870152865180880188529081526c66726f6d2053696e204369747960981b81850152610180860152855180870187529384526d66726f6d2042696720536d6f6b6560901b848401526101a085019390935284518086018652601281527166726f6d20746865204261636b776f6f647360701b818401526101c085015284518086018652601181527066726f6d2074686520426967204561737960781b818401526101e0850152845180860186529283526a66726f6d20517565656e7360a81b83830152610200840192909252835180850185528281526b66726f6d204265645374757960a01b8183015261022084015283518085019094529083526b66726f6d2042756666616c6f60a01b908301526102408101919091526200138590601890601362002630565b50604080516102a081018252600461026082018181526315d9595960e21b610280840152825282518084018452600780825266436f6361696e6560c81b60208381019190915280850192909252845180860186526005808252644c7564657360d81b828501528587019190915285518087018752848152631058da5960e21b818501526060860152855180870187528181526414dc19595960da1b818501526080860152855180870187526006808252652432b937b4b760d11b8286015260a087019190915286518088018852600981526827bc3cb1b7b73a34b760b91b8186015260c08701528651808801885290815265169bdb1bd99d60d21b8185015260e08601528551808701875260088082526711995b9d185b9e5b60c21b82860152610100870191909152865180880188528181526712dc9bdadbd91a5b60c21b818601526101208701528651808801885285815263436f6b6560e01b818601526101408701528651808801885282815264437261636b60d81b818601526101608701528651808801885260038082526205043560ec1b8287015261018088019190915287518089018952908152621314d160ea1b818601526101a087015286518088018852928352665368726f6f6d7360c81b838501526101c08601929092528551808701875293845263536f6d6160e01b848401526101e085019390935284518086018652838152640b0c2dcc2f60db1b8184015261020085015284518086018652928352644d6f6c6c7960d81b83830152610220840192909252835180850190945290835267105919195c985b1b60c21b90830152610240810191909152620015f490601990601362002630565b50604051806108000160405280604051806040016040528060028152602001614f4760f01b81525081526020016040518060400160405280601281526020017112da5b99c81bd9881d1a194814dd1c99595d60721b81525081526020016040518060400160405280600a81526020016921b7b81025b4b63632b960b11b815250815260200160405180604001604052806006815260200165426c6173746160d01b815250815260200160405180604001604052806003815260200162131a5b60ea1b81525081526020016040518060400160405280600381526020016242696760e81b81525081526020016040518060400160405280600481526020016354696e7960e01b815250815260200160405180604001604052806007815260200166506c6179626f6960c81b81525081526020016040518060400160405280600a815260200169536e6974636820626f6960b01b81525081526020016040518060400160405280600781526020016625b4b733b834b760c91b815250815260200160405180604001604052806012815260200171466174686572206f66207468652047616d6560701b81525081526020016040518060400160405280600f81526020016e536f6e206f66207468652047616d6560881b81525081526020016040518060400160405280601481526020017f4c6f6f736520547269676765722046696e67657200000000000000000000000081525081526020016040518060400160405280600b81526020016a536c756d205072696e636560a81b815250815260200160405180604001604052806006815260200165436f7270736560d01b8152508152602001604051806040016040528060128152602001714d6f74686572206f66207468652047616d6560701b81525081526020016040518060400160405280601481526020017f4461756768746572206f66207468652047616d6500000000000000000000000081525081526020016040518060400160405280600d81526020016c536c756d205072696e6365737360981b815250815260200160405180604001604052806002815260200161446160f01b8152508152602001604051806040016040528060098152602001684e6f746f72696f757360b81b81525081526020016040518060400160405280601281526020017154686520426f7373206f6620426f7373657360701b81525081526020016040518060400160405280600e81526020016d2a3432902237b39025b4b63632b960911b81525081526020016040518060400160405280601881526020017f546865204b696c6c6572206f6620446f67204b696c6c6572000000000000000081525081526020016040518060400160405280600881526020016714db1d5b4811dbd960c21b81525081526020016040518060400160405280600881526020016721b0b7323cb6b0b760c11b81525081526020016040518060400160405280600a81526020016921b0b7323cbbb7b6b0b760b11b81525081526020016040518060400160405280600b81526020016a2a343290213aba31b432b960a91b81525081526020016040518060400160405280600b81526020016a59756e67204361706f6e6560a81b81525081526020016040518060400160405280600a81526020016959756e6720436861706f60b01b81525081526020016040518060400160405280600b81526020016a59756e6720426c616e636f60a81b8152508152602001604051806040016040528060098152602001682a3432902334bc32b960b91b81525081526020016040518060400160405280600981526020016812985a5b08109a5c9960ba1b81525081526020016040518060400160405280600f81526020016e436f726e657220436f636b61746f6f60881b81525081526020016040518060400160405280600d81526020016c506f77646572205072696e636560981b81525081526020016040518060400160405280600681526020016548697070696560d01b81525081526020016040518060400160405280600c81526020016b129bda1b88114b8811195b1b60a21b81525081526020016040518060400160405280600f81526020016e2a343290213ab93734b7339026b0b760891b8152508152602001604051806040016040528060118152602001702a343290213ab93734b733902bb7b6b0b760791b81525081526020016040518060400160405280600f81526020016e4b6964206f66207468652047616d6560881b81525081526020016040518060400160405280600c81526020016b29ba3932b2ba1028bab2b2b760a11b81525081526020016040518060400160405280602081526020017f546865204b696c6c6572206f6620446f67204b696c6c657273204b696c6c657281525081526020016040518060400160405280600c81526020016b14db1d5b4811d95b995c985b60a21b81525081526020016040518060400160405280600c81526020016b4d61666961205072696e636560a01b81525081526020016040518060400160405280600b81526020016a043726f6f6b656420436f760ac1b81525081526020016040518060400160405280600c81526020016b29ba3932b2ba1026b0bcb7b960a11b81525081526020016040518060400160405280600e81526020016d0556e646572636f76657220436f760941b81525081526020016040518060400160405280600e81526020016d27b932b3b0b737902330b936b2b960911b815250815260200160405180604001604052806006815260200165426c6f6f647960d01b81525081526020016040518060400160405280601281526020017148696768206f6e2074686520537570706c7960701b81525081526020016040518060400160405280600a8152602001692a34329027b9383430b760b11b81525081526020016040518060400160405280601081526020016f2a34329027b9383430b71026b0b5b2b960811b81525081526020016040518060400160405280600881526020016722bc102137bc32b960c11b8152508152602001604051806040016040528060068152602001650457820436f760d41b81525081526020016040518060400160405280601181526020017022bc1029b1b437b7b6102a32b0b1b432b960791b815250815260200160405180604001604052806009815260200168115e08141c9a595cdd60ba1b81525081526020016040518060400160405280600b81526020016a22bc1022b733b4b732b2b960a91b81525081526020016040518060400160405280601081526020016f14dd1c99595d08149bd89a5b9a1bdbd960821b81525081526020016040518060400160405280600a81526020016912195b1b08109bdd5b9960b21b81525081526020016040518060400160405280601181526020017029b7bab73221b637bab2102930b83832b960791b81525081526020016040518060400160405280600b81526020016a23b0b733902632b0b232b960a91b8152508152602001604051806040016040528060078152602001665468652043454f60c81b81525081526020016040518060400160405280601881526020017f54686520467265656c616e636520506861726d6163697374000000000000000081525081526020016040518060400160405280600a815260200169536f63636572204d6f6d60b01b81525081526020016040518060400160405280600a81526020016914dbd8d8d95c8811185960b21b815250815250601a906040620020a592919062002682565b50604080516102808101825260066102408201818152651199585c995960d21b61026084015282528251808401845260058152642130b937b760d91b6020828101919091528084019190915283518085018552600780825266566963696f757360c81b8284015284860191909152845180860186528381526525b4b63632b960d11b81840152606085015284518086018652600880825267467567697469766560c01b82850152608086019190915285518087018752600a808252692a3934b3b3b2b936b0b760b11b8286015260a0870191909152865180880188528581526521b7b736b0b760d11b8186015260c087015286518088018852858152654f75746c617760d01b8186015260e0870152865180880188528281526720b9b9b0b9b9b4b760c11b81860152610100870152865180880188528381526629b437b7ba32b960c91b8186015261012087015286518088018852948552652434ba36b0b760d11b8585015261014086019490945285518087018752600c81526b109b1bdbd91cdd185a5b995960a21b818501526101608601528551808701875284815269141d5b9a5cda1b595b9d60b21b8185015261018086015285518087018752600381526229b4b760e91b818501526101a0860152855180870187529081526714db5d59d9db195960c21b818401526101c0850152845180860186528381526913185cdd14995cdbdc9d60b21b818401526101e0850152845180860186529283526910dbdb9d1c9858985b9960b21b83830152610200840192909252835180850190945290835266125b1b1a58da5d60ca1b908301526102208101919091526200231190601b906012620023e0565b503480156200231f57600080fd5b50604080518082018252600480825263444f504560e01b6020808401828152855180870190965292855284015281519192916200235f91600091620026d4565b50805162002375906001906020840190620026d4565b50506001600e555062002388336200238e565b62002816565b600f80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805482825590600052602060002090810192821562002432579160200282015b8281111562002432578251805162002421918491602090910190620026d4565b509160200191906001019062002401565b50620024409291506200275f565b5090565b82805482825590600052602060002090810192821562002432579160200282015b8281111562002432578251805162002485918491602090910190620026d4565b509160200191906001019062002465565b82805482825590600052602060002090810192821562002432579160200282015b82811115620024325782518051620024d7918491602090910190620026d4565b5091602001919060010190620024b7565b82805482825590600052602060002090810192821562002432579160200282015b8281111562002432578251805162002529918491602090910190620026d4565b509160200191906001019062002509565b82805482825590600052602060002090810192821562002432579160200282015b828111156200243257825180516200257b918491602090910190620026d4565b50916020019190600101906200255b565b82805482825590600052602060002090810192821562002432579160200282015b82811115620024325782518051620025cd918491602090910190620026d4565b5091602001919060010190620025ad565b82805482825590600052602060002090810192821562002432579160200282015b828111156200243257825180516200261f918491602090910190620026d4565b5091602001919060010190620025ff565b82805482825590600052602060002090810192821562002432579160200282015b8281111562002432578251805162002671918491602090910190620026d4565b509160200191906001019062002651565b82805482825590600052602060002090810192821562002432579160200282015b82811115620024325782518051620026c3918491602090910190620026d4565b5091602001919060010190620026a3565b828054620026e290620027d9565b90600052602060002090601f01602090048101928262002706576000855562002751565b82601f106200272157805160ff191683800117855562002751565b8280016001018555821562002751579182015b828111156200275157825182559160200191906001019062002734565b506200244092915062002780565b808211156200244057600062002776828262002797565b506001016200275f565b5b8082111562002440576000815560010162002781565b508054620027a590620027d9565b6000825580601f10620027b6575050565b601f016020900490600052602060002090810190620027d6919062002780565b50565b600181811c90821680620027ee57607f821691505b602082108114156200281057634e487b7160e01b600052602260045260246000fd5b50919050565b6141d580620028266000396000f3fe608060405234801561001057600080fd5b50600436106102135760003560e01c806370a0823111610126578063b88d4fde116100b3578063b88d4fde146104c9578063c08a5dd5146104dc578063c3cda520146104ef578063c87b56dd14610502578063d47f269e14610515578063df7ebb7b14610528578063e7a324dc1461053b578063e9580e9114610562578063e985e9c514610575578063f1127ed814610588578063f2fde38b146105ef57600080fd5b806370a0823114610407578063715018a61461041a578063782d6fe1146104225780637ecebe001461044d5780638da5cb5b1461046d57806395d89b41146104755780639bdc1b691461047d5780639e41b73f14610490578063a22cb465146104a3578063b4b5ea57146104b657600080fd5b8063313ce567116101a4578063313ce5671461031a578063339955e114610334578063379607f51461034757806342842e0e1461035a5780634f6ccce71461036d578063587cde1e146103805780635c19a95c146103935780636352211e146103a657806367209aa8146103b95780636fcfff45146103cc57600080fd5b806301ffc9a71461021857806306fdde0314610240578063081812fc14610255578063095ea7b3146102805780630e99990d1461029557806318160ddd146102a857806320606b70146102ba57806323b872dd146102e15780632d02f8c1146102f45780632f745c5914610307575b600080fd5b61022b61022636600461360c565b610602565b60405190151581526020015b60405180910390f35b61024861062d565b6040516102379190613b54565b610268610263366004613644565b6106bf565b6040516001600160a01b039091168152602001610237565b61029361028e366004613552565b61074c565b005b6102486102a3366004613644565b61085d565b6008545b604051908152602001610237565b6102ac7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6102936102ef366004613408565b610957565b610248610302366004613644565b610988565b6102ac610315366004613552565b610a7c565b610322600081565b60405160ff9091168152602001610237565b610248610342366004613644565b610b12565b610293610355366004613644565b610c04565b610293610368366004613408565b610cbd565b6102ac61037b366004613644565b610cd8565b61026861038e3660046133bc565b610d79565b6102936103a13660046133bc565b610dab565b6102686103b4366004613644565b610dc9565b6102486103c7366004613644565b610e40565b6103f26103da3660046133bc565b600c6020526000908152604090205463ffffffff1681565b60405163ffffffff9091168152602001610237565b6102ac6104153660046133bc565b610f31565b610293610fb8565b610435610430366004613552565b610ff3565b6040516001600160601b039091168152602001610237565b6102ac61045b3660046133bc565b600d6020526000908152604090205481565b61026861128a565b610248611299565b61024861048b366004613644565b6112a8565b61024861049e366004613644565b61139a565b6102936104b1366004613518565b61148d565b6104356104c43660046133bc565b61154e565b6102936104d7366004613443565b6115cb565b6102486104ea366004613644565b611603565b6102936104fd36600461357b565b6116f4565b610248610510366004613644565b6119bc565b610248610523366004613644565b611c91565b610248610536366004613644565b611d82565b6102ac7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b6104356105703660046133bc565b611e76565b61022b6105833660046133d6565b611ea2565b6105cb6105963660046135d9565b600b60209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b6040805163ffffffff90931683526001600160601b03909116602083015201610237565b6102936105fd3660046133bc565b611ed0565b60006001600160e01b0319821663780e9d6360e01b1480610627575061062782611f6d565b92915050565b60606000805461063c90613d76565b80601f016020809104026020016040519081016040528092919081815260200182805461066890613d76565b80156106b55780601f1061068a576101008083540402835291602001916106b5565b820191906000526020600020905b81548152906001019060200180831161069857829003601f168201915b5050505050905090565b60006106ca82611fbd565b6107305760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061075782610dc9565b9050806001600160a01b0316836001600160a01b031614156107c55760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610727565b336001600160a01b03821614806107e157506107e18133611ea2565b61084e5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b6064820152608401610727565b6108588383611fda565b505050565b606061062782604051806040016040528060048152602001631193d3d560e21b8152506014805480602002602001604051908101604052809291908181526020016000905b8282101561094e5783829060005260206000200180546108c190613d76565b80601f01602080910402602001604051908101604052809291908181526020018280546108ed90613d76565b801561093a5780601f1061090f5761010080835404028352916020019161093a565b820191906000526020600020905b81548152906001019060200180831161091d57829003601f168201915b5050505050815260200190600101906108a2565b50505050612048565b6109613382612375565b61097d5760405162461bcd60e51b815260040161072790613bee565b61085883838361243f565b60606106278260405180604001604052806007815260200166434c4f5448455360c81b8152506011805480602002602001604051908101604052809291908181526020016000905b8282101561094e5783829060005260206000200180546109ef90613d76565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1b90613d76565b8015610a685780601f10610a3d57610100808354040283529160200191610a68565b820191906000526020600020905b815481529060010190602001808311610a4b57829003601f168201915b5050505050815260200190600101906109d0565b6000610a8783610f31565b8210610ae95760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610727565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b60606106278260405180604001604052806005815260200164445255475360d81b8152506019805480602002602001604051908101604052809291908181526020016000905b8282101561094e578382906000526020600020018054610b7790613d76565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba390613d76565b8015610bf05780601f10610bc557610100808354040283529160200191610bf0565b820191906000526020600020905b815481529060010190602001808311610bd357829003601f168201915b505050505081526020019060010190610b58565b6002600e541415610c575760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610727565b6002600e558015801590610c6c5750611f4181105b610cab5760405162461bcd60e51b815260206004820152601060248201526f151bdad95b881251081a5b9d985b1a5960821b6044820152606401610727565b610cb533826125ea565b506001600e55565b610858838383604051806020016040528060008152506115cb565b6000610ce360085490565b8210610d465760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610727565b60088281548110610d6757634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6001600160a01b038082166000908152600a60205260408120549091168015610da25780610da4565b825b9392505050565b6001600160a01b038116610dbc5750335b610dc63382612608565b50565b6000818152600260205260408120546001600160a01b0316806106275760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610727565b606061062782604051806040016040528060048152602001634e45434b60e01b8152506016805480602002602001604051908101604052809291908181526020016000905b8282101561094e578382906000526020600020018054610ea490613d76565b80601f0160208091040260200160405190810160405280929190818152602001828054610ed090613d76565b8015610f1d5780601f10610ef257610100808354040283529160200191610f1d565b820191906000526020600020905b815481529060010190602001808311610f0057829003601f168201915b505050505081526020019060010190610e85565b60006001600160a01b038216610f9c5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610727565b506001600160a01b031660009081526003602052604090205490565b33610fc161128a565b6001600160a01b031614610fe75760405162461bcd60e51b815260040161072790613bb9565b610ff16000612688565b565b60004382106110645760405162461bcd60e51b815260206004820152603760248201527f455243373231436865636b706f696e7461626c653a3a6765745072696f72566f6044820152761d195cce881b9bdd081e595d0819195d195c9b5a5b9959604a1b6064820152608401610727565b6001600160a01b0383166000908152600c602052604090205463ffffffff1680611092576000915050610627565b6001600160a01b0384166000908152600b6020526040812084916110b7600185613d05565b63ffffffff9081168252602082019290925260400160002054161161112a576001600160a01b0384166000908152600b60205260408120906110fa600184613d05565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b031691506106279050565b6001600160a01b0384166000908152600b6020908152604080832083805290915290205463ffffffff16831015611165576000915050610627565b600080611173600184613d05565b90505b8163ffffffff168163ffffffff16111561124557600060026111988484613d05565b6111a29190613cac565b6111ac9083613d05565b6001600160a01b0388166000908152600b6020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b031691810191909152919250871415611219576020015194506106279350505050565b805163ffffffff168711156112305781935061123e565b61123b600183613d05565b92505b5050611176565b506001600160a01b0385166000908152600b6020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b600f546001600160a01b031690565b60606001805461063c90613d76565b6060610627826040518060400160405280600581526020016415d05254d560da1b8152506013805480602002602001604051908101604052809291908181526020016000905b8282101561094e57838290600052602060002001805461130d90613d76565b80601f016020809104026020016040519081016040528092919081815260200182805461133990613d76565b80156113865780601f1061135b57610100808354040283529160200191611386565b820191906000526020600020905b81548152906001019060200180831161136957829003601f168201915b5050505050815260200190600101906112ee565b606061062782604051806040016040528060068152602001652ba2a0a827a760d11b8152506010805480602002602001604051908101604052809291908181526020016000905b8282101561094e57838290600052602060002001805461140090613d76565b80601f016020809104026020016040519081016040528092919081815260200182805461142c90613d76565b80156114795780601f1061144e57610100808354040283529160200191611479565b820191906000526020600020905b81548152906001019060200180831161145c57829003601f168201915b5050505050815260200190600101906113e1565b6001600160a01b0382163314156114e25760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b6044820152606401610727565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6001600160a01b0381166000908152600c602052604081205463ffffffff1680611579576000610da4565b6001600160a01b0383166000908152600b602052604081209061159d600184613d05565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03169392505050565b6115d53383612375565b6115f15760405162461bcd60e51b815260040161072790613bee565b6115fd848484846126da565b50505050565b6060610627826040518060400160405280600481526020016352494e4760e01b8152506017805480602002602001604051908101604052809291908181526020016000905b8282101561094e57838290600052602060002001805461166790613d76565b80601f016020809104026020016040519081016040528092919081815260200182805461169390613d76565b80156116e05780601f106116b5576101008083540402835291602001916116e0565b820191906000526020600020905b8154815290600101906020018083116116c357829003601f168201915b505050505081526020019060010190611648565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86661171f61062d565b8051906020012061172d4690565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a90528251808503909101815261014084019092528151919093012061190160f01b610160830152610162820183905261018282018190529192506000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015611859573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166118c95760405162461bcd60e51b81526020600482015260366024820152600080516020613f7e8339815191526044820152755369673a20696e76616c6964207369676e617475726560501b6064820152608401610727565b6001600160a01b0381166000908152600d602052604081208054916118ed83613db1565b9190505589146119485760405162461bcd60e51b81526020600482015260326024820152600080516020613f7e8339815191526044820152715369673a20696e76616c6964206e6f6e636560701b6064820152608401610727565b874211156119a55760405162461bcd60e51b81526020600482015260366024820152600080516020613f7e83398151915260448201527514da59ce881cda59db985d1d5c9948195e1c1a5c995960521b6064820152608401610727565b6119af818b612608565b505050505b505050505050565b60606119c661335f565b60405180610120016040528060fd8152602001613f9e60fd913981526119eb8361139a565b8160016020020181905250604051806060016040528060288152602001614141602891396040820152611a1d83610988565b6060808301919091526040805191820190526028808252613e3960208301396080820152611a4a83611d82565b60a082015260408051606081019091526028808252613f2d602083013960c0820152611a7583610b12565b60e082015260408051606081019091526029808252613f556020830139610100820152611aa18361085d565b61012082015260408051606081019091526029808252613ec06020830139610140820152611ace83611c91565b6101608201526040805160608101909152602980825261409b6020830139610180820152611afb836112a8565b6101a08201526040805160608101909152602980825261409b6020830139610180820152611b2883610e40565b6101a082015260408051606081019091526029808252613e9760208301396101c0820152611b5583611603565b6101e0820152604080518082018252600d81526c1e17ba32bc3a1f1e17b9bb339f60991b602080830191909152610200840191909152825181840151838501516060860151608087015160a088015160c089015160e08a01516101008b0151995160009a611bc59a9091016136d3565b60408051808303601f19018152908290526101208401516101408501516101608601516101808701516101a08801516101c08901516101e08a01516102008b0151979950611c18988a98906020016136d3565b60405160208183030381529060405290506000611c65611c378661270d565b611c4084612827565b604051602001611c51929190613982565b604051602081830303815290604052612827565b905080604051602001611c78919061393d565b60408051601f1981840301815291905295945050505050565b606061062782604051806040016040528060048152602001631210539160e21b8152506015805480602002602001604051908101604052809291908181526020016000905b8282101561094e578382906000526020600020018054611cf590613d76565b80601f0160208091040260200160405190810160405280929190818152602001828054611d2190613d76565b8015611d6e5780601f10611d4357610100808354040283529160200191611d6e565b820191906000526020600020905b815481529060010190602001808311611d5157829003601f168201915b505050505081526020019060010190611cd6565b6060610627826040518060400160405280600781526020016656454849434c4560c81b8152506012805480602002602001604051908101604052809291908181526020016000905b8282101561094e578382906000526020600020018054611de990613d76565b80601f0160208091040260200160405190810160405280929190818152602001828054611e1590613d76565b8015611e625780601f10611e3757610100808354040283529160200191611e62565b820191906000526020600020905b815481529060010190602001808311611e4557829003601f168201915b505050505081526020019060010190611dca565b6000610627611e8483610f31565b6040518060600160405280603d8152602001614104603d913961299b565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b33611ed961128a565b6001600160a01b031614611eff5760405162461bcd60e51b815260040161072790613bb9565b6001600160a01b038116611f645760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610727565b610dc681612688565b60006001600160e01b031982166380ac58cd60e01b1480611f9e57506001600160e01b03198216635b5e139f60e01b145b8061062757506301ffc9a760e01b6001600160e01b0319831614610627565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061200f82610dc9565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6060600061207e846120598761270d565b60405160200161206a9291906136a4565b6040516020818303038152906040526129ca565b90506000838451836120909190613dcc565b815181106120ae57634e487b7160e01b600052603260045260246000fd5b6020026020010151905060006015836120c79190613dcc565b9050600e81111561212e57601880548391906120e39086613dcc565b8154811061210157634e487b7160e01b600052603260045260246000fd5b9060005260206000200160405160200161211c929190613793565b60405160208183030381529060405291505b6013811061236b5761213e613387565b601a805461214c9086613dcc565b8154811061216a57634e487b7160e01b600052603260045260246000fd5b90600052602060002001805461217f90613d76565b80601f01602080910402602001604051908101604052809291908181526020018280546121ab90613d76565b80156121f85780601f106121cd576101008083540402835291602001916121f8565b820191906000526020600020905b8154815290600101906020018083116121db57829003601f168201915b50505050508160006002811061221e57634e487b7160e01b600052603260045260246000fd5b6020020152601b80546122319086613dcc565b8154811061224f57634e487b7160e01b600052603260045260246000fd5b90600052602060002001805461226490613d76565b80601f016020809104026020016040519081016040528092919081815260200182805461229090613d76565b80156122dd5780601f106122b2576101008083540402835291602001916122dd565b820191906000526020600020905b8154815290600101906020018083116122c057829003601f168201915b50505050508160016002811061230357634e487b7160e01b600052603260045260246000fd5b6020020152601382141561233f5780516020808301516040516123299392879101613851565b6040516020818303038152906040529250612369565b805160208083015160405161235793928791016138bf565b60405160208183030381529060405292505b505b5095945050505050565b600061238082611fbd565b6123e15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610727565b60006123ec83610dc9565b9050806001600160a01b0316846001600160a01b031614806124275750836001600160a01b031661241c846106bf565b6001600160a01b0316145b8061243757506124378185611ea2565b949350505050565b826001600160a01b031661245282610dc9565b6001600160a01b0316146124ba5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610727565b6001600160a01b03821661251c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610727565b6125278383836129fb565b612532600082611fda565b6001600160a01b038316600090815260036020526040812080546001929061255b908490613cee565b90915550506001600160a01b0382166000908152600360205260408120805460019290612589908490613c3f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b612604828260405180602001604052806000815250612a22565b5050565b600061261383610d79565b6001600160a01b038481166000818152600a602052604080822080546001600160a01b031916888616908117909155905194955093928516927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4600061267b84611e76565b90506115fd828483612a55565b600f80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6126e584848461243f565b6126f184848484612c01565b6115fd5760405162461bcd60e51b815260040161072790613b67565b6060816127315750506040805180820190915260018152600360fc1b602082015290565b8160005b811561275b578061274581613db1565b91506127549050600a83613c98565b9150612735565b60008167ffffffffffffffff81111561278457634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156127ae576020820181803683370190505b5090505b8415612437576127c3600183613cee565b91506127d0600a86613dcc565b6127db906030613c3f565b60f81b8183815181106127fe57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612820600a86613c98565b94506127b2565b805160609080612847575050604080516020810190915260008152919050565b60006003612856836002613c3f565b6128609190613c98565b61286b906004613ccf565b9050600061287a826020613c3f565b67ffffffffffffffff8111156128a057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156128ca576020820181803683370190505b50905060006040518060600160405280604081526020016140c4604091399050600181016020830160005b86811015612956576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b8352600490920191016128f5565b50600386066001811461297057600281146129815761298d565b613d3d60f01b60011983015261298d565b603d60f81b6000198301525b505050918152949350505050565b600081600160601b84106129c25760405162461bcd60e51b81526004016107279190613b54565b509192915050565b6000816040516020016129dd9190613688565b60408051601f19818403018152919052805160209091012092915050565b612a06838383612d0e565b610858612a1284610d79565b612a1b84610d79565b6001612a55565b612a2c8383612dc6565b612a396000848484612c01565b6108585760405162461bcd60e51b815260040161072790613b67565b816001600160a01b0316836001600160a01b031614158015612a8057506000816001600160601b0316115b15610858576001600160a01b03831615612b45576001600160a01b0383166000908152600c602052604081205463ffffffff169081612ac0576000612b0c565b6001600160a01b0385166000908152600b6020526040812090612ae4600185613d05565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b90506000612b33828560405180606001604052806037815260200161416960379139612f05565b9050612b4186848484612f47565b5050505b6001600160a01b03821615610858576001600160a01b0382166000908152600c602052604081205463ffffffff169081612b80576000612bcc565b6001600160a01b0384166000908152600b6020526040812090612ba4600185613d05565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b90506000612bf38285604051806060016040528060368152602001613e6160369139613131565b90506119b485848484612f47565b60006001600160a01b0384163b15612d0357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612c45903390899088908890600401613b17565b602060405180830381600087803b158015612c5f57600080fd5b505af1925050508015612c8f575060408051601f3d908101601f19168201909252612c8c91810190613628565b60015b612ce9573d808015612cbd576040519150601f19603f3d011682016040523d82523d6000602084013e612cc2565b606091505b508051612ce15760405162461bcd60e51b815260040161072790613b67565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612437565b506001949350505050565b6001600160a01b038316612d6957612d6481600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612d8c565b816001600160a01b0316836001600160a01b031614612d8c57612d8c838261317e565b6001600160a01b038216612da3576108588161321b565b826001600160a01b0316826001600160a01b0316146108585761085882826132f4565b6001600160a01b038216612e1c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610727565b612e2581611fbd565b15612e725760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610727565b612e7e600083836129fb565b6001600160a01b0382166000908152600360205260408120805460019290612ea7908490613c3f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000836001600160601b0316836001600160601b031611158290612f3c5760405162461bcd60e51b81526004016107279190613b54565b506124378385613d2a565b6000612f6b43604051806080016040528060448152602001613ee960449139613338565b905060008463ffffffff16118015612fc557506001600160a01b0385166000908152600b6020526040812063ffffffff831691612fa9600188613d05565b63ffffffff908116825260208201929092526040016000205416145b15613034576001600160a01b0385166000908152600b602052604081208391612fef600188613d05565b63ffffffff168152602081019190915260400160002080546001600160601b0392909216600160201b02640100000000600160801b03199092169190911790556130dc565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000908152600b82528681208b8616825290915294909420925183549451909116600160201b026001600160801b03199094169116179190911790556130ab846001613c57565b6001600160a01b0386166000908152600c60205260409020805463ffffffff191663ffffffff929092169190911790555b604080516001600160601b038086168252841660208201526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b60008061313e8486613c76565b9050846001600160601b0316816001600160601b0316101583906131755760405162461bcd60e51b81526004016107279190613b54565b50949350505050565b6000600161318b84610f31565b6131959190613cee565b6000838152600760205260409020549091508082146131e8576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061322d90600190613cee565b6000838152600960205260408120546008805493945090928490811061326357634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061329257634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806132d857634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006132ff83610f31565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b600081600160201b84106129c25760405162461bcd60e51b81526004016107279190613b54565b6040518061022001604052806011905b606081526020019060019003908161336f5790505090565b604080518082019091526060815260016020820161336f565b80356001600160a01b03811681146133b757600080fd5b919050565b6000602082840312156133cd578081fd5b610da4826133a0565b600080604083850312156133e8578081fd5b6133f1836133a0565b91506133ff602084016133a0565b90509250929050565b60008060006060848603121561341c578081fd5b613425846133a0565b9250613433602085016133a0565b9150604084013590509250925092565b60008060008060808587031215613458578081fd5b613461856133a0565b935061346f602086016133a0565b925060408501359150606085013567ffffffffffffffff80821115613492578283fd5b818701915087601f8301126134a5578283fd5b8135818111156134b7576134b7613e0c565b604051601f8201601f19908116603f011681019083821181831017156134df576134df613e0c565b816040528281528a60208487010111156134f7578586fd5b82602086016020830137918201602001949094529598949750929550505050565b6000806040838503121561352a578182fd5b613533836133a0565b915060208301358015158114613547578182fd5b809150509250929050565b60008060408385031215613564578182fd5b61356d836133a0565b946020939093013593505050565b60008060008060008060c08789031215613593578182fd5b61359c876133a0565b95506020870135945060408701359350606087013560ff811681146135bf578283fd5b9598949750929560808101359460a0909101359350915050565b600080604083850312156135eb578182fd5b6135f4836133a0565b9150602083013563ffffffff81168114613547578182fd5b60006020828403121561361d578081fd5b8135610da481613e22565b600060208284031215613639578081fd5b8151610da481613e22565b600060208284031215613655578081fd5b5035919050565b60008151808452613674816020860160208601613d4a565b601f01601f19169290920160200192915050565b6000825161369a818460208701613d4a565b9190910192915050565b600083516136b6818460208801613d4a565b8351908301906136ca818360208801613d4a565b01949350505050565b60008a516136e5818460208f01613d4a565b8a516136f78183860160208f01613d4a565b8a51918401019061370c818360208e01613d4a565b895161371e8183850160208e01613d4a565b8951929091010190613734818360208c01613d4a565b8751910190613747818360208b01613d4a565b86516137598183850160208b01613d4a565b865192909101019061376f818360208901613d4a565b84516137818183850160208901613d4a565b9101019b9a5050505050505050505050565b6000835160206137a68285838901613d4a565b600160fd1b9184019182528454600190849080831c818416806137ca57607f821691505b8582108114156137e857634e487b7160e01b88526022600452602488fd5b8080156137fc576001811461381157613841565b60ff1984168887015282880186019450613841565b60008b815260209020895b848110156138375781548a820189015290870190880161381c565b5050858389010194505b50929a9950505050505050505050565b601160f91b8152835160009061386e816001850160208901613d4a565b600160fd1b600191840191820152845161388f816002840160208901613d4a565b61011160f51b6002929091019182015283516138b2816004840160208801613d4a565b0160040195945050505050565b601160f91b815283516000906138dc816001850160208901613d4a565b600160fd1b60019184019182015284516138fd816002840160208901613d4a565b61011160f51b600292909101918201528351613920816004840160208801613d4a565b62202b3160e81b6004929091019182015260070195945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161397581601d850160208701613d4a565b91909101601d0192915050565b6f7b226e616d65223a202247656172202360801b815282516000906139ae816010850160208801613d4a565b7f222c20226465736372697074696f6e223a202244574c2069732072616e646f6d6010918401918201527f697a65642073747265657420676561722067656e65726174656420616e64207360308201527f746f726564206f6e20636861696e2e2053746174732c20696d616765732c206160508201527f6e64206f746865722066756e6374696f6e616c6974792061726520696e74656e60708201527f74696f6e616c6c79206f6d697474656420666f72206f746865727320746f206960908201527f6e746572707265742e204665656c206672656520746f20757365204c6f6f742060b08201527f696e20616e792077617920796f752077616e742e222c2022696d616765223a2060d08201527a0899185d184e9a5b5859d94bdcdd99cade1b5b0ed8985cd94d8d0b602a1b60f0820152835161010b90613af68183850160208901613d4a565b613b0c828285010161227d60f01b815260020190565b979650505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613b4a9083018461365c565b9695505050505050565b602081526000610da4602083018461365c565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115613c5257613c52613de0565b500190565b600063ffffffff8083168185168083038211156136ca576136ca613de0565b60006001600160601b038281168482168083038211156136ca576136ca613de0565b600082613ca757613ca7613df6565b500490565b600063ffffffff80841680613cc357613cc3613df6565b92169190910492915050565b6000816000190483118215151615613ce957613ce9613de0565b500290565b600082821015613d0057613d00613de0565b500390565b600063ffffffff83811690831681811015613d2257613d22613de0565b039392505050565b60006001600160601b0383811690831681811015613d2257613d22613de0565b60005b83811015613d65578181015183820152602001613d4d565b838111156115fd5750506000910152565b600181811c90821680613d8a57607f821691505b60208210811415613dab57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613dc557613dc5613de0565b5060010190565b600082613ddb57613ddb613df6565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610dc657600080fdfe3c2f746578743e3c7465787420783d2231302220793d2236302220636c6173733d2262617365223e455243373231436865636b706f696e7461626c653a3a5f6d6f766544656c6567617465733a20616d6f756e74206f766572666c6f77733c2f746578743e3c7465787420783d2231302220793d223136302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d223132302220636c6173733d2262617365223e455243373231436865636b706f696e7461626c653a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d626572206578636565647320333220626974733c2f746578743e3c7465787420783d2231302220793d2238302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d223130302220636c6173733d2262617365223e455243373231436865636b706f696e7461626c653a3a64656c656761746542793c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302033353020333530223e3c7374796c653e2e62617365207b2066696c6c3a2077686974653b20666f6e742d66616d696c793a2073657269663b20666f6e742d73697a653a20313470783b207d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d22626c61636b22202f3e3c7465787420783d2231302220793d2232302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d223134302220636c6173733d2262617365223e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f455243373231436865636b706f696e7461626c653a3a766f746573546f44656c65676174653a20616d6f756e74206578636565647320393620626974733c2f746578743e3c7465787420783d2231302220793d2234302220636c6173733d2262617365223e455243373231436865636b706f696e7461626c653a3a5f6d6f766544656c6567617465733a20616d6f756e7420756e646572666c6f7773a2646970667358221220a67a4166f6e1ccea197c1b4d094553ef151973e256ec25f7fadae218a9bd44b064736f6c63430008040033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102135760003560e01c806370a0823111610126578063b88d4fde116100b3578063b88d4fde146104c9578063c08a5dd5146104dc578063c3cda520146104ef578063c87b56dd14610502578063d47f269e14610515578063df7ebb7b14610528578063e7a324dc1461053b578063e9580e9114610562578063e985e9c514610575578063f1127ed814610588578063f2fde38b146105ef57600080fd5b806370a0823114610407578063715018a61461041a578063782d6fe1146104225780637ecebe001461044d5780638da5cb5b1461046d57806395d89b41146104755780639bdc1b691461047d5780639e41b73f14610490578063a22cb465146104a3578063b4b5ea57146104b657600080fd5b8063313ce567116101a4578063313ce5671461031a578063339955e114610334578063379607f51461034757806342842e0e1461035a5780634f6ccce71461036d578063587cde1e146103805780635c19a95c146103935780636352211e146103a657806367209aa8146103b95780636fcfff45146103cc57600080fd5b806301ffc9a71461021857806306fdde0314610240578063081812fc14610255578063095ea7b3146102805780630e99990d1461029557806318160ddd146102a857806320606b70146102ba57806323b872dd146102e15780632d02f8c1146102f45780632f745c5914610307575b600080fd5b61022b61022636600461360c565b610602565b60405190151581526020015b60405180910390f35b61024861062d565b6040516102379190613b54565b610268610263366004613644565b6106bf565b6040516001600160a01b039091168152602001610237565b61029361028e366004613552565b61074c565b005b6102486102a3366004613644565b61085d565b6008545b604051908152602001610237565b6102ac7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6102936102ef366004613408565b610957565b610248610302366004613644565b610988565b6102ac610315366004613552565b610a7c565b610322600081565b60405160ff9091168152602001610237565b610248610342366004613644565b610b12565b610293610355366004613644565b610c04565b610293610368366004613408565b610cbd565b6102ac61037b366004613644565b610cd8565b61026861038e3660046133bc565b610d79565b6102936103a13660046133bc565b610dab565b6102686103b4366004613644565b610dc9565b6102486103c7366004613644565b610e40565b6103f26103da3660046133bc565b600c6020526000908152604090205463ffffffff1681565b60405163ffffffff9091168152602001610237565b6102ac6104153660046133bc565b610f31565b610293610fb8565b610435610430366004613552565b610ff3565b6040516001600160601b039091168152602001610237565b6102ac61045b3660046133bc565b600d6020526000908152604090205481565b61026861128a565b610248611299565b61024861048b366004613644565b6112a8565b61024861049e366004613644565b61139a565b6102936104b1366004613518565b61148d565b6104356104c43660046133bc565b61154e565b6102936104d7366004613443565b6115cb565b6102486104ea366004613644565b611603565b6102936104fd36600461357b565b6116f4565b610248610510366004613644565b6119bc565b610248610523366004613644565b611c91565b610248610536366004613644565b611d82565b6102ac7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b6104356105703660046133bc565b611e76565b61022b6105833660046133d6565b611ea2565b6105cb6105963660046135d9565b600b60209081526000928352604080842090915290825290205463ffffffff811690600160201b90046001600160601b031682565b6040805163ffffffff90931683526001600160601b03909116602083015201610237565b6102936105fd3660046133bc565b611ed0565b60006001600160e01b0319821663780e9d6360e01b1480610627575061062782611f6d565b92915050565b60606000805461063c90613d76565b80601f016020809104026020016040519081016040528092919081815260200182805461066890613d76565b80156106b55780601f1061068a576101008083540402835291602001916106b5565b820191906000526020600020905b81548152906001019060200180831161069857829003601f168201915b5050505050905090565b60006106ca82611fbd565b6107305760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061075782610dc9565b9050806001600160a01b0316836001600160a01b031614156107c55760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610727565b336001600160a01b03821614806107e157506107e18133611ea2565b61084e5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b6064820152608401610727565b6108588383611fda565b505050565b606061062782604051806040016040528060048152602001631193d3d560e21b8152506014805480602002602001604051908101604052809291908181526020016000905b8282101561094e5783829060005260206000200180546108c190613d76565b80601f01602080910402602001604051908101604052809291908181526020018280546108ed90613d76565b801561093a5780601f1061090f5761010080835404028352916020019161093a565b820191906000526020600020905b81548152906001019060200180831161091d57829003601f168201915b5050505050815260200190600101906108a2565b50505050612048565b6109613382612375565b61097d5760405162461bcd60e51b815260040161072790613bee565b61085883838361243f565b60606106278260405180604001604052806007815260200166434c4f5448455360c81b8152506011805480602002602001604051908101604052809291908181526020016000905b8282101561094e5783829060005260206000200180546109ef90613d76565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1b90613d76565b8015610a685780601f10610a3d57610100808354040283529160200191610a68565b820191906000526020600020905b815481529060010190602001808311610a4b57829003601f168201915b5050505050815260200190600101906109d0565b6000610a8783610f31565b8210610ae95760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610727565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b60606106278260405180604001604052806005815260200164445255475360d81b8152506019805480602002602001604051908101604052809291908181526020016000905b8282101561094e578382906000526020600020018054610b7790613d76565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba390613d76565b8015610bf05780601f10610bc557610100808354040283529160200191610bf0565b820191906000526020600020905b815481529060010190602001808311610bd357829003601f168201915b505050505081526020019060010190610b58565b6002600e541415610c575760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610727565b6002600e558015801590610c6c5750611f4181105b610cab5760405162461bcd60e51b815260206004820152601060248201526f151bdad95b881251081a5b9d985b1a5960821b6044820152606401610727565b610cb533826125ea565b506001600e55565b610858838383604051806020016040528060008152506115cb565b6000610ce360085490565b8210610d465760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610727565b60088281548110610d6757634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6001600160a01b038082166000908152600a60205260408120549091168015610da25780610da4565b825b9392505050565b6001600160a01b038116610dbc5750335b610dc63382612608565b50565b6000818152600260205260408120546001600160a01b0316806106275760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610727565b606061062782604051806040016040528060048152602001634e45434b60e01b8152506016805480602002602001604051908101604052809291908181526020016000905b8282101561094e578382906000526020600020018054610ea490613d76565b80601f0160208091040260200160405190810160405280929190818152602001828054610ed090613d76565b8015610f1d5780601f10610ef257610100808354040283529160200191610f1d565b820191906000526020600020905b815481529060010190602001808311610f0057829003601f168201915b505050505081526020019060010190610e85565b60006001600160a01b038216610f9c5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610727565b506001600160a01b031660009081526003602052604090205490565b33610fc161128a565b6001600160a01b031614610fe75760405162461bcd60e51b815260040161072790613bb9565b610ff16000612688565b565b60004382106110645760405162461bcd60e51b815260206004820152603760248201527f455243373231436865636b706f696e7461626c653a3a6765745072696f72566f6044820152761d195cce881b9bdd081e595d0819195d195c9b5a5b9959604a1b6064820152608401610727565b6001600160a01b0383166000908152600c602052604090205463ffffffff1680611092576000915050610627565b6001600160a01b0384166000908152600b6020526040812084916110b7600185613d05565b63ffffffff9081168252602082019290925260400160002054161161112a576001600160a01b0384166000908152600b60205260408120906110fa600184613d05565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b031691506106279050565b6001600160a01b0384166000908152600b6020908152604080832083805290915290205463ffffffff16831015611165576000915050610627565b600080611173600184613d05565b90505b8163ffffffff168163ffffffff16111561124557600060026111988484613d05565b6111a29190613cac565b6111ac9083613d05565b6001600160a01b0388166000908152600b6020908152604080832063ffffffff858116855290835292819020815180830190925254928316808252600160201b9093046001600160601b031691810191909152919250871415611219576020015194506106279350505050565b805163ffffffff168711156112305781935061123e565b61123b600183613d05565b92505b5050611176565b506001600160a01b0385166000908152600b6020908152604080832063ffffffff909416835292905220546001600160601b03600160201b9091041691505092915050565b600f546001600160a01b031690565b60606001805461063c90613d76565b6060610627826040518060400160405280600581526020016415d05254d560da1b8152506013805480602002602001604051908101604052809291908181526020016000905b8282101561094e57838290600052602060002001805461130d90613d76565b80601f016020809104026020016040519081016040528092919081815260200182805461133990613d76565b80156113865780601f1061135b57610100808354040283529160200191611386565b820191906000526020600020905b81548152906001019060200180831161136957829003601f168201915b5050505050815260200190600101906112ee565b606061062782604051806040016040528060068152602001652ba2a0a827a760d11b8152506010805480602002602001604051908101604052809291908181526020016000905b8282101561094e57838290600052602060002001805461140090613d76565b80601f016020809104026020016040519081016040528092919081815260200182805461142c90613d76565b80156114795780601f1061144e57610100808354040283529160200191611479565b820191906000526020600020905b81548152906001019060200180831161145c57829003601f168201915b5050505050815260200190600101906113e1565b6001600160a01b0382163314156114e25760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b6044820152606401610727565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6001600160a01b0381166000908152600c602052604081205463ffffffff1680611579576000610da4565b6001600160a01b0383166000908152600b602052604081209061159d600184613d05565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03169392505050565b6115d53383612375565b6115f15760405162461bcd60e51b815260040161072790613bee565b6115fd848484846126da565b50505050565b6060610627826040518060400160405280600481526020016352494e4760e01b8152506017805480602002602001604051908101604052809291908181526020016000905b8282101561094e57838290600052602060002001805461166790613d76565b80601f016020809104026020016040519081016040528092919081815260200182805461169390613d76565b80156116e05780601f106116b5576101008083540402835291602001916116e0565b820191906000526020600020905b8154815290600101906020018083116116c357829003601f168201915b505050505081526020019060010190611648565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86661171f61062d565b8051906020012061172d4690565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a90528251808503909101815261014084019092528151919093012061190160f01b610160830152610162820183905261018282018190529192506000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015611859573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166118c95760405162461bcd60e51b81526020600482015260366024820152600080516020613f7e8339815191526044820152755369673a20696e76616c6964207369676e617475726560501b6064820152608401610727565b6001600160a01b0381166000908152600d602052604081208054916118ed83613db1565b9190505589146119485760405162461bcd60e51b81526020600482015260326024820152600080516020613f7e8339815191526044820152715369673a20696e76616c6964206e6f6e636560701b6064820152608401610727565b874211156119a55760405162461bcd60e51b81526020600482015260366024820152600080516020613f7e83398151915260448201527514da59ce881cda59db985d1d5c9948195e1c1a5c995960521b6064820152608401610727565b6119af818b612608565b505050505b505050505050565b60606119c661335f565b60405180610120016040528060fd8152602001613f9e60fd913981526119eb8361139a565b8160016020020181905250604051806060016040528060288152602001614141602891396040820152611a1d83610988565b6060808301919091526040805191820190526028808252613e3960208301396080820152611a4a83611d82565b60a082015260408051606081019091526028808252613f2d602083013960c0820152611a7583610b12565b60e082015260408051606081019091526029808252613f556020830139610100820152611aa18361085d565b61012082015260408051606081019091526029808252613ec06020830139610140820152611ace83611c91565b6101608201526040805160608101909152602980825261409b6020830139610180820152611afb836112a8565b6101a08201526040805160608101909152602980825261409b6020830139610180820152611b2883610e40565b6101a082015260408051606081019091526029808252613e9760208301396101c0820152611b5583611603565b6101e0820152604080518082018252600d81526c1e17ba32bc3a1f1e17b9bb339f60991b602080830191909152610200840191909152825181840151838501516060860151608087015160a088015160c089015160e08a01516101008b0151995160009a611bc59a9091016136d3565b60408051808303601f19018152908290526101208401516101408501516101608601516101808701516101a08801516101c08901516101e08a01516102008b0151979950611c18988a98906020016136d3565b60405160208183030381529060405290506000611c65611c378661270d565b611c4084612827565b604051602001611c51929190613982565b604051602081830303815290604052612827565b905080604051602001611c78919061393d565b60408051601f1981840301815291905295945050505050565b606061062782604051806040016040528060048152602001631210539160e21b8152506015805480602002602001604051908101604052809291908181526020016000905b8282101561094e578382906000526020600020018054611cf590613d76565b80601f0160208091040260200160405190810160405280929190818152602001828054611d2190613d76565b8015611d6e5780601f10611d4357610100808354040283529160200191611d6e565b820191906000526020600020905b815481529060010190602001808311611d5157829003601f168201915b505050505081526020019060010190611cd6565b6060610627826040518060400160405280600781526020016656454849434c4560c81b8152506012805480602002602001604051908101604052809291908181526020016000905b8282101561094e578382906000526020600020018054611de990613d76565b80601f0160208091040260200160405190810160405280929190818152602001828054611e1590613d76565b8015611e625780601f10611e3757610100808354040283529160200191611e62565b820191906000526020600020905b815481529060010190602001808311611e4557829003601f168201915b505050505081526020019060010190611dca565b6000610627611e8483610f31565b6040518060600160405280603d8152602001614104603d913961299b565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b33611ed961128a565b6001600160a01b031614611eff5760405162461bcd60e51b815260040161072790613bb9565b6001600160a01b038116611f645760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610727565b610dc681612688565b60006001600160e01b031982166380ac58cd60e01b1480611f9e57506001600160e01b03198216635b5e139f60e01b145b8061062757506301ffc9a760e01b6001600160e01b0319831614610627565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061200f82610dc9565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6060600061207e846120598761270d565b60405160200161206a9291906136a4565b6040516020818303038152906040526129ca565b90506000838451836120909190613dcc565b815181106120ae57634e487b7160e01b600052603260045260246000fd5b6020026020010151905060006015836120c79190613dcc565b9050600e81111561212e57601880548391906120e39086613dcc565b8154811061210157634e487b7160e01b600052603260045260246000fd5b9060005260206000200160405160200161211c929190613793565b60405160208183030381529060405291505b6013811061236b5761213e613387565b601a805461214c9086613dcc565b8154811061216a57634e487b7160e01b600052603260045260246000fd5b90600052602060002001805461217f90613d76565b80601f01602080910402602001604051908101604052809291908181526020018280546121ab90613d76565b80156121f85780601f106121cd576101008083540402835291602001916121f8565b820191906000526020600020905b8154815290600101906020018083116121db57829003601f168201915b50505050508160006002811061221e57634e487b7160e01b600052603260045260246000fd5b6020020152601b80546122319086613dcc565b8154811061224f57634e487b7160e01b600052603260045260246000fd5b90600052602060002001805461226490613d76565b80601f016020809104026020016040519081016040528092919081815260200182805461229090613d76565b80156122dd5780601f106122b2576101008083540402835291602001916122dd565b820191906000526020600020905b8154815290600101906020018083116122c057829003601f168201915b50505050508160016002811061230357634e487b7160e01b600052603260045260246000fd5b6020020152601382141561233f5780516020808301516040516123299392879101613851565b6040516020818303038152906040529250612369565b805160208083015160405161235793928791016138bf565b60405160208183030381529060405292505b505b5095945050505050565b600061238082611fbd565b6123e15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610727565b60006123ec83610dc9565b9050806001600160a01b0316846001600160a01b031614806124275750836001600160a01b031661241c846106bf565b6001600160a01b0316145b8061243757506124378185611ea2565b949350505050565b826001600160a01b031661245282610dc9565b6001600160a01b0316146124ba5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610727565b6001600160a01b03821661251c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610727565b6125278383836129fb565b612532600082611fda565b6001600160a01b038316600090815260036020526040812080546001929061255b908490613cee565b90915550506001600160a01b0382166000908152600360205260408120805460019290612589908490613c3f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b612604828260405180602001604052806000815250612a22565b5050565b600061261383610d79565b6001600160a01b038481166000818152600a602052604080822080546001600160a01b031916888616908117909155905194955093928516927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4600061267b84611e76565b90506115fd828483612a55565b600f80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6126e584848461243f565b6126f184848484612c01565b6115fd5760405162461bcd60e51b815260040161072790613b67565b6060816127315750506040805180820190915260018152600360fc1b602082015290565b8160005b811561275b578061274581613db1565b91506127549050600a83613c98565b9150612735565b60008167ffffffffffffffff81111561278457634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156127ae576020820181803683370190505b5090505b8415612437576127c3600183613cee565b91506127d0600a86613dcc565b6127db906030613c3f565b60f81b8183815181106127fe57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612820600a86613c98565b94506127b2565b805160609080612847575050604080516020810190915260008152919050565b60006003612856836002613c3f565b6128609190613c98565b61286b906004613ccf565b9050600061287a826020613c3f565b67ffffffffffffffff8111156128a057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156128ca576020820181803683370190505b50905060006040518060600160405280604081526020016140c4604091399050600181016020830160005b86811015612956576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b8352600490920191016128f5565b50600386066001811461297057600281146129815761298d565b613d3d60f01b60011983015261298d565b603d60f81b6000198301525b505050918152949350505050565b600081600160601b84106129c25760405162461bcd60e51b81526004016107279190613b54565b509192915050565b6000816040516020016129dd9190613688565b60408051601f19818403018152919052805160209091012092915050565b612a06838383612d0e565b610858612a1284610d79565b612a1b84610d79565b6001612a55565b612a2c8383612dc6565b612a396000848484612c01565b6108585760405162461bcd60e51b815260040161072790613b67565b816001600160a01b0316836001600160a01b031614158015612a8057506000816001600160601b0316115b15610858576001600160a01b03831615612b45576001600160a01b0383166000908152600c602052604081205463ffffffff169081612ac0576000612b0c565b6001600160a01b0385166000908152600b6020526040812090612ae4600185613d05565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b90506000612b33828560405180606001604052806037815260200161416960379139612f05565b9050612b4186848484612f47565b5050505b6001600160a01b03821615610858576001600160a01b0382166000908152600c602052604081205463ffffffff169081612b80576000612bcc565b6001600160a01b0384166000908152600b6020526040812090612ba4600185613d05565b63ffffffff168152602081019190915260400160002054600160201b90046001600160601b03165b90506000612bf38285604051806060016040528060368152602001613e6160369139613131565b90506119b485848484612f47565b60006001600160a01b0384163b15612d0357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612c45903390899088908890600401613b17565b602060405180830381600087803b158015612c5f57600080fd5b505af1925050508015612c8f575060408051601f3d908101601f19168201909252612c8c91810190613628565b60015b612ce9573d808015612cbd576040519150601f19603f3d011682016040523d82523d6000602084013e612cc2565b606091505b508051612ce15760405162461bcd60e51b815260040161072790613b67565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612437565b506001949350505050565b6001600160a01b038316612d6957612d6481600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612d8c565b816001600160a01b0316836001600160a01b031614612d8c57612d8c838261317e565b6001600160a01b038216612da3576108588161321b565b826001600160a01b0316826001600160a01b0316146108585761085882826132f4565b6001600160a01b038216612e1c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610727565b612e2581611fbd565b15612e725760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610727565b612e7e600083836129fb565b6001600160a01b0382166000908152600360205260408120805460019290612ea7908490613c3f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000836001600160601b0316836001600160601b031611158290612f3c5760405162461bcd60e51b81526004016107279190613b54565b506124378385613d2a565b6000612f6b43604051806080016040528060448152602001613ee960449139613338565b905060008463ffffffff16118015612fc557506001600160a01b0385166000908152600b6020526040812063ffffffff831691612fa9600188613d05565b63ffffffff908116825260208201929092526040016000205416145b15613034576001600160a01b0385166000908152600b602052604081208391612fef600188613d05565b63ffffffff168152602081019190915260400160002080546001600160601b0392909216600160201b02640100000000600160801b03199092169190911790556130dc565b60408051808201825263ffffffff80841682526001600160601b0380861660208085019182526001600160a01b038b166000908152600b82528681208b8616825290915294909420925183549451909116600160201b026001600160801b03199094169116179190911790556130ab846001613c57565b6001600160a01b0386166000908152600c60205260409020805463ffffffff191663ffffffff929092169190911790555b604080516001600160601b038086168252841660208201526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b60008061313e8486613c76565b9050846001600160601b0316816001600160601b0316101583906131755760405162461bcd60e51b81526004016107279190613b54565b50949350505050565b6000600161318b84610f31565b6131959190613cee565b6000838152600760205260409020549091508082146131e8576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061322d90600190613cee565b6000838152600960205260408120546008805493945090928490811061326357634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061329257634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806132d857634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006132ff83610f31565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b600081600160201b84106129c25760405162461bcd60e51b81526004016107279190613b54565b6040518061022001604052806011905b606081526020019060019003908161336f5790505090565b604080518082019091526060815260016020820161336f565b80356001600160a01b03811681146133b757600080fd5b919050565b6000602082840312156133cd578081fd5b610da4826133a0565b600080604083850312156133e8578081fd5b6133f1836133a0565b91506133ff602084016133a0565b90509250929050565b60008060006060848603121561341c578081fd5b613425846133a0565b9250613433602085016133a0565b9150604084013590509250925092565b60008060008060808587031215613458578081fd5b613461856133a0565b935061346f602086016133a0565b925060408501359150606085013567ffffffffffffffff80821115613492578283fd5b818701915087601f8301126134a5578283fd5b8135818111156134b7576134b7613e0c565b604051601f8201601f19908116603f011681019083821181831017156134df576134df613e0c565b816040528281528a60208487010111156134f7578586fd5b82602086016020830137918201602001949094529598949750929550505050565b6000806040838503121561352a578182fd5b613533836133a0565b915060208301358015158114613547578182fd5b809150509250929050565b60008060408385031215613564578182fd5b61356d836133a0565b946020939093013593505050565b60008060008060008060c08789031215613593578182fd5b61359c876133a0565b95506020870135945060408701359350606087013560ff811681146135bf578283fd5b9598949750929560808101359460a0909101359350915050565b600080604083850312156135eb578182fd5b6135f4836133a0565b9150602083013563ffffffff81168114613547578182fd5b60006020828403121561361d578081fd5b8135610da481613e22565b600060208284031215613639578081fd5b8151610da481613e22565b600060208284031215613655578081fd5b5035919050565b60008151808452613674816020860160208601613d4a565b601f01601f19169290920160200192915050565b6000825161369a818460208701613d4a565b9190910192915050565b600083516136b6818460208801613d4a565b8351908301906136ca818360208801613d4a565b01949350505050565b60008a516136e5818460208f01613d4a565b8a516136f78183860160208f01613d4a565b8a51918401019061370c818360208e01613d4a565b895161371e8183850160208e01613d4a565b8951929091010190613734818360208c01613d4a565b8751910190613747818360208b01613d4a565b86516137598183850160208b01613d4a565b865192909101019061376f818360208901613d4a565b84516137818183850160208901613d4a565b9101019b9a5050505050505050505050565b6000835160206137a68285838901613d4a565b600160fd1b9184019182528454600190849080831c818416806137ca57607f821691505b8582108114156137e857634e487b7160e01b88526022600452602488fd5b8080156137fc576001811461381157613841565b60ff1984168887015282880186019450613841565b60008b815260209020895b848110156138375781548a820189015290870190880161381c565b5050858389010194505b50929a9950505050505050505050565b601160f91b8152835160009061386e816001850160208901613d4a565b600160fd1b600191840191820152845161388f816002840160208901613d4a565b61011160f51b6002929091019182015283516138b2816004840160208801613d4a565b0160040195945050505050565b601160f91b815283516000906138dc816001850160208901613d4a565b600160fd1b60019184019182015284516138fd816002840160208901613d4a565b61011160f51b600292909101918201528351613920816004840160208801613d4a565b62202b3160e81b6004929091019182015260070195945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161397581601d850160208701613d4a565b91909101601d0192915050565b6f7b226e616d65223a202247656172202360801b815282516000906139ae816010850160208801613d4a565b7f222c20226465736372697074696f6e223a202244574c2069732072616e646f6d6010918401918201527f697a65642073747265657420676561722067656e65726174656420616e64207360308201527f746f726564206f6e20636861696e2e2053746174732c20696d616765732c206160508201527f6e64206f746865722066756e6374696f6e616c6974792061726520696e74656e60708201527f74696f6e616c6c79206f6d697474656420666f72206f746865727320746f206960908201527f6e746572707265742e204665656c206672656520746f20757365204c6f6f742060b08201527f696e20616e792077617920796f752077616e742e222c2022696d616765223a2060d08201527a0899185d184e9a5b5859d94bdcdd99cade1b5b0ed8985cd94d8d0b602a1b60f0820152835161010b90613af68183850160208901613d4a565b613b0c828285010161227d60f01b815260020190565b979650505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613b4a9083018461365c565b9695505050505050565b602081526000610da4602083018461365c565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115613c5257613c52613de0565b500190565b600063ffffffff8083168185168083038211156136ca576136ca613de0565b60006001600160601b038281168482168083038211156136ca576136ca613de0565b600082613ca757613ca7613df6565b500490565b600063ffffffff80841680613cc357613cc3613df6565b92169190910492915050565b6000816000190483118215151615613ce957613ce9613de0565b500290565b600082821015613d0057613d00613de0565b500390565b600063ffffffff83811690831681811015613d2257613d22613de0565b039392505050565b60006001600160601b0383811690831681811015613d2257613d22613de0565b60005b83811015613d65578181015183820152602001613d4d565b838111156115fd5750506000910152565b600181811c90821680613d8a57607f821691505b60208210811415613dab57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613dc557613dc5613de0565b5060010190565b600082613ddb57613ddb613df6565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610dc657600080fdfe3c2f746578743e3c7465787420783d2231302220793d2236302220636c6173733d2262617365223e455243373231436865636b706f696e7461626c653a3a5f6d6f766544656c6567617465733a20616d6f756e74206f766572666c6f77733c2f746578743e3c7465787420783d2231302220793d223136302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d223132302220636c6173733d2262617365223e455243373231436865636b706f696e7461626c653a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d626572206578636565647320333220626974733c2f746578743e3c7465787420783d2231302220793d2238302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d223130302220636c6173733d2262617365223e455243373231436865636b706f696e7461626c653a3a64656c656761746542793c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302033353020333530223e3c7374796c653e2e62617365207b2066696c6c3a2077686974653b20666f6e742d66616d696c793a2073657269663b20666f6e742d73697a653a20313470783b207d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d22626c61636b22202f3e3c7465787420783d2231302220793d2232302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d223134302220636c6173733d2262617365223e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f455243373231436865636b706f696e7461626c653a3a766f746573546f44656c65676174653a20616d6f756e74206578636565647320393620626974733c2f746578743e3c7465787420783d2231302220793d2234302220636c6173733d2262617365223e455243373231436865636b706f696e7461626c653a3a5f6d6f766544656c6567617465733a20616d6f756e7420756e646572666c6f7773a2646970667358221220a67a4166f6e1ccea197c1b4d094553ef151973e256ec25f7fadae218a9bd44b064736f6c63430008040033

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.