ETH Price: $3,278.08 (-1.16%)

Token

Interleave Genesis (INTER)
 

Overview

Max Total Supply

0 INTER

Holders

2,110

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
abana.eth
Balance
2 INTER
0x7F6417eCc59685F4363DD7662D0cB26F2E5e5E5c
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The interleave genesis drop.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
SteppableNFT

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : SteppableNFT.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";

import {HotSteppable} from "./HotSteppable.sol";

contract SteppableNFT is
  ERC721,
  Pausable,
  Ownable,
  ERC721Burnable,
  HotSteppable
{
  address constant BLACK_HOLE_ADDRESS =
    0x0000000000000000000000000000000000000000;
  address payable private beneficiary;
  address private developer;
  bool private mintingClosed;
  uint256 private _tokenIdCounter;
  uint256 private developerAllocation;
  uint256 private developerAllocated;

  constructor(
    uint256 _basePrice,
    uint256 _maxPrice,
    uint256 _priceIncrementToSet,
    uint256 _startPriceToSet,
    uint256 _bufferInSecondsToSet,
    uint256 _maxBatchMintToSet,
    uint256 _startPreviousBucketCountToSet,
    address payable _beneficiary,
    address _developer
  ) ERC721("Interleave Genesis", "INTER") {
    _setBasePrice(_basePrice);
    _setMaxPrice(_maxPrice);
    _setPriceIncrement(_priceIncrementToSet);
    _setStartPrice(_startPriceToSet);
    _setPriceBufferInSeconds(_bufferInSecondsToSet);
    _setMaxBatchMint(_maxBatchMintToSet);
    // we start with the previous price and current price the same:
    _setStartPreviousPrice(_startPriceToSet);
    _setStartPreviousBucketCount(_startPreviousBucketCountToSet);
    beneficiary = _beneficiary;
    developer = _developer;
    // start in minting mode:
    mintingClosed = false;
    // and in surge mode, not openmint mode:
    _setSurgeModeOn();
    // start paused using the inherited function, as we don't
    // want to set any zero point reference here:
    _pause();
  }

  modifier whenMintingOpen() {
    require(!mintingClosed, "Minting must be open");
    _;
  }

  modifier whenMintingClosed(address from) {
    require(
      (mintingClosed || from == BLACK_HOLE_ADDRESS),
      "Minting must be closed"
    );
    _;
  }

  event ethWithdrawn(uint256 indexed withdrawal, uint256 effectiveDate);
  event mintingStarted(uint256 mintStartTime);
  event mintingEnded(uint256 mintEndTime);

  function pause() external onlyOwner {
    _pause();
    _handleZeroPointReference();
  }

  function unpause() external onlyOwner {
    _unpause();
    _updateZeroPoint();
    if (_pausedAt == 0) {
      // This is the start of minting. Say so:
      emit mintingStarted(block.timestamp);
    }
  }

  function closeMinting() external onlyOwner {
    performMintingClose();
  }

  function performMintingClose() internal {
    mintingClosed = true;
    emit mintingEnded(block.timestamp);
  }

  function setBasePrice(uint256 _basePriceToSet) external onlyOwner {
    _setBasePrice(_basePriceToSet);
  }

  function setMaxBatchMint(uint256 _maxBatchMintToSet) external onlyOwner {
    _setMaxBatchMint(_maxBatchMintToSet);
  }

  function setPriceIncrement(uint256 _priceIncrementToSet) external onlyOwner {
    _setPriceIncrement(_priceIncrementToSet);
  }

  function setPriceBufferInSeconds(uint256 _BufferInSecondsToSet)
    external
    onlyOwner
  {
    _setPriceBufferInSeconds(_BufferInSecondsToSet);
  }

  function setSurgeModeOff() external onlyOwner {
    _setSurgeModeOff();
  }

  function setSurgeModeOn() external onlyOwner {
    _setSurgeModeOn();
  }

  function getEndTimeStamp() external view returns (uint256) {
    return (_endTimeStamp);
  }

  // The fallback function is executed on a call to the contract if
  // none of the other functions match the given function signature.
  fallback() external payable {
    revert();
  }

  receive() external payable {
    revert();
  }

  // Ensure that the beneficiary can receive deposited ETH:
  function withdraw(uint256 _withdrawal) external onlyOwner returns (bool) {
    (bool success, ) = beneficiary.call{value: _withdrawal}("");
    require(success, "Transfer failed.");
    emit ethWithdrawn(_withdrawal, block.timestamp);
    return true;
  }

  function getPrice()
    public
    view
    whenNotPaused
    whenMintingOpen
    returns (
      uint256,
      uint256,
      uint256
    )
  {
    return (_getPrice());
  }

  function steppableMint(uint256 quantity)
    external
    payable
    whenNotPaused
    whenMintingOpen
  {
    // Don't want to try and mint 0 NFTs for 0 ETH:
    require(
      (quantity > 0) && (quantity <= _maxBatchMint),
      "Quantity must be greater than 0 and less than or equal to maximum"
    );

    // Get the price
    uint256 NFTPrice;
    uint256 bucketNumberToAdd;
    uint256 OldNFTPrice;
    (NFTPrice, bucketNumberToAdd, OldNFTPrice) = _getPrice();

    // We need the surge price * quantity to have been paid in:
    if (msg.value < (quantity * NFTPrice)) {
      // Check the buffer
      require(
        _withinBuffer(bucketNumberToAdd) &&
          (msg.value >= (quantity * OldNFTPrice)),
        "Insufficient ETH for surge adjusted price"
      );
    }

    // Update the bucket details IF we need to:
    if (bucketNumberToAdd > 0) {
      _updateBuckets(bucketNumberToAdd, NFTPrice, OldNFTPrice, quantity);
    } else {
      _recordMinting(quantity);
    }

    // Mint required qantity:
    performMinting(quantity, msg.sender);

    // Check if this is the end:
    if (block.timestamp > _endTimeStamp) {
      performMintingClose();
    }

    emit _steppableMinting(msg.sender, quantity, msg.value, block.timestamp);
  }

  function performMinting(uint256 quantityToMint, address to) internal {
    uint256 tokenIdToMint = _tokenIdCounter;
    for (uint256 i = 0; i < quantityToMint; i++) {
      _safeMint(to, tokenIdToMint);
      tokenIdToMint += 1;
    }
    _tokenIdCounter = tokenIdToMint;
  }

  function getDeveloperAllocationDetails()
    external
    view
    onlyOwner
    returns (uint256, uint256)
  {
    return (developerAllocation, developerAllocated);
  }

  function mintDeveloperAllocation(uint256 quantity)
    external
    onlyOwner
    whenMintingClosed(msg.sender)
  {
    if (developerAllocation == 0) {
      developerAllocation = (((_tokenIdCounter * 204) / 10000) + 1);
    }

    uint256 remainingDeveloperAllocation = (developerAllocation -
      developerAllocated);
    require(remainingDeveloperAllocation > 0, "Developer allocation exhausted");

    if (remainingDeveloperAllocation < quantity) {
      quantity = remainingDeveloperAllocation;
    }

    developerAllocated += quantity;

    // Mint required qantity:
    performMinting(quantity, developer);

    emit _developerAllocationMinting(
      developer,
      quantity,
      remainingDeveloperAllocation - quantity,
      block.timestamp
    );
  }

  function _beforeTokenTransfer(
    address from,
    address to,
    uint256 tokenId
  ) internal override(ERC721) whenNotPaused whenMintingClosed(from) {
    super._beforeTokenTransfer(from, to, tokenId);
  }

  function _baseURI() internal pure override returns (string memory) {
    return "https://arweave.net/u7QmmY8LhngU50EqUjjhdB6h8tnqK-9opSGmYVI8-v8";
  }

  function tokenURI(uint256 tokenId)
    public
    view
    override
    returns (string memory)
  {
    require(
      _exists(tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );
    return _baseURI();
  }

  // The following functions are overrides required by Solidity.

  function supportsInterface(bytes4 interfaceId)
    public
    view
    override(ERC721)
    returns (bool)
  {
    return super.supportsInterface(interfaceId);
  }
}

File 2 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 3 of 14 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

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

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

File 4 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 14 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

File 6 of 14 : HotSteppable.sol
// SPDX-License-Identifier: BUSL-1.1

pragma solidity 0.8.9;

import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";

/**
 * Contract module which allows children to implement a surge
 * pricing mechanism that can be configured by an authorized account.
 *
 */
abstract contract HotSteppable is Context {
  // Use of constants as this will be part of the agreed offering
  // that I don't think you can change midway, so why not save the gas:
  uint256 constant DEVIATION_PERCENTAGE = 20; // 20%
  uint256 constant BUCKET_LENGTH_IN_SECONDS = 900; // 15 minutes
  uint256 constant FORTY_EIGHT_HOURS_IN_SECONDS = 172800; // 48 hours

  bool private _surgeModeActive;
  uint256 public _basePrice;
  uint256 public _maxPrice;
  uint256 public _currentPrice;
  uint256 public _previousPrice;
  uint256 public _priceBufferInSeconds;
  uint256 public _currentTimeBucket;
  uint256 public _priceIncrement;
  uint256 public _zeroPointReference;
  uint256 public _endTimeStamp;
  uint256 public _countCurrentBucket;
  uint256 public _countPreviousBucket;
  uint256 public _pausedAt;
  uint256 public _totalSecondsPaused;
  uint256 public _maxBatchMint;

  event _BasePriceSet(uint256 basePrice);

  event _MaxPriceSet(uint256 maxPrice);

  event _StartPreviousPriceSet(uint256 previousPrice);

  event _StartPriceSet(uint256 currentPrice);

  event _ZeroPointReferenceSet(uint256 startTimeStamp);

  event _EndTimeStampSet(uint256 endTimeStamp);

  event _PriceBufferSet(uint256 priceBufferInSeconds);

  event _PriceIncrementSet(uint256 priceIncrement);

  event _MaxBatchMintSet(uint256 maxBatchMint);

  event _StartPreviousBucketSet(uint256 previousBucketStartValue);

  event _steppableMinting(
    address recipient,
    uint256 quantity,
    uint256 mintCost,
    uint256 mintTimeStamp
  );

  event _developerAllocationMinting(
    address recipient,
    uint256 quantity,
    uint256 remainingAllocation,
    uint256 mintTimeStamp
  );

  event _SurgeOff(address account);

  event _SurgeOn(address account);

  constructor() {}

  modifier whenSurge() {
    require(_surgeModeActive, "Surge: Surge mode is OFF");
    _;
  }

  modifier whenNotSurge() {
    require(!_surgeModeActive, "Surge: Surge mode is ON");
    _;
  }

  function _handleZeroPointReference() internal virtual {
    _pausedAt = block.timestamp;
  }

  function _updateZeroPoint() internal virtual {
    if (_pausedAt != 0) {
      _totalSecondsPaused = (_totalSecondsPaused +
        (block.timestamp - _pausedAt));
      _setZeroPointReference(_zeroPointReference + _totalSecondsPaused);
    } else {
      if (_zeroPointReference == 0) {
        _setZeroPointReference(block.timestamp);
        _setEndTimeStamp(block.timestamp + FORTY_EIGHT_HOURS_IN_SECONDS);
      }
    }
  }

  function _setBasePrice(uint256 _basePriceToSet)
    internal
    virtual
    returns (bool)
  {
    _basePrice = _basePriceToSet;
    emit _BasePriceSet(_basePriceToSet);
    return true;
  }

  function _setMaxPrice(uint256 _maxPriceToSet)
    internal
    virtual
    returns (bool)
  {
    _maxPrice = _maxPriceToSet;
    emit _MaxPriceSet(_maxPriceToSet);
    return true;
  }

  function _setZeroPointReference(uint256 _zeroPointReferenceToSet)
    internal
    virtual
    returns (bool)
  {
    _zeroPointReference = _zeroPointReferenceToSet;
    emit _ZeroPointReferenceSet(_zeroPointReference);
    return true;
  }

  function _setEndTimeStamp(uint256 _endTimeStampToSet)
    internal
    virtual
    returns (bool)
  {
    _endTimeStamp = _endTimeStampToSet;
    emit _EndTimeStampSet(_endTimeStamp);
    return true;
  }

  function _setStartPrice(uint256 _startPriceToSet)
    internal
    virtual
    returns (bool)
  {
    _currentPrice = _startPriceToSet;
    emit _StartPriceSet(_currentPrice);
    return true;
  }

  function _setStartPreviousPrice(uint256 _startPreviousPriceToSet)
    internal
    virtual
    returns (bool)
  {
    _previousPrice = _startPreviousPriceToSet;
    emit _StartPreviousPriceSet(_previousPrice);
    return true;
  }

  function _setPriceBufferInSeconds(uint256 _bufferInSecondsToSet)
    internal
    virtual
    returns (bool)
  {
    _priceBufferInSeconds = _bufferInSecondsToSet;
    emit _PriceBufferSet(_priceBufferInSeconds);
    return true;
  }

  function _setPriceIncrement(uint256 _priceIncrementToSet)
    internal
    virtual
    returns (bool)
  {
    _priceIncrement = _priceIncrementToSet;
    emit _PriceIncrementSet(_priceIncrementToSet);
    return true;
  }

  function _setMaxBatchMint(uint256 _maxBatchMintToSet)
    internal
    virtual
    returns (bool)
  {
    _maxBatchMint = _maxBatchMintToSet;
    emit _MaxBatchMintSet(_maxBatchMint);
    return true;
  }

  function _setStartPreviousBucketCount(uint256 _startPreviousBucketCount)
    internal
    virtual
    returns (bool)
  {
    _countPreviousBucket = _startPreviousBucketCount;
    emit _StartPreviousBucketSet(_startPreviousBucketCount);
    return true;
  }

  function _setSurgeModeOff() internal virtual whenSurge {
    _surgeModeActive = false;
    emit _SurgeOff(_msgSender());
  }

  function _setSurgeModeOn() internal virtual whenNotSurge {
    _surgeModeActive = true;
    emit _SurgeOn(_msgSender());
  }

  function surgeModeActive() external view virtual returns (bool) {
    return _surgeModeActive;
  }

  function _updateBuckets(
    uint256 _bucketNumberToAdd,
    uint256 _newPrice,
    uint256 _oldPrice,
    uint256 _quantity
  ) internal virtual {
    if (_surgeModeActive) {
      // This is called on mint when we know that the bucket must advance
      _currentTimeBucket = _currentTimeBucket + _bucketNumberToAdd;
      // More than one bucket to add indicates the most recent previous bucket must have been a zeromint:
      if (_bucketNumberToAdd > 1) {
        _countPreviousBucket = 0;
      } else {
        _countPreviousBucket = _countCurrentBucket;
      }
      _countCurrentBucket = _quantity;
      _previousPrice = _oldPrice;
      _currentPrice = _newPrice;
    }
  }

  function _recordMinting(uint256 _quantity) internal virtual {
    if (_surgeModeActive) {
      // This is called on mint when within a bucket. Just increment the current bucket counter
      _countCurrentBucket += _quantity;
    }
  }

  function _withinBuffer(uint256 _bucketNumberToAdd)
    internal
    view
    virtual
    returns (bool)
  {
    // Check if we are within the buffer period:
    uint256 bucketStart = _zeroPointReference +
      ((_currentTimeBucket + _bucketNumberToAdd) * BUCKET_LENGTH_IN_SECONDS);
    return ((block.timestamp - bucketStart) <= _priceBufferInSeconds);
  }

  function _bullish() internal view virtual returns (bool) {
    return ((_countCurrentBucket * 100) >=
      (_countPreviousBucket * (100 + DEVIATION_PERCENTAGE)));
  }

  function _bearish() internal view virtual returns (bool) {
    return ((_countPreviousBucket * 100) >=
      (_countCurrentBucket * (100 + DEVIATION_PERCENTAGE)));
  }

  function _inCurrentBucket() internal view virtual returns (bool) {
    return (((block.timestamp - _zeroPointReference) /
      BUCKET_LENGTH_IN_SECONDS) == _currentTimeBucket);
  }

  function _getPrice()
    internal
    view
    virtual
    returns (
      uint256,
      uint256,
      uint256
    )
  {
    uint256 calculatedPrice = _currentPrice;
    uint256 calculatedPreviousPrice = _previousPrice;
    uint256 numberOfElapsedBucketsSinceCurrent = 0;

    // Only do surge pricing if this is active, otherwise we are in openmint mode:
    if (_surgeModeActive) {
      if (_inCurrentBucket()) {
        // Nothing extra to do - we have set the calculatedPrice to the _currentPrice
        // and the calculatedPreviousPrice to the _previousPrice above.
      } else {
        // First, we have moved buckets, so change the previous price to what was the current price:
        calculatedPreviousPrice = _currentPrice;

        // We need to work our current price based on:
        // (a) How many time buckets have passed
        // (b) How each one (if more than one has passed) relates to the one before
        // Now, any mint in that time period that occured AFTER that bucket has closed will have closed that
        // bucket and opened a new one. So we KNOW that any mints in countCurrentBucket apply to the bucket
        // that is bucketStart + BUCKET_LENGTH_IN_SECONDS and no others occured in that bucket.
        // So first we record what effect that had on the price:
        // See if we have gone down by the deviation percentage. Be aware that in instances of both the
        // current and the previous bucket having a count of 0 BOTH bullish and bearish will resolve to true,
        // as thanks to maths 0 * anything will still = 0. But we put bearish first, as if we had no sales
        // in the previous bucket and no sales in this bucket that is bearish.

        if (_bearish()) {
          if (calculatedPrice > _priceIncrement) {
            calculatedPrice = calculatedPrice - _priceIncrement;
          }
        } else {
          if (_bullish()) {
            // The count for that current bucket was higher than the deviation percentage above the previous
            // bucket therefore we increase the price by _priceIncrement:
            calculatedPrice = calculatedPrice + _priceIncrement;
          } else {
            // _crabish: Current count is within both the increase and decrease boundary. Price stays the same
            // Nothing extra to do - we have set the calculatedPrice to the _currentPrice
            // and the calculatedPreviousPrice to the _previousPrice above.
          }
        }
        // We now need to check how many buckets have passed, as there could be multiple that have not
        // had a mint event to close the previous one and open a new one. These also need to be considered
        // in the pricing:
        numberOfElapsedBucketsSinceCurrent =
          ((block.timestamp - _zeroPointReference) / BUCKET_LENGTH_IN_SECONDS) -
          _currentTimeBucket;
        // A result of 1 means we have ticked over into just one time bucket beyond the current. Anything more than 1 is a zeromint
        // bucket that must be represented.
        // Every time period with 0 mints by definition should be considered to be a decrease event, as
        // either it is infinitely less (as a %) than whatever the previous value was, or is a continuation of
        // no one being willing to mint at this price:

        // Change to increments not %s:
        if (numberOfElapsedBucketsSinceCurrent > 1) {
          if (numberOfElapsedBucketsSinceCurrent > 2) {
            uint256 previousReduction = (_priceIncrement *
              (numberOfElapsedBucketsSinceCurrent - 2));
            if (calculatedPreviousPrice > previousReduction) {
              calculatedPreviousPrice = (calculatedPrice - previousReduction);
            } else {
              calculatedPreviousPrice = 0;
            }
          } else {
            calculatedPreviousPrice = calculatedPrice;
          }

          uint256 currentReduction = (_priceIncrement *
            (numberOfElapsedBucketsSinceCurrent - 1));
          if (calculatedPrice > currentReduction) {
            calculatedPrice = (calculatedPrice - currentReduction);
          } else {
            calculatedPrice = 0;
          }
        }
      }

      // Implement Max price checks:
      if (calculatedPrice < _basePrice) {
        calculatedPrice = _basePrice;
      }

      if (calculatedPrice > _maxPrice) {
        calculatedPrice = _maxPrice;
      }

      if (calculatedPreviousPrice < _basePrice) {
        calculatedPreviousPrice = _basePrice;
      }

      if (calculatedPreviousPrice > _maxPrice) {
        calculatedPreviousPrice = _maxPrice;
      }
    } else {
      // Openmint mode - current and previous price are set from the base price:
      calculatedPreviousPrice = _basePrice;
      calculatedPrice = _basePrice;
      numberOfElapsedBucketsSinceCurrent = 0;
    }

    return (
      calculatedPrice,
      numberOfElapsedBucketsSinceCurrent,
      calculatedPreviousPrice
    );
  }
}

File 7 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

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

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

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

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

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

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

File 8 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 9 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

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

File 10 of 14 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 14 : Context.sol
// SPDX-License-Identifier: MIT

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 12 of 14 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 13 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 14 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_basePrice","type":"uint256"},{"internalType":"uint256","name":"_maxPrice","type":"uint256"},{"internalType":"uint256","name":"_priceIncrementToSet","type":"uint256"},{"internalType":"uint256","name":"_startPriceToSet","type":"uint256"},{"internalType":"uint256","name":"_bufferInSecondsToSet","type":"uint256"},{"internalType":"uint256","name":"_maxBatchMintToSet","type":"uint256"},{"internalType":"uint256","name":"_startPreviousBucketCountToSet","type":"uint256"},{"internalType":"address payable","name":"_beneficiary","type":"address"},{"internalType":"address","name":"_developer","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"basePrice","type":"uint256"}],"name":"_BasePriceSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"endTimeStamp","type":"uint256"}],"name":"_EndTimeStampSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxBatchMint","type":"uint256"}],"name":"_MaxBatchMintSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxPrice","type":"uint256"}],"name":"_MaxPriceSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"priceBufferInSeconds","type":"uint256"}],"name":"_PriceBufferSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"priceIncrement","type":"uint256"}],"name":"_PriceIncrementSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousBucketStartValue","type":"uint256"}],"name":"_StartPreviousBucketSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"previousPrice","type":"uint256"}],"name":"_StartPreviousPriceSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"currentPrice","type":"uint256"}],"name":"_StartPriceSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"_SurgeOff","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"_SurgeOn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"startTimeStamp","type":"uint256"}],"name":"_ZeroPointReferenceSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"remainingAllocation","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"mintTimeStamp","type":"uint256"}],"name":"_developerAllocationMinting","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"mintCost","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"mintTimeStamp","type":"uint256"}],"name":"_steppableMinting","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"withdrawal","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"effectiveDate","type":"uint256"}],"name":"ethWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"mintEndTime","type":"uint256"}],"name":"mintingEnded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"mintStartTime","type":"uint256"}],"name":"mintingStarted","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"_basePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_countCurrentBucket","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_countPreviousBucket","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_currentPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_currentTimeBucket","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_endTimeStamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxBatchMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_pausedAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_previousPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_priceBufferInSeconds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_priceIncrement","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalSecondsPaused","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_zeroPointReference","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":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"closeMinting","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":[],"name":"getDeveloperAllocationDetails","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getEndTimeStamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"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":"mintDeveloperAllocation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_basePriceToSet","type":"uint256"}],"name":"setBasePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxBatchMintToSet","type":"uint256"}],"name":"setMaxBatchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_BufferInSecondsToSet","type":"uint256"}],"name":"setPriceBufferInSeconds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_priceIncrementToSet","type":"uint256"}],"name":"setPriceIncrement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setSurgeModeOff","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setSurgeModeOn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"steppableMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"surgeModeActive","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":[{"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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_withdrawal","type":"uint256"}],"name":"withdraw","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b50604051620059a7380380620059a78339818101604052810190620000379190620008bd565b6040518060400160405280601281526020017f496e7465726c656176652047656e6573697300000000000000000000000000008152506040518060400160405280600581526020017f494e5445520000000000000000000000000000000000000000000000000000008152508160009080519060200190620000bb92919062000723565b508060019080519060200190620000d492919062000723565b5050506000600660006101000a81548160ff02191690831515021790555062000112620001066200026e60201b60201c565b6200027660201b60201c565b62000123896200033c60201b60201c565b5062000135886200038760201b60201c565b506200014787620003d260201b60201c565b5062000159866200041d60201b60201c565b506200016b856200046a60201b60201c565b506200017d84620004b760201b60201c565b506200018f866200050460201b60201c565b50620001a1836200055160201b60201c565b5081601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000601660146101000a81548160ff0219169083151502179055506200024f6200059c60201b60201c565b6200025f6200065460201b60201c565b50505050505050505062000b52565b600033905090565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000816007819055507f44b48009f714087b1c483af00aa31f925ceabbb61d217991c5343473f0f47a7782604051620003769190620009ad565b60405180910390a160019050919050565b6000816008819055507f71c2d979fd2469c9c46868f4478e8e01bffe5326b0ab0441c048607b2938294c82604051620003c19190620009ad565b60405180910390a160019050919050565b600081600d819055507fb8f95e92e08cbce9e128ce582055786117ba0d9921c77b425ca030a3388d1e67826040516200040c9190620009ad565b60405180910390a160019050919050565b6000816009819055507f2b1b02fd0e19f2df791d3fdc5800daf5c0c68571d1e898a00532365c356298c9600954604051620004599190620009ad565b60405180910390a160019050919050565b600081600b819055507f673f5d0dafe9001e240cc900dbe0c89d8df25113acbed57a2f04d9cc9feb2f5e600b54604051620004a69190620009ad565b60405180910390a160019050919050565b6000816014819055507fd12c963d8b6a7c240f8741e9fd160a955c735a9bdfed663b8cc2e1642f0e6b1b601454604051620004f39190620009ad565b60405180910390a160019050919050565b600081600a819055507f3ac79cf3a0e6f95afe8c6a3aed1515456f0cf6281c5cc350bf83b7474bfdee1e600a54604051620005409190620009ad565b60405180910390a160019050919050565b6000816011819055507f54a21f6b802d5e9e3582a4686b9b76edda95d5e7a20b6705005edb610e5c755f826040516200058b9190620009ad565b60405180910390a160019050919050565b600660159054906101000a900460ff1615620005ef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005e69062000a2b565b60405180910390fd5b6001600660156101000a81548160ff0219169083151502179055507fd1a79953417ce22282bf3136040293b81ff6d70072f8dc0e02251ded05a721886200063b6200026e60201b60201c565b6040516200064a919062000a5e565b60405180910390a1565b620006646200070c60201b60201c565b15620006a7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200069e9062000acb565b60405180910390fd5b6001600660006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620006f36200026e60201b60201c565b60405162000702919062000a5e565b60405180910390a1565b6000600660009054906101000a900460ff16905090565b828054620007319062000b1c565b90600052602060002090601f016020900481019282620007555760008555620007a1565b82601f106200077057805160ff1916838001178555620007a1565b82800160010185558215620007a1579182015b82811115620007a057825182559160200191906001019062000783565b5b509050620007b09190620007b4565b5090565b5b80821115620007cf576000816000905550600101620007b5565b5090565b600080fd5b6000819050919050565b620007ed81620007d8565b8114620007f957600080fd5b50565b6000815190506200080d81620007e2565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620008408262000813565b9050919050565b620008528162000833565b81146200085e57600080fd5b50565b600081519050620008728162000847565b92915050565b6000620008858262000813565b9050919050565b620008978162000878565b8114620008a357600080fd5b50565b600081519050620008b7816200088c565b92915050565b60008060008060008060008060006101208a8c031215620008e357620008e2620007d3565b5b6000620008f38c828d01620007fc565b9950506020620009068c828d01620007fc565b9850506040620009198c828d01620007fc565b97505060606200092c8c828d01620007fc565b96505060806200093f8c828d01620007fc565b95505060a0620009528c828d01620007fc565b94505060c0620009658c828d01620007fc565b93505060e0620009788c828d0162000861565b9250506101006200098c8c828d01620008a6565b9150509295985092959850929598565b620009a781620007d8565b82525050565b6000602082019050620009c460008301846200099c565b92915050565b600082825260208201905092915050565b7f53757267653a205375726765206d6f6465206973204f4e000000000000000000600082015250565b600062000a13601783620009ca565b915062000a2082620009db565b602082019050919050565b6000602082019050818103600083015262000a468162000a04565b9050919050565b62000a588162000878565b82525050565b600060208201905062000a75600083018462000a4d565b92915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b600062000ab3601083620009ca565b915062000ac08262000a7b565b602082019050919050565b6000602082019050818103600083015262000ae68162000aa4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000b3557607f821691505b6020821081141562000b4c5762000b4b62000aed565b5b50919050565b614e458062000b626000396000f3fe6080604052600436106102975760003560e01c8063715018a61161015a578063b676415f116100c1578063d76403271161007a578063d764032714610997578063de4b3262146109c2578063e985e9c5146109eb578063eaba3fd714610a28578063ede79b8114610a44578063f2fde38b14610a6f576102a1565b8063b676415f14610889578063b6f9041b146108b4578063b88d4fde146108dd578063b9e3338f14610906578063c87b56dd14610931578063d31f93951461096e576102a1565b80638da5cb5b116101135780638da5cb5b1461078757806395d89b41146107b257806398d5fdca146107dd578063a22cb4651461080a578063aa72648114610833578063b353d9511461085e576102a1565b8063715018a6146106d75780637d89b61b146106ee578063814d7c01146107055780638456cb591461073057806387491c6014610747578063882770ba1461075e576102a1565b80633f4ba83a116101fe57806349f7c6bc116101b757806349f7c6bc146105b157806352f96881146105dc5780635c975abb146106075780636352211e146106325780636452def61461066f57806370a082311461069a576102a1565b80633f4ba83a146104dd57806342842e0e146104f457806342966c681461051d57806343acb9571461054657806344cf661f1461055d5780634905269c14610588576102a1565b806315dfb1c11161025057806315dfb1c1146103ca57806318d5550a146103f557806323b872dd146104215780632e1a7d4d1461044a5780633343414b146104875780633bdd280e146104b2576102a1565b806301ffc9a7146102a657806303690e3a146102e357806306fdde031461030e578063081812fc14610339578063095ea7b3146103765780630ef69eca1461039f576102a1565b366102a157600080fd5b600080fd5b3480156102b257600080fd5b506102cd60048036038101906102c891906136ca565b610a98565b6040516102da9190613712565b60405180910390f35b3480156102ef57600080fd5b506102f8610aaa565b6040516103059190613746565b60405180910390f35b34801561031a57600080fd5b50610323610ab0565b60405161033091906137fa565b60405180910390f35b34801561034557600080fd5b50610360600480360381019061035b9190613848565b610b42565b60405161036d91906138b6565b60405180910390f35b34801561038257600080fd5b5061039d600480360381019061039891906138fd565b610bc7565b005b3480156103ab57600080fd5b506103b4610cdf565b6040516103c19190613746565b60405180910390f35b3480156103d657600080fd5b506103df610ce5565b6040516103ec9190613746565b60405180910390f35b34801561040157600080fd5b5061040a610ceb565b60405161041892919061393d565b60405180910390f35b34801561042d57600080fd5b5061044860048036038101906104439190613966565b610d78565b005b34801561045657600080fd5b50610471600480360381019061046c9190613848565b610dd8565b60405161047e9190613712565b60405180910390f35b34801561049357600080fd5b5061049c610f66565b6040516104a99190613746565b60405180910390f35b3480156104be57600080fd5b506104c7610f70565b6040516104d49190613746565b60405180910390f35b3480156104e957600080fd5b506104f2610f76565b005b34801561050057600080fd5b5061051b60048036038101906105169190613966565b611047565b005b34801561052957600080fd5b50610544600480360381019061053f9190613848565b611067565b005b34801561055257600080fd5b5061055b6110c3565b005b34801561056957600080fd5b50610572611149565b60405161057f9190613746565b60405180910390f35b34801561059457600080fd5b506105af60048036038101906105aa9190613848565b61114f565b005b3480156105bd57600080fd5b506105c66111d8565b6040516105d39190613746565b60405180910390f35b3480156105e857600080fd5b506105f16111de565b6040516105fe9190613746565b60405180910390f35b34801561061357600080fd5b5061061c6111e4565b6040516106299190613712565b60405180910390f35b34801561063e57600080fd5b5061065960048036038101906106549190613848565b6111fb565b60405161066691906138b6565b60405180910390f35b34801561067b57600080fd5b506106846112ad565b6040516106919190613746565b60405180910390f35b3480156106a657600080fd5b506106c160048036038101906106bc91906139b9565b6112b3565b6040516106ce9190613746565b60405180910390f35b3480156106e357600080fd5b506106ec61136b565b005b3480156106fa57600080fd5b506107036113f3565b005b34801561071157600080fd5b5061071a611479565b6040516107279190613746565b60405180910390f35b34801561073c57600080fd5b5061074561147f565b005b34801561075357600080fd5b5061075c61150d565b005b34801561076a57600080fd5b5061078560048036038101906107809190613848565b611593565b005b34801561079357600080fd5b5061079c6117e7565b6040516107a991906138b6565b60405180910390f35b3480156107be57600080fd5b506107c7611811565b6040516107d491906137fa565b60405180910390f35b3480156107e957600080fd5b506107f26118a3565b604051610801939291906139e6565b60405180910390f35b34801561081657600080fd5b50610831600480360381019061082c9190613a49565b611953565b005b34801561083f57600080fd5b50610848611ad4565b6040516108559190613746565b60405180910390f35b34801561086a57600080fd5b50610873611ada565b6040516108809190613746565b60405180910390f35b34801561089557600080fd5b5061089e611ae0565b6040516108ab9190613746565b60405180910390f35b3480156108c057600080fd5b506108db60048036038101906108d69190613848565b611ae6565b005b3480156108e957600080fd5b5061090460048036038101906108ff9190613bbe565b611b6f565b005b34801561091257600080fd5b5061091b611bd1565b6040516109289190613712565b60405180910390f35b34801561093d57600080fd5b5061095860048036038101906109539190613848565b611be8565b60405161096591906137fa565b60405180910390f35b34801561097a57600080fd5b5061099560048036038101906109909190613848565b611c41565b005b3480156109a357600080fd5b506109ac611cca565b6040516109b99190613746565b60405180910390f35b3480156109ce57600080fd5b506109e960048036038101906109e49190613848565b611cd0565b005b3480156109f757600080fd5b50610a126004803603810190610a0d9190613c41565b611d59565b604051610a1f9190613712565b60405180910390f35b610a426004803603810190610a3d9190613848565b611ded565b005b348015610a5057600080fd5b50610a59611fe6565b604051610a669190613746565b60405180910390f35b348015610a7b57600080fd5b50610a966004803603810190610a9191906139b9565b611fec565b005b6000610aa3826120e4565b9050919050565b60085481565b606060008054610abf90613cb0565b80601f0160208091040260200160405190810160405280929190818152602001828054610aeb90613cb0565b8015610b385780601f10610b0d57610100808354040283529160200191610b38565b820191906000526020600020905b815481529060010190602001808311610b1b57829003601f168201915b5050505050905090565b6000610b4d826121c6565b610b8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8390613d54565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bd2826111fb565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3a90613de6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c62612232565b73ffffffffffffffffffffffffffffffffffffffff161480610c915750610c9081610c8b612232565b611d59565b5b610cd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc790613e78565b60405180910390fd5b610cda838361223a565b505050565b600a5481565b60135481565b600080610cf6612232565b73ffffffffffffffffffffffffffffffffffffffff16610d146117e7565b73ffffffffffffffffffffffffffffffffffffffff1614610d6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6190613ee4565b60405180910390fd5b601854601954915091509091565b610d89610d83612232565b826122f3565b610dc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbf90613f76565b60405180910390fd5b610dd38383836123d1565b505050565b6000610de2612232565b73ffffffffffffffffffffffffffffffffffffffff16610e006117e7565b73ffffffffffffffffffffffffffffffffffffffff1614610e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4d90613ee4565b60405180910390fd5b6000601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1683604051610e9e90613fc7565b60006040518083038185875af1925050503d8060008114610edb576040519150601f19603f3d011682016040523d82523d6000602084013e610ee0565b606091505b5050905080610f24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1b90614028565b60405180910390fd5b827ff13465fdfa21868677163ea21fb9f4528bbd5a45aad384f73822cfe25e0c6a2842604051610f549190613746565b60405180910390a26001915050919050565b6000600f54905090565b60095481565b610f7e612232565b73ffffffffffffffffffffffffffffffffffffffff16610f9c6117e7565b73ffffffffffffffffffffffffffffffffffffffff1614610ff2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe990613ee4565b60405180910390fd5b610ffa61262d565b6110026126cf565b60006012541415611045577fdbd6c0fe1fb53cb7bf2b4ff005079dec6bc69034fac9d0eff6c0ece1ecb64f0b4260405161103c9190613746565b60405180910390a15b565b61106283838360405180602001604052806000815250611b6f565b505050565b611078611072612232565b826122f3565b6110b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ae906140ba565b60405180910390fd5b6110c081612749565b50565b6110cb612232565b73ffffffffffffffffffffffffffffffffffffffff166110e96117e7565b73ffffffffffffffffffffffffffffffffffffffff161461113f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113690613ee4565b60405180910390fd5b61114761285a565b565b60075481565b611157612232565b73ffffffffffffffffffffffffffffffffffffffff166111756117e7565b73ffffffffffffffffffffffffffffffffffffffff16146111cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c290613ee4565b60405180910390fd5b6111d481612904565b5050565b60105481565b600e5481565b6000600660009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129b9061414c565b60405180910390fd5b80915050919050565b600f5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611324576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131b906141de565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611373612232565b73ffffffffffffffffffffffffffffffffffffffff166113916117e7565b73ffffffffffffffffffffffffffffffffffffffff16146113e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113de90613ee4565b60405180910390fd5b6113f1600061294d565b565b6113fb612232565b73ffffffffffffffffffffffffffffffffffffffff166114196117e7565b73ffffffffffffffffffffffffffffffffffffffff161461146f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146690613ee4565b60405180910390fd5b611477612a13565b565b60115481565b611487612232565b73ffffffffffffffffffffffffffffffffffffffff166114a56117e7565b73ffffffffffffffffffffffffffffffffffffffff16146114fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f290613ee4565b60405180910390fd5b611503612abe565b61150b612b61565b565b611515612232565b73ffffffffffffffffffffffffffffffffffffffff166115336117e7565b73ffffffffffffffffffffffffffffffffffffffff1614611589576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158090613ee4565b60405180910390fd5b611591612b6a565b565b61159b612232565b73ffffffffffffffffffffffffffffffffffffffff166115b96117e7565b73ffffffffffffffffffffffffffffffffffffffff161461160f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160690613ee4565b60405180910390fd5b33601660149054906101000a900460ff16806116575750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b611696576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168d9061424a565b60405180910390fd5b600060185414156116d057600161271060cc6017546116b59190614299565b6116bf9190614322565b6116c99190614353565b6018819055505b60006019546018546116e291906143a9565b905060008111611727576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171e90614429565b60405180910390fd5b82811015611733578092505b82601960008282546117459190614353565b9250508190555061177883601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612bbe565b7fa1f6efc6f90ae3b6c9a9174790e36e9c001cec78aac016359fc04f46555b27e3601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168485846117c991906143a9565b426040516117da9493929190614449565b60405180910390a1505050565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461182090613cb0565b80601f016020809104026020016040519081016040528092919081815260200182805461184c90613cb0565b80156118995780601f1061186e57610100808354040283529160200191611899565b820191906000526020600020905b81548152906001019060200180831161187c57829003601f168201915b5050505050905090565b60008060006118b06111e4565b156118f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e7906144da565b60405180910390fd5b601660149054906101000a900460ff1615611940576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193790614546565b60405180910390fd5b611948612c09565b925092509250909192565b61195b612232565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c0906145b2565b60405180910390fd5b80600560006119d6612232565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a83612232565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ac89190613712565b60405180910390a35050565b60145481565b60125481565b600b5481565b611aee612232565b73ffffffffffffffffffffffffffffffffffffffff16611b0c6117e7565b73ffffffffffffffffffffffffffffffffffffffff1614611b62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5990613ee4565b60405180910390fd5b611b6b81612dc4565b5050565b611b80611b7a612232565b836122f3565b611bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb690613f76565b60405180910390fd5b611bcb84848484612e0f565b50505050565b6000600660159054906101000a900460ff16905090565b6060611bf3826121c6565b611c32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2990614644565b60405180910390fd5b611c3a612e6b565b9050919050565b611c49612232565b73ffffffffffffffffffffffffffffffffffffffff16611c676117e7565b73ffffffffffffffffffffffffffffffffffffffff1614611cbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb490613ee4565b60405180910390fd5b611cc681612e8b565b5050565b600d5481565b611cd8612232565b73ffffffffffffffffffffffffffffffffffffffff16611cf66117e7565b73ffffffffffffffffffffffffffffffffffffffff1614611d4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4390613ee4565b60405180910390fd5b611d5581612ed6565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611df56111e4565b15611e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2c906144da565b60405180910390fd5b601660149054906101000a900460ff1615611e85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7c90614546565b60405180910390fd5b600081118015611e9757506014548111155b611ed6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ecd906146fc565b60405180910390fd5b6000806000611ee3612c09565b8093508194508295505050508284611efb9190614299565b341015611f6257611f0b82612f1f565b8015611f2257508084611f1e9190614299565b3410155b611f61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f589061478e565b60405180910390fd5b5b6000821115611f7c57611f7782848387612f65565b611f86565b611f8584612fca565b5b611f908433612bbe565b600f54421115611fa357611fa2612b6a565b5b7f7b62ab6f92069cbf3951650cf76e85f8289493fe3d1be8e911cf787ec5243ede33853442604051611fd89493929190614449565b60405180910390a150505050565b600c5481565b611ff4612232565b73ffffffffffffffffffffffffffffffffffffffff166120126117e7565b73ffffffffffffffffffffffffffffffffffffffff1614612068576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205f90613ee4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120cf90614820565b60405180910390fd5b6120e18161294d565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806121af57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806121bf57506121be82612ffc565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166122ad836111fb565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006122fe826121c6565b61233d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612334906148b2565b60405180910390fd5b6000612348836111fb565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806123b757508373ffffffffffffffffffffffffffffffffffffffff1661239f84610b42565b73ffffffffffffffffffffffffffffffffffffffff16145b806123c857506123c78185611d59565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123f1826111fb565b73ffffffffffffffffffffffffffffffffffffffff1614612447576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243e90614944565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ae906149d6565b60405180910390fd5b6124c2838383613066565b6124cd60008261223a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461251d91906143a9565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125749190614353565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6126356111e4565b612674576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266b90614a42565b60405180910390fd5b6000600660006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6126b8612232565b6040516126c591906138b6565b60405180910390a1565b60006012541461271857601254426126e791906143a9565b6013546126f49190614353565b601381905550612712601354600e5461270d9190614353565b613146565b50612747565b6000600e5414156127465761272c42613146565b506127446202a3004261273f9190614353565b613191565b505b5b565b6000612754826111fb565b905061276281600084613066565b61276d60008361223a565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127bd91906143a9565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600660159054906101000a900460ff166128a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128a090614aae565b60405180910390fd5b6000600660156101000a81548160ff0219169083151502179055507f0b66dfa92c20b3219830957f428465373f12f55a3179ae3cd60982e5b49ab9416128ed612232565b6040516128fa91906138b6565b60405180910390a1565b600081600d819055507fb8f95e92e08cbce9e128ce582055786117ba0d9921c77b425ca030a3388d1e678260405161293c9190613746565b60405180910390a160019050919050565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600660159054906101000a900460ff1615612a63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5a90614b1a565b60405180910390fd5b6001600660156101000a81548160ff0219169083151502179055507fd1a79953417ce22282bf3136040293b81ff6d70072f8dc0e02251ded05a72188612aa7612232565b604051612ab491906138b6565b60405180910390a1565b612ac66111e4565b15612b06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612afd906144da565b60405180910390fd5b6001600660006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612b4a612232565b604051612b5791906138b6565b60405180910390a1565b42601281905550565b6001601660146101000a81548160ff0219169083151502179055507fefb9593b284ccde822b71be047f936a7f19707f2cb354e1465c9ea6e2eb2e81c42604051612bb49190613746565b60405180910390a1565b6000601754905060005b83811015612bfc57612bda83836131dc565b600182612be79190614353565b91508080612bf490614b3a565b915050612bc8565b5080601781905550505050565b60008060008060095490506000600a5490506000600660159054906101000a900460ff1615612da457612c3a6131fa565b15612c4457612d5f565b6009549150612c51613220565b15612c7657600d54831115612c7157600d5483612c6e91906143a9565b92505b612c9a565b612c7e613253565b15612c9857600d5483612c919190614353565b9250612c99565b5b5b600c54610384600e5442612cae91906143a9565b612cb89190614322565b612cc291906143a9565b90506001811115612d5e576002811115612d1a576000600282612ce591906143a9565b600d54612cf29190614299565b905080831115612d0f578084612d0891906143a9565b9250612d14565b600092505b50612d1e565b8291505b6000600182612d2d91906143a9565b600d54612d3a9190614299565b905080841115612d57578084612d5091906143a9565b9350612d5c565b600093505b505b5b600754831015612d6f5760075492505b600854831115612d7f5760085492505b600754821015612d8f5760075491505b600854821115612d9f5760085491505b612db3565b60075491506007549250600090505b828183955095509550505050909192565b600081600b819055507f673f5d0dafe9001e240cc900dbe0c89d8df25113acbed57a2f04d9cc9feb2f5e600b54604051612dfe9190613746565b60405180910390a160019050919050565b612e1a8484846123d1565b612e2684848484613286565b612e65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5c90614bf5565b60405180910390fd5b50505050565b60606040518060600160405280603f8152602001614dd1603f9139905090565b6000816014819055507fd12c963d8b6a7c240f8741e9fd160a955c735a9bdfed663b8cc2e1642f0e6b1b601454604051612ec59190613746565b60405180910390a160019050919050565b6000816007819055507f44b48009f714087b1c483af00aa31f925ceabbb61d217991c5343473f0f47a7782604051612f0e9190613746565b60405180910390a160019050919050565b60008061038483600c54612f339190614353565b612f3d9190614299565b600e54612f4a9190614353565b9050600b548142612f5b91906143a9565b1115915050919050565b600660159054906101000a900460ff1615612fc45783600c54612f889190614353565b600c819055506001841115612fa4576000601181905550612fae565b6010546011819055505b8060108190555081600a81905550826009819055505b50505050565b600660159054906101000a900460ff1615612ff9578060106000828254612ff19190614353565b925050819055505b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61306e6111e4565b156130ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130a5906144da565b60405180910390fd5b82601660149054906101000a900460ff16806130f65750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b613135576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161312c9061424a565b60405180910390fd5b61314084848461341d565b50505050565b600081600e819055507fd6def98b4696d45576e6716466ce2487e4dcac0b52b0e91cb58d1177e4b966e5600e546040516131809190613746565b60405180910390a160019050919050565b600081600f819055507fb7319bb0e63d89b52311b42a5d833e22a3471a794d3bf4ad3344e9cc9d75c6a8600f546040516131cb9190613746565b60405180910390a160019050919050565b6131f6828260405180602001604052806000815250613422565b5050565b6000600c54610384600e544261321091906143a9565b61321a9190614322565b14905090565b6000601460646132309190614353565b60105461323d9190614299565b606460115461324c9190614299565b1015905090565b6000601460646132639190614353565b6011546132709190614299565b606460105461327f9190614299565b1015905090565b60006132a78473ffffffffffffffffffffffffffffffffffffffff1661347d565b15613410578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132d0612232565b8786866040518563ffffffff1660e01b81526004016132f29493929190614c6a565b602060405180830381600087803b15801561330c57600080fd5b505af192505050801561333d57506040513d601f19601f8201168201806040525081019061333a9190614ccb565b60015b6133c0573d806000811461336d576040519150601f19603f3d011682016040523d82523d6000602084013e613372565b606091505b506000815114156133b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133af90614bf5565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613415565b600190505b949350505050565b505050565b61342c8383613490565b6134396000848484613286565b613478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346f90614bf5565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613500576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134f790614d44565b60405180910390fd5b613509816121c6565b15613549576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161354090614db0565b60405180910390fd5b61355560008383613066565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135a59190614353565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6136a781613672565b81146136b257600080fd5b50565b6000813590506136c48161369e565b92915050565b6000602082840312156136e0576136df613668565b5b60006136ee848285016136b5565b91505092915050565b60008115159050919050565b61370c816136f7565b82525050565b60006020820190506137276000830184613703565b92915050565b6000819050919050565b6137408161372d565b82525050565b600060208201905061375b6000830184613737565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561379b578082015181840152602081019050613780565b838111156137aa576000848401525b50505050565b6000601f19601f8301169050919050565b60006137cc82613761565b6137d6818561376c565b93506137e681856020860161377d565b6137ef816137b0565b840191505092915050565b6000602082019050818103600083015261381481846137c1565b905092915050565b6138258161372d565b811461383057600080fd5b50565b6000813590506138428161381c565b92915050565b60006020828403121561385e5761385d613668565b5b600061386c84828501613833565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006138a082613875565b9050919050565b6138b081613895565b82525050565b60006020820190506138cb60008301846138a7565b92915050565b6138da81613895565b81146138e557600080fd5b50565b6000813590506138f7816138d1565b92915050565b6000806040838503121561391457613913613668565b5b6000613922858286016138e8565b925050602061393385828601613833565b9150509250929050565b60006040820190506139526000830185613737565b61395f6020830184613737565b9392505050565b60008060006060848603121561397f5761397e613668565b5b600061398d868287016138e8565b935050602061399e868287016138e8565b92505060406139af86828701613833565b9150509250925092565b6000602082840312156139cf576139ce613668565b5b60006139dd848285016138e8565b91505092915050565b60006060820190506139fb6000830186613737565b613a086020830185613737565b613a156040830184613737565b949350505050565b613a26816136f7565b8114613a3157600080fd5b50565b600081359050613a4381613a1d565b92915050565b60008060408385031215613a6057613a5f613668565b5b6000613a6e858286016138e8565b9250506020613a7f85828601613a34565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613acb826137b0565b810181811067ffffffffffffffff82111715613aea57613ae9613a93565b5b80604052505050565b6000613afd61365e565b9050613b098282613ac2565b919050565b600067ffffffffffffffff821115613b2957613b28613a93565b5b613b32826137b0565b9050602081019050919050565b82818337600083830152505050565b6000613b61613b5c84613b0e565b613af3565b905082815260208101848484011115613b7d57613b7c613a8e565b5b613b88848285613b3f565b509392505050565b600082601f830112613ba557613ba4613a89565b5b8135613bb5848260208601613b4e565b91505092915050565b60008060008060808587031215613bd857613bd7613668565b5b6000613be6878288016138e8565b9450506020613bf7878288016138e8565b9350506040613c0887828801613833565b925050606085013567ffffffffffffffff811115613c2957613c2861366d565b5b613c3587828801613b90565b91505092959194509250565b60008060408385031215613c5857613c57613668565b5b6000613c66858286016138e8565b9250506020613c77858286016138e8565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613cc857607f821691505b60208210811415613cdc57613cdb613c81565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613d3e602c8361376c565b9150613d4982613ce2565b604082019050919050565b60006020820190508181036000830152613d6d81613d31565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613dd060218361376c565b9150613ddb82613d74565b604082019050919050565b60006020820190508181036000830152613dff81613dc3565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613e6260388361376c565b9150613e6d82613e06565b604082019050919050565b60006020820190508181036000830152613e9181613e55565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613ece60208361376c565b9150613ed982613e98565b602082019050919050565b60006020820190508181036000830152613efd81613ec1565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613f6060318361376c565b9150613f6b82613f04565b604082019050919050565b60006020820190508181036000830152613f8f81613f53565b9050919050565b600081905092915050565b50565b6000613fb1600083613f96565b9150613fbc82613fa1565b600082019050919050565b6000613fd282613fa4565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b600061401260108361376c565b915061401d82613fdc565b602082019050919050565b6000602082019050818103600083015261404181614005565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b60006140a460308361376c565b91506140af82614048565b604082019050919050565b600060208201905081810360008301526140d381614097565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061413660298361376c565b9150614141826140da565b604082019050919050565b6000602082019050818103600083015261416581614129565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006141c8602a8361376c565b91506141d38261416c565b604082019050919050565b600060208201905081810360008301526141f7816141bb565b9050919050565b7f4d696e74696e67206d75737420626520636c6f73656400000000000000000000600082015250565b600061423460168361376c565b915061423f826141fe565b602082019050919050565b6000602082019050818103600083015261426381614227565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006142a48261372d565b91506142af8361372d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156142e8576142e761426a565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061432d8261372d565b91506143388361372d565b925082614348576143476142f3565b5b828204905092915050565b600061435e8261372d565b91506143698361372d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561439e5761439d61426a565b5b828201905092915050565b60006143b48261372d565b91506143bf8361372d565b9250828210156143d2576143d161426a565b5b828203905092915050565b7f446576656c6f70657220616c6c6f636174696f6e206578686175737465640000600082015250565b6000614413601e8361376c565b915061441e826143dd565b602082019050919050565b6000602082019050818103600083015261444281614406565b9050919050565b600060808201905061445e60008301876138a7565b61446b6020830186613737565b6144786040830185613737565b6144856060830184613737565b95945050505050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006144c460108361376c565b91506144cf8261448e565b602082019050919050565b600060208201905081810360008301526144f3816144b7565b9050919050565b7f4d696e74696e67206d757374206265206f70656e000000000000000000000000600082015250565b600061453060148361376c565b915061453b826144fa565b602082019050919050565b6000602082019050818103600083015261455f81614523565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061459c60198361376c565b91506145a782614566565b602082019050919050565b600060208201905081810360008301526145cb8161458f565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061462e602f8361376c565b9150614639826145d2565b604082019050919050565b6000602082019050818103600083015261465d81614621565b9050919050565b7f5175616e74697479206d7573742062652067726561746572207468616e20302060008201527f616e64206c657373207468616e206f7220657175616c20746f206d6178696d7560208201527f6d00000000000000000000000000000000000000000000000000000000000000604082015250565b60006146e660418361376c565b91506146f182614664565b606082019050919050565b60006020820190508181036000830152614715816146d9565b9050919050565b7f496e73756666696369656e742045544820666f722073757267652061646a757360008201527f7465642070726963650000000000000000000000000000000000000000000000602082015250565b600061477860298361376c565b91506147838261471c565b604082019050919050565b600060208201905081810360008301526147a78161476b565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061480a60268361376c565b9150614815826147ae565b604082019050919050565b60006020820190508181036000830152614839816147fd565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061489c602c8361376c565b91506148a782614840565b604082019050919050565b600060208201905081810360008301526148cb8161488f565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b600061492e60298361376c565b9150614939826148d2565b604082019050919050565b6000602082019050818103600083015261495d81614921565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006149c060248361376c565b91506149cb82614964565b604082019050919050565b600060208201905081810360008301526149ef816149b3565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614a2c60148361376c565b9150614a37826149f6565b602082019050919050565b60006020820190508181036000830152614a5b81614a1f565b9050919050565b7f53757267653a205375726765206d6f6465206973204f46460000000000000000600082015250565b6000614a9860188361376c565b9150614aa382614a62565b602082019050919050565b60006020820190508181036000830152614ac781614a8b565b9050919050565b7f53757267653a205375726765206d6f6465206973204f4e000000000000000000600082015250565b6000614b0460178361376c565b9150614b0f82614ace565b602082019050919050565b60006020820190508181036000830152614b3381614af7565b9050919050565b6000614b458261372d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b7857614b7761426a565b5b600182019050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614bdf60328361376c565b9150614bea82614b83565b604082019050919050565b60006020820190508181036000830152614c0e81614bd2565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614c3c82614c15565b614c468185614c20565b9350614c5681856020860161377d565b614c5f816137b0565b840191505092915050565b6000608082019050614c7f60008301876138a7565b614c8c60208301866138a7565b614c996040830185613737565b8181036060830152614cab8184614c31565b905095945050505050565b600081519050614cc58161369e565b92915050565b600060208284031215614ce157614ce0613668565b5b6000614cef84828501614cb6565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614d2e60208361376c565b9150614d3982614cf8565b602082019050919050565b60006020820190508181036000830152614d5d81614d21565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614d9a601c8361376c565b9150614da582614d64565b602082019050919050565b60006020820190508181036000830152614dc981614d8d565b905091905056fe68747470733a2f2f617277656176652e6e65742f7537516d6d59384c686e675535304571556a6a686442366838746e714b2d396f7053476d595649382d7638a26469706673582212202cb014d12a8f00871451b1a08a89733fcec8c11cfbb67089c568b21cf7d1506a64736f6c63430008090033000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000000000000000000000000000000429d069189e00000000000000000000000000000000000000000000000000000058d15e176280000000000000000000000000000000000000000000000000000214e8348c4f0000000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000280000000000000000000000001b2c7b464f1c297159f921d51b526e509b18ca66000000000000000000000000bb31ac1eca8e6007775daef2acc433eb0f30454b

