ETH Price: $3,170.04 (-4.03%)
Gas: 11 Gwei

Token

BAP TEEN BULLS (BAPTEENB)
 

Overview

Max Total Supply

8,364 BAPTEENB

Holders

1,007

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
sub-0.eth
Balance
173 BAPTEENB
0xd2dd726b08493e9df3a8638cc7c7555393887378
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
BAPTeenBulls

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : BAPTeenBulls.sol
// SPDX-License-Identifier: GPL-3.0
// solhint-disable-next-line
pragma solidity 0.8.12;
import "./ERC721A.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract BAPTeenBulls is ERC721A, ReentrancyGuard, Ownable {
    using Strings for uint256;
    // Public attributes for Manageable interface
    string public project;
    uint256 public maxSupply;
    bool public open;
    string public baseURI;
    mapping(uint256 => string) private _tokenURIs;
    address public orchestrator;

    constructor(
        string memory _project,
        string memory _name,
        string memory _symbol,
        uint256 _maxSupply
    ) ERC721A(_name, _symbol) {
        project = _project;
        maxSupply = _maxSupply;
    }

    function airdrop(address to, uint256 amount) public nonReentrant onlyOwner {
        require(_totalMinted() + amount <= maxSupply, "Invalid amount");
        _safeMint(to, amount);
    }

    function generateTeenBull() external onlyOrchestrator {
        require(open, "Contract closed");
        require(_totalMinted() < maxSupply, "Supply limit");
        buy(tx.origin);
    }

    function burnTeenBull(uint256 tokenId) external onlyOrchestrator {
        require(open, "Contract closed");
        _burn(tokenId, true);
    }

    function buy(address to) internal {
        uint256 _totalMinted = _totalMinted();
        _safeMint(to, 1);
    }

    function setOpen(bool _open) external onlyOwner {
        open = _open;
    }

    function setBaseURI(string memory newBaseURI) external onlyOwner {
        baseURI = newBaseURI;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = baseURI;

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }
        // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.
        return string(abi.encodePacked(base, tokenId.toString()));
    }

    function setTokenURI(uint256 id, string memory newURL) external onlyOwner {
        require(bytes(newURL).length > 0, "New URL Invalid");
        require(_exists(id), "Invalid Token");
        _tokenURIs[id] = newURL;
    }

    function setMaxSupply(uint256 _totalSupply) external onlyOwner {
        require(_totalSupply >= _totalMinted(), "Total supply too low");
        maxSupply = _totalSupply;
    }

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

    function setOrchestrator(address newOrchestrator) external onlyOwner {
        require(newOrchestrator != address(0), "200:ZERO_ADDRESS");
        orchestrator = newOrchestrator;
    }

    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }
}

File 2 of 7 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 7 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

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 5 of 7 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import "./IERC721A.sol";

