ETH Price: $3,264.14 (+1.33%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...217004642025-01-25 8:56:116 days ago1737795371IN
Culture Cubs: CCUBS Token
0 ETH0.000279515.98749377
Set Approval For...217004042025-01-25 8:44:116 days ago1737794651IN
Culture Cubs: CCUBS Token
0 ETH0.000315746.76350187
Set Approval For...216078772025-01-12 10:41:2318 days ago1736678483IN
Culture Cubs: CCUBS Token
0 ETH0.000093362
Safe Transfer Fr...216053622025-01-12 2:16:2319 days ago1736648183IN
Culture Cubs: CCUBS Token
0 ETH0.000178022.64254737
Set Approval For...215502082025-01-04 9:26:2327 days ago1735982783IN
Culture Cubs: CCUBS Token
0 ETH0.000267175.72309441
Set Approval For...215239652024-12-31 17:33:1130 days ago1735666391IN
Culture Cubs: CCUBS Token
0 ETH0.0005373811.50835037
Set Approval For...215226462024-12-31 13:06:4730 days ago1735650407IN
Culture Cubs: CCUBS Token
0 ETH0.000352437.54959262
Set Approval For...215170692024-12-30 18:25:2331 days ago1735583123IN
Culture Cubs: CCUBS Token
0 ETH0.0005414811.59920696
Set Approval For...214894832024-12-26 22:00:1135 days ago1735250411IN
Culture Cubs: CCUBS Token
0 ETH0.000282556.05260224
Set Approval For...214088622024-12-15 15:38:2346 days ago1734277103IN
Culture Cubs: CCUBS Token
0 ETH0.0004727810.1276245
Set Approval For...214078852024-12-15 12:21:2346 days ago1734265283IN
Culture Cubs: CCUBS Token
0 ETH0.000345187.39419115
Set Approval For...214077712024-12-15 11:58:3546 days ago1734263915IN
Culture Cubs: CCUBS Token
0 ETH0.000314476.73631401
Safe Transfer Fr...213713222024-12-10 9:50:4752 days ago1733824247IN
Culture Cubs: CCUBS Token
0 ETH0.0006839714.23563268
Set Approval For...213712952024-12-10 9:45:2352 days ago1733823923IN
Culture Cubs: CCUBS Token
0 ETH0.0007494316.05377244
Set Approval For...213489212024-12-07 6:47:2355 days ago1733554043IN
Culture Cubs: CCUBS Token
0 ETH0.0005662512.12972515
Set Approval For...211223002024-11-05 15:19:3586 days ago1730819975IN
Culture Cubs: CCUBS Token
0 ETH0.0007749716.60086322
Set Approval For...211221412024-11-05 14:47:3586 days ago1730818055IN
Culture Cubs: CCUBS Token
0 ETH0.0007622116.32756698
Set Approval For...211115642024-11-04 3:22:1188 days ago1730690531IN
Culture Cubs: CCUBS Token
0 ETH0.000216634.64046845
Set Approval For...211059922024-11-03 8:43:1189 days ago1730623391IN
Culture Cubs: CCUBS Token
0 ETH0.000114054.6
Set Approval For...207511352024-09-14 20:08:35138 days ago1726344515IN
Culture Cubs: CCUBS Token
0 ETH0.000170633.65518085
Set Approval For...207504192024-09-14 17:44:47138 days ago1726335887IN
Culture Cubs: CCUBS Token
0 ETH0.000101562.17552963
Set Approval For...207482192024-09-14 10:21:47138 days ago1726309307IN
Culture Cubs: CCUBS Token
0 ETH0.000057641.23485279
Safe Transfer Fr...207465072024-09-14 4:36:59139 days ago1726288619IN
Culture Cubs: CCUBS Token
0 ETH0.000106212.21071752
Safe Transfer Fr...207465072024-09-14 4:36:59139 days ago1726288619IN
Culture Cubs: CCUBS Token
0 ETH0.000144022.21071752
Set Approval For...207401182024-09-13 7:11:11140 days ago1726211471IN
Culture Cubs: CCUBS Token
0 ETH0.000100292.14840702
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
150201662022-06-24 20:48:30951 days ago1656103710
Culture Cubs: CCUBS Token
0.13 ETH
150199572022-06-24 19:52:03951 days ago1656100323
Culture Cubs: CCUBS Token
24.96 ETH
150194572022-06-24 17:36:24951 days ago1656092184
Culture Cubs: CCUBS Token
0.39 ETH
150194532022-06-24 17:35:06951 days ago1656092106
Culture Cubs: CCUBS Token
0.26 ETH
150194502022-06-24 17:32:50951 days ago1656091970
Culture Cubs: CCUBS Token
0.13 ETH
150194472022-06-24 17:32:27951 days ago1656091947
Culture Cubs: CCUBS Token
0.13 ETH
150194472022-06-24 17:32:27951 days ago1656091947
Culture Cubs: CCUBS Token
0.13 ETH
150194392022-06-24 17:31:23951 days ago1656091883
Culture Cubs: CCUBS Token
0.13 ETH
150194282022-06-24 17:28:12951 days ago1656091692
Culture Cubs: CCUBS Token
0.39 ETH
150194232022-06-24 17:27:05951 days ago1656091625
Culture Cubs: CCUBS Token
0.13 ETH
150194192022-06-24 17:26:04951 days ago1656091564
Culture Cubs: CCUBS Token
0.13 ETH
150194192022-06-24 17:26:04951 days ago1656091564
Culture Cubs: CCUBS Token
0.26 ETH
150194092022-06-24 17:22:13951 days ago1656091333
Culture Cubs: CCUBS Token
0.13 ETH
150193732022-06-24 17:14:01951 days ago1656090841
Culture Cubs: CCUBS Token
0.13 ETH
150193452022-06-24 17:08:30951 days ago1656090510
Culture Cubs: CCUBS Token
0.13 ETH
150193272022-06-24 17:05:24951 days ago1656090324
Culture Cubs: CCUBS Token
0.13 ETH
150193162022-06-24 17:01:40951 days ago1656090100
Culture Cubs: CCUBS Token
0.52 ETH
150193162022-06-24 17:01:40951 days ago1656090100
Culture Cubs: CCUBS Token
0.13 ETH
150192992022-06-24 16:56:57951 days ago1656089817
Culture Cubs: CCUBS Token
0.13 ETH
150192892022-06-24 16:54:08951 days ago1656089648
Culture Cubs: CCUBS Token
0.13 ETH
150192822022-06-24 16:52:51951 days ago1656089571
Culture Cubs: CCUBS Token
0.13 ETH
150192762022-06-24 16:50:28951 days ago1656089428
Culture Cubs: CCUBS Token
0.26 ETH
150192742022-06-24 16:50:00951 days ago1656089400
Culture Cubs: CCUBS Token
0.26 ETH
150192532022-06-24 16:45:34951 days ago1656089134
Culture Cubs: CCUBS Token
0.13 ETH
150192412022-06-24 16:41:37951 days ago1656088897
Culture Cubs: CCUBS Token
0.13 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CultureCubs

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : CultureCubs.sol
// Culture Cubs NFT collection

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "erc721a/contracts/ERC721A.sol";

interface IERC721Pledge {
    function pledgeMint(address to, uint8 quantity)
    external
    payable;
}

contract CultureCubs is IERC721Pledge, Ownable, ERC721A, ReentrancyGuard {
  uint256 public constant PRESALE_PRICE = 0.13 ether;
  uint256 public constant MINT_PRICE = 0.15 ether;
  uint16 public constant MAX_COLLECTION_SIZE = 6666;
  uint8 public constant MAX_PER_WALLET = 10;

  uint8 public constant OG_MAX_MINT = 5;
  uint8 public constant CUBLIST_MAX_MINT = 3;
  uint8 public constant MASTER_MAX_MINT = 2;

  address public pledgeContractAddress;

  uint256 public maxPerWallet;
  uint256 public maxCollectionSize;

  uint256 public ogStartTime = 1655125200;      // Monday, June 13, 2022 1:00:00 PM GMT
  uint256 public cublistStartTime = 1655211600; // Tuesday, June 14, 2022 1:00:00 PM GMT
  uint256 public masterStartTime = 1655298000;  // Wednesday, June 15, 2022 1:00:00 PM GMT
  uint256 public publicStartTime = 1655312400;  // Wednesday, June 15, 2022 5:00:00 PM GMT

  mapping(address => uint256) public cublist;
  mapping(address => uint256) public oglist;
  mapping(address => uint256) public masterlist;
  
  constructor(
    address pledgeContractAddress_
  ) ERC721A("Culture Cubs", "CCUBS") {
    maxCollectionSize = MAX_COLLECTION_SIZE;
    maxPerWallet = MAX_PER_WALLET;
    pledgeContractAddress = pledgeContractAddress_;
  }

  modifier callerIsUser() {
    require(tx.origin == msg.sender, "The caller is another contract");
    _;
  }

  modifier onlyPledgeContract() {
    require(pledgeContractAddress == msg.sender, "The caller is not PledgeMint");
    _; 
  }

  function ogMint(uint256 quantity) external payable callerIsUser {
    require(block.timestamp > ogStartTime, "Presale has not yet started");
    _presaleMint(quantity, oglist);
  }

  function cublistMint(uint256 quantity) external payable callerIsUser {
    require(block.timestamp > cublistStartTime, "Presale has not yet started");
    _presaleMint(quantity, cublist);
  }

  function masterMint(uint256 quantity) external payable callerIsUser {
    require(block.timestamp > masterStartTime, "Presale has not yet started");
    _presaleMint(quantity, masterlist);
  }

  function _presaleMint(uint256 quantity, mapping(address => uint256) storage allowanceArr) internal {
    require(allowanceArr[msg.sender] >= quantity, "cannot mint this quantity");
    require(totalSupply() + quantity <= maxCollectionSize, "reached max supply");
    require(numberMinted(msg.sender) + quantity <= maxPerWallet, "cannot mint this quantity");
    allowanceArr[msg.sender] -= quantity;
    _mint(msg.sender, quantity);
    refundIfOver(PRESALE_PRICE * quantity);
  }

  function publicMint(uint256 quantity) external payable callerIsUser {
    require(block.timestamp > publicStartTime, "General sale has not yet started");
    require(totalSupply() + quantity <= maxCollectionSize, "reached max supply");
    require(numberMinted(msg.sender) + quantity <= maxPerWallet, "cannot mint this quantity");
    _mint(msg.sender, quantity);
    refundIfOver(MINT_PRICE * quantity);
  }

  function devMint(address to, uint256 quantity) external onlyOwner {
    require(totalSupply() + quantity <= maxCollectionSize, "reached max supply");
    _mint(to, quantity);
  }

  function pledgeMint(address to, uint8 quantity) override
    external
    payable
    onlyPledgeContract {
    require(totalSupply() + quantity <= maxCollectionSize, "reached max supply");
    require(msg.value >= PRESALE_PRICE * quantity, "Need to send more ETH.");
    _mint(to, quantity);
  }

  function refundIfOver(uint256 price) private {
    require(msg.value >= price, "Need to send more ETH.");
    if (msg.value > price) {
      payable(msg.sender).transfer(msg.value - price);
    }
  }

  function seedCublist(address[] memory addresses)
    external
    onlyOwner
  {
    for (uint256 i = 0; i < addresses.length; i++) {
      cublist[addresses[i]] = CUBLIST_MAX_MINT;
    }
  }

  function seedOglist(address[] memory addresses)
    external
    onlyOwner
  {
    for (uint256 i = 0; i < addresses.length; i++) {
      oglist[addresses[i]] = OG_MAX_MINT;
    }
  }

  function seedMasterlist(address[] memory addresses)
    external
    onlyOwner
  {
    for (uint256 i = 0; i < addresses.length; i++) {
      masterlist[addresses[i]] = MASTER_MAX_MINT;
    }
  }

  // // metadata URI
  string private _baseTokenURI;

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

  function setBaseURI(string calldata baseURI) external onlyOwner {
    _baseTokenURI = baseURI;
  }

  function setMaxCollectionSize(uint16 maxCollectionSize_) external onlyOwner {
    // Can only be decreased
    require(maxCollectionSize_ < maxCollectionSize);
    maxCollectionSize = maxCollectionSize_;
  }

  function setMaxPerWallet(uint16 maxPerWallet_) external onlyOwner {
    require(maxPerWallet_ <= MAX_PER_WALLET);
    maxPerWallet = maxPerWallet_;
  }  

  function setOgStartTime(uint256 setOgStartTime_) external onlyOwner {
    ogStartTime = setOgStartTime_;
  }

  function setCublistStartTime(uint256 setCublistStartTime_) external onlyOwner {
    cublistStartTime = setCublistStartTime_;
  }

  function setMasterStartTime(uint256 setMasterStartTime_) external onlyOwner {
    masterStartTime = setMasterStartTime_;
  }

  function setPublicStartTime(uint256 setPublicStartTime_) external onlyOwner {
    publicStartTime = setPublicStartTime_;
  }

  function setPledgeContractAddress(address pledgeContractAddress_) external onlyOwner {
    pledgeContractAddress = pledgeContractAddress_;
  }

  function withdrawMoney() external onlyOwner nonReentrant {
    (bool success, ) = msg.sender.call{value: address(this).balance}("");
    require(success, "Transfer failed.");
  }

  function numberMinted(address owner) public view returns (uint256) {
    return _numberMinted(owner);
  }
}

File 2 of 6 : 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 3 of 6 : 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))) : '';
    }

    /**
     * @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 6 : 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 5 of 6 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"pledgeContractAddress_","type":"address"}],"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":"CUBLIST_MAX_MINT","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MASTER_MAX_MINT","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_COLLECTION_SIZE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WALLET","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OG_MAX_MINT","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_PRICE","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":[{"internalType":"address","name":"","type":"address"}],"name":"cublist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"cublistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"cublistStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"devMint","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":"masterMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"masterStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"masterlist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxCollectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"ogMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"ogStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"oglist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pledgeContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint8","name":"quantity","type":"uint8"}],"name":"pledgeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"seedCublist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"seedMasterlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"seedOglist","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":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"setCublistStartTime_","type":"uint256"}],"name":"setCublistStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"setMasterStartTime_","type":"uint256"}],"name":"setMasterStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"maxCollectionSize_","type":"uint16"}],"name":"setMaxCollectionSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"maxPerWallet_","type":"uint16"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"setOgStartTime_","type":"uint256"}],"name":"setOgStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pledgeContractAddress_","type":"address"}],"name":"setPledgeContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"setPublicStartTime_","type":"uint256"}],"name":"setPublicStartTime","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":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526362a734d0600d556362a88650600e556362a9d7d0600f556362aa10106010553480156200003157600080fd5b506040516200483a3803806200483a833981810160405281019062000057919062000380565b6040518060400160405280600c81526020017f43756c74757265204375627300000000000000000000000000000000000000008152506040518060400160405280600581526020017f4343554253000000000000000000000000000000000000000000000000000000815250620000e3620000d76200019560201b60201c565b6200019d60201b60201c565b8160039080519060200190620000fb92919062000266565b5080600490805190602001906200011492919062000266565b50620001256200026160201b60201c565b60018190555050506001600981905550611a0a61ffff16600c81905550600a60ff16600b8190555080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000416565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600090565b8280546200027490620003e1565b90600052602060002090601f016020900481019282620002985760008555620002e4565b82601f10620002b357805160ff1916838001178555620002e4565b82800160010185558215620002e4579182015b82811115620002e3578251825591602001919060010190620002c6565b5b509050620002f39190620002f7565b5090565b5b8082111562000312576000816000905550600101620002f8565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000348826200031b565b9050919050565b6200035a816200033b565b81146200036657600080fd5b50565b6000815190506200037a816200034f565b92915050565b60006020828403121562000399576200039862000316565b5b6000620003a98482850162000369565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003fa57607f821691505b60208210810362000410576200040f620003b2565b5b50919050565b61441480620004266000396000f3fe60806040526004361061031a5760003560e01c80636ce77a53116101ab578063b88d4fde116100f7578063db8cc8fa11610095578063e985e9c51161006f578063e985e9c514610b85578063f2fde38b14610bc2578063fb0f4a7f14610beb578063fdf8dda414610c075761031a565b8063db8cc8fa14610b03578063dc33e68114610b2c578063dd21bb7d14610b695761031a565b8063c86c8d8a116100d1578063c86c8d8a14610a49578063c87b56dd14610a74578063cf3df23014610ab1578063d224adaf14610ada5761031a565b8063b88d4fde146109cc578063c002d23d146109f5578063c522514214610a205761031a565b80639471302311610164578063ab9599581161013e578063ab95995814610938578063ac44600214610963578063af23ee331461097a578063b58a98f2146109a35761031a565b806394713023146108b957806395d89b41146108e4578063a22cb4651461090f5761031a565b80636ce77a53146107a957806370a08231146107d2578063715018a61461080f5780638712a3561461082657806389323de7146108515780638da5cb5b1461088e5761031a565b80633bcc07561161026a5780635a1eb82e1161022357806362dc6e21116101fd57806362dc6e21146106fc5780636352211e1461072757806365013a2d1461076457806368ede165146107805761031a565b80635a1eb82e1461067d5780635fd1bbc4146106a8578063627804af146106d35761031a565b80633bcc07561461056f5780634035cc6c146105ac57806342842e0e146105d7578063453c2310146106005780634c11413e1461062b57806355f804b3146106545761031a565b806318160ddd116102d757806323b872dd116102b157806323b872dd146104c45780632809fe16146104ed5780632db115441461052a5780633078e241146105465761031a565b806318160ddd146104435780631fba58ed1461046e578063201eb13f146104995761031a565b806301ffc9a71461031f5780630672cbba1461035c57806306fdde0314610387578063081812fc146103b2578063095ea7b3146103ef5780630f2cdd6c14610418575b600080fd5b34801561032b57600080fd5b506103466004803603810190610341919061335d565b610c23565b60405161035391906133a5565b60405180910390f35b34801561036857600080fd5b50610371610cb5565b60405161037e91906133d9565b60405180910390f35b34801561039357600080fd5b5061039c610cbb565b6040516103a9919061348d565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d491906134db565b610d4d565b6040516103e69190613549565b60405180910390f35b3480156103fb57600080fd5b5061041660048036038101906104119190613590565b610dc9565b005b34801561042457600080fd5b5061042d610f6f565b60405161043a91906135ec565b60405180910390f35b34801561044f57600080fd5b50610458610f74565b60405161046591906133d9565b60405180910390f35b34801561047a57600080fd5b50610483610f8b565b6040516104909190613549565b60405180910390f35b3480156104a557600080fd5b506104ae610fb1565b6040516104bb91906133d9565b60405180910390f35b3480156104d057600080fd5b506104eb60048036038101906104e69190613607565b610fb7565b005b3480156104f957600080fd5b50610514600480360381019061050f919061365a565b610fc7565b60405161052191906133d9565b60405180910390f35b610544600480360381019061053f91906134db565b610fdf565b005b34801561055257600080fd5b5061056d600480360381019061056891906137cf565b611169565b005b34801561057b57600080fd5b506105966004803603810190610591919061365a565b61126a565b6040516105a391906133d9565b60405180910390f35b3480156105b857600080fd5b506105c1611282565b6040516105ce9190613835565b60405180910390f35b3480156105e357600080fd5b506105fe60048036038101906105f99190613607565b611288565b005b34801561060c57600080fd5b506106156112a8565b60405161062291906133d9565b60405180910390f35b34801561063757600080fd5b50610652600480360381019061064d919061387c565b6112ae565b005b34801561066057600080fd5b5061067b60048036038101906106769190613904565b61134a565b005b34801561068957600080fd5b506106926113dc565b60405161069f91906135ec565b60405180910390f35b3480156106b457600080fd5b506106bd6113e1565b6040516106ca91906133d9565b60405180910390f35b3480156106df57600080fd5b506106fa60048036038101906106f59190613590565b6113e7565b005b34801561070857600080fd5b506107116114c8565b60405161071e91906133d9565b60405180910390f35b34801561073357600080fd5b5061074e600480360381019061074991906134db565b6114d4565b60405161075b9190613549565b60405180910390f35b61077e600480360381019061077991906134db565b6114e6565b005b34801561078c57600080fd5b506107a760048036038101906107a291906134db565b6115a6565b005b3480156107b557600080fd5b506107d060048036038101906107cb91906134db565b61162c565b005b3480156107de57600080fd5b506107f960048036038101906107f4919061365a565b6116b2565b60405161080691906133d9565b60405180910390f35b34801561081b57600080fd5b5061082461176a565b005b34801561083257600080fd5b5061083b6117f2565b60405161084891906135ec565b60405180910390f35b34801561085d57600080fd5b506108786004803603810190610873919061365a565b6117f7565b60405161088591906133d9565b60405180910390f35b34801561089a57600080fd5b506108a361180f565b6040516108b09190613549565b60405180910390f35b3480156108c557600080fd5b506108ce611838565b6040516108db91906135ec565b60405180910390f35b3480156108f057600080fd5b506108f961183d565b604051610906919061348d565b60405180910390f35b34801561091b57600080fd5b506109366004803603810190610931919061397d565b6118cf565b005b34801561094457600080fd5b5061094d611a46565b60405161095a91906133d9565b60405180910390f35b34801561096f57600080fd5b50610978611a4c565b005b34801561098657600080fd5b506109a1600480360381019061099c919061387c565b611bcc565b005b3480156109af57600080fd5b506109ca60048036038101906109c591906137cf565b611c6b565b005b3480156109d857600080fd5b506109f360048036038101906109ee9190613a72565b611d6c565b005b348015610a0157600080fd5b50610a0a611ddf565b604051610a1791906133d9565b60405180910390f35b348015610a2c57600080fd5b50610a476004803603810190610a4291906137cf565b611deb565b005b348015610a5557600080fd5b50610a5e611eec565b604051610a6b91906133d9565b60405180910390f35b348015610a8057600080fd5b50610a9b6004803603810190610a9691906134db565b611ef2565b604051610aa8919061348d565b60405180910390f35b348015610abd57600080fd5b50610ad86004803603810190610ad3919061365a565b611f90565b005b348015610ae657600080fd5b50610b016004803603810190610afc91906134db565b612050565b005b348015610b0f57600080fd5b50610b2a6004803603810190610b2591906134db565b6120d6565b005b348015610b3857600080fd5b50610b536004803603810190610b4e919061365a565b61215c565b604051610b6091906133d9565b60405180910390f35b610b836004803603810190610b7e91906134db565b61216e565b005b348015610b9157600080fd5b50610bac6004803603810190610ba79190613af5565b61222e565b604051610bb991906133a5565b60405180910390f35b348015610bce57600080fd5b50610be96004803603810190610be4919061365a565b6122c2565b005b610c056004803603810190610c009190613b61565b6123b9565b005b610c216004803603810190610c1c91906134db565b61250d565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c7e57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cae5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600e5481565b606060038054610cca90613bd0565b80601f0160208091040260200160405190810160405280929190818152602001828054610cf690613bd0565b8015610d435780601f10610d1857610100808354040283529160200191610d43565b820191906000526020600020905b815481529060010190602001808311610d2657829003601f168201915b5050505050905090565b6000610d58826125cd565b610d8e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610dd48261262c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610e3b576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e5a6126f8565b73ffffffffffffffffffffffffffffffffffffffff1614610ebd57610e8681610e816126f8565b61222e565b610ebc576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600a81565b6000610f7e612700565b6002546001540303905090565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c5481565b610fc2838383612705565b505050565b60136020528060005260406000206000915090505481565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461104d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104490613c4d565b60405180910390fd5b6010544211611091576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108890613cb9565b60405180910390fd5b600c548161109d610f74565b6110a79190613d08565b11156110e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110df90613daa565b60405180910390fd5b600b54816110f53361215c565b6110ff9190613d08565b1115611140576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113790613e16565b60405180910390fd5b61114a3382612aac565b61116681670214e8348c4f00006111619190613e36565b612c7f565b50565b611171612d20565b73ffffffffffffffffffffffffffffffffffffffff1661118f61180f565b73ffffffffffffffffffffffffffffffffffffffff16146111e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dc90613edc565b60405180910390fd5b60005b815181101561126657600560ff166012600084848151811061120d5761120c613efc565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061125e90613f2b565b9150506111e8565b5050565b60126020528060005260406000206000915090505481565b611a0a81565b6112a383838360405180602001604052806000815250611d6c565b505050565b600b5481565b6112b6612d20565b73ffffffffffffffffffffffffffffffffffffffff166112d461180f565b73ffffffffffffffffffffffffffffffffffffffff161461132a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132190613edc565b60405180910390fd5b600c548161ffff161061133c57600080fd5b8061ffff16600c8190555050565b611352612d20565b73ffffffffffffffffffffffffffffffffffffffff1661137061180f565b73ffffffffffffffffffffffffffffffffffffffff16146113c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bd90613edc565b60405180910390fd5b8181601491906113d792919061324e565b505050565b600381565b60105481565b6113ef612d20565b73ffffffffffffffffffffffffffffffffffffffff1661140d61180f565b73ffffffffffffffffffffffffffffffffffffffff1614611463576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145a90613edc565b60405180910390fd5b600c548161146f610f74565b6114799190613d08565b11156114ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b190613daa565b60405180910390fd5b6114c48282612aac565b5050565b6701cdda4faccd000081565b60006114df8261262c565b9050919050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154b90613c4d565b60405180910390fd5b600f544211611598576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158f90613fbf565b60405180910390fd5b6115a3816013612d28565b50565b6115ae612d20565b73ffffffffffffffffffffffffffffffffffffffff166115cc61180f565b73ffffffffffffffffffffffffffffffffffffffff1614611622576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161990613edc565b60405180910390fd5b80600f8190555050565b611634612d20565b73ffffffffffffffffffffffffffffffffffffffff1661165261180f565b73ffffffffffffffffffffffffffffffffffffffff16146116a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169f90613edc565b60405180910390fd5b80600d8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611719576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611772612d20565b73ffffffffffffffffffffffffffffffffffffffff1661179061180f565b73ffffffffffffffffffffffffffffffffffffffff16146117e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117dd90613edc565b60405180910390fd5b6117f06000612ed7565b565b600581565b60116020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600281565b60606004805461184c90613bd0565b80601f016020809104026020016040519081016040528092919081815260200182805461187890613bd0565b80156118c55780601f1061189a576101008083540402835291602001916118c5565b820191906000526020600020905b8154815290600101906020018083116118a857829003601f168201915b5050505050905090565b6118d76126f8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361193b576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860006119486126f8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119f56126f8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a3a91906133a5565b60405180910390a35050565b600f5481565b611a54612d20565b73ffffffffffffffffffffffffffffffffffffffff16611a7261180f565b73ffffffffffffffffffffffffffffffffffffffff1614611ac8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abf90613edc565b60405180910390fd5b600260095403611b0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b049061402b565b60405180910390fd5b600260098190555060003373ffffffffffffffffffffffffffffffffffffffff1647604051611b3b9061407c565b60006040518083038185875af1925050503d8060008114611b78576040519150601f19603f3d011682016040523d82523d6000602084013e611b7d565b606091505b5050905080611bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb8906140dd565b60405180910390fd5b506001600981905550565b611bd4612d20565b73ffffffffffffffffffffffffffffffffffffffff16611bf261180f565b73ffffffffffffffffffffffffffffffffffffffff1614611c48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3f90613edc565b60405180910390fd5b600a60ff168161ffff161115611c5d57600080fd5b8061ffff16600b8190555050565b611c73612d20565b73ffffffffffffffffffffffffffffffffffffffff16611c9161180f565b73ffffffffffffffffffffffffffffffffffffffff1614611ce7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cde90613edc565b60405180910390fd5b60005b8151811015611d6857600260ff1660136000848481518110611d0f57611d0e613efc565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080611d6090613f2b565b915050611cea565b5050565b611d77848484612705565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611dd957611da284848484612f9b565b611dd8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b670214e8348c4f000081565b611df3612d20565b73ffffffffffffffffffffffffffffffffffffffff16611e1161180f565b73ffffffffffffffffffffffffffffffffffffffff1614611e67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5e90613edc565b60405180910390fd5b60005b8151811015611ee857600360ff1660116000848481518110611e8f57611e8e613efc565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080611ee090613f2b565b915050611e6a565b5050565b600d5481565b6060611efd826125cd565b611f33576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611f3d6130eb565b90506000815103611f5d5760405180602001604052806000815250611f88565b80611f678461317d565b604051602001611f78929190614139565b6040516020818303038152906040525b915050919050565b611f98612d20565b73ffffffffffffffffffffffffffffffffffffffff16611fb661180f565b73ffffffffffffffffffffffffffffffffffffffff161461200c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200390613edc565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612058612d20565b73ffffffffffffffffffffffffffffffffffffffff1661207661180f565b73ffffffffffffffffffffffffffffffffffffffff16146120cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c390613edc565b60405180910390fd5b80600e8190555050565b6120de612d20565b73ffffffffffffffffffffffffffffffffffffffff166120fc61180f565b73ffffffffffffffffffffffffffffffffffffffff1614612152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214990613edc565b60405180910390fd5b8060108190555050565b6000612167826131d7565b9050919050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146121dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d390613c4d565b60405180910390fd5b600d544211612220576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221790613fbf565b60405180910390fd5b61222b816012612d28565b50565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6122ca612d20565b73ffffffffffffffffffffffffffffffffffffffff166122e861180f565b73ffffffffffffffffffffffffffffffffffffffff161461233e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233590613edc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036123ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a4906141cf565b60405180910390fd5b6123b681612ed7565b50565b3373ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612449576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124409061423b565b60405180910390fd5b600c548160ff16612458610f74565b6124629190613d08565b11156124a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249a90613daa565b60405180910390fd5b8060ff166701cdda4faccd00006124ba9190613e36565b3410156124fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f3906142a7565b60405180910390fd5b612509828260ff16612aac565b5050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461257b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257290613c4d565b60405180910390fd5b600e5442116125bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b690613fbf565b60405180910390fd5b6125ca816011612d28565b50565b6000816125d8612700565b111580156125e7575060015482105b8015612625575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b6000808290508061263b612700565b116126c1576001548110156126c05760006005600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036126be575b600081036126b457600560008360019003935083815260200190815260200160002054905061268a565b80925050506126f3565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600090565b60006127108261262c565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612777576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166127986126f8565b73ffffffffffffffffffffffffffffffffffffffff1614806127c757506127c6856127c16126f8565b61222e565b5b8061280c57506127d56126f8565b73ffffffffffffffffffffffffffffffffffffffff166127f484610d4d565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612845576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036128ab576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6128b8858585600161322e565b6007600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b6129b586613234565b1717600560008581526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000831603612a3d5760006001840190506000600560008381526020019081526020016000205403612a3b576001548114612a3a578260056000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612aa5858585600161323e565b5050505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612b19576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008203612b53576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612b60600084838561322e565b600160406001901b178202600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1612bc560018414613244565b901b60a042901b612bd585613234565b171760056000838152602001908152602001600020819055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612bfb57816001819055505050612c7a600084838561323e565b505050565b80341015612cc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb9906142a7565b60405180910390fd5b80341115612d1d573373ffffffffffffffffffffffffffffffffffffffff166108fc8234612cf091906142c7565b9081150290604051600060405180830381858888f19350505050158015612d1b573d6000803e3d6000fd5b505b50565b600033905090565b818160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015612da9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da090613e16565b60405180910390fd5b600c5482612db5610f74565b612dbf9190613d08565b1115612e00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612df790613daa565b60405180910390fd5b600b5482612e0d3361215c565b612e179190613d08565b1115612e58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4f90613e16565b60405180910390fd5b818160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ea691906142c7565b92505081905550612eb73383612aac565b612ed3826701cdda4faccd0000612ece9190613e36565b612c7f565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612fc16126f8565b8786866040518563ffffffff1660e01b8152600401612fe39493929190614350565b6020604051808303816000875af192505050801561301f57506040513d601f19601f8201168201806040525081019061301c91906143b1565b60015b613098573d806000811461304f576040519150601f19603f3d011682016040523d82523d6000602084013e613054565b606091505b506000815103613090576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060601480546130fa90613bd0565b80601f016020809104026020016040519081016040528092919081815260200182805461312690613bd0565b80156131735780601f1061314857610100808354040283529160200191613173565b820191906000526020600020905b81548152906001019060200180831161315657829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b80156131c357600183039250600a81066030018353600a810490506131a3565b508181036020830392508083525050919050565b600067ffffffffffffffff6040600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b50505050565b6000819050919050565b50505050565b6000819050919050565b82805461325a90613bd0565b90600052602060002090601f01602090048101928261327c57600085556132c3565b82601f1061329557803560ff19168380011785556132c3565b828001600101855582156132c3579182015b828111156132c25782358255916020019190600101906132a7565b5b5090506132d091906132d4565b5090565b5b808211156132ed5760008160009055506001016132d5565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61333a81613305565b811461334557600080fd5b50565b60008135905061335781613331565b92915050565b600060208284031215613373576133726132fb565b5b600061338184828501613348565b91505092915050565b60008115159050919050565b61339f8161338a565b82525050565b60006020820190506133ba6000830184613396565b92915050565b6000819050919050565b6133d3816133c0565b82525050565b60006020820190506133ee60008301846133ca565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561342e578082015181840152602081019050613413565b8381111561343d576000848401525b50505050565b6000601f19601f8301169050919050565b600061345f826133f4565b61346981856133ff565b9350613479818560208601613410565b61348281613443565b840191505092915050565b600060208201905081810360008301526134a78184613454565b905092915050565b6134b8816133c0565b81146134c357600080fd5b50565b6000813590506134d5816134af565b92915050565b6000602082840312156134f1576134f06132fb565b5b60006134ff848285016134c6565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061353382613508565b9050919050565b61354381613528565b82525050565b600060208201905061355e600083018461353a565b92915050565b61356d81613528565b811461357857600080fd5b50565b60008135905061358a81613564565b92915050565b600080604083850312156135a7576135a66132fb565b5b60006135b58582860161357b565b92505060206135c6858286016134c6565b9150509250929050565b600060ff82169050919050565b6135e6816135d0565b82525050565b600060208201905061360160008301846135dd565b92915050565b6000806000606084860312156136205761361f6132fb565b5b600061362e8682870161357b565b935050602061363f8682870161357b565b9250506040613650868287016134c6565b9150509250925092565b6000602082840312156136705761366f6132fb565b5b600061367e8482850161357b565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6136c482613443565b810181811067ffffffffffffffff821117156136e3576136e261368c565b5b80604052505050565b60006136f66132f1565b905061370282826136bb565b919050565b600067ffffffffffffffff8211156137225761372161368c565b5b602082029050602081019050919050565b600080fd5b600061374b61374684613707565b6136ec565b9050808382526020820190506020840283018581111561376e5761376d613733565b5b835b818110156137975780613783888261357b565b845260208401935050602081019050613770565b5050509392505050565b600082601f8301126137b6576137b5613687565b5b81356137c6848260208601613738565b91505092915050565b6000602082840312156137e5576137e46132fb565b5b600082013567ffffffffffffffff81111561380357613802613300565b5b61380f848285016137a1565b91505092915050565b600061ffff82169050919050565b61382f81613818565b82525050565b600060208201905061384a6000830184613826565b92915050565b61385981613818565b811461386457600080fd5b50565b60008135905061387681613850565b92915050565b600060208284031215613892576138916132fb565b5b60006138a084828501613867565b91505092915050565b600080fd5b60008083601f8401126138c4576138c3613687565b5b8235905067ffffffffffffffff8111156138e1576138e06138a9565b5b6020830191508360018202830111156138fd576138fc613733565b5b9250929050565b6000806020838503121561391b5761391a6132fb565b5b600083013567ffffffffffffffff81111561393957613938613300565b5b613945858286016138ae565b92509250509250929050565b61395a8161338a565b811461396557600080fd5b50565b60008135905061397781613951565b92915050565b60008060408385031215613994576139936132fb565b5b60006139a28582860161357b565b92505060206139b385828601613968565b9150509250929050565b600080fd5b600067ffffffffffffffff8211156139dd576139dc61368c565b5b6139e682613443565b9050602081019050919050565b82818337600083830152505050565b6000613a15613a10846139c2565b6136ec565b905082815260208101848484011115613a3157613a306139bd565b5b613a3c8482856139f3565b509392505050565b600082601f830112613a5957613a58613687565b5b8135613a69848260208601613a02565b91505092915050565b60008060008060808587031215613a8c57613a8b6132fb565b5b6000613a9a8782880161357b565b9450506020613aab8782880161357b565b9350506040613abc878288016134c6565b925050606085013567ffffffffffffffff811115613add57613adc613300565b5b613ae987828801613a44565b91505092959194509250565b60008060408385031215613b0c57613b0b6132fb565b5b6000613b1a8582860161357b565b9250506020613b2b8582860161357b565b9150509250929050565b613b3e816135d0565b8114613b4957600080fd5b50565b600081359050613b5b81613b35565b92915050565b60008060408385031215613b7857613b776132fb565b5b6000613b868582860161357b565b9250506020613b9785828601613b4c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613be857607f821691505b602082108103613bfb57613bfa613ba1565b5b50919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000613c37601e836133ff565b9150613c4282613c01565b602082019050919050565b60006020820190508181036000830152613c6681613c2a565b9050919050565b7f47656e6572616c2073616c6520686173206e6f74207965742073746172746564600082015250565b6000613ca36020836133ff565b9150613cae82613c6d565b602082019050919050565b60006020820190508181036000830152613cd281613c96565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613d13826133c0565b9150613d1e836133c0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d5357613d52613cd9565b5b828201905092915050565b7f72656163686564206d617820737570706c790000000000000000000000000000600082015250565b6000613d946012836133ff565b9150613d9f82613d5e565b602082019050919050565b60006020820190508181036000830152613dc381613d87565b9050919050565b7f63616e6e6f74206d696e742074686973207175616e7469747900000000000000600082015250565b6000613e006019836133ff565b9150613e0b82613dca565b602082019050919050565b60006020820190508181036000830152613e2f81613df3565b9050919050565b6000613e41826133c0565b9150613e4c836133c0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613e8557613e84613cd9565b5b828202905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613ec66020836133ff565b9150613ed182613e90565b602082019050919050565b60006020820190508181036000830152613ef581613eb9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613f36826133c0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613f6857613f67613cd9565b5b600182019050919050565b7f50726573616c6520686173206e6f742079657420737461727465640000000000600082015250565b6000613fa9601b836133ff565b9150613fb482613f73565b602082019050919050565b60006020820190508181036000830152613fd881613f9c565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614015601f836133ff565b915061402082613fdf565b602082019050919050565b6000602082019050818103600083015261404481614008565b9050919050565b600081905092915050565b50565b600061406660008361404b565b915061407182614056565b600082019050919050565b600061408782614059565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006140c76010836133ff565b91506140d282614091565b602082019050919050565b600060208201905081810360008301526140f6816140ba565b9050919050565b600081905092915050565b6000614113826133f4565b61411d81856140fd565b935061412d818560208601613410565b80840191505092915050565b60006141458285614108565b91506141518284614108565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006141b96026836133ff565b91506141c48261415d565b604082019050919050565b600060208201905081810360008301526141e8816141ac565b9050919050565b7f5468652063616c6c6572206973206e6f7420506c656467654d696e7400000000600082015250565b6000614225601c836133ff565b9150614230826141ef565b602082019050919050565b6000602082019050818103600083015261425481614218565b9050919050565b7f4e65656420746f2073656e64206d6f7265204554482e00000000000000000000600082015250565b60006142916016836133ff565b915061429c8261425b565b602082019050919050565b600060208201905081810360008301526142c081614284565b9050919050565b60006142d2826133c0565b91506142dd836133c0565b9250828210156142f0576142ef613cd9565b5b828203905092915050565b600081519050919050565b600082825260208201905092915050565b6000614322826142fb565b61432c8185614306565b935061433c818560208601613410565b61434581613443565b840191505092915050565b6000608082019050614365600083018761353a565b614372602083018661353a565b61437f60408301856133ca565b81810360608301526143918184614317565b905095945050505050565b6000815190506143ab81613331565b92915050565b6000602082840312156143c7576143c66132fb565b5b60006143d58482850161439c565b9150509291505056fea2646970667358221220184b49dd23a0ebacbc55db5a1251d1f786831a847cf8c533ef274eae11808e1c64736f6c634300080e0033000000000000000000000000fbffbe6f2e0f4b5d0c3da9b6813d99a4f18fb358

Deployed Bytecode

0x60806040526004361061031a5760003560e01c80636ce77a53116101ab578063b88d4fde116100f7578063db8cc8fa11610095578063e985e9c51161006f578063e985e9c514610b85578063f2fde38b14610bc2578063fb0f4a7f14610beb578063fdf8dda414610c075761031a565b8063db8cc8fa14610b03578063dc33e68114610b2c578063dd21bb7d14610b695761031a565b8063c86c8d8a116100d1578063c86c8d8a14610a49578063c87b56dd14610a74578063cf3df23014610ab1578063d224adaf14610ada5761031a565b8063b88d4fde146109cc578063c002d23d146109f5578063c522514214610a205761031a565b80639471302311610164578063ab9599581161013e578063ab95995814610938578063ac44600214610963578063af23ee331461097a578063b58a98f2146109a35761031a565b806394713023146108b957806395d89b41146108e4578063a22cb4651461090f5761031a565b80636ce77a53146107a957806370a08231146107d2578063715018a61461080f5780638712a3561461082657806389323de7146108515780638da5cb5b1461088e5761031a565b80633bcc07561161026a5780635a1eb82e1161022357806362dc6e21116101fd57806362dc6e21146106fc5780636352211e1461072757806365013a2d1461076457806368ede165146107805761031a565b80635a1eb82e1461067d5780635fd1bbc4146106a8578063627804af146106d35761031a565b80633bcc07561461056f5780634035cc6c146105ac57806342842e0e146105d7578063453c2310146106005780634c11413e1461062b57806355f804b3146106545761031a565b806318160ddd116102d757806323b872dd116102b157806323b872dd146104c45780632809fe16146104ed5780632db115441461052a5780633078e241146105465761031a565b806318160ddd146104435780631fba58ed1461046e578063201eb13f146104995761031a565b806301ffc9a71461031f5780630672cbba1461035c57806306fdde0314610387578063081812fc146103b2578063095ea7b3146103ef5780630f2cdd6c14610418575b600080fd5b34801561032b57600080fd5b506103466004803603810190610341919061335d565b610c23565b60405161035391906133a5565b60405180910390f35b34801561036857600080fd5b50610371610cb5565b60405161037e91906133d9565b60405180910390f35b34801561039357600080fd5b5061039c610cbb565b6040516103a9919061348d565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d491906134db565b610d4d565b6040516103e69190613549565b60405180910390f35b3480156103fb57600080fd5b5061041660048036038101906104119190613590565b610dc9565b005b34801561042457600080fd5b5061042d610f6f565b60405161043a91906135ec565b60405180910390f35b34801561044f57600080fd5b50610458610f74565b60405161046591906133d9565b60405180910390f35b34801561047a57600080fd5b50610483610f8b565b6040516104909190613549565b60405180910390f35b3480156104a557600080fd5b506104ae610fb1565b6040516104bb91906133d9565b60405180910390f35b3480156104d057600080fd5b506104eb60048036038101906104e69190613607565b610fb7565b005b3480156104f957600080fd5b50610514600480360381019061050f919061365a565b610fc7565b60405161052191906133d9565b60405180910390f35b610544600480360381019061053f91906134db565b610fdf565b005b34801561055257600080fd5b5061056d600480360381019061056891906137cf565b611169565b005b34801561057b57600080fd5b506105966004803603810190610591919061365a565b61126a565b6040516105a391906133d9565b60405180910390f35b3480156105b857600080fd5b506105c1611282565b6040516105ce9190613835565b60405180910390f35b3480156105e357600080fd5b506105fe60048036038101906105f99190613607565b611288565b005b34801561060c57600080fd5b506106156112a8565b60405161062291906133d9565b60405180910390f35b34801561063757600080fd5b50610652600480360381019061064d919061387c565b6112ae565b005b34801561066057600080fd5b5061067b60048036038101906106769190613904565b61134a565b005b34801561068957600080fd5b506106926113dc565b60405161069f91906135ec565b60405180910390f35b3480156106b457600080fd5b506106bd6113e1565b6040516106ca91906133d9565b60405180910390f35b3480156106df57600080fd5b506106fa60048036038101906106f59190613590565b6113e7565b005b34801561070857600080fd5b506107116114c8565b60405161071e91906133d9565b60405180910390f35b34801561073357600080fd5b5061074e600480360381019061074991906134db565b6114d4565b60405161075b9190613549565b60405180910390f35b61077e600480360381019061077991906134db565b6114e6565b005b34801561078c57600080fd5b506107a760048036038101906107a291906134db565b6115a6565b005b3480156107b557600080fd5b506107d060048036038101906107cb91906134db565b61162c565b005b3480156107de57600080fd5b506107f960048036038101906107f4919061365a565b6116b2565b60405161080691906133d9565b60405180910390f35b34801561081b57600080fd5b5061082461176a565b005b34801561083257600080fd5b5061083b6117f2565b60405161084891906135ec565b60405180910390f35b34801561085d57600080fd5b506108786004803603810190610873919061365a565b6117f7565b60405161088591906133d9565b60405180910390f35b34801561089a57600080fd5b506108a361180f565b6040516108b09190613549565b60405180910390f35b3480156108c557600080fd5b506108ce611838565b6040516108db91906135ec565b60405180910390f35b3480156108f057600080fd5b506108f961183d565b604051610906919061348d565b60405180910390f35b34801561091b57600080fd5b506109366004803603810190610931919061397d565b6118cf565b005b34801561094457600080fd5b5061094d611a46565b60405161095a91906133d9565b60405180910390f35b34801561096f57600080fd5b50610978611a4c565b005b34801561098657600080fd5b506109a1600480360381019061099c919061387c565b611bcc565b005b3480156109af57600080fd5b506109ca60048036038101906109c591906137cf565b611c6b565b005b3480156109d857600080fd5b506109f360048036038101906109ee9190613a72565b611d6c565b005b348015610a0157600080fd5b50610a0a611ddf565b604051610a1791906133d9565b60405180910390f35b348015610a2c57600080fd5b50610a476004803603810190610a4291906137cf565b611deb565b005b348015610a5557600080fd5b50610a5e611eec565b604051610a6b91906133d9565b60405180910390f35b348015610a8057600080fd5b50610a9b6004803603810190610a9691906134db565b611ef2565b604051610aa8919061348d565b60405180910390f35b348015610abd57600080fd5b50610ad86004803603810190610ad3919061365a565b611f90565b005b348015610ae657600080fd5b50610b016004803603810190610afc91906134db565b612050565b005b348015610b0f57600080fd5b50610b2a6004803603810190610b2591906134db565b6120d6565b005b348015610b3857600080fd5b50610b536004803603810190610b4e919061365a565b61215c565b604051610b6091906133d9565b60405180910390f35b610b836004803603810190610b7e91906134db565b61216e565b005b348015610b9157600080fd5b50610bac6004803603810190610ba79190613af5565b61222e565b604051610bb991906133a5565b60405180910390f35b348015610bce57600080fd5b50610be96004803603810190610be4919061365a565b6122c2565b005b610c056004803603810190610c009190613b61565b6123b9565b005b610c216004803603810190610c1c91906134db565b61250d565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c7e57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cae5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600e5481565b606060038054610cca90613bd0565b80601f0160208091040260200160405190810160405280929190818152602001828054610cf690613bd0565b8015610d435780601f10610d1857610100808354040283529160200191610d43565b820191906000526020600020905b815481529060010190602001808311610d2657829003601f168201915b5050505050905090565b6000610d58826125cd565b610d8e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610dd48261262c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610e3b576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e5a6126f8565b73ffffffffffffffffffffffffffffffffffffffff1614610ebd57610e8681610e816126f8565b61222e565b610ebc576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600a81565b6000610f7e612700565b6002546001540303905090565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c5481565b610fc2838383612705565b505050565b60136020528060005260406000206000915090505481565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461104d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104490613c4d565b60405180910390fd5b6010544211611091576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108890613cb9565b60405180910390fd5b600c548161109d610f74565b6110a79190613d08565b11156110e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110df90613daa565b60405180910390fd5b600b54816110f53361215c565b6110ff9190613d08565b1115611140576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113790613e16565b60405180910390fd5b61114a3382612aac565b61116681670214e8348c4f00006111619190613e36565b612c7f565b50565b611171612d20565b73ffffffffffffffffffffffffffffffffffffffff1661118f61180f565b73ffffffffffffffffffffffffffffffffffffffff16146111e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dc90613edc565b60405180910390fd5b60005b815181101561126657600560ff166012600084848151811061120d5761120c613efc565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061125e90613f2b565b9150506111e8565b5050565b60126020528060005260406000206000915090505481565b611a0a81565b6112a383838360405180602001604052806000815250611d6c565b505050565b600b5481565b6112b6612d20565b73ffffffffffffffffffffffffffffffffffffffff166112d461180f565b73ffffffffffffffffffffffffffffffffffffffff161461132a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132190613edc565b60405180910390fd5b600c548161ffff161061133c57600080fd5b8061ffff16600c8190555050565b611352612d20565b73ffffffffffffffffffffffffffffffffffffffff1661137061180f565b73ffffffffffffffffffffffffffffffffffffffff16146113c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bd90613edc565b60405180910390fd5b8181601491906113d792919061324e565b505050565b600381565b60105481565b6113ef612d20565b73ffffffffffffffffffffffffffffffffffffffff1661140d61180f565b73ffffffffffffffffffffffffffffffffffffffff1614611463576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145a90613edc565b60405180910390fd5b600c548161146f610f74565b6114799190613d08565b11156114ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b190613daa565b60405180910390fd5b6114c48282612aac565b5050565b6701cdda4faccd000081565b60006114df8261262c565b9050919050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154b90613c4d565b60405180910390fd5b600f544211611598576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158f90613fbf565b60405180910390fd5b6115a3816013612d28565b50565b6115ae612d20565b73ffffffffffffffffffffffffffffffffffffffff166115cc61180f565b73ffffffffffffffffffffffffffffffffffffffff1614611622576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161990613edc565b60405180910390fd5b80600f8190555050565b611634612d20565b73ffffffffffffffffffffffffffffffffffffffff1661165261180f565b73ffffffffffffffffffffffffffffffffffffffff16146116a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169f90613edc565b60405180910390fd5b80600d8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611719576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611772612d20565b73ffffffffffffffffffffffffffffffffffffffff1661179061180f565b73ffffffffffffffffffffffffffffffffffffffff16146117e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117dd90613edc565b60405180910390fd5b6117f06000612ed7565b565b600581565b60116020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600281565b60606004805461184c90613bd0565b80601f016020809104026020016040519081016040528092919081815260200182805461187890613bd0565b80156118c55780601f1061189a576101008083540402835291602001916118c5565b820191906000526020600020905b8154815290600101906020018083116118a857829003601f168201915b5050505050905090565b6118d76126f8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361193b576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860006119486126f8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119f56126f8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a3a91906133a5565b60405180910390a35050565b600f5481565b611a54612d20565b73ffffffffffffffffffffffffffffffffffffffff16611a7261180f565b73ffffffffffffffffffffffffffffffffffffffff1614611ac8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abf90613edc565b60405180910390fd5b600260095403611b0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b049061402b565b60405180910390fd5b600260098190555060003373ffffffffffffffffffffffffffffffffffffffff1647604051611b3b9061407c565b60006040518083038185875af1925050503d8060008114611b78576040519150601f19603f3d011682016040523d82523d6000602084013e611b7d565b606091505b5050905080611bc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb8906140dd565b60405180910390fd5b506001600981905550565b611bd4612d20565b73ffffffffffffffffffffffffffffffffffffffff16611bf261180f565b73ffffffffffffffffffffffffffffffffffffffff1614611c48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3f90613edc565b60405180910390fd5b600a60ff168161ffff161115611c5d57600080fd5b8061ffff16600b8190555050565b611c73612d20565b73ffffffffffffffffffffffffffffffffffffffff16611c9161180f565b73ffffffffffffffffffffffffffffffffffffffff1614611ce7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cde90613edc565b60405180910390fd5b60005b8151811015611d6857600260ff1660136000848481518110611d0f57611d0e613efc565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080611d6090613f2b565b915050611cea565b5050565b611d77848484612705565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611dd957611da284848484612f9b565b611dd8576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b670214e8348c4f000081565b611df3612d20565b73ffffffffffffffffffffffffffffffffffffffff16611e1161180f565b73ffffffffffffffffffffffffffffffffffffffff1614611e67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5e90613edc565b60405180910390fd5b60005b8151811015611ee857600360ff1660116000848481518110611e8f57611e8e613efc565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080611ee090613f2b565b915050611e6a565b5050565b600d5481565b6060611efd826125cd565b611f33576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611f3d6130eb565b90506000815103611f5d5760405180602001604052806000815250611f88565b80611f678461317d565b604051602001611f78929190614139565b6040516020818303038152906040525b915050919050565b611f98612d20565b73ffffffffffffffffffffffffffffffffffffffff16611fb661180f565b73ffffffffffffffffffffffffffffffffffffffff161461200c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200390613edc565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612058612d20565b73ffffffffffffffffffffffffffffffffffffffff1661207661180f565b73ffffffffffffffffffffffffffffffffffffffff16146120cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c390613edc565b60405180910390fd5b80600e8190555050565b6120de612d20565b73ffffffffffffffffffffffffffffffffffffffff166120fc61180f565b73ffffffffffffffffffffffffffffffffffffffff1614612152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214990613edc565b60405180910390fd5b8060108190555050565b6000612167826131d7565b9050919050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146121dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d390613c4d565b60405180910390fd5b600d544211612220576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221790613fbf565b60405180910390fd5b61222b816012612d28565b50565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6122ca612d20565b73ffffffffffffffffffffffffffffffffffffffff166122e861180f565b73ffffffffffffffffffffffffffffffffffffffff161461233e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233590613edc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036123ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a4906141cf565b60405180910390fd5b6123b681612ed7565b50565b3373ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612449576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124409061423b565b60405180910390fd5b600c548160ff16612458610f74565b6124629190613d08565b11156124a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249a90613daa565b60405180910390fd5b8060ff166701cdda4faccd00006124ba9190613e36565b3410156124fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f3906142a7565b60405180910390fd5b612509828260ff16612aac565b5050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461257b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257290613c4d565b60405180910390fd5b600e5442116125bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b690613fbf565b60405180910390fd5b6125ca816011612d28565b50565b6000816125d8612700565b111580156125e7575060015482105b8015612625575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b6000808290508061263b612700565b116126c1576001548110156126c05760006005600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036126be575b600081036126b457600560008360019003935083815260200190815260200160002054905061268a565b80925050506126f3565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600090565b60006127108261262c565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612777576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166127986126f8565b73ffffffffffffffffffffffffffffffffffffffff1614806127c757506127c6856127c16126f8565b61222e565b5b8061280c57506127d56126f8565b73ffffffffffffffffffffffffffffffffffffffff166127f484610d4d565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612845576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036128ab576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6128b8858585600161322e565b6007600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b6129b586613234565b1717600560008581526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000831603612a3d5760006001840190506000600560008381526020019081526020016000205403612a3b576001548114612a3a578260056000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612aa5858585600161323e565b5050505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612b19576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008203612b53576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612b60600084838561322e565b600160406001901b178202600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1612bc560018414613244565b901b60a042901b612bd585613234565b171760056000838152602001908152602001600020819055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612bfb57816001819055505050612c7a600084838561323e565b505050565b80341015612cc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb9906142a7565b60405180910390fd5b80341115612d1d573373ffffffffffffffffffffffffffffffffffffffff166108fc8234612cf091906142c7565b9081150290604051600060405180830381858888f19350505050158015612d1b573d6000803e3d6000fd5b505b50565b600033905090565b818160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015612da9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da090613e16565b60405180910390fd5b600c5482612db5610f74565b612dbf9190613d08565b1115612e00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612df790613daa565b60405180910390fd5b600b5482612e0d3361215c565b612e179190613d08565b1115612e58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4f90613e16565b60405180910390fd5b818160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ea691906142c7565b92505081905550612eb73383612aac565b612ed3826701cdda4faccd0000612ece9190613e36565b612c7f565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612fc16126f8565b8786866040518563ffffffff1660e01b8152600401612fe39493929190614350565b6020604051808303816000875af192505050801561301f57506040513d601f19601f8201168201806040525081019061301c91906143b1565b60015b613098573d806000811461304f576040519150601f19603f3d011682016040523d82523d6000602084013e613054565b606091505b506000815103613090576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060601480546130fa90613bd0565b80601f016020809104026020016040519081016040528092919081815260200182805461312690613bd0565b80156131735780601f1061314857610100808354040283529160200191613173565b820191906000526020600020905b81548152906001019060200180831161315657829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b80156131c357600183039250600a81066030018353600a810490506131a3565b508181036020830392508083525050919050565b600067ffffffffffffffff6040600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b50505050565b6000819050919050565b50505050565b6000819050919050565b82805461325a90613bd0565b90600052602060002090601f01602090048101928261327c57600085556132c3565b82601f1061329557803560ff19168380011785556132c3565b828001600101855582156132c3579182015b828111156132c25782358255916020019190600101906132a7565b5b5090506132d091906132d4565b5090565b5b808211156132ed5760008160009055506001016132d5565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61333a81613305565b811461334557600080fd5b50565b60008135905061335781613331565b92915050565b600060208284031215613373576133726132fb565b5b600061338184828501613348565b91505092915050565b60008115159050919050565b61339f8161338a565b82525050565b60006020820190506133ba6000830184613396565b92915050565b6000819050919050565b6133d3816133c0565b82525050565b60006020820190506133ee60008301846133ca565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561342e578082015181840152602081019050613413565b8381111561343d576000848401525b50505050565b6000601f19601f8301169050919050565b600061345f826133f4565b61346981856133ff565b9350613479818560208601613410565b61348281613443565b840191505092915050565b600060208201905081810360008301526134a78184613454565b905092915050565b6134b8816133c0565b81146134c357600080fd5b50565b6000813590506134d5816134af565b92915050565b6000602082840312156134f1576134f06132fb565b5b60006134ff848285016134c6565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061353382613508565b9050919050565b61354381613528565b82525050565b600060208201905061355e600083018461353a565b92915050565b61356d81613528565b811461357857600080fd5b50565b60008135905061358a81613564565b92915050565b600080604083850312156135a7576135a66132fb565b5b60006135b58582860161357b565b92505060206135c6858286016134c6565b9150509250929050565b600060ff82169050919050565b6135e6816135d0565b82525050565b600060208201905061360160008301846135dd565b92915050565b6000806000606084860312156136205761361f6132fb565b5b600061362e8682870161357b565b935050602061363f8682870161357b565b9250506040613650868287016134c6565b9150509250925092565b6000602082840312156136705761366f6132fb565b5b600061367e8482850161357b565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6136c482613443565b810181811067ffffffffffffffff821117156136e3576136e261368c565b5b80604052505050565b60006136f66132f1565b905061370282826136bb565b919050565b600067ffffffffffffffff8211156137225761372161368c565b5b602082029050602081019050919050565b600080fd5b600061374b61374684613707565b6136ec565b9050808382526020820190506020840283018581111561376e5761376d613733565b5b835b818110156137975780613783888261357b565b845260208401935050602081019050613770565b5050509392505050565b600082601f8301126137b6576137b5613687565b5b81356137c6848260208601613738565b91505092915050565b6000602082840312156137e5576137e46132fb565b5b600082013567ffffffffffffffff81111561380357613802613300565b5b61380f848285016137a1565b91505092915050565b600061ffff82169050919050565b61382f81613818565b82525050565b600060208201905061384a6000830184613826565b92915050565b61385981613818565b811461386457600080fd5b50565b60008135905061387681613850565b92915050565b600060208284031215613892576138916132fb565b5b60006138a084828501613867565b91505092915050565b600080fd5b60008083601f8401126138c4576138c3613687565b5b8235905067ffffffffffffffff8111156138e1576138e06138a9565b5b6020830191508360018202830111156138fd576138fc613733565b5b9250929050565b6000806020838503121561391b5761391a6132fb565b5b600083013567ffffffffffffffff81111561393957613938613300565b5b613945858286016138ae565b92509250509250929050565b61395a8161338a565b811461396557600080fd5b50565b60008135905061397781613951565b92915050565b60008060408385031215613994576139936132fb565b5b60006139a28582860161357b565b92505060206139b385828601613968565b9150509250929050565b600080fd5b600067ffffffffffffffff8211156139dd576139dc61368c565b5b6139e682613443565b9050602081019050919050565b82818337600083830152505050565b6000613a15613a10846139c2565b6136ec565b905082815260208101848484011115613a3157613a306139bd565b5b613a3c8482856139f3565b509392505050565b600082601f830112613a5957613a58613687565b5b8135613a69848260208601613a02565b91505092915050565b60008060008060808587031215613a8c57613a8b6132fb565b5b6000613a9a8782880161357b565b9450506020613aab8782880161357b565b9350506040613abc878288016134c6565b925050606085013567ffffffffffffffff811115613add57613adc613300565b5b613ae987828801613a44565b91505092959194509250565b60008060408385031215613b0c57613b0b6132fb565b5b6000613b1a8582860161357b565b9250506020613b2b8582860161357b565b9150509250929050565b613b3e816135d0565b8114613b4957600080fd5b50565b600081359050613b5b81613b35565b92915050565b60008060408385031215613b7857613b776132fb565b5b6000613b868582860161357b565b9250506020613b9785828601613b4c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613be857607f821691505b602082108103613bfb57613bfa613ba1565b5b50919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000613c37601e836133ff565b9150613c4282613c01565b602082019050919050565b60006020820190508181036000830152613c6681613c2a565b9050919050565b7f47656e6572616c2073616c6520686173206e6f74207965742073746172746564600082015250565b6000613ca36020836133ff565b9150613cae82613c6d565b602082019050919050565b60006020820190508181036000830152613cd281613c96565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613d13826133c0565b9150613d1e836133c0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d5357613d52613cd9565b5b828201905092915050565b7f72656163686564206d617820737570706c790000000000000000000000000000600082015250565b6000613d946012836133ff565b9150613d9f82613d5e565b602082019050919050565b60006020820190508181036000830152613dc381613d87565b9050919050565b7f63616e6e6f74206d696e742074686973207175616e7469747900000000000000600082015250565b6000613e006019836133ff565b9150613e0b82613dca565b602082019050919050565b60006020820190508181036000830152613e2f81613df3565b9050919050565b6000613e41826133c0565b9150613e4c836133c0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613e8557613e84613cd9565b5b828202905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613ec66020836133ff565b9150613ed182613e90565b602082019050919050565b60006020820190508181036000830152613ef581613eb9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613f36826133c0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613f6857613f67613cd9565b5b600182019050919050565b7f50726573616c6520686173206e6f742079657420737461727465640000000000600082015250565b6000613fa9601b836133ff565b9150613fb482613f73565b602082019050919050565b60006020820190508181036000830152613fd881613f9c565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614015601f836133ff565b915061402082613fdf565b602082019050919050565b6000602082019050818103600083015261404481614008565b9050919050565b600081905092915050565b50565b600061406660008361404b565b915061407182614056565b600082019050919050565b600061408782614059565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006140c76010836133ff565b91506140d282614091565b602082019050919050565b600060208201905081810360008301526140f6816140ba565b9050919050565b600081905092915050565b6000614113826133f4565b61411d81856140fd565b935061412d818560208601613410565b80840191505092915050565b60006141458285614108565b91506141518284614108565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006141b96026836133ff565b91506141c48261415d565b604082019050919050565b600060208201905081810360008301526141e8816141ac565b9050919050565b7f5468652063616c6c6572206973206e6f7420506c656467654d696e7400000000600082015250565b6000614225601c836133ff565b9150614230826141ef565b602082019050919050565b6000602082019050818103600083015261425481614218565b9050919050565b7f4e65656420746f2073656e64206d6f7265204554482e00000000000000000000600082015250565b60006142916016836133ff565b915061429c8261425b565b602082019050919050565b600060208201905081810360008301526142c081614284565b9050919050565b60006142d2826133c0565b91506142dd836133c0565b9250828210156142f0576142ef613cd9565b5b828203905092915050565b600081519050919050565b600082825260208201905092915050565b6000614322826142fb565b61432c8185614306565b935061433c818560208601613410565b61434581613443565b840191505092915050565b6000608082019050614365600083018761353a565b614372602083018661353a565b61437f60408301856133ca565b81810360608301526143918184614317565b905095945050505050565b6000815190506143ab81613331565b92915050565b6000602082840312156143c7576143c66132fb565b5b60006143d58482850161439c565b9150509291505056fea2646970667358221220184b49dd23a0ebacbc55db5a1251d1f786831a847cf8c533ef274eae11808e1c64736f6c634300080e0033

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

000000000000000000000000fbffbe6f2e0f4b5d0c3da9b6813d99a4f18fb358

-----Decoded View---------------
Arg [0] : pledgeContractAddress_ (address): 0xFbFFbe6F2e0f4b5D0C3DA9b6813d99a4F18fB358

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000fbffbe6f2e0f4b5d0c3da9b6813d99a4f18fb358


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

3,333 utility membership PFPs.Exclusive community for innovators, builders & investors moving web 3 forward.Every NFT grants access to our exclusive community, venture labs incubator, members app, allow list and staking benefits. The longer you (hibernate) your cub, the ...

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.