Deployed Bytecode

0x6080604052600436106102975760003560e01c8063715018a61161015a578063b676415f116100c1578063d76403271161007a578063d764032714610997578063de4b3262146109c2578063e985e9c5146109eb578063eaba3fd714610a28578063ede79b8114610a44578063f2fde38b14610a6f576102a1565b8063b676415f14610889578063b6f9041b146108b4578063b88d4fde146108dd578063b9e3338f14610906578063c87b56dd14610931578063d31f93951461096e576102a1565b80638da5cb5b116101135780638da5cb5b1461078757806395d89b41146107b257806398d5fdca146107dd578063a22cb4651461080a578063aa72648114610833578063b353d9511461085e576102a1565b8063715018a6146106d75780637d89b61b146106ee578063814d7c01146107055780638456cb591461073057806387491c6014610747578063882770ba1461075e576102a1565b80633f4ba83a116101fe57806349f7c6bc116101b757806349f7c6bc146105b157806352f96881146105dc5780635c975abb146106075780636352211e146106325780636452def61461066f57806370a082311461069a576102a1565b80633f4ba83a146104dd57806342842e0e146104f457806342966c681461051d57806343acb9571461054657806344cf661f1461055d5780634905269c14610588576102a1565b806315dfb1c11161025057806315dfb1c1146103ca57806318d5550a146103f557806323b872dd146104215780632e1a7d4d1461044a5780633343414b146104875780633bdd280e146104b2576102a1565b806301ffc9a7146102a657806303690e3a146102e357806306fdde031461030e578063081812fc14610339578063095ea7b3146103765780630ef69eca1461039f576102a1565b366102a157600080fd5b600080fd5b3480156102b257600080fd5b506102cd60048036038101906102c891906136ca565b610a98565b6040516102da9190613712565b60405180910390f35b3480156102ef57600080fd5b506102f8610aaa565b6040516103059190613746565b60405180910390f35b34801561031a57600080fd5b50610323610ab0565b60405161033091906137fa565b60405180910390f35b34801561034557600080fd5b50610360600480360381019061035b9190613848565b610b42565b60405161036d91906138b6565b60405180910390f35b34801561038257600080fd5b5061039d600480360381019061039891906138fd565b610bc7565b005b3480156103ab57600080fd5b506103b4610cdf565b6040516103c19190613746565b60405180910390f35b3480156103d657600080fd5b506103df610ce5565b6040516103ec9190613746565b60405180910390f35b34801561040157600080fd5b5061040a610ceb565b60405161041892919061393d565b60405180910390f35b34801561042d57600080fd5b5061044860048036038101906104439190613966565b610d78565b005b34801561045657600080fd5b50610471600480360381019061046c9190613848565b610dd8565b60405161047e9190613712565b60405180910390f35b34801561049357600080fd5b5061049c610f66565b6040516104a99190613746565b60405180910390f35b3480156104be57600080fd5b506104c7610f70565b6040516104d49190613746565b60405180910390f35b3480156104e957600080fd5b506104f2610f76565b005b34801561050057600080fd5b5061051b60048036038101906105169190613966565b611047565b005b34801561052957600080fd5b50610544600480360381019061053f9190613848565b611067565b005b34801561055257600080fd5b5061055b6110c3565b005b34801561056957600080fd5b50610572611149565b60405161057f9190613746565b60405180910390f35b34801561059457600080fd5b506105af60048036038101906105aa9190613848565b61114f565b005b3480156105bd57600080fd5b506105c66111d8565b6040516105d39190613746565b60405180910390f35b3480156105e857600080fd5b506105f16111de565b6040516105fe9190613746565b60405180910390f35b34801561061357600080fd5b5061061c6111e4565b6040516106299190613712565b60405180910390f35b34801561063e57600080fd5b5061065960048036038101906106549190613848565b6111fb565b60405161066691906138b6565b60405180910390f35b34801561067b57600080fd5b506106846112ad565b6040516106919190613746565b60405180910390f35b3480156106a657600080fd5b506106c160048036038101906106bc91906139b9565b6112b3565b6040516106ce9190613746565b60405180910390f35b3480156106e357600080fd5b506106ec61136b565b005b3480156106fa57600080fd5b506107036113f3565b005b34801561071157600080fd5b5061071a611479565b6040516107279190613746565b60405180910390f35b34801561073c57600080fd5b5061074561147f565b005b34801561075357600080fd5b5061075c61150d565b005b34801561076a57600080fd5b5061078560048036038101906107809190613848565b611593565b005b34801561079357600080fd5b5061079c6117e7565b6040516107a991906138b6565b60405180910390f35b3480156107be57600080fd5b506107c7611811565b6040516107d491906137fa565b60405180910390f35b3480156107e957600080fd5b506107f26118a3565b604051610801939291906139e6565b60405180910390f35b34801561081657600080fd5b50610831600480360381019061082c9190613a49565b611953565b005b34801561083f57600080fd5b50610848611ad4565b6040516108559190613746565b60405180910390f35b34801561086a57600080fd5b50610873611ada565b6040516108809190613746565b60405180910390f35b34801561089557600080fd5b5061089e611ae0565b6040516108ab9190613746565b60405180910390f35b3480156108c057600080fd5b506108db60048036038101906108d69190613848565b611ae6565b005b3480156108e957600080fd5b5061090460048036038101906108ff9190613bbe565b611b6f565b005b34801561091257600080fd5b5061091b611bd1565b6040516109289190613712565b60405180910390f35b34801561093d57600080fd5b5061095860048036038101906109539190613848565b611be8565b60405161096591906137fa565b60405180910390f35b34801561097a57600080fd5b5061099560048036038101906109909190613848565b611c41565b005b3480156109a357600080fd5b506109ac611cca565b6040516109b99190613746565b60405180910390f35b3480156109ce57600080fd5b506109e960048036038101906109e49190613848565b611cd0565b005b3480156109f757600080fd5b50610a126004803603810190610a0d9190613c41565b611d59565b604051610a1f9190613712565b60405180910390f35b610a426004803603810190610a3d9190613848565b611ded565b005b348015610a5057600080fd5b50610a59611fe6565b604051610a669190613746565b60405180910390f35b348015610a7b57600080fd5b50610a966004803603810190610a9191906139b9565b611fec565b005b6000610aa3826120e4565b9050919050565b60085481565b606060008054610abf90613cb0565b80601f0160208091040260200160405190810160405280929190818152602001828054610aeb90613cb0565b8015610b385780601f10610b0d57610100808354040283529160200191610b38565b820191906000526020600020905b815481529060010190602001808311610b1b57829003601f168201915b5050505050905090565b6000610b4d826121c6565b610b8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8390613d54565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bd2826111fb565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3a90613de6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c62612232565b73ffffffffffffffffffffffffffffffffffffffff161480610c915750610c9081610c8b612232565b611d59565b5b610cd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc790613e78565b60405180910390fd5b610cda838361223a565b505050565b600a5481565b60135481565b600080610cf6612232565b73ffffffffffffffffffffffffffffffffffffffff16610d146117e7565b73ffffffffffffffffffffffffffffffffffffffff1614610d6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6190613ee4565b60405180910390fd5b601854601954915091509091565b610d89610d83612232565b826122f3565b610dc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbf90613f76565b60405180910390fd5b610dd38383836123d1565b505050565b6000610de2612232565b73ffffffffffffffffffffffffffffffffffffffff16610e006117e7565b73ffffffffffffffffffffffffffffffffffffffff1614610e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4d90613ee4565b60405180910390fd5b6000601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1683604051610e9e90613fc7565b60006040518083038185875af1925050503d8060008114610edb576040519150601f19603f3d011682016040523d82523d6000602084013e610ee0565b606091505b5050905080610f24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1b90614028565b60405180910390fd5b827ff13465fdfa21868677163ea21fb9f4528bbd5a45aad384f73822cfe25e0c6a2842604051610f549190613746565b60405180910390a26001915050919050565b6000600f54905090565b60095481565b610f7e612232565b73ffffffffffffffffffffffffffffffffffffffff16610f9c6117e7565b73ffffffffffffffffffffffffffffffffffffffff1614610ff2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe990613ee4565b60405180910390fd5b610ffa61262d565b6110026126cf565b60006012541415611045577fdbd6c0fe1fb53cb7bf2b4ff005079dec6bc69034fac9d0eff6c0ece1ecb64f0b4260405161103c9190613746565b60405180910390a15b565b61106283838360405180602001604052806000815250611b6f565b505050565b611078611072612232565b826122f3565b6110b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ae906140ba565b60405180910390fd5b6110c081612749565b50565b6110cb612232565b73ffffffffffffffffffffffffffffffffffffffff166110e96117e7565b73ffffffffffffffffffffffffffffffffffffffff161461113f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113690613ee4565b60405180910390fd5b61114761285a565b565b60075481565b611157612232565b73ffffffffffffffffffffffffffffffffffffffff166111756117e7565b73ffffffffffffffffffffffffffffffffffffffff16146111cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c290613ee4565b60405180910390fd5b6111d481612904565b5050565b60105481565b600e5481565b6000600660009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129b9061414c565b60405180910390fd5b80915050919050565b600f5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611324576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131b906141de565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611373612232565b73ffffffffffffffffffffffffffffffffffffffff166113916117e7565b73ffffffffffffffffffffffffffffffffffffffff16146113e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113de90613ee4565b60405180910390fd5b6113f1600061294d565b565b6113fb612232565b73ffffffffffffffffffffffffffffffffffffffff166114196117e7565b73ffffffffffffffffffffffffffffffffffffffff161461146f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146690613ee4565b60405180910390fd5b611477612a13565b565b60115481565b611487612232565b73ffffffffffffffffffffffffffffffffffffffff166114a56117e7565b73ffffffffffffffffffffffffffffffffffffffff16146114fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f290613ee4565b60405180910390fd5b611503612abe565b61150b612b61565b565b611515612232565b73ffffffffffffffffffffffffffffffffffffffff166115336117e7565b73ffffffffffffffffffffffffffffffffffffffff1614611589576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158090613ee4565b60405180910390fd5b611591612b6a565b565b61159b612232565b73ffffffffffffffffffffffffffffffffffffffff166115b96117e7565b73ffffffffffffffffffffffffffffffffffffffff161461160f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160690613ee4565b60405180910390fd5b33601660149054906101000a900460ff16806116575750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b611696576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168d9061424a565b60405180910390fd5b600060185414156116d057600161271060cc6017546116b59190614299565b6116bf9190614322565b6116c99190614353565b6018819055505b60006019546018546116e291906143a9565b905060008111611727576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171e90614429565b60405180910390fd5b82811015611733578092505b82601960008282546117459190614353565b9250508190555061177883601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612bbe565b7fa1f6efc6f90ae3b6c9a9174790e36e9c001cec78aac016359fc04f46555b27e3601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168485846117c991906143a9565b426040516117da9493929190614449565b60405180910390a1505050565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461182090613cb0565b80601f016020809104026020016040519081016040528092919081815260200182805461184c90613cb0565b80156118995780601f1061186e57610100808354040283529160200191611899565b820191906000526020600020905b81548152906001019060200180831161187c57829003601f168201915b5050505050905090565b60008060006118b06111e4565b156118f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e7906144da565b60405180910390fd5b601660149054906101000a900460ff1615611940576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193790614546565b60405180910390fd5b611948612c09565b925092509250909192565b61195b612232565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c0906145b2565b60405180910390fd5b80600560006119d6612232565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a83612232565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ac89190613712565b60405180910390a35050565b60145481565b60125481565b600b5481565b611aee612232565b73ffffffffffffffffffffffffffffffffffffffff16611b0c6117e7565b73ffffffffffffffffffffffffffffffffffffffff1614611b62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5990613ee4565b60405180910390fd5b611b6b81612dc4565b5050565b611b80611b7a612232565b836122f3565b611bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb690613f76565b60405180910390fd5b611bcb84848484612e0f565b50505050565b6000600660159054906101000a900460ff16905090565b6060611bf3826121c6565b611c32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2990614644565b60405180910390fd5b611c3a612e6b565b9050919050565b611c49612232565b73ffffffffffffffffffffffffffffffffffffffff16611c676117e7565b73ffffffffffffffffffffffffffffffffffffffff1614611cbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb490613ee4565b60405180910390fd5b611cc681612e8b565b5050565b600d5481565b611cd8612232565b73ffffffffffffffffffffffffffffffffffffffff16611cf66117e7565b73ffffffffffffffffffffffffffffffffffffffff1614611d4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4390613ee4565b60405180910390fd5b611d5581612ed6565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611df56111e4565b15611e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2c906144da565b60405180910390fd5b601660149054906101000a900460ff1615611e85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7c90614546565b60405180910390fd5b600081118015611e9757506014548111155b611ed6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ecd906146fc565b60405180910390fd5b6000806000611ee3612c09565b8093508194508295505050508284611efb9190614299565b341015611f6257611f0b82612f1f565b8015611f2257508084611f1e9190614299565b3410155b611f61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f589061478e565b60405180910390fd5b5b6000821115611f7c57611f7782848387612f65565b611f86565b611f8584612fca565b5b611f908433612bbe565b600f54421115611fa357611fa2612b6a565b5b7f7b62ab6f92069cbf3951650cf76e85f8289493fe3d1be8e911cf787ec5243ede33853442604051611fd89493929190614449565b60405180910390a150505050565b600c5481565b611ff4612232565b73ffffffffffffffffffffffffffffffffffffffff166120126117e7565b73ffffffffffffffffffffffffffffffffffffffff1614612068576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205f90613ee4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120cf90614820565b60405180910390fd5b6120e18161294d565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806121af57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806121bf57506121be82612ffc565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166122ad836111fb565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006122fe826121c6565b61233d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612334906148b2565b60405180910390fd5b6000612348836111fb565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806123b757508373ffffffffffffffffffffffffffffffffffffffff1661239f84610b42565b73ffffffffffffffffffffffffffffffffffffffff16145b806123c857506123c78185611d59565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123f1826111fb565b73ffffffffffffffffffffffffffffffffffffffff1614612447576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243e90614944565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ae906149d6565b60405180910390fd5b6124c2838383613066565b6124cd60008261223a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461251d91906143a9565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125749190614353565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6126356111e4565b612674576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266b90614a42565b60405180910390fd5b6000600660006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6126b8612232565b6040516126c591906138b6565b60405180910390a1565b60006012541461271857601254426126e791906143a9565b6013546126f49190614353565b601381905550612712601354600e5461270d9190614353565b613146565b50612747565b6000600e5414156127465761272c42613146565b506127446202a3004261273f9190614353565b613191565b505b5b565b6000612754826111fb565b905061276281600084613066565b61276d60008361223a565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127bd91906143a9565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600660159054906101000a900460ff166128a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128a090614aae565b60405180910390fd5b6000600660156101000a81548160ff0219169083151502179055507f0b66dfa92c20b3219830957f428465373f12f55a3179ae3cd60982e5b49ab9416128ed612232565b6040516128fa91906138b6565b60405180910390a1565b600081600d819055507fb8f95e92e08cbce9e128ce582055786117ba0d9921c77b425ca030a3388d1e678260405161293c9190613746565b60405180910390a160019050919050565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600660159054906101000a900460ff1615612a63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5a90614b1a565b60405180910390fd5b6001600660156101000a81548160ff0219169083151502179055507fd1a79953417ce22282bf3136040293b81ff6d70072f8dc0e02251ded05a72188612aa7612232565b604051612ab491906138b6565b60405180910390a1565b612ac66111e4565b15612b06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612afd906144da565b60405180910390fd5b6001600660006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612b4a612232565b604051612b5791906138b6565b60405180910390a1565b42601281905550565b6001601660146101000a81548160ff0219169083151502179055507fefb9593b284ccde822b71be047f936a7f19707f2cb354e1465c9ea6e2eb2e81c42604051612bb49190613746565b60405180910390a1565b6000601754905060005b83811015612bfc57612bda83836131dc565b600182612be79190614353565b91508080612bf490614b3a565b915050612bc8565b5080601781905550505050565b60008060008060095490506000600a5490506000600660159054906101000a900460ff1615612da457612c3a6131fa565b15612c4457612d5f565b6009549150612c51613220565b15612c7657600d54831115612c7157600d5483612c6e91906143a9565b92505b612c9a565b612c7e613253565b15612c9857600d5483612c919190614353565b9250612c99565b5b5b600c54610384600e5442612cae91906143a9565b612cb89190614322565b612cc291906143a9565b90506001811115612d5e576002811115612d1a576000600282612ce591906143a9565b600d54612cf29190614299565b905080831115612d0f578084612d0891906143a9565b9250612d14565b600092505b50612d1e565b8291505b6000600182612d2d91906143a9565b600d54612d3a9190614299565b905080841115612d57578084612d5091906143a9565b9350612d5c565b600093505b505b5b600754831015612d6f5760075492505b600854831115612d7f5760085492505b600754821015612d8f5760075491505b600854821115612d9f5760085491505b612db3565b60075491506007549250600090505b828183955095509550505050909192565b600081600b819055507f673f5d0dafe9001e240cc900dbe0c89d8df25113acbed57a2f04d9cc9feb2f5e600b54604051612dfe9190613746565b60405180910390a160019050919050565b612e1a8484846123d1565b612e2684848484613286565b612e65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5c90614bf5565b60405180910390fd5b50505050565b60606040518060600160405280603f8152602001614dd1603f9139905090565b6000816014819055507fd12c963d8b6a7c240f8741e9fd160a955c735a9bdfed663b8cc2e1642f0e6b1b601454604051612ec59190613746565b60405180910390a160019050919050565b6000816007819055507f44b48009f714087b1c483af00aa31f925ceabbb61d217991c5343473f0f47a7782604051612f0e9190613746565b60405180910390a160019050919050565b60008061038483600c54612f339190614353565b612f3d9190614299565b600e54612f4a9190614353565b9050600b548142612f5b91906143a9565b1115915050919050565b600660159054906101000a900460ff1615612fc45783600c54612f889190614353565b600c819055506001841115612fa4576000601181905550612fae565b6010546011819055505b8060108190555081600a81905550826009819055505b50505050565b600660159054906101000a900460ff1615612ff9578060106000828254612ff19190614353565b925050819055505b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61306e6111e4565b156130ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130a5906144da565b60405180910390fd5b82601660149054906101000a900460ff16806130f65750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16145b613135576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161312c9061424a565b60405180910390fd5b61314084848461341d565b50505050565b600081600e819055507fd6def98b4696d45576e6716466ce2487e4dcac0b52b0e91cb58d1177e4b966e5600e546040516131809190613746565b60405180910390a160019050919050565b600081600f819055507fb7319bb0e63d89b52311b42a5d833e22a3471a794d3bf4ad3344e9cc9d75c6a8600f546040516131cb9190613746565b60405180910390a160019050919050565b6131f6828260405180602001604052806000815250613422565b5050565b6000600c54610384600e544261321091906143a9565b61321a9190614322565b14905090565b6000601460646132309190614353565b60105461323d9190614299565b606460115461324c9190614299565b1015905090565b6000601460646132639190614353565b6011546132709190614299565b606460105461327f9190614299565b1015905090565b60006132a78473ffffffffffffffffffffffffffffffffffffffff1661347d565b15613410578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132d0612232565b8786866040518563ffffffff1660e01b81526004016132f29493929190614c6a565b602060405180830381600087803b15801561330c57600080fd5b505af192505050801561333d57506040513d601f19601f8201168201806040525081019061333a9190614ccb565b60015b6133c0573d806000811461336d576040519150601f19603f3d011682016040523d82523d6000602084013e613372565b606091505b506000815114156133b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133af90614bf5565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613415565b600190505b949350505050565b505050565b61342c8383613490565b6134396000848484613286565b613478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346f90614bf5565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613500576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134f790614d44565b60405180910390fd5b613509816121c6565b15613549576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161354090614db0565b60405180910390fd5b61355560008383613066565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546135a59190614353565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6136a781613672565b81146136b257600080fd5b50565b6000813590506136c48161369e565b92915050565b6000602082840312156136e0576136df613668565b5b60006136ee848285016136b5565b91505092915050565b60008115159050919050565b61370c816136f7565b82525050565b60006020820190506137276000830184613703565b92915050565b6000819050919050565b6137408161372d565b82525050565b600060208201905061375b6000830184613737565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561379b578082015181840152602081019050613780565b838111156137aa576000848401525b50505050565b6000601f19601f8301169050919050565b60006137cc82613761565b6137d6818561376c565b93506137e681856020860161377d565b6137ef816137b0565b840191505092915050565b6000602082019050818103600083015261381481846137c1565b905092915050565b6138258161372d565b811461383057600080fd5b50565b6000813590506138428161381c565b92915050565b60006020828403121561385e5761385d613668565b5b600061386c84828501613833565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006138a082613875565b9050919050565b6138b081613895565b82525050565b60006020820190506138cb60008301846138a7565b92915050565b6138da81613895565b81146138e557600080fd5b50565b6000813590506138f7816138d1565b92915050565b6000806040838503121561391457613913613668565b5b6000613922858286016138e8565b925050602061393385828601613833565b9150509250929050565b60006040820190506139526000830185613737565b61395f6020830184613737565b9392505050565b60008060006060848603121561397f5761397e613668565b5b600061398d868287016138e8565b935050602061399e868287016138e8565b92505060406139af86828701613833565b9150509250925092565b6000602082840312156139cf576139ce613668565b5b60006139dd848285016138e8565b91505092915050565b60006060820190506139fb6000830186613737565b613a086020830185613737565b613a156040830184613737565b949350505050565b613a26816136f7565b8114613a3157600080fd5b50565b600081359050613a4381613a1d565b92915050565b60008060408385031215613a6057613a5f613668565b5b6000613a6e858286016138e8565b9250506020613a7f85828601613a34565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613acb826137b0565b810181811067ffffffffffffffff82111715613aea57613ae9613a93565b5b80604052505050565b6000613afd61365e565b9050613b098282613ac2565b919050565b600067ffffffffffffffff821115613b2957613b28613a93565b5b613b32826137b0565b9050602081019050919050565b82818337600083830152505050565b6000613b61613b5c84613b0e565b613af3565b905082815260208101848484011115613b7d57613b7c613a8e565b5b613b88848285613b3f565b509392505050565b600082601f830112613ba557613ba4613a89565b5b8135613bb5848260208601613b4e565b91505092915050565b60008060008060808587031215613bd857613bd7613668565b5b6000613be6878288016138e8565b9450506020613bf7878288016138e8565b9350506040613c0887828801613833565b925050606085013567ffffffffffffffff811115613c2957613c2861366d565b5b613c3587828801613b90565b91505092959194509250565b60008060408385031215613c5857613c57613668565b5b6000613c66858286016138e8565b9250506020613c77858286016138e8565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613cc857607f821691505b60208210811415613cdc57613cdb613c81565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613d3e602c8361376c565b9150613d4982613ce2565b604082019050919050565b60006020820190508181036000830152613d6d81613d31565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613dd060218361376c565b9150613ddb82613d74565b604082019050919050565b60006020820190508181036000830152613dff81613dc3565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613e6260388361376c565b9150613e6d82613e06565b604082019050919050565b60006020820190508181036000830152613e9181613e55565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613ece60208361376c565b9150613ed982613e98565b602082019050919050565b60006020820190508181036000830152613efd81613ec1565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613f6060318361376c565b9150613f6b82613f04565b604082019050919050565b60006020820190508181036000830152613f8f81613f53565b9050919050565b600081905092915050565b50565b6000613fb1600083613f96565b9150613fbc82613fa1565b600082019050919050565b6000613fd282613fa4565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b600061401260108361376c565b915061401d82613fdc565b602082019050919050565b6000602082019050818103600083015261404181614005565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b60006140a460308361376c565b91506140af82614048565b604082019050919050565b600060208201905081810360008301526140d381614097565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061413660298361376c565b9150614141826140da565b604082019050919050565b6000602082019050818103600083015261416581614129565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006141c8602a8361376c565b91506141d38261416c565b604082019050919050565b600060208201905081810360008301526141f7816141bb565b9050919050565b7f4d696e74696e67206d75737420626520636c6f73656400000000000000000000600082015250565b600061423460168361376c565b915061423f826141fe565b602082019050919050565b6000602082019050818103600083015261426381614227565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006142a48261372d565b91506142af8361372d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156142e8576142e761426a565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061432d8261372d565b91506143388361372d565b925082614348576143476142f3565b5b828204905092915050565b600061435e8261372d565b91506143698361372d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561439e5761439d61426a565b5b828201905092915050565b60006143b48261372d565b91506143bf8361372d565b9250828210156143d2576143d161426a565b5b828203905092915050565b7f446576656c6f70657220616c6c6f636174696f6e206578686175737465640000600082015250565b6000614413601e8361376c565b915061441e826143dd565b602082019050919050565b6000602082019050818103600083015261444281614406565b9050919050565b600060808201905061445e60008301876138a7565b61446b6020830186613737565b6144786040830185613737565b6144856060830184613737565b95945050505050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006144c460108361376c565b91506144cf8261448e565b602082019050919050565b600060208201905081810360008301526144f3816144b7565b9050919050565b7f4d696e74696e67206d757374206265206f70656e000000000000000000000000600082015250565b600061453060148361376c565b915061453b826144fa565b602082019050919050565b6000602082019050818103600083015261455f81614523565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061459c60198361376c565b91506145a782614566565b602082019050919050565b600060208201905081810360008301526145cb8161458f565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061462e602f8361376c565b9150614639826145d2565b604082019050919050565b6000602082019050818103600083015261465d81614621565b9050919050565b7f5175616e74697479206d7573742062652067726561746572207468616e20302060008201527f616e64206c657373207468616e206f7220657175616c20746f206d6178696d7560208201527f6d00000000000000000000000000000000000000000000000000000000000000604082015250565b60006146e660418361376c565b91506146f182614664565b606082019050919050565b60006020820190508181036000830152614715816146d9565b9050919050565b7f496e73756666696369656e742045544820666f722073757267652061646a757360008201527f7465642070726963650000000000000000000000000000000000000000000000602082015250565b600061477860298361376c565b91506147838261471c565b604082019050919050565b600060208201905081810360008301526147a78161476b565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061480a60268361376c565b9150614815826147ae565b604082019050919050565b60006020820190508181036000830152614839816147fd565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061489c602c8361376c565b91506148a782614840565b604082019050919050565b600060208201905081810360008301526148cb8161488f565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b600061492e60298361376c565b9150614939826148d2565b604082019050919050565b6000602082019050818103600083015261495d81614921565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006149c060248361376c565b91506149cb82614964565b604082019050919050565b600060208201905081810360008301526149ef816149b3565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614a2c60148361376c565b9150614a37826149f6565b602082019050919050565b60006020820190508181036000830152614a5b81614a1f565b9050919050565b7f53757267653a205375726765206d6f6465206973204f46460000000000000000600082015250565b6000614a9860188361376c565b9150614aa382614a62565b602082019050919050565b60006020820190508181036000830152614ac781614a8b565b9050919050565b7f53757267653a205375726765206d6f6465206973204f4e000000000000000000600082015250565b6000614b0460178361376c565b9150614b0f82614ace565b602082019050919050565b60006020820190508181036000830152614b3381614af7565b9050919050565b6000614b458261372d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b7857614b7761426a565b5b600182019050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614bdf60328361376c565b9150614bea82614b83565b604082019050919050565b60006020820190508181036000830152614c0e81614bd2565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614c3c82614c15565b614c468185614c20565b9350614c5681856020860161377d565b614c5f816137b0565b840191505092915050565b6000608082019050614c7f60008301876138a7565b614c8c60208301866138a7565b614c996040830185613737565b8181036060830152614cab8184614c31565b905095945050505050565b600081519050614cc58161369e565b92915050565b600060208284031215614ce157614ce0613668565b5b6000614cef84828501614cb6565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614d2e60208361376c565b9150614d3982614cf8565b602082019050919050565b60006020820190508181036000830152614d5d81614d21565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614d9a601c8361376c565b9150614da582614d64565b602082019050919050565b60006020820190508181036000830152614dc981614d8d565b905091905056fe68747470733a2f2f617277656176652e6e65742f7537516d6d59384c686e675535304571556a6a686442366838746e714b2d396f7053476d595649382d7638a26469706673582212202cb014d12a8f00871451b1a08a89733fcec8c11cfbb67089c568b21cf7d1506a64736f6c63430008090033

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

