ETH Price: $3,058.90 (+3.03%)
Gas: 12 Gwei

Contract

0xbFDd331f7193729A33159e9309f95281C931c7DE
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Set Approval For...198159492024-05-07 4:56:4763 days ago1715057807IN
0xbFDd331f...1C931c7DE
0 ETH0.000192424.17555101
Set Approval For...186735282023-11-28 23:54:35223 days ago1701215675IN
0xbFDd331f...1C931c7DE
0 ETH0.0015590333.76938244
Set Approval For...179888112023-08-25 2:44:11319 days ago1692931451IN
0xbFDd331f...1C931c7DE
0 ETH0.0020089843.51565411
Set Approval For...179729982023-08-22 21:40:23321 days ago1692740423IN
0xbFDd331f...1C931c7DE
0 ETH0.0012413251.17825897
Transfer From173514032023-05-27 15:52:23408 days ago1685202743IN
0xbFDd331f...1C931c7DE
0 ETH0.0024942639.00524895
Set Approval For...173514012023-05-27 15:51:59409 days ago1685202719IN
0xbFDd331f...1C931c7DE
0 ETH0.001755638.0272683
Set Approval For...170096662023-04-09 8:48:23457 days ago1681030103IN
0xbFDd331f...1C931c7DE
0 ETH0.0004646619.22400824
Set Approval For...170005382023-04-08 1:47:47458 days ago1680918467IN
0xbFDd331f...1C931c7DE
0 ETH0.0005058920.86771857
Set Approval For...169769962023-04-04 17:28:59461 days ago1680629339IN
0xbFDd331f...1C931c7DE
0 ETH0.0017399337.73688576
Set Approval For...167820112023-03-08 7:19:11489 days ago1678259951IN
0xbFDd331f...1C931c7DE
0 ETH0.0008877619.22937358
Set Approval For...166338602023-02-15 11:31:11510 days ago1676460671IN
0xbFDd331f...1C931c7DE
0 ETH0.0010387222.54027932
Set Approval For...166133102023-02-12 14:34:47513 days ago1676212487IN
0xbFDd331f...1C931c7DE
0 ETH0.0004542418.79317375
Set Approval For...165449082023-02-03 1:12:23522 days ago1675386743IN
0xbFDd331f...1C931c7DE
0 ETH0.0008198533.91915427
Set Approval For...165449082023-02-03 1:12:23522 days ago1675386743IN
0xbFDd331f...1C931c7DE
0 ETH0.0008206733.91915427
Set Approval For...165080182023-01-28 21:31:23527 days ago1674941483IN
0xbFDd331f...1C931c7DE
0 ETH0.0006589927.23688027
Set Approval For...164221372023-01-16 21:48:23539 days ago1673905703IN
0xbFDd331f...1C931c7DE
0 ETH0.0010997823.86533484
Set Approval For...163201092023-01-02 15:52:59553 days ago1672674779IN
0xbFDd331f...1C931c7DE
0 ETH0.000684314.82235921
Set Approval For...163049192022-12-31 13:02:59556 days ago1672491779IN
0xbFDd331f...1C931c7DE
0 ETH0.0003810715.76566242
Set Approval For...163049182022-12-31 13:02:47556 days ago1672491767IN
0xbFDd331f...1C931c7DE
0 ETH0.0003671615.17540865
Set Approval For...162605572022-12-25 8:26:23562 days ago1671956783IN
0xbFDd331f...1C931c7DE
0 ETH0.0005510611.93643164
Set Approval For...162455992022-12-23 6:23:23564 days ago1671776603IN
0xbFDd331f...1C931c7DE
0 ETH0.0005258711.4055716
Set Approval For...161986352022-12-16 17:04:59570 days ago1671210299IN
0xbFDd331f...1C931c7DE
0 ETH0.0013360228.93896362
Set Approval For...161984302022-12-16 16:23:59570 days ago1671207839IN
0xbFDd331f...1C931c7DE
0 ETH0.0012918327.98168394
Set Approval For...161952462022-12-16 5:43:47571 days ago1671169427IN
0xbFDd331f...1C931c7DE
0 ETH0.0006201113.43195595
Set Approval For...161505072022-12-09 23:44:59577 days ago1670629499IN
0xbFDd331f...1C931c7DE
0 ETH0.0003712515.35949115
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To Value
159292372022-11-09 1:37:11608 days ago1667957831
0xbFDd331f...1C931c7DE
13.5332 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Grimalkins

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 1 of 5: Grimalkins.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import {Ownable} from "./Ownable.sol";
import {ERC721A} from "./ERC721A.sol";

contract Grimalkins is ERC721A, Ownable {

    enum MintState {
        Closed,
        Open
    }

    MintState public mintState;

    uint256 public MAX_SUPPLY = 347;
    uint256 public PRICE = 0.039 ether;
    uint256 public WALLET_LIMIT = 3;

    string public baseURI = "ipfs://";
    string public notRevealedURI = "ipfs://bafkreibk4i45n7ny4kuw226d23b27rwxvmptgugmdoamwgx4glqlvshnha";
    bool public revealed;

    constructor(
        address recipient,
        uint256 allocation
    ) ERC721A("Grimalkins by Chiho Aoshima", "GMK") {
        if (allocation < MAX_SUPPLY && allocation != 0)
            _mint(recipient, allocation);
    }

    // Modifiers

    modifier onlyExternallyOwnedAccount() {
        require(tx.origin == msg.sender, "Not externally owned account");
        _;
    }

    // Mint functions

    function remainingForAddress(address who) public view returns (uint256) {
        if (mintState == MintState.Open)
            return WALLET_LIMIT + _getAux(who) - _numberMinted(who);
        else revert("Invalid sale state");
    }

    function setMintState(uint256 newState) external onlyOwner {
        if (newState == 0) mintState = MintState.Closed;
        else if (newState == 1) mintState = MintState.Open;
        else revert("Invalid sale state");
    }

    function batchMint(
        address[] calldata recipients,
        uint256[] calldata quantities
    ) external onlyOwner {
        require(recipients.length == quantities.length, "Arguments length mismatch");

        uint256 supply = this.totalSupply();
        for (uint256 i; i < recipients.length; i++) {
            supply += quantities[i];
            require(supply <= MAX_SUPPLY, "Mint exceeds max supply");
            _mint(recipients[i], quantities[i]);
        }
    }

    function mint(uint256 quantity) external payable onlyExternallyOwnedAccount {
        require(this.totalSupply() + quantity <= MAX_SUPPLY, "Mint exceeds max supply");
        require(mintState == MintState.Open, "Invalid sale state");
        require(msg.value >= PRICE * quantity, "Insufficient value");
        require(remainingForAddress(msg.sender) >= quantity, "Limit for user reached");

        _mint(msg.sender, quantity);
    }

    // Token

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        if(revealed == false) {
            return notRevealedURI;
        }

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

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

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

    function setPrice(uint256 newPrice) external onlyOwner {
        PRICE = newPrice;
    }

    function reveal() external view onlyOwner {
        require(!revealed, "already revealed");
        revealed == true;
    }

    // Withdraw

    function withdraw() external onlyOwner {
        (bool success, ) = payable(msg.sender).call{value: address(this).balance}("");
        require(success);
    }
}

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

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

    /**
     * @dev Casts the address to uint256 without masking.
     */
    function _addressToUint256(address value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

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

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

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

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

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned.
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

        bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
            isApprovedForAll(from, _msgSenderERC721A()) ||
            getApproved(tokenId) == _msgSenderERC721A());

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

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // ==============================
    //            IERC165
    // ==============================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./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);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"allocation","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WALLET_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintState","outputs":[{"internalType":"enum Grimalkins.MintState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"}],"name":"remainingForAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newState","type":"uint256"}],"name":"setMintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

