ETH Price: $3,848.59 (-1.97%)

Contract

0x99AD76874d21Ab6480Ef88238F2F9e38206d8f3B
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...201682612024-06-25 11:00:47172 days ago1719313247IN
0x99AD7687...8206d8f3B
0 ETH0.000215594.61391983
Set Approval For...201682412024-06-25 10:56:35172 days ago1719312995IN
0x99AD7687...8206d8f3B
0 ETH0.000146083.12551688
Safe Transfer Fr...198700302024-05-14 18:32:23214 days ago1715711543IN
0x99AD7687...8206d8f3B
0 ETH0.000532329.57207216
Safe Transfer Fr...198700212024-05-14 18:30:35214 days ago1715711435IN
0x99AD7687...8206d8f3B
0 ETH0.0006347411.41389448
Set Approval For...176402952023-07-07 6:58:23527 days ago1688713103IN
0x99AD7687...8206d8f3B
0 ETH0.0005562922.48209898
Set Approval For...175708652023-06-27 13:04:35536 days ago1687871075IN
0x99AD7687...8206d8f3B
0 ETH0.0007863116.85355309
Set Approval For...173963532023-06-02 23:39:23561 days ago1685749163IN
0x99AD7687...8206d8f3B
0 ETH0.0011374824.38031454
Set Approval For...173270772023-05-24 5:48:35571 days ago1684907315IN
0x99AD7687...8206d8f3B
0 ETH0.0013867129.7221849
Set Approval For...168988782023-03-24 17:35:11631 days ago1679679311IN
0x99AD7687...8206d8f3B
0 ETH0.0016427535.21004392
Set Approval For...165862522023-02-08 19:54:35675 days ago1675886075IN
0x99AD7687...8206d8f3B
0 ETH0.0010555842.51576694
Set Approval For...165862522023-02-08 19:54:35675 days ago1675886075IN
0x99AD7687...8206d8f3B
0 ETH0.0010520142.51576694
Set Approval For...163079182022-12-31 23:05:35714 days ago1672527935IN
0x99AD7687...8206d8f3B
0 ETH0.0006926614.82339732
Set Approval For...163039672022-12-31 9:51:47714 days ago1672480307IN
0x99AD7687...8206d8f3B
0 ETH0.0006885614.75843731
Set Approval For...162983042022-12-30 14:53:11715 days ago1672411991IN
0x99AD7687...8206d8f3B
0 ETH0.0009085519.44353274
Set Approval For...162700852022-12-26 16:21:23719 days ago1672071683IN
0x99AD7687...8206d8f3B
0 ETH0.0007014815.01217788
Set Approval For...161981892022-12-16 15:35:47729 days ago1671204947IN
0x99AD7687...8206d8f3B
0 ETH0.0011196223.99744439
Withdraw161430832022-12-08 22:49:59737 days ago1670539799IN
0x99AD7687...8206d8f3B
0 ETH0.0011079413.87879315
Set Approval For...159656322022-11-14 3:37:23762 days ago1668397043IN
0x99AD7687...8206d8f3B
0 ETH0.0006569414.08069497
Set Approval For...159601752022-11-13 9:22:11762 days ago1668331331IN
0x99AD7687...8206d8f3B
0 ETH0.0006791814.55731049
Set Approval For...158131672022-10-23 20:21:47783 days ago1666556507IN
0x99AD7687...8206d8f3B
0 ETH0.0006654914.26391552
Set Approval For...157494192022-10-14 22:45:23792 days ago1665787523IN
0x99AD7687...8206d8f3B
0 ETH0.0007051215.11335777
Set Approval For...155133652022-09-11 6:42:03826 days ago1662878523IN
0x99AD7687...8206d8f3B
0 ETH0.000308716.61683754
Set Approval For...153197072022-08-11 8:38:51856 days ago1660207131IN
0x99AD7687...8206d8f3B
0 ETH0.0019791242.41947447
Set Approval For...152552372022-08-01 7:17:07867 days ago1659338227IN
0x99AD7687...8206d8f3B
0 ETH0.0005561811.92086901
Set Approval For...152399292022-07-29 21:53:39869 days ago1659131619IN
0x99AD7687...8206d8f3B
0 ETH0.000444139.51930609
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
161430832022-12-08 22:49:59737 days ago1670539799
0x99AD7687...8206d8f3B
0.2465 ETH
161430832022-12-08 22:49:59737 days ago1670539799
0x99AD7687...8206d8f3B
24.4035 ETH
144621662022-03-26 13:44:18994 days ago1648302258
0x99AD7687...8206d8f3B
0.25 ETH
144619792022-03-26 13:02:17994 days ago1648299737
0x99AD7687...8206d8f3B
0.05 ETH
144618402022-03-26 12:31:20994 days ago1648297880
0x99AD7687...8206d8f3B
0.1 ETH
144617422022-03-26 12:07:22994 days ago1648296442
0x99AD7687...8206d8f3B
0.1 ETH
144577682022-03-25 21:15:01995 days ago1648242901
0x99AD7687...8206d8f3B
0.1 ETH
144574462022-03-25 20:01:59995 days ago1648238519
0x99AD7687...8206d8f3B
0.25 ETH
144543952022-03-25 8:35:19995 days ago1648197319
0x99AD7687...8206d8f3B
0.1 ETH
144497452022-03-24 15:18:08996 days ago1648135088
0x99AD7687...8206d8f3B
0.1 ETH
144455142022-03-23 23:24:44997 days ago1648077884
0x99AD7687...8206d8f3B
0.05 ETH
144445852022-03-23 19:56:55997 days ago1648065415
0x99AD7687...8206d8f3B
0.05 ETH
144443262022-03-23 19:01:59997 days ago1648062119
0x99AD7687...8206d8f3B
0.25 ETH
144442022022-03-23 18:34:58997 days ago1648060498
0x99AD7687...8206d8f3B
0.15 ETH
144428832022-03-23 13:41:38997 days ago1648042898
0x99AD7687...8206d8f3B
0.25 ETH
144426812022-03-23 12:57:37997 days ago1648040257
0x99AD7687...8206d8f3B
0.05 ETH
144422942022-03-23 11:32:56997 days ago1648035176
0x99AD7687...8206d8f3B
0.05 ETH
144417872022-03-23 9:42:14997 days ago1648028534
0x99AD7687...8206d8f3B
0.15 ETH
144406802022-03-23 5:26:16998 days ago1648013176
0x99AD7687...8206d8f3B
0.15 ETH
144402012022-03-23 3:36:17998 days ago1648006577
0x99AD7687...8206d8f3B
0.1 ETH
144399302022-03-23 2:34:48998 days ago1648002888
0x99AD7687...8206d8f3B
0.1 ETH
144397822022-03-23 2:00:49998 days ago1648000849
0x99AD7687...8206d8f3B
0.05 ETH
144395802022-03-23 1:17:31998 days ago1647998251
0x99AD7687...8206d8f3B
0.15 ETH
144390812022-03-22 23:25:16998 days ago1647991516
0x99AD7687...8206d8f3B
0.1 ETH
144390632022-03-22 23:20:25998 days ago1647991225
0x99AD7687...8206d8f3B
0.1 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MetaMericanDream

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 21 : meta1155.sol
/* SPDX-License-Identifier: UNLICENSED */
/* Copyright Metarkitex */

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol";
import "./lib/rarible/royalties/contracts/impl/RoyaltiesV2Impl.sol";
import "./lib/rarible/royalties/contracts/LibPart.sol";
import "./lib/rarible/royalties/contracts/LibRoyaltiesV2.sol";

contract MetaMericanDream is Ownable, VRFConsumerBase, ERC1155Pausable, ReentrancyGuard, RoyaltiesV2Impl {
    string public name = "Metamerican Dream";
    
    uint8 public constant MAX_MINTS = 20;
    uint32 public MAX_TOKENS = 1e5;

    uint16 public tokensMinted = 0;

    address public allowlistContract;
    bool public allowlistSeason;
    
    uint256 public randomNumber;
    bytes32 public randomRequestId;
    
    bool public waitingOnRandomness;
    
    uint public cost;
    
    address payable public withdrawAddress1;
    address payable public withdrawAddress2;
    
    bytes32 private s_keyHash;
    uint256 private s_fee;

    mapping(address => uint16) public mintsPerAddress;
    mapping(uint16 => uint) public tokenIdToEncodedTraits;
    
    event SetBaseURI(string fromString, string toString);
    event SetCost(uint fromCost, uint toCost);
    event SetTokenSupply(uint fromSupply, uint toSupply);
    event LogWithdrawal(address receiver, uint amount);
    
   event FreeMint(
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    // VRFConsumerBase: Parent class for randomness consumer (https://docs.chain.link/docs/get-a-random-number/)
    // _allowlistContract: allowlist contract that can mint during allowlist period
    // withdrawAddress: set to initiator of contract
    constructor(address _allowlistContract, address vrfCoordinator, address link, bytes32 keyHash, uint256 fee, address withdrawAddress, address devWallet) ERC1155("null") VRFConsumerBase(
        vrfCoordinator, // VRF Coordinator
        link  // LINK Token
    )
    {
        // withdrawAddress for mint fees is set to contract initator
        withdrawAddress1 = payable(withdrawAddress);
        withdrawAddress2 = payable(devWallet);
        // only allowlistContract can mint while allowlistSeason == true
        allowlistContract = _allowlistContract;
        allowlistSeason = true;
        // VRF parameters
        s_keyHash = keyHash;
        s_fee = fee;
        waitingOnRandomness = true;
    }
    
    // Open minting for everybody, not just allowlistContract
    function openForMinting() external onlyOwner
    {
        allowlistSeason = false;
    }

    // Generate initial randomness request
    function initiateRandomGeneration() external onlyOwner {
        require(LINK.balanceOf(address(this)) >= s_fee, "Not enough LINK - fill contract with faucet");
       randomRequestId = requestRandomness(s_keyHash, s_fee); 
    }  
    
    /**
     * Callback function used by VRF Coordinator
     */
    function fulfillRandomness(bytes32 requestId, uint256 randomness) internal override {
        require(waitingOnRandomness, "Must be waiting on randomness");
        require(randomRequestId == requestId, "Wrong request ID");
        randomNumber=randomness;
        waitingOnRandomness=false;
    }

    // set base URI for token metadata
    function setBaseURI(string calldata base) external onlyOwner {
        emit SetBaseURI(uri(0), base);
        _setURI(base);
    }
    
    // set mint cost
    function setCost(uint newCost) external onlyOwner {
        require(cost < newCost, "price can only increase");
        emit SetCost(cost, newCost);
        cost = newCost;
    }

    function setTokenSupply(uint32 newSupply) external onlyOwner {
        require(MAX_TOKENS > newSupply, "supply can only decrease");
        emit SetTokenSupply(MAX_TOKENS, newSupply);
        MAX_TOKENS = newSupply;
    }

    function mint(address _to, uint16 quantity, bool freeMint) external payable {
        // This contract should only mint up to MAX_TOKENS in its lifetime
        require(tokensMinted + quantity <= MAX_TOKENS);
        // Each recipient can only mint MAX_MINTS
        require(mintsPerAddress[_to] + quantity <= MAX_MINTS);
        mintsPerAddress[_to] += quantity;
        // only allowlistContract can mint during allowlist period, otherwise you can only mint for yourself
        require((!allowlistSeason && _to == _msgSender()) || allowlistContract == _msgSender());
        // either message contains mint fee or this is a free mint
        require(msg.value == (cost * quantity) || (allowlistContract == _msgSender() && freeMint));
        // generate list of token IDs by hashing result of initial randomness
        uint[] memory _ids = new uint[](quantity);
        uint[] memory _quantities = new uint[](quantity);
        for (uint16 i = 0; i < quantity; i++) {
            randomNumber = uint256(keccak256(abi.encode(randomNumber)));
            _ids[i] = tokensMinted + 1 + i;
            tokenIdToEncodedTraits[tokensMinted + 1 + i] = randomNumber;
            _quantities[i] = 1;
        }
        tokensMinted += quantity;
        super._mintBatch(_to, _ids, _quantities, "");
        // publish free mint event to show free mints
        if (freeMint) {
            emit FreeMint(_to, _ids, _quantities);
        }
    }
    
    // withdraw all funds to admin wallet
    function withdraw(uint amount) external onlyOwner nonReentrant {
        (bool success1, ) = withdrawAddress1.call{value: (amount*99)/100}(msg.data);
        (bool success2, ) = withdrawAddress2.call{value: amount/100}(msg.data);
        require(success1 && success2, "Transfer failed");
        emit LogWithdrawal(withdrawAddress1, amount*99/100);
        emit LogWithdrawal(withdrawAddress2, amount/100);
    }
    
    function setRoyalties(uint _tokenId, address payable _royaltiesReceipientAddress, uint96 _percentageBasisPoints) public onlyOwner {
        LibPart.Part[] memory _royalties = new LibPart.Part[](1);
        _royalties[0].value = _percentageBasisPoints;
        _royalties[0].account = _royaltiesReceipientAddress;
        _saveRoyalties(_tokenId, _royalties);
    }
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC1155) returns (bool) {
        if(interfaceId == LibRoyaltiesV2._INTERFACE_ID_ROYALTIES) {
            return true;
        }
        return super.supportsInterface(interfaceId);
    }
}