000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000000000000000000000000000000429d069189e00000000000000000000000000000000000000000000000000000058d15e176280000000000000000000000000000000000000000000000000000214e8348c4f0000000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000280000000000000000000000001b2c7b464f1c297159f921d51b526e509b18ca66000000000000000000000000bb31ac1eca8e6007775daef2acc433eb0f30454b

-----Decoded View---------------
Arg [0] : _basePrice (uint256): 100000000000000000
Arg [1] : _maxPrice (uint256): 300000000000000000
Arg [2] : _priceIncrementToSet (uint256): 25000000000000000
Arg [3] : _startPriceToSet (uint256): 150000000000000000
Arg [4] : _bufferInSecondsToSet (uint256): 300
Arg [5] : _maxBatchMintToSet (uint256): 30
Arg [6] : _startPreviousBucketCountToSet (uint256): 40
Arg [7] : _beneficiary (address): 0x1b2c7b464f1C297159f921D51b526E509B18ca66
Arg [8] : _developer (address): 0xbb31aC1eca8E6007775DAEF2ACc433EB0f30454B

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000016345785d8a0000
Arg [1] : 0000000000000000000000000000000000000000000000000429d069189e0000
Arg [2] : 0000000000000000000000000000000000000000000000000058d15e17628000
Arg [3] : 0000000000000000000000000000000000000000000000000214e8348c4f0000
Arg [4] : 000000000000000000000000000000000000000000000000000000000000012c
Arg [5] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [7] : 0000000000000000000000001b2c7b464f1c297159f921d51b526e509b18ca66
Arg [8] : 000000000000000000000000bb31ac1eca8e6007775daef2acc433eb0f30454b


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.