61015b600955668a8e4b1a3d8000600a556003600b5560c06040526007608081905266697066733a2f2f60c81b60a09081526200004091600c919062000288565b50604051806080016040528060428152602001620021506042913980516200007191600d9160209091019062000288565b503480156200007f57600080fd5b506040516200219238038062002192833981016040819052620000a2916200032e565b604080518082018252601b81527f4772696d616c6b696e7320627920436869686f20416f7368696d610000000000602080830191825283518085019094526003845262474d4b60e81b908401528151919291620001029160029162000288565b5080516200011890600390602084019062000288565b505060008055506200012a3362000155565b600954811080156200013b57508015155b156200014d576200014d8282620001a7565b5050620003a7565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000546001600160a01b038316620001d157604051622e076360e81b815260040160405180910390fd5b81620001f05760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660009081526005602090815260408083208054680100000000000000018702019055838352600490915290204260a01b84176001841460e11b179055808083015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106200023b5750600055505050565b82805462000296906200036a565b90600052602060002090601f016020900481019282620002ba576000855562000305565b82601f10620002d557805160ff191683800117855562000305565b8280016001018555821562000305579182015b8281111562000305578251825591602001919060010190620002e8565b506200031392915062000317565b5090565b5b8082111562000313576000815560010162000318565b600080604083850312156200034257600080fd5b82516001600160a01b03811681146200035a57600080fd5b6020939093015192949293505050565b600181811c908216806200037f57607f821691505b60208210811415620003a157634e487b7160e01b600052602260045260246000fd5b50919050565b611d9980620003b76000396000f3fe6080604052600436106101e35760003560e01c80636c0360eb11610102578063a0712d6811610095578063c051e38a11610064578063c051e38a14610527578063c87b56dd14610555578063e985e9c514610575578063f2fde38b146105be57600080fd5b8063a0712d68146104bf578063a22cb465146104d2578063a475b5dd146104f2578063b88d4fde1461050757600080fd5b80638d859f3e116100d15780638d859f3e146104565780638da5cb5b1461046c57806391b7f5ed1461048a57806395d89b41146104aa57600080fd5b80636c0360eb146103f757806370a082311461040c578063715018a61461042c578063722503801461044157600080fd5b806332cb6b0c1161017a5780635183022711610149578063518302271461037d57806355f804b3146103975780636352211e146103b757806368573107146103d757600080fd5b806332cb6b0c1461031c578063351ed951146103325780633ccfd60b1461034857806342842e0e1461035d57600080fd5b80630bb862d1116101b65780630bb862d11461029957806318160ddd146102b957806323b872dd146102dc57806329471d7d146102fc57600080fd5b806301ffc9a7146101e857806306fdde031461021d578063081812fc1461023f578063095ea7b314610277575b600080fd5b3480156101f457600080fd5b50610208610203366004611a58565b6105de565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b50610232610630565b6040516102149190611bdd565b34801561024b57600080fd5b5061025f61025a366004611adb565b6106c2565b6040516001600160a01b039091168152602001610214565b34801561028357600080fd5b506102976102923660046119c2565b610706565b005b3480156102a557600080fd5b506102976102b4366004611adb565b6107d9565b3480156102c557600080fd5b50600154600054035b604051908152602001610214565b3480156102e857600080fd5b506102976102f73660046118ce565b610892565b34801561030857600080fd5b506102ce610317366004611880565b6108a2565b34801561032857600080fd5b506102ce60095481565b34801561033e57600080fd5b506102ce600b5481565b34801561035457600080fd5b50610297610913565b34801561036957600080fd5b506102976103783660046118ce565b610992565b34801561038957600080fd5b50600e546102089060ff1681565b3480156103a357600080fd5b506102976103b2366004611a92565b6109ad565b3480156103c357600080fd5b5061025f6103d2366004611adb565b6109ee565b3480156103e357600080fd5b506102976103f23660046119ec565b6109f9565b34801561040357600080fd5b50610232610bc6565b34801561041857600080fd5b506102ce610427366004611880565b610c54565b34801561043857600080fd5b50610297610ca3565b34801561044d57600080fd5b50610232610cd9565b34801561046257600080fd5b506102ce600a5481565b34801561047857600080fd5b506008546001600160a01b031661025f565b34801561049657600080fd5b506102976104a5366004611adb565b610ce6565b3480156104b657600080fd5b50610232610d15565b6102976104cd366004611adb565b610d24565b3480156104de57600080fd5b506102976104ed366004611986565b610f49565b3480156104fe57600080fd5b50610297610fdf565b34801561051357600080fd5b5061029761052236600461190a565b61104f565b34801561053357600080fd5b5060085461054890600160a01b900460ff1681565b6040516102149190611bb5565b34801561056157600080fd5b50610232610570366004611adb565b611099565b34801561058157600080fd5b5061020861059036600461189b565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105ca57600080fd5b506102976105d9366004611880565b6111c5565b60006301ffc9a760e01b6001600160e01b03198316148061060f57506380ac58cd60e01b6001600160e01b03198316145b8061062a5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461063f90611c9f565b80601f016020809104026020016040519081016040528092919081815260200182805461066b90611c9f565b80156106b85780601f1061068d576101008083540402835291602001916106b8565b820191906000526020600020905b81548152906001019060200180831161069b57829003601f168201915b5050505050905090565b60006106cd8261125d565b6106ea576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061071182611284565b9050806001600160a01b0316836001600160a01b031614156107465760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161461077d576107608133610590565b61077d576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b0316331461080c5760405162461bcd60e51b815260040161080390611bf0565b60405180910390fd5b8061082f57600880546000919060ff60a01b1916600160a01b835b021790555050565b806001141561085257600880546001919060ff60a01b1916600160a01b83610827565b60405162461bcd60e51b8152602060048201526012602482015271496e76616c69642073616c6520737461746560701b6044820152606401610803565b50565b61089d8383836112e5565b505050565b60006001600854600160a01b900460ff1660018111156108c4576108c4611d0b565b1415610852576001600160a01b0382166000908152600560205260409081902054600b549181901c67ffffffffffffffff16916109049160c01c90611c25565b61062a9190611c5c565b919050565b6008546001600160a01b0316331461093d5760405162461bcd60e51b815260040161080390611bf0565b604051600090339047908381818185875af1925050503d806000811461097f576040519150601f19603f3d011682016040523d82523d6000602084013e610984565b606091505b505090508061088f57600080fd5b61089d8383836040518060200160405280600081525061104f565b6008546001600160a01b031633146109d75760405162461bcd60e51b815260040161080390611bf0565b80516109ea90600c90602084019061170e565b5050565b600061062a82611284565b6008546001600160a01b03163314610a235760405162461bcd60e51b815260040161080390611bf0565b828114610a725760405162461bcd60e51b815260206004820152601960248201527f417267756d656e7473206c656e677468206d69736d61746368000000000000006044820152606401610803565b6000306001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610aad57600080fd5b505afa158015610ac1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae59190611af4565b905060005b84811015610bbe57838382818110610b0457610b04611d21565b9050602002013582610b169190611c25565b9150600954821115610b645760405162461bcd60e51b81526020600482015260176024820152764d696e742065786365656473206d617820737570706c7960481b6044820152606401610803565b610bac868683818110610b7957610b79611d21565b9050602002016020810190610b8e9190611880565b858584818110610ba057610ba0611d21565b90506020020135611488565b80610bb681611cda565b915050610aea565b505050505050565b600c8054610bd390611c9f565b80601f0160208091040260200160405190810160405280929190818152602001828054610bff90611c9f565b8015610c4c5780601f10610c2157610100808354040283529160200191610c4c565b820191906000526020600020905b815481529060010190602001808311610c2f57829003601f168201915b505050505081565b60006001600160a01b038216610c7d576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610ccd5760405162461bcd60e51b815260040161080390611bf0565b610cd76000611566565b565b600d8054610bd390611c9f565b6008546001600160a01b03163314610d105760405162461bcd60e51b815260040161080390611bf0565b600a55565b60606003805461063f90611c9f565b323314610d735760405162461bcd60e51b815260206004820152601c60248201527f4e6f742065787465726e616c6c79206f776e6564206163636f756e74000000006044820152606401610803565b60095481306001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610db057600080fd5b505afa158015610dc4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de89190611af4565b610df29190611c25565b1115610e3a5760405162461bcd60e51b81526020600482015260176024820152764d696e742065786365656473206d617820737570706c7960481b6044820152606401610803565b6001600854600160a01b900460ff166001811115610e5a57610e5a611d0b565b14610e9c5760405162461bcd60e51b8152602060048201526012602482015271496e76616c69642073616c6520737461746560701b6044820152606401610803565b80600a54610eaa9190611c3d565b341015610eee5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742076616c756560701b6044820152606401610803565b80610ef8336108a2565b1015610f3f5760405162461bcd60e51b8152602060048201526016602482015275131a5b5a5d08199bdc881d5cd95c881c995858da195960521b6044820152606401610803565b61088f3382611488565b6001600160a01b038216331415610f735760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146110095760405162461bcd60e51b815260040161080390611bf0565b600e5460ff1615610cd75760405162461bcd60e51b815260206004820152601060248201526f185b1c9958591e481c995d99585b195960821b6044820152606401610803565b61105a8484846112e5565b6001600160a01b0383163b1561109357611076848484846115b8565b611093576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606110a48261125d565b6110c157604051630a14c4b560e41b815260040160405180910390fd5b600e5460ff1661115d57600d80546110d890611c9f565b80601f016020809104026020016040519081016040528092919081815260200182805461110490611c9f565b80156111515780601f1061112657610100808354040283529160200191611151565b820191906000526020600020905b81548152906001019060200180831161113457829003601f168201915b50505050509050919050565b60006111676116b0565b9050600c805461117690611c9f565b1515905061119357604051806020016040528060008152506111be565b8061119d846116bf565b6040516020016111ae929190611b39565b6040516020818303038152906040525b9392505050565b6008546001600160a01b031633146111ef5760405162461bcd60e51b815260040161080390611bf0565b6001600160a01b0381166112545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610803565b61088f81611566565b600080548210801561062a575050600090815260046020526040902054600160e01b161590565b6000816000548110156112cc57600081815260046020526040902054600160e01b81166112ca575b806111be5750600019016000818152600460205260409020546112ac565b505b604051636f96cda160e11b815260040160405180910390fd5b60006112f082611284565b9050836001600160a01b0316816001600160a01b0316146113235760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061134157506113418533610590565b8061135c575033611351846106c2565b6001600160a01b0316145b90508061137c57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166113a357604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b861781179091558216611440576001830160008181526004602052604090205461143e57600054811461143e5760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b6000546001600160a01b0383166114b157604051622e076360e81b815260040160405180910390fd5b816114cf5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660009081526005602090815260408083208054680100000000000000018702019055838352600490915290204260a01b84176001841460e11b179055808083015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061151a5750600055505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906115ed903390899088908890600401611b78565b602060405180830381600087803b15801561160757600080fd5b505af1925050508015611637575060408051601f3d908101601f1916820190925261163491810190611a75565b60015b611692573d808015611665576040519150601f19603f3d011682016040523d82523d6000602084013e61166a565b606091505b50805161168a576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600c805461063f90611c9f565b604080516080810191829052607f0190826030600a8206018353600a90045b80156116fc57600183039250600a81066030018353600a90046116de565b50819003601f19909101908152919050565b82805461171a90611c9f565b90600052602060002090601f01602090048101928261173c5760008555611782565b82601f1061175557805160ff1916838001178555611782565b82800160010185558215611782579182015b82811115611782578251825591602001919060010190611767565b5061178e929150611792565b5090565b5b8082111561178e5760008155600101611793565b600067ffffffffffffffff808411156117c2576117c2611d37565b604051601f8501601f19908116603f011681019082821181831017156117ea576117ea611d37565b8160405280935085815286868601111561180357600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461090e57600080fd5b60008083601f84011261184657600080fd5b50813567ffffffffffffffff81111561185e57600080fd5b6020830191508360208260051b850101111561187957600080fd5b9250929050565b60006020828403121561189257600080fd5b6111be8261181d565b600080604083850312156118ae57600080fd5b6118b78361181d565b91506118c56020840161181d565b90509250929050565b6000806000606084860312156118e357600080fd5b6118ec8461181d565b92506118fa6020850161181d565b9150604084013590509250925092565b6000806000806080858703121561192057600080fd5b6119298561181d565b93506119376020860161181d565b925060408501359150606085013567ffffffffffffffff81111561195a57600080fd5b8501601f8101871361196b57600080fd5b61197a878235602084016117a7565b91505092959194509250565b6000806040838503121561199957600080fd5b6119a28361181d565b9150602083013580151581146119b757600080fd5b809150509250929050565b600080604083850312156119d557600080fd5b6119de8361181d565b946020939093013593505050565b60008060008060408587031215611a0257600080fd5b843567ffffffffffffffff80821115611a1a57600080fd5b611a2688838901611834565b90965094506020870135915080821115611a3f57600080fd5b50611a4c87828801611834565b95989497509550505050565b600060208284031215611a6a57600080fd5b81356111be81611d4d565b600060208284031215611a8757600080fd5b81516111be81611d4d565b600060208284031215611aa457600080fd5b813567ffffffffffffffff811115611abb57600080fd5b8201601f81018413611acc57600080fd5b6116a8848235602084016117a7565b600060208284031215611aed57600080fd5b5035919050565b600060208284031215611b0657600080fd5b5051919050565b60008151808452611b25816020860160208601611c73565b601f01601f19169290920160200192915050565b60008351611b4b818460208801611c73565b835190830190611b5f818360208801611c73565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611bab90830184611b0d565b9695505050505050565b6020810160028310611bd757634e487b7160e01b600052602160045260246000fd5b91905290565b6020815260006111be6020830184611b0d565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611c3857611c38611cf5565b500190565b6000816000190483118215151615611c5757611c57611cf5565b500290565b600082821015611c6e57611c6e611cf5565b500390565b60005b83811015611c8e578181015183820152602001611c76565b838111156110935750506000910152565b600181811c90821680611cb357607f821691505b60208210811415611cd457634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611cee57611cee611cf5565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461088f57600080fdfea26469706673582212205aba2084167b7f506951da987e58bdd8c2b83e54c5f2e27d7f6c2fb43fa428eb64736f6c63430008070033697066733a2f2f6261666b726569626b346934356e376e79346b7577323236643233623237727778766d70746775676d646f616d77677834676c716c7673686e6861000000000000000000000000ba0bf31d8818bb61efdc8c56487bc8b15e1f715f0000000000000000000000000000000000000000000000000000000000000001

