ETH Price: $3,362.18 (-1.60%)
Gas: 8 Gwei

Token

Kibatsu Mecha (KIBATSU)
 

Overview

Max Total Supply

2,222 KIBATSU

Holders

1,311

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
hunternft.eth
Balance
1 KIBATSU
0x8299B6f77B11af3040650cc77FD8a055Ed6dD879
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Kibatsu Mecha is a collection of 2222 unique 1/1 hand generated, fully animated NFTs on the Ethereum blockchain.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
KibatsuMecha

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.8.9;

/*
                          .-=*#%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+=:
                      :+#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*-
                   :+%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#=
                .+%@@@@@@@@@@@@%#*++==================================++*#%@@@@@@@@@@@@@#-
               +@@@@@@@@@@@*=:                                              :=*@@@@@@@@@@@%.
             :%@@@@@@@@@*:                                                      :*@@@@@@@@@@+
            =@@@@@@@@@+                                                           .*@@@@@@@@@%.
           *@@@@@@@@+.                                                              .+@@@@@@@@@-
          #@@@@@@@#.                                                                  .#@@@@@@@@-
         +@@@@@@@*                                                                      *@@@@@@@@
        .@@@@@@@*                                                                        *@@@@@@@=
        +@@@@@@%                                                                          %@@@@@@#
        %@@@@@@=                                                                          =@@@@@@@
        @@@@@@@:                                                                          :@@@@@@@
        @@@@@@@.              :#####.                                .#####.              .@@@@@@@
        @@@@@@@.              :@@@@@.                                :@@@@@:              .@@@@@@@
        @@@@@@@.              :%%%%@#***:                        :***#@%%%%:              .@@@@@@@
        @@@@@@@.                   #@@@@-                        -@@@@#                   .@@@@@@@
        @@@@@@@.                   #@@@@*====                ====*@@@@#                   .@@@@@@@
        @@@@@@@.                       +@@@@@                @@@@@+                       .@@@@@@@
        @@@@@@@.                       +@@@@@                @@@@@+                       .@@@@@@@
        @@@@@@@.                       .:::::                :::::.                       .@@@@@@@
        @@@@@@@.                                                                          .@@@@@@@
        @@@@@@@.                                                                          .@@@@@@@
        @@@@@@@.                           -##################                            .@@@@@@@
        @@@@@@@.                           =@@@@@@@@@@@@@@@@@@                            .@@@@@@@
        @@@@@@@.                       ++++#@%%%%%%%%%%%%%%%%@++++-                       .@@@@@@@
        @@@@@@@.                      .@@@@@+                @@@@@*                       .@@@@@@@
        @@@@@@@.                  .---=@@@@@+                @@@@@#---:                   .@@@@@@@
        @@@@@@@.                  =@@@@%....                 ....-@@@@@                   .@@@@@@@
        @@@@@@@.                  =@@@@#                         :@@@@@                   .@@@@@@@
        @@@@@@@:                   ::::.                          ::::.                   :@@@@@@@
        %@@@@@@=                                                                          =@@@@@@@
        *@@@@@@%                                                                          %@@@@@@#
        :@@@@@@@*                                                                        *@@@@@@@=
         *@@@@@@@*                                                                      *@@@@@@@@.
          @@@@@@@@#.                                                                  .#@@@@@@@@=
          .%@@@@@@@@+.                                                              .+@@@@@@@@@=
            #@@@@@@@@@+                                                           .*@@@@@@@@@@-
             =@@@@@@@@@@*:                                                      :*@@@@@@@@@@#.
              .#@@@@@@@@@@@*=:                                              :=*@@@@@@@@@@@@=
                -#@@@@@@@@@@@@@%#*++==================================++*#%@@@@@@@@@@@@@@+.
                  .=%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*:
                     .=%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%+:
                         .-=+*#%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%#*+=:.

*/

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import { IERC2981, IERC165 } from "@openzeppelin/contracts/interfaces/IERC2981.sol";

contract KibatsuMecha is ERC721, IERC2981, Ownable, ReentrancyGuard {
  using Strings for uint256;

  string public PROVENANCE_HASH;

  uint256 constant MAX_SUPPLY = 2222;
  uint256 public price = 0.3 ether;
  uint256 public royaltyCut = 750;

  uint256 private _currentId;

  string public baseURI;
  string private _contractURI;

  enum SaleState { Closed, Presale, Public }
  SaleState public saleState = SaleState.Closed;

  bytes32 public merkleRoot;
  mapping(address => uint256) private _alreadyMinted;

  address public beneficiary;
  address public royalties;

  constructor(
    address _beneficiary,
    address _royalties,
    string memory _initialBaseURI,
    string memory _initialContractURI
  ) ERC721("Kibatsu Mecha", "KIBATSU") {
    beneficiary = _beneficiary;
    royalties = _royalties;
    baseURI = _initialBaseURI;
    _contractURI = _initialContractURI;
  }

  // Accessors

  function setProvenanceHash(string calldata hash) public onlyOwner {
    PROVENANCE_HASH = hash;
  }

  function setSaleState(SaleState _saleState) public onlyOwner {
    saleState = _saleState;
  }

  function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner {
    merkleRoot = _merkleRoot;
  }

  function alreadyMinted(address addr) public view returns (uint256) {
    return _alreadyMinted[addr];
  }

  function totalSupply() public view returns (uint256) {
    return _currentId;
  }

  function setBeneficiary(address _beneficiary) public onlyOwner {
    beneficiary = _beneficiary;
  }

  function setRoyalties(address _royalties) public onlyOwner {
    royalties = _royalties;
  }

  function setRoyaltyCut(uint256 _royaltyCut) public onlyOwner {
    royaltyCut = _royaltyCut;
  }

  // Metadata

  function setBaseURI(string calldata uri) public onlyOwner {
    baseURI = uri;
  }

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

  function contractURI() public view returns (string memory) {
    return _contractURI;
  }

  function setContractURI(string calldata uri) public onlyOwner {
    _contractURI = uri;
  }

  // Minting

  function mintListed(
    uint256 amount,
    bytes32[] calldata merkleProof,
    uint256 maxAmount
  ) public payable nonReentrant {
    address sender = _msgSender();

    require(saleState == SaleState.Presale, "Presale is not active");
    require(amount <= maxAmount - _alreadyMinted[sender], "Insufficient mints left");
    require(msg.value == price * amount, "Incorrect payable amount");
    require(_verify(merkleProof, sender, maxAmount), "Invalid proof");

    _alreadyMinted[sender] += amount;
    _internalMint(sender, amount);
  }

  function mintPublic() public payable nonReentrant {
    require(saleState == SaleState.Public, "Public sale is not active");
    require(msg.value == price, "Incorrect payable amount");
    require(_currentId + 1 <= MAX_SUPPLY, "Will exceed maximum supply");
    require(_msgSender() == tx.origin, "Calling with contracts are disallowed");

    _currentId++;
    _safeMint(_msgSender(), _currentId);
  }

  function ownerMint(address to, uint256 amount) public onlyOwner {
    _internalMint(to, amount);
  }

  function withdraw() public onlyOwner {
    payable(beneficiary).transfer(address(this).balance);
  }

  // Private

  function _internalMint(address to, uint256 amount) private {
    require(_currentId + amount <= MAX_SUPPLY, "Will exceed maximum supply");

    for (uint256 i = 1; i <= amount; i++) {
      _currentId++;
      _safeMint(to, _currentId);
    }
  }

  function _verify(
    bytes32[] calldata merkleProof,
    address sender,
    uint256 maxAmount
  ) private view returns (bool) {
    bytes32 leaf = keccak256(abi.encodePacked(sender, maxAmount.toString()));
    return MerkleProof.verify(merkleProof, merkleRoot, leaf);
  }

  // ERC165

  function supportsInterface(bytes4 interfaceId) public view override(ERC721, IERC165) returns (bool) {
    return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);
  }

  // IERC2981

  function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view returns (address, uint256 royaltyAmount) {
    _tokenId; // silence solc warning
    royaltyAmount = (_salePrice / 10000) * royaltyCut;
    return (royalties, royaltyAmount);
  }
}