File 2 of 21 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

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

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);
    }

    /**
     * @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, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

File 3 of 21 : ERC1155Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Pausable.sol)

pragma solidity ^0.8.0;

import "../ERC1155.sol";
import "../../../security/Pausable.sol";

/**
 * @dev ERC1155 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 *
 * _Available since v3.1._
 */
abstract contract ERC1155Pausable is ERC1155, Pausable {
    /**
     * @dev See {ERC1155-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);

        require(!paused(), "ERC1155Pausable: token transfer while paused");
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 6 of 21 : VRFConsumerBase.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./interfaces/LinkTokenInterface.sol";

import "./VRFRequestIDBase.sol";

/** ****************************************************************************
 * @notice Interface for contracts using VRF randomness
 * *****************************************************************************
 * @dev PURPOSE
 *
 * @dev Reggie the Random Oracle (not his real job) wants to provide randomness
 * @dev to Vera the verifier in such a way that Vera can be sure he's not
 * @dev making his output up to suit himself. Reggie provides Vera a public key
 * @dev to which he knows the secret key. Each time Vera provides a seed to
 * @dev Reggie, he gives back a value which is computed completely
 * @dev deterministically from the seed and the secret key.
 *
 * @dev Reggie provides a proof by which Vera can verify that the output was
 * @dev correctly computed once Reggie tells it to her, but without that proof,
 * @dev the output is indistinguishable to her from a uniform random sample
 * @dev from the output space.
 *
 * @dev The purpose of this contract is to make it easy for unrelated contracts
 * @dev to talk to Vera the verifier about the work Reggie is doing, to provide
 * @dev simple access to a verifiable source of randomness.
 * *****************************************************************************
 * @dev USAGE
 *
 * @dev Calling contracts must inherit from VRFConsumerBase, and can
 * @dev initialize VRFConsumerBase's attributes in their constructor as
 * @dev shown:
 *
 * @dev   contract VRFConsumer {
 * @dev     constructor(<other arguments>, address _vrfCoordinator, address _link)
 * @dev       VRFConsumerBase(_vrfCoordinator, _link) public {
 * @dev         <initialization with other arguments goes here>
 * @dev       }
 * @dev   }
 *
 * @dev The oracle will have given you an ID for the VRF keypair they have
 * @dev committed to (let's call it keyHash), and have told you the minimum LINK
 * @dev price for VRF service. Make sure your contract has sufficient LINK, and
 * @dev call requestRandomness(keyHash, fee, seed), where seed is the input you
 * @dev want to generate randomness from.
 *
 * @dev Once the VRFCoordinator has received and validated the oracle's response
 * @dev to your request, it will call your contract's fulfillRandomness method.
 *
 * @dev The randomness argument to fulfillRandomness is the actual random value
 * @dev generated from your seed.
 *
 * @dev The requestId argument is generated from the keyHash and the seed by
 * @dev makeRequestId(keyHash, seed). If your contract could have concurrent
 * @dev requests open, you can use the requestId to track which seed is
 * @dev associated with which randomness. See VRFRequestIDBase.sol for more
 * @dev details. (See "SECURITY CONSIDERATIONS" for principles to keep in mind,
 * @dev if your contract could have multiple requests in flight simultaneously.)
 *
 * @dev Colliding `requestId`s are cryptographically impossible as long as seeds
 * @dev differ. (Which is critical to making unpredictable randomness! See the
 * @dev next section.)
 *
 * *****************************************************************************
 * @dev SECURITY CONSIDERATIONS
 *
 * @dev A method with the ability to call your fulfillRandomness method directly
 * @dev could spoof a VRF response with any random value, so it's critical that
 * @dev it cannot be directly called by anything other than this base contract
 * @dev (specifically, by the VRFConsumerBase.rawFulfillRandomness method).
 *
 * @dev For your users to trust that your contract's random behavior is free
 * @dev from malicious interference, it's best if you can write it so that all
 * @dev behaviors implied by a VRF response are executed *during* your
 * @dev fulfillRandomness method. If your contract must store the response (or
 * @dev anything derived from it) and use it later, you must ensure that any
 * @dev user-significant behavior which depends on that stored value cannot be
 * @dev manipulated by a subsequent VRF request.
 *
 * @dev Similarly, both miners and the VRF oracle itself have some influence
 * @dev over the order in which VRF responses appear on the blockchain, so if
 * @dev your contract could have multiple VRF requests in flight simultaneously,
 * @dev you must ensure that the order in which the VRF responses arrive cannot
 * @dev be used to manipulate your contract's user-significant behavior.
 *
 * @dev Since the ultimate input to the VRF is mixed with the block hash of the
 * @dev block in which the request is made, user-provided seeds have no impact
 * @dev on its economic security properties. They are only included for API
 * @dev compatability with previous versions of this contract.
 *
 * @dev Since the block hash of the block which contains the requestRandomness
 * @dev call is mixed into the input to the VRF *last*, a sufficiently powerful
 * @dev miner could, in principle, fork the blockchain to evict the block
 * @dev containing the request, forcing the request to be included in a
 * @dev different block with a different hash, and therefore a different input
 * @dev to the VRF. However, such an attack would incur a substantial economic
 * @dev cost. This cost scales with the number of blocks the VRF oracle waits
 * @dev until it calls responds to a request.
 */
abstract contract VRFConsumerBase is VRFRequestIDBase {
  /**
   * @notice fulfillRandomness handles the VRF response. Your contract must
   * @notice implement it. See "SECURITY CONSIDERATIONS" above for important
   * @notice principles to keep in mind when implementing your fulfillRandomness
   * @notice method.
   *
   * @dev VRFConsumerBase expects its subcontracts to have a method with this
   * @dev signature, and will call it once it has verified the proof
   * @dev associated with the randomness. (It is triggered via a call to
   * @dev rawFulfillRandomness, below.)
   *
   * @param requestId The Id initially returned by requestRandomness
   * @param randomness the VRF output
   */
  function fulfillRandomness(bytes32 requestId, uint256 randomness) internal virtual;

  /**
   * @dev In order to keep backwards compatibility we have kept the user
   * seed field around. We remove the use of it because given that the blockhash
   * enters later, it overrides whatever randomness the used seed provides.
   * Given that it adds no security, and can easily lead to misunderstandings,
   * we have removed it from usage and can now provide a simpler API.
   */
  uint256 private constant USER_SEED_PLACEHOLDER = 0;

  /**
   * @notice requestRandomness initiates a request for VRF output given _seed
   *
   * @dev The fulfillRandomness method receives the output, once it's provided
   * @dev by the Oracle, and verified by the vrfCoordinator.
   *
   * @dev The _keyHash must already be registered with the VRFCoordinator, and
   * @dev the _fee must exceed the fee specified during registration of the
   * @dev _keyHash.
   *
   * @dev The _seed parameter is vestigial, and is kept only for API
   * @dev compatibility with older versions. It can't *hurt* to mix in some of
   * @dev your own randomness, here, but it's not necessary because the VRF
   * @dev oracle will mix the hash of the block containing your request into the
   * @dev VRF seed it ultimately uses.
   *
   * @param _keyHash ID of public key against which randomness is generated
   * @param _fee The amount of LINK to send with the request
   *
   * @return requestId unique ID for this request
   *
   * @dev The returned requestId can be used to distinguish responses to
   * @dev concurrent requests. It is passed as the first argument to
   * @dev fulfillRandomness.
   */
  function requestRandomness(bytes32 _keyHash, uint256 _fee) internal returns (bytes32 requestId) {
    LINK.transferAndCall(vrfCoordinator, _fee, abi.encode(_keyHash, USER_SEED_PLACEHOLDER));
    // This is the seed passed to VRFCoordinator. The oracle will mix this with
    // the hash of the block containing this request to obtain the seed/input
    // which is finally passed to the VRF cryptographic machinery.
    uint256 vRFSeed = makeVRFInputSeed(_keyHash, USER_SEED_PLACEHOLDER, address(this), nonces[_keyHash]);
    // nonces[_keyHash] must stay in sync with
    // VRFCoordinator.nonces[_keyHash][this], which was incremented by the above
    // successful LINK.transferAndCall (in VRFCoordinator.randomnessRequest).
    // This provides protection against the user repeating their input seed,
    // which would result in a predictable/duplicate output, if multiple such
    // requests appeared in the same block.
    nonces[_keyHash] = nonces[_keyHash] + 1;
    return makeRequestId(_keyHash, vRFSeed);
  }

  LinkTokenInterface internal immutable LINK;
  address private immutable vrfCoordinator;

  // Nonces for each VRF key from which randomness has been requested.
  //
  // Must stay in sync with VRFCoordinator[_keyHash][this]
  mapping(bytes32 => uint256) /* keyHash */ /* nonce */
    private nonces;

  /**
   * @param _vrfCoordinator address of VRFCoordinator contract
   * @param _link address of LINK token contract
   *
   * @dev https://docs.chain.link/docs/link-token-contracts
   */
  constructor(address _vrfCoordinator, address _link) {
    vrfCoordinator = _vrfCoordinator;
    LINK = LinkTokenInterface(_link);
  }

  // rawFulfillRandomness is called by VRFCoordinator when it receives a valid VRF
  // proof. rawFulfillRandomness then calls fulfillRandomness, after validating
  // the origin of the call
  function rawFulfillRandomness(bytes32 requestId, uint256 randomness) external {
    require(msg.sender == vrfCoordinator, "Only VRFCoordinator can fulfill");
    fulfillRandomness(requestId, randomness);
  }
}

File 7 of 21 : RoyaltiesV2Impl.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./AbstractRoyalties.sol";
import "../RoyaltiesV2.sol";
contract RoyaltiesV2Impl is AbstractRoyalties, RoyaltiesV2 {
function getRaribleV2Royalties(uint256 id) override external view returns (LibPart.Part[] memory) {
return royalties[id];
}
function _onRoyaltiesSet(uint256 _id, LibPart.Part[] memory _royalties) override internal {
emit RoyaltiesSet(_id, _royalties);
}
}

File 8 of 21 : LibPart.sol
// SPDX-License-Identifier: MIT 
pragma solidity ^0.8.0;
library LibPart { 
    bytes32 public constant TYPE_HASH = keccak256("Part(address account,uint96 value)");
struct Part { address payable account;
        uint96 value; 
    }
function hash(Part memory part) internal pure returns (bytes32){ 
        return keccak256(abi.encode(TYPE_HASH, part.account,  part.value));
    }
}

File 9 of 21 : LibRoyaltiesV2.sol
// SPDX-License-Identifier: MIT  
pragma solidity ^0.8.0;
library LibRoyaltiesV2 {
    /*
    * bytes4(keccak256('getRoyalties(LibAsset.AssetType)')) == 0xcad96cca
    */
    bytes4 constant _INTERFACE_ID_ROYALTIES = 0xcad96cca;
}

File 10 of 21 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 11 of 21 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 12 of 21 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

File 13 of 21 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 14 of 21 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 17 of 21 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 18 of 21 : LinkTokenInterface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface LinkTokenInterface {
  function allowance(address owner, address spender) external view returns (uint256 remaining);

  function approve(address spender, uint256 value) external returns (bool success);

  function balanceOf(address owner) external view returns (uint256 balance);

  function decimals() external view returns (uint8 decimalPlaces);

  function decreaseApproval(address spender, uint256 addedValue) external returns (bool success);

  function increaseApproval(address spender, uint256 subtractedValue) external;

  function name() external view returns (string memory tokenName);

  function symbol() external view returns (string memory tokenSymbol);

  function totalSupply() external view returns (uint256 totalTokensIssued);

  function transfer(address to, uint256 value) external returns (bool success);

  function transferAndCall(
    address to,
    uint256 value,
    bytes calldata data
  ) external returns (bool success);

  function transferFrom(
    address from,
    address to,
    uint256 value
  ) external returns (bool success);
}

File 19 of 21 : VRFRequestIDBase.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract VRFRequestIDBase {
  /**
   * @notice returns the seed which is actually input to the VRF coordinator
   *
   * @dev To prevent repetition of VRF output due to repetition of the
   * @dev user-supplied seed, that seed is combined in a hash with the
   * @dev user-specific nonce, and the address of the consuming contract. The
   * @dev risk of repetition is mostly mitigated by inclusion of a blockhash in
   * @dev the final seed, but the nonce does protect against repetition in
   * @dev requests which are included in a single block.
   *
   * @param _userSeed VRF seed input provided by user
   * @param _requester Address of the requesting contract
   * @param _nonce User-specific nonce at the time of the request
   */
  function makeVRFInputSeed(
    bytes32 _keyHash,
    uint256 _userSeed,
    address _requester,
    uint256 _nonce
  ) internal pure returns (uint256) {
    return uint256(keccak256(abi.encode(_keyHash, _userSeed, _requester, _nonce)));
  }

  /**
   * @notice Returns the id for this request
   * @param _keyHash The serviceAgreement ID to be used for this request
   * @param _vRFInputSeed The seed to be passed directly to the VRF
   * @return The id for this request
   *
   * @dev Note that _vRFInputSeed is not the seed passed by the consuming
   * @dev contract, but the one generated by makeVRFInputSeed
   */
  function makeRequestId(bytes32 _keyHash, uint256 _vRFInputSeed) internal pure returns (bytes32) {
    return keccak256(abi.encodePacked(_keyHash, _vRFInputSeed));
  }
}

File 20 of 21 : AbstractRoyalties.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../LibPart.sol";
abstract contract AbstractRoyalties {
    mapping (uint256 => LibPart.Part[]) public royalties;
function _saveRoyalties(uint256 _id, LibPart.Part[] memory _royalties) internal {
        for (uint i = 0; i < _royalties.length; i++) {
            require(_royalties[i].account != address(0x0), "Recipient should be present");
            require(_royalties[i].value != 0, "Royalty value should be positive");
            royalties[_id].push(_royalties[i]);
        }
        _onRoyaltiesSet(_id, _royalties);
    }
function _updateAccount(uint256 _id, address _from, address _to) internal {
        uint length = royalties[_id].length;
        for(uint i = 0; i < length; i++) {
            if (royalties[_id][i].account == _from) {
                royalties[_id][i].account = payable(address(uint160(_to)));
            }
        }
    }
function _onRoyaltiesSet(uint256 _id, LibPart.Part[] memory _royalties) virtual internal;
}

File 21 of 21 : RoyaltiesV2.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;import "./LibPart.sol";
interface RoyaltiesV2 {
    event RoyaltiesSet(uint256 tokenId, LibPart.Part[] royalties);
function getRaribleV2Royalties(uint256 id) external view returns (LibPart.Part[] memory);
}

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":"_allowlistContract","type":"address"},{"internalType":"address","name":"vrfCoordinator","type":"address"},{"internalType":"address","name":"link","type":"address"},{"internalType":"bytes32","name":"keyHash","type":"bytes32"},{"internalType":"uint256","name":"fee","type":"uint256"},{"internalType":"address","name":"withdrawAddress","type":"address"},{"internalType":"address","name":"devWallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"FreeMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"LogWithdrawal","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":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"components":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"indexed":false,"internalType":"struct LibPart.Part[]","name":"royalties","type":"tuple[]"}],"name":"RoyaltiesSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"fromString","type":"string"},{"indexed":false,"internalType":"string","name":"toString","type":"string"}],"name":"SetBaseURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"fromCost","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toCost","type":"uint256"}],"name":"SetCost","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"fromSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toSupply","type":"uint256"}],"name":"SetTokenSupply","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_MINTS","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowlistContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowlistSeason","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getRaribleV2Royalties","outputs":[{"components":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"internalType":"struct LibPart.Part[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initiateRandomGeneration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint16","name":"quantity","type":"uint16"},{"internalType":"bool","name":"freeMint","type":"bool"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintsPerAddress","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openForMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","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":"randomNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"randomRequestId","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"},{"internalType":"uint256","name":"randomness","type":"uint256"}],"name":"rawFulfillRandomness","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"royalties","outputs":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"base","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address payable","name":"_royaltiesReceipientAddress","type":"address"},{"internalType":"uint96","name":"_percentageBasisPoints","type":"uint96"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"newSupply","type":"uint32"}],"name":"setTokenSupply","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":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"tokenIdToEncodedTraits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensMinted","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"waitingOnRandomness","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAddress1","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAddress2","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60c06040526040518060400160405280601181526020017f4d6574616d65726963616e20447265616d0000000000000000000000000000008152506008908051906020019062000051929190620003c0565b50620186a0600960006101000a81548163ffffffff021916908363ffffffff1602179055506000600960046101000a81548161ffff021916908361ffff160217905550348015620000a157600080fd5b50604051620061b6380380620061b68339818101604052810190620000c79190620004b5565b6040518060400160405280600481526020017f6e756c6c0000000000000000000000000000000000000000000000000000000081525086866200011f62000113620002d860201b60201c565b620002e060201b60201c565b8173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250505050620001a081620003a460201b60201c565b506000600560006101000a81548160ff021916908315150217905550600160068190555081600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555086600960066101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060016009601a6101000a81548160ff02191690831515021790555083601081905550826011819055506001600c60006101000a81548160ff0219169083151502179055505050505050505062000668565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8060049080519060200190620003bc929190620003c0565b5050565b828054620003ce90620005b0565b90600052602060002090601f016020900481019282620003f257600085556200043e565b82601f106200040d57805160ff19168380011785556200043e565b828001600101855582156200043e579182015b828111156200043d57825182559160200191906001019062000420565b5b5090506200044d919062000451565b5090565b5b808211156200046c57600081600090555060010162000452565b5090565b60008151905062000481816200061a565b92915050565b600081519050620004988162000634565b92915050565b600081519050620004af816200064e565b92915050565b600080600080600080600060e0888a031215620004d757620004d662000615565b5b6000620004e78a828b0162000470565b9750506020620004fa8a828b0162000470565b96505060406200050d8a828b0162000470565b9550506060620005208a828b0162000487565b9450506080620005338a828b016200049e565b93505060a0620005468a828b0162000470565b92505060c0620005598a828b0162000470565b91505092959891949750929550565b6000620005758262000586565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006002820490506001821680620005c957607f821691505b60208210811415620005e057620005df620005e6565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b620006258162000568565b81146200063157600080fd5b50565b6200063f816200057c565b81146200064b57600080fd5b50565b6200065981620005a6565b81146200066557600080fd5b50565b60805160601c60a05160601c615b14620006a260003960008181611ba701526127240152600081816111bc01526126e80152615b146000f3fe6080604052600436106102185760003560e01c80638924af7411610123578063c5bd0f30116100ab578063d00964651161006f578063d0096465146107b3578063e985e9c5146107de578063f242432a1461081b578063f2fde38b14610844578063f47c84c51461086d57610218565b8063c5bd0f30146106ba578063cad96cca146106f7578063cb4a884414610734578063ccbac9f51461075d578063cce132d11461078857610218565b806390fdc00f116100f257806390fdc00f146105fb57806394985ddd14610626578063960d33da1461064f578063a22cb46514610666578063a7f3e79a1461068f57610218565b80638924af741461053c5780638d323a8b1461057a5780638da5cb5b146105a55780638de928d8146105d057610218565b80632eb2c2d6116101a657806355f804b31161017557806355f804b31461047b5780635c975abb146104a4578063660b846b146104cf5780636de9f32b146104fa578063715018a61461052557610218565b80632eb2c2d6146103af5780633023eba6146103d857806344a0d68a146104155780634e1273f41461043e57610218565b80630e89341c116101ed5780630e89341c146102de57806313faede61461031b578063143094db14610346578063163135631461036f5780632e1a7d4d1461038657610218565b8062153bdc1461021d578062fdd58e1461023957806301ffc9a71461027657806306fdde03146102b3575b600080fd5b61023760048036038101906102329190613cbe565b610898565b005b34801561024557600080fd5b50610260600480360381019061025b9190613d11565b610d65565b60405161026d9190614cad565b60405180910390f35b34801561028257600080fd5b5061029d60048036038101906102989190613e36565b610e2f565b6040516102aa9190614893565b60405180910390f35b3480156102bf57600080fd5b506102c8610e98565b6040516102d59190614937565b60405180910390f35b3480156102ea57600080fd5b5061030560048036038101906103009190613f0a565b610f26565b6040516103129190614937565b60405180910390f35b34801561032757600080fd5b50610330610fba565b60405161033d9190614cad565b60405180910390f35b34801561035257600080fd5b5061036d60048036038101906103689190613f64565b610fc0565b005b34801561037b57600080fd5b5061038461113b565b005b34801561039257600080fd5b506103ad60048036038101906103a89190613f0a565b6112ba565b005b3480156103bb57600080fd5b506103d660048036038101906103d19190613b18565b6115fe565b005b3480156103e457600080fd5b506103ff60048036038101906103fa9190613aab565b61169f565b60405161040c9190614c92565b60405180910390f35b34801561042157600080fd5b5061043c60048036038101906104379190613f0a565b6116c0565b005b34801561044a57600080fd5b5061046560048036038101906104609190613d51565b6117c5565b604051610472919061483a565b60405180910390f35b34801561048757600080fd5b506104a2600480360381019061049d9190613e90565b6118de565b005b3480156104b057600080fd5b506104b96119ef565b6040516104c69190614893565b60405180910390f35b3480156104db57600080fd5b506104e4611a06565b6040516104f191906146ab565b60405180910390f35b34801561050657600080fd5b5061050f611a2c565b60405161051c9190614c92565b60405180910390f35b34801561053157600080fd5b5061053a611a40565b005b34801561054857600080fd5b50610563600480360381019061055e9190613fb7565b611ac8565b6040516105719291906146ef565b60405180910390f35b34801561058657600080fd5b5061058f611b3d565b60405161059c91906148ae565b60405180910390f35b3480156105b157600080fd5b506105ba611b43565b6040516105c79190614690565b60405180910390f35b3480156105dc57600080fd5b506105e5611b6c565b6040516105f29190614690565b60405180910390f35b34801561060757600080fd5b50610610611b92565b60405161061d9190614893565b60405180910390f35b34801561063257600080fd5b5061064d60048036038101906106489190613df6565b611ba5565b005b34801561065b57600080fd5b50610664611c41565b005b34801561067257600080fd5b5061068d60048036038101906106889190613c7e565b611cda565b005b34801561069b57600080fd5b506106a4611cf0565b6040516106b191906146ab565b60405180910390f35b3480156106c657600080fd5b506106e160048036038101906106dc9190613edd565b611d16565b6040516106ee9190614cad565b60405180910390f35b34801561070357600080fd5b5061071e60048036038101906107199190613f0a565b611d2e565b60405161072b9190614818565b60405180910390f35b34801561074057600080fd5b5061075b60048036038101906107569190613ff7565b611e30565b005b34801561076957600080fd5b50610772611f7b565b60405161077f9190614cad565b60405180910390f35b34801561079457600080fd5b5061079d611f81565b6040516107aa9190614d65565b60405180910390f35b3480156107bf57600080fd5b506107c8611f86565b6040516107d59190614893565b60405180910390f35b3480156107ea57600080fd5b5061080560048036038101906108009190613ad8565b611f99565b6040516108129190614893565b60405180910390f35b34801561082757600080fd5b50610842600480360381019061083d9190613be7565b61202d565b005b34801561085057600080fd5b5061086b60048036038101906108669190613aab565b6120ce565b005b34801561087957600080fd5b506108826121c6565b60405161088f9190614d21565b60405180910390f35b600960009054906101000a900463ffffffff1663ffffffff1682600960049054906101000a900461ffff166108cd9190614ee3565b61ffff1611156108dc57600080fd5b601460ff1682601260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff1661093a9190614ee3565b61ffff16111561094957600080fd5b81601260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900461ffff166109a59190614ee3565b92506101000a81548161ffff021916908361ffff1602179055506009601a9054906101000a900460ff16158015610a0e57506109df6121dc565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b80610a6d5750610a1c6121dc565b73ffffffffffffffffffffffffffffffffffffffff16600960069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b610a7657600080fd5b8161ffff16600d54610a889190614fa2565b341480610af25750610a986121dc565b73ffffffffffffffffffffffffffffffffffffffff16600960069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148015610af15750805b5b610afb57600080fd5b60008261ffff1667ffffffffffffffff811115610b1b57610b1a615300565b5b604051908082528060200260200182016040528015610b495781602001602082028036833780820191505090505b50905060008361ffff1667ffffffffffffffff811115610b6c57610b6b615300565b5b604051908082528060200260200182016040528015610b9a5781602001602082028036833780820191505090505b50905060005b8461ffff168161ffff161015610cb257600a54604051602001610bc39190614cad565b6040516020818303038152906040528051906020012060001c600a81905550806001600960049054906101000a900461ffff16610c009190614ee3565b610c0a9190614ee3565b61ffff16838261ffff1681518110610c2557610c246152d1565b5b602002602001018181525050600a5460136000836001600960049054906101000a900461ffff16610c569190614ee3565b610c609190614ee3565b61ffff1661ffff168152602001908152602001600020819055506001828261ffff1681518110610c9357610c926152d1565b5b6020026020010181815250508080610caa906151bc565b915050610ba0565b5083600960048282829054906101000a900461ffff16610cd29190614ee3565b92506101000a81548161ffff021916908361ffff160217905550610d07858383604051806020016040528060008152506121e4565b8215610d5e578473ffffffffffffffffffffffffffffffffffffffff167f15f2b94c3afe612ef12d4c9cb1c88f11dc770e5880c1daff9a997f6fd43170da8383604051610d5592919061485c565b60405180910390a25b5050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcd906149d2565b60405180910390fd5b6002600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600063cad96cca60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415610e875760019050610e93565b610e9082612403565b90505b919050565b60088054610ea590615159565b80601f0160208091040260200160405190810160405280929190818152602001828054610ed190615159565b8015610f1e5780601f10610ef357610100808354040283529160200191610f1e565b820191906000526020600020905b815481529060010190602001808311610f0157829003601f168201915b505050505081565b606060048054610f3590615159565b80601f0160208091040260200160405190810160405280929190818152602001828054610f6190615159565b8015610fae5780601f10610f8357610100808354040283529160200191610fae565b820191906000526020600020905b815481529060010190602001808311610f9157829003601f168201915b50505050509050919050565b600d5481565b610fc86121dc565b73ffffffffffffffffffffffffffffffffffffffff16610fe6611b43565b73ffffffffffffffffffffffffffffffffffffffff161461103c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103390614b72565b60405180910390fd5b6000600167ffffffffffffffff81111561105957611058615300565b5b60405190808252806020026020018201604052801561109257816020015b61107f6136cc565b8152602001906001900390816110775790505b50905081816000815181106110aa576110a96152d1565b5b6020026020010151602001906bffffffffffffffffffffffff1690816bffffffffffffffffffffffff168152505082816000815181106110ed576110ec6152d1565b5b60200260200101516000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505061113584826124e5565b50505050565b6111436121dc565b73ffffffffffffffffffffffffffffffffffffffff16611161611b43565b73ffffffffffffffffffffffffffffffffffffffff16146111b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ae90614b72565b60405180910390fd5b6011547f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016112139190614690565b60206040518083038186803b15801561122b57600080fd5b505afa15801561123f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112639190613f37565b10156112a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129b90614a72565b60405180910390fd5b6112b26010546011546126e4565b600b81905550565b6112c26121dc565b73ffffffffffffffffffffffffffffffffffffffff166112e0611b43565b73ffffffffffffffffffffffffffffffffffffffff1614611336576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132d90614b72565b60405180910390fd5b6002600654141561137c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137390614c52565b60405180910390fd5b60026006819055506000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660646063846113ce9190614fa2565b6113d89190614f71565b6000366040516113e9929190614677565b60006040518083038185875af1925050503d8060008114611426576040519150601f19603f3d011682016040523d82523d6000602084013e61142b565b606091505b505090506000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166064846114779190614f71565b600036604051611488929190614677565b60006040518083038185875af1925050503d80600081146114c5576040519150601f19603f3d011682016040523d82523d6000602084013e6114ca565b606091505b505090508180156114d85750805b611517576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150e90614a12565b60405180910390fd5b7fb4214c8c54fc7442f36d3682f59aebaf09358a4431835b30efb29d52cf9e1e91600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16606460638661156a9190614fa2565b6115749190614f71565b6040516115829291906146c6565b60405180910390a17fb4214c8c54fc7442f36d3682f59aebaf09358a4431835b30efb29d52cf9e1e91600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064856115db9190614f71565b6040516115e99291906146c6565b60405180910390a15050600160068190555050565b6116066121dc565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061164c575061164b856116466121dc565b611f99565b5b61168b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168290614af2565b60405180910390fd5b6116988585858585612845565b5050505050565b60126020528060005260406000206000915054906101000a900461ffff1681565b6116c86121dc565b73ffffffffffffffffffffffffffffffffffffffff166116e6611b43565b73ffffffffffffffffffffffffffffffffffffffff161461173c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173390614b72565b60405180910390fd5b80600d5410611780576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177790614a92565b60405180910390fd5b7f8abcccf5a0287b9e5e286a4009a7d1b2901adbbb3d9655d9b4d110c6098670cd600d54826040516117b3929190614cf8565b60405180910390a180600d8190555050565b6060815183511461180b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180290614bd2565b60405180910390fd5b6000835167ffffffffffffffff81111561182857611827615300565b5b6040519080825280602002602001820160405280156118565781602001602082028036833780820191505090505b50905060005b84518110156118d3576118a385828151811061187b5761187a6152d1565b5b6020026020010151858381518110611896576118956152d1565b5b6020026020010151610d65565b8282815181106118b6576118b56152d1565b5b602002602001018181525050806118cc906151e7565b905061185c565b508091505092915050565b6118e66121dc565b73ffffffffffffffffffffffffffffffffffffffff16611904611b43565b73ffffffffffffffffffffffffffffffffffffffff161461195a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195190614b72565b60405180910390fd5b7fc73341c723fd9197b17090f0c077cf2bbe4d89f2f7d71969b3a7e5c50d570a386119856000610f26565b838360405161199693929190614959565b60405180910390a16119eb82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612b5c565b5050565b6000600560009054906101000a900460ff16905090565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600960049054906101000a900461ffff1681565b611a486121dc565b73ffffffffffffffffffffffffffffffffffffffff16611a66611b43565b73ffffffffffffffffffffffffffffffffffffffff1614611abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab390614b72565b60405180910390fd5b611ac66000612b76565b565b60076020528160005260406000208181548110611ae457600080fd5b90600052602060002001600091509150508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060000160149054906101000a90046bffffffffffffffffffffffff16905082565b600b5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600960069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6009601a9054906101000a900460ff1681565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2a90614b92565b60405180910390fd5b611c3d8282612c3a565b5050565b611c496121dc565b73ffffffffffffffffffffffffffffffffffffffff16611c67611b43565b73ffffffffffffffffffffffffffffffffffffffff1614611cbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb490614b72565b60405180910390fd5b60006009601a6101000a81548160ff021916908315150217905550565b611cec611ce56121dc565b8383612cf3565b5050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60136020528060005260406000206000915090505481565b606060076000838152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015611e25578382906000526020600020016040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505081526020019060010190611d63565b505050509050919050565b611e386121dc565b73ffffffffffffffffffffffffffffffffffffffff16611e56611b43565b73ffffffffffffffffffffffffffffffffffffffff1614611eac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea390614b72565b60405180910390fd5b8063ffffffff16600960009054906101000a900463ffffffff1663ffffffff1611611f0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0390614c12565b60405180910390fd5b7fc1cab504027902ea555d0f8521ef7da7b61eb3c7c7036ab8f780ef4e52f097b1600960009054906101000a900463ffffffff1682604051611f4f929190614d3c565b60405180910390a180600960006101000a81548163ffffffff021916908363ffffffff16021790555050565b600a5481565b601481565b600c60009054906101000a900460ff1681565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6120356121dc565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061207b575061207a856120756121dc565b611f99565b5b6120ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b190614a52565b60405180910390fd5b6120c78585858585612e60565b5050505050565b6120d66121dc565b73ffffffffffffffffffffffffffffffffffffffff166120f4611b43565b73ffffffffffffffffffffffffffffffffffffffff161461214a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214190614b72565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156121ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b1906149f2565b60405180910390fd5b6121c381612b76565b50565b600960009054906101000a900463ffffffff1681565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612254576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224b90614c32565b60405180910390fd5b8151835114612298576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228f90614bf2565b60405180910390fd5b60006122a26121dc565b90506122b3816000878787876130e5565b60005b845181101561236d578381815181106122d2576122d16152d1565b5b6020026020010151600260008784815181106122f1576122f06152d1565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123539190614f1b565b925050819055508080612365906151e7565b9150506122b6565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516123e592919061485c565b60405180910390a46123fc81600087878787613143565b5050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124ce57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806124de57506124dd8261332a565b5b9050919050565b60005b81518110156126d557600073ffffffffffffffffffffffffffffffffffffffff1682828151811061251c5761251b6152d1565b5b60200260200101516000015173ffffffffffffffffffffffffffffffffffffffff16141561257f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257690614c72565b60405180910390fd5b6000828281518110612594576125936152d1565b5b6020026020010151602001516bffffffffffffffffffffffff1614156125ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e690614ab2565b60405180910390fd5b60076000848152602001908152602001600020828281518110612615576126146152d1565b5b60200260200101519080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550505080806126cd906151e7565b9150506124e8565b506126e08282613394565b5050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16634000aea07f0000000000000000000000000000000000000000000000000000000000000000848660006040516020016127589291906148c9565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401612785939291906147da565b602060405180830381600087803b15801561279f57600080fd5b505af11580156127b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127d79190613dc9565b5060006127fa8460003060016000898152602001908152602001600020546133d1565b905060018060008681526020019081526020016000205461281b9190614f1b565b600160008681526020019081526020016000208190555061283c848261340d565b91505092915050565b8151835114612889576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288090614bf2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156128f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f090614ad2565b60405180910390fd5b60006129036121dc565b90506129138187878787876130e5565b60005b8451811015612ac7576000858281518110612934576129336152d1565b5b602002602001015190506000858381518110612953576129526152d1565b5b6020026020010151905060006002600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156129f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ec90614b12565b60405180910390fd5b8181036002600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816002600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612aac9190614f1b565b9250508190555050505080612ac0906151e7565b9050612916565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612b3e92919061485c565b60405180910390a4612b54818787878787613143565b505050505050565b8060049080519060200190612b7292919061370a565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600c60009054906101000a900460ff16612c89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8090614b52565b60405180910390fd5b81600b5414612ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc490614b32565b60405180910390fd5b80600a819055506000600c60006101000a81548160ff0219169083151502179055505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5990614bb2565b60405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612e539190614893565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612ed0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec790614ad2565b60405180910390fd5b6000612eda6121dc565b9050612efa818787612eeb88613440565b612ef488613440565b876130e5565b60006002600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015612f92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8990614b12565b60405180910390fd5b8381036002600087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550836002600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130499190614f1b565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516130c6929190614cf8565b60405180910390a46130dc8288888888886134ba565b50505050505050565b6130f38686868686866136a1565b6130fb6119ef565b1561313b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313290614a32565b60405180910390fd5b505050505050565b6131628473ffffffffffffffffffffffffffffffffffffffff166136a9565b15613322578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016131a8959493929190614718565b602060405180830381600087803b1580156131c257600080fd5b505af19250505080156131f357506040513d601f19601f820116820180604052508101906131f09190613e63565b60015b613299576131ff61532f565b806308c379a0141561325c5750613214615979565b8061321f575061325e565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132539190614937565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329090614992565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613320576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613317906149b2565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b7f3fa96d7b6bcbfe71ef171666d84db3cf52fa2d1c8afdb1cc8e486177f208b7df82826040516133c5929190614cc8565b60405180910390a15050565b6000848484846040516020016133ea94939291906148f2565b6040516020818303038152906040528051906020012060001c9050949350505050565b6000828260405160200161342292919061464b565b60405160208183030381529060405280519060200120905092915050565b60606000600167ffffffffffffffff81111561345f5761345e615300565b5b60405190808252806020026020018201604052801561348d5781602001602082028036833780820191505090505b50905082816000815181106134a5576134a46152d1565b5b60200260200101818152505080915050919050565b6134d98473ffffffffffffffffffffffffffffffffffffffff166136a9565b15613699578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161351f959493929190614780565b602060405180830381600087803b15801561353957600080fd5b505af192505050801561356a57506040513d601f19601f820116820180604052508101906135679190613e63565b60015b6136105761357661532f565b806308c379a014156135d3575061358b615979565b8061359657506135d5565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135ca9190614937565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161360790614992565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368e906149b2565b60405180910390fd5b505b505050505050565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff1681525090565b82805461371690615159565b90600052602060002090601f016020900481019282613738576000855561377f565b82601f1061375157805160ff191683800117855561377f565b8280016001018555821561377f579182015b8281111561377e578251825591602001919060010190613763565b5b50905061378c9190613790565b5090565b5b808211156137a9576000816000905550600101613791565b5090565b60006137c06137bb84614da5565b614d80565b905080838252602082019050828560208602820111156137e3576137e261535b565b5b60005b8581101561381357816137f988826138cf565b8452602084019350602083019250506001810190506137e6565b5050509392505050565b600061383061382b84614dd1565b614d80565b905080838252602082019050828560208602820111156138535761385261535b565b5b60005b8581101561388357816138698882613a57565b845260208401935060208301925050600181019050613856565b5050509392505050565b60006138a061389b84614dfd565b614d80565b9050828152602081018484840111156138bc576138bb615360565b5b6138c7848285615117565b509392505050565b6000813590506138de81615a0f565b92915050565b6000813590506138f381615a26565b92915050565b600082601f83011261390e5761390d615356565b5b813561391e8482602086016137ad565b91505092915050565b600082601f83011261393c5761393b615356565b5b813561394c84826020860161381d565b91505092915050565b60008135905061396481615a3d565b92915050565b60008151905061397981615a3d565b92915050565b60008135905061398e81615a54565b92915050565b6000813590506139a381615a6b565b92915050565b6000815190506139b881615a6b565b92915050565b600082601f8301126139d3576139d2615356565b5b81356139e384826020860161388d565b91505092915050565b60008083601f840112613a0257613a01615356565b5b8235905067ffffffffffffffff811115613a1f57613a1e615351565b5b602083019150836001820283011115613a3b57613a3a61535b565b5b9250929050565b600081359050613a5181615a82565b92915050565b600081359050613a6681615a99565b92915050565b600081519050613a7b81615a99565b92915050565b600081359050613a9081615ab0565b92915050565b600081359050613aa581615ac7565b92915050565b600060208284031215613ac157613ac061536a565b5b6000613acf848285016138cf565b91505092915050565b60008060408385031215613aef57613aee61536a565b5b6000613afd858286016138cf565b9250506020613b0e858286016138cf565b9150509250929050565b600080600080600060a08688031215613b3457613b3361536a565b5b6000613b42888289016138cf565b9550506020613b53888289016138cf565b945050604086013567ffffffffffffffff811115613b7457613b73615365565b5b613b8088828901613927565b935050606086013567ffffffffffffffff811115613ba157613ba0615365565b5b613bad88828901613927565b925050608086013567ffffffffffffffff811115613bce57613bcd615365565b5b613bda888289016139be565b9150509295509295909350565b600080600080600060a08688031215613c0357613c0261536a565b5b6000613c11888289016138cf565b9550506020613c22888289016138cf565b9450506040613c3388828901613a57565b9350506060613c4488828901613a57565b925050608086013567ffffffffffffffff811115613c6557613c64615365565b5b613c71888289016139be565b9150509295509295909350565b60008060408385031215613c9557613c9461536a565b5b6000613ca3858286016138cf565b9250506020613cb485828601613955565b9150509250929050565b600080600060608486031215613cd757613cd661536a565b5b6000613ce5868287016138cf565b9350506020613cf686828701613a42565b9250506040613d0786828701613955565b9150509250925092565b60008060408385031215613d2857613d2761536a565b5b6000613d36858286016138cf565b9250506020613d4785828601613a57565b9150509250929050565b60008060408385031215613d6857613d6761536a565b5b600083013567ffffffffffffffff811115613d8657613d85615365565b5b613d92858286016138f9565b925050602083013567ffffffffffffffff811115613db357613db2615365565b5b613dbf85828601613927565b9150509250929050565b600060208284031215613ddf57613dde61536a565b5b6000613ded8482850161396a565b91505092915050565b60008060408385031215613e0d57613e0c61536a565b5b6000613e1b8582860161397f565b9250506020613e2c85828601613a57565b9150509250929050565b600060208284031215613e4c57613e4b61536a565b5b6000613e5a84828501613994565b91505092915050565b600060208284031215613e7957613e7861536a565b5b6000613e87848285016139a9565b91505092915050565b60008060208385031215613ea757613ea661536a565b5b600083013567ffffffffffffffff811115613ec557613ec4615365565b5b613ed1858286016139ec565b92509250509250929050565b600060208284031215613ef357613ef261536a565b5b6000613f0184828501613a42565b91505092915050565b600060208284031215613f2057613f1f61536a565b5b6000613f2e84828501613a57565b91505092915050565b600060208284031215613f4d57613f4c61536a565b5b6000613f5b84828501613a6c565b91505092915050565b600080600060608486031215613f7d57613f7c61536a565b5b6000613f8b86828701613a57565b9350506020613f9c868287016138e4565b9250506040613fad86828701613a96565b9150509250925092565b60008060408385031215613fce57613fcd61536a565b5b6000613fdc85828601613a57565b9250506020613fed85828601613a57565b9150509250929050565b60006020828403121561400d5761400c61536a565b5b600061401b84828501613a81565b91505092915050565b6000614030838361458d565b60408301905092915050565b600061404883836145cb565b60208301905092915050565b61405d816150cf565b82525050565b61406c8161500e565b82525050565b61407b8161500e565b82525050565b61408a81614ffc565b82525050565b600061409b82614e4e565b6140a58185614e94565b93506140b083614e2e565b8060005b838110156140e15781516140c88882614024565b97506140d383614e7a565b9250506001810190506140b4565b5085935050505092915050565b60006140f982614e59565b6141038185614ea5565b935061410e83614e3e565b8060005b8381101561413f578151614126888261403c565b975061413183614e87565b925050600181019050614112565b5085935050505092915050565b61415581615020565b82525050565b6141648161502c565b82525050565b61417b6141768261502c565b615230565b82525050565b600061418d8385614ec7565b935061419a838584615117565b82840190509392505050565b60006141b182614e64565b6141bb8185614eb6565b93506141cb818560208601615126565b6141d48161536f565b840191505092915050565b60006141eb8385614ed2565b93506141f8838584615117565b6142018361536f565b840190509392505050565b600061421782614e6f565b6142218185614ed2565b9350614231818560208601615126565b61423a8161536f565b840191505092915050565b6000614252603483614ed2565b915061425d8261538d565b604082019050919050565b6000614275602883614ed2565b9150614280826153dc565b604082019050919050565b6000614298602b83614ed2565b91506142a38261542b565b604082019050919050565b60006142bb602683614ed2565b91506142c68261547a565b604082019050919050565b60006142de600f83614ed2565b91506142e9826154c9565b602082019050919050565b6000614301602c83614ed2565b915061430c826154f2565b604082019050919050565b6000614324602983614ed2565b915061432f82615541565b604082019050919050565b6000614347602b83614ed2565b915061435282615590565b604082019050919050565b600061436a601783614ed2565b9150614375826155df565b602082019050919050565b600061438d602083614ed2565b915061439882615608565b602082019050919050565b60006143b0602583614ed2565b91506143bb82615631565b604082019050919050565b60006143d3603283614ed2565b91506143de82615680565b604082019050919050565b60006143f6602a83614ed2565b9150614401826156cf565b604082019050919050565b6000614419601083614ed2565b91506144248261571e565b602082019050919050565b600061443c601d83614ed2565b915061444782615747565b602082019050919050565b600061445f602083614ed2565b915061446a82615770565b602082019050919050565b6000614482601f83614ed2565b915061448d82615799565b602082019050919050565b60006144a5602983614ed2565b91506144b0826157c2565b604082019050919050565b60006144c8602983614ed2565b91506144d382615811565b604082019050919050565b60006144eb602883614ed2565b91506144f682615860565b604082019050919050565b600061450e601883614ed2565b9150614519826158af565b602082019050919050565b6000614531602183614ed2565b915061453c826158d8565b604082019050919050565b6000614554601f83614ed2565b915061455f82615927565b602082019050919050565b6000614577601b83614ed2565b915061458282615950565b602082019050919050565b6040820160008201516145a36000850182614063565b5060208201516145b6602085018261462d565b50505050565b6145c581615062565b82525050565b6145d481615090565b82525050565b6145e381615090565b82525050565b6145fa6145f582615090565b61523a565b82525050565b61460981615105565b82525050565b6146188161509a565b82525050565b614627816150aa565b82525050565b614636816150b7565b82525050565b614645816150b7565b82525050565b6000614657828561416a565b60208201915061466782846145e9565b6020820191508190509392505050565b6000614684828486614181565b91508190509392505050565b60006020820190506146a56000830184614081565b92915050565b60006020820190506146c06000830184614072565b92915050565b60006040820190506146db6000830185614054565b6146e860208301846145da565b9392505050565b60006040820190506147046000830185614072565b614711602083018461463c565b9392505050565b600060a08201905061472d6000830188614081565b61473a6020830187614081565b818103604083015261474c81866140ee565b9050818103606083015261476081856140ee565b9050818103608083015261477481846141a6565b90509695505050505050565b600060a0820190506147956000830188614081565b6147a26020830187614081565b6147af60408301866145da565b6147bc60608301856145da565b81810360808301526147ce81846141a6565b90509695505050505050565b60006060820190506147ef6000830186614081565b6147fc60208301856145da565b818103604083015261480e81846141a6565b9050949350505050565b600060208201905081810360008301526148328184614090565b905092915050565b6000602082019050818103600083015261485481846140ee565b905092915050565b6000604082019050818103600083015261487681856140ee565b9050818103602083015261488a81846140ee565b90509392505050565b60006020820190506148a8600083018461414c565b92915050565b60006020820190506148c3600083018461415b565b92915050565b60006040820190506148de600083018561415b565b6148eb60208301846145da565b9392505050565b6000608082019050614907600083018761415b565b61491460208301866145da565b6149216040830185614081565b61492e60608301846145da565b95945050505050565b60006020820190508181036000830152614951818461420c565b905092915050565b60006040820190508181036000830152614973818661420c565b905081810360208301526149888184866141df565b9050949350505050565b600060208201905081810360008301526149ab81614245565b9050919050565b600060208201905081810360008301526149cb81614268565b9050919050565b600060208201905081810360008301526149eb8161428b565b9050919050565b60006020820190508181036000830152614a0b816142ae565b9050919050565b60006020820190508181036000830152614a2b816142d1565b9050919050565b60006020820190508181036000830152614a4b816142f4565b9050919050565b60006020820190508181036000830152614a6b81614317565b9050919050565b60006020820190508181036000830152614a8b8161433a565b9050919050565b60006020820190508181036000830152614aab8161435d565b9050919050565b60006020820190508181036000830152614acb81614380565b9050919050565b60006020820190508181036000830152614aeb816143a3565b9050919050565b60006020820190508181036000830152614b0b816143c6565b9050919050565b60006020820190508181036000830152614b2b816143e9565b9050919050565b60006020820190508181036000830152614b4b8161440c565b9050919050565b60006020820190508181036000830152614b6b8161442f565b9050919050565b60006020820190508181036000830152614b8b81614452565b9050919050565b60006020820190508181036000830152614bab81614475565b9050919050565b60006020820190508181036000830152614bcb81614498565b9050919050565b60006020820190508181036000830152614beb816144bb565b9050919050565b60006020820190508181036000830152614c0b816144de565b9050919050565b60006020820190508181036000830152614c2b81614501565b9050919050565b60006020820190508181036000830152614c4b81614524565b9050919050565b60006020820190508181036000830152614c6b81614547565b9050919050565b60006020820190508181036000830152614c8b8161456a565b9050919050565b6000602082019050614ca760008301846145bc565b92915050565b6000602082019050614cc260008301846145da565b92915050565b6000604082019050614cdd60008301856145da565b8181036020830152614cef8184614090565b90509392505050565b6000604082019050614d0d60008301856145da565b614d1a60208301846145da565b9392505050565b6000602082019050614d36600083018461460f565b92915050565b6000604082019050614d516000830185614600565b614d5e6020830184614600565b9392505050565b6000602082019050614d7a600083018461461e565b92915050565b6000614d8a614d9b565b9050614d96828261518b565b919050565b6000604051905090565b600067ffffffffffffffff821115614dc057614dbf615300565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614dec57614deb615300565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614e1857614e17615300565b5b614e218261536f565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b6000614eee82615062565b9150614ef983615062565b92508261ffff03821115614f1057614f0f615244565b5b828201905092915050565b6000614f2682615090565b9150614f3183615090565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f6657614f65615244565b5b828201905092915050565b6000614f7c82615090565b9150614f8783615090565b925082614f9757614f96615273565b5b828204905092915050565b6000614fad82615090565b9150614fb883615090565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614ff157614ff0615244565b5b828202905092915050565b600061500782615070565b9050919050565b600061501982615070565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600060ff82169050919050565b60006bffffffffffffffffffffffff82169050919050565b60006150da826150e1565b9050919050565b60006150ec826150f3565b9050919050565b60006150fe82615070565b9050919050565b60006151108261509a565b9050919050565b82818337600083830152505050565b60005b83811015615144578082015181840152602081019050615129565b83811115615153576000848401525b50505050565b6000600282049050600182168061517157607f821691505b60208210811415615185576151846152a2565b5b50919050565b6151948261536f565b810181811067ffffffffffffffff821117156151b3576151b2615300565b5b80604052505050565b60006151c782615062565b915061ffff8214156151dc576151db615244565b5b600182019050919050565b60006151f282615090565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561522557615224615244565b5b600182019050919050565b6000819050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d111561534e5760046000803e61534b600051615380565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b7f455243313135355061757361626c653a20746f6b656e207472616e736665722060008201527f7768696c65207061757365640000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f756768204c494e4b202d2066696c6c20636f6e74726163742060008201527f7769746820666175636574000000000000000000000000000000000000000000602082015250565b7f70726963652063616e206f6e6c7920696e637265617365000000000000000000600082015250565b7f526f79616c74792076616c75652073686f756c6420626520706f736974697665600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f57726f6e67207265717565737420494400000000000000000000000000000000600082015250565b7f4d7573742062652077616974696e67206f6e2072616e646f6d6e657373000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c00600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f737570706c792063616e206f6e6c792064656372656173650000000000000000600082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f526563697069656e742073686f756c642062652070726573656e740000000000600082015250565b600060443d101561598957615a0c565b615991614d9b565b60043d036004823e80513d602482011167ffffffffffffffff821117156159b9575050615a0c565b808201805167ffffffffffffffff8111156159d75750505050615a0c565b80602083010160043d0385018111156159f4575050505050615a0c565b615a038260200185018661518b565b82955050505050505b90565b615a1881614ffc565b8114615a2357600080fd5b50565b615a2f8161500e565b8114615a3a57600080fd5b50565b615a4681615020565b8114615a5157600080fd5b50565b615a5d8161502c565b8114615a6857600080fd5b50565b615a7481615036565b8114615a7f57600080fd5b50565b615a8b81615062565b8114615a9657600080fd5b50565b615aa281615090565b8114615aad57600080fd5b50565b615ab98161509a565b8114615ac457600080fd5b50565b615ad0816150b7565b8114615adb57600080fd5b5056fea2646970667358221220d27d32abef44b31bdee26c85a21f611c484eb8825c2706d1aa617a626ea70f8c64736f6c6343000807003300000000000000000000000017ae46baad4ebb2e98f1aea58b943cd565daa76f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952000000000000000000000000514910771af9ca656af840dff83e8264ecf986caaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af4450000000000000000000000000000000000000000000000001bc16d674ec80000000000000000000000000000c1a28232fcd4a408c57a9b5d82f600b1b23365fd00000000000000000000000061f0a916017093933f02274ec6564629f4070f37