Deployed Bytecode

0x6080604052600436106101e35760003560e01c80636c0360eb11610102578063a0712d6811610095578063c051e38a11610064578063c051e38a14610527578063c87b56dd14610555578063e985e9c514610575578063f2fde38b146105be57600080fd5b8063a0712d68146104bf578063a22cb465146104d2578063a475b5dd146104f2578063b88d4fde1461050757600080fd5b80638d859f3e116100d15780638d859f3e146104565780638da5cb5b1461046c57806391b7f5ed1461048a57806395d89b41146104aa57600080fd5b80636c0360eb146103f757806370a082311461040c578063715018a61461042c578063722503801461044157600080fd5b806332cb6b0c1161017a5780635183022711610149578063518302271461037d57806355f804b3146103975780636352211e146103b757806368573107146103d757600080fd5b806332cb6b0c1461031c578063351ed951146103325780633ccfd60b1461034857806342842e0e1461035d57600080fd5b80630bb862d1116101b65780630bb862d11461029957806318160ddd146102b957806323b872dd146102dc57806329471d7d146102fc57600080fd5b806301ffc9a7146101e857806306fdde031461021d578063081812fc1461023f578063095ea7b314610277575b600080fd5b3480156101f457600080fd5b50610208610203366004611a58565b6105de565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b50610232610630565b6040516102149190611bdd565b34801561024b57600080fd5b5061025f61025a366004611adb565b6106c2565b6040516001600160a01b039091168152602001610214565b34801561028357600080fd5b506102976102923660046119c2565b610706565b005b3480156102a557600080fd5b506102976102b4366004611adb565b6107d9565b3480156102c557600080fd5b50600154600054035b604051908152602001610214565b3480156102e857600080fd5b506102976102f73660046118ce565b610892565b34801561030857600080fd5b506102ce610317366004611880565b6108a2565b34801561032857600080fd5b506102ce60095481565b34801561033e57600080fd5b506102ce600b5481565b34801561035457600080fd5b50610297610913565b34801561036957600080fd5b506102976103783660046118ce565b610992565b34801561038957600080fd5b50600e546102089060ff1681565b3480156103a357600080fd5b506102976103b2366004611a92565b6109ad565b3480156103c357600080fd5b5061025f6103d2366004611adb565b6109ee565b3480156103e357600080fd5b506102976103f23660046119ec565b6109f9565b34801561040357600080fd5b50610232610bc6565b34801561041857600080fd5b506102ce610427366004611880565b610c54565b34801561043857600080fd5b50610297610ca3565b34801561044d57600080fd5b50610232610cd9565b34801561046257600080fd5b506102ce600a5481565b34801561047857600080fd5b506008546001600160a01b031661025f565b34801561049657600080fd5b506102976104a5366004611adb565b610ce6565b3480156104b657600080fd5b50610232610d15565b6102976104cd366004611adb565b610d24565b3480156104de57600080fd5b506102976104ed366004611986565b610f49565b3480156104fe57600080fd5b50610297610fdf565b34801561051357600080fd5b5061029761052236600461190a565b61104f565b34801561053357600080fd5b5060085461054890600160a01b900460ff1681565b6040516102149190611bb5565b34801561056157600080fd5b50610232610570366004611adb565b611099565b34801561058157600080fd5b5061020861059036600461189b565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105ca57600080fd5b506102976105d9366004611880565b6111c5565b60006301ffc9a760e01b6001600160e01b03198316148061060f57506380ac58cd60e01b6001600160e01b03198316145b8061062a5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461063f90611c9f565b80601f016020809104026020016040519081016040528092919081815260200182805461066b90611c9f565b80156106b85780601f1061068d576101008083540402835291602001916106b8565b820191906000526020600020905b81548152906001019060200180831161069b57829003601f168201915b5050505050905090565b60006106cd8261125d565b6106ea576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061071182611284565b9050806001600160a01b0316836001600160a01b031614156107465760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161461077d576107608133610590565b61077d576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b0316331461080c5760405162461bcd60e51b815260040161080390611bf0565b60405180910390fd5b8061082f57600880546000919060ff60a01b1916600160a01b835b021790555050565b806001141561085257600880546001919060ff60a01b1916600160a01b83610827565b60405162461bcd60e51b8152602060048201526012602482015271496e76616c69642073616c6520737461746560701b6044820152606401610803565b50565b61089d8383836112e5565b505050565b60006001600854600160a01b900460ff1660018111156108c4576108c4611d0b565b1415610852576001600160a01b0382166000908152600560205260409081902054600b549181901c67ffffffffffffffff16916109049160c01c90611c25565b61062a9190611c5c565b919050565b6008546001600160a01b0316331461093d5760405162461bcd60e51b815260040161080390611bf0565b604051600090339047908381818185875af1925050503d806000811461097f576040519150601f19603f3d011682016040523d82523d6000602084013e610984565b606091505b505090508061088f57600080fd5b61089d8383836040518060200160405280600081525061104f565b6008546001600160a01b031633146109d75760405162461bcd60e51b815260040161080390611bf0565b80516109ea90600c90602084019061170e565b5050565b600061062a82611284565b6008546001600160a01b03163314610a235760405162461bcd60e51b815260040161080390611bf0565b828114610a725760405162461bcd60e51b815260206004820152601960248201527f417267756d656e7473206c656e677468206d69736d61746368000000000000006044820152606401610803565b6000306001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610aad57600080fd5b505afa158015610ac1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae59190611af4565b905060005b84811015610bbe57838382818110610b0457610b04611d21565b9050602002013582610b169190611c25565b9150600954821115610b645760405162461bcd60e51b81526020600482015260176024820152764d696e742065786365656473206d617820737570706c7960481b6044820152606401610803565b610bac868683818110610b7957610b79611d21565b9050602002016020810190610b8e9190611880565b858584818110610ba057610ba0611d21565b90506020020135611488565b80610bb681611cda565b915050610aea565b505050505050565b600c8054610bd390611c9f565b80601f0160208091040260200160405190810160405280929190818152602001828054610bff90611c9f565b8015610c4c5780601f10610c2157610100808354040283529160200191610c4c565b820191906000526020600020905b815481529060010190602001808311610c2f57829003601f168201915b505050505081565b60006001600160a01b038216610c7d576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610ccd5760405162461bcd60e51b815260040161080390611bf0565b610cd76000611566565b565b600d8054610bd390611c9f565b6008546001600160a01b03163314610d105760405162461bcd60e51b815260040161080390611bf0565b600a55565b60606003805461063f90611c9f565b323314610d735760405162461bcd60e51b815260206004820152601c60248201527f4e6f742065787465726e616c6c79206f776e6564206163636f756e74000000006044820152606401610803565b60095481306001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610db057600080fd5b505afa158015610dc4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de89190611af4565b610df29190611c25565b1115610e3a5760405162461bcd60e51b81526020600482015260176024820152764d696e742065786365656473206d617820737570706c7960481b6044820152606401610803565b6001600854600160a01b900460ff166001811115610e5a57610e5a611d0b565b14610e9c5760405162461bcd60e51b8152602060048201526012602482015271496e76616c69642073616c6520737461746560701b6044820152606401610803565b80600a54610eaa9190611c3d565b341015610eee5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742076616c756560701b6044820152606401610803565b80610ef8336108a2565b1015610f3f5760405162461bcd60e51b8152602060048201526016602482015275131a5b5a5d08199bdc881d5cd95c881c995858da195960521b6044820152606401610803565b61088f3382611488565b6001600160a01b038216331415610f735760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146110095760405162461bcd60e51b815260040161080390611bf0565b600e5460ff1615610cd75760405162461bcd60e51b815260206004820152601060248201526f185b1c9958591e481c995d99585b195960821b6044820152606401610803565b61105a8484846112e5565b6001600160a01b0383163b1561109357611076848484846115b8565b611093576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606110a48261125d565b6110c157604051630a14c4b560e41b815260040160405180910390fd5b600e5460ff1661115d57600d80546110d890611c9f565b80601f016020809104026020016040519081016040528092919081815260200182805461110490611c9f565b80156111515780601f1061112657610100808354040283529160200191611151565b820191906000526020600020905b81548152906001019060200180831161113457829003601f168201915b50505050509050919050565b60006111676116b0565b9050600c805461117690611c9f565b1515905061119357604051806020016040528060008152506111be565b8061119d846116bf565b6040516020016111ae929190611b39565b6040516020818303038152906040525b9392505050565b6008546001600160a01b031633146111ef5760405162461bcd60e51b815260040161080390611bf0565b6001600160a01b0381166112545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610803565b61088f81611566565b600080548210801561062a575050600090815260046020526040902054600160e01b161590565b6000816000548110156112cc57600081815260046020526040902054600160e01b81166112ca575b806111be5750600019016000818152600460205260409020546112ac565b505b604051636f96cda160e11b815260040160405180910390fd5b60006112f082611284565b9050836001600160a01b0316816001600160a01b0316146113235760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061134157506113418533610590565b8061135c575033611351846106c2565b6001600160a01b0316145b90508061137c57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166113a357604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b861781179091558216611440576001830160008181526004602052604090205461143e57600054811461143e5760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b6000546001600160a01b0383166114b157604051622e076360e81b815260040160405180910390fd5b816114cf5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660009081526005602090815260408083208054680100000000000000018702019055838352600490915290204260a01b84176001841460e11b179055808083015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061151a5750600055505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906115ed903390899088908890600401611b78565b602060405180830381600087803b15801561160757600080fd5b505af1925050508015611637575060408051601f3d908101601f1916820190925261163491810190611a75565b60015b611692573d808015611665576040519150601f19603f3d011682016040523d82523d6000602084013e61166a565b606091505b50805161168a576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600c805461063f90611c9f565b604080516080810191829052607f0190826030600a8206018353600a90045b80156116fc57600183039250600a81066030018353600a90046116de565b50819003601f19909101908152919050565b82805461171a90611c9f565b90600052602060002090601f01602090048101928261173c5760008555611782565b82601f1061175557805160ff1916838001178555611782565b82800160010185558215611782579182015b82811115611782578251825591602001919060010190611767565b5061178e929150611792565b5090565b5b8082111561178e5760008155600101611793565b600067ffffffffffffffff808411156117c2576117c2611d37565b604051601f8501601f19908116603f011681019082821181831017156117ea576117ea611d37565b8160405280935085815286868601111561180357600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461090e57600080fd5b60008083601f84011261184657600080fd5b50813567ffffffffffffffff81111561185e57600080fd5b6020830191508360208260051b850101111561187957600080fd5b9250929050565b60006020828403121561189257600080fd5b6111be8261181d565b600080604083850312156118ae57600080fd5b6118b78361181d565b91506118c56020840161181d565b90509250929050565b6000806000606084860312156118e357600080fd5b6118ec8461181d565b92506118fa6020850161181d565b9150604084013590509250925092565b6000806000806080858703121561192057600080fd5b6119298561181d565b93506119376020860161181d565b925060408501359150606085013567ffffffffffffffff81111561195a57600080fd5b8501601f8101871361196b57600080fd5b61197a878235602084016117a7565b91505092959194509250565b6000806040838503121561199957600080fd5b6119a28361181d565b9150602083013580151581146119b757600080fd5b809150509250929050565b600080604083850312156119d557600080fd5b6119de8361181d565b946020939093013593505050565b60008060008060408587031215611a0257600080fd5b843567ffffffffffffffff80821115611a1a57600080fd5b611a2688838901611834565b90965094506020870135915080821115611a3f57600080fd5b50611a4c87828801611834565b95989497509550505050565b600060208284031215611a6a57600080fd5b81356111be81611d4d565b600060208284031215611a8757600080fd5b81516111be81611d4d565b600060208284031215611aa457600080fd5b813567ffffffffffffffff811115611abb57600080fd5b8201601f81018413611acc57600080fd5b6116a8848235602084016117a7565b600060208284031215611aed57600080fd5b5035919050565b600060208284031215611b0657600080fd5b5051919050565b60008151808452611b25816020860160208601611c73565b601f01601f19169290920160200192915050565b60008351611b4b818460208801611c73565b835190830190611b5f818360208801611c73565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611bab90830184611b0d565b9695505050505050565b6020810160028310611bd757634e487b7160e01b600052602160045260246000fd5b91905290565b6020815260006111be6020830184611b0d565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611c3857611c38611cf5565b500190565b6000816000190483118215151615611c5757611c57611cf5565b500290565b600082821015611c6e57611c6e611cf5565b500390565b60005b83811015611c8e578181015183820152602001611c76565b838111156110935750506000910152565b600181811c90821680611cb357607f821691505b60208210811415611cd457634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611cee57611cee611cf5565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461088f57600080fdfea26469706673582212205aba2084167b7f506951da987e58bdd8c2b83e54c5f2e27d7f6c2fb43fa428eb64736f6c63430008070033

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