File 2 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

        _afterTokenTransfer(address(0), to, tokenId);
    }

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

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

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

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

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

        _afterTokenTransfer(owner, address(0), tokenId);
    }

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 3 of 15 : 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 15 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 5 of 15 : 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 6 of 15 : 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 15 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 8 of 15 : 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 9 of 15 : 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 10 of 15 : 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 11 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 15 : 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 13 of 15 : 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 14 of 15 : 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);
}

File 15 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"},{"internalType":"address","name":"_royalties","type":"address"},{"internalType":"string","name":"_initialBaseURI","type":"string"},{"internalType":"string","name":"_initialContractURI","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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"PROVENANCE_HASH","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"alreadyMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beneficiary","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"maxAmount","type":"uint256"}],"name":"mintListed","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPublic","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":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royalties","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyCut","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleState","outputs":[{"internalType":"enum KibatsuMecha.SaleState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"}],"name":"setBeneficiary","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"hash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royalties","type":"address"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_royaltyCut","type":"uint256"}],"name":"setRoyaltyCut","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum KibatsuMecha.SaleState","name":"_saleState","type":"uint8"}],"name":"setSaleState","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"}]

6080604052670429d069189e00006009556102ee600a55600e805460ff191690553480156200002d57600080fd5b5060405162002dbf38038062002dbf8339810160408190526200005091620003b5565b604080518082018252600d81526c4b696261747375204d6563686160981b6020808301918252835180850190945260078452664b49424154535560c81b908401528151919291620000a49160009162000198565b508051620000ba90600190602084019062000198565b505050620000d7620000d16200014260201b60201c565b62000146565b6001600755601180546001600160a01b038087166001600160a01b031992831617909255601280549286169290911691909117905581516200012190600c90602085019062000198565b5080516200013790600d90602084019062000198565b5050505050620004a2565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001a69062000471565b90600052602060002090601f016020900481019282620001ca576000855562000215565b82601f10620001e557805160ff191683800117855562000215565b8280016001018555821562000215579182015b8281111562000215578251825591602001919060010190620001f8565b506200022392915062000227565b5090565b5b8082111562000223576000815560010162000228565b60006001600160a01b0382165b92915050565b6200025c816200023e565b81146200026857600080fd5b50565b80516200024b8162000251565b634e487b7160e01b600052604160045260246000fd5b601f19601f83011681018181106001600160401b0382111715620002b657620002b662000278565b6040525050565b6000620002c960405190565b9050620002d782826200028e565b919050565b60006001600160401b03821115620002f857620002f862000278565b601f19601f83011660200192915050565b60005b83811015620003265781810151838201526020016200030c565b8381111562000336576000848401525b50505050565b6000620003536200034d84620002dc565b620002bd565b905082815260208101848484011115620003705762000370600080fd5b6200037d84828562000309565b509392505050565b600082601f8301126200039b576200039b600080fd5b8151620003ad8482602086016200033c565b949350505050565b60008060008060808587031215620003d057620003d0600080fd5b6000620003de87876200026b565b9450506020620003f1878288016200026b565b93505060408501516001600160401b03811115620004125762000412600080fd5b620004208782880162000385565b92505060608501516001600160401b03811115620004415762000441600080fd5b6200044f8782880162000385565b91505092959194509250565b634e487b7160e01b600052602260045260246000fd5b6002810460018216806200048657607f821691505b602082108114156200049c576200049c6200045b565b50919050565b61290d80620004b26000396000f3fe60806040526004361061023b5760003560e01c80636352211e1161012e578063a035b1fe116100ab578063e8a3d4851161006f578063e8a3d48514610683578063e985e9c514610698578063f053dc5c146106b8578063f2fde38b146106d8578063ff1b6556146106f857600080fd5b8063a035b1fe146105ed578063a22cb46514610603578063b88d4fde14610623578063c87b56dd14610643578063cd4e152a1461066357600080fd5b806387d2d93f116100f257806387d2d93f1461057f5780638c874ebd146105925780638da5cb5b1461059a578063938e3d7b146105b857806395d89b41146105d857600080fd5b80636352211e146104f55780636c0360eb1461051557806370a082311461052a578063715018a61461054a5780637cb647591461055f57600080fd5b80632a55205a116101bc57806342842e0e1161018057806342842e0e1461044e578063484b973c1461046e57806355f804b31461048e5780635a67de07146104ae578063603f4d52146104ce57600080fd5b80632a55205a146103b55780632a9e63c6146103e35780632eb4a7ab1461040357806338af3eed146104195780633ccfd60b1461043957600080fd5b80631096952311610203578063109695231461032a57806318160ddd1461034a5780631c31f7101461035f5780631df380d51461037f57806323b872dd1461039557600080fd5b806301ffc9a71461024057806306fdde0314610276578063081812fc14610298578063095ea7b3146102c55780630a398b88146102e7575b600080fd5b34801561024c57600080fd5b5061026061025b3660046119c2565b61070d565b60405161026d91906119ed565b60405180910390f35b34801561028257600080fd5b5061028b610738565b60405161026d9190611a59565b3480156102a457600080fd5b506102b86102b3366004611a7b565b6107ca565b60405161026d9190611ab6565b3480156102d157600080fd5b506102e56102e0366004611ad8565b610823565b005b3480156102f357600080fd5b5061031d610302366004611b15565b6001600160a01b031660009081526010602052604090205490565b60405161026d9190611b3c565b34801561033657600080fd5b506102e5610345366004611b95565b6108a9565b34801561035657600080fd5b50600b5461031d565b34801561036b57600080fd5b506102e561037a366004611b15565b6108df565b34801561038b57600080fd5b5061031d600a5481565b3480156103a157600080fd5b506102e56103b0366004611bdd565b61092b565b3480156103c157600080fd5b506103d56103d0366004611c2d565b61095c565b60405161026d929190611c4f565b3480156103ef57600080fd5b506102e56103fe366004611b15565b610992565b34801561040f57600080fd5b5061031d600f5481565b34801561042557600080fd5b506011546102b8906001600160a01b031681565b34801561044557600080fd5b506102e56109de565b34801561045a57600080fd5b506102e5610469366004611bdd565b610a44565b34801561047a57600080fd5b506102e5610489366004611ad8565b610a5f565b34801561049a57600080fd5b506102e56104a9366004611b95565b610a97565b3480156104ba57600080fd5b506102e56104c9366004611c82565b610acd565b3480156104da57600080fd5b50600e546104e89060ff1681565b60405161026d9190611cec565b34801561050157600080fd5b506102b8610510366004611a7b565b610b1e565b34801561052157600080fd5b5061028b610b53565b34801561053657600080fd5b5061031d610545366004611b15565b610be1565b34801561055657600080fd5b506102e5610c25565b34801561056b57600080fd5b506102e561057a366004611a7b565b610c5b565b6102e561058d366004611d45565b610c8a565b6102e5610dc7565b3480156105a657600080fd5b506006546001600160a01b03166102b8565b3480156105c457600080fd5b506102e56105d3366004611b95565b610ec3565b3480156105e457600080fd5b5061028b610ef9565b3480156105f957600080fd5b5061031d60095481565b34801561060f57600080fd5b506102e561061e366004611dc8565b610f08565b34801561062f57600080fd5b506102e561063e366004611ee9565b610f13565b34801561064f57600080fd5b5061028b61065e366004611a7b565b610f4b565b34801561066f57600080fd5b506102e561067e366004611a7b565b610fde565b34801561068f57600080fd5b5061028b61100d565b3480156106a457600080fd5b506102606106b3366004611f5c565b61101c565b3480156106c457600080fd5b506012546102b8906001600160a01b031681565b3480156106e457600080fd5b506102e56106f3366004611b15565b61104a565b34801561070457600080fd5b5061028b6110a3565b60006001600160e01b0319821663152a902d60e11b14806107325750610732826110b0565b92915050565b60606000805461074790611fa5565b80601f016020809104026020016040519081016040528092919081815260200182805461077390611fa5565b80156107c05780601f10610795576101008083540402835291602001916107c0565b820191906000526020600020905b8154815290600101906020018083116107a357829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108075760405162461bcd60e51b81526004016107fe9061201e565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061082e82610b1e565b9050806001600160a01b0316836001600160a01b031614156108625760405162461bcd60e51b81526004016107fe9061206c565b336001600160a01b038216148061087e575061087e813361101c565b61089a5760405162461bcd60e51b81526004016107fe906120d6565b6108a48383611100565b505050565b6006546001600160a01b031633146108d35760405162461bcd60e51b81526004016107fe9061211b565b6108a460088383611907565b6006546001600160a01b031633146109095760405162461bcd60e51b81526004016107fe9061211b565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b610935338261116e565b6109515760405162461bcd60e51b81526004016107fe90612179565b6108a4838383611200565b600080600a546127108461097091906121b5565b61097a91906121c9565b6012546001600160a01b0316925090505b9250929050565b6006546001600160a01b031633146109bc5760405162461bcd60e51b81526004016107fe9061211b565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b03163314610a085760405162461bcd60e51b81526004016107fe9061211b565b6011546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610a41573d6000803e3d6000fd5b50565b6108a483838360405180602001604052806000815250610f13565b6006546001600160a01b03163314610a895760405162461bcd60e51b81526004016107fe9061211b565b610a938282611322565b5050565b6006546001600160a01b03163314610ac15760405162461bcd60e51b81526004016107fe9061211b565b6108a4600c8383611907565b6006546001600160a01b03163314610af75760405162461bcd60e51b81526004016107fe9061211b565b600e805482919060ff19166001836002811115610b1657610b16611ca3565b021790555050565b6000818152600260205260408120546001600160a01b0316806107325760405162461bcd60e51b81526004016107fe9061222e565b600c8054610b6090611fa5565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8c90611fa5565b8015610bd95780601f10610bae57610100808354040283529160200191610bd9565b820191906000526020600020905b815481529060010190602001808311610bbc57829003601f168201915b505050505081565b60006001600160a01b038216610c095760405162461bcd60e51b81526004016107fe90612285565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610c4f5760405162461bcd60e51b81526004016107fe9061211b565b610c59600061138e565b565b6006546001600160a01b03163314610c855760405162461bcd60e51b81526004016107fe9061211b565b600f55565b60026007541415610cad5760405162461bcd60e51b81526004016107fe906122c9565b600260075560003390506001600e5460ff166002811115610cd057610cd0611ca3565b14610ced5760405162461bcd60e51b81526004016107fe90612305565b6001600160a01b038116600090815260106020526040902054610d109083612315565b851115610d2f5760405162461bcd60e51b81526004016107fe90612360565b84600954610d3d91906121c9565b3414610d5b5760405162461bcd60e51b81526004016107fe906123a4565b610d67848483856113e0565b610d835760405162461bcd60e51b81526004016107fe906123d8565b6001600160a01b03811660009081526010602052604081208054879290610dab9084906123e8565b90915550610dbb90508186611322565b50506001600755505050565b60026007541415610dea5760405162461bcd60e51b81526004016107fe906122c9565b60026007819055600e5460ff166002811115610e0857610e08611ca3565b14610e255760405162461bcd60e51b81526004016107fe90612434565b6009543414610e465760405162461bcd60e51b81526004016107fe906123a4565b6108ae600b546001610e5891906123e8565b1115610e765760405162461bcd60e51b81526004016107fe90612478565b333214610e955760405162461bcd60e51b81526004016107fe906124ca565b600b8054906000610ea5836124da565b9190505550610ebc610eb43390565b600b54611461565b6001600755565b6006546001600160a01b03163314610eed5760405162461bcd60e51b81526004016107fe9061211b565b6108a4600d8383611907565b60606001805461074790611fa5565b610a9333838361147b565b610f1d338361116e565b610f395760405162461bcd60e51b81526004016107fe90612179565b610f458484848461151e565b50505050565b6000818152600260205260409020546060906001600160a01b0316610f825760405162461bcd60e51b81526004016107fe90612541565b6000610f8c611551565b90506000815111610fac5760405180602001604052806000815250610fd7565b80610fb684611560565b604051602001610fc7929190612573565b6040516020818303038152906040525b9392505050565b6006546001600160a01b031633146110085760405162461bcd60e51b81526004016107fe9061211b565b600a55565b6060600d805461074790611fa5565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6006546001600160a01b031633146110745760405162461bcd60e51b81526004016107fe9061211b565b6001600160a01b03811661109a5760405162461bcd60e51b81526004016107fe906125ce565b610a418161138e565b60088054610b6090611fa5565b60006001600160e01b031982166380ac58cd60e01b14806110e157506001600160e01b03198216635b5e139f60e01b145b8061073257506301ffc9a760e01b6001600160e01b0319831614610732565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061113582610b1e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166111a25760405162461bcd60e51b81526004016107fe90612627565b60006111ad83610b1e565b9050806001600160a01b0316846001600160a01b031614806111e85750836001600160a01b03166111dd846107ca565b6001600160a01b0316145b806111f857506111f8818561101c565b949350505050565b826001600160a01b031661121382610b1e565b6001600160a01b0316146112395760405162461bcd60e51b81526004016107fe90612679565b6001600160a01b03821661125f5760405162461bcd60e51b81526004016107fe906126ca565b61126a600082611100565b6001600160a01b0383166000908152600360205260408120805460019290611293908490612315565b90915550506001600160a01b03821660009081526003602052604081208054600192906112c19084906123e8565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6108ae81600b5461133391906123e8565b11156113515760405162461bcd60e51b81526004016107fe90612478565b60015b8181116108a457600b805490600061136b836124da565b919050555061137c83600b54611461565b80611386816124da565b915050611354565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080836113ed84611560565b6040516020016113fe929190612702565b60405160208183030381529060405280519060200120905061145786868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600f54915084905061165e565b9695505050505050565b610a93828260405180602001604052806000815250611674565b816001600160a01b0316836001600160a01b031614156114ad5760405162461bcd60e51b81526004016107fe90612752565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31906115119085906119ed565b60405180910390a3505050565b611529848484611200565b611535848484846116a7565b610f455760405162461bcd60e51b81526004016107fe906127b1565b6060600c805461074790611fa5565b6060816115845750506040805180820190915260018152600360fc1b602082015290565b8160005b81156115ae5780611598816124da565b91506115a79050600a836121b5565b9150611588565b60008167ffffffffffffffff8111156115c9576115c9611dfb565b6040519080825280601f01601f1916602001820160405280156115f3576020820181803683370190505b5090505b84156111f857611608600183612315565b9150611615600a866127c1565b6116209060306123e8565b60f81b818381518110611635576116356127d5565b60200101906001600160f81b031916908160001a905350611657600a866121b5565b94506115f7565b60008261166b85846117b1565b14949350505050565b61167e8383611825565b61168b60008484846116a7565b6108a45760405162461bcd60e51b81526004016107fe906127b1565b60006001600160a01b0384163b156117a957604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906116eb9033908990889088906004016127eb565b602060405180830381600087803b15801561170557600080fd5b505af1925050508015611735575060408051601f3d908101601f1916820190925261173291810190612830565b60015b61178f573d808015611763576040519150601f19603f3d011682016040523d82523d6000602084013e611768565b606091505b5080516117875760405162461bcd60e51b81526004016107fe906127b1565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506111f8565b5060016111f8565b600081815b845181101561181d5760008582815181106117d3576117d36127d5565b602002602001015190508083116117f9576000838152602082905260409020925061180a565b600081815260208490526040902092505b5080611815816124da565b9150506117b6565b509392505050565b6001600160a01b03821661184b5760405162461bcd60e51b81526004016107fe90612883565b6000818152600260205260409020546001600160a01b0316156118805760405162461bcd60e51b81526004016107fe906128c7565b6001600160a01b03821660009081526003602052604081208054600192906118a99084906123e8565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461191390611fa5565b90600052602060002090601f016020900481019282611935576000855561197b565b82601f1061194e5782800160ff1982351617855561197b565b8280016001018555821561197b579182015b8281111561197b578235825591602001919060010190611960565b5061198792915061198b565b5090565b5b80821115611987576000815560010161198c565b6001600160e01b031981165b8114610a4157600080fd5b8035610732816119a0565b6000602082840312156119d7576119d7600080fd5b60006111f884846119b7565b8015155b82525050565b6020810161073282846119e3565b60005b83811015611a165781810151838201526020016119fe565b83811115610f455750506000910152565b6000611a31825190565b808452602084019350611a488185602086016119fb565b601f01601f19169290920192915050565b60208082528101610fd78184611a27565b806119ac565b803561073281611a6a565b600060208284031215611a9057611a90600080fd5b60006111f88484611a70565b60006001600160a01b038216610732565b6119e781611a9c565b602081016107328284611aad565b6119ac81611a9c565b803561073281611ac4565b60008060408385031215611aee57611aee600080fd5b6000611afa8585611acd565b9250506020611b0b85828601611a70565b9150509250929050565b600060208284031215611b2a57611b2a600080fd5b60006111f88484611acd565b806119e7565b602081016107328284611b36565b60008083601f840112611b5f57611b5f600080fd5b50813567ffffffffffffffff811115611b7a57611b7a600080fd5b60208301915083600182028301111561098b5761098b600080fd5b60008060208385031215611bab57611bab600080fd5b823567ffffffffffffffff811115611bc557611bc5600080fd5b611bd185828601611b4a565b92509250509250929050565b600080600060608486031215611bf557611bf5600080fd5b6000611c018686611acd565b9350506020611c1286828701611acd565b9250506040611c2386828701611a70565b9150509250925092565b60008060408385031215611c4357611c43600080fd5b6000611afa8585611a70565b60408101611c5d8285611aad565b610fd76020830184611b36565b60038110610a4157600080fd5b803561073281611c6a565b600060208284031215611c9757611c97600080fd5b60006111f88484611c77565b634e487b7160e01b600052602160045260246000fd5b60038110610a4157610a41611ca3565b80611cd381611cb9565b919050565b600061073282611cc9565b6119e781611cd8565b602081016107328284611ce3565b60008083601f840112611d0f57611d0f600080fd5b50813567ffffffffffffffff811115611d2a57611d2a600080fd5b60208301915083602082028301111561098b5761098b600080fd5b60008060008060608587031215611d5e57611d5e600080fd5b6000611d6a8787611a70565b945050602085013567ffffffffffffffff811115611d8a57611d8a600080fd5b611d9687828801611cfa565b93509350506040611da987828801611a70565b91505092959194509250565b8015156119ac565b803561073281611db5565b60008060408385031215611dde57611dde600080fd5b6000611dea8585611acd565b9250506020611b0b85828601611dbd565b634e487b7160e01b600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff82111715611e3757611e37611dfb565b6040525050565b6000611e4960405190565b9050611cd38282611e11565b600067ffffffffffffffff821115611e6f57611e6f611dfb565b601f19601f83011660200192915050565b82818337506000910152565b6000611e9f611e9a84611e55565b611e3e565b905082815260208101848484011115611eba57611eba600080fd5b61181d848285611e80565b600082601f830112611ed957611ed9600080fd5b81356111f8848260208601611e8c565b60008060008060808587031215611f0257611f02600080fd5b6000611f0e8787611acd565b9450506020611f1f87828801611acd565b9350506040611f3087828801611a70565b925050606085013567ffffffffffffffff811115611f5057611f50600080fd5b611da987828801611ec5565b60008060408385031215611f7257611f72600080fd5b6000611f7e8585611acd565b9250506020611b0b85828601611acd565b634e487b7160e01b600052602260045260246000fd5b600281046001821680611fb957607f821691505b60208210811415611fcc57611fcc611f8f565b50919050565b602c81526000602082017f4552433732313a20617070726f76656420717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b602082015291505b5060400190565b6020808252810161073281611fd2565b602181526000602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b60208201529150612017565b602080825281016107328161202e565b603881526000602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7781527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060208201529150612017565b602080825281016107328161207c565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572910190815260005b5060200190565b60208082528101610732816120e6565b603181526000602082017f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f8152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b60208201529150612017565b602080825281016107328161212b565b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000826121c4576121c4612189565b500490565b60008160001904831182151516156121e3576121e361219f565b500290565b602981526000602082017f4552433732313a206f776e657220717565727920666f72206e6f6e657869737481526832b73a103a37b5b2b760b91b60208201529150612017565b60208082528101610732816121e8565b602a81526000602082017f4552433732313a2062616c616e636520717565727920666f7220746865207a65815269726f206164647265737360b01b60208201529150612017565b602080825281016107328161223e565b601f81526000602082017f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081529150612114565b6020808252810161073281612295565b601581526000602082017450726573616c65206973206e6f742061637469766560581b81529150612114565b60208082528101610732816122d9565b6000828210156123275761232761219f565b500390565b601781526000602082017f496e73756666696369656e74206d696e7473206c65667400000000000000000081529150612114565b602080825281016107328161232c565b601881526000602082017f496e636f72726563742070617961626c6520616d6f756e74000000000000000081529150612114565b6020808252810161073281612370565b600d81526000602082016c24b73b30b634b210383937b7b360991b81529150612114565b60208082528101610732816123b4565b600082198211156123fb576123fb61219f565b500190565b601981526000602082017f5075626c69632073616c65206973206e6f74206163746976650000000000000081529150612114565b6020808252810161073281612400565b601a81526000602082017f57696c6c20657863656564206d6178696d756d20737570706c7900000000000081529150612114565b6020808252810161073281612444565b602581526000602082017f43616c6c696e67207769746820636f6e7472616374732061726520646973616c8152641b1bddd95960da1b60208201529150612017565b6020808252810161073281612488565b60006000198214156124ee576124ee61219f565b5060010190565b602f81526000602082017f4552433732314d657461646174613a2055524920717565727920666f72206e6f81526e3732bc34b9ba32b73a103a37b5b2b760891b60208201529150612017565b60208082528101610732816124f5565b600061255b825190565b6125698185602086016119fb565b9290920192915050565b600061257f8285612551565b91506111f88284612551565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b60208201529150612017565b602080825281016107328161258b565b602c81526000602082017f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b60208201529150612017565b60208082528101610732816125de565b602581526000602082017f4552433732313a207472616e736665722066726f6d20696e636f72726563742081526437bbb732b960d91b60208201529150612017565b6020808252810161073281612637565b602481526000602082017f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b60208201529150612017565b6020808252810161073281612689565b60006107328260601b90565b6000610732826126da565b6119e76126fd82611a9c565b6126e6565b600061270e82856126f1565b6014820191506111f88284612551565b601981526000602082017f4552433732313a20617070726f766520746f2063616c6c65720000000000000081529150612114565b602080825281016107328161271e565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60208201529150612017565b6020808252810161073281612762565b6000826127d0576127d0612189565b500690565b634e487b7160e01b600052603260045260246000fd5b608081016127f98287611aad565b6128066020830186611aad565b6128136040830185611b36565b81810360608301526114578184611a27565b8051610732816119a0565b60006020828403121561284557612845600080fd5b60006111f88484612825565b60208082527f4552433732313a206d696e7420746f20746865207a65726f206164647265737391019081526000612114565b6020808252810161073281612851565b601c81526000602082017f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081529150612114565b602080825281016107328161289356fea26469706673582212203d32e8b1de854b1151090d836e325fef421cbde70287ebc2274e9f500bdf3b9164736f6c634300080900330000000000000000000000006c60c67c636a5acbea9e50773b81e75cd46f62eb000000000000000000000000d859b1007bd3aac6eb1f5302b5cd5debc587b1d2000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000002668747470733a2f2f6b6962617473756d656368612e636f6d2f6170692f6d657461646174612f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003268747470733a2f2f6b6962617473756d656368612e636f6d2f6170692f6d657461646174612f4b6962617473754d656368610000000000000000000000000000