Deployed Bytecode

0x6080604052600436106102185760003560e01c80638924af7411610123578063c5bd0f30116100ab578063d00964651161006f578063d0096465146107b3578063e985e9c5146107de578063f242432a1461081b578063f2fde38b14610844578063f47c84c51461086d57610218565b8063c5bd0f30146106ba578063cad96cca146106f7578063cb4a884414610734578063ccbac9f51461075d578063cce132d11461078857610218565b806390fdc00f116100f257806390fdc00f146105fb57806394985ddd14610626578063960d33da1461064f578063a22cb46514610666578063a7f3e79a1461068f57610218565b80638924af741461053c5780638d323a8b1461057a5780638da5cb5b146105a55780638de928d8146105d057610218565b80632eb2c2d6116101a657806355f804b31161017557806355f804b31461047b5780635c975abb146104a4578063660b846b146104cf5780636de9f32b146104fa578063715018a61461052557610218565b80632eb2c2d6146103af5780633023eba6146103d857806344a0d68a146104155780634e1273f41461043e57610218565b80630e89341c116101ed5780630e89341c146102de57806313faede61461031b578063143094db14610346578063163135631461036f5780632e1a7d4d1461038657610218565b8062153bdc1461021d578062fdd58e1461023957806301ffc9a71461027657806306fdde03146102b3575b600080fd5b61023760048036038101906102329190613cbe565b610898565b005b34801561024557600080fd5b50610260600480360381019061025b9190613d11565b610d65565b60405161026d9190614cad565b60405180910390f35b34801561028257600080fd5b5061029d60048036038101906102989190613e36565b610e2f565b6040516102aa9190614893565b60405180910390f35b3480156102bf57600080fd5b506102c8610e98565b6040516102d59190614937565b60405180910390f35b3480156102ea57600080fd5b5061030560048036038101906103009190613f0a565b610f26565b6040516103129190614937565b60405180910390f35b34801561032757600080fd5b50610330610fba565b60405161033d9190614cad565b60405180910390f35b34801561035257600080fd5b5061036d60048036038101906103689190613f64565b610fc0565b005b34801561037b57600080fd5b5061038461113b565b005b34801561039257600080fd5b506103ad60048036038101906103a89190613f0a565b6112ba565b005b3480156103bb57600080fd5b506103d660048036038101906103d19190613b18565b6115fe565b005b3480156103e457600080fd5b506103ff60048036038101906103fa9190613aab565b61169f565b60405161040c9190614c92565b60405180910390f35b34801561042157600080fd5b5061043c60048036038101906104379190613f0a565b6116c0565b005b34801561044a57600080fd5b5061046560048036038101906104609190613d51565b6117c5565b604051610472919061483a565b60405180910390f35b34801561048757600080fd5b506104a2600480360381019061049d9190613e90565b6118de565b005b3480156104b057600080fd5b506104b96119ef565b6040516104c69190614893565b60405180910390f35b3480156104db57600080fd5b506104e4611a06565b6040516104f191906146ab565b60405180910390f35b34801561050657600080fd5b5061050f611a2c565b60405161051c9190614c92565b60405180910390f35b34801561053157600080fd5b5061053a611a40565b005b34801561054857600080fd5b50610563600480360381019061055e9190613fb7565b611ac8565b6040516105719291906146ef565b60405180910390f35b34801561058657600080fd5b5061058f611b3d565b60405161059c91906148ae565b60405180910390f35b3480156105b157600080fd5b506105ba611b43565b6040516105c79190614690565b60405180910390f35b3480156105dc57600080fd5b506105e5611b6c565b6040516105f29190614690565b60405180910390f35b34801561060757600080fd5b50610610611b92565b60405161061d9190614893565b60405180910390f35b34801561063257600080fd5b5061064d60048036038101906106489190613df6565b611ba5565b005b34801561065b57600080fd5b50610664611c41565b005b34801561067257600080fd5b5061068d60048036038101906106889190613c7e565b611cda565b005b34801561069b57600080fd5b506106a4611cf0565b6040516106b191906146ab565b60405180910390f35b3480156106c657600080fd5b506106e160048036038101906106dc9190613edd565b611d16565b6040516106ee9190614cad565b60405180910390f35b34801561070357600080fd5b5061071e60048036038101906107199190613f0a565b611d2e565b60405161072b9190614818565b60405180910390f35b34801561074057600080fd5b5061075b60048036038101906107569190613ff7565b611e30565b005b34801561076957600080fd5b50610772611f7b565b60405161077f9190614cad565b60405180910390f35b34801561079457600080fd5b5061079d611f81565b6040516107aa9190614d65565b60405180910390f35b3480156107bf57600080fd5b506107c8611f86565b6040516107d59190614893565b60405180910390f35b3480156107ea57600080fd5b5061080560048036038101906108009190613ad8565b611f99565b6040516108129190614893565b60405180910390f35b34801561082757600080fd5b50610842600480360381019061083d9190613be7565b61202d565b005b34801561085057600080fd5b5061086b60048036038101906108669190613aab565b6120ce565b005b34801561087957600080fd5b506108826121c6565b60405161088f9190614d21565b60405180910390f35b600960009054906101000a900463ffffffff1663ffffffff1682600960049054906101000a900461ffff166108cd9190614ee3565b61ffff1611156108dc57600080fd5b601460ff1682601260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900461ffff1661093a9190614ee3565b61ffff16111561094957600080fd5b81601260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900461ffff166109a59190614ee3565b92506101000a81548161ffff021916908361ffff1602179055506009601a9054906101000a900460ff16158015610a0e57506109df6121dc565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b80610a6d5750610a1c6121dc565b73ffffffffffffffffffffffffffffffffffffffff16600960069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b610a7657600080fd5b8161ffff16600d54610a889190614fa2565b341480610af25750610a986121dc565b73ffffffffffffffffffffffffffffffffffffffff16600960069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148015610af15750805b5b610afb57600080fd5b60008261ffff1667ffffffffffffffff811115610b1b57610b1a615300565b5b604051908082528060200260200182016040528015610b495781602001602082028036833780820191505090505b50905060008361ffff1667ffffffffffffffff811115610b6c57610b6b615300565b5b604051908082528060200260200182016040528015610b9a5781602001602082028036833780820191505090505b50905060005b8461ffff168161ffff161015610cb257600a54604051602001610bc39190614cad565b6040516020818303038152906040528051906020012060001c600a81905550806001600960049054906101000a900461ffff16610c009190614ee3565b610c0a9190614ee3565b61ffff16838261ffff1681518110610c2557610c246152d1565b5b602002602001018181525050600a5460136000836001600960049054906101000a900461ffff16610c569190614ee3565b610c609190614ee3565b61ffff1661ffff168152602001908152602001600020819055506001828261ffff1681518110610c9357610c926152d1565b5b6020026020010181815250508080610caa906151bc565b915050610ba0565b5083600960048282829054906101000a900461ffff16610cd29190614ee3565b92506101000a81548161ffff021916908361ffff160217905550610d07858383604051806020016040528060008152506121e4565b8215610d5e578473ffffffffffffffffffffffffffffffffffffffff167f15f2b94c3afe612ef12d4c9cb1c88f11dc770e5880c1daff9a997f6fd43170da8383604051610d5592919061485c565b60405180910390a25b5050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcd906149d2565b60405180910390fd5b6002600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600063cad96cca60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415610e875760019050610e93565b610e9082612403565b90505b919050565b60088054610ea590615159565b80601f0160208091040260200160405190810160405280929190818152602001828054610ed190615159565b8015610f1e5780601f10610ef357610100808354040283529160200191610f1e565b820191906000526020600020905b815481529060010190602001808311610f0157829003601f168201915b505050505081565b606060048054610f3590615159565b80601f0160208091040260200160405190810160405280929190818152602001828054610f6190615159565b8015610fae5780601f10610f8357610100808354040283529160200191610fae565b820191906000526020600020905b815481529060010190602001808311610f9157829003601f168201915b50505050509050919050565b600d5481565b610fc86121dc565b73ffffffffffffffffffffffffffffffffffffffff16610fe6611b43565b73ffffffffffffffffffffffffffffffffffffffff161461103c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103390614b72565b60405180910390fd5b6000600167ffffffffffffffff81111561105957611058615300565b5b60405190808252806020026020018201604052801561109257816020015b61107f6136cc565b8152602001906001900390816110775790505b50905081816000815181106110aa576110a96152d1565b5b6020026020010151602001906bffffffffffffffffffffffff1690816bffffffffffffffffffffffff168152505082816000815181106110ed576110ec6152d1565b5b60200260200101516000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505061113584826124e5565b50505050565b6111436121dc565b73ffffffffffffffffffffffffffffffffffffffff16611161611b43565b73ffffffffffffffffffffffffffffffffffffffff16146111b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ae90614b72565b60405180910390fd5b6011547f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016112139190614690565b60206040518083038186803b15801561122b57600080fd5b505afa15801561123f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112639190613f37565b10156112a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129b90614a72565b60405180910390fd5b6112b26010546011546126e4565b600b81905550565b6112c26121dc565b73ffffffffffffffffffffffffffffffffffffffff166112e0611b43565b73ffffffffffffffffffffffffffffffffffffffff1614611336576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132d90614b72565b60405180910390fd5b6002600654141561137c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137390614c52565b60405180910390fd5b60026006819055506000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660646063846113ce9190614fa2565b6113d89190614f71565b6000366040516113e9929190614677565b60006040518083038185875af1925050503d8060008114611426576040519150601f19603f3d011682016040523d82523d6000602084013e61142b565b606091505b505090506000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166064846114779190614f71565b600036604051611488929190614677565b60006040518083038185875af1925050503d80600081146114c5576040519150601f19603f3d011682016040523d82523d6000602084013e6114ca565b606091505b505090508180156114d85750805b611517576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150e90614a12565b60405180910390fd5b7fb4214c8c54fc7442f36d3682f59aebaf09358a4431835b30efb29d52cf9e1e91600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16606460638661156a9190614fa2565b6115749190614f71565b6040516115829291906146c6565b60405180910390a17fb4214c8c54fc7442f36d3682f59aebaf09358a4431835b30efb29d52cf9e1e91600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064856115db9190614f71565b6040516115e99291906146c6565b60405180910390a15050600160068190555050565b6116066121dc565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061164c575061164b856116466121dc565b611f99565b5b61168b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168290614af2565b60405180910390fd5b6116988585858585612845565b5050505050565b60126020528060005260406000206000915054906101000a900461ffff1681565b6116c86121dc565b73ffffffffffffffffffffffffffffffffffffffff166116e6611b43565b73ffffffffffffffffffffffffffffffffffffffff161461173c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173390614b72565b60405180910390fd5b80600d5410611780576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177790614a92565b60405180910390fd5b7f8abcccf5a0287b9e5e286a4009a7d1b2901adbbb3d9655d9b4d110c6098670cd600d54826040516117b3929190614cf8565b60405180910390a180600d8190555050565b6060815183511461180b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180290614bd2565b60405180910390fd5b6000835167ffffffffffffffff81111561182857611827615300565b5b6040519080825280602002602001820160405280156118565781602001602082028036833780820191505090505b50905060005b84518110156118d3576118a385828151811061187b5761187a6152d1565b5b6020026020010151858381518110611896576118956152d1565b5b6020026020010151610d65565b8282815181106118b6576118b56152d1565b5b602002602001018181525050806118cc906151e7565b905061185c565b508091505092915050565b6118e66121dc565b73ffffffffffffffffffffffffffffffffffffffff16611904611b43565b73ffffffffffffffffffffffffffffffffffffffff161461195a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195190614b72565b60405180910390fd5b7fc73341c723fd9197b17090f0c077cf2bbe4d89f2f7d71969b3a7e5c50d570a386119856000610f26565b838360405161199693929190614959565b60405180910390a16119eb82828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612b5c565b5050565b6000600560009054906101000a900460ff16905090565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600960049054906101000a900461ffff1681565b611a486121dc565b73ffffffffffffffffffffffffffffffffffffffff16611a66611b43565b73ffffffffffffffffffffffffffffffffffffffff1614611abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab390614b72565b60405180910390fd5b611ac66000612b76565b565b60076020528160005260406000208181548110611ae457600080fd5b90600052602060002001600091509150508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060000160149054906101000a90046bffffffffffffffffffffffff16905082565b600b5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600960069054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6009601a9054906101000a900460ff1681565b7f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb795273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2a90614b92565b60405180910390fd5b611c3d8282612c3a565b5050565b611c496121dc565b73ffffffffffffffffffffffffffffffffffffffff16611c67611b43565b73ffffffffffffffffffffffffffffffffffffffff1614611cbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb490614b72565b60405180910390fd5b60006009601a6101000a81548160ff021916908315150217905550565b611cec611ce56121dc565b8383612cf3565b5050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60136020528060005260406000206000915090505481565b606060076000838152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015611e25578382906000526020600020016040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505081526020019060010190611d63565b505050509050919050565b611e386121dc565b73ffffffffffffffffffffffffffffffffffffffff16611e56611b43565b73ffffffffffffffffffffffffffffffffffffffff1614611eac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea390614b72565b60405180910390fd5b8063ffffffff16600960009054906101000a900463ffffffff1663ffffffff1611611f0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0390614c12565b60405180910390fd5b7fc1cab504027902ea555d0f8521ef7da7b61eb3c7c7036ab8f780ef4e52f097b1600960009054906101000a900463ffffffff1682604051611f4f929190614d3c565b60405180910390a180600960006101000a81548163ffffffff021916908363ffffffff16021790555050565b600a5481565b601481565b600c60009054906101000a900460ff1681565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6120356121dc565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061207b575061207a856120756121dc565b611f99565b5b6120ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b190614a52565b60405180910390fd5b6120c78585858585612e60565b5050505050565b6120d66121dc565b73ffffffffffffffffffffffffffffffffffffffff166120f4611b43565b73ffffffffffffffffffffffffffffffffffffffff161461214a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214190614b72565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156121ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b1906149f2565b60405180910390fd5b6121c381612b76565b50565b600960009054906101000a900463ffffffff1681565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612254576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224b90614c32565b60405180910390fd5b8151835114612298576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228f90614bf2565b60405180910390fd5b60006122a26121dc565b90506122b3816000878787876130e5565b60005b845181101561236d578381815181106122d2576122d16152d1565b5b6020026020010151600260008784815181106122f1576122f06152d1565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123539190614f1b565b925050819055508080612365906151e7565b9150506122b6565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516123e592919061485c565b60405180910390a46123fc81600087878787613143565b5050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124ce57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806124de57506124dd8261332a565b5b9050919050565b60005b81518110156126d557600073ffffffffffffffffffffffffffffffffffffffff1682828151811061251c5761251b6152d1565b5b60200260200101516000015173ffffffffffffffffffffffffffffffffffffffff16141561257f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257690614c72565b60405180910390fd5b6000828281518110612594576125936152d1565b5b6020026020010151602001516bffffffffffffffffffffffff1614156125ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e690614ab2565b60405180910390fd5b60076000848152602001908152602001600020828281518110612615576126146152d1565b5b60200260200101519080600181540180825580915050600190039060005260206000200160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550505080806126cd906151e7565b9150506124e8565b506126e08282613394565b5050565b60007f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca73ffffffffffffffffffffffffffffffffffffffff16634000aea07f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952848660006040516020016127589291906148c9565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401612785939291906147da565b602060405180830381600087803b15801561279f57600080fd5b505af11580156127b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127d79190613dc9565b5060006127fa8460003060016000898152602001908152602001600020546133d1565b905060018060008681526020019081526020016000205461281b9190614f1b565b600160008681526020019081526020016000208190555061283c848261340d565b91505092915050565b8151835114612889576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288090614bf2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156128f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f090614ad2565b60405180910390fd5b60006129036121dc565b90506129138187878787876130e5565b60005b8451811015612ac7576000858281518110612934576129336152d1565b5b602002602001015190506000858381518110612953576129526152d1565b5b6020026020010151905060006002600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156129f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ec90614b12565b60405180910390fd5b8181036002600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816002600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612aac9190614f1b565b9250508190555050505080612ac0906151e7565b9050612916565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612b3e92919061485c565b60405180910390a4612b54818787878787613143565b505050505050565b8060049080519060200190612b7292919061370a565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600c60009054906101000a900460ff16612c89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c8090614b52565b60405180910390fd5b81600b5414612ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc490614b32565b60405180910390fd5b80600a819055506000600c60006101000a81548160ff0219169083151502179055505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5990614bb2565b60405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612e539190614893565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612ed0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec790614ad2565b60405180910390fd5b6000612eda6121dc565b9050612efa818787612eeb88613440565b612ef488613440565b876130e5565b60006002600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015612f92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8990614b12565b60405180910390fd5b8381036002600087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550836002600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130499190614f1b565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516130c6929190614cf8565b60405180910390a46130dc8288888888886134ba565b50505050505050565b6130f38686868686866136a1565b6130fb6119ef565b1561313b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313290614a32565b60405180910390fd5b505050505050565b6131628473ffffffffffffffffffffffffffffffffffffffff166136a9565b15613322578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016131a8959493929190614718565b602060405180830381600087803b1580156131c257600080fd5b505af19250505080156131f357506040513d601f19601f820116820180604052508101906131f09190613e63565b60015b613299576131ff61532f565b806308c379a0141561325c5750613214615979565b8061321f575061325e565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132539190614937565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329090614992565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613320576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613317906149b2565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b7f3fa96d7b6bcbfe71ef171666d84db3cf52fa2d1c8afdb1cc8e486177f208b7df82826040516133c5929190614cc8565b60405180910390a15050565b6000848484846040516020016133ea94939291906148f2565b6040516020818303038152906040528051906020012060001c9050949350505050565b6000828260405160200161342292919061464b565b60405160208183030381529060405280519060200120905092915050565b60606000600167ffffffffffffffff81111561345f5761345e615300565b5b60405190808252806020026020018201604052801561348d5781602001602082028036833780820191505090505b50905082816000815181106134a5576134a46152d1565b5b60200260200101818152505080915050919050565b6134d98473ffffffffffffffffffffffffffffffffffffffff166136a9565b15613699578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161351f959493929190614780565b602060405180830381600087803b15801561353957600080fd5b505af192505050801561356a57506040513d601f19601f820116820180604052508101906135679190613e63565b60015b6136105761357661532f565b806308c379a014156135d3575061358b615979565b8061359657506135d5565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135ca9190614937565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161360790614992565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613697576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368e906149b2565b60405180910390fd5b505b505050505050565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff1681525090565b82805461371690615159565b90600052602060002090601f016020900481019282613738576000855561377f565b82601f1061375157805160ff191683800117855561377f565b8280016001018555821561377f579182015b8281111561377e578251825591602001919060010190613763565b5b50905061378c9190613790565b5090565b5b808211156137a9576000816000905550600101613791565b5090565b60006137c06137bb84614da5565b614d80565b905080838252602082019050828560208602820111156137e3576137e261535b565b5b60005b8581101561381357816137f988826138cf565b8452602084019350602083019250506001810190506137e6565b5050509392505050565b600061383061382b84614dd1565b614d80565b905080838252602082019050828560208602820111156138535761385261535b565b5b60005b8581101561388357816138698882613a57565b845260208401935060208301925050600181019050613856565b5050509392505050565b60006138a061389b84614dfd565b614d80565b9050828152602081018484840111156138bc576138bb615360565b5b6138c7848285615117565b509392505050565b6000813590506138de81615a0f565b92915050565b6000813590506138f381615a26565b92915050565b600082601f83011261390e5761390d615356565b5b813561391e8482602086016137ad565b91505092915050565b600082601f83011261393c5761393b615356565b5b813561394c84826020860161381d565b91505092915050565b60008135905061396481615a3d565b92915050565b60008151905061397981615a3d565b92915050565b60008135905061398e81615a54565b92915050565b6000813590506139a381615a6b565b92915050565b6000815190506139b881615a6b565b92915050565b600082601f8301126139d3576139d2615356565b5b81356139e384826020860161388d565b91505092915050565b60008083601f840112613a0257613a01615356565b5b8235905067ffffffffffffffff811115613a1f57613a1e615351565b5b602083019150836001820283011115613a3b57613a3a61535b565b5b9250929050565b600081359050613a5181615a82565b92915050565b600081359050613a6681615a99565b92915050565b600081519050613a7b81615a99565b92915050565b600081359050613a9081615ab0565b92915050565b600081359050613aa581615ac7565b92915050565b600060208284031215613ac157613ac061536a565b5b6000613acf848285016138cf565b91505092915050565b60008060408385031215613aef57613aee61536a565b5b6000613afd858286016138cf565b9250506020613b0e858286016138cf565b9150509250929050565b600080600080600060a08688031215613b3457613b3361536a565b5b6000613b42888289016138cf565b9550506020613b53888289016138cf565b945050604086013567ffffffffffffffff811115613b7457613b73615365565b5b613b8088828901613927565b935050606086013567ffffffffffffffff811115613ba157613ba0615365565b5b613bad88828901613927565b925050608086013567ffffffffffffffff811115613bce57613bcd615365565b5b613bda888289016139be565b9150509295509295909350565b600080600080600060a08688031215613c0357613c0261536a565b5b6000613c11888289016138cf565b9550506020613c22888289016138cf565b9450506040613c3388828901613a57565b9350506060613c4488828901613a57565b925050608086013567ffffffffffffffff811115613c6557613c64615365565b5b613c71888289016139be565b9150509295509295909350565b60008060408385031215613c9557613c9461536a565b5b6000613ca3858286016138cf565b9250506020613cb485828601613955565b9150509250929050565b600080600060608486031215613cd757613cd661536a565b5b6000613ce5868287016138cf565b9350506020613cf686828701613a42565b9250506040613d0786828701613955565b9150509250925092565b60008060408385031215613d2857613d2761536a565b5b6000613d36858286016138cf565b9250506020613d4785828601613a57565b9150509250929050565b60008060408385031215613d6857613d6761536a565b5b600083013567ffffffffffffffff811115613d8657613d85615365565b5b613d92858286016138f9565b925050602083013567ffffffffffffffff811115613db357613db2615365565b5b613dbf85828601613927565b9150509250929050565b600060208284031215613ddf57613dde61536a565b5b6000613ded8482850161396a565b91505092915050565b60008060408385031215613e0d57613e0c61536a565b5b6000613e1b8582860161397f565b9250506020613e2c85828601613a57565b9150509250929050565b600060208284031215613e4c57613e4b61536a565b5b6000613e5a84828501613994565b91505092915050565b600060208284031215613e7957613e7861536a565b5b6000613e87848285016139a9565b91505092915050565b60008060208385031215613ea757613ea661536a565b5b600083013567ffffffffffffffff811115613ec557613ec4615365565b5b613ed1858286016139ec565b92509250509250929050565b600060208284031215613ef357613ef261536a565b5b6000613f0184828501613a42565b91505092915050565b600060208284031215613f2057613f1f61536a565b5b6000613f2e84828501613a57565b91505092915050565b600060208284031215613f4d57613f4c61536a565b5b6000613f5b84828501613a6c565b91505092915050565b600080600060608486031215613f7d57613f7c61536a565b5b6000613f8b86828701613a57565b9350506020613f9c868287016138e4565b9250506040613fad86828701613a96565b9150509250925092565b60008060408385031215613fce57613fcd61536a565b5b6000613fdc85828601613a57565b9250506020613fed85828601613a57565b9150509250929050565b60006020828403121561400d5761400c61536a565b5b600061401b84828501613a81565b91505092915050565b6000614030838361458d565b60408301905092915050565b600061404883836145cb565b60208301905092915050565b61405d816150cf565b82525050565b61406c8161500e565b82525050565b61407b8161500e565b82525050565b61408a81614ffc565b82525050565b600061409b82614e4e565b6140a58185614e94565b93506140b083614e2e565b8060005b838110156140e15781516140c88882614024565b97506140d383614e7a565b9250506001810190506140b4565b5085935050505092915050565b60006140f982614e59565b6141038185614ea5565b935061410e83614e3e565b8060005b8381101561413f578151614126888261403c565b975061413183614e87565b925050600181019050614112565b5085935050505092915050565b61415581615020565b82525050565b6141648161502c565b82525050565b61417b6141768261502c565b615230565b82525050565b600061418d8385614ec7565b935061419a838584615117565b82840190509392505050565b60006141b182614e64565b6141bb8185614eb6565b93506141cb818560208601615126565b6141d48161536f565b840191505092915050565b60006141eb8385614ed2565b93506141f8838584615117565b6142018361536f565b840190509392505050565b600061421782614e6f565b6142218185614ed2565b9350614231818560208601615126565b61423a8161536f565b840191505092915050565b6000614252603483614ed2565b915061425d8261538d565b604082019050919050565b6000614275602883614ed2565b9150614280826153dc565b604082019050919050565b6000614298602b83614ed2565b91506142a38261542b565b604082019050919050565b60006142bb602683614ed2565b91506142c68261547a565b604082019050919050565b60006142de600f83614ed2565b91506142e9826154c9565b602082019050919050565b6000614301602c83614ed2565b915061430c826154f2565b604082019050919050565b6000614324602983614ed2565b915061432f82615541565b604082019050919050565b6000614347602b83614ed2565b915061435282615590565b604082019050919050565b600061436a601783614ed2565b9150614375826155df565b602082019050919050565b600061438d602083614ed2565b915061439882615608565b602082019050919050565b60006143b0602583614ed2565b91506143bb82615631565b604082019050919050565b60006143d3603283614ed2565b91506143de82615680565b604082019050919050565b60006143f6602a83614ed2565b9150614401826156cf565b604082019050919050565b6000614419601083614ed2565b91506144248261571e565b602082019050919050565b600061443c601d83614ed2565b915061444782615747565b602082019050919050565b600061445f602083614ed2565b915061446a82615770565b602082019050919050565b6000614482601f83614ed2565b915061448d82615799565b602082019050919050565b60006144a5602983614ed2565b91506144b0826157c2565b604082019050919050565b60006144c8602983614ed2565b91506144d382615811565b604082019050919050565b60006144eb602883614ed2565b91506144f682615860565b604082019050919050565b600061450e601883614ed2565b9150614519826158af565b602082019050919050565b6000614531602183614ed2565b915061453c826158d8565b604082019050919050565b6000614554601f83614ed2565b915061455f82615927565b602082019050919050565b6000614577601b83614ed2565b915061458282615950565b602082019050919050565b6040820160008201516145a36000850182614063565b5060208201516145b6602085018261462d565b50505050565b6145c581615062565b82525050565b6145d481615090565b82525050565b6145e381615090565b82525050565b6145fa6145f582615090565b61523a565b82525050565b61460981615105565b82525050565b6146188161509a565b82525050565b614627816150aa565b82525050565b614636816150b7565b82525050565b614645816150b7565b82525050565b6000614657828561416a565b60208201915061466782846145e9565b6020820191508190509392505050565b6000614684828486614181565b91508190509392505050565b60006020820190506146a56000830184614081565b92915050565b60006020820190506146c06000830184614072565b92915050565b60006040820190506146db6000830185614054565b6146e860208301846145da565b9392505050565b60006040820190506147046000830185614072565b614711602083018461463c565b9392505050565b600060a08201905061472d6000830188614081565b61473a6020830187614081565b818103604083015261474c81866140ee565b9050818103606083015261476081856140ee565b9050818103608083015261477481846141a6565b90509695505050505050565b600060a0820190506147956000830188614081565b6147a26020830187614081565b6147af60408301866145da565b6147bc60608301856145da565b81810360808301526147ce81846141a6565b90509695505050505050565b60006060820190506147ef6000830186614081565b6147fc60208301856145da565b818103604083015261480e81846141a6565b9050949350505050565b600060208201905081810360008301526148328184614090565b905092915050565b6000602082019050818103600083015261485481846140ee565b905092915050565b6000604082019050818103600083015261487681856140ee565b9050818103602083015261488a81846140ee565b90509392505050565b60006020820190506148a8600083018461414c565b92915050565b60006020820190506148c3600083018461415b565b92915050565b60006040820190506148de600083018561415b565b6148eb60208301846145da565b9392505050565b6000608082019050614907600083018761415b565b61491460208301866145da565b6149216040830185614081565b61492e60608301846145da565b95945050505050565b60006020820190508181036000830152614951818461420c565b905092915050565b60006040820190508181036000830152614973818661420c565b905081810360208301526149888184866141df565b9050949350505050565b600060208201905081810360008301526149ab81614245565b9050919050565b600060208201905081810360008301526149cb81614268565b9050919050565b600060208201905081810360008301526149eb8161428b565b9050919050565b60006020820190508181036000830152614a0b816142ae565b9050919050565b60006020820190508181036000830152614a2b816142d1565b9050919050565b60006020820190508181036000830152614a4b816142f4565b9050919050565b60006020820190508181036000830152614a6b81614317565b9050919050565b60006020820190508181036000830152614a8b8161433a565b9050919050565b60006020820190508181036000830152614aab8161435d565b9050919050565b60006020820190508181036000830152614acb81614380565b9050919050565b60006020820190508181036000830152614aeb816143a3565b9050919050565b60006020820190508181036000830152614b0b816143c6565b9050919050565b60006020820190508181036000830152614b2b816143e9565b9050919050565b60006020820190508181036000830152614b4b8161440c565b9050919050565b60006020820190508181036000830152614b6b8161442f565b9050919050565b60006020820190508181036000830152614b8b81614452565b9050919050565b60006020820190508181036000830152614bab81614475565b9050919050565b60006020820190508181036000830152614bcb81614498565b9050919050565b60006020820190508181036000830152614beb816144bb565b9050919050565b60006020820190508181036000830152614c0b816144de565b9050919050565b60006020820190508181036000830152614c2b81614501565b9050919050565b60006020820190508181036000830152614c4b81614524565b9050919050565b60006020820190508181036000830152614c6b81614547565b9050919050565b60006020820190508181036000830152614c8b8161456a565b9050919050565b6000602082019050614ca760008301846145bc565b92915050565b6000602082019050614cc260008301846145da565b92915050565b6000604082019050614cdd60008301856145da565b8181036020830152614cef8184614090565b90509392505050565b6000604082019050614d0d60008301856145da565b614d1a60208301846145da565b9392505050565b6000602082019050614d36600083018461460f565b92915050565b6000604082019050614d516000830185614600565b614d5e6020830184614600565b9392505050565b6000602082019050614d7a600083018461461e565b92915050565b6000614d8a614d9b565b9050614d96828261518b565b919050565b6000604051905090565b600067ffffffffffffffff821115614dc057614dbf615300565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614dec57614deb615300565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614e1857614e17615300565b5b614e218261536f565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b6000614eee82615062565b9150614ef983615062565b92508261ffff03821115614f1057614f0f615244565b5b828201905092915050565b6000614f2682615090565b9150614f3183615090565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614f6657614f65615244565b5b828201905092915050565b6000614f7c82615090565b9150614f8783615090565b925082614f9757614f96615273565b5b828204905092915050565b6000614fad82615090565b9150614fb883615090565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614ff157614ff0615244565b5b828202905092915050565b600061500782615070565b9050919050565b600061501982615070565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600060ff82169050919050565b60006bffffffffffffffffffffffff82169050919050565b60006150da826150e1565b9050919050565b60006150ec826150f3565b9050919050565b60006150fe82615070565b9050919050565b60006151108261509a565b9050919050565b82818337600083830152505050565b60005b83811015615144578082015181840152602081019050615129565b83811115615153576000848401525b50505050565b6000600282049050600182168061517157607f821691505b60208210811415615185576151846152a2565b5b50919050565b6151948261536f565b810181811067ffffffffffffffff821117156151b3576151b2615300565b5b80604052505050565b60006151c782615062565b915061ffff8214156151dc576151db615244565b5b600182019050919050565b60006151f282615090565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561522557615224615244565b5b600182019050919050565b6000819050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d111561534e5760046000803e61534b600051615380565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b7f455243313135355061757361626c653a20746f6b656e207472616e736665722060008201527f7768696c65207061757365640000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f756768204c494e4b202d2066696c6c20636f6e74726163742060008201527f7769746820666175636574000000000000000000000000000000000000000000602082015250565b7f70726963652063616e206f6e6c7920696e637265617365000000000000000000600082015250565b7f526f79616c74792076616c75652073686f756c6420626520706f736974697665600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f57726f6e67207265717565737420494400000000000000000000000000000000600082015250565b7f4d7573742062652077616974696e67206f6e2072616e646f6d6e657373000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c00600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f737570706c792063616e206f6e6c792064656372656173650000000000000000600082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f526563697069656e742073686f756c642062652070726573656e740000000000600082015250565b600060443d101561598957615a0c565b615991614d9b565b60043d036004823e80513d602482011167ffffffffffffffff821117156159b9575050615a0c565b808201805167ffffffffffffffff8111156159d75750505050615a0c565b80602083010160043d0385018111156159f4575050505050615a0c565b615a038260200185018661518b565b82955050505050505b90565b615a1881614ffc565b8114615a2357600080fd5b50565b615a2f8161500e565b8114615a3a57600080fd5b50565b615a4681615020565b8114615a5157600080fd5b50565b615a5d8161502c565b8114615a6857600080fd5b50565b615a7481615036565b8114615a7f57600080fd5b50565b615a8b81615062565b8114615a9657600080fd5b50565b615aa281615090565b8114615aad57600080fd5b50565b615ab98161509a565b8114615ac457600080fd5b50565b615ad0816150b7565b8114615adb57600080fd5b5056fea2646970667358221220d27d32abef44b31bdee26c85a21f611c484eb8825c2706d1aa617a626ea70f8c64736f6c63430008070033

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

