Contract 0x8E6f96AAaBE1EA5051BF1299e4034eb9Ef0bd474

 
 
Txn Hash
Method
Block
From
To
Value
0x6278acaf78a040547809d3c744dfc328df7e5a764fde9bb920637ccf4cb7a026Set Approval For...158615252022-10-30 14:38:1137 days 20 hrs ago0xe28738998a6e38fa7ce284d31e3078ff2e515ecf IN  0x8e6f96aaabe1ea5051bf1299e4034eb9ef0bd4740 Ether0.00043788 9.37650424
0xed5d24651d1896916bf110f4a8a0688b200eb854fa1b79ac8c0ff62558ece9f9Safe Transfer Fr...158596032022-10-30 8:12:4738 days 3 hrs ago0xbafd95f0d58366cd4a4bf47afce45b2028e59cba IN  0x8e6f96aaabe1ea5051bf1299e4034eb9ef0bd4740 Ether0.00056661 9.19536999
0x6b1e0442e079e4f36b4d3a578f8433fc6623dacd3e24d84955ce6da59e298fe2Set Approval For...156569472022-10-02 0:43:2366 days 10 hrs agoENS Name 000445.eth IN  0x8e6f96aaabe1ea5051bf1299e4034eb9ef0bd4740 Ether0.0002508 5.37056271
0x0d65080db4a45095474a909c7e6ee1d47c8627438f50e36b8cec6b04b4e90b09Set Approval For...154401372022-08-30 11:33:5398 days 23 hrs ago0x1589b7686f96575497563e0da902d1097281d741 IN  0x8e6f96aaabe1ea5051bf1299e4034eb9ef0bd4740 Ether0.00055695 11.92633763
0x4b7bd08c40f72c3b4ae203272166d7690b52c72e0ff063c777e79219c0f8530fApprove153186732022-08-11 4:44:59118 days 6 hrs ago0x8c1a585033bac451c75ee39ca654a310767f5c37 IN  0x8e6f96aaabe1ea5051bf1299e4034eb9ef0bd4740 Ether0.00083962 17.03780571
0x46d915093748e80607ee7e61113147929c033526644fa810b64fc8441801c05fApprove153185572022-08-11 4:18:08118 days 6 hrs ago0x8c1a585033bac451c75ee39ca654a310767f5c37 IN  0x8e6f96aaabe1ea5051bf1299e4034eb9ef0bd4740 Ether0.00070738 14.35430824
0x5b7383d031e865c2ceb71ecff9200e7d7dbc8794b201e7ebe7a9c291adf2719cApprove153184912022-08-11 4:02:47118 days 7 hrs ago0x8c1a585033bac451c75ee39ca654a310767f5c37 IN  0x8e6f96aaabe1ea5051bf1299e4034eb9ef0bd4740 Ether0.00118693 24.08546563
0xb9ce2ecb98c327c3da601cba18543011cb15ed80a3b61fec42ded5912c9a42a3Approve153182402022-08-11 3:01:51118 days 8 hrs ago0x8c1a585033bac451c75ee39ca654a310767f5c37 IN  0x8e6f96aaabe1ea5051bf1299e4034eb9ef0bd4740 Ether0.00283963 57.62256183
0x6ea8f3198cf741461054ef41f922dfb221c0dc4a1fdff68891ba41c8d27ecd25Approve153084782022-08-09 14:18:44119 days 20 hrs ago0x8c1a585033bac451c75ee39ca654a310767f5c37 IN  0x8e6f96aaabe1ea5051bf1299e4034eb9ef0bd4740 Ether0.0019752 40.08120871
0x6cd5a04219810e0bc636465ee54735ed1d7078ce8b97778e25cc3e8bb7e9e1f2Set Approval For...152758322022-08-04 12:16:59124 days 22 hrs ago0x935d975f0a988dff9794260c95ca903d20888aa5 IN  0x8e6f96aaabe1ea5051bf1299e4034eb9ef0bd4740 Ether0.00049896 10.68442659
0xeb79b927946d5757ce70f80528366947e50353699f66e6d56fb59787024abdfcWithdraw150827142022-07-05 13:10:57154 days 22 hrs ago0xa5bbac61003cf7ba6e71eafc9077c992f020ad14 IN  0x8e6f96aaabe1ea5051bf1299e4034eb9ef0bd4740 Ether0.00087114 26.77559848
0xf96a3cbd4a23d1b67a6da98d753042a5393d8ed6ea4acef5611a3fdd5ab8bb57Set Approval For...150280172022-06-26 8:03:20164 days 3 hrs ago0x934c8555e7fac46f40955191d90f3c0a5e0321fd IN  0x8e6f96aaabe1ea5051bf1299e4034eb9ef0bd4740 Ether0.00110804 23.72676711
0x0ec59aa226aa21400542c236c03d7ac3a2b55e22c0d531cd5ea8c1746b673993Set Approval For...148324362022-05-23 23:34:25197 days 11 hrs ago0x0ed38f5bcb37cdd65e988706cd560fbd6b2e28bd IN  0x8e6f96aaabe1ea5051bf1299e4034eb9ef0bd4740 Ether0.00072886 15.57935178
0x5b80e8fa178224843a735a38ff43f650844dfa90ffbe2028bb2b056ee7435867Set Approval For...148048352022-05-19 11:57:43201 days 23 hrs ago0x13afb515d002b88d8555f8bbc397a500782fe83d IN  0x8e6f96aaabe1ea5051bf1299e4034eb9ef0bd4740 Ether0.00055843 20.77186209
0xb5db958ca0d2781c3c175d809757e87a5c27b62c810421a1326243824bc4a023Set Approval For...148048342022-05-19 11:57:38201 days 23 hrs ago0x13afb515d002b88d8555f8bbc397a500782fe83d IN  0x8e6f96aaabe1ea5051bf1299e4034eb9ef0bd4740 Ether0.00103566 22.13716811
0xe54c8518b7cbde540b0ab3aedb74949b6b727c84cc200bed35ec3f91b0b0ce39Transfer From147047122022-05-03 12:42:56217 days 22 hrs ago0x0fcc48f1363a65358de39c702c9f2ff38291c6fd IN  0x8e6f96aaabe1ea5051bf1299e4034eb9ef0bd4740 Ether0.00348356 54.84287053
0x2d0bfda4ceb1997127b11607b04d70f9c30688cd76a2aaf7262ef05e5bf19c6dTransfer From147047022022-05-03 12:40:46217 days 22 hrs ago0x0fcc48f1363a65358de39c702c9f2ff38291c6fd IN  0x8e6f96aaabe1ea5051bf1299e4034eb9ef0bd4740 Ether0.00459918 72.39270093
0xd1b0095d5e36f38aa4c5e63d010a0e82f695f18553d5ff1be17112368dc93898Transfer From147046982022-05-03 12:38:53217 days 22 hrs ago0x0fcc48f1363a65358de39c702c9f2ff38291c6fd IN  0x8e6f96aaabe1ea5051bf1299e4034eb9ef0bd4740 Ether0.00361178 56.85079961
0x3bc66c4edc8dbd50b4012fed86939d5f37c0668641667e4a55a61aa823db728eTransfer From147046962022-05-03 12:38:11217 days 22 hrs ago0x0fcc48f1363a65358de39c702c9f2ff38291c6fd IN  0x8e6f96aaabe1ea5051bf1299e4034eb9ef0bd4740 Ether0.00314375 49.48385746
0x187eac26d3c1e925191570586a47931c44ab37cdf50349e220af7e17c0a0ebecTransfer From147046882022-05-03 12:36:28217 days 22 hrs ago0x0fcc48f1363a65358de39c702c9f2ff38291c6fd IN  0x8e6f96aaabe1ea5051bf1299e4034eb9ef0bd4740 Ether0.00353433 55.63158191
0x5f797d84c92c2fc86d09f42bc1b54f2e02f424d8235a685c7044bc8d20fd0107Transfer From147046702022-05-03 12:31:54217 days 22 hrs ago0x0fcc48f1363a65358de39c702c9f2ff38291c6fd IN  0x8e6f96aaabe1ea5051bf1299e4034eb9ef0bd4740 Ether0.00271257 42.69691346
0xf67d16dbc4be0bce3f449374491cdb8151b1e7d2435d59cbaf5d77f6b070f97aTransfer From147046582022-05-03 12:30:23217 days 22 hrs ago0x0fcc48f1363a65358de39c702c9f2ff38291c6fd IN  0x8e6f96aaabe1ea5051bf1299e4034eb9ef0bd4740 Ether0.00343649 54.09161855
0xcdb2b91ae273c001664d3b6fcf096852a75c7fd9a01a0d81bb9a7ac13b309368Transfer From147046492022-05-03 12:28:21217 days 22 hrs ago0x0fcc48f1363a65358de39c702c9f2ff38291c6fd IN  0x8e6f96aaabe1ea5051bf1299e4034eb9ef0bd4740 Ether0.0035293 55.55248507
0x319e50c6ba814a77084f7a023838049a830bd08226a29d5269f8b079c885209cTransfer From146165112022-04-19 16:04:22231 days 19 hrs ago0xc70f88142b0a8d28e7883cd22270dc995a9f9a19 IN  0x8e6f96aaabe1ea5051bf1299e4034eb9ef0bd4740 Ether0.00212224 45.70748281
0x4372efbe228263372bc514ddfbfdb17fe3666f0199e1b84d85c04410e7d2beb2Transfer From146090662022-04-18 12:00:42232 days 23 hrs ago0x0fcc48f1363a65358de39c702c9f2ff38291c6fd IN  0x8e6f96aaabe1ea5051bf1299e4034eb9ef0bd4740 Ether0.00120458 25.94365302
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0xeb79b927946d5757ce70f80528366947e50353699f66e6d56fb59787024abdfc150827142022-07-05 13:10:57154 days 22 hrs ago 0x8e6f96aaabe1ea5051bf1299e4034eb9ef0bd4740xa5bbac61003cf7ba6e71eafc9077c992f020ad1416.69 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SamuraiCollection

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 19 : SamuraiCollection.sol
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.11;

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

