ETH Price: $2,531.69 (-4.04%)
Gas: 9.52 Gwei

Token

AIMoonbirds (MBAI)
 

Overview

Max Total Supply

10,000 MBAI

Holders

3,404

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 MBAI
0xba4b1dca8e2466da3d82543bf87c29e507636487
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The stunning 10,000 AI versions of the famous Moonbirds collection. Tech is the future, and NFT is the future of art!

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
AIMoonbirds

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : AIMoonbirds.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import "./ERC721Optimized.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract AIMoonbirds is ERC721Optimized, Ownable, ReentrancyGuard {
    using Strings for uint256;

    uint256 public constant MAX_MBAI = 10000;
    uint256 public maxMBAIPurchase = 10;
    uint256 public MBAIPrice = 100 ether;
    string public _baseMBAIURI;
    
    event MBAIMinted(address indexed mintAddress, uint256 indexed tokenId);
    event PermanentURI(string _value, uint256 indexed _id);

    constructor(string memory baseURI) ERC721Optimized("AIMoonbirds", "MBAI") {
        _baseMBAIURI = baseURI;
    }

    function giveAway(address to, uint256 numberOfTokens) public onlyOwner {
        for (uint256 i = 0; i < numberOfTokens; i++) {
            createCollectible(to);
        }
    }

    function withdraw() public onlyOwner {
        require(address(this).balance > 0, "Insufficient balance");
        Address.sendValue(payable(msg.sender), address(this).balance);
    }

    function withdrawTo(uint256 amount, address payable to) public onlyOwner {
        require(address(this).balance > 0, "Insufficient balance");
        Address.sendValue(to, amount);
    }

    function setBaseURI(string memory newuri) public onlyOwner {
        _baseMBAIURI = newuri;
    }

    function setMintPrice(uint256 newPrice) public onlyOwner {
        require(newPrice >= 0, "MBAI price must be greater than zero");
        MBAIPrice = newPrice;
    }

    function mintMBAI(uint256 numberOfTokens) public payable nonReentrant {
        require((MBAIPrice * numberOfTokens) <= msg.value, "Ether value sent is not correct");
        require(numberOfTokens <= maxMBAIPurchase, "You can mint max 10 MBAIs per transaction");
        require((totalSupply() + numberOfTokens) <= MAX_MBAI, "Purchase would exceed max supply of MBAIs");
        
        for (uint256 i = 0; i < numberOfTokens; i++) {
            createCollectible(_msgSender());
        }
    }

    function createCollectible(address mintAddress) private {
        uint256 mintIndex = totalSupply();
        if (mintIndex < MAX_MBAI) {
            _safeMint(mintAddress, mintIndex);
            emit MBAIMinted(mintAddress, mintIndex);
        }
    }

    function freezeMetadata(uint256 tokenId, string memory ipfsHash) public {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        require(_msgSender() == ERC721Optimized.ownerOf(tokenId), "Caller is not a token owner");
	    emit PermanentURI(ipfsHash, tokenId);
	}

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

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: Nonexistent token");
        string memory currentBaseURI = _baseURI();
        return bytes(currentBaseURI).length > 0	? string(abi.encodePacked(currentBaseURI, tokenId.toString())) : "";
	}
}

File 2 of 12 : ERC721Optimized.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.13;
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

abstract contract ERC721Optimized is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    string private _name;
    string private _symbol;
    address[] internal _owners;
    mapping(uint256 => address) private _tokenApprovals;
    mapping(address => mapping(address => bool)) private _operatorApprovals;     
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }     

    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }
    
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        uint count = 0;
        uint length = _owners.length;
        for( uint i = 0; i < length; ++i ){
          if( owner == _owners[i] ){
            ++count;
          }
        }
        delete length;
        return count;
    }

    function getOwners() public view virtual returns (address[] memory) {
        return _owners;
    }

    function totalSupply() public view virtual returns (uint256) {
        return _owners.length;
    }

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

    function name() public view virtual override returns (string memory) {
        return _name;
    }

    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721Optimized.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

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

    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

	function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return tokenId < _owners.length && _owners[tokenId] != address(0);
    }

	function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721Optimized.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

	function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }
	function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

	function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);
        _owners.push(to);

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

	function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721Optimized.ownerOf(tokenId);

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

        // Clear approvals
        _approve(address(0), tokenId);
        _owners[tokenId] = address(0);

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

	function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721Optimized.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

	function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721Optimized.ownerOf(tokenId), to, tokenId);
    }

	function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }
    
	function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 3 of 12 : 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 12 : 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 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 6 of 12 : 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 7 of 12 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 12 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 9 of 12 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 10 of 12 : 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;
    }
}