Deployed Bytecode

0x60806040526004361061023b5760003560e01c80636352211e1161012e578063a035b1fe116100ab578063e8a3d4851161006f578063e8a3d48514610683578063e985e9c514610698578063f053dc5c146106b8578063f2fde38b146106d8578063ff1b6556146106f857600080fd5b8063a035b1fe146105ed578063a22cb46514610603578063b88d4fde14610623578063c87b56dd14610643578063cd4e152a1461066357600080fd5b806387d2d93f116100f257806387d2d93f1461057f5780638c874ebd146105925780638da5cb5b1461059a578063938e3d7b146105b857806395d89b41146105d857600080fd5b80636352211e146104f55780636c0360eb1461051557806370a082311461052a578063715018a61461054a5780637cb647591461055f57600080fd5b80632a55205a116101bc57806342842e0e1161018057806342842e0e1461044e578063484b973c1461046e57806355f804b31461048e5780635a67de07146104ae578063603f4d52146104ce57600080fd5b80632a55205a146103b55780632a9e63c6146103e35780632eb4a7ab1461040357806338af3eed146104195780633ccfd60b1461043957600080fd5b80631096952311610203578063109695231461032a57806318160ddd1461034a5780631c31f7101461035f5780631df380d51461037f57806323b872dd1461039557600080fd5b806301ffc9a71461024057806306fdde0314610276578063081812fc14610298578063095ea7b3146102c55780630a398b88146102e7575b600080fd5b34801561024c57600080fd5b5061026061025b3660046119c2565b61070d565b60405161026d91906119ed565b60405180910390f35b34801561028257600080fd5b5061028b610738565b60405161026d9190611a59565b3480156102a457600080fd5b506102b86102b3366004611a7b565b6107ca565b60405161026d9190611ab6565b3480156102d157600080fd5b506102e56102e0366004611ad8565b610823565b005b3480156102f357600080fd5b5061031d610302366004611b15565b6001600160a01b031660009081526010602052604090205490565b60405161026d9190611b3c565b34801561033657600080fd5b506102e5610345366004611b95565b6108a9565b34801561035657600080fd5b50600b5461031d565b34801561036b57600080fd5b506102e561037a366004611b15565b6108df565b34801561038b57600080fd5b5061031d600a5481565b3480156103a157600080fd5b506102e56103b0366004611bdd565b61092b565b3480156103c157600080fd5b506103d56103d0366004611c2d565b61095c565b60405161026d929190611c4f565b3480156103ef57600080fd5b506102e56103fe366004611b15565b610992565b34801561040f57600080fd5b5061031d600f5481565b34801561042557600080fd5b506011546102b8906001600160a01b031681565b34801561044557600080fd5b506102e56109de565b34801561045a57600080fd5b506102e5610469366004611bdd565b610a44565b34801561047a57600080fd5b506102e5610489366004611ad8565b610a5f565b34801561049a57600080fd5b506102e56104a9366004611b95565b610a97565b3480156104ba57600080fd5b506102e56104c9366004611c82565b610acd565b3480156104da57600080fd5b50600e546104e89060ff1681565b60405161026d9190611cec565b34801561050157600080fd5b506102b8610510366004611a7b565b610b1e565b34801561052157600080fd5b5061028b610b53565b34801561053657600080fd5b5061031d610545366004611b15565b610be1565b34801561055657600080fd5b506102e5610c25565b34801561056b57600080fd5b506102e561057a366004611a7b565b610c5b565b6102e561058d366004611d45565b610c8a565b6102e5610dc7565b3480156105a657600080fd5b506006546001600160a01b03166102b8565b3480156105c457600080fd5b506102e56105d3366004611b95565b610ec3565b3480156105e457600080fd5b5061028b610ef9565b3480156105f957600080fd5b5061031d60095481565b34801561060f57600080fd5b506102e561061e366004611dc8565b610f08565b34801561062f57600080fd5b506102e561063e366004611ee9565b610f13565b34801561064f57600080fd5b5061028b61065e366004611a7b565b610f4b565b34801561066f57600080fd5b506102e561067e366004611a7b565b610fde565b34801561068f57600080fd5b5061028b61100d565b3480156106a457600080fd5b506102606106b3366004611f5c565b61101c565b3480156106c457600080fd5b506012546102b8906001600160a01b031681565b3480156106e457600080fd5b506102e56106f3366004611b15565b61104a565b34801561070457600080fd5b5061028b6110a3565b60006001600160e01b0319821663152a902d60e11b14806107325750610732826110b0565b92915050565b60606000805461074790611fa5565b80601f016020809104026020016040519081016040528092919081815260200182805461077390611fa5565b80156107c05780601f10610795576101008083540402835291602001916107c0565b820191906000526020600020905b8154815290600101906020018083116107a357829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108075760405162461bcd60e51b81526004016107fe9061201e565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061082e82610b1e565b9050806001600160a01b0316836001600160a01b031614156108625760405162461bcd60e51b81526004016107fe9061206c565b336001600160a01b038216148061087e575061087e813361101c565b61089a5760405162461bcd60e51b81526004016107fe906120d6565b6108a48383611100565b505050565b6006546001600160a01b031633146108d35760405162461bcd60e51b81526004016107fe9061211b565b6108a460088383611907565b6006546001600160a01b031633146109095760405162461bcd60e51b81526004016107fe9061211b565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b610935338261116e565b6109515760405162461bcd60e51b81526004016107fe90612179565b6108a4838383611200565b600080600a546127108461097091906121b5565b61097a91906121c9565b6012546001600160a01b0316925090505b9250929050565b6006546001600160a01b031633146109bc5760405162461bcd60e51b81526004016107fe9061211b565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b03163314610a085760405162461bcd60e51b81526004016107fe9061211b565b6011546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610a41573d6000803e3d6000fd5b50565b6108a483838360405180602001604052806000815250610f13565b6006546001600160a01b03163314610a895760405162461bcd60e51b81526004016107fe9061211b565b610a938282611322565b5050565b6006546001600160a01b03163314610ac15760405162461bcd60e51b81526004016107fe9061211b565b6108a4600c8383611907565b6006546001600160a01b03163314610af75760405162461bcd60e51b81526004016107fe9061211b565b600e805482919060ff19166001836002811115610b1657610b16611ca3565b021790555050565b6000818152600260205260408120546001600160a01b0316806107325760405162461bcd60e51b81526004016107fe9061222e565b600c8054610b6090611fa5565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8c90611fa5565b8015610bd95780601f10610bae57610100808354040283529160200191610bd9565b820191906000526020600020905b815481529060010190602001808311610bbc57829003601f168201915b505050505081565b60006001600160a01b038216610c095760405162461bcd60e51b81526004016107fe90612285565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610c4f5760405162461bcd60e51b81526004016107fe9061211b565b610c59600061138e565b565b6006546001600160a01b03163314610c855760405162461bcd60e51b81526004016107fe9061211b565b600f55565b60026007541415610cad5760405162461bcd60e51b81526004016107fe906122c9565b600260075560003390506001600e5460ff166002811115610cd057610cd0611ca3565b14610ced5760405162461bcd60e51b81526004016107fe90612305565b6001600160a01b038116600090815260106020526040902054610d109083612315565b851115610d2f5760405162461bcd60e51b81526004016107fe90612360565b84600954610d3d91906121c9565b3414610d5b5760405162461bcd60e51b81526004016107fe906123a4565b610d67848483856113e0565b610d835760405162461bcd60e51b81526004016107fe906123d8565b6001600160a01b03811660009081526010602052604081208054879290610dab9084906123e8565b90915550610dbb90508186611322565b50506001600755505050565b60026007541415610dea5760405162461bcd60e51b81526004016107fe906122c9565b60026007819055600e5460ff166002811115610e0857610e08611ca3565b14610e255760405162461bcd60e51b81526004016107fe90612434565b6009543414610e465760405162461bcd60e51b81526004016107fe906123a4565b6108ae600b546001610e5891906123e8565b1115610e765760405162461bcd60e51b81526004016107fe90612478565b333214610e955760405162461bcd60e51b81526004016107fe906124ca565b600b8054906000610ea5836124da565b9190505550610ebc610eb43390565b600b54611461565b6001600755565b6006546001600160a01b03163314610eed5760405162461bcd60e51b81526004016107fe9061211b565b6108a4600d8383611907565b60606001805461074790611fa5565b610a9333838361147b565b610f1d338361116e565b610f395760405162461bcd60e51b81526004016107fe90612179565b610f458484848461151e565b50505050565b6000818152600260205260409020546060906001600160a01b0316610f825760405162461bcd60e51b81526004016107fe90612541565b6000610f8c611551565b90506000815111610fac5760405180602001604052806000815250610fd7565b80610fb684611560565b604051602001610fc7929190612573565b6040516020818303038152906040525b9392505050565b6006546001600160a01b031633146110085760405162461bcd60e51b81526004016107fe9061211b565b600a55565b6060600d805461074790611fa5565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6006546001600160a01b031633146110745760405162461bcd60e51b81526004016107fe9061211b565b6001600160a01b03811661109a5760405162461bcd60e51b81526004016107fe906125ce565b610a418161138e565b60088054610b6090611fa5565b60006001600160e01b031982166380ac58cd60e01b14806110e157506001600160e01b03198216635b5e139f60e01b145b8061073257506301ffc9a760e01b6001600160e01b0319831614610732565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061113582610b1e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166111a25760405162461bcd60e51b81526004016107fe90612627565b60006111ad83610b1e565b9050806001600160a01b0316846001600160a01b031614806111e85750836001600160a01b03166111dd846107ca565b6001600160a01b0316145b806111f857506111f8818561101c565b949350505050565b826001600160a01b031661121382610b1e565b6001600160a01b0316146112395760405162461bcd60e51b81526004016107fe90612679565b6001600160a01b03821661125f5760405162461bcd60e51b81526004016107fe906126ca565b61126a600082611100565b6001600160a01b0383166000908152600360205260408120805460019290611293908490612315565b90915550506001600160a01b03821660009081526003602052604081208054600192906112c19084906123e8565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6108ae81600b5461133391906123e8565b11156113515760405162461bcd60e51b81526004016107fe90612478565b60015b8181116108a457600b805490600061136b836124da565b919050555061137c83600b54611461565b80611386816124da565b915050611354565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080836113ed84611560565b6040516020016113fe929190612702565b60405160208183030381529060405280519060200120905061145786868080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600f54915084905061165e565b9695505050505050565b610a93828260405180602001604052806000815250611674565b816001600160a01b0316836001600160a01b031614156114ad5760405162461bcd60e51b81526004016107fe90612752565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31906115119085906119ed565b60405180910390a3505050565b611529848484611200565b611535848484846116a7565b610f455760405162461bcd60e51b81526004016107fe906127b1565b6060600c805461074790611fa5565b6060816115845750506040805180820190915260018152600360fc1b602082015290565b8160005b81156115ae5780611598816124da565b91506115a79050600a836121b5565b9150611588565b60008167ffffffffffffffff8111156115c9576115c9611dfb565b6040519080825280601f01601f1916602001820160405280156115f3576020820181803683370190505b5090505b84156111f857611608600183612315565b9150611615600a866127c1565b6116209060306123e8565b60f81b818381518110611635576116356127d5565b60200101906001600160f81b031916908160001a905350611657600a866121b5565b94506115f7565b60008261166b85846117b1565b14949350505050565b61167e8383611825565b61168b60008484846116a7565b6108a45760405162461bcd60e51b81526004016107fe906127b1565b60006001600160a01b0384163b156117a957604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906116eb9033908990889088906004016127eb565b602060405180830381600087803b15801561170557600080fd5b505af1925050508015611735575060408051601f3d908101601f1916820190925261173291810190612830565b60015b61178f573d808015611763576040519150601f19603f3d011682016040523d82523d6000602084013e611768565b606091505b5080516117875760405162461bcd60e51b81526004016107fe906127b1565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506111f8565b5060016111f8565b600081815b845181101561181d5760008582815181106117d3576117d36127d5565b602002602001015190508083116117f9576000838152602082905260409020925061180a565b600081815260208490526040902092505b5080611815816124da565b9150506117b6565b509392505050565b6001600160a01b03821661184b5760405162461bcd60e51b81526004016107fe90612883565b6000818152600260205260409020546001600160a01b0316156118805760405162461bcd60e51b81526004016107fe906128c7565b6001600160a01b03821660009081526003602052604081208054600192906118a99084906123e8565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461191390611fa5565b90600052602060002090601f016020900481019282611935576000855561197b565b82601f1061194e5782800160ff1982351617855561197b565b8280016001018555821561197b579182015b8281111561197b578235825591602001919060010190611960565b5061198792915061198b565b5090565b5b80821115611987576000815560010161198c565b6001600160e01b031981165b8114610a4157600080fd5b8035610732816119a0565b6000602082840312156119d7576119d7600080fd5b60006111f884846119b7565b8015155b82525050565b6020810161073282846119e3565b60005b83811015611a165781810151838201526020016119fe565b83811115610f455750506000910152565b6000611a31825190565b808452602084019350611a488185602086016119fb565b601f01601f19169290920192915050565b60208082528101610fd78184611a27565b806119ac565b803561073281611a6a565b600060208284031215611a9057611a90600080fd5b60006111f88484611a70565b60006001600160a01b038216610732565b6119e781611a9c565b602081016107328284611aad565b6119ac81611a9c565b803561073281611ac4565b60008060408385031215611aee57611aee600080fd5b6000611afa8585611acd565b9250506020611b0b85828601611a70565b9150509250929050565b600060208284031215611b2a57611b2a600080fd5b60006111f88484611acd565b806119e7565b602081016107328284611b36565b60008083601f840112611b5f57611b5f600080fd5b50813567ffffffffffffffff811115611b7a57611b7a600080fd5b60208301915083600182028301111561098b5761098b600080fd5b60008060208385031215611bab57611bab600080fd5b823567ffffffffffffffff811115611bc557611bc5600080fd5b611bd185828601611b4a565b92509250509250929050565b600080600060608486031215611bf557611bf5600080fd5b6000611c018686611acd565b9350506020611c1286828701611acd565b9250506040611c2386828701611a70565b9150509250925092565b60008060408385031215611c4357611c43600080fd5b6000611afa8585611a70565b60408101611c5d8285611aad565b610fd76020830184611b36565b60038110610a4157600080fd5b803561073281611c6a565b600060208284031215611c9757611c97600080fd5b60006111f88484611c77565b634e487b7160e01b600052602160045260246000fd5b60038110610a4157610a41611ca3565b80611cd381611cb9565b919050565b600061073282611cc9565b6119e781611cd8565b602081016107328284611ce3565b60008083601f840112611d0f57611d0f600080fd5b50813567ffffffffffffffff811115611d2a57611d2a600080fd5b60208301915083602082028301111561098b5761098b600080fd5b60008060008060608587031215611d5e57611d5e600080fd5b6000611d6a8787611a70565b945050602085013567ffffffffffffffff811115611d8a57611d8a600080fd5b611d9687828801611cfa565b93509350506040611da987828801611a70565b91505092959194509250565b8015156119ac565b803561073281611db5565b60008060408385031215611dde57611dde600080fd5b6000611dea8585611acd565b9250506020611b0b85828601611dbd565b634e487b7160e01b600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff82111715611e3757611e37611dfb565b6040525050565b6000611e4960405190565b9050611cd38282611e11565b600067ffffffffffffffff821115611e6f57611e6f611dfb565b601f19601f83011660200192915050565b82818337506000910152565b6000611e9f611e9a84611e55565b611e3e565b905082815260208101848484011115611eba57611eba600080fd5b61181d848285611e80565b600082601f830112611ed957611ed9600080fd5b81356111f8848260208601611e8c565b60008060008060808587031215611f0257611f02600080fd5b6000611f0e8787611acd565b9450506020611f1f87828801611acd565b9350506040611f3087828801611a70565b925050606085013567ffffffffffffffff811115611f5057611f50600080fd5b611da987828801611ec5565b60008060408385031215611f7257611f72600080fd5b6000611f7e8585611acd565b9250506020611b0b85828601611acd565b634e487b7160e01b600052602260045260246000fd5b600281046001821680611fb957607f821691505b60208210811415611fcc57611fcc611f8f565b50919050565b602c81526000602082017f4552433732313a20617070726f76656420717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b602082015291505b5060400190565b6020808252810161073281611fd2565b602181526000602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b60208201529150612017565b602080825281016107328161202e565b603881526000602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7781527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060208201529150612017565b602080825281016107328161207c565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572910190815260005b5060200190565b60208082528101610732816120e6565b603181526000602082017f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f8152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b60208201529150612017565b602080825281016107328161212b565b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000826121c4576121c4612189565b500490565b60008160001904831182151516156121e3576121e361219f565b500290565b602981526000602082017f4552433732313a206f776e657220717565727920666f72206e6f6e657869737481526832b73a103a37b5b2b760b91b60208201529150612017565b60208082528101610732816121e8565b602a81526000602082017f4552433732313a2062616c616e636520717565727920666f7220746865207a65815269726f206164647265737360b01b60208201529150612017565b602080825281016107328161223e565b601f81526000602082017f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081529150612114565b6020808252810161073281612295565b601581526000602082017450726573616c65206973206e6f742061637469766560581b81529150612114565b60208082528101610732816122d9565b6000828210156123275761232761219f565b500390565b601781526000602082017f496e73756666696369656e74206d696e7473206c65667400000000000000000081529150612114565b602080825281016107328161232c565b601881526000602082017f496e636f72726563742070617961626c6520616d6f756e74000000000000000081529150612114565b6020808252810161073281612370565b600d81526000602082016c24b73b30b634b210383937b7b360991b81529150612114565b60208082528101610732816123b4565b600082198211156123fb576123fb61219f565b500190565b601981526000602082017f5075626c69632073616c65206973206e6f74206163746976650000000000000081529150612114565b6020808252810161073281612400565b601a81526000602082017f57696c6c20657863656564206d6178696d756d20737570706c7900000000000081529150612114565b6020808252810161073281612444565b602581526000602082017f43616c6c696e67207769746820636f6e7472616374732061726520646973616c8152641b1bddd95960da1b60208201529150612017565b6020808252810161073281612488565b60006000198214156124ee576124ee61219f565b5060010190565b602f81526000602082017f4552433732314d657461646174613a2055524920717565727920666f72206e6f81526e3732bc34b9ba32b73a103a37b5b2b760891b60208201529150612017565b60208082528101610732816124f5565b600061255b825190565b6125698185602086016119fb565b9290920192915050565b600061257f8285612551565b91506111f88284612551565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b60208201529150612017565b602080825281016107328161258b565b602c81526000602082017f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b60208201529150612017565b60208082528101610732816125de565b602581526000602082017f4552433732313a207472616e736665722066726f6d20696e636f72726563742081526437bbb732b960d91b60208201529150612017565b6020808252810161073281612637565b602481526000602082017f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b60208201529150612017565b6020808252810161073281612689565b60006107328260601b90565b6000610732826126da565b6119e76126fd82611a9c565b6126e6565b600061270e82856126f1565b6014820191506111f88284612551565b601981526000602082017f4552433732313a20617070726f766520746f2063616c6c65720000000000000081529150612114565b602080825281016107328161271e565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60208201529150612017565b6020808252810161073281612762565b6000826127d0576127d0612189565b500690565b634e487b7160e01b600052603260045260246000fd5b608081016127f98287611aad565b6128066020830186611aad565b6128136040830185611b36565b81810360608301526114578184611a27565b8051610732816119a0565b60006020828403121561284557612845600080fd5b60006111f88484612825565b60208082527f4552433732313a206d696e7420746f20746865207a65726f206164647265737391019081526000612114565b6020808252810161073281612851565b601c81526000602082017f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081529150612114565b602080825281016107328161289356fea26469706673582212203d32e8b1de854b1151090d836e325fef421cbde70287ebc2274e9f500bdf3b9164736f6c63430008090033

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