contract SamuraiCollection is ERC721URIStorage, Ownable, AccessControl, Pausable, IERC2981  {
    using Strings for uint256;
    using Counters for Counters.Counter;

    bytes32 public constant BURNER_ROLE = keccak256("BURNER_ROLE");
    uint256 constant TOTAL_SUPPLY = 10144;
    uint256 constant INITIAL_TOKENID = 3700;
    
    Counters.Counter private _tokenIds;
    string private _baseTokenUri;

    uint256 public mintPrice = 0.1 ether;    
    address public beneficiary;
    address public royalties; 
    bytes32 public merkleRoot;
    bool public isActive = false;  
    uint256 public royaltyFee = 425;
    bool public whiteListRequired = true;

    constructor(address _beneficiary, address _royalties, string memory _baseUrl) ERC721("Ninja Fantasy Trader Presale", "NFTS"){
        beneficiary = _beneficiary;
        royalties = _royalties;
        _baseTokenUri = _baseUrl;

        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _setupRole(BURNER_ROLE, msg.sender);
        _tokenIds.setInitialValue(INITIAL_TOKENID);
    }    

    event TraderMinted(uint256 tokenId);

    function _mintTrader() private whenNotPaused returns (uint){
        _tokenIds.increment();
        uint256 newItemId = _tokenIds.current();        
        
        _safeMint(msg.sender, newItemId);
                
        emit TraderMinted(newItemId);
        return newItemId;
    }

    function ownerMint(uint256 count) public onlyOwner whenNotPaused returns (uint256[] memory){  
        require(count > 0, "Must insert value");
        uint256 currentId = _tokenIds.current();      
        require(currentId + count < TOTAL_SUPPLY + INITIAL_TOKENID, "Maximum supply reached"); //plus 3700 because the item id starts by 3701
        
        uint256[] memory tokens = new uint256[](count);

        for (uint256 index = 0; index < count; index++) {
            tokens[index] = _mintTrader();
        }

        return tokens;
    }

    function mintTraders(uint256 count, uint256 _maxMintAllowed, bytes32[] calldata merkleProof) public payable whenNotPaused returns (uint256[] memory) {
        require(isActive, "Sale is closed");
        require(count > 0, "Must insert value");
        require(count <= _maxMintAllowed, "You have reached mint allowed");
        require((mintPrice * count) == msg.value, "Incorrect payable amount");
        require((_verify(merkleProof, msg.sender, _maxMintAllowed) || whiteListRequired == false), "Invalid proof");
       
        uint256 tokenBalance = balanceOf(msg.sender);
        require((tokenBalance + count) <= _maxMintAllowed, "Max allowed mint reached");

        uint256 currentId = _tokenIds.current();      
        require(currentId + count < TOTAL_SUPPLY + INITIAL_TOKENID, "Maximum supply reached"); //plus 3700 because the item id starts by 3701

        uint256[] memory tokens = new uint256[](count);

        for (uint256 index = 0; index < count; index++) {
            tokens[index] = _mintTrader();
        }

        return tokens;
    }

    function addBurnedRole(address account) public{
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Not authorized");
        _setupRole(BURNER_ROLE, account);
    }

    function burn(uint256 tokenId) public{
        require(hasRole(BURNER_ROLE, msg.sender), "Caller is not a burner");
        _tokenIds.decrement();
        _burn(tokenId);
    }

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

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

    function setActive(bool _isActive) public onlyOwner {
        isActive = _isActive;
    }

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

    function setMintPrice(uint256 price) public onlyOwner {
        mintPrice = price;
    }

    function totalSupply() public view returns (uint256) {
        return _tokenIds.current() - INITIAL_TOKENID;
    }

    function setRoyaltyFee(uint256 value) public onlyOwner{
        royaltyFee = value;
    }

    function setBaseUri(string memory value) public onlyOwner{
        _baseTokenUri = value;
    }

    function setWhiteListRequired(bool _whiteListRequired) public onlyOwner{
        whiteListRequired = _whiteListRequired;
    }

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

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

    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);
    }
   
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, AccessControl, IERC165) returns (bool){
        return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);
    }   

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