File 11 of 12 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 12 of 12 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"mintAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"MBAIMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_value","type":"string"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"PermanentURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MBAI","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MBAIPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseMBAIURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"ipfsHash","type":"string"}],"name":"freezeMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwners","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"giveAway","outputs":[],"stateMutability":"nonpayable","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":"maxMBAIPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintMBAI","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"newuri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setMintPrice","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"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address payable","name":"to","type":"address"}],"name":"withdrawTo","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600a60075568056bc75e2d631000006008553480156200002357600080fd5b5060405162002419380380620024198339810160408190526200004691620001fc565b604080518082018252600b81526a41494d6f6f6e626972647360a81b6020808301918252835180850190945260048452634d42414960e01b908401528151919291620000959160009162000140565b508051620000ab90600190602084019062000140565b505050620000c8620000c2620000ea60201b60201c565b620000ee565b60016006558051620000e290600990602084019062000140565b505062000314565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014e90620002d8565b90600052602060002090601f016020900481019282620001725760008555620001bd565b82601f106200018d57805160ff1916838001178555620001bd565b82800160010185558215620001bd579182015b82811115620001bd578251825591602001919060010190620001a0565b50620001cb929150620001cf565b5090565b5b80821115620001cb5760008155600101620001d0565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200021057600080fd5b82516001600160401b03808211156200022857600080fd5b818501915085601f8301126200023d57600080fd5b815181811115620002525762000252620001e6565b604051601f8201601f19908116603f011681019083821181831017156200027d576200027d620001e6565b8160405282815288868487010111156200029657600080fd5b600093505b82841015620002ba57848401860151818501870152928501926200029b565b82841115620002cc5760008684830101525b98975050505050505050565b600181811c90821680620002ed57607f821691505b6020821081036200030e57634e487b7160e01b600052602260045260246000fd5b50919050565b6120f580620003246000396000f3fe6080604052600436106101c25760003560e01c80638ddb54b1116100f7578063ca403e4d11610095578063ec71720711610064578063ec717207146104fe578063f2fde38b14610514578063f4a0a52814610534578063fcc0d7111461055457600080fd5b8063ca403e4d1461045f578063ca8001441461047f578063cf5547611461049f578063e985e9c5146104b557600080fd5b8063a22cb465116100d1578063a22cb465146103df578063b88d4fde146103ff578063c86283c81461041f578063c87b56dd1461043f57600080fd5b80638ddb54b11461039557806395d89b41146103a8578063a0e67e2b146103bd57600080fd5b80633d7679ce116101645780636352211e1161013e5780636352211e1461032257806370a0823114610342578063715018a6146103625780638da5cb5b1461037757600080fd5b80633d7679ce146102cc57806342842e0e146102e257806355f804b31461030257600080fd5b8063095ea7b3116101a0578063095ea7b31461025657806318160ddd1461027857806323b872dd146102975780633ccfd60b146102b757600080fd5b806301ffc9a7146101c757806306fdde03146101fc578063081812fc1461021e575b600080fd5b3480156101d357600080fd5b506101e76101e2366004611a41565b610569565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b506102116105bb565b6040516101f39190611ab6565b34801561022a57600080fd5b5061023e610239366004611ac9565b61064d565b6040516001600160a01b0390911681526020016101f3565b34801561026257600080fd5b50610276610271366004611af7565b6106da565b005b34801561028457600080fd5b506002545b6040519081526020016101f3565b3480156102a357600080fd5b506102766102b2366004611b23565b6107ef565b3480156102c357600080fd5b50610276610820565b3480156102d857600080fd5b5061028960075481565b3480156102ee57600080fd5b506102766102fd366004611b23565b61089d565b34801561030e57600080fd5b5061027661031d366004611c10565b6108b8565b34801561032e57600080fd5b5061023e61033d366004611ac9565b6108f9565b34801561034e57600080fd5b5061028961035d366004611c45565b610985565b34801561036e57600080fd5b50610276610a57565b34801561038357600080fd5b506005546001600160a01b031661023e565b6102766103a3366004611ac9565b610a8b565b3480156103b457600080fd5b50610211610c4a565b3480156103c957600080fd5b506103d2610c59565b6040516101f39190611c62565b3480156103eb57600080fd5b506102766103fa366004611caf565b610cba565b34801561040b57600080fd5b5061027661041a366004611ced565b610d7e565b34801561042b57600080fd5b5061027661043a366004611d6d565b610db6565b34801561044b57600080fd5b5061021161045a366004611ac9565b610e31565b34801561046b57600080fd5b5061027661047a366004611d92565b610eee565b34801561048b57600080fd5b5061027661049a366004611af7565b610fb8565b3480156104ab57600080fd5b5061028960085481565b3480156104c157600080fd5b506101e76104d0366004611dd9565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b34801561050a57600080fd5b5061028961271081565b34801561052057600080fd5b5061027661052f366004611c45565b611008565b34801561054057600080fd5b5061027661054f366004611ac9565b6110a3565b34801561056057600080fd5b506102116110d2565b60006001600160e01b031982166380ac58cd60e01b148061059a57506001600160e01b03198216635b5e139f60e01b145b806105b557506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546105ca90611e07565b80601f01602080910402602001604051908101604052809291908181526020018280546105f690611e07565b80156106435780601f1061061857610100808354040283529160200191610643565b820191906000526020600020905b81548152906001019060200180831161062657829003601f168201915b5050505050905090565b600061065882611160565b6106be5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b60006106e5826108f9565b9050806001600160a01b0316836001600160a01b0316036107525760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106b5565b336001600160a01b038216148061076e575061076e81336104d0565b6107e05760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106b5565b6107ea83836111aa565b505050565b6107f93382611218565b6108155760405162461bcd60e51b81526004016106b590611e41565b6107ea8383836112bd565b6005546001600160a01b0316331461084a5760405162461bcd60e51b81526004016106b590611e92565b600047116108915760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b60448201526064016106b5565b61089b3347611413565b565b6107ea83838360405180602001604052806000815250610d7e565b6005546001600160a01b031633146108e25760405162461bcd60e51b81526004016106b590611e92565b80516108f5906009906020840190611992565b5050565b6000806002838154811061090f5761090f611ec7565b6000918252602090912001546001600160a01b03169050806105b55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106b5565b60006001600160a01b0382166109f05760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106b5565b600254600090815b81811015610a4e5760028181548110610a1357610a13611ec7565b6000918252602090912001546001600160a01b0390811690861603610a3e57610a3b83611ef3565b92505b610a4781611ef3565b90506109f8565b50909392505050565b6005546001600160a01b03163314610a815760405162461bcd60e51b81526004016106b590611e92565b61089b600061152c565b600260065403610add5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106b5565b60026006556008543490610af2908390611f0c565b1115610b405760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f72726563740060448201526064016106b5565b600754811115610ba45760405162461bcd60e51b815260206004820152602960248201527f596f752063616e206d696e74206d6178203130204d424149732070657220747260448201526830b739b0b1ba34b7b760b91b60648201526084016106b5565b61271081610bb160025490565b610bbb9190611f2b565b1115610c1b5760405162461bcd60e51b815260206004820152602960248201527f507572636861736520776f756c6420657863656564206d617820737570706c79604482015268206f66204d4241497360b81b60648201526084016106b5565b60005b81811015610c4157610c2f3361157e565b80610c3981611ef3565b915050610c1e565b50506001600655565b6060600180546105ca90611e07565b6060600280548060200260200160405190810160405280929190818152602001828054801561064357602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610c93575050505050905090565b336001600160a01b03831603610d125760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106b5565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d883383611218565b610da45760405162461bcd60e51b81526004016106b590611e41565b610db0848484846115d9565b50505050565b6005546001600160a01b03163314610de05760405162461bcd60e51b81526004016106b590611e92565b60004711610e275760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b60448201526064016106b5565b6108f58183611413565b6060610e3c82611160565b610e925760405162461bcd60e51b815260206004820152602160248201527f4552433732314d657461646174613a204e6f6e6578697374656e7420746f6b656044820152603760f91b60648201526084016106b5565b6000610e9c61160c565b90506000815111610ebc5760405180602001604052806000815250610ee7565b80610ec68461161b565b604051602001610ed7929190611f43565b6040516020818303038152906040525b9392505050565b610ef782611160565b610f135760405162461bcd60e51b81526004016106b590611f72565b610f1c826108f9565b6001600160a01b0316336001600160a01b031614610f7c5760405162461bcd60e51b815260206004820152601b60248201527f43616c6c6572206973206e6f74206120746f6b656e206f776e6572000000000060448201526064016106b5565b817fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b5565720782604051610fac9190611ab6565b60405180910390a25050565b6005546001600160a01b03163314610fe25760405162461bcd60e51b81526004016106b590611e92565b60005b818110156107ea57610ff68361157e565b8061100081611ef3565b915050610fe5565b6005546001600160a01b031633146110325760405162461bcd60e51b81526004016106b590611e92565b6001600160a01b0381166110975760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106b5565b6110a08161152c565b50565b6005546001600160a01b031633146110cd5760405162461bcd60e51b81526004016106b590611e92565b600855565b600980546110df90611e07565b80601f016020809104026020016040519081016040528092919081815260200182805461110b90611e07565b80156111585780601f1061112d57610100808354040283529160200191611158565b820191906000526020600020905b81548152906001019060200180831161113b57829003601f168201915b505050505081565b600254600090821080156105b5575060006001600160a01b03166002838154811061118d5761118d611ec7565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b03841690811790915581906111df826108f9565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061122382611160565b61123f5760405162461bcd60e51b81526004016106b590611f72565b600061124a836108f9565b9050806001600160a01b0316846001600160a01b031614806112855750836001600160a01b031661127a8461064d565b6001600160a01b0316145b806112b557506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166112d0826108f9565b6001600160a01b0316146113385760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106b5565b6001600160a01b03821661139a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106b5565b6113a56000826111aa565b81600282815481106113b9576113b9611ec7565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b804710156114635760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016106b5565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146114b0576040519150601f19603f3d011682016040523d82523d6000602084013e6114b5565b606091505b50509050806107ea5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016106b5565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061158960025490565b90506127108110156108f55761159f828261171c565b60405181906001600160a01b038416907f14fb1634a8c14dd23f33e7ce9b81973c4282c9458933e9319bfd1776b78d68af90600090a35050565b6115e48484846112bd565b6115f084848484611736565b610db05760405162461bcd60e51b81526004016106b590611fbe565b6060600980546105ca90611e07565b6060816000036116425750506040805180820190915260018152600360fc1b602082015290565b8160005b811561166c578061165681611ef3565b91506116659050600a83612026565b9150611646565b60008167ffffffffffffffff81111561168757611687611b64565b6040519080825280601f01601f1916602001820160405280156116b1576020820181803683370190505b5090505b84156112b5576116c660018361203a565b91506116d3600a86612051565b6116de906030611f2b565b60f81b8183815181106116f3576116f3611ec7565b60200101906001600160f81b031916908160001a905350611715600a86612026565b94506116b5565b6108f5828260405180602001604052806000815250611837565b60006001600160a01b0384163b1561182c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061177a903390899088908890600401612065565b6020604051808303816000875af19250505080156117b5575060408051601f3d908101601f191682019092526117b2918101906120a2565b60015b611812573d8080156117e3576040519150601f19603f3d011682016040523d82523d6000602084013e6117e8565b606091505b50805160000361180a5760405162461bcd60e51b81526004016106b590611fbe565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506112b5565b506001949350505050565b611841838361186a565b61184e6000848484611736565b6107ea5760405162461bcd60e51b81526004016106b590611fbe565b6001600160a01b0382166118c05760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106b5565b6118c981611160565b156119165760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106b5565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461199e90611e07565b90600052602060002090601f0160209004810192826119c05760008555611a06565b82601f106119d957805160ff1916838001178555611a06565b82800160010185558215611a06579182015b82811115611a065782518255916020019190600101906119eb565b50611a12929150611a16565b5090565b5b80821115611a125760008155600101611a17565b6001600160e01b0319811681146110a057600080fd5b600060208284031215611a5357600080fd5b8135610ee781611a2b565b60005b83811015611a79578181015183820152602001611a61565b83811115610db05750506000910152565b60008151808452611aa2816020860160208601611a5e565b601f01601f19169290920160200192915050565b602081526000610ee76020830184611a8a565b600060208284031215611adb57600080fd5b5035919050565b6001600160a01b03811681146110a057600080fd5b60008060408385031215611b0a57600080fd5b8235611b1581611ae2565b946020939093013593505050565b600080600060608486031215611b3857600080fd5b8335611b4381611ae2565b92506020840135611b5381611ae2565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611b9557611b95611b64565b604051601f8501601f19908116603f01168101908282118183101715611bbd57611bbd611b64565b81604052809350858152868686011115611bd657600080fd5b858560208301376000602087830101525050509392505050565b600082601f830112611c0157600080fd5b610ee783833560208501611b7a565b600060208284031215611c2257600080fd5b813567ffffffffffffffff811115611c3957600080fd5b6112b584828501611bf0565b600060208284031215611c5757600080fd5b8135610ee781611ae2565b6020808252825182820181905260009190848201906040850190845b81811015611ca35783516001600160a01b031683529284019291840191600101611c7e565b50909695505050505050565b60008060408385031215611cc257600080fd5b8235611ccd81611ae2565b915060208301358015158114611ce257600080fd5b809150509250929050565b60008060008060808587031215611d0357600080fd5b8435611d0e81611ae2565b93506020850135611d1e81611ae2565b925060408501359150606085013567ffffffffffffffff811115611d4157600080fd5b8501601f81018713611d5257600080fd5b611d6187823560208401611b7a565b91505092959194509250565b60008060408385031215611d8057600080fd5b823591506020830135611ce281611ae2565b60008060408385031215611da557600080fd5b82359150602083013567ffffffffffffffff811115611dc357600080fd5b611dcf85828601611bf0565b9150509250929050565b60008060408385031215611dec57600080fd5b8235611df781611ae2565b91506020830135611ce281611ae2565b600181811c90821680611e1b57607f821691505b602082108103611e3b57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611f0557611f05611edd565b5060010190565b6000816000190483118215151615611f2657611f26611edd565b500290565b60008219821115611f3e57611f3e611edd565b500190565b60008351611f55818460208801611a5e565b835190830190611f69818360208801611a5e565b01949350505050565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b60008261203557612035612010565b500490565b60008282101561204c5761204c611edd565b500390565b60008261206057612060612010565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061209890830184611a8a565b9695505050505050565b6000602082840312156120b457600080fd5b8151610ee781611a2b56fea26469706673582212205cb0145c13d47315f8b484b58ae6f2716bdb3c39c8303cc708c06f245cdd952d64736f6c634300080d00330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001c68747470733a2f2f6d6574612e6d6f6f6e62697264732e61692f742f00000000