00000000000000000000000017ae46baad4ebb2e98f1aea58b943cd565daa76f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952000000000000000000000000514910771af9ca656af840dff83e8264ecf986caaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af4450000000000000000000000000000000000000000000000001bc16d674ec80000000000000000000000000000c1a28232fcd4a408c57a9b5d82f600b1b23365fd00000000000000000000000061f0a916017093933f02274ec6564629f4070f37

-----Decoded View---------------
Arg [0] : _allowlistContract (address): 0x17AE46BaAd4eBB2e98f1AEa58B943CD565Daa76F
Arg [1] : vrfCoordinator (address): 0xf0d54349aDdcf704F77AE15b96510dEA15cb7952
Arg [2] : link (address): 0x514910771AF9Ca656af840dff83E8264EcF986CA
Arg [3] : keyHash (bytes32): 0xaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445
Arg [4] : fee (uint256): 2000000000000000000
Arg [5] : withdrawAddress (address): 0xc1A28232Fcd4a408C57A9B5D82F600B1b23365Fd
Arg [6] : devWallet (address): 0x61f0A916017093933f02274ec6564629F4070F37

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 00000000000000000000000017ae46baad4ebb2e98f1aea58b943cd565daa76f
Arg [1] : 000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952
Arg [2] : 000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca
Arg [3] : aa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445
Arg [4] : 0000000000000000000000000000000000000000000000001bc16d674ec80000
Arg [5] : 000000000000000000000000c1a28232fcd4a408c57a9b5d82f600b1b23365fd
Arg [6] : 00000000000000000000000061f0a916017093933f02274ec6564629f4070f37


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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.