/**
 * @dev ERC721 token receiver interface.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Mask of an entry in packed address data.
    uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The tokenId of the next token to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See `_packedOwnershipOf` implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

    // 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;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see `_totalMinted`.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to `_startTokenId()`
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view returns (uint256) {
        return _burnCounter;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override
        returns (bool)
    {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (_addressToUint256(owner) == 0) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return
            (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) &
            BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return
            (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) &
            BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> BITPOS_AUX);
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        assembly {
            // Cast aux without masking.
            auxCasted := aux
        }
        packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId)
        private
        view
        returns (uint256)
    {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed)
        private
        pure
        returns (TokenOwnership memory ownership)
    {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP);
        ownership.burned = packed & BITMASK_BURNED != 0;
    }

    /**
     * Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index)
        internal
        view
        returns (TokenOwnership memory)
    {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId)
        internal
        view
        returns (TokenOwnership memory)
    {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

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

    /**
     * @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)
    {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

    /**
     * @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 Casts the address to uint256 without masking.
     */
    function _addressToUint256(address value)
        private
        pure
        returns (uint256 result)
    {
        assembly {
            result := value
        }
    }

    /**
     * @dev Casts the boolean to uint256 without branching.
     */
    function _boolToUint256(bool value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = address(uint160(_packedOwnershipOf(tokenId)));
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                revert ApprovalCallerNotOwnerNorApproved();
            }

        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId)
        public
        view
        override
        returns (address)
    {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved)
        public
        virtual
        override
    {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), 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 {
        _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 {
        _transfer(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, "");
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     *   {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (_addressToUint256(to) == 0) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] +=
                quantity *
                ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (to.code.length != 0) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (
                        !_checkContractOnERC721Received(
                            address(0),
                            to,
                            updatedIndex++,
                            _data
                        )
                    ) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex < end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex < end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (_addressToUint256(to) == 0) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] +=
                quantity *
                ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            do {
                emit Transfer(address(0), to, updatedIndex++);
            } while (updatedIndex < end);

            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from)
            revert TransferFromIncorrectOwner();

        address approvedAddress = _tokenApprovals[tokenId];

        bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
            isApprovedForAll(from, _msgSenderERC721A()) ||
            approvedAddress == _msgSenderERC721A());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (_addressToUint256(to) == 0) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        if (_addressToUint256(approvedAddress) != 0) {
            delete _tokenApprovals[tokenId];
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_NEXT_INITIALIZED;

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = address(uint160(prevOwnershipPacked));
        address approvedAddress = _tokenApprovals[tokenId];

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
                isApprovedForAll(from, _msgSenderERC721A()) ||
                approvedAddress == _msgSenderERC721A());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        if (_addressToUint256(approvedAddress) != 0) {
            delete _tokenApprovals[tokenId];
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(from) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_BURNED |
                BITMASK_NEXT_INITIALIZED;

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try
            ERC721A__IERC721Receiver(to).onERC721Received(
                _msgSenderERC721A(),
                from,
                tokenId,
                _data
            )
        returns (bytes4 retval) {
            return
                retval ==
                ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function _toString(uint256 value)
        internal
        pure
        returns (string memory ptr)
    {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

            // Cache the end of the memory to calculate the length later.
            let end := ptr

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for {
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer. 48 is the ASCII index of '0'.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp {
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } {
                // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }

            let length := sub(end, ptr)
            // Move the pointer 32 bytes leftwards to make room for the length.
            ptr := sub(ptr, 32)
            // Store the length.
            mstore(ptr, length)
        }
    }
}

File 6 of 7 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of an ERC721A compliant contract.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * The caller cannot approve to the current owner.
     */
    error ApprovalToCurrentOwner();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     *
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);

    // ==============================
    //            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);

    // ==============================
    //            IERC721
    // ==============================

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must 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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

    // ==============================
    //        IERC721Metadata
    // ==============================

    /**
     * @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 7 of 7 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_project","type":"string"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burnTeenBull","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"generateTeenBull","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"open","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"orchestrator","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"project","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_totalSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_open","type":"bool"}],"name":"setOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOrchestrator","type":"address"}],"name":"setOrchestrator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"string","name":"newURL","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"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"}]

60806040523480156200001157600080fd5b5060405162003ea438038062003ea4833981810160405281019062000037919062000434565b8282816002908051906020019062000051929190620001ac565b5080600390805190602001906200006a929190620001ac565b506200007b620000d560201b60201c565b60008190555050506001600881905550620000ab6200009f620000de60201b60201c565b620000e660201b60201c565b83600a9080519060200190620000c3929190620001ac565b5080600b819055505050505062000568565b60006001905090565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001ba9062000532565b90600052602060002090601f016020900481019282620001de57600085556200022a565b82601f10620001f957805160ff19168380011785556200022a565b828001600101855582156200022a579182015b82811115620002295782518255916020019190600101906200020c565b5b5090506200023991906200023d565b5090565b5b80821115620002585760008160009055506001016200023e565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620002c5826200027a565b810181811067ffffffffffffffff82111715620002e757620002e66200028b565b5b80604052505050565b6000620002fc6200025c565b90506200030a8282620002ba565b919050565b600067ffffffffffffffff8211156200032d576200032c6200028b565b5b62000338826200027a565b9050602081019050919050565b60005b838110156200036557808201518184015260208101905062000348565b8381111562000375576000848401525b50505050565b6000620003926200038c846200030f565b620002f0565b905082815260208101848484011115620003b157620003b062000275565b5b620003be84828562000345565b509392505050565b600082601f830112620003de57620003dd62000270565b5b8151620003f08482602086016200037b565b91505092915050565b6000819050919050565b6200040e81620003f9565b81146200041a57600080fd5b50565b6000815190506200042e8162000403565b92915050565b6000806000806080858703121562000451576200045062000266565b5b600085015167ffffffffffffffff8111156200047257620004716200026b565b5b6200048087828801620003c6565b945050602085015167ffffffffffffffff811115620004a457620004a36200026b565b5b620004b287828801620003c6565b935050604085015167ffffffffffffffff811115620004d657620004d56200026b565b5b620004e487828801620003c6565b9250506060620004f7878288016200041d565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200054b57607f821691505b6020821081141562000562576200056162000503565b5b50919050565b61392c80620005786000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c8063715018a611610104578063c5577ff7116100a2578063e985e9c511610071578063e985e9c514610505578063f2fde38b14610535578063f60ca60d14610551578063fcfff16f1461056f576101da565b8063c5577ff714610491578063c87b56dd1461049b578063cd28ef0d146104cb578063d5abeb01146104e7576101da565b806395d89b41116100de57806395d89b411461041d578063a22cb4651461043b578063b74795d914610457578063b88d4fde14610475576101da565b8063715018a6146103d95780638ba4cc3c146103e35780638da5cb5b146103ff576101da565b8063299f53731161017c5780636c0360eb1161014b5780636c0360eb146103535780636f8b44b0146103715780636fdca5e01461038d57806370a08231146103a9576101da565b8063299f5373146102cf57806342842e0e146102eb57806355f804b3146103075780636352211e14610323576101da565b8063095ea7b3116101b8578063095ea7b31461025d578063162094c41461027957806318160ddd1461029557806323b872dd146102b3576101da565b806301ffc9a7146101df57806306fdde031461020f578063081812fc1461022d575b600080fd5b6101f960048036038101906101f49190612944565b61058d565b604051610206919061298c565b60405180910390f35b61021761061f565b6040516102249190612a40565b60405180910390f35b61024760048036038101906102429190612a98565b6106b1565b6040516102549190612b06565b60405180910390f35b61027760048036038101906102729190612b4d565b61072d565b005b610293600480360381019061028e9190612cc2565b6108d4565b005b61029d610a08565b6040516102aa9190612d2d565b60405180910390f35b6102cd60048036038101906102c89190612d48565b610a1f565b005b6102e960048036038101906102e49190612a98565b610a2f565b005b61030560048036038101906103009190612d48565b610b23565b005b610321600480360381019061031c9190612d9b565b610b43565b005b61033d60048036038101906103389190612a98565b610bd9565b60405161034a9190612b06565b60405180910390f35b61035b610beb565b6040516103689190612a40565b60405180910390f35b61038b60048036038101906103869190612a98565b610c79565b005b6103a760048036038101906103a29190612e10565b610d49565b005b6103c360048036038101906103be9190612e3d565b610de2565b6040516103d09190612d2d565b60405180910390f35b6103e1610e77565b005b6103fd60048036038101906103f89190612b4d565b610eff565b005b610407611036565b6040516104149190612b06565b60405180910390f35b610425611060565b6040516104329190612a40565b60405180910390f35b61045560048036038101906104509190612e6a565b6110f2565b005b61045f61126a565b60405161046c9190612b06565b60405180910390f35b61048f600480360381019061048a9190612f4b565b611290565b005b610499611303565b005b6104b560048036038101906104b09190612a98565b61143f565b6040516104c29190612a40565b60405180910390f35b6104e560048036038101906104e09190612e3d565b611635565b005b6104ef611765565b6040516104fc9190612d2d565b60405180910390f35b61051f600480360381019061051a9190612fce565b61176b565b60405161052c919061298c565b60405180910390f35b61054f600480360381019061054a9190612e3d565b6117ff565b005b6105596118f7565b6040516105669190612a40565b60405180910390f35b610577611985565b604051610584919061298c565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105e857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106185750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461062e9061303d565b80601f016020809104026020016040519081016040528092919081815260200182805461065a9061303d565b80156106a75780601f1061067c576101008083540402835291602001916106a7565b820191906000526020600020905b81548152906001019060200180831161068a57829003601f168201915b5050505050905090565b60006106bc82611998565b6106f2576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610738826119f7565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107a0576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107bf611ac5565b73ffffffffffffffffffffffffffffffffffffffff1614610822576107eb816107e6611ac5565b61176b565b610821576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6108dc611acd565b73ffffffffffffffffffffffffffffffffffffffff166108fa611036565b73ffffffffffffffffffffffffffffffffffffffff1614610950576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610947906130bb565b60405180910390fd5b6000815111610994576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098b90613127565b60405180910390fd5b61099d82611998565b6109dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d390613193565b60405180910390fd5b80600e60008481526020019081526020016000209080519060200190610a03929190612835565b505050565b6000610a12611ad5565b6001546000540303905090565b610a2a838383611ade565b505050565b610a37611acd565b73ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610ac6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abd90613225565b60405180910390fd5b600c60009054906101000a900460ff16610b15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0c90613291565b60405180910390fd5b610b20816001611ea6565b50565b610b3e83838360405180602001604052806000815250611290565b505050565b610b4b611acd565b73ffffffffffffffffffffffffffffffffffffffff16610b69611036565b73ffffffffffffffffffffffffffffffffffffffff1614610bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb6906130bb565b60405180910390fd5b80600d9080519060200190610bd5929190612835565b5050565b6000610be4826119f7565b9050919050565b600d8054610bf89061303d565b80601f0160208091040260200160405190810160405280929190818152602001828054610c249061303d565b8015610c715780601f10610c4657610100808354040283529160200191610c71565b820191906000526020600020905b815481529060010190602001808311610c5457829003601f168201915b505050505081565b610c81611acd565b73ffffffffffffffffffffffffffffffffffffffff16610c9f611036565b73ffffffffffffffffffffffffffffffffffffffff1614610cf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cec906130bb565b60405180910390fd5b610cfd6121c0565b811015610d3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d36906132fd565b60405180910390fd5b80600b8190555050565b610d51611acd565b73ffffffffffffffffffffffffffffffffffffffff16610d6f611036565b73ffffffffffffffffffffffffffffffffffffffff1614610dc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbc906130bb565b60405180910390fd5b80600c60006101000a81548160ff02191690831515021790555050565b600080610dee836121d3565b1415610e26576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610e7f611acd565b73ffffffffffffffffffffffffffffffffffffffff16610e9d611036565b73ffffffffffffffffffffffffffffffffffffffff1614610ef3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eea906130bb565b60405180910390fd5b610efd60006121dd565b565b60026008541415610f45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3c90613369565b60405180910390fd5b6002600881905550610f55611acd565b73ffffffffffffffffffffffffffffffffffffffff16610f73611036565b73ffffffffffffffffffffffffffffffffffffffff1614610fc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc0906130bb565b60405180910390fd5b600b5481610fd56121c0565b610fdf91906133b8565b1115611020576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110179061345a565b60405180910390fd5b61102a82826122a3565b60016008819055505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461106f9061303d565b80601f016020809104026020016040519081016040528092919081815260200182805461109b9061303d565b80156110e85780601f106110bd576101008083540402835291602001916110e8565b820191906000526020600020905b8154815290600101906020018083116110cb57829003601f168201915b5050505050905090565b6110fa611ac5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561115f576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061116c611ac5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611219611ac5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161125e919061298c565b60405180910390a35050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61129b848484611ade565b60008373ffffffffffffffffffffffffffffffffffffffff163b146112fd576112c6848484846122c1565b6112fc576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b61130b611acd565b73ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461139a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139190613225565b60405180910390fd5b600c60009054906101000a900460ff166113e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e090613291565b60405180910390fd5b600b546113f46121c0565b10611434576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142b906134c6565b60405180910390fd5b61143d32612412565b565b606061144a82611998565b611489576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148090613558565b60405180910390fd5b6000600e600084815260200190815260200160002080546114a99061303d565b80601f01602080910402602001604051908101604052809291908181526020018280546114d59061303d565b80156115225780601f106114f757610100808354040283529160200191611522565b820191906000526020600020905b81548152906001019060200180831161150557829003601f168201915b505050505090506000600d80546115389061303d565b80601f01602080910402602001604051908101604052809291908181526020018280546115649061303d565b80156115b15780601f10611586576101008083540402835291602001916115b1565b820191906000526020600020905b81548152906001019060200180831161159457829003601f168201915b505050505090506000815114156115cc578192505050611630565b6000825111156116015780826040516020016115e99291906135b4565b60405160208183030381529060405292505050611630565b8061160b8561242d565b60405160200161161c9291906135b4565b604051602081830303815290604052925050505b919050565b61163d611acd565b73ffffffffffffffffffffffffffffffffffffffff1661165b611036565b73ffffffffffffffffffffffffffffffffffffffff16146116b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a8906130bb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611721576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171890613624565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611807611acd565b73ffffffffffffffffffffffffffffffffffffffff16611825611036565b73ffffffffffffffffffffffffffffffffffffffff161461187b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611872906130bb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e2906136b6565b60405180910390fd5b6118f4816121dd565b50565b600a80546119049061303d565b80601f01602080910402602001604051908101604052809291908181526020018280546119309061303d565b801561197d5780601f106119525761010080835404028352916020019161197d565b820191906000526020600020905b81548152906001019060200180831161196057829003601f168201915b505050505081565b600c60009054906101000a900460ff1681565b6000816119a3611ad5565b111580156119b2575060005482105b80156119f0575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60008082905080611a06611ad5565b11611a8e57600054811015611a8d5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415611a8b575b6000811415611a81576004600083600190039350838152602001908152602001600020549050611a56565b8092505050611ac0565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600033905090565b60006001905090565b6000611ae9826119f7565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611b50576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006006600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008573ffffffffffffffffffffffffffffffffffffffff16611ba9611ac5565b73ffffffffffffffffffffffffffffffffffffffff161480611bd85750611bd786611bd2611ac5565b61176b565b5b80611c155750611be6611ac5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b905080611c4e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611c59866121d3565b1415611c91576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611c9e868686600161258e565b6000611ca9836121d3565b14611ce5576006600085815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b611dac876121d3565b1717600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415611e36576000600185019050600060046000838152602001908152602001600020541415611e34576000548114611e33578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611e9e8686866001612594565b505050505050565b6000611eb1836119f7565b9050600081905060006006600086815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508315611fbe5760008273ffffffffffffffffffffffffffffffffffffffff16611f17611ac5565b73ffffffffffffffffffffffffffffffffffffffff161480611f465750611f4583611f40611ac5565b61176b565b5b80611f835750611f54611ac5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b905080611fbc576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b611fcc82600087600161258e565b6000611fd7826121d3565b14612013576006600086815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b600160806001901b03600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055507c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000060a042901b6120b2856121d3565b171717600460008781526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561213d57600060018601905060006004600083815260200190815260200160002054141561213b57600054811461213a578360046000838152602001908152602001600020819055505b5b505b84600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46121a7826000876001612594565b6001600081548092919060010191905055505050505050565b60006121ca611ad5565b60005403905090565b6000819050919050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6122bd82826040518060200160405280600081525061259a565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026122e7611ac5565b8786866040518563ffffffff1660e01b8152600401612309949392919061372b565b6020604051808303816000875af192505050801561234557506040513d601f19601f82011682018060405250810190612342919061378c565b60015b6123bf573d8060008114612375576040519150601f19603f3d011682016040523d82523d6000602084013e61237a565b606091505b506000815114156123b7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600061241c6121c0565b90506124298260016122a3565b5050565b60606000821415612475576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612589565b600082905060005b600082146124a7578080612490906137b9565b915050600a826124a09190613831565b915061247d565b60008167ffffffffffffffff8111156124c3576124c2612b97565b5b6040519080825280601f01601f1916602001820160405280156124f55781602001600182028036833780820191505090505b5090505b600085146125825760018261250e9190613862565b9150600a8561251d9190613896565b603061252991906133b8565b60f81b81838151811061253f5761253e6138c7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561257b9190613831565b94506124f9565b8093505050505b919050565b50505050565b50505050565b60008054905060006125ab856121d3565b14156125e3576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600083141561261e576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61262b600085838661258e565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e16126906001851461282b565b901b60a042901b6126a0866121d3565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b146127a4575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461275460008784806001019550876122c1565b61278a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082106126e557826000541461279f57600080fd5b61280f565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106127a5575b8160008190555050506128256000858386612594565b50505050565b6000819050919050565b8280546128419061303d565b90600052602060002090601f01602090048101928261286357600085556128aa565b82601f1061287c57805160ff19168380011785556128aa565b828001600101855582156128aa579182015b828111156128a957825182559160200191906001019061288e565b5b5090506128b791906128bb565b5090565b5b808211156128d45760008160009055506001016128bc565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612921816128ec565b811461292c57600080fd5b50565b60008135905061293e81612918565b92915050565b60006020828403121561295a576129596128e2565b5b60006129688482850161292f565b91505092915050565b60008115159050919050565b61298681612971565b82525050565b60006020820190506129a1600083018461297d565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156129e15780820151818401526020810190506129c6565b838111156129f0576000848401525b50505050565b6000601f19601f8301169050919050565b6000612a12826129a7565b612a1c81856129b2565b9350612a2c8185602086016129c3565b612a35816129f6565b840191505092915050565b60006020820190508181036000830152612a5a8184612a07565b905092915050565b6000819050919050565b612a7581612a62565b8114612a8057600080fd5b50565b600081359050612a9281612a6c565b92915050565b600060208284031215612aae57612aad6128e2565b5b6000612abc84828501612a83565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612af082612ac5565b9050919050565b612b0081612ae5565b82525050565b6000602082019050612b1b6000830184612af7565b92915050565b612b2a81612ae5565b8114612b3557600080fd5b50565b600081359050612b4781612b21565b92915050565b60008060408385031215612b6457612b636128e2565b5b6000612b7285828601612b38565b9250506020612b8385828601612a83565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612bcf826129f6565b810181811067ffffffffffffffff82111715612bee57612bed612b97565b5b80604052505050565b6000612c016128d8565b9050612c0d8282612bc6565b919050565b600067ffffffffffffffff821115612c2d57612c2c612b97565b5b612c36826129f6565b9050602081019050919050565b82818337600083830152505050565b6000612c65612c6084612c12565b612bf7565b905082815260208101848484011115612c8157612c80612b92565b5b612c8c848285612c43565b509392505050565b600082601f830112612ca957612ca8612b8d565b5b8135612cb9848260208601612c52565b91505092915050565b60008060408385031215612cd957612cd86128e2565b5b6000612ce785828601612a83565b925050602083013567ffffffffffffffff811115612d0857612d076128e7565b5b612d1485828601612c94565b9150509250929050565b612d2781612a62565b82525050565b6000602082019050612d426000830184612d1e565b92915050565b600080600060608486031215612d6157612d606128e2565b5b6000612d6f86828701612b38565b9350506020612d8086828701612b38565b9250506040612d9186828701612a83565b9150509250925092565b600060208284031215612db157612db06128e2565b5b600082013567ffffffffffffffff811115612dcf57612dce6128e7565b5b612ddb84828501612c94565b91505092915050565b612ded81612971565b8114612df857600080fd5b50565b600081359050612e0a81612de4565b92915050565b600060208284031215612e2657612e256128e2565b5b6000612e3484828501612dfb565b91505092915050565b600060208284031215612e5357612e526128e2565b5b6000612e6184828501612b38565b91505092915050565b60008060408385031215612e8157612e806128e2565b5b6000612e8f85828601612b38565b9250506020612ea085828601612dfb565b9150509250929050565b600067ffffffffffffffff821115612ec557612ec4612b97565b5b612ece826129f6565b9050602081019050919050565b6000612eee612ee984612eaa565b612bf7565b905082815260208101848484011115612f0a57612f09612b92565b5b612f15848285612c43565b509392505050565b600082601f830112612f3257612f31612b8d565b5b8135612f42848260208601612edb565b91505092915050565b60008060008060808587031215612f6557612f646128e2565b5b6000612f7387828801612b38565b9450506020612f8487828801612b38565b9350506040612f9587828801612a83565b925050606085013567ffffffffffffffff811115612fb657612fb56128e7565b5b612fc287828801612f1d565b91505092959194509250565b60008060408385031215612fe557612fe46128e2565b5b6000612ff385828601612b38565b925050602061300485828601612b38565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061305557607f821691505b602082108114156130695761306861300e565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006130a56020836129b2565b91506130b08261306f565b602082019050919050565b600060208201905081810360008301526130d481613098565b9050919050565b7f4e65772055524c20496e76616c69640000000000000000000000000000000000600082015250565b6000613111600f836129b2565b915061311c826130db565b602082019050919050565b6000602082019050818103600083015261314081613104565b9050919050565b7f496e76616c696420546f6b656e00000000000000000000000000000000000000600082015250565b600061317d600d836129b2565b915061318882613147565b602082019050919050565b600060208201905081810360008301526131ac81613170565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f7263686560008201527f73747261746f7200000000000000000000000000000000000000000000000000602082015250565b600061320f6027836129b2565b915061321a826131b3565b604082019050919050565b6000602082019050818103600083015261323e81613202565b9050919050565b7f436f6e747261637420636c6f7365640000000000000000000000000000000000600082015250565b600061327b600f836129b2565b915061328682613245565b602082019050919050565b600060208201905081810360008301526132aa8161326e565b9050919050565b7f546f74616c20737570706c7920746f6f206c6f77000000000000000000000000600082015250565b60006132e76014836129b2565b91506132f2826132b1565b602082019050919050565b60006020820190508181036000830152613316816132da565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613353601f836129b2565b915061335e8261331d565b602082019050919050565b6000602082019050818103600083015261338281613346565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006133c382612a62565b91506133ce83612a62565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561340357613402613389565b5b828201905092915050565b7f496e76616c696420616d6f756e74000000000000000000000000000000000000600082015250565b6000613444600e836129b2565b915061344f8261340e565b602082019050919050565b6000602082019050818103600083015261347381613437565b9050919050565b7f537570706c79206c696d69740000000000000000000000000000000000000000600082015250565b60006134b0600c836129b2565b91506134bb8261347a565b602082019050919050565b600060208201905081810360008301526134df816134a3565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613542602f836129b2565b915061354d826134e6565b604082019050919050565b6000602082019050818103600083015261357181613535565b9050919050565b600081905092915050565b600061358e826129a7565b6135988185613578565b93506135a88185602086016129c3565b80840191505092915050565b60006135c08285613583565b91506135cc8284613583565b91508190509392505050565b7f3230303a5a45524f5f4144445245535300000000000000000000000000000000600082015250565b600061360e6010836129b2565b9150613619826135d8565b602082019050919050565b6000602082019050818103600083015261363d81613601565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006136a06026836129b2565b91506136ab82613644565b604082019050919050565b600060208201905081810360008301526136cf81613693565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006136fd826136d6565b61370781856136e1565b93506137178185602086016129c3565b613720816129f6565b840191505092915050565b60006080820190506137406000830187612af7565b61374d6020830186612af7565b61375a6040830185612d1e565b818103606083015261376c81846136f2565b905095945050505050565b60008151905061378681612918565b92915050565b6000602082840312156137a2576137a16128e2565b5b60006137b084828501613777565b91505092915050565b60006137c482612a62565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156137f7576137f6613389565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061383c82612a62565b915061384783612a62565b92508261385757613856613802565b5b828204905092915050565b600061386d82612a62565b915061387883612a62565b92508282101561388b5761388a613389565b5b828203905092915050565b60006138a182612a62565b91506138ac83612a62565b9250826138bc576138bb613802565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220eee0e84d46840cad5b92a4f335f17e949d086aad8b4df04d3c6fdda57b7275f264736f6c634300080c0033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000030d4000000000000000000000000000000000000000000000000000000000000000e42756c6c7320616e642041706573000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e424150205445454e2042554c4c5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084241505445454e42000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101da5760003560e01c8063715018a611610104578063c5577ff7116100a2578063e985e9c511610071578063e985e9c514610505578063f2fde38b14610535578063f60ca60d14610551578063fcfff16f1461056f576101da565b8063c5577ff714610491578063c87b56dd1461049b578063cd28ef0d146104cb578063d5abeb01146104e7576101da565b806395d89b41116100de57806395d89b411461041d578063a22cb4651461043b578063b74795d914610457578063b88d4fde14610475576101da565b8063715018a6146103d95780638ba4cc3c146103e35780638da5cb5b146103ff576101da565b8063299f53731161017c5780636c0360eb1161014b5780636c0360eb146103535780636f8b44b0146103715780636fdca5e01461038d57806370a08231146103a9576101da565b8063299f5373146102cf57806342842e0e146102eb57806355f804b3146103075780636352211e14610323576101da565b8063095ea7b3116101b8578063095ea7b31461025d578063162094c41461027957806318160ddd1461029557806323b872dd146102b3576101da565b806301ffc9a7146101df57806306fdde031461020f578063081812fc1461022d575b600080fd5b6101f960048036038101906101f49190612944565b61058d565b604051610206919061298c565b60405180910390f35b61021761061f565b6040516102249190612a40565b60405180910390f35b61024760048036038101906102429190612a98565b6106b1565b6040516102549190612b06565b60405180910390f35b61027760048036038101906102729190612b4d565b61072d565b005b610293600480360381019061028e9190612cc2565b6108d4565b005b61029d610a08565b6040516102aa9190612d2d565b60405180910390f35b6102cd60048036038101906102c89190612d48565b610a1f565b005b6102e960048036038101906102e49190612a98565b610a2f565b005b61030560048036038101906103009190612d48565b610b23565b005b610321600480360381019061031c9190612d9b565b610b43565b005b61033d60048036038101906103389190612a98565b610bd9565b60405161034a9190612b06565b60405180910390f35b61035b610beb565b6040516103689190612a40565b60405180910390f35b61038b60048036038101906103869190612a98565b610c79565b005b6103a760048036038101906103a29190612e10565b610d49565b005b6103c360048036038101906103be9190612e3d565b610de2565b6040516103d09190612d2d565b60405180910390f35b6103e1610e77565b005b6103fd60048036038101906103f89190612b4d565b610eff565b005b610407611036565b6040516104149190612b06565b60405180910390f35b610425611060565b6040516104329190612a40565b60405180910390f35b61045560048036038101906104509190612e6a565b6110f2565b005b61045f61126a565b60405161046c9190612b06565b60405180910390f35b61048f600480360381019061048a9190612f4b565b611290565b005b610499611303565b005b6104b560048036038101906104b09190612a98565b61143f565b6040516104c29190612a40565b60405180910390f35b6104e560048036038101906104e09190612e3d565b611635565b005b6104ef611765565b6040516104fc9190612d2d565b60405180910390f35b61051f600480360381019061051a9190612fce565b61176b565b60405161052c919061298c565b60405180910390f35b61054f600480360381019061054a9190612e3d565b6117ff565b005b6105596118f7565b6040516105669190612a40565b60405180910390f35b610577611985565b604051610584919061298c565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105e857506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106185750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461062e9061303d565b80601f016020809104026020016040519081016040528092919081815260200182805461065a9061303d565b80156106a75780601f1061067c576101008083540402835291602001916106a7565b820191906000526020600020905b81548152906001019060200180831161068a57829003601f168201915b5050505050905090565b60006106bc82611998565b6106f2576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610738826119f7565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107a0576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107bf611ac5565b73ffffffffffffffffffffffffffffffffffffffff1614610822576107eb816107e6611ac5565b61176b565b610821576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6108dc611acd565b73ffffffffffffffffffffffffffffffffffffffff166108fa611036565b73ffffffffffffffffffffffffffffffffffffffff1614610950576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610947906130bb565b60405180910390fd5b6000815111610994576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098b90613127565b60405180910390fd5b61099d82611998565b6109dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d390613193565b60405180910390fd5b80600e60008481526020019081526020016000209080519060200190610a03929190612835565b505050565b6000610a12611ad5565b6001546000540303905090565b610a2a838383611ade565b505050565b610a37611acd565b73ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610ac6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abd90613225565b60405180910390fd5b600c60009054906101000a900460ff16610b15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0c90613291565b60405180910390fd5b610b20816001611ea6565b50565b610b3e83838360405180602001604052806000815250611290565b505050565b610b4b611acd565b73ffffffffffffffffffffffffffffffffffffffff16610b69611036565b73ffffffffffffffffffffffffffffffffffffffff1614610bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb6906130bb565b60405180910390fd5b80600d9080519060200190610bd5929190612835565b5050565b6000610be4826119f7565b9050919050565b600d8054610bf89061303d565b80601f0160208091040260200160405190810160405280929190818152602001828054610c249061303d565b8015610c715780601f10610c4657610100808354040283529160200191610c71565b820191906000526020600020905b815481529060010190602001808311610c5457829003601f168201915b505050505081565b610c81611acd565b73ffffffffffffffffffffffffffffffffffffffff16610c9f611036565b73ffffffffffffffffffffffffffffffffffffffff1614610cf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cec906130bb565b60405180910390fd5b610cfd6121c0565b811015610d3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d36906132fd565b60405180910390fd5b80600b8190555050565b610d51611acd565b73ffffffffffffffffffffffffffffffffffffffff16610d6f611036565b73ffffffffffffffffffffffffffffffffffffffff1614610dc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbc906130bb565b60405180910390fd5b80600c60006101000a81548160ff02191690831515021790555050565b600080610dee836121d3565b1415610e26576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b610e7f611acd565b73ffffffffffffffffffffffffffffffffffffffff16610e9d611036565b73ffffffffffffffffffffffffffffffffffffffff1614610ef3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eea906130bb565b60405180910390fd5b610efd60006121dd565b565b60026008541415610f45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3c90613369565b60405180910390fd5b6002600881905550610f55611acd565b73ffffffffffffffffffffffffffffffffffffffff16610f73611036565b73ffffffffffffffffffffffffffffffffffffffff1614610fc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc0906130bb565b60405180910390fd5b600b5481610fd56121c0565b610fdf91906133b8565b1115611020576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110179061345a565b60405180910390fd5b61102a82826122a3565b60016008819055505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461106f9061303d565b80601f016020809104026020016040519081016040528092919081815260200182805461109b9061303d565b80156110e85780601f106110bd576101008083540402835291602001916110e8565b820191906000526020600020905b8154815290600101906020018083116110cb57829003601f168201915b5050505050905090565b6110fa611ac5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561115f576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806007600061116c611ac5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611219611ac5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161125e919061298c565b60405180910390a35050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61129b848484611ade565b60008373ffffffffffffffffffffffffffffffffffffffff163b146112fd576112c6848484846122c1565b6112fc576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b61130b611acd565b73ffffffffffffffffffffffffffffffffffffffff16600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461139a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139190613225565b60405180910390fd5b600c60009054906101000a900460ff166113e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e090613291565b60405180910390fd5b600b546113f46121c0565b10611434576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142b906134c6565b60405180910390fd5b61143d32612412565b565b606061144a82611998565b611489576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148090613558565b60405180910390fd5b6000600e600084815260200190815260200160002080546114a99061303d565b80601f01602080910402602001604051908101604052809291908181526020018280546114d59061303d565b80156115225780601f106114f757610100808354040283529160200191611522565b820191906000526020600020905b81548152906001019060200180831161150557829003601f168201915b505050505090506000600d80546115389061303d565b80601f01602080910402602001604051908101604052809291908181526020018280546115649061303d565b80156115b15780601f10611586576101008083540402835291602001916115b1565b820191906000526020600020905b81548152906001019060200180831161159457829003601f168201915b505050505090506000815114156115cc578192505050611630565b6000825111156116015780826040516020016115e99291906135b4565b60405160208183030381529060405292505050611630565b8061160b8561242d565b60405160200161161c9291906135b4565b604051602081830303815290604052925050505b919050565b61163d611acd565b73ffffffffffffffffffffffffffffffffffffffff1661165b611036565b73ffffffffffffffffffffffffffffffffffffffff16146116b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a8906130bb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611721576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171890613624565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611807611acd565b73ffffffffffffffffffffffffffffffffffffffff16611825611036565b73ffffffffffffffffffffffffffffffffffffffff161461187b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611872906130bb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e2906136b6565b60405180910390fd5b6118f4816121dd565b50565b600a80546119049061303d565b80601f01602080910402602001604051908101604052809291908181526020018280546119309061303d565b801561197d5780601f106119525761010080835404028352916020019161197d565b820191906000526020600020905b81548152906001019060200180831161196057829003601f168201915b505050505081565b600c60009054906101000a900460ff1681565b6000816119a3611ad5565b111580156119b2575060005482105b80156119f0575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60008082905080611a06611ad5565b11611a8e57600054811015611a8d5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415611a8b575b6000811415611a81576004600083600190039350838152602001908152602001600020549050611a56565b8092505050611ac0565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600033905090565b60006001905090565b6000611ae9826119f7565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611b50576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006006600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008573ffffffffffffffffffffffffffffffffffffffff16611ba9611ac5565b73ffffffffffffffffffffffffffffffffffffffff161480611bd85750611bd786611bd2611ac5565b61176b565b5b80611c155750611be6611ac5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b905080611c4e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611c59866121d3565b1415611c91576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611c9e868686600161258e565b6000611ca9836121d3565b14611ce5576006600085815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b611dac876121d3565b1717600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415611e36576000600185019050600060046000838152602001908152602001600020541415611e34576000548114611e33578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611e9e8686866001612594565b505050505050565b6000611eb1836119f7565b9050600081905060006006600086815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508315611fbe5760008273ffffffffffffffffffffffffffffffffffffffff16611f17611ac5565b73ffffffffffffffffffffffffffffffffffffffff161480611f465750611f4583611f40611ac5565b61176b565b5b80611f835750611f54611ac5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b905080611fbc576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b611fcc82600087600161258e565b6000611fd7826121d3565b14612013576006600086815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b600160806001901b03600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055507c02000000000000000000000000000000000000000000000000000000007c010000000000000000000000000000000000000000000000000000000060a042901b6120b2856121d3565b171717600460008781526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561213d57600060018601905060006004600083815260200190815260200160002054141561213b57600054811461213a578360046000838152602001908152602001600020819055505b5b505b84600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46121a7826000876001612594565b6001600081548092919060010191905055505050505050565b60006121ca611ad5565b60005403905090565b6000819050919050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6122bd82826040518060200160405280600081525061259a565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026122e7611ac5565b8786866040518563ffffffff1660e01b8152600401612309949392919061372b565b6020604051808303816000875af192505050801561234557506040513d601f19601f82011682018060405250810190612342919061378c565b60015b6123bf573d8060008114612375576040519150601f19603f3d011682016040523d82523d6000602084013e61237a565b606091505b506000815114156123b7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600061241c6121c0565b90506124298260016122a3565b5050565b60606000821415612475576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612589565b600082905060005b600082146124a7578080612490906137b9565b915050600a826124a09190613831565b915061247d565b60008167ffffffffffffffff8111156124c3576124c2612b97565b5b6040519080825280601f01601f1916602001820160405280156124f55781602001600182028036833780820191505090505b5090505b600085146125825760018261250e9190613862565b9150600a8561251d9190613896565b603061252991906133b8565b60f81b81838151811061253f5761253e6138c7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561257b9190613831565b94506124f9565b8093505050505b919050565b50505050565b50505050565b60008054905060006125ab856121d3565b14156125e3576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600083141561261e576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61262b600085838661258e565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e16126906001851461282b565b901b60a042901b6126a0866121d3565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b146127a4575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461275460008784806001019550876122c1565b61278a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082106126e557826000541461279f57600080fd5b61280f565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106127a5575b8160008190555050506128256000858386612594565b50505050565b6000819050919050565b8280546128419061303d565b90600052602060002090601f01602090048101928261286357600085556128aa565b82601f1061287c57805160ff19168380011785556128aa565b828001600101855582156128aa579182015b828111156128a957825182559160200191906001019061288e565b5b5090506128b791906128bb565b5090565b5b808211156128d45760008160009055506001016128bc565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612921816128ec565b811461292c57600080fd5b50565b60008135905061293e81612918565b92915050565b60006020828403121561295a576129596128e2565b5b60006129688482850161292f565b91505092915050565b60008115159050919050565b61298681612971565b82525050565b60006020820190506129a1600083018461297d565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156129e15780820151818401526020810190506129c6565b838111156129f0576000848401525b50505050565b6000601f19601f8301169050919050565b6000612a12826129a7565b612a1c81856129b2565b9350612a2c8185602086016129c3565b612a35816129f6565b840191505092915050565b60006020820190508181036000830152612a5a8184612a07565b905092915050565b6000819050919050565b612a7581612a62565b8114612a8057600080fd5b50565b600081359050612a9281612a6c565b92915050565b600060208284031215612aae57612aad6128e2565b5b6000612abc84828501612a83565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612af082612ac5565b9050919050565b612b0081612ae5565b82525050565b6000602082019050612b1b6000830184612af7565b92915050565b612b2a81612ae5565b8114612b3557600080fd5b50565b600081359050612b4781612b21565b92915050565b60008060408385031215612b6457612b636128e2565b5b6000612b7285828601612b38565b9250506020612b8385828601612a83565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612bcf826129f6565b810181811067ffffffffffffffff82111715612bee57612bed612b97565b5b80604052505050565b6000612c016128d8565b9050612c0d8282612bc6565b919050565b600067ffffffffffffffff821115612c2d57612c2c612b97565b5b612c36826129f6565b9050602081019050919050565b82818337600083830152505050565b6000612c65612c6084612c12565b612bf7565b905082815260208101848484011115612c8157612c80612b92565b5b612c8c848285612c43565b509392505050565b600082601f830112612ca957612ca8612b8d565b5b8135612cb9848260208601612c52565b91505092915050565b60008060408385031215612cd957612cd86128e2565b5b6000612ce785828601612a83565b925050602083013567ffffffffffffffff811115612d0857612d076128e7565b5b612d1485828601612c94565b9150509250929050565b612d2781612a62565b82525050565b6000602082019050612d426000830184612d1e565b92915050565b600080600060608486031215612d6157612d606128e2565b5b6000612d6f86828701612b38565b9350506020612d8086828701612b38565b9250506040612d9186828701612a83565b9150509250925092565b600060208284031215612db157612db06128e2565b5b600082013567ffffffffffffffff811115612dcf57612dce6128e7565b5b612ddb84828501612c94565b91505092915050565b612ded81612971565b8114612df857600080fd5b50565b600081359050612e0a81612de4565b92915050565b600060208284031215612e2657612e256128e2565b5b6000612e3484828501612dfb565b91505092915050565b600060208284031215612e5357612e526128e2565b5b6000612e6184828501612b38565b91505092915050565b60008060408385031215612e8157612e806128e2565b5b6000612e8f85828601612b38565b9250506020612ea085828601612dfb565b9150509250929050565b600067ffffffffffffffff821115612ec557612ec4612b97565b5b612ece826129f6565b9050602081019050919050565b6000612eee612ee984612eaa565b612bf7565b905082815260208101848484011115612f0a57612f09612b92565b5b612f15848285612c43565b509392505050565b600082601f830112612f3257612f31612b8d565b5b8135612f42848260208601612edb565b91505092915050565b60008060008060808587031215612f6557612f646128e2565b5b6000612f7387828801612b38565b9450506020612f8487828801612b38565b9350506040612f9587828801612a83565b925050606085013567ffffffffffffffff811115612fb657612fb56128e7565b5b612fc287828801612f1d565b91505092959194509250565b60008060408385031215612fe557612fe46128e2565b5b6000612ff385828601612b38565b925050602061300485828601612b38565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061305557607f821691505b602082108114156130695761306861300e565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006130a56020836129b2565b91506130b08261306f565b602082019050919050565b600060208201905081810360008301526130d481613098565b9050919050565b7f4e65772055524c20496e76616c69640000000000000000000000000000000000600082015250565b6000613111600f836129b2565b915061311c826130db565b602082019050919050565b6000602082019050818103600083015261314081613104565b9050919050565b7f496e76616c696420546f6b656e00000000000000000000000000000000000000600082015250565b600061317d600d836129b2565b915061318882613147565b602082019050919050565b600060208201905081810360008301526131ac81613170565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f7263686560008201527f73747261746f7200000000000000000000000000000000000000000000000000602082015250565b600061320f6027836129b2565b915061321a826131b3565b604082019050919050565b6000602082019050818103600083015261323e81613202565b9050919050565b7f436f6e747261637420636c6f7365640000000000000000000000000000000000600082015250565b600061327b600f836129b2565b915061328682613245565b602082019050919050565b600060208201905081810360008301526132aa8161326e565b9050919050565b7f546f74616c20737570706c7920746f6f206c6f77000000000000000000000000600082015250565b60006132e76014836129b2565b91506132f2826132b1565b602082019050919050565b60006020820190508181036000830152613316816132da565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613353601f836129b2565b915061335e8261331d565b602082019050919050565b6000602082019050818103600083015261338281613346565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006133c382612a62565b91506133ce83612a62565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561340357613402613389565b5b828201905092915050565b7f496e76616c696420616d6f756e74000000000000000000000000000000000000600082015250565b6000613444600e836129b2565b915061344f8261340e565b602082019050919050565b6000602082019050818103600083015261347381613437565b9050919050565b7f537570706c79206c696d69740000000000000000000000000000000000000000600082015250565b60006134b0600c836129b2565b91506134bb8261347a565b602082019050919050565b600060208201905081810360008301526134df816134a3565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613542602f836129b2565b915061354d826134e6565b604082019050919050565b6000602082019050818103600083015261357181613535565b9050919050565b600081905092915050565b600061358e826129a7565b6135988185613578565b93506135a88185602086016129c3565b80840191505092915050565b60006135c08285613583565b91506135cc8284613583565b91508190509392505050565b7f3230303a5a45524f5f4144445245535300000000000000000000000000000000600082015250565b600061360e6010836129b2565b9150613619826135d8565b602082019050919050565b6000602082019050818103600083015261363d81613601565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006136a06026836129b2565b91506136ab82613644565b604082019050919050565b600060208201905081810360008301526136cf81613693565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006136fd826136d6565b61370781856136e1565b93506137178185602086016129c3565b613720816129f6565b840191505092915050565b60006080820190506137406000830187612af7565b61374d6020830186612af7565b61375a6040830185612d1e565b818103606083015261376c81846136f2565b905095945050505050565b60008151905061378681612918565b92915050565b6000602082840312156137a2576137a16128e2565b5b60006137b084828501613777565b91505092915050565b60006137c482612a62565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156137f7576137f6613389565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061383c82612a62565b915061384783612a62565b92508261385757613856613802565b5b828204905092915050565b600061386d82612a62565b915061387883612a62565b92508282101561388b5761388a613389565b5b828203905092915050565b60006138a182612a62565b91506138ac83612a62565b9250826138bc576138bb613802565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea2646970667358221220eee0e84d46840cad5b92a4f335f17e949d086aad8b4df04d3c6fdda57b7275f264736f6c634300080c0033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000030d4000000000000000000000000000000000000000000000000000000000000000e42756c6c7320616e642041706573000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e424150205445454e2042554c4c5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084241505445454e42000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _project (string): Bulls and Apes
Arg [1] : _name (string): BAP TEEN BULLS
Arg [2] : _symbol (string): BAPTEENB
Arg [3] : _maxSupply (uint256): 12500

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 00000000000000000000000000000000000000000000000000000000000030d4
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [5] : 42756c6c7320616e642041706573000000000000000000000000000000000000
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [7] : 424150205445454e2042554c4c53000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [9] : 4241505445454e42000000000000000000000000000000000000000000000000


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.