Contract 0x2acAb3DEa77832C09420663b0E1cB386031bA17B 3

Token Contract 
 

Contract Overview

DeadFellaz: DEADFELLAZ Token
Balance:
0 Ether

EtherValue:
$0.00

Token:
 
Txn Hash
Method
Block
From
To
Value
0xa89ef05abdd9151e1c15d33d75c795b7b4932b8b570f926a9d0097589b192575Set Approval For...160938722022-12-02 1:35:3542 mins ago0x71ba9a69a93389d90041ffdbd3995522d540f17f IN  DeadFellaz: DEADFELLAZ Token0 Ether0.00051668 11.20359255
0x6c4786f0ed30b8462afefe1b9167a883b1fda16d36cd98e44cec84a0045c0fcaSafe Transfer Fr...160938492022-12-02 1:30:4747 mins ago0xb39b5bb101eb009a8757b5b5b431da60c9fbfc9a IN  DeadFellaz: DEADFELLAZ Token0 Ether0.00106775 12.33021339
0x32d502f15ee9cb6ecea2facc81ec22c20c50ff3cb8e01c9e7fd5b614d092839bSet Approval For...160916632022-12-01 18:11:598 hrs 6 mins ago0x3a2ea5595098565e7362e04da30c5ec29435731f IN  DeadFellaz: DEADFELLAZ Token0 Ether0.00057201 12.39692394
0x238fecd651ff92cd17773f397006d488b9014fa6e1908e61adfc8591cdc565a7Set Approval For...160916022022-12-01 17:59:358 hrs 18 mins agoENS Name silversurfer13.eth IN  DeadFellaz: DEADFELLAZ Token0 Ether0.00061502 13.33598901
0x486dd6c8a3259f3bf7ef10d1734da3d8a2189039ffd8f57815e88ce7b62d1cf0Safe Transfer Fr...160915752022-12-01 17:54:118 hrs 23 mins ago0xa4f04813ae6cf99d0687e5e018bd0a8f7d9a5b6b IN  DeadFellaz: DEADFELLAZ Token0 Ether0.00113457 12.68967973
0xed71efbf9f4e2418f941941a2c39dd0d6d5c6a73d11a408f6903decf9e148da7Set Approval For...160915692022-12-01 17:52:598 hrs 25 mins ago0xb58d0772dc5cd220b98781050d04c077ca561cca IN  DeadFellaz: DEADFELLAZ Token0 Ether0.00058221 12.61789206
0x28e3f7435562c5aa80b08bf24551bef9299bb9abdf8c29b4f62c983ff7cab908Safe Transfer Fr...160915362022-12-01 17:46:238 hrs 31 mins ago0xd247dd6934719057248c6fb0b1e6cf700479a1ae IN  DeadFellaz: DEADFELLAZ Token0 Ether0.00130597 15.07901354
0x292d7a5cd0cc69b53db4d0081e625bd294ec6f5698c2c8c11c6d11f3d8b7a551Set Approval For...160914392022-12-01 17:26:598 hrs 51 mins ago0xd247dd6934719057248c6fb0b1e6cf700479a1ae IN  DeadFellaz: DEADFELLAZ Token0 Ether0.00096961 21.02465279
0xd153f89cc82a2f5d7063f713d223dfa2df476ea8ab48974715c0d00e97c075bdSafe Transfer Fr...160914302022-12-01 17:25:118 hrs 52 mins agoENS Name vibemaster.eth IN  DeadFellaz: DEADFELLAZ Token0 Ether0.00191605 22.12306101
0x51e24618393984f1c792732ca895b318345ac801dae666f91b4a31584d1927c0Safe Transfer Fr...160914262022-12-01 17:24:238 hrs 53 mins ago0x94d8257327d8630907f6d1652887e9378adeacdd IN  DeadFellaz: DEADFELLAZ Token0 Ether0.00203824 23.53383662
0x865695a9a443c95fd89332ed856afda5a7b950e54a0f91c021d7a8217cad4002Set Approval For...160912872022-12-01 16:56:119 hrs 21 mins ago0xbc731458dc226b60ab34f049b5924261174c834c IN  DeadFellaz: DEADFELLAZ Token0 Ether0.00062574 13.56828403
0xbc1dc61135290a44e2ab64303fd5a42b8ca44839a18fdc451cbddf5cd5a97836Set Approval For...160911292022-12-01 16:24:359 hrs 53 mins ago0xf22d76052e282c5296cf03932b1e63e49fbaf28d IN  DeadFellaz: DEADFELLAZ Token0 Ether0.00073179 15.85963584
0x03d5117302c106070e2769b3dee81da54c2819845fe32f0b23cf91e2b9cb8277Set Approval For...160908572022-12-01 15:29:4710 hrs 48 mins ago0xcaa5b830c5999001f354ff9add4a241aeef565ae IN  DeadFellaz: DEADFELLAZ Token0 Ether0.00061635 13.3578121
0x460167696284a46cd3a58369592532764bb0c72e9dc29a78232534a6cff5a0a5Set Approval For...160903102022-12-01 13:39:2312 hrs 38 mins ago0x1793cf5ff43ed5171f74aefa634ac4df917db55d IN  DeadFellaz: DEADFELLAZ Token0 Ether0.00060071 13.00193
0x2abb111e0eeefa9f38646ea3e6c2e2d3b0c08ce7ad445d59a9819d52b999ade8Set Approval For...160900402022-12-01 12:45:1113 hrs 32 mins agoENS Name kadxm.eth IN  DeadFellaz: DEADFELLAZ Token0 Ether0.00061438 13.321961
0xb306141b1dd4d15b98a1eb5f0ebed59a0c2bfe758eced54a27e0e4d9bf225e58Set Approval For...160899652022-12-01 12:29:5913 hrs 48 mins ago0x1793cf5ff43ed5171f74aefa634ac4df917db55d IN  DeadFellaz: DEADFELLAZ Token0 Ether0.00055767 12.09225385
0x3ecc92572fe591ed32e9a12773fffbc6afca60bb2c2a80a14eee9ce4f156030aSet Approval For...160899652022-12-01 12:29:5913 hrs 48 mins ago0x1793cf5ff43ed5171f74aefa634ac4df917db55d IN  DeadFellaz: DEADFELLAZ Token0 Ether0.00055868 12.09225385
0x7021b5849eb584b510dd56a09b700bf95f0a41c96e6add383277550f2b702497Set Approval For...160899652022-12-01 12:29:5913 hrs 48 mins ago0x1793cf5ff43ed5171f74aefa634ac4df917db55d IN  DeadFellaz: DEADFELLAZ Token0 Ether0.00055796 12.09225385
0x4f398f8d1c172194932bd43641cdf3135d71cc8adf340e8acf9b1e6553dd512bSet Approval For...160890752022-12-01 9:30:5916 hrs 47 mins ago0xbe25d2a9780bcd5f3419440a378ddd75d26eae2c IN  DeadFellaz: DEADFELLAZ Token0 Ether0.00064087 13.88921658
0x4c1ddc4ee71d62dccebd94d3727ba4c675c94c2c8c2709bc7cacb2d911aba17eSet Approval For...160890722022-12-01 9:30:2316 hrs 47 mins ago0xbe25d2a9780bcd5f3419440a378ddd75d26eae2c IN  DeadFellaz: DEADFELLAZ Token0 Ether0.00061478 13.33065826
0xb01b9db564eee571b0b71106b15e5d74d0952738acbcaf957b18ad4a3a638f0dSet Approval For...160885922022-12-01 7:53:5918 hrs 24 mins agoENS Name artusmichal.eth IN  DeadFellaz: DEADFELLAZ Token0 Ether0.00056301 12.1859963
0xd72753d2172023c88f24c63da1df7781c3bbc2160ba4a3097dec38d6cc79d473Set Approval For...160885912022-12-01 7:53:4718 hrs 24 mins agoENS Name artusmichal.eth IN  DeadFellaz: DEADFELLAZ Token0 Ether0.00059951 12.99286268
0x4ab906292b78773982ae2fd066591a08147fe51f41319cb2c27491469c19cc8aSafe Transfer Fr...160884712022-12-01 7:29:4718 hrs 48 mins ago0x6ec31c8973ee37eabb4ecb77c55be57cc2f8fbdd IN  DeadFellaz: DEADFELLAZ Token0 Ether0.00104717 12.09078775
0xa518446c9a4f45c56896d976d072ea0afc39e638ef2390fa8f7d71e921431203Set Approval For...160883102022-12-01 6:57:1119 hrs 20 mins agoENS Name alcides.eth IN  DeadFellaz: DEADFELLAZ Token0 Ether0.00052899 11.47056705
0x5471671db9a83ce48b62f644b3260bd730d380bc3f161512b79258b53dbc64ffSet Approval For...160882632022-12-01 6:47:4719 hrs 30 mins agoENS Name tigerfrog.eth IN  DeadFellaz: DEADFELLAZ Token0 Ether0.0005389 11.6793545
[ Download CSV Export 

OVERVIEW

A collection of 10,000 undead NFTs minted on the Ethereum blockchain. Each unique Deadfella is randomly generated from a combination of over 400 individually drawn traits, including over 50 different outfits.

Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x890dd647be9512a774bb6dbe6ecb511548f7900c05576551339dac732a9b4567130199312021-08-13 23:53:10475 days 2 hrs ago DeadFellaz: DEADFELLAZ TokenDeadFellaz: Deployer200 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DeadFellazToken

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 9999 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 1 of 2: DeadFellazToken.sol
// SPDX-License-Identifier: MIT

/// @title DeadFellaz

pragma solidity ^0.8.6;

import { IERC721, ERC721, ERC721Enumerable, Ownable, ProxyRegistry } from './FlatDependencies.sol';

contract DeadFellazToken is IERC721, Ownable, ERC721Enumerable {
  uint public constant PRICE = 0.025 ether;

  uint public constant MAX_SUPPLY = 10_000;

  uint public constant MAX_MINT_AMOUNT = 13;

  uint public constant MAX_PRIZE_MINTS = 2_000;

  string private _contractURI = "https://ipfs.io/ipfs/QmUsVARdx9tCBRb3SiQnB2y9etGHc6JTKWmRcZ9JX7z6Te";

  string public baseURI = "https://api.deadfellaz.io/traits/";

  address public immutable proxyRegistryAddress;

  constructor(
    address _proxyRegistryAddress
  ) ERC721('DeadFellaz', 'DEADFELLAZ') {
    proxyRegistryAddress = _proxyRegistryAddress;
  }

  /**
   * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings.
   */
  function isApprovedForAll(address owner, address operator) public view override(IERC721, ERC721) returns (bool) {

      ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress);

      // Whitelist OpenSea proxy contract for easy trading.
      if (proxyRegistry.proxies(owner) == operator) {
          return true;
      }
      return super.isApprovedForAll(owner, operator);
  }


  /// @notice Prizes mints by owner
  function mintPrizes(uint amount) public onlyOwner {
    uint currentTotalSupply = totalSupply();

    /// @notice Prize mints must mint first, and cannot be minted after the maximum has been reached
    require(currentTotalSupply < MAX_PRIZE_MINTS, "DeadFellazToken: Max prize mint limit reached");

    if (currentTotalSupply + amount > MAX_PRIZE_MINTS){
      amount = MAX_PRIZE_MINTS - currentTotalSupply;
    }

    _mintAmountTo(msg.sender, amount, currentTotalSupply);

  }

  /// @notice Public mints
  function mint(uint amount) public payable {
    uint currentTotalSupply = totalSupply();

    /// @notice public can mint only when the maximum prize mints have been minted
    require(currentTotalSupply >= MAX_PRIZE_MINTS, "DeadFellazToken: Not yet launched");

    /// @notice Cannot exceed maximum supply
    require(currentTotalSupply+amount <= MAX_SUPPLY, "DeadFellazToken: Not enough mints remaining");

    /// @notice public can mint mint a maximum quantity at a time.
    require(amount <= MAX_MINT_AMOUNT, 'DeadFellazToken: mint amount exceeds maximum');


    /// @notice public must send in correct funds
    require(msg.value > 0 && msg.value == amount * PRICE, "DeadFellazToken: Not enough value sent");

    _mintAmountTo(msg.sender, amount, currentTotalSupply);
  }

  function _mintAmountTo(address to, uint amount, uint startId) internal {
    for (uint i = 1; i<=amount; i++){
      _mint(to, startId+i);
    }
  }

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

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

  function setContractURI(string memory newContractURI) external onlyOwner {
    _contractURI = newContractURI;
  }

  function contractURI() external view returns (string memory){
    return _contractURI;
  }

  /// @notice Sends balance of this contract to owner
  function withdraw() public onlyOwner {
    (bool success, ) = owner().call{value: address(this).balance}("");
    require(success, "DeadFellazToken: Withdraw unsuccessful");
  }
}