Deployed Bytecode

0x6080604052600436106101c25760003560e01c80638ddb54b1116100f7578063ca403e4d11610095578063ec71720711610064578063ec717207146104fe578063f2fde38b14610514578063f4a0a52814610534578063fcc0d7111461055457600080fd5b8063ca403e4d1461045f578063ca8001441461047f578063cf5547611461049f578063e985e9c5146104b557600080fd5b8063a22cb465116100d1578063a22cb465146103df578063b88d4fde146103ff578063c86283c81461041f578063c87b56dd1461043f57600080fd5b80638ddb54b11461039557806395d89b41146103a8578063a0e67e2b146103bd57600080fd5b80633d7679ce116101645780636352211e1161013e5780636352211e1461032257806370a0823114610342578063715018a6146103625780638da5cb5b1461037757600080fd5b80633d7679ce146102cc57806342842e0e146102e257806355f804b31461030257600080fd5b8063095ea7b3116101a0578063095ea7b31461025657806318160ddd1461027857806323b872dd146102975780633ccfd60b146102b757600080fd5b806301ffc9a7146101c757806306fdde03146101fc578063081812fc1461021e575b600080fd5b3480156101d357600080fd5b506101e76101e2366004611a41565b610569565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b506102116105bb565b6040516101f39190611ab6565b34801561022a57600080fd5b5061023e610239366004611ac9565b61064d565b6040516001600160a01b0390911681526020016101f3565b34801561026257600080fd5b50610276610271366004611af7565b6106da565b005b34801561028457600080fd5b506002545b6040519081526020016101f3565b3480156102a357600080fd5b506102766102b2366004611b23565b6107ef565b3480156102c357600080fd5b50610276610820565b3480156102d857600080fd5b5061028960075481565b3480156102ee57600080fd5b506102766102fd366004611b23565b61089d565b34801561030e57600080fd5b5061027661031d366004611c10565b6108b8565b34801561032e57600080fd5b5061023e61033d366004611ac9565b6108f9565b34801561034e57600080fd5b5061028961035d366004611c45565b610985565b34801561036e57600080fd5b50610276610a57565b34801561038357600080fd5b506005546001600160a01b031661023e565b6102766103a3366004611ac9565b610a8b565b3480156103b457600080fd5b50610211610c4a565b3480156103c957600080fd5b506103d2610c59565b6040516101f39190611c62565b3480156103eb57600080fd5b506102766103fa366004611caf565b610cba565b34801561040b57600080fd5b5061027661041a366004611ced565b610d7e565b34801561042b57600080fd5b5061027661043a366004611d6d565b610db6565b34801561044b57600080fd5b5061021161045a366004611ac9565b610e31565b34801561046b57600080fd5b5061027661047a366004611d92565b610eee565b34801561048b57600080fd5b5061027661049a366004611af7565b610fb8565b3480156104ab57600080fd5b5061028960085481565b3480156104c157600080fd5b506101e76104d0366004611dd9565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b34801561050a57600080fd5b5061028961271081565b34801561052057600080fd5b5061027661052f366004611c45565b611008565b34801561054057600080fd5b5061027661054f366004611ac9565b6110a3565b34801561056057600080fd5b506102116110d2565b60006001600160e01b031982166380ac58cd60e01b148061059a57506001600160e01b03198216635b5e139f60e01b145b806105b557506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546105ca90611e07565b80601f01602080910402602001604051908101604052809291908181526020018280546105f690611e07565b80156106435780601f1061061857610100808354040283529160200191610643565b820191906000526020600020905b81548152906001019060200180831161062657829003601f168201915b5050505050905090565b600061065882611160565b6106be5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b60006106e5826108f9565b9050806001600160a01b0316836001600160a01b0316036107525760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106b5565b336001600160a01b038216148061076e575061076e81336104d0565b6107e05760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106b5565b6107ea83836111aa565b505050565b6107f93382611218565b6108155760405162461bcd60e51b81526004016106b590611e41565b6107ea8383836112bd565b6005546001600160a01b0316331461084a5760405162461bcd60e51b81526004016106b590611e92565b600047116108915760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b60448201526064016106b5565b61089b3347611413565b565b6107ea83838360405180602001604052806000815250610d7e565b6005546001600160a01b031633146108e25760405162461bcd60e51b81526004016106b590611e92565b80516108f5906009906020840190611992565b5050565b6000806002838154811061090f5761090f611ec7565b6000918252602090912001546001600160a01b03169050806105b55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106b5565b60006001600160a01b0382166109f05760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106b5565b600254600090815b81811015610a4e5760028181548110610a1357610a13611ec7565b6000918252602090912001546001600160a01b0390811690861603610a3e57610a3b83611ef3565b92505b610a4781611ef3565b90506109f8565b50909392505050565b6005546001600160a01b03163314610a815760405162461bcd60e51b81526004016106b590611e92565b61089b600061152c565b600260065403610add5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106b5565b60026006556008543490610af2908390611f0c565b1115610b405760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f72726563740060448201526064016106b5565b600754811115610ba45760405162461bcd60e51b815260206004820152602960248201527f596f752063616e206d696e74206d6178203130204d424149732070657220747260448201526830b739b0b1ba34b7b760b91b60648201526084016106b5565b61271081610bb160025490565b610bbb9190611f2b565b1115610c1b5760405162461bcd60e51b815260206004820152602960248201527f507572636861736520776f756c6420657863656564206d617820737570706c79604482015268206f66204d4241497360b81b60648201526084016106b5565b60005b81811015610c4157610c2f3361157e565b80610c3981611ef3565b915050610c1e565b50506001600655565b6060600180546105ca90611e07565b6060600280548060200260200160405190810160405280929190818152602001828054801561064357602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610c93575050505050905090565b336001600160a01b03831603610d125760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106b5565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d883383611218565b610da45760405162461bcd60e51b81526004016106b590611e41565b610db0848484846115d9565b50505050565b6005546001600160a01b03163314610de05760405162461bcd60e51b81526004016106b590611e92565b60004711610e275760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b60448201526064016106b5565b6108f58183611413565b6060610e3c82611160565b610e925760405162461bcd60e51b815260206004820152602160248201527f4552433732314d657461646174613a204e6f6e6578697374656e7420746f6b656044820152603760f91b60648201526084016106b5565b6000610e9c61160c565b90506000815111610ebc5760405180602001604052806000815250610ee7565b80610ec68461161b565b604051602001610ed7929190611f43565b6040516020818303038152906040525b9392505050565b610ef782611160565b610f135760405162461bcd60e51b81526004016106b590611f72565b610f1c826108f9565b6001600160a01b0316336001600160a01b031614610f7c5760405162461bcd60e51b815260206004820152601b60248201527f43616c6c6572206973206e6f74206120746f6b656e206f776e6572000000000060448201526064016106b5565b817fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b5565720782604051610fac9190611ab6565b60405180910390a25050565b6005546001600160a01b03163314610fe25760405162461bcd60e51b81526004016106b590611e92565b60005b818110156107ea57610ff68361157e565b8061100081611ef3565b915050610fe5565b6005546001600160a01b031633146110325760405162461bcd60e51b81526004016106b590611e92565b6001600160a01b0381166110975760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106b5565b6110a08161152c565b50565b6005546001600160a01b031633146110cd5760405162461bcd60e51b81526004016106b590611e92565b600855565b600980546110df90611e07565b80601f016020809104026020016040519081016040528092919081815260200182805461110b90611e07565b80156111585780601f1061112d57610100808354040283529160200191611158565b820191906000526020600020905b81548152906001019060200180831161113b57829003601f168201915b505050505081565b600254600090821080156105b5575060006001600160a01b03166002838154811061118d5761118d611ec7565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b03841690811790915581906111df826108f9565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061122382611160565b61123f5760405162461bcd60e51b81526004016106b590611f72565b600061124a836108f9565b9050806001600160a01b0316846001600160a01b031614806112855750836001600160a01b031661127a8461064d565b6001600160a01b0316145b806112b557506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166112d0826108f9565b6001600160a01b0316146113385760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106b5565b6001600160a01b03821661139a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106b5565b6113a56000826111aa565b81600282815481106113b9576113b9611ec7565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b804710156114635760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016106b5565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146114b0576040519150601f19603f3d011682016040523d82523d6000602084013e6114b5565b606091505b50509050806107ea5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016106b5565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061158960025490565b90506127108110156108f55761159f828261171c565b60405181906001600160a01b038416907f14fb1634a8c14dd23f33e7ce9b81973c4282c9458933e9319bfd1776b78d68af90600090a35050565b6115e48484846112bd565b6115f084848484611736565b610db05760405162461bcd60e51b81526004016106b590611fbe565b6060600980546105ca90611e07565b6060816000036116425750506040805180820190915260018152600360fc1b602082015290565b8160005b811561166c578061165681611ef3565b91506116659050600a83612026565b9150611646565b60008167ffffffffffffffff81111561168757611687611b64565b6040519080825280601f01601f1916602001820160405280156116b1576020820181803683370190505b5090505b84156112b5576116c660018361203a565b91506116d3600a86612051565b6116de906030611f2b565b60f81b8183815181106116f3576116f3611ec7565b60200101906001600160f81b031916908160001a905350611715600a86612026565b94506116b5565b6108f5828260405180602001604052806000815250611837565b60006001600160a01b0384163b1561182c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061177a903390899088908890600401612065565b6020604051808303816000875af19250505080156117b5575060408051601f3d908101601f191682019092526117b2918101906120a2565b60015b611812573d8080156117e3576040519150601f19603f3d011682016040523d82523d6000602084013e6117e8565b606091505b50805160000361180a5760405162461bcd60e51b81526004016106b590611fbe565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506112b5565b506001949350505050565b611841838361186a565b61184e6000848484611736565b6107ea5760405162461bcd60e51b81526004016106b590611fbe565b6001600160a01b0382166118c05760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106b5565b6118c981611160565b156119165760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106b5565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461199e90611e07565b90600052602060002090601f0160209004810192826119c05760008555611a06565b82601f106119d957805160ff1916838001178555611a06565b82800160010185558215611a06579182015b82811115611a065782518255916020019190600101906119eb565b50611a12929150611a16565b5090565b5b80821115611a125760008155600101611a17565b6001600160e01b0319811681146110a057600080fd5b600060208284031215611a5357600080fd5b8135610ee781611a2b565b60005b83811015611a79578181015183820152602001611a61565b83811115610db05750506000910152565b60008151808452611aa2816020860160208601611a5e565b601f01601f19169290920160200192915050565b602081526000610ee76020830184611a8a565b600060208284031215611adb57600080fd5b5035919050565b6001600160a01b03811681146110a057600080fd5b60008060408385031215611b0a57600080fd5b8235611b1581611ae2565b946020939093013593505050565b600080600060608486031215611b3857600080fd5b8335611b4381611ae2565b92506020840135611b5381611ae2565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611b9557611b95611b64565b604051601f8501601f19908116603f01168101908282118183101715611bbd57611bbd611b64565b81604052809350858152868686011115611bd657600080fd5b858560208301376000602087830101525050509392505050565b600082601f830112611c0157600080fd5b610ee783833560208501611b7a565b600060208284031215611c2257600080fd5b813567ffffffffffffffff811115611c3957600080fd5b6112b584828501611bf0565b600060208284031215611c5757600080fd5b8135610ee781611ae2565b6020808252825182820181905260009190848201906040850190845b81811015611ca35783516001600160a01b031683529284019291840191600101611c7e565b50909695505050505050565b60008060408385031215611cc257600080fd5b8235611ccd81611ae2565b915060208301358015158114611ce257600080fd5b809150509250929050565b60008060008060808587031215611d0357600080fd5b8435611d0e81611ae2565b93506020850135611d1e81611ae2565b925060408501359150606085013567ffffffffffffffff811115611d4157600080fd5b8501601f81018713611d5257600080fd5b611d6187823560208401611b7a565b91505092959194509250565b60008060408385031215611d8057600080fd5b823591506020830135611ce281611ae2565b60008060408385031215611da557600080fd5b82359150602083013567ffffffffffffffff811115611dc357600080fd5b611dcf85828601611bf0565b9150509250929050565b60008060408385031215611dec57600080fd5b8235611df781611ae2565b91506020830135611ce281611ae2565b600181811c90821680611e1b57607f821691505b602082108103611e3b57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611f0557611f05611edd565b5060010190565b6000816000190483118215151615611f2657611f26611edd565b500290565b60008219821115611f3e57611f3e611edd565b500190565b60008351611f55818460208801611a5e565b835190830190611f69818360208801611a5e565b01949350505050565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b60008261203557612035612010565b500490565b60008282101561204c5761204c611edd565b500390565b60008261206057612060612010565b500690565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061209890830184611a8a565b9695505050505050565b6000602082840312156120b457600080fd5b8151610ee781611a2b56fea26469706673582212205cb0145c13d47315f8b484b58ae6f2716bdb3c39c8303cc708c06f245cdd952d64736f6c634300080d0033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001c68747470733a2f2f6d6574612e6d6f6f6e62697264732e61692f742f00000000

-----Decoded View---------------
Arg [0] : baseURI (string): https://meta.moonbirds.ai/t/

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000001c
Arg [2] : 68747470733a2f2f6d6574612e6d6f6f6e62697264732e61692f742f00000000


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.