000000000000000000000000ba0bf31d8818bb61efdc8c56487bc8b15e1f715f0000000000000000000000000000000000000000000000000000000000000001

-----Decoded View---------------
Arg [0] : recipient (address): 0xbA0bF31D8818Bb61efDC8C56487bC8b15E1F715f
Arg [1] : allocation (uint256): 1

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000ba0bf31d8818bb61efdc8c56487bc8b15e1f715f
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000001


Deployed Bytecode Sourcemap

137:3262:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4880:607:1;;;;;;;;;;-1:-1:-1;4880:607:1;;;;;:::i;:::-;;:::i;:::-;;;7362:14:5;;7355:22;7337:41;;7325:2;7310:18;4880:607:1;;;;;;;;9768:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;11778:200::-;;;;;;;;;;-1:-1:-1;11778:200:1;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6660:32:5;;;6642:51;;6630:2;6615:18;11778:200:1;6496:203:5;11254:463:1;;;;;;;;;;-1:-1:-1;11254:463:1;;;;;:::i;:::-;;:::i;:::-;;1205:226:2;;;;;;;;;;-1:-1:-1;1205:226:2;;;;;:::i;:::-;;:::i;3963:309:1:-;;;;;;;;;;-1:-1:-1;4225:12:1;;4016:7;4209:13;:28;3963:309;;;11327:25:5;;;11315:2;11300:18;3963:309:1;11181:177:5;12638:164:1;;;;;;;;;;-1:-1:-1;12638:164:1;;;;;:::i;:::-;;:::i;967:232:2:-;;;;;;;;;;-1:-1:-1;967:232:2;;;;;:::i;:::-;;:::i;274:31::-;;;;;;;;;;;;;;;;351;;;;;;;;;;;;;;;;3238:159;;;;;;;;;;;;;:::i;12868:179:1:-;;;;;;;;;;-1:-1:-1;12868:179:1;;;;;:::i;:::-;;:::i;533:20:2:-;;;;;;;;;;-1:-1:-1;533:20:2;;;;;;;;2904:88;;;;;;;;;;-1:-1:-1;2904:88:2;;;;;:::i;:::-;;:::i;9564:142:1:-;;;;;;;;;;-1:-1:-1;9564:142:1;;;;;:::i;:::-;;:::i;1437:481:2:-;;;;;;;;;;-1:-1:-1;1437:481:2;;;;;:::i;:::-;;:::i;389:33::-;;;;;;;;;;;;;:::i;5546:221:1:-;;;;;;;;;;-1:-1:-1;5546:221:1;;;;;:::i;:::-;;:::i;1661:101:4:-;;;;;;;;;;;;;:::i;428:99:2:-;;;;;;;;;;;;;:::i;311:34::-;;;;;;;;;;;;;;;;1029:85:4;;;;;;;;;;-1:-1:-1;1101:6:4;;-1:-1:-1;;;;;1101:6:4;1029:85;;2998:88:2;;;;;;;;;;-1:-1:-1;2998:88:2;;;;;:::i;:::-;;:::i;9930:102:1:-;;;;;;;;;;;;;:::i;1924:436:2:-;;;;;;:::i;:::-;;:::i;12045:303:1:-;;;;;;;;;;-1:-1:-1;12045:303:1;;;;;:::i;:::-;;:::i;3092:123:2:-;;;;;;;;;;;;;:::i;13113:385:1:-;;;;;;;;;;-1:-1:-1;13113:385:1;;;;;:::i;:::-;;:::i;241:26:2:-;;;;;;;;;;-1:-1:-1;241:26:2;;;;-1:-1:-1;;;241:26:2;;;;;;;;;;;;;:::i;2380:406::-;;;;;;;;;;-1:-1:-1;2380:406:2;;;;;:::i;:::-;;:::i;12414:162:1:-;;;;;;;;;;-1:-1:-1;12414:162:1;;;;;:::i;:::-;-1:-1:-1;;;;;12534:25:1;;;12511:4;12534:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;12414:162;1911:198:4;;;;;;;;;;-1:-1:-1;1911:198:4;;;;;:::i;:::-;;:::i;4880:607:1:-;4965:4;-1:-1:-1;;;;;;;;;5260:25:1;;;;:101;;-1:-1:-1;;;;;;;;;;5336:25:1;;;5260:101;:177;;;-1:-1:-1;;;;;;;;;;5412:25:1;;;5260:177;5241:196;4880:607;-1:-1:-1;;4880:607:1:o;9768:98::-;9822:13;9854:5;9847:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9768:98;:::o;11778:200::-;11846:7;11870:16;11878:7;11870;:16::i;:::-;11865:64;;11895:34;;-1:-1:-1;;;11895:34:1;;;;;;;;;;;11865:64;-1:-1:-1;11947:24:1;;;;:15;:24;;;;;;-1:-1:-1;;;;;11947:24:1;;11778:200::o;11254:463::-;11326:13;11358:27;11377:7;11358:18;:27::i;:::-;11326:61;;11407:5;-1:-1:-1;;;;;11401:11:1;:2;-1:-1:-1;;;;;11401:11:1;;11397:48;;;11421:24;;-1:-1:-1;;;11421:24:1;;;;;;;;;;;11397:48;27455:10;-1:-1:-1;;;;;11460:28:1;;;11456:172;;11507:44;11524:5;27455:10;12414:162;:::i;11507:44::-;11502:126;;11578:35;;-1:-1:-1;;;11578:35:1;;;;;;;;;;;11502:126;11638:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;11638:29:1;-1:-1:-1;;;;;11638:29:1;;;;;;;;;11682:28;;11638:24;;11682:28;;;;;;;11316:401;11254:463;;:::o;1205:226:2:-;1101:6:4;;-1:-1:-1;;;;;1101:6:4;27455:10:1;1241:23:4;1233:68;;;;-1:-1:-1;;;1233:68:4;;;;;;;:::i;:::-;;;;;;;;;1278:13:2;1274:150:::1;;1293:9;:28:::0;;1305:16:::1;::::0;1293:9;-1:-1:-1;;;;1293:28:2::1;-1:-1:-1::0;;;1305:16:2;1293:28:::1;;;;;;1205:226:::0;:::o;1274:150::-:1;1340:8;1352:1;1340:13;1336:88;;;1355:9;:26:::0;;1367:14:::1;::::0;1355:9;-1:-1:-1;;;;1355:26:2::1;-1:-1:-1::0;;;1367:14:2;1355:26:::1;::::0;1336:88:::1;1396:28;::::0;-1:-1:-1;;;1396:28:2;;9974:2:5;1396:28:2::1;::::0;::::1;9956:21:5::0;10013:2;9993:18;;;9986:30;-1:-1:-1;;;10032:18:5;;;10025:48;10090:18;;1396:28:2::1;9772:342:5::0;1336:88:2::1;1205:226:::0;:::o;12638:164:1:-;12767:28;12777:4;12783:2;12787:7;12767:9;:28::i;:::-;12638:164;;;:::o;967:232:2:-;1030:7;1066:14;1053:9;;-1:-1:-1;;;1053:9:2;;;;:27;;;;;;;;:::i;:::-;;1049:143;;;-1:-1:-1;;;;;5932:25:1;;5905:7;5932:25;;;:18;:25;;1151:2;5932:25;;;;;1101:12:2;;5932:49:1;;;;1017:13;5931:80;;1101:27:2;;1379:3:1;6485:39;;1101:27:2;:::i;:::-;:48;;;;:::i;1049:143::-;967:232;;;:::o;3238:159::-;1101:6:4;;-1:-1:-1;;;;;1101:6:4;27455:10:1;1241:23:4;1233:68;;;;-1:-1:-1;;;1233:68:4;;;;;;;:::i;:::-;3306:58:2::1;::::0;3288:12:::1;::::0;3314:10:::1;::::0;3338:21:::1;::::0;3288:12;3306:58;3288:12;3306:58;3338:21;3314:10;3306:58:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3287:77;;;3382:7;3374:16;;;::::0;::::1;12868:179:1::0;13001:39;13018:4;13024:2;13028:7;13001:39;;;;;;;;;;;;:16;:39::i;2904:88:2:-;1101:6:4;;-1:-1:-1;;;;;1101:6:4;27455:10:1;1241:23:4;1233:68;;;;-1:-1:-1;;;1233:68:4;;;;;;;:::i;:::-;2972:13:2;;::::1;::::0;:7:::1;::::0;:13:::1;::::0;::::1;::::0;::::1;:::i;:::-;;2904:88:::0;:::o;9564:142:1:-;9628:7;9670:27;9689:7;9670:18;:27::i;1437:481:2:-;1101:6:4;;-1:-1:-1;;;;;1101:6:4;27455:10:1;1241:23:4;1233:68;;;;-1:-1:-1;;;1233:68:4;;;;;;;:::i;:::-;1577:38:2;;::::1;1569:76;;;::::0;-1:-1:-1;;;1569:76:2;;11029:2:5;1569:76:2::1;::::0;::::1;11011:21:5::0;11068:2;11048:18;;;11041:30;11107:27;11087:18;;;11080:55;11152:18;;1569:76:2::1;10827:349:5::0;1569:76:2::1;1656:14;1673:4;-1:-1:-1::0;;;;;1673:16:2::1;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1656:35;;1706:9;1701:211;1717:21:::0;;::::1;1701:211;;;1769:10;;1780:1;1769:13;;;;;;;:::i;:::-;;;;;;;1759:23;;;;;:::i;:::-;;;1814:10;;1804:6;:20;;1796:56;;;::::0;-1:-1:-1;;;1796:56:2;;8162:2:5;1796:56:2::1;::::0;::::1;8144:21:5::0;8201:2;8181:18;;;8174:30;-1:-1:-1;;;8220:18:5;;;8213:53;8283:18;;1796:56:2::1;7960:347:5::0;1796:56:2::1;1866:35;1872:10;;1883:1;1872:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;1887:10;;1898:1;1887:13;;;;;;;:::i;:::-;;;;;;;1866:5;:35::i;:::-;1740:3:::0;::::1;::::0;::::1;:::i;:::-;;;;1701:211;;;;1559:359;1437:481:::0;;;;:::o;389:33::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;5546:221:1:-;5610:7;-1:-1:-1;;;;;5633:19:1;;5629:60;;5661:28;;-1:-1:-1;;;5661:28:1;;;;;;;;;;;5629:60;-1:-1:-1;;;;;;5706:25:1;;;;;:18;:25;;;;;;1017:13;5706:54;;5546:221::o;1661:101:4:-;1101:6;;-1:-1:-1;;;;;1101:6:4;27455:10:1;1241:23:4;1233:68;;;;-1:-1:-1;;;1233:68:4;;;;;;;:::i;:::-;1725:30:::1;1752:1;1725:18;:30::i;:::-;1661:101::o:0;428:99:2:-;;;;;;;:::i;2998:88::-;1101:6:4;;-1:-1:-1;;;;;1101:6:4;27455:10:1;1241:23:4;1233:68;;;;-1:-1:-1;;;1233:68:4;;;;;;;:::i;:::-;3063:5:2::1;:16:::0;2998:88::o;9930:102:1:-;9986:13;10018:7;10011:14;;;;;:::i;1924:436:2:-;864:9;877:10;864:23;856:64;;;;-1:-1:-1;;;856:64:2;;8921:2:5;856:64:2;;;8903:21:5;8960:2;8940:18;;;8933:30;8999;8979:18;;;8972:58;9047:18;;856:64:2;8719:352:5;856:64:2;2051:10:::1;;2039:8;2018:4;-1:-1:-1::0;;;;;2018:16:2::1;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:29;;;;:::i;:::-;:43;;2010:79;;;::::0;-1:-1:-1;;;2010:79:2;;8162:2:5;2010:79:2::1;::::0;::::1;8144:21:5::0;8201:2;8181:18;;;8174:30;-1:-1:-1;;;8220:18:5;;;8213:53;8283:18;;2010:79:2::1;7960:347:5::0;2010:79:2::1;2120:14;2107:9;::::0;-1:-1:-1;;;2107:9:2;::::1;;;:27;::::0;::::1;;;;;;:::i;:::-;;2099:58;;;::::0;-1:-1:-1;;;2099:58:2;;9974:2:5;2099:58:2::1;::::0;::::1;9956:21:5::0;10013:2;9993:18;;;9986:30;-1:-1:-1;;;10032:18:5;;;10025:48;10090:18;;2099:58:2::1;9772:342:5::0;2099:58:2::1;2196:8;2188:5;;:16;;;;:::i;:::-;2175:9;:29;;2167:60;;;::::0;-1:-1:-1;;;2167:60:2;;10682:2:5;2167:60:2::1;::::0;::::1;10664:21:5::0;10721:2;10701:18;;;10694:30;-1:-1:-1;;;10740:18:5;;;10733:48;10798:18;;2167:60:2::1;10480:342:5::0;2167:60:2::1;2280:8;2245:31;2265:10;2245:19;:31::i;:::-;:43;;2237:78;;;::::0;-1:-1:-1;;;2237:78:2;;9278:2:5;2237:78:2::1;::::0;::::1;9260:21:5::0;9317:2;9297:18;;;9290:30;-1:-1:-1;;;9336:18:5;;;9329:52;9398:18;;2237:78:2::1;9076:346:5::0;2237:78:2::1;2326:27;2332:10;2344:8;2326:5;:27::i;12045:303:1:-:0;-1:-1:-1;;;;;12143:31:1;;27455:10;12143:31;12139:61;;;12183:17;;-1:-1:-1;;;12183:17:1;;;;;;;;;;;12139:61;27455:10;12211:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;12211:49:1;;;;;;;;;;;;:60;;-1:-1:-1;;12211:60:1;;;;;;;;;;12286:55;;7337:41:5;;;12211:49:1;;27455:10;12286:55;;7310:18:5;12286:55:1;;;;;;;12045:303;;:::o;3092:123:2:-;1101:6:4;;-1:-1:-1;;;;;1101:6:4;27455:10:1;1241:23:4;1233:68;;;;-1:-1:-1;;;1233:68:4;;;;;;;:::i;:::-;3153:8:2::1;::::0;::::1;;3152:9;3144:38;;;::::0;-1:-1:-1;;;3144:38:2;;9629:2:5;3144:38:2::1;::::0;::::1;9611:21:5::0;9668:2;9648:18;;;9641:30;-1:-1:-1;;;9687:18:5;;;9680:46;9743:18;;3144:38:2::1;9427:340:5::0;13113:385:1;13274:28;13284:4;13290:2;13294:7;13274:9;:28::i;:::-;-1:-1:-1;;;;;13316:14:1;;;:19;13312:180;;13354:56;13385:4;13391:2;13395:7;13404:5;13354:30;:56::i;:::-;13349:143;;13437:40;;-1:-1:-1;;;13437:40:1;;;;;;;;;;;13349:143;13113:385;;;;:::o;2380:406:2:-;2453:13;2483:16;2491:7;2483;:16::i;:::-;2478:59;;2508:29;;-1:-1:-1;;;2508:29:2;;;;;;;;;;;2478:59;2551:8;;;;2548:68;;2591:14;2584:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2380:406;;;:::o;2548:68::-;2626:24;2653:10;:8;:10::i;:::-;2626:37;;2686:7;2680:21;;;;;:::i;:::-;:26;;;-1:-1:-1;2680:99:2;;;;;;;;;;;;;;;;;2733:10;2745:18;2755:7;2745:9;:18::i;:::-;2716:57;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2680:99;2673:106;2380:406;-1:-1:-1;;;2380:406:2:o;1911:198:4:-;1101:6;;-1:-1:-1;;;;;1101:6:4;27455:10:1;1241:23:4;1233:68;;;;-1:-1:-1;;;1233:68:4;;;;;;;:::i;:::-;-1:-1:-1;;;;;1999:22:4;::::1;1991:73;;;::::0;-1:-1:-1;;;1991:73:4;;8514:2:5;1991:73:4::1;::::0;::::1;8496:21:5::0;8553:2;8533:18;;;8526:30;8592:34;8572:18;;;8565:62;-1:-1:-1;;;8643:18:5;;;8636:36;8689:19;;1991:73:4::1;8312:402:5::0;1991:73:4::1;2074:28;2093:8;2074:18;:28::i;13744:268:1:-:0;13801:4;13888:13;;13878:7;:23;13836:150;;;;-1:-1:-1;;13938:26:1;;;;:17;:26;;;;;;-1:-1:-1;;;13938:43:1;:48;;13744:268::o;7141:1105::-;7208:7;7242;7340:13;;7333:4;:20;7329:853;;;7377:14;7394:23;;;:17;:23;;;;;;-1:-1:-1;;;7481:23:1;;7477:687;;7992:111;7999:11;7992:111;;-1:-1:-1;;;8069:6:1;8051:25;;;;:17;:25;;;;;;7992:111;;7477:687;7355:827;7329:853;8208:31;;-1:-1:-1;;;8208:31:1;;;;;;;;;;;18844:2460;18954:27;18984;19003:7;18984:18;:27::i;:::-;18954:57;;19067:4;-1:-1:-1;;;;;19026:45:1;19042:19;-1:-1:-1;;;;;19026:45:1;;19022:86;;19080:28;;-1:-1:-1;;;19080:28:1;;;;;;;;;;;19022:86;19119:22;27455:10;-1:-1:-1;;;;;19145:27:1;;;;:86;;-1:-1:-1;19188:43:1;19205:4;27455:10;12414:162;:::i;19188:43::-;19145:145;;;-1:-1:-1;27455:10:1;19247:20;19259:7;19247:11;:20::i;:::-;-1:-1:-1;;;;;19247:43:1;;19145:145;19119:172;;19307:17;19302:66;;19333:35;;-1:-1:-1;;;19333:35:1;;;;;;;;;;;19302:66;-1:-1:-1;;;;;19382:16:1;;19378:52;;19407:23;;-1:-1:-1;;;19407:23:1;;;;;;;;;;;19378:52;19554:24;;;;:15;:24;;;;;;;;19547:31;;-1:-1:-1;;;;;;19547:31:1;;;-1:-1:-1;;;;;19939:24:1;;;;;:18;:24;;;;;19937:26;;-1:-1:-1;;19937:26:1;;;20007:22;;;;;;;20005:24;;-1:-1:-1;20005:24:1;;;20293:26;;;:17;:26;;;;;-1:-1:-1;;;20379:15:1;1656:3;20379:41;20338:83;;:126;;20293:171;;;20581:46;;20577:616;;20684:1;20674:11;;20652:19;20805:30;;;:17;:30;;;;;;20801:378;;20941:13;;20926:11;:28;20922:239;;21086:30;;;;:17;:30;;;;;:52;;;20922:239;20634:559;20577:616;21237:7;21233:2;-1:-1:-1;;;;;21218:27:1;21227:4;-1:-1:-1;;;;;21218:27:1;;;;;;;;;;;18944:2360;;18844:2460;;;:::o;16984:1618::-;17048:20;17071:13;-1:-1:-1;;;;;17098:16:1;;17094:48;;17123:19;;-1:-1:-1;;;17123:19:1;;;;;;;;;;;17094:48;17156:13;17152:44;;17178:18;;-1:-1:-1;;;17178:18:1;;;;;;;;;;;17152:44;-1:-1:-1;;;;;17732:22:1;;;;;;:18;:22;;;;1151:2;17732:22;;;:70;;17770:31;17758:44;;17732:70;;;18038:31;;;:17;:31;;;;;18129:15;1656:3;18129:41;18088:83;;-1:-1:-1;18206:13:1;;1913:3;18191:56;18088:160;18038:210;;:31;18326:23;;;18364:109;18390:40;;18415:14;;;;;-1:-1:-1;;;;;18390:40:1;;;18407:1;;18390:40;;18407:1;;18390:40;18468:3;18453:12;:18;18364:109;;-1:-1:-1;18487:13:1;:28;12638:164;;;:::o;2263:187:4:-;2355:6;;;-1:-1:-1;;;;;2371:17:4;;;-1:-1:-1;;;;;;2371:17:4;;;;;;;2403:40;;2355:6;;;2371:17;2355:6;;2403:40;;2336:16;;2403:40;2326:124;2263:187;:::o;24909:697:1:-;25087:88;;-1:-1:-1;;;25087:88:1;;25067:4;;-1:-1:-1;;;;;25087:45:1;;;;;:88;;27455:10;;25154:4;;25160:7;;25169:5;;25087:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25087:88:1;;;;;;;;-1:-1:-1;;25087:88:1;;;;;;;;;;;;:::i;:::-;;;25083:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25365:13:1;;25361:229;;25410:40;;-1:-1:-1;;;25410:40:1;;;;;;;;;;;25361:229;25550:6;25544:13;25535:6;25531:2;25527:15;25520:38;25083:517;-1:-1:-1;;;;;;25243:64:1;-1:-1:-1;;;25243:64:1;;-1:-1:-1;25083:517:1;24909:697;;;;;;:::o;2792:106:2:-;2852:13;2884:7;2877:14;;;;;:::i;27573:1920:1:-;28038:4;28032:11;;28045:3;28028:21;;28121:17;;;;28805:11;;;28686:5;28935:2;28949;28939:13;;28931:22;28805:11;28918:36;28989:2;28979:13;;28579:668;29007:4;28579:668;;;29178:1;29173:3;29169:11;29162:18;;29228:2;29222:4;29218:13;29214:2;29210:22;29205:3;29197:36;29101:2;29091:13;;28579:668;;;-1:-1:-1;29287:13:1;;;-1:-1:-1;;29400:12:1;;;29458:19;;;29400:12;27573:1920;-1:-1:-1;27573:1920:1:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:5;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:5;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:5;;757:42;;747:70;;813:1;810;803:12;828:367;891:8;901:6;955:3;948:4;940:6;936:17;932:27;922:55;;973:1;970;963:12;922:55;-1:-1:-1;996:20:5;;1039:18;1028:30;;1025:50;;;1071:1;1068;1061:12;1025:50;1108:4;1100:6;1096:17;1084:29;;1168:3;1161:4;1151:6;1148:1;1144:14;1136:6;1132:27;1128:38;1125:47;1122:67;;;1185:1;1182;1175:12;1122:67;828:367;;;;;:::o;1200:186::-;1259:6;1312:2;1300:9;1291:7;1287:23;1283:32;1280:52;;;1328:1;1325;1318:12;1280:52;1351:29;1370:9;1351:29;:::i;1391:260::-;1459:6;1467;1520:2;1508:9;1499:7;1495:23;1491:32;1488:52;;;1536:1;1533;1526:12;1488:52;1559:29;1578:9;1559:29;:::i;:::-;1549:39;;1607:38;1641:2;1630:9;1626:18;1607:38;:::i;:::-;1597:48;;1391:260;;;;;:::o;1656:328::-;1733:6;1741;1749;1802:2;1790:9;1781:7;1777:23;1773:32;1770:52;;;1818:1;1815;1808:12;1770:52;1841:29;1860:9;1841:29;:::i;:::-;1831:39;;1889:38;1923:2;1912:9;1908:18;1889:38;:::i;:::-;1879:48;;1974:2;1963:9;1959:18;1946:32;1936:42;;1656:328;;;;;:::o;1989:666::-;2084:6;2092;2100;2108;2161:3;2149:9;2140:7;2136:23;2132:33;2129:53;;;2178:1;2175;2168:12;2129:53;2201:29;2220:9;2201:29;:::i;:::-;2191:39;;2249:38;2283:2;2272:9;2268:18;2249:38;:::i;:::-;2239:48;;2334:2;2323:9;2319:18;2306:32;2296:42;;2389:2;2378:9;2374:18;2361:32;2416:18;2408:6;2405:30;2402:50;;;2448:1;2445;2438:12;2402:50;2471:22;;2524:4;2516:13;;2512:27;-1:-1:-1;2502:55:5;;2553:1;2550;2543:12;2502:55;2576:73;2641:7;2636:2;2623:16;2618:2;2614;2610:11;2576:73;:::i;:::-;2566:83;;;1989:666;;;;;;;:::o;2660:347::-;2725:6;2733;2786:2;2774:9;2765:7;2761:23;2757:32;2754:52;;;2802:1;2799;2792:12;2754:52;2825:29;2844:9;2825:29;:::i;:::-;2815:39;;2904:2;2893:9;2889:18;2876:32;2951:5;2944:13;2937:21;2930:5;2927:32;2917:60;;2973:1;2970;2963:12;2917:60;2996:5;2986:15;;;2660:347;;;;;:::o;3012:254::-;3080:6;3088;3141:2;3129:9;3120:7;3116:23;3112:32;3109:52;;;3157:1;3154;3147:12;3109:52;3180:29;3199:9;3180:29;:::i;:::-;3170:39;3256:2;3241:18;;;;3228:32;;-1:-1:-1;;;3012:254:5:o;3271:773::-;3393:6;3401;3409;3417;3470:2;3458:9;3449:7;3445:23;3441:32;3438:52;;;3486:1;3483;3476:12;3438:52;3526:9;3513:23;3555:18;3596:2;3588:6;3585:14;3582:34;;;3612:1;3609;3602:12;3582:34;3651:70;3713:7;3704:6;3693:9;3689:22;3651:70;:::i;:::-;3740:8;;-1:-1:-1;3625:96:5;-1:-1:-1;3828:2:5;3813:18;;3800:32;;-1:-1:-1;3844:16:5;;;3841:36;;;3873:1;3870;3863:12;3841:36;;3912:72;3976:7;3965:8;3954:9;3950:24;3912:72;:::i;:::-;3271:773;;;;-1:-1:-1;4003:8:5;-1:-1:-1;;;;3271:773:5:o;4049:245::-;4107:6;4160:2;4148:9;4139:7;4135:23;4131:32;4128:52;;;4176:1;4173;4166:12;4128:52;4215:9;4202:23;4234:30;4258:5;4234:30;:::i;4299:249::-;4368:6;4421:2;4409:9;4400:7;4396:23;4392:32;4389:52;;;4437:1;4434;4427:12;4389:52;4469:9;4463:16;4488:30;4512:5;4488:30;:::i;4553:450::-;4622:6;4675:2;4663:9;4654:7;4650:23;4646:32;4643:52;;;4691:1;4688;4681:12;4643:52;4731:9;4718:23;4764:18;4756:6;4753:30;4750:50;;;4796:1;4793;4786:12;4750:50;4819:22;;4872:4;4864:13;;4860:27;-1:-1:-1;4850:55:5;;4901:1;4898;4891:12;4850:55;4924:73;4989:7;4984:2;4971:16;4966:2;4962;4958:11;4924:73;:::i;5008:180::-;5067:6;5120:2;5108:9;5099:7;5095:23;5091:32;5088:52;;;5136:1;5133;5126:12;5088:52;-1:-1:-1;5159:23:5;;5008:180;-1:-1:-1;5008:180:5:o;5193:184::-;5263:6;5316:2;5304:9;5295:7;5291:23;5287:32;5284:52;;;5332:1;5329;5322:12;5284:52;-1:-1:-1;5355:16:5;;5193:184;-1:-1:-1;5193:184:5:o;5382:257::-;5423:3;5461:5;5455:12;5488:6;5483:3;5476:19;5504:63;5560:6;5553:4;5548:3;5544:14;5537:4;5530:5;5526:16;5504:63;:::i;:::-;5621:2;5600:15;-1:-1:-1;;5596:29:5;5587:39;;;;5628:4;5583:50;;5382:257;-1:-1:-1;;5382:257:5:o;5644:637::-;5924:3;5962:6;5956:13;5978:53;6024:6;6019:3;6012:4;6004:6;6000:17;5978:53;:::i;:::-;6094:13;;6053:16;;;;6116:57;6094:13;6053:16;6150:4;6138:17;;6116:57;:::i;:::-;-1:-1:-1;;;6195:20:5;;6224:22;;;6273:1;6262:13;;5644:637;-1:-1:-1;;;;5644:637:5:o;6704:488::-;-1:-1:-1;;;;;6973:15:5;;;6955:34;;7025:15;;7020:2;7005:18;;6998:43;7072:2;7057:18;;7050:34;;;7120:3;7115:2;7100:18;;7093:31;;;6898:4;;7141:45;;7166:19;;7158:6;7141:45;:::i;:::-;7133:53;6704:488;-1:-1:-1;;;;;;6704:488:5:o;7389:342::-;7535:2;7520:18;;7568:1;7557:13;;7547:144;;7613:10;7608:3;7604:20;7601:1;7594:31;7648:4;7645:1;7638:15;7676:4;7673:1;7666:15;7547:144;7700:25;;;7389:342;:::o;7736:219::-;7885:2;7874:9;7867:21;7848:4;7905:44;7945:2;7934:9;7930:18;7922:6;7905:44;:::i;10119:356::-;10321:2;10303:21;;;10340:18;;;10333:30;10399:34;10394:2;10379:18;;10372:62;10466:2;10451:18;;10119:356::o;11363:128::-;11403:3;11434:1;11430:6;11427:1;11424:13;11421:39;;;11440:18;;:::i;:::-;-1:-1:-1;11476:9:5;;11363:128::o;11496:168::-;11536:7;11602:1;11598;11594:6;11590:14;11587:1;11584:21;11579:1;11572:9;11565:17;11561:45;11558:71;;;11609:18;;:::i;:::-;-1:-1:-1;11649:9:5;;11496:168::o;11669:125::-;11709:4;11737:1;11734;11731:8;11728:34;;;11742:18;;:::i;:::-;-1:-1:-1;11779:9:5;;11669:125::o;11799:258::-;11871:1;11881:113;11895:6;11892:1;11889:13;11881:113;;;11971:11;;;11965:18;11952:11;;;11945:39;11917:2;11910:10;11881:113;;;12012:6;12009:1;12006:13;12003:48;;;-1:-1:-1;;12047:1:5;12029:16;;12022:27;11799:258::o;12062:380::-;12141:1;12137:12;;;;12184;;;12205:61;;12259:4;12251:6;12247:17;12237:27;;12205:61;12312:2;12304:6;12301:14;12281:18;12278:38;12275:161;;;12358:10;12353:3;12349:20;12346:1;12339:31;12393:4;12390:1;12383:15;12421:4;12418:1;12411:15;12275:161;;12062:380;;;:::o;12447:135::-;12486:3;-1:-1:-1;;12507:17:5;;12504:43;;;12527:18;;:::i;:::-;-1:-1:-1;12574:1:5;12563:13;;12447:135::o;12587:127::-;12648:10;12643:3;12639:20;12636:1;12629:31;12679:4;12676:1;12669:15;12703:4;12700:1;12693:15;12719:127;12780:10;12775:3;12771:20;12768:1;12761:31;12811:4;12808:1;12801:15;12835:4;12832:1;12825:15;12851:127;12912:10;12907:3;12903:20;12900:1;12893:31;12943:4;12940:1;12933:15;12967:4;12964:1;12957:15;12983:127;13044:10;13039:3;13035:20;13032:1;13025:31;13075:4;13072:1;13065:15;13099:4;13096:1;13089:15;13115:131;-1:-1:-1;;;;;;13189:32:5;;13179:43;;13169:71;;13236:1;13233;13226:12

Swarm Source

ipfs://5aba2084167b7f506951da987e58bdd8c2b83e54c5f2e27d7f6c2fb43fa428eb

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.