File 2 of 2: FlatDependencies.sol
// Sources flattened with hardhat v2.6.0 https://hardhat.org

// File @openzeppelin/contracts/utils/[email protected]

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

contract OwnableDelegateProxy {}

contract ProxyRegistry {
    mapping(address => address) public proxies;
}

/*
 * @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 @openzeppelin/contracts/access/[email protected]



/**
 * @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 @openzeppelin/contracts/utils/introspection/[email protected]



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


// File @openzeppelin/contracts/token/ERC721/[email protected]



/**
 * @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 @openzeppelin/contracts/token/ERC721/[email protected]



/**
 * @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 @openzeppelin/contracts/token/ERC721/extensions/[email protected]



/**
 * @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 @openzeppelin/contracts/utils/[email protected]



/**
 * @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);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private 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 @openzeppelin/contracts/utils/[email protected]



/**
 * @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 @openzeppelin/contracts/utils/introspection/[email protected]



/**
 * @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 @openzeppelin/contracts/token/ERC721/[email protected]









/**
 * @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(to).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 @openzeppelin/contracts/token/ERC721/extensions/[email protected]



/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}


// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]




/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINT_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PRIZE_MINTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintPrizes","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":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newContractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

610120604052604360a08181529062002b8b60c03980516200002a91600b9160209091019062000184565b5060405180606001604052806021815260200162002bce6021913980516200005b91600c9160209091019062000184565b503480156200006957600080fd5b5060405162002bef38038062002bef8339810160408190526200008c916200022a565b6040518060400160405280600a8152602001692232b0b22332b63630bd60b11b8152506040518060400160405280600a8152602001692222a0a22322a62620ad60b11b815250620000ec620000e66200013060201b60201c565b62000134565b81516200010190600190602085019062000184565b5080516200011790600290602084019062000184565b50505060601b6001600160601b03191660805262000299565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b82805462000192906200025c565b90600052602060002090601f016020900481019282620001b6576000855562000201565b82601f10620001d157805160ff191683800117855562000201565b8280016001018555821562000201579182015b8281111562000201578251825591602001919060010190620001e4565b506200020f92915062000213565b5090565b5b808211156200020f576000815560010162000214565b6000602082840312156200023d57600080fd5b81516001600160a01b03811681146200025557600080fd5b9392505050565b600181811c908216806200027157607f821691505b602082108114156200029357634e487b7160e01b600052602260045260246000fd5b50919050565b60805160601c6128cc620002bf600039600081816104f5015261143901526128cc6000f3fe6080604052600436106101d85760003560e01c806370a0823111610102578063b88d4fde11610095578063e985e9c511610064578063e985e9c51461052c578063f07d74cb1461054c578063f2fde38b14610562578063fa9b70181461058257600080fd5b8063b88d4fde146104a3578063c87b56dd146104c3578063cd7c0326146104e3578063e8a3d4851461051757600080fd5b8063938e3d7b116100d1578063938e3d7b1461043b57806395d89b411461045b578063a0712d6814610470578063a22cb4651461048357600080fd5b806370a08231146103cd578063715018a6146103ed5780638d859f3e146104025780638da5cb5b1461041d57600080fd5b806332cb6b0c1161017a5780634f6ccce7116101495780634f6ccce71461035857806355f804b3146103785780636352211e146103985780636c0360eb146103b857600080fd5b806332cb6b0c146102ed5780633ccfd60b146103035780633f062ebe1461031857806342842e0e1461033857600080fd5b8063095ea7b3116101b6578063095ea7b31461026c57806318160ddd1461028e57806323b872dd146102ad5780632f745c59146102cd57600080fd5b806301ffc9a7146101dd57806306fdde0314610212578063081812fc14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f83660046124b7565b610597565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b506102276105f3565b6040516102099190612608565b34801561024057600080fd5b5061025461024f36600461253a565b610685565b6040516001600160a01b039091168152602001610209565b34801561027857600080fd5b5061028c61028736600461248b565b610730565b005b34801561029a57600080fd5b506009545b604051908152602001610209565b3480156102b957600080fd5b5061028c6102c8366004612397565b610862565b3480156102d957600080fd5b5061029f6102e836600461248b565b6108e9565b3480156102f957600080fd5b5061029f61271081565b34801561030f57600080fd5b5061028c610991565b34801561032457600080fd5b5061028c61033336600461253a565b610ab7565b34801561034457600080fd5b5061028c610353366004612397565b610bc6565b34801561036457600080fd5b5061029f61037336600461253a565b610be1565b34801561038457600080fd5b5061028c6103933660046124f1565b610c85565b3480156103a457600080fd5b506102546103b336600461253a565b610cf2565b3480156103c457600080fd5b50610227610d7d565b3480156103d957600080fd5b5061029f6103e8366004612324565b610e0b565b3480156103f957600080fd5b5061028c610ea5565b34801561040e57600080fd5b5061029f6658d15e1762800081565b34801561042957600080fd5b506000546001600160a01b0316610254565b34801561044757600080fd5b5061028c6104563660046124f1565b610f0b565b34801561046757600080fd5b50610227610f78565b61028c61047e36600461253a565b610f87565b34801561048f57600080fd5b5061028c61049e366004612458565b611195565b3480156104af57600080fd5b5061028c6104be3660046123d8565b611278565b3480156104cf57600080fd5b506102276104de36600461253a565b611306565b3480156104ef57600080fd5b506102547f000000000000000000000000000000000000000000000000000000000000000081565b34801561052357600080fd5b506102276113ef565b34801561053857600080fd5b506101fd61054736600461235e565b6113fe565b34801561055857600080fd5b5061029f6107d081565b34801561056e57600080fd5b5061028c61057d366004612324565b611505565b34801561058e57600080fd5b5061029f600d81565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d630000000000000000000000000000000000000000000000000000000014806105ed57506105ed826115e4565b92915050565b606060018054610602906126c7565b80601f016020809104026020016040519081016040528092919081815260200182805461062e906126c7565b801561067b5780601f106106505761010080835404028352916020019161067b565b820191906000526020600020905b81548152906001019060200180831161065e57829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b03166107145760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061073b82610cf2565b9050806001600160a01b0316836001600160a01b031614156107c55760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f7200000000000000000000000000000000000000000000000000000000000000606482015260840161070b565b336001600160a01b03821614806107e157506107e181336113fe565b6108535760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161070b565b61085d83836116c7565b505050565b61086c338261174d565b6108de5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161070b565b61085d83838361182d565b60006108f483610e0b565b82106109685760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e6473000000000000000000000000000000000000000000606482015260840161070b565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b6000546001600160a01b031633146109eb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070b565b600080546040516001600160a01b039091169047908381818185875af1925050503d8060008114610a38576040519150601f19603f3d011682016040523d82523d6000602084013e610a3d565b606091505b5050905080610ab45760405162461bcd60e51b815260206004820152602660248201527f4465616446656c6c617a546f6b656e3a20576974686472617720756e7375636360448201527f65737366756c0000000000000000000000000000000000000000000000000000606482015260840161070b565b50565b6000546001600160a01b03163314610b115760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070b565b6000610b1c60095490565b90506107d08110610b955760405162461bcd60e51b815260206004820152602d60248201527f4465616446656c6c617a546f6b656e3a204d6178207072697a65206d696e742060448201527f6c696d6974207265616368656400000000000000000000000000000000000000606482015260840161070b565b6107d0610ba2838361261b565b1115610bb757610bb4816107d0612684565b91505b610bc2338383611a1d565b5050565b61085d83838360405180602001604052806000815250611278565b6000610bec60095490565b8210610c605760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e64730000000000000000000000000000000000000000606482015260840161070b565b60098281548110610c7357610c736127f5565b90600052602060002001549050919050565b6000546001600160a01b03163314610cdf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070b565b8051610bc290600c9060208401906121f7565b6000818152600360205260408120546001600160a01b0316806105ed5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606482015260840161070b565b600c8054610d8a906126c7565b80601f0160208091040260200160405190810160405280929190818152602001828054610db6906126c7565b8015610e035780601f10610dd857610100808354040283529160200191610e03565b820191906000526020600020905b815481529060010190602001808311610de657829003601f168201915b505050505081565b60006001600160a01b038216610e895760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f206164647265737300000000000000000000000000000000000000000000606482015260840161070b565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b03163314610eff5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070b565b610f096000611a4c565b565b6000546001600160a01b03163314610f655760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070b565b8051610bc290600b9060208401906121f7565b606060028054610602906126c7565b6000610f9260095490565b90506107d081101561100c5760405162461bcd60e51b815260206004820152602160248201527f4465616446656c6c617a546f6b656e3a204e6f7420796574206c61756e63686560448201527f6400000000000000000000000000000000000000000000000000000000000000606482015260840161070b565b612710611019838361261b565b111561108d5760405162461bcd60e51b815260206004820152602b60248201527f4465616446656c6c617a546f6b656e3a204e6f7420656e6f756768206d696e7460448201527f732072656d61696e696e67000000000000000000000000000000000000000000606482015260840161070b565b600d8211156111045760405162461bcd60e51b815260206004820152602c60248201527f4465616446656c6c617a546f6b656e3a206d696e7420616d6f756e742065786360448201527f65656473206d6178696d756d0000000000000000000000000000000000000000606482015260840161070b565b60003411801561112357506111206658d15e1762800083612647565b34145b610bb75760405162461bcd60e51b815260206004820152602660248201527f4465616446656c6c617a546f6b656e3a204e6f7420656e6f7567682076616c7560448201527f652073656e740000000000000000000000000000000000000000000000000000606482015260840161070b565b6001600160a01b0382163314156111ee5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161070b565b3360008181526006602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611282338361174d565b6112f45760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161070b565b61130084848484611ab4565b50505050565b6000818152600360205260409020546060906001600160a01b03166113935760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606482015260840161070b565b600061139d611b3d565b905060008151116113bd57604051806020016040528060008152506113e8565b806113c784611b4c565b6040516020016113d892919061259d565b6040516020818303038152906040525b9392505050565b6060600b8054610602906126c7565b6040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b0383811660048301526000917f000000000000000000000000000000000000000000000000000000000000000091848116919083169063c45527919060240160206040518083038186803b15801561148257600080fd5b505afa158015611496573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ba9190612341565b6001600160a01b031614156114d35760019150506105ed565b6001600160a01b0380851660009081526006602090815260408083209387168352929052205460ff165b949350505050565b6000546001600160a01b0316331461155f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161070b565b6001600160a01b0381166115db5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161070b565b610ab481611a4c565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061167757507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806105ed57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146105ed565b600081815260056020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038416908117909155819061171482610cf2565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600360205260408120546001600160a01b03166117d75760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606482015260840161070b565b60006117e283610cf2565b9050806001600160a01b0316846001600160a01b0316148061181d5750836001600160a01b031661181284610685565b6001600160a01b0316145b806114fd57506114fd81856113fe565b826001600160a01b031661184082610cf2565b6001600160a01b0316146118bc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606482015260840161070b565b6001600160a01b0382166119375760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161070b565b611942838383611c7e565b61194d6000826116c7565b6001600160a01b0383166000908152600460205260408120805460019290611976908490612684565b90915550506001600160a01b03821660009081526004602052604081208054600192906119a490849061261b565b909155505060008181526003602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60015b82811161130057611a3a84611a35838561261b565b611d36565b80611a448161271b565b915050611a20565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b611abf84848461182d565b611acb84848484611e9c565b6113005760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161070b565b6060600c8054610602906126c7565b606081611b8c57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611bb65780611ba08161271b565b9150611baf9050600a83612633565b9150611b90565b60008167ffffffffffffffff811115611bd157611bd1612824565b6040519080825280601f01601f191660200182016040528015611bfb576020820181803683370190505b5090505b84156114fd57611c10600183612684565b9150611c1d600a86612754565b611c2890603061261b565b60f81b818381518110611c3d57611c3d6127f5565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611c77600a86612633565b9450611bff565b6001600160a01b038316611cd957611cd481600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b611cfc565b816001600160a01b0316836001600160a01b031614611cfc57611cfc8382612067565b6001600160a01b038216611d135761085d81612104565b826001600160a01b0316826001600160a01b03161461085d5761085d82826121b3565b6001600160a01b038216611d8c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161070b565b6000818152600360205260409020546001600160a01b031615611df15760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161070b565b611dfd60008383611c7e565b6001600160a01b0382166000908152600460205260408120805460019290611e2690849061261b565b909155505060008181526003602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160a01b0384163b1561205c576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290611ef99033908990889088906004016125cc565b602060405180830381600087803b158015611f1357600080fd5b505af1925050508015611f61575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252611f5e918101906124d4565b60015b612011573d808015611f8f576040519150601f19603f3d011682016040523d82523d6000602084013e611f94565b606091505b5080516120095760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161070b565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506114fd565b506001949350505050565b6000600161207484610e0b565b61207e9190612684565b6000838152600860205260409020549091508082146120d1576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061211690600190612684565b6000838152600a60205260408120546009805493945090928490811061213e5761213e6127f5565b90600052602060002001549050806009838154811061215f5761215f6127f5565b6000918252602080832090910192909255828152600a90915260408082208490558582528120556009805480612197576121976127c6565b6001900381819060005260206000200160009055905550505050565b60006121be83610e0b565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b828054612203906126c7565b90600052602060002090601f016020900481019282612225576000855561226b565b82601f1061223e57805160ff191683800117855561226b565b8280016001018555821561226b579182015b8281111561226b578251825591602001919060010190612250565b5061227792915061227b565b5090565b5b80821115612277576000815560010161227c565b600067ffffffffffffffff808411156122ab576122ab612824565b604051601f85017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019082821181831017156122f1576122f1612824565b8160405280935085815286868601111561230a57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561233657600080fd5b81356113e881612853565b60006020828403121561235357600080fd5b81516113e881612853565b6000806040838503121561237157600080fd5b823561237c81612853565b9150602083013561238c81612853565b809150509250929050565b6000806000606084860312156123ac57600080fd5b83356123b781612853565b925060208401356123c781612853565b929592945050506040919091013590565b600080600080608085870312156123ee57600080fd5b84356123f981612853565b9350602085013561240981612853565b925060408501359150606085013567ffffffffffffffff81111561242c57600080fd5b8501601f8101871361243d57600080fd5b61244c87823560208401612290565b91505092959194509250565b6000806040838503121561246b57600080fd5b823561247681612853565b91506020830135801515811461238c57600080fd5b6000806040838503121561249e57600080fd5b82356124a981612853565b946020939093013593505050565b6000602082840312156124c957600080fd5b81356113e881612868565b6000602082840312156124e657600080fd5b81516113e881612868565b60006020828403121561250357600080fd5b813567ffffffffffffffff81111561251a57600080fd5b8201601f8101841361252b57600080fd5b6114fd84823560208401612290565b60006020828403121561254c57600080fd5b5035919050565b6000815180845261256b81602086016020860161269b565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600083516125af81846020880161269b565b8351908301906125c381836020880161269b565b01949350505050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526125fe6080830184612553565b9695505050505050565b6020815260006113e86020830184612553565b6000821982111561262e5761262e612768565b500190565b60008261264257612642612797565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561267f5761267f612768565b500290565b60008282101561269657612696612768565b500390565b60005b838110156126b657818101518382015260200161269e565b838111156113005750506000910152565b600181811c908216806126db57607f821691505b60208210811415612715577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561274d5761274d612768565b5060010190565b60008261276357612763612797565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6001600160a01b0381168114610ab457600080fd5b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610ab457600080fdfea264697066735822122073febbe235244e2b9bbf22140406bac1e9e81b4874362d2a4aff9d3fa1c95de664736f6c6343000806003368747470733a2f2f697066732e696f2f697066732f516d55735641526478397443425262335369516e423279396574474863364a544b576d52635a394a58377a36546568747470733a2f2f6170692e6465616466656c6c617a2e696f2f7472616974732f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

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

000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

-----Decoded View---------------
Arg [0] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1

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


Deployed ByteCode Sourcemap

182:3248:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35646:222:1;;;;;;;;;;-1:-1:-1;35646:222:1;;;;;:::i;:::-;;:::i;:::-;;;6673:14:2;;6666:22;6648:41;;6636:2;6621:18;35646:222:1;;;;;;;;22975:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;24486:217::-;;;;;;;;;;-1:-1:-1;24486:217:1;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5925:55:2;;;5907:74;;5895:2;5880:18;24486:217:1;5862:125:2;24024:401:1;;;;;;;;;;-1:-1:-1;24024:401:1;;;;;:::i;:::-;;:::i;:::-;;36271:111;;;;;;;;;;-1:-1:-1;36358:10:1;:17;36271:111;;;16732:25:2;;;16720:2;16705:18;36271:111:1;16687:76:2;25350:330:1;;;;;;;;;;-1:-1:-1;25350:330:1;;;;;:::i;:::-;;:::i;35947:253::-;;;;;;;;;;-1:-1:-1;35947:253:1;;;;;:::i;:::-;;:::i;294:40:0:-;;;;;;;;;;;;328:6;294:40;;3251:177;;;;;;;;;;;;;:::i;1344:479::-;;;;;;;;;;-1:-1:-1;1344:479:0;;;;;:::i;:::-;;:::i;25746:179:1:-;;;;;;;;;;-1:-1:-1;25746:179:1;;;;;:::i;:::-;;:::i;36454:230::-;;;;;;;;;;-1:-1:-1;36454:230:1;;;;;:::i;:::-;;:::i;2791:96:0:-;;;;;;;;;;-1:-1:-1;2791:96:0;;;;;:::i;:::-;;:::i;22678:235:1:-;;;;;;;;;;-1:-1:-1;22678:235:1;;;;;:::i;:::-;;:::i;538:59:0:-;;;;;;;;;;;;;:::i;22416:205:1:-;;;;;;;;;;-1:-1:-1;22416:205:1;;;;;:::i;:::-;;:::i;2598:92::-;;;;;;;;;;;;;:::i;249:40:0:-;;;;;;;;;;;;278:11;249:40;;1966:85:1;;;;;;;;;;-1:-1:-1;2012:7:1;2038:6;-1:-1:-1;;;;;2038:6:1;1966:85;;2986:113:0;;;;;;;;;;-1:-1:-1;2986:113:0;;;;;:::i;:::-;;:::i;23137:102:1:-;;;;;;;;;;;;;:::i;1854:781:0:-;;;;;;:::i;:::-;;:::i;24770:290:1:-;;;;;;;;;;-1:-1:-1;24770:290:1;;;;;:::i;:::-;;:::i;25991:320::-;;;;;;;;;;-1:-1:-1;25991:320:1;;;;;:::i;:::-;;:::i;23305:329::-;;;;;;;;;;-1:-1:-1;23305:329:1;;;;;:::i;:::-;;:::i;602:45:0:-;;;;;;;;;;;;;;;3103:90;;;;;;;;;;;;;:::i;912:391::-;;;;;;;;;;-1:-1:-1;912:391:0;;;;;:::i;:::-;;:::i;385:44::-;;;;;;;;;;;;424:5;385:44;;2839:189:1;;;;;;;;;;-1:-1:-1;2839:189:1;;;;;:::i;:::-;;:::i;339:41:0:-;;;;;;;;;;;;378:2;339:41;;35646:222:1;35748:4;35771:50;;;35786:35;35771:50;;:90;;;35825:36;35849:11;35825:23;:36::i;:::-;35764:97;35646:222;-1:-1:-1;;35646:222:1:o;22975:98::-;23029:13;23061:5;23054:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22975:98;:::o;24486:217::-;24562:7;27871:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27871:16:1;24581:73;;;;-1:-1:-1;;;24581:73:1;;13136:2:2;24581:73:1;;;13118:21:2;13175:2;13155:18;;;13148:30;13214:34;13194:18;;;13187:62;13285:14;13265:18;;;13258:42;13317:19;;24581:73:1;;;;;;;;;-1:-1:-1;24672:24:1;;;;:15;:24;;;;;;-1:-1:-1;;;;;24672:24:1;;24486:217::o;24024:401::-;24104:13;24120:23;24135:7;24120:14;:23::i;:::-;24104:39;;24167:5;-1:-1:-1;;;;;24161:11:1;:2;-1:-1:-1;;;;;24161:11:1;;;24153:57;;;;-1:-1:-1;;;24153:57:1;;15555:2:2;24153:57:1;;;15537:21:2;15594:2;15574:18;;;15567:30;15633:34;15613:18;;;15606:62;15704:3;15684:18;;;15677:31;15725:19;;24153:57:1;15527:223:2;24153:57:1;895:10;-1:-1:-1;;;;;24242:21:1;;;;:62;;-1:-1:-1;24267:37:1;24284:5;895:10;912:391:0;:::i;24267:37:1:-;24221:165;;;;-1:-1:-1;;;24221:165:1;;11116:2:2;24221:165:1;;;11098:21:2;11155:2;11135:18;;;11128:30;11194:34;11174:18;;;11167:62;11265:26;11245:18;;;11238:54;11309:19;;24221:165:1;11088:246:2;24221:165:1;24397:21;24406:2;24410:7;24397:8;:21::i;:::-;24094:331;24024:401;;:::o;25350:330::-;25539:41;895:10;25572:7;25539:18;:41::i;:::-;25531:103;;;;-1:-1:-1;;;25531:103:1;;15957:2:2;25531:103:1;;;15939:21:2;15996:2;15976:18;;;15969:30;16035:34;16015:18;;;16008:62;16106:19;16086:18;;;16079:47;16143:19;;25531:103:1;15929:239:2;25531:103:1;25645:28;25655:4;25661:2;25665:7;25645:9;:28::i;35947:253::-;36044:7;36079:23;36096:5;36079:16;:23::i;:::-;36071:5;:31;36063:87;;;;-1:-1:-1;;;36063:87:1;;7126:2:2;36063:87:1;;;7108:21:2;7165:2;7145:18;;;7138:30;7204:34;7184:18;;;7177:62;7275:13;7255:18;;;7248:41;7306:19;;36063:87:1;7098:233:2;36063:87:1;-1:-1:-1;;;;;;36167:19:1;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;35947:253::o;3251:177:0:-;2012:7:1;2038:6;-1:-1:-1;;;;;2038:6:1;895:10;2178:23;2170:68;;;;-1:-1:-1;;;2170:68:1;;13549:2:2;2170:68:1;;;13531:21:2;;;13568:18;;;13561:30;13627:34;13607:18;;;13600:62;13679:18;;2170:68:1;13521:182:2;2170:68:1;3295:12:0::1;2038:6:1::0;;3313:46:0::1;::::0;-1:-1:-1;;;;;2038:6:1;;;;3333:21:0::1;::::0;3295:12;3313:46;3295:12;3313:46;3333:21;2038:6:1;3313:46:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3294:65;;;3373:7;3365:58;;;::::0;-1:-1:-1;;;3365:58:0;;15148:2:2;3365:58:0::1;::::0;::::1;15130:21:2::0;15187:2;15167:18;;;15160:30;15226:34;15206:18;;;15199:62;15297:8;15277:18;;;15270:36;15323:19;;3365:58:0::1;15120:228:2::0;3365:58:0::1;3288:140;3251:177::o:0;1344:479::-;2012:7:1;2038:6;-1:-1:-1;;;;;2038:6:1;895:10;2178:23;2170:68;;;;-1:-1:-1;;;2170:68:1;;13549:2:2;2170:68:1;;;13531:21:2;;;13568:18;;;13561:30;13627:34;13607:18;;;13600:62;13679:18;;2170:68:1;13521:182:2;2170:68:1;1400:23:0::1;1426:13;36358:10:1::0;:17;;36271:111;1426:13:0::1;1400:39;;424:5;1555:18;:36;1547:94;;;::::0;-1:-1:-1;;;1547:94:0;;8721:2:2;1547:94:0::1;::::0;::::1;8703:21:2::0;8760:2;8740:18;;;8733:30;8799:34;8779:18;;;8772:62;8870:15;8850:18;;;8843:43;8903:19;;1547:94:0::1;8693:235:2::0;1547:94:0::1;424:5;1652:27;1673:6:::0;1652:18;:27:::1;:::i;:::-;:45;1648:110;;;1715:36;1733:18:::0;424:5:::1;1715:36;:::i;:::-;1706:45;;1648:110;1764:53;1778:10;1790:6;1798:18;1764:13;:53::i;:::-;1394:429;1344:479:::0;:::o;25746:179:1:-;25879:39;25896:4;25902:2;25906:7;25879:39;;;;;;;;;;;;:16;:39::i;36454:230::-;36529:7;36564:30;36358:10;:17;;36271:111;36564:30;36556:5;:38;36548:95;;;;-1:-1:-1;;;36548:95:1;;16375:2:2;36548:95:1;;;16357:21:2;16414:2;16394:18;;;16387:30;16453:34;16433:18;;;16426:62;16524:14;16504:18;;;16497:42;16556:19;;36548:95:1;16347:234:2;36548:95:1;36660:10;36671:5;36660:17;;;;;;;;:::i;:::-;;;;;;;;;36653:24;;36454:230;;;:::o;2791:96:0:-;2012:7:1;2038:6;-1:-1:-1;;;;;2038:6:1;895:10;2178:23;2170:68;;;;-1:-1:-1;;;2170:68:1;;13549:2:2;2170:68:1;;;13531:21:2;;;13568:18;;;13561:30;13627:34;13607:18;;;13600:62;13679:18;;2170:68:1;13521:182:2;2170:68:1;2862:20:0;;::::1;::::0;:7:::1;::::0;:20:::1;::::0;::::1;::::0;::::1;:::i;22678:235:1:-:0;22750:7;22785:16;;;:7;:16;;;;;;-1:-1:-1;;;;;22785:16:1;22819:19;22811:73;;;;-1:-1:-1;;;22811:73:1;;11952:2:2;22811:73:1;;;11934:21:2;11991:2;11971:18;;;11964:30;12030:34;12010:18;;;12003:62;12101:11;12081:18;;;12074:39;12130:19;;22811:73:1;11924:231:2;538:59:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;22416:205:1:-;22488:7;-1:-1:-1;;;;;22515:19:1;;22507:74;;;;-1:-1:-1;;;22507:74:1;;11541:2:2;22507:74:1;;;11523:21:2;11580:2;11560:18;;;11553:30;11619:34;11599:18;;;11592:62;11690:12;11670:18;;;11663:40;11720:19;;22507:74:1;11513:232:2;22507:74:1;-1:-1:-1;;;;;;22598:16:1;;;;;:9;:16;;;;;;;22416:205::o;2598:92::-;2012:7;2038:6;-1:-1:-1;;;;;2038:6:1;895:10;2178:23;2170:68;;;;-1:-1:-1;;;2170:68:1;;13549:2:2;2170:68:1;;;13531:21:2;;;13568:18;;;13561:30;13627:34;13607:18;;;13600:62;13679:18;;2170:68:1;13521:182:2;2170:68:1;2662:21:::1;2680:1;2662:9;:21::i;:::-;2598:92::o:0;2986:113:0:-;2012:7:1;2038:6;-1:-1:-1;;;;;2038:6:1;895:10;2178:23;2170:68;;;;-1:-1:-1;;;2170:68:1;;13549:2:2;2170:68:1;;;13531:21:2;;;13568:18;;;13561:30;13627:34;13607:18;;;13600:62;13679:18;;2170:68:1;13521:182:2;2170:68:1;3065:29:0;;::::1;::::0;:12:::1;::::0;:29:::1;::::0;::::1;::::0;::::1;:::i;23137:102:1:-:0;23193:13;23225:7;23218:14;;;;;:::i;1854:781:0:-;1902:23;1928:13;36358:10:1;:17;;36271:111;1928:13:0;1902:39;;424:5;2039:18;:37;;2031:83;;;;-1:-1:-1;;;2031:83:0;;9135:2:2;2031:83:0;;;9117:21:2;9174:2;9154:18;;;9147:30;9213:34;9193:18;;;9186:62;9284:3;9264:18;;;9257:31;9305:19;;2031:83:0;9107:223:2;2031:83:0;328:6;2174:25;2193:6;2174:18;:25;:::i;:::-;:39;;2166:95;;;;-1:-1:-1;;;2166:95:0;;13910:2:2;2166:95:0;;;13892:21:2;13949:2;13929:18;;;13922:30;13988:34;13968:18;;;13961:62;14059:13;14039:18;;;14032:41;14090:19;;2166:95:0;13882:233:2;2166:95:0;378:2;2343:6;:25;;2335:82;;;;-1:-1:-1;;;2335:82:0;;12362:2:2;2335:82:0;;;12344:21:2;12401:2;12381:18;;;12374:30;12440:34;12420:18;;;12413:62;12511:14;12491:18;;;12484:42;12543:19;;2335:82:0;12334:234:2;2335:82:0;2495:1;2483:9;:13;:44;;;;-1:-1:-1;2513:14:0;278:11;2513:6;:14;:::i;:::-;2500:9;:27;2483:44;2475:95;;;;-1:-1:-1;;;2475:95:0;;10296:2:2;2475:95:0;;;10278:21:2;10335:2;10315:18;;;10308:30;10374:34;10354:18;;;10347:62;10445:8;10425:18;;;10418:36;10471:19;;2475:95:0;10268:228:2;24770:290:1;-1:-1:-1;;;;;24872:24:1;;895:10;24872:24;;24864:62;;;;-1:-1:-1;;;24864:62:1;;9942:2:2;24864:62:1;;;9924:21:2;9981:2;9961:18;;;9954:30;10020:27;10000:18;;;9993:55;10065:18;;24864:62:1;9914:175:2;24864:62:1;895:10;24937:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;24937:42:1;;;;;;;;;;;;:53;;;;;;;;;;;;;25005:48;;6648:41:2;;;24937:42:1;;895:10;25005:48;;6621:18:2;25005:48:1;;;;;;;24770:290;;:::o;25991:320::-;26160:41;895:10;26193:7;26160:18;:41::i;:::-;26152:103;;;;-1:-1:-1;;;26152:103:1;;15957:2:2;26152:103:1;;;15939:21:2;15996:2;15976:18;;;15969:30;16035:34;16015:18;;;16008:62;16106:19;16086:18;;;16079:47;16143:19;;26152:103:1;15929:239:2;26152:103:1;26265:39;26279:4;26285:2;26289:7;26298:5;26265:13;:39::i;:::-;25991:320;;;;:::o;23305:329::-;27848:4;27871:16;;;:7;:16;;;;;;23378:13;;-1:-1:-1;;;;;27871:16:1;23403:76;;;;-1:-1:-1;;;23403:76:1;;14732:2:2;23403:76:1;;;14714:21:2;14771:2;14751:18;;;14744:30;14810:34;14790:18;;;14783:62;14881:17;14861:18;;;14854:45;14916:19;;23403:76:1;14704:237:2;23403:76:1;23490:21;23514:10;:8;:10::i;:::-;23490:34;;23565:1;23547:7;23541:21;:25;:86;;;;;;;;;;;;;;;;;23593:7;23602:18;:7;:16;:18::i;:::-;23576:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;23541:86;23534:93;23305:329;-1:-1:-1;;;23305:329:1:o;3103:90:0:-;3149:13;3176:12;3169:19;;;;;:::i;912:391::-;1171:28;;;;;-1:-1:-1;;;;;5925:55:2;;;1171:28:0;;;5907:74:2;1018:4:0;;1077:20;;1171:40;;;;:21;;;;;;5880:18:2;;1171:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1171:40:0;;1167:78;;;1232:4;1225:11;;;;;1167:78;-1:-1:-1;;;;;25246:25:1;;;25223:4;25246:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;1259:39:0;1252:46;912:391;-1:-1:-1;;;;912:391:0:o;2839:189:1:-;2012:7;2038:6;-1:-1:-1;;;;;2038:6:1;895:10;2178:23;2170:68;;;;-1:-1:-1;;;2170:68:1;;13549:2:2;2170:68:1;;;13531:21:2;;;13568:18;;;13561:30;13627:34;13607:18;;;13600:62;13679:18;;2170:68:1;13521:182:2;2170:68:1;-1:-1:-1;;;;;2927:22:1;::::1;2919:73;;;::::0;-1:-1:-1;;;2919:73:1;;7957:2:2;2919:73:1::1;::::0;::::1;7939:21:2::0;7996:2;7976:18;;;7969:30;8035:34;8015:18;;;8008:62;8106:8;8086:18;;;8079:36;8132:19;;2919:73:1::1;7929:228:2::0;2919:73:1::1;3002:19;3012:8;3002:9;:19::i;22057:300::-:0;22159:4;22194:40;;;22209:25;22194:40;;:104;;-1:-1:-1;22250:48:1;;;22265:33;22250:48;22194:104;:156;;;-1:-1:-1;20759:25:1;20744:40;;;;22314:36;20636:155;31634:171;31708:24;;;;:15;:24;;;;;:29;;;;-1:-1:-1;;;;;31708:29:1;;;;;;;;:24;;31761:23;31708:24;31761:14;:23::i;:::-;-1:-1:-1;;;;;31752:46:1;;;;;;;;;;;31634:171;;:::o;28066:344::-;28159:4;27871:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27871:16:1;28175:73;;;;-1:-1:-1;;;28175:73:1;;10703:2:2;28175:73:1;;;10685:21:2;10742:2;10722:18;;;10715:30;10781:34;10761:18;;;10754:62;10852:14;10832:18;;;10825:42;10884:19;;28175:73:1;10675:234:2;28175:73:1;28258:13;28274:23;28289:7;28274:14;:23::i;:::-;28258:39;;28326:5;-1:-1:-1;;;;;28315:16:1;:7;-1:-1:-1;;;;;28315:16:1;;:51;;;;28359:7;-1:-1:-1;;;;;28335:31:1;:20;28347:7;28335:11;:20::i;:::-;-1:-1:-1;;;;;28335:31:1;;28315:51;:87;;;;28370:32;28387:5;28394:7;28370:16;:32::i;30963:560::-;31117:4;-1:-1:-1;;;;;31090:31:1;:23;31105:7;31090:14;:23::i;:::-;-1:-1:-1;;;;;31090:31:1;;31082:85;;;;-1:-1:-1;;;31082:85:1;;14322:2:2;31082:85:1;;;14304:21:2;14361:2;14341:18;;;14334:30;14400:34;14380:18;;;14373:62;14471:11;14451:18;;;14444:39;14500:19;;31082:85:1;14294:231:2;31082:85:1;-1:-1:-1;;;;;31185:16:1;;31177:65;;;;-1:-1:-1;;;31177:65:1;;9537:2:2;31177:65:1;;;9519:21:2;9576:2;9556:18;;;9549:30;9615:34;9595:18;;;9588:62;9686:6;9666:18;;;9659:34;9710:19;;31177:65:1;9509:226:2;31177:65:1;31253:39;31274:4;31280:2;31284:7;31253:20;:39::i;:::-;31354:29;31371:1;31375:7;31354:8;:29::i;:::-;-1:-1:-1;;;;;31394:15:1;;;;;;:9;:15;;;;;:20;;31413:1;;31394:15;:20;;31413:1;;31394:20;:::i;:::-;;;;-1:-1:-1;;;;;;;31424:13:1;;;;;;:9;:13;;;;;:18;;31441:1;;31424:13;:18;;31441:1;;31424:18;:::i;:::-;;;;-1:-1:-1;;31452:16:1;;;;:7;:16;;;;;;:21;;;;-1:-1:-1;;;;;31452:21:1;;;;;;;;;31489:27;;31452:16;;31489:27;;;;;;;30963:560;;;:::o;2639:148:0:-;2730:1;2716:67;2736:6;2733:1;:9;2716:67;;2756:20;2762:2;2766:9;2774:1;2766:7;:9;:::i;:::-;2756:5;:20::i;:::-;2744:3;;;;:::i;:::-;;;;2716:67;;3034:169:1;3089:16;3108:6;;-1:-1:-1;;;;;3124:17:1;;;;;;;;;;3156:40;;3108:6;;;;;;;3156:40;;3089:16;3156:40;3079:124;3034:169;:::o;27173:307::-;27324:28;27334:4;27340:2;27344:7;27324:9;:28::i;:::-;27370:48;27393:4;27399:2;27403:7;27412:5;27370:22;:48::i;:::-;27362:111;;;;-1:-1:-1;;;27362:111:1;;7538:2:2;27362:111:1;;;7520:21:2;7577:2;7557:18;;;7550:30;7616:34;7596:18;;;7589:62;7687:20;7667:18;;;7660:48;7725:19;;27362:111:1;7510:240:2;2891:91:0;2943:13;2970:7;2963:14;;;;;:::i;18177:703:1:-;18233:13;18450:10;18446:51;;-1:-1:-1;;18476:10:1;;;;;;;;;;;;;;;;;;18177:703::o;18446:51::-;18521:5;18506:12;18560:75;18567:9;;18560:75;;18592:8;;;;:::i;:::-;;-1:-1:-1;18614:10:1;;-1:-1:-1;18622:2:1;18614:10;;:::i;:::-;;;18560:75;;;18644:19;18676:6;18666:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18666:17:1;;18644:39;;18693:150;18700:10;;18693:150;;18726:11;18736:1;18726:11;;:::i;:::-;;-1:-1:-1;18794:10:1;18802:2;18794:5;:10;:::i;:::-;18781:24;;:2;:24;:::i;:::-;18768:39;;18751:6;18758;18751:14;;;;;;;;:::i;:::-;;;;:56;;;;;;;;;;-1:-1:-1;18821:11:1;18830:2;18821:11;;:::i;:::-;;;18693:150;;37280:572;-1:-1:-1;;;;;37479:18:1;;37475:183;;37513:40;37545:7;38661:10;:17;;38634:24;;;;:15;:24;;;;;:44;;;38688:24;;;;;;;;;;;;38558:161;37513:40;37475:183;;;37582:2;-1:-1:-1;;;;;37574:10:1;:4;-1:-1:-1;;;;;37574:10:1;;37570:88;;37600:47;37633:4;37639:7;37600:32;:47::i;:::-;-1:-1:-1;;;;;37671:16:1;;37667:179;;37703:45;37740:7;37703:36;:45::i;37667:179::-;37775:4;-1:-1:-1;;;;;37769:10:1;:2;-1:-1:-1;;;;;37769:10:1;;37765:81;;37795:40;37823:2;37827:7;37795:27;:40::i;29702:372::-;-1:-1:-1;;;;;29781:16:1;;29773:61;;;;-1:-1:-1;;;29773:61:1;;12775:2:2;29773:61:1;;;12757:21:2;;;12794:18;;;12787:30;12853:34;12833:18;;;12826:62;12905:18;;29773:61:1;12747:182:2;29773:61:1;27848:4;27871:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27871:16:1;:30;29844:58;;;;-1:-1:-1;;;29844:58:1;;8364:2:2;29844:58:1;;;8346:21:2;8403:2;8383:18;;;8376:30;8442;8422:18;;;8415:58;8490:18;;29844:58:1;8336:178:2;29844:58:1;29913:45;29942:1;29946:2;29950:7;29913:20;:45::i;:::-;-1:-1:-1;;;;;29969:13:1;;;;;;:9;:13;;;;;:18;;29986:1;;29969:13;:18;;29986:1;;29969:18;:::i;:::-;;;;-1:-1:-1;;29997:16:1;;;;:7;:16;;;;;;:21;;;;-1:-1:-1;;;;;29997:21:1;;;;;;;;30034:33;;29997:16;;;30034:33;;29997:16;;30034:33;29702:372;;:::o;32358:782::-;32508:4;-1:-1:-1;;;;;32528:13:1;;11287:20;11333:8;32524:610;;32563:72;;;;;-1:-1:-1;;;;;32563:36:1;;;;;:72;;895:10;;32614:4;;32620:7;;32629:5;;32563:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32563:72:1;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;32559:523;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32806:13:1;;32802:266;;32848:60;;-1:-1:-1;;;32848:60:1;;7538:2:2;32848:60:1;;;7520:21:2;7577:2;7557:18;;;7550:30;7616:34;7596:18;;;7589:62;7687:20;7667:18;;;7660:48;7725:19;;32848:60:1;7510:240:2;32802:266:1;33020:6;33014:13;33005:6;33001:2;32997:15;32990:38;32559:523;32685:55;;32695:45;32685:55;;-1:-1:-1;32678:62:1;;32524:610;-1:-1:-1;33119:4:1;32358:782;;;;;;:::o;39336:970::-;39598:22;39648:1;39623:22;39640:4;39623:16;:22::i;:::-;:26;;;;:::i;:::-;39659:18;39680:26;;;:17;:26;;;;;;39598:51;;-1:-1:-1;39810:28:1;;;39806:323;;-1:-1:-1;;;;;39876:18:1;;39854:19;39876:18;;;:12;:18;;;;;;;;:34;;;;;;;;;39925:30;;;;;;:44;;;40041:30;;:17;:30;;;;;:43;;;39806:323;-1:-1:-1;40222:26:1;;;;:17;:26;;;;;;;;40215:33;;;-1:-1:-1;;;;;40265:18:1;;;;;:12;:18;;;;;:34;;;;;;;40258:41;39336:970::o;40594:1061::-;40868:10;:17;40843:22;;40868:21;;40888:1;;40868:21;:::i;:::-;40899:18;40920:24;;;:15;:24;;;;;;41288:10;:26;;40843:46;;-1:-1:-1;40920:24:1;;40843:46;;41288:26;;;;;;:::i;:::-;;;;;;;;;41266:48;;41350:11;41325:10;41336;41325:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;41429:28;;;:15;:28;;;;;;;:41;;;41598:24;;;;;41591:31;41632:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;40665:990;;;40594:1061;:::o;38146:217::-;38230:14;38247:20;38264:2;38247:16;:20::i;:::-;-1:-1:-1;;;;;38277:16:1;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;38321:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;38146:217:1:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:690:2;78:5;108:18;149:2;141:6;138:14;135:2;;;155:18;;:::i;:::-;289:2;283:9;355:2;343:15;;194:66;339:24;;;365:2;335:33;331:42;319:55;;;389:18;;;409:22;;;386:46;383:2;;;435:18;;:::i;:::-;475:10;471:2;464:22;504:6;495:15;;534:6;526;519:22;574:3;565:6;560:3;556:16;553:25;550:2;;;591:1;588;581:12;550:2;641:6;636:3;629:4;621:6;617:17;604:44;696:1;689:4;680:6;672;668:19;664:30;657:41;;;;88:616;;;;;:::o;709:247::-;768:6;821:2;809:9;800:7;796:23;792:32;789:2;;;837:1;834;827:12;789:2;876:9;863:23;895:31;920:5;895:31;:::i;961:251::-;1031:6;1084:2;1072:9;1063:7;1059:23;1055:32;1052:2;;;1100:1;1097;1090:12;1052:2;1132:9;1126:16;1151:31;1176:5;1151:31;:::i;1217:388::-;1285:6;1293;1346:2;1334:9;1325:7;1321:23;1317:32;1314:2;;;1362:1;1359;1352:12;1314:2;1401:9;1388:23;1420:31;1445:5;1420:31;:::i;:::-;1470:5;-1:-1:-1;1527:2:2;1512:18;;1499:32;1540:33;1499:32;1540:33;:::i;:::-;1592:7;1582:17;;;1304:301;;;;;:::o;1610:456::-;1687:6;1695;1703;1756:2;1744:9;1735:7;1731:23;1727:32;1724:2;;;1772:1;1769;1762:12;1724:2;1811:9;1798:23;1830:31;1855:5;1830:31;:::i;:::-;1880:5;-1:-1:-1;1937:2:2;1922:18;;1909:32;1950:33;1909:32;1950:33;:::i;:::-;1714:352;;2002:7;;-1:-1:-1;;;2056:2:2;2041:18;;;;2028:32;;1714:352::o;2071:794::-;2166:6;2174;2182;2190;2243:3;2231:9;2222:7;2218:23;2214:33;2211:2;;;2260:1;2257;2250:12;2211:2;2299:9;2286:23;2318:31;2343:5;2318:31;:::i;:::-;2368:5;-1:-1:-1;2425:2:2;2410:18;;2397:32;2438:33;2397:32;2438:33;:::i;:::-;2490:7;-1:-1:-1;2544:2:2;2529:18;;2516:32;;-1:-1:-1;2599:2:2;2584:18;;2571:32;2626:18;2615:30;;2612:2;;;2658:1;2655;2648:12;2612:2;2681:22;;2734:4;2726:13;;2722:27;-1:-1:-1;2712:2:2;;2763:1;2760;2753:12;2712:2;2786:73;2851:7;2846:2;2833:16;2828:2;2824;2820:11;2786:73;:::i;:::-;2776:83;;;2201:664;;;;;;;:::o;2870:416::-;2935:6;2943;2996:2;2984:9;2975:7;2971:23;2967:32;2964:2;;;3012:1;3009;3002:12;2964:2;3051:9;3038:23;3070:31;3095:5;3070:31;:::i;:::-;3120:5;-1:-1:-1;3177:2:2;3162:18;;3149:32;3219:15;;3212:23;3200:36;;3190:2;;3250:1;3247;3240:12;3291:315;3359:6;3367;3420:2;3408:9;3399:7;3395:23;3391:32;3388:2;;;3436:1;3433;3426:12;3388:2;3475:9;3462:23;3494:31;3519:5;3494:31;:::i;:::-;3544:5;3596:2;3581:18;;;;3568:32;;-1:-1:-1;;;3378:228:2:o;3611:245::-;3669:6;3722:2;3710:9;3701:7;3697:23;3693:32;3690:2;;;3738:1;3735;3728:12;3690:2;3777:9;3764:23;3796:30;3820:5;3796:30;:::i;3861:249::-;3930:6;3983:2;3971:9;3962:7;3958:23;3954:32;3951:2;;;3999:1;3996;3989:12;3951:2;4031:9;4025:16;4050:30;4074:5;4050:30;:::i;4115:450::-;4184:6;4237:2;4225:9;4216:7;4212:23;4208:32;4205:2;;;4253:1;4250;4243:12;4205:2;4293:9;4280:23;4326:18;4318:6;4315:30;4312:2;;;4358:1;4355;4348:12;4312:2;4381:22;;4434:4;4426:13;;4422:27;-1:-1:-1;4412:2:2;;4463:1;4460;4453:12;4412:2;4486:73;4551:7;4546:2;4533:16;4528:2;4524;4520:11;4486:73;:::i;4570:180::-;4629:6;4682:2;4670:9;4661:7;4657:23;4653:32;4650:2;;;4698:1;4695;4688:12;4650:2;-1:-1:-1;4721:23:2;;4640:110;-1:-1:-1;4640:110:2:o;4755:316::-;4796:3;4834:5;4828:12;4861:6;4856:3;4849:19;4877:63;4933:6;4926:4;4921:3;4917:14;4910:4;4903:5;4899:16;4877:63;:::i;:::-;4985:2;4973:15;4990:66;4969:88;4960:98;;;;5060:4;4956:109;;4804:267;-1:-1:-1;;4804:267:2:o;5076:470::-;5255:3;5293:6;5287:13;5309:53;5355:6;5350:3;5343:4;5335:6;5331:17;5309:53;:::i;:::-;5425:13;;5384:16;;;;5447:57;5425:13;5384:16;5481:4;5469:17;;5447:57;:::i;:::-;5520:20;;5263:283;-1:-1:-1;;;;5263:283:2:o;5992:511::-;6186:4;-1:-1:-1;;;;;6296:2:2;6288:6;6284:15;6273:9;6266:34;6348:2;6340:6;6336:15;6331:2;6320:9;6316:18;6309:43;;6388:6;6383:2;6372:9;6368:18;6361:34;6431:3;6426:2;6415:9;6411:18;6404:31;6452:45;6492:3;6481:9;6477:19;6469:6;6452:45;:::i;:::-;6444:53;6195:308;-1:-1:-1;;;;;;6195:308:2:o;6700:219::-;6849:2;6838:9;6831:21;6812:4;6869:44;6909:2;6898:9;6894:18;6886:6;6869:44;:::i;16768:128::-;16808:3;16839:1;16835:6;16832:1;16829:13;16826:2;;;16845:18;;:::i;:::-;-1:-1:-1;16881:9:2;;16816:80::o;16901:120::-;16941:1;16967;16957:2;;16972:18;;:::i;:::-;-1:-1:-1;17006:9:2;;16947:74::o;17026:228::-;17066:7;17192:1;17124:66;17120:74;17117:1;17114:81;17109:1;17102:9;17095:17;17091:105;17088:2;;;17199:18;;:::i;:::-;-1:-1:-1;17239:9:2;;17078:176::o;17259:125::-;17299:4;17327:1;17324;17321:8;17318:2;;;17332:18;;:::i;:::-;-1:-1:-1;17369:9:2;;17308:76::o;17389:258::-;17461:1;17471:113;17485:6;17482:1;17479:13;17471:113;;;17561:11;;;17555:18;17542:11;;;17535:39;17507:2;17500:10;17471:113;;;17602:6;17599:1;17596:13;17593:2;;;-1:-1:-1;;17637:1:2;17619:16;;17612:27;17442:205::o;17652:437::-;17731:1;17727:12;;;;17774;;;17795:2;;17849:4;17841:6;17837:17;17827:27;;17795:2;17902;17894:6;17891:14;17871:18;17868:38;17865:2;;;17939:77;17936:1;17929:88;18040:4;18037:1;18030:15;18068:4;18065:1;18058:15;17865:2;;17707:382;;;:::o;18094:195::-;18133:3;18164:66;18157:5;18154:77;18151:2;;;18234:18;;:::i;:::-;-1:-1:-1;18281:1:2;18270:13;;18141:148::o;18294:112::-;18326:1;18352;18342:2;;18357:18;;:::i;:::-;-1:-1:-1;18391:9:2;;18332:74::o;18411:184::-;18463:77;18460:1;18453:88;18560:4;18557:1;18550:15;18584:4;18581:1;18574:15;18600:184;18652:77;18649:1;18642:88;18749:4;18746:1;18739:15;18773:4;18770:1;18763:15;18789:184;18841:77;18838:1;18831:88;18938:4;18935:1;18928:15;18962:4;18959:1;18952:15;18978:184;19030:77;19027:1;19020:88;19127:4;19124:1;19117:15;19151:4;19148:1;19141:15;19167:184;19219:77;19216:1;19209:88;19316:4;19313:1;19306:15;19340:4;19337:1;19330:15;19356:154;-1:-1:-1;;;;;19435:5:2;19431:54;19424:5;19421:65;19411:2;;19500:1;19497;19490:12;19515:177;19600:66;19593:5;19589:78;19582:5;19579:89;19569:2;;19682:1;19679;19672:12

Swarm Source

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

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