0000000000000000000000006c60c67c636a5acbea9e50773b81e75cd46f62eb000000000000000000000000d859b1007bd3aac6eb1f5302b5cd5debc587b1d2000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000002668747470733a2f2f6b6962617473756d656368612e636f6d2f6170692f6d657461646174612f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003268747470733a2f2f6b6962617473756d656368612e636f6d2f6170692f6d657461646174612f4b6962617473754d656368610000000000000000000000000000

-----Decoded View---------------
Arg [0] : _beneficiary (address): 0x6C60c67C636A5AcBea9e50773b81E75cd46F62Eb
Arg [1] : _royalties (address): 0xd859B1007bd3AAC6eb1F5302b5cD5DeBC587b1d2
Arg [2] : _initialBaseURI (string): https://kibatsumecha.com/api/metadata/
Arg [3] : _initialContractURI (string): https://kibatsumecha.com/api/metadata/KibatsuMecha

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000006c60c67c636a5acbea9e50773b81e75cd46f62eb
Arg [1] : 000000000000000000000000d859b1007bd3aac6eb1f5302b5cd5debc587b1d2
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000026
Arg [5] : 68747470733a2f2f6b6962617473756d656368612e636f6d2f6170692f6d6574
Arg [6] : 61646174612f0000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [8] : 68747470733a2f2f6b6962617473756d656368612e636f6d2f6170692f6d6574
Arg [9] : 61646174612f4b6962617473754d656368610000000000000000000000000000


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.