File 2 of 19 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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);
    }

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev 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 {}
}

File 3 of 19 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.11;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }

    function setInitialValue(Counter storage counter, uint256 value) internal{
        counter._value = value;
    }
}

File 4 of 19 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 5 of 19 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/ERC721URIStorage.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

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

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @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 override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

File 6 of 19 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 7 of 19 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 8 of 19 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Called with the sale price to determine how much royalty is owed and to whom.
     * @param tokenId - the NFT asset queried for royalty information
     * @param salePrice - the sale price of the NFT asset specified by `tokenId`
     * @return receiver - address of who should be sent the royalty payment
     * @return royaltyAmount - the royalty payment amount for `salePrice`
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 9 of 19 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 10 of 19 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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 = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

File 11 of 19 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 12 of 19 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 13 of 19 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 14 of 19 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 15 of 19 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 16 of 19 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 17 of 19 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 18 of 19 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

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

pragma solidity ^0.8.0;

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

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "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":"_baseUrl","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"TraderMinted","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"BURNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addBurnedRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beneficiary","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"uint256","name":"_maxMintAllowed","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintTraders","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"ownerMint","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royalties","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyFee","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":[{"internalType":"bool","name":"_isActive","type":"bool"}],"name":"setActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"value","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":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleProof","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royalties","type":"address"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setRoyaltyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_whiteListRequired","type":"bool"}],"name":"setWhiteListRequired","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":"whiteListRequired","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405267016345785d8a0000600c556000601060006101000a81548160ff0219169083151502179055506101a96011556001601260006101000a81548160ff0219169083151502179055503480156200005957600080fd5b50604051620061aa380380620061aa83398181016040528101906200007f919062000762565b6040518060400160405280601c81526020017f4e696e6a612046616e74617379205472616465722050726573616c65000000008152506040518060400160405280600481526020017f4e46545300000000000000000000000000000000000000000000000000000000815250816000908051906020019062000103929190620004b0565b5080600190805190602001906200011c929190620004b0565b5050506200013f620001336200026260201b60201c565b6200026a60201b60201c565b6000600960006101000a81548160ff02191690831515021790555082600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600b9080519060200190620001f4929190620004b0565b506200020a6000801b336200033060201b60201c565b6200023c7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848336200033060201b60201c565b62000259610e74600a6200034660201b6200226b1790919060201c565b50505062000842565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200034282826200035360201b60201c565b5050565b8082600001819055505050565b6200036582826200044560201b60201c565b620004415760016008600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620003e66200026260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006008600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b828054620004be906200080c565b90600052602060002090601f016020900481019282620004e257600085556200052e565b82601f10620004fd57805160ff19168380011785556200052e565b828001600101855582156200052e579182015b828111156200052d57825182559160200191906001019062000510565b5b5090506200053d919062000541565b5090565b5b808211156200055c57600081600090555060010162000542565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620005a18262000574565b9050919050565b620005b38162000594565b8114620005bf57600080fd5b50565b600081519050620005d381620005a8565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200062e82620005e3565b810181811067ffffffffffffffff8211171562000650576200064f620005f4565b5b80604052505050565b60006200066562000560565b905062000673828262000623565b919050565b600067ffffffffffffffff821115620006965762000695620005f4565b5b620006a182620005e3565b9050602081019050919050565b60005b83811015620006ce578082015181840152602081019050620006b1565b83811115620006de576000848401525b50505050565b6000620006fb620006f58462000678565b62000659565b9050828152602081018484840111156200071a5762000719620005de565b5b62000727848285620006ae565b509392505050565b600082601f830112620007475762000746620005d9565b5b815162000759848260208601620006e4565b91505092915050565b6000806000606084860312156200077e576200077d6200056a565b5b60006200078e86828701620005c2565b9350506020620007a186828701620005c2565b925050604084015167ffffffffffffffff811115620007c557620007c46200056f565b5b620007d3868287016200072f565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200082557607f821691505b602082108114156200083c576200083b620007dd565b5b50919050565b61595880620008526000396000f3fe60806040526004361061027d5760003560e01c80636352211e1161014f578063a96a88dc116100c1578063d547741f1161007a578063d547741f14610988578063e985e9c5146109b1578063f053dc5c146109ee578063f19e75d414610a19578063f2fde38b14610a56578063f4a0a52814610a7f5761027d565b8063a96a88dc14610873578063acec338a146108a3578063b70ddeaf146108cc578063b88d4fde146108f7578063b8997a9714610920578063c87b56dd1461094b5761027d565b80638da5cb5b116101135780638da5cb5b1461076357806391d148541461078e57806395d89b41146107cb578063a0bcfc7f146107f6578063a217fddf1461081f578063a22cb4651461084a5761027d565b80636352211e1461067e5780636817c76c146106bb57806370a08231146106e6578063715018a614610723578063867589121461073a5761027d565b80632a55205a116101f35780633ccfd60b116101ac5780633ccfd60b146105985780633e4086e5146105af5780633efcb56e146105d857806342842e0e1461060157806342966c681461062a5780635c975abb146106535761027d565b80632a55205a146104895780632a9e63c6146104c75780632eb4a7ab146104f05780632f2ff15d1461051b57806336568abe1461054457806338af3eed1461056d5761027d565b80631828dc39116102455780631828dc391461037b5780631c31f710146103a457806322f3e2d4146103cd57806323b872dd146103f8578063248a9ca314610421578063282c51f31461045e5761027d565b806301ffc9a71461028257806306fdde03146102bf578063081812fc146102ea578063095ea7b31461032757806318160ddd14610350575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a49190613b95565b610aa8565b6040516102b69190613bdd565b60405180910390f35b3480156102cb57600080fd5b506102d4610b22565b6040516102e19190613c91565b60405180910390f35b3480156102f657600080fd5b50610311600480360381019061030c9190613ce9565b610bb4565b60405161031e9190613d57565b60405180910390f35b34801561033357600080fd5b5061034e60048036038101906103499190613d9e565b610c39565b005b34801561035c57600080fd5b50610365610d51565b6040516103729190613ded565b60405180910390f35b34801561038757600080fd5b506103a2600480360381019061039d9190613e08565b610d6f565b005b3480156103b057600080fd5b506103cb60048036038101906103c69190613e08565b610de8565b005b3480156103d957600080fd5b506103e2610ea8565b6040516103ef9190613bdd565b60405180910390f35b34801561040457600080fd5b5061041f600480360381019061041a9190613e35565b610ebb565b005b34801561042d57600080fd5b5061044860048036038101906104439190613ebe565b610f1b565b6040516104559190613efa565b60405180910390f35b34801561046a57600080fd5b50610473610f3b565b6040516104809190613efa565b60405180910390f35b34801561049557600080fd5b506104b060048036038101906104ab9190613f15565b610f5f565b6040516104be929190613f55565b60405180910390f35b3480156104d357600080fd5b506104ee60048036038101906104e99190613e08565b610fab565b005b3480156104fc57600080fd5b5061050561106b565b6040516105129190613efa565b60405180910390f35b34801561052757600080fd5b50610542600480360381019061053d9190613f7e565b611071565b005b34801561055057600080fd5b5061056b60048036038101906105669190613f7e565b61109a565b005b34801561057957600080fd5b5061058261111d565b60405161058f9190613d57565b60405180910390f35b3480156105a457600080fd5b506105ad611143565b005b3480156105bb57600080fd5b506105d660048036038101906105d19190613ce9565b61122a565b005b3480156105e457600080fd5b506105ff60048036038101906105fa9190613fea565b6112b0565b005b34801561060d57600080fd5b5061062860048036038101906106239190613e35565b611349565b005b34801561063657600080fd5b50610651600480360381019061064c9190613ce9565b611369565b005b34801561065f57600080fd5b506106686113e8565b6040516106759190613bdd565b60405180910390f35b34801561068a57600080fd5b506106a560048036038101906106a09190613ce9565b6113ff565b6040516106b29190613d57565b60405180910390f35b3480156106c757600080fd5b506106d06114b1565b6040516106dd9190613ded565b60405180910390f35b3480156106f257600080fd5b5061070d60048036038101906107089190613e08565b6114b7565b60405161071a9190613ded565b60405180910390f35b34801561072f57600080fd5b5061073861156f565b005b34801561074657600080fd5b50610761600480360381019061075c9190613ebe565b6115f7565b005b34801561076f57600080fd5b5061077861167d565b6040516107859190613d57565b60405180910390f35b34801561079a57600080fd5b506107b560048036038101906107b09190613f7e565b6116a7565b6040516107c29190613bdd565b60405180910390f35b3480156107d757600080fd5b506107e0611712565b6040516107ed9190613c91565b60405180910390f35b34801561080257600080fd5b5061081d6004803603810190610818919061414c565b6117a4565b005b34801561082b57600080fd5b5061083461183a565b6040516108419190613efa565b60405180910390f35b34801561085657600080fd5b50610871600480360381019061086c9190614195565b611841565b005b61088d60048036038101906108889190614235565b611857565b60405161089a9190614367565b60405180910390f35b3480156108af57600080fd5b506108ca60048036038101906108c59190613fea565b611b94565b005b3480156108d857600080fd5b506108e1611c2d565b6040516108ee9190613bdd565b60405180910390f35b34801561090357600080fd5b5061091e6004803603810190610919919061442a565b611c40565b005b34801561092c57600080fd5b50610935611ca2565b6040516109429190613ded565b60405180910390f35b34801561095757600080fd5b50610972600480360381019061096d9190613ce9565b611ca8565b60405161097f9190613c91565b60405180910390f35b34801561099457600080fd5b506109af60048036038101906109aa9190613f7e565b611dfa565b005b3480156109bd57600080fd5b506109d860048036038101906109d391906144ad565b611e23565b6040516109e59190613bdd565b60405180910390f35b3480156109fa57600080fd5b50610a03611eb7565b604051610a109190613d57565b60405180910390f35b348015610a2557600080fd5b50610a406004803603810190610a3b9190613ce9565b611edd565b604051610a4d9190614367565b60405180910390f35b348015610a6257600080fd5b50610a7d6004803603810190610a789190613e08565b6120ed565b005b348015610a8b57600080fd5b50610aa66004803603810190610aa19190613ce9565b6121e5565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b1b5750610b1a82612278565b5b9050919050565b606060008054610b319061451c565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5d9061451c565b8015610baa5780601f10610b7f57610100808354040283529160200191610baa565b820191906000526020600020905b815481529060010190602001808311610b8d57829003601f168201915b5050505050905090565b6000610bbf826122f2565b610bfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf5906145c0565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c44826113ff565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cac90614652565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cd461235e565b73ffffffffffffffffffffffffffffffffffffffff161480610d035750610d0281610cfd61235e565b611e23565b5b610d42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d39906146e4565b60405180910390fd5b610d4c8383612366565b505050565b6000610e74610d60600a61241f565b610d6a9190614733565b905090565b610d7c6000801b336116a7565b610dbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db2906147b3565b60405180910390fd5b610de57f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a8488261242d565b50565b610df061235e565b73ffffffffffffffffffffffffffffffffffffffff16610e0e61167d565b73ffffffffffffffffffffffffffffffffffffffff1614610e64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5b9061481f565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601060009054906101000a900460ff1681565b610ecc610ec661235e565b8261243b565b610f0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f02906148b1565b60405180910390fd5b610f16838383612519565b505050565b600060086000838152602001908152602001600020600101549050919050565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b60008061271060115484610f7391906148d1565b610f7d919061495a565b9050600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691509250929050565b610fb361235e565b73ffffffffffffffffffffffffffffffffffffffff16610fd161167d565b73ffffffffffffffffffffffffffffffffffffffff1614611027576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101e9061481f565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600f5481565b61107a82610f1b565b61108b8161108661235e565b612775565b6110958383612812565b505050565b6110a261235e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461110f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611106906149fd565b60405180910390fd5b61111982826128f3565b5050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61114b61235e565b73ffffffffffffffffffffffffffffffffffffffff1661116961167d565b73ffffffffffffffffffffffffffffffffffffffff16146111bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b69061481f565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611227573d6000803e3d6000fd5b50565b61123261235e565b73ffffffffffffffffffffffffffffffffffffffff1661125061167d565b73ffffffffffffffffffffffffffffffffffffffff16146112a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129d9061481f565b60405180910390fd5b8060118190555050565b6112b861235e565b73ffffffffffffffffffffffffffffffffffffffff166112d661167d565b73ffffffffffffffffffffffffffffffffffffffff161461132c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113239061481f565b60405180910390fd5b80601260006101000a81548160ff02191690831515021790555050565b61136483838360405180602001604052806000815250611c40565b505050565b6113937f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848336116a7565b6113d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c990614a69565b60405180910390fd5b6113dc600a6129d5565b6113e581612a31565b50565b6000600960009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149f90614afb565b60405180910390fd5b80915050919050565b600c5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611528576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151f90614b8d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61157761235e565b73ffffffffffffffffffffffffffffffffffffffff1661159561167d565b73ffffffffffffffffffffffffffffffffffffffff16146115eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e29061481f565b60405180910390fd5b6115f56000612a84565b565b6115ff61235e565b73ffffffffffffffffffffffffffffffffffffffff1661161d61167d565b73ffffffffffffffffffffffffffffffffffffffff1614611673576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166a9061481f565b60405180910390fd5b80600f8190555050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006008600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600180546117219061451c565b80601f016020809104026020016040519081016040528092919081815260200182805461174d9061451c565b801561179a5780601f1061176f5761010080835404028352916020019161179a565b820191906000526020600020905b81548152906001019060200180831161177d57829003601f168201915b5050505050905090565b6117ac61235e565b73ffffffffffffffffffffffffffffffffffffffff166117ca61167d565b73ffffffffffffffffffffffffffffffffffffffff1614611820576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118179061481f565b60405180910390fd5b80600b9080519060200190611836929190613a46565b5050565b6000801b81565b61185361184c61235e565b8383612b4a565b5050565b60606118616113e8565b156118a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189890614bf9565b60405180910390fd5b601060009054906101000a900460ff166118f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e790614c65565b60405180910390fd5b60008511611933576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192a90614cd1565b60405180910390fd5b83851115611976576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196d90614d3d565b60405180910390fd5b3485600c5461198591906148d1565b146119c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bc90614da9565b60405180910390fd5b6119d183833387612cb7565b806119ef575060001515601260009054906101000a900460ff161515145b611a2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2590614e15565b60405180910390fd5b6000611a39336114b7565b9050848682611a489190614e35565b1115611a89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8090614ed7565b60405180910390fd5b6000611a95600a61241f565b9050610e746127a0611aa79190614e35565b8782611ab39190614e35565b10611af3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aea90614f43565b60405180910390fd5b60008767ffffffffffffffff811115611b0f57611b0e614021565b5b604051908082528060200260200182016040528015611b3d5781602001602082028036833780820191505090505b50905060005b88811015611b8557611b53612d46565b828281518110611b6657611b65614f63565b5b6020026020010181815250508080611b7d90614f92565b915050611b43565b50809350505050949350505050565b611b9c61235e565b73ffffffffffffffffffffffffffffffffffffffff16611bba61167d565b73ffffffffffffffffffffffffffffffffffffffff1614611c10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c079061481f565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b601260009054906101000a900460ff1681565b611c51611c4b61235e565b8361243b565b611c90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c87906148b1565b60405180910390fd5b611c9c84848484612df0565b50505050565b60115481565b6060611cb3826122f2565b611cf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce99061504d565b60405180910390fd5b6000600660008481526020019081526020016000208054611d129061451c565b80601f0160208091040260200160405190810160405280929190818152602001828054611d3e9061451c565b8015611d8b5780601f10611d6057610100808354040283529160200191611d8b565b820191906000526020600020905b815481529060010190602001808311611d6e57829003601f168201915b505050505090506000611d9c612e4c565b9050600081511415611db2578192505050611df5565b600082511115611de7578082604051602001611dcf9291906150a9565b60405160208183030381529060405292505050611df5565b611df084612ede565b925050505b919050565b611e0382610f1b565b611e1481611e0f61235e565b612775565b611e1e83836128f3565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060611ee761235e565b73ffffffffffffffffffffffffffffffffffffffff16611f0561167d565b73ffffffffffffffffffffffffffffffffffffffff1614611f5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f529061481f565b60405180910390fd5b611f636113e8565b15611fa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9a90614bf9565b60405180910390fd5b60008211611fe6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fdd90614cd1565b60405180910390fd5b6000611ff2600a61241f565b9050610e746127a06120049190614e35565b83826120109190614e35565b10612050576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204790614f43565b60405180910390fd5b60008367ffffffffffffffff81111561206c5761206b614021565b5b60405190808252806020026020018201604052801561209a5781602001602082028036833780820191505090505b50905060005b848110156120e2576120b0612d46565b8282815181106120c3576120c2614f63565b5b60200260200101818152505080806120da90614f92565b9150506120a0565b508092505050919050565b6120f561235e565b73ffffffffffffffffffffffffffffffffffffffff1661211361167d565b73ffffffffffffffffffffffffffffffffffffffff1614612169576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121609061481f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156121d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d09061513f565b60405180910390fd5b6121e281612a84565b50565b6121ed61235e565b73ffffffffffffffffffffffffffffffffffffffff1661220b61167d565b73ffffffffffffffffffffffffffffffffffffffff1614612261576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122589061481f565b60405180910390fd5b80600c8190555050565b8082600001819055505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122eb57506122ea82612f85565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166123d9836113ff565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6124378282612812565b5050565b6000612446826122f2565b612485576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247c906151d1565b60405180910390fd5b6000612490836113ff565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806124ff57508373ffffffffffffffffffffffffffffffffffffffff166124e784610bb4565b73ffffffffffffffffffffffffffffffffffffffff16145b80612510575061250f8185611e23565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612539826113ff565b73ffffffffffffffffffffffffffffffffffffffff161461258f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258690615263565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f6906152f5565b60405180910390fd5b61260a838383613067565b612615600082612366565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126659190614733565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126bc9190614e35565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61277f82826116a7565b61280e576127a48173ffffffffffffffffffffffffffffffffffffffff16601461306c565b6127b28360001c602061306c565b6040516020016127c39291906153ad565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128059190613c91565b60405180910390fd5b5050565b61281c82826116a7565b6128ef5760016008600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061289461235e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6128fd82826116a7565b156129d15760006008600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061297661235e565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60008160000154905060008111612a21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1890615433565b60405180910390fd5b6001810382600001819055505050565b612a3a816132a8565b6000600660008381526020019081526020016000208054612a5a9061451c565b905014612a8157600660008281526020019081526020016000206000612a809190613acc565b5b50565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612bb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb09061549f565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612caa9190613bdd565b60405180910390a3505050565b60008083612cc4846133b9565b604051602001612cd5929190615507565b604051602081830303815290604052805190602001209050612d3b868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600f548361351a565b915050949350505050565b6000612d506113e8565b15612d90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8790614bf9565b60405180910390fd5b612d9a600a613531565b6000612da6600a61241f565b9050612db23382613547565b7f80f6ea47df062df97741afdaa208c01daa4d735b75ba99c55e9b73bb593cf7d081604051612de19190613ded565b60405180910390a18091505090565b612dfb848484612519565b612e0784848484613565565b612e46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3d906155a1565b60405180910390fd5b50505050565b6060600b8054612e5b9061451c565b80601f0160208091040260200160405190810160405280929190818152602001828054612e879061451c565b8015612ed45780601f10612ea957610100808354040283529160200191612ed4565b820191906000526020600020905b815481529060010190602001808311612eb757829003601f168201915b5050505050905090565b6060612ee9826122f2565b612f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1f90615633565b60405180910390fd5b6000612f32612e4c565b90506000815111612f525760405180602001604052806000815250612f7d565b80612f5c846133b9565b604051602001612f6d9291906150a9565b6040516020818303038152906040525b915050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061305057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613060575061305f826136ed565b5b9050919050565b505050565b60606000600283600261307f91906148d1565b6130899190614e35565b67ffffffffffffffff8111156130a2576130a1614021565b5b6040519080825280601f01601f1916602001820160405280156130d45781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061310c5761310b614f63565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106131705761316f614f63565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026131b091906148d1565b6131ba9190614e35565b90505b600181111561325a577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106131fc576131fb614f63565b5b1a60f81b82828151811061321357613212614f63565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061325390615653565b90506131bd565b506000841461329e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613295906156c9565b60405180910390fd5b8091505092915050565b60006132b3826113ff565b90506132c181600084613067565b6132cc600083612366565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461331c9190614733565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60606000821415613401576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613515565b600082905060005b6000821461343357808061341c90614f92565b915050600a8261342c919061495a565b9150613409565b60008167ffffffffffffffff81111561344f5761344e614021565b5b6040519080825280601f01601f1916602001820160405280156134815781602001600182028036833780820191505090505b5090505b6000851461350e5760018261349a9190614733565b9150600a856134a991906156e9565b60306134b59190614e35565b60f81b8183815181106134cb576134ca614f63565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613507919061495a565b9450613485565b8093505050505b919050565b6000826135278584613757565b1490509392505050565b6001816000016000828254019250508190555050565b61356182826040518060200160405280600081525061380a565b5050565b60006135868473ffffffffffffffffffffffffffffffffffffffff16613865565b156136e0578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026135af61235e565b8786866040518563ffffffff1660e01b81526004016135d1949392919061576f565b6020604051808303816000875af192505050801561360d57506040513d601f19601f8201168201806040525081019061360a91906157d0565b60015b613690573d806000811461363d576040519150601f19603f3d011682016040523d82523d6000602084013e613642565b606091505b50600081511415613688576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161367f906155a1565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506136e5565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008082905060005b84518110156137ff57600085828151811061377e5761377d614f63565b5b602002602001015190508083116137bf5782816040516020016137a292919061581e565b6040516020818303038152906040528051906020012092506137eb565b80836040516020016137d292919061581e565b6040516020818303038152906040528051906020012092505b5080806137f790614f92565b915050613760565b508091505092915050565b6138148383613878565b6138216000848484613565565b613860576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613857906155a1565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138df90615896565b60405180910390fd5b6138f1816122f2565b15613931576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161392890615902565b60405180910390fd5b61393d60008383613067565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461398d9190614e35565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054613a529061451c565b90600052602060002090601f016020900481019282613a745760008555613abb565b82601f10613a8d57805160ff1916838001178555613abb565b82800160010185558215613abb579182015b82811115613aba578251825591602001919060010190613a9f565b5b509050613ac89190613b0c565b5090565b508054613ad89061451c565b6000825580601f10613aea5750613b09565b601f016020900490600052602060002090810190613b089190613b0c565b5b50565b5b80821115613b25576000816000905550600101613b0d565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b7281613b3d565b8114613b7d57600080fd5b50565b600081359050613b8f81613b69565b92915050565b600060208284031215613bab57613baa613b33565b5b6000613bb984828501613b80565b91505092915050565b60008115159050919050565b613bd781613bc2565b82525050565b6000602082019050613bf26000830184613bce565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613c32578082015181840152602081019050613c17565b83811115613c41576000848401525b50505050565b6000601f19601f8301169050919050565b6000613c6382613bf8565b613c6d8185613c03565b9350613c7d818560208601613c14565b613c8681613c47565b840191505092915050565b60006020820190508181036000830152613cab8184613c58565b905092915050565b6000819050919050565b613cc681613cb3565b8114613cd157600080fd5b50565b600081359050613ce381613cbd565b92915050565b600060208284031215613cff57613cfe613b33565b5b6000613d0d84828501613cd4565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613d4182613d16565b9050919050565b613d5181613d36565b82525050565b6000602082019050613d6c6000830184613d48565b92915050565b613d7b81613d36565b8114613d8657600080fd5b50565b600081359050613d9881613d72565b92915050565b60008060408385031215613db557613db4613b33565b5b6000613dc385828601613d89565b9250506020613dd485828601613cd4565b9150509250929050565b613de781613cb3565b82525050565b6000602082019050613e026000830184613dde565b92915050565b600060208284031215613e1e57613e1d613b33565b5b6000613e2c84828501613d89565b91505092915050565b600080600060608486031215613e4e57613e4d613b33565b5b6000613e5c86828701613d89565b9350506020613e6d86828701613d89565b9250506040613e7e86828701613cd4565b9150509250925092565b6000819050919050565b613e9b81613e88565b8114613ea657600080fd5b50565b600081359050613eb881613e92565b92915050565b600060208284031215613ed457613ed3613b33565b5b6000613ee284828501613ea9565b91505092915050565b613ef481613e88565b82525050565b6000602082019050613f0f6000830184613eeb565b92915050565b60008060408385031215613f2c57613f2b613b33565b5b6000613f3a85828601613cd4565b9250506020613f4b85828601613cd4565b9150509250929050565b6000604082019050613f6a6000830185613d48565b613f776020830184613dde565b9392505050565b60008060408385031215613f9557613f94613b33565b5b6000613fa385828601613ea9565b9250506020613fb485828601613d89565b9150509250929050565b613fc781613bc2565b8114613fd257600080fd5b50565b600081359050613fe481613fbe565b92915050565b60006020828403121561400057613fff613b33565b5b600061400e84828501613fd5565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61405982613c47565b810181811067ffffffffffffffff8211171561407857614077614021565b5b80604052505050565b600061408b613b29565b90506140978282614050565b919050565b600067ffffffffffffffff8211156140b7576140b6614021565b5b6140c082613c47565b9050602081019050919050565b82818337600083830152505050565b60006140ef6140ea8461409c565b614081565b90508281526020810184848401111561410b5761410a61401c565b5b6141168482856140cd565b509392505050565b600082601f83011261413357614132614017565b5b81356141438482602086016140dc565b91505092915050565b60006020828403121561416257614161613b33565b5b600082013567ffffffffffffffff8111156141805761417f613b38565b5b61418c8482850161411e565b91505092915050565b600080604083850312156141ac576141ab613b33565b5b60006141ba85828601613d89565b92505060206141cb85828601613fd5565b9150509250929050565b600080fd5b600080fd5b60008083601f8401126141f5576141f4614017565b5b8235905067ffffffffffffffff811115614212576142116141d5565b5b60208301915083602082028301111561422e5761422d6141da565b5b9250929050565b6000806000806060858703121561424f5761424e613b33565b5b600061425d87828801613cd4565b945050602061426e87828801613cd4565b935050604085013567ffffffffffffffff81111561428f5761428e613b38565b5b61429b878288016141df565b925092505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6142de81613cb3565b82525050565b60006142f083836142d5565b60208301905092915050565b6000602082019050919050565b6000614314826142a9565b61431e81856142b4565b9350614329836142c5565b8060005b8381101561435a57815161434188826142e4565b975061434c836142fc565b92505060018101905061432d565b5085935050505092915050565b600060208201905081810360008301526143818184614309565b905092915050565b600067ffffffffffffffff8211156143a4576143a3614021565b5b6143ad82613c47565b9050602081019050919050565b60006143cd6143c884614389565b614081565b9050828152602081018484840111156143e9576143e861401c565b5b6143f48482856140cd565b509392505050565b600082601f83011261441157614410614017565b5b81356144218482602086016143ba565b91505092915050565b6000806000806080858703121561444457614443613b33565b5b600061445287828801613d89565b945050602061446387828801613d89565b935050604061447487828801613cd4565b925050606085013567ffffffffffffffff81111561449557614494613b38565b5b6144a1878288016143fc565b91505092959194509250565b600080604083850312156144c4576144c3613b33565b5b60006144d285828601613d89565b92505060206144e385828601613d89565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061453457607f821691505b60208210811415614548576145476144ed565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006145aa602c83613c03565b91506145b58261454e565b604082019050919050565b600060208201905081810360008301526145d98161459d565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061463c602183613c03565b9150614647826145e0565b604082019050919050565b6000602082019050818103600083015261466b8161462f565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006146ce603883613c03565b91506146d982614672565b604082019050919050565b600060208201905081810360008301526146fd816146c1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061473e82613cb3565b915061474983613cb3565b92508282101561475c5761475b614704565b5b828203905092915050565b7f4e6f7420617574686f72697a6564000000000000000000000000000000000000600082015250565b600061479d600e83613c03565b91506147a882614767565b602082019050919050565b600060208201905081810360008301526147cc81614790565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614809602083613c03565b9150614814826147d3565b602082019050919050565b60006020820190508181036000830152614838816147fc565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061489b603183613c03565b91506148a68261483f565b604082019050919050565b600060208201905081810360008301526148ca8161488e565b9050919050565b60006148dc82613cb3565b91506148e783613cb3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156149205761491f614704565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061496582613cb3565b915061497083613cb3565b9250826149805761497f61492b565b5b828204905092915050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b60006149e7602f83613c03565b91506149f28261498b565b604082019050919050565b60006020820190508181036000830152614a16816149da565b9050919050565b7f43616c6c6572206973206e6f742061206275726e657200000000000000000000600082015250565b6000614a53601683613c03565b9150614a5e82614a1d565b602082019050919050565b60006020820190508181036000830152614a8281614a46565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614ae5602983613c03565b9150614af082614a89565b604082019050919050565b60006020820190508181036000830152614b1481614ad8565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614b77602a83613c03565b9150614b8282614b1b565b604082019050919050565b60006020820190508181036000830152614ba681614b6a565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000614be3601083613c03565b9150614bee82614bad565b602082019050919050565b60006020820190508181036000830152614c1281614bd6565b9050919050565b7f53616c6520697320636c6f736564000000000000000000000000000000000000600082015250565b6000614c4f600e83613c03565b9150614c5a82614c19565b602082019050919050565b60006020820190508181036000830152614c7e81614c42565b9050919050565b7f4d75737420696e736572742076616c7565000000000000000000000000000000600082015250565b6000614cbb601183613c03565b9150614cc682614c85565b602082019050919050565b60006020820190508181036000830152614cea81614cae565b9050919050565b7f596f7520686176652072656163686564206d696e7420616c6c6f776564000000600082015250565b6000614d27601d83613c03565b9150614d3282614cf1565b602082019050919050565b60006020820190508181036000830152614d5681614d1a565b9050919050565b7f496e636f72726563742070617961626c6520616d6f756e740000000000000000600082015250565b6000614d93601883613c03565b9150614d9e82614d5d565b602082019050919050565b60006020820190508181036000830152614dc281614d86565b9050919050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b6000614dff600d83613c03565b9150614e0a82614dc9565b602082019050919050565b60006020820190508181036000830152614e2e81614df2565b9050919050565b6000614e4082613cb3565b9150614e4b83613cb3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e8057614e7f614704565b5b828201905092915050565b7f4d617820616c6c6f776564206d696e7420726561636865640000000000000000600082015250565b6000614ec1601883613c03565b9150614ecc82614e8b565b602082019050919050565b60006020820190508181036000830152614ef081614eb4565b9050919050565b7f4d6178696d756d20737570706c79207265616368656400000000000000000000600082015250565b6000614f2d601683613c03565b9150614f3882614ef7565b602082019050919050565b60006020820190508181036000830152614f5c81614f20565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614f9d82613cb3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614fd057614fcf614704565b5b600182019050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b6000615037603183613c03565b915061504282614fdb565b604082019050919050565b600060208201905081810360008301526150668161502a565b9050919050565b600081905092915050565b600061508382613bf8565b61508d818561506d565b935061509d818560208601613c14565b80840191505092915050565b60006150b58285615078565b91506150c18284615078565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615129602683613c03565b9150615134826150cd565b604082019050919050565b600060208201905081810360008301526151588161511c565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006151bb602c83613c03565b91506151c68261515f565b604082019050919050565b600060208201905081810360008301526151ea816151ae565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b600061524d602983613c03565b9150615258826151f1565b604082019050919050565b6000602082019050818103600083015261527c81615240565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006152df602483613c03565b91506152ea82615283565b604082019050919050565b6000602082019050818103600083015261530e816152d2565b9050919050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b600061534b60178361506d565b915061535682615315565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b600061539760118361506d565b91506153a282615361565b601182019050919050565b60006153b88261533e565b91506153c48285615078565b91506153cf8261538a565b91506153db8284615078565b91508190509392505050565b7f436f756e7465723a2064656372656d656e74206f766572666c6f770000000000600082015250565b600061541d601b83613c03565b9150615428826153e7565b602082019050919050565b6000602082019050818103600083015261544c81615410565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615489601983613c03565b915061549482615453565b602082019050919050565b600060208201905081810360008301526154b88161547c565b9050919050565b60008160601b9050919050565b60006154d7826154bf565b9050919050565b60006154e9826154cc565b9050919050565b6155016154fc82613d36565b6154de565b82525050565b600061551382856154f0565b6014820191506155238284615078565b91508190509392505050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061558b603283613c03565b91506155968261552f565b604082019050919050565b600060208201905081810360008301526155ba8161557e565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061561d602f83613c03565b9150615628826155c1565b604082019050919050565b6000602082019050818103600083015261564c81615610565b9050919050565b600061565e82613cb3565b9150600082141561567257615671614704565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006156b3602083613c03565b91506156be8261567d565b602082019050919050565b600060208201905081810360008301526156e2816156a6565b9050919050565b60006156f482613cb3565b91506156ff83613cb3565b92508261570f5761570e61492b565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b60006157418261571a565b61574b8185615725565b935061575b818560208601613c14565b61576481613c47565b840191505092915050565b60006080820190506157846000830187613d48565b6157916020830186613d48565b61579e6040830185613dde565b81810360608301526157b08184615736565b905095945050505050565b6000815190506157ca81613b69565b92915050565b6000602082840312156157e6576157e5613b33565b5b60006157f4848285016157bb565b91505092915050565b6000819050919050565b61581861581382613e88565b6157fd565b82525050565b600061582a8285615807565b60208201915061583a8284615807565b6020820191508190509392505050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615880602083613c03565b915061588b8261584a565b602082019050919050565b600060208201905081810360008301526158af81615873565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006158ec601c83613c03565b91506158f7826158b6565b602082019050919050565b6000602082019050818103600083015261591b816158df565b905091905056fea26469706673582212207b10ff3f98e84e203bf04b86655471bd16c4f3d170b7d043cf3fa0a7c04b4bb264736f6c634300080b0033000000000000000000000000a5bbac61003cf7ba6e71eafc9077c992f020ad14000000000000000000000000a5bbac61003cf7ba6e71eafc9077c992f020ad140000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000003a68747470733a2f2f6e66742d6170692d64656d6f2e617a75726577656273697465732e6e65742f6170692f747261646572732f6d61726b65742f000000000000

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

000000000000000000000000a5bbac61003cf7ba6e71eafc9077c992f020ad14000000000000000000000000a5bbac61003cf7ba6e71eafc9077c992f020ad140000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000003a68747470733a2f2f6e66742d6170692d64656d6f2e617a75726577656273697465732e6e65742f6170692f747261646572732f6d61726b65742f000000000000

-----Decoded View---------------
Arg [0] : _beneficiary (address): 0xA5bBAc61003cf7BA6E71eafC9077c992F020ad14
Arg [1] : _royalties (address): 0xA5bBAc61003cf7BA6E71eafC9077c992F020ad14
Arg [2] : _baseUrl (string): https://nft-api-demo.azurewebsites.net/api/traders/market/

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5bbac61003cf7ba6e71eafc9077c992f020ad14
Arg [1] : 000000000000000000000000a5bbac61003cf7ba6e71eafc9077c992f020ad14
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 000000000000000000000000000000000000000000000000000000000000003a
Arg [4] : 68747470733a2f2f6e66742d6170692d64656d6f2e617a757265776562736974
Arg [5] : 65732e6e65742f6170692f747261646572732f6d61726b65742f000000000000


Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.