ETH Price: $2,922.13 (-7.75%)
Gas: 8 Gwei

Token

Avastar Memory Banners (AMB)
 

Overview

Max Total Supply

0 AMB

Holders

172

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
7 AMB
0x90162ad4623910BD53ea3C1F64AcbF360678F8bA
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
AvastarMemoryBanners

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 15 : AvastarMemoryBanners.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.16;

import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/interfaces/IERC721.sol';
import '@openzeppelin/contracts/interfaces/IERC2981.sol';
import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import '@openzeppelin/contracts/security/Pausable.sol';
import './IMetadataRenderer.sol';

interface IAvastarsFactory is IERC721 {
  enum Wave {
    PRIME,
    REPLICANT
  }

  function getAvastarWaveByTokenId(uint256 _tokenId) external view returns (Wave wave);
}
/**
  * @title Avastar Memory Banner NFTs
  */
contract AvastarMemoryBanners is ERC721, IERC2981, Pausable, Ownable {
  IAvastarsFactory public avastars;
  IMetadataRenderer public metadataRenderer;
  mapping (uint256 => IMetadataRenderer.Metadata) public tokenMetadataById;
  address payable public royaltyBenefactor;
  uint256 public royaltyBps; // static denominator of 10000
  uint256 public secretBannerCount;

  constructor(IAvastarsFactory _avastars, IMetadataRenderer _metadataRenderer) ERC721('Avastar Memory Banners', 'AMB')
  {
    avastars = _avastars;
    metadataRenderer = _metadataRenderer;
    royaltyBenefactor = payable(msg.sender);
    royaltyBps = 250; // default of 2.5%
    secretBannerCount = 0;
  }

  modifier onlyAvastarType(IMetadataRenderer.BannerType bannerType, uint256 avastarId) {
    require(getAvastarType(avastarId) == bannerType, 'Wrong Avastar');
    _;
  }

  modifier onlyClaimable( uint256 avastarId ) {
    require(checkClaimed(avastarId) == false); // must be unclaimed
    require(avastars.ownerOf(avastarId) == msg.sender); // must be the owner
    _;
  }

  /**
   * Return the BannerType for a given avastar ID
   * @param avastarId the avastar Id
   * @return bannerType the bannerType for that avastar (if any)
   * @dev see {IMetadataRenderer-BannerType}.
   */
  function getAvastarType(uint256 avastarId) internal view returns ( IMetadataRenderer.BannerType bannerType) {
    IAvastarsFactory.Wave wave = avastars.getAvastarWaveByTokenId(avastarId);

    if (wave == IAvastarsFactory.Wave.PRIME) {
      if (avastarId < 100) {
        return IMetadataRenderer.BannerType.FOUNDER;
      } else if (avastarId < 200) {
        return IMetadataRenderer.BannerType.EXCLUSIVE;
      }

      return IMetadataRenderer.BannerType.PRIME;
    } else if (wave == IAvastarsFactory.Wave.REPLICANT) {
      return IMetadataRenderer.BannerType.REPLICANT;
    }

    return IMetadataRenderer.BannerType.INVALID;
  }

  /**
   * Set the contract used to render the on-chain metadata
   * @param _metadataRenderer the new IMetadataRendere to use
   */
  function setMetadataRenderer(IMetadataRenderer _metadataRenderer) public onlyOwner {
    metadataRenderer = _metadataRenderer;
  }

  /**
   * Set the colleciton wide royalty information
   * @param _royaltyBenefactor the wallet that will receive future royalties
   * @param _royaltyBps the basis points for the royalty (denominmator is 10000)
   */
  function setRoyaltyInfo(address payable _royaltyBenefactor, uint256 _royaltyBps) public onlyOwner {
    royaltyBenefactor = _royaltyBenefactor;
    royaltyBps = _royaltyBps;
  }

  /**
   * Mint a founders banner to the current owner of the founder avastar
   * @param avastarId which avastarId the banner is associated with
   * @dev only the owner of this avastar can invoke this
   */
  function mintFounders(uint256 avastarId) onlyClaimable(avastarId) onlyAvastarType(IMetadataRenderer.BannerType.FOUNDER, avastarId) whenNotPaused public {
    tokenMetadataById[avastarId] = IMetadataRenderer.Metadata(
      IMetadataRenderer.BannerType.FOUNDER,
      IMetadataRenderer.BackgroundType.INVALID,
      IMetadataRenderer.AvastarImageType.INVALID,
      uint16(avastarId),
      uint16(avastarId)
    );
    _mint(msg.sender, avastarId);
  }

  /**
   * Mint an exclusive banner to the current owner of the exclusive avastar
   * @param avastarId which avastarId the banner is associated with
   * @dev only the owner of this avastar can invoke this
   */
  function mintExclusive(uint256 avastarId, IMetadataRenderer.AvastarImageType avastarImageChoice) onlyClaimable(avastarId) onlyAvastarType(IMetadataRenderer.BannerType.EXCLUSIVE, avastarId) whenNotPaused public {
    tokenMetadataById[avastarId] = IMetadataRenderer.Metadata(
      IMetadataRenderer.BannerType.EXCLUSIVE,
      IMetadataRenderer.BackgroundType.INVALID,
      avastarImageChoice,
      uint16(avastarId),
      uint16(avastarId)
    );
    _mint(msg.sender, avastarId);
  }

  /**
   * Mint a prime banner to the current owner of the prime
   * @param avastarId which avastarId the banner is associated with
   * @param bgChoice which choice of background color the owner has made
   * @dev only the owner of this avastar can invoke this
   */
  function mintPrime(uint256 avastarId, IMetadataRenderer.BackgroundType bgChoice) onlyClaimable(avastarId) onlyAvastarType(IMetadataRenderer.BannerType.PRIME, avastarId) whenNotPaused public {
    require(uint(bgChoice) >= uint(IMetadataRenderer.BackgroundType.P1) && uint(bgChoice) <= uint(IMetadataRenderer.BackgroundType.P4), 'Not an Prime Background');
    tokenMetadataById[avastarId] = IMetadataRenderer.Metadata(
      IMetadataRenderer.BannerType.PRIME,
      bgChoice,
      IMetadataRenderer.AvastarImageType.INVALID,
      uint16(avastarId),
      uint16(avastarId)
    );
    _mint(msg.sender, avastarId);
  }

  /**
   * Mint a replicant banner to the current owner of the replicant
   * @param avastarId which avastarId the banner is associated with
   * @param bgChoice which choice of background color the owner has made
   * @dev only the owner of this avastar can invoke this
   */
  function mintReplicant(uint256 avastarId, IMetadataRenderer.BackgroundType bgChoice) onlyClaimable(avastarId) onlyAvastarType(IMetadataRenderer.BannerType.REPLICANT, avastarId) whenNotPaused public {
    require(uint(bgChoice) >= uint(IMetadataRenderer.BackgroundType.R1) && uint(bgChoice) <= uint(IMetadataRenderer.BackgroundType.R4), 'Not an Replicant Background');
    tokenMetadataById[avastarId] = IMetadataRenderer.Metadata(
      IMetadataRenderer.BannerType.REPLICANT,
      bgChoice,
      IMetadataRenderer.AvastarImageType.INVALID,
      uint16(avastarId),
      uint16(avastarId)
    );
    _mint(msg.sender, avastarId);
  }

  /**
   * Mint the secret banner
   * @param to the lucky first owner of the secret banner
   * @dev only the owner of the banner contract can invoke this
   */
  function mintSecret(address to) onlyOwner whenNotPaused public {
    uint secretTokenId = 50400 + secretBannerCount++;
    tokenMetadataById[secretTokenId] = IMetadataRenderer.Metadata(
      IMetadataRenderer.BannerType.SECRET,
      IMetadataRenderer.BackgroundType.INVALID,
      IMetadataRenderer.AvastarImageType.INVALID,
      uint16(secretTokenId),
      uint16(0)
    );
    _safeMint(to, secretTokenId);
  }

  /**
   * Check to see if the given avastar ID has claimed it's banner
   * @param avastarId the avastar ID to check
   * @return claimed true if the avastar has already claimed a banner, false otherwise
   */
  function checkClaimed(uint256 avastarId) public view returns (bool claimed) {
    claimed = tokenMetadataById[avastarId].bannerType != IMetadataRenderer.BannerType.INVALID;
  }

  /**
    * @dev See {IERC721Metadata-tokenURI}.
    */
  function tokenURI(uint256 tokenId) public view override returns (string memory) {
    _requireMinted(tokenId);
    return metadataRenderer.renderTokenURI(tokenMetadataById[tokenId]);
  }

  /**
    * Access the on-chain metadata IF the metadata renderer supports it
    * @param tokenId the tokenId of the token whose metadata is returned
    * @return metadata JSON-encoded metadata compatible with standards
    */
  function getMetadata(uint256 tokenId) public view returns (string memory) {
    _requireMinted(tokenId);
    return metadataRenderer.renderMetadata(tokenMetadataById[tokenId]);
  }

  /**
     * @dev See {IERC2981-royaltyInfo}
     */
  function royaltyInfo(uint256, uint256 salePrice) public view returns (address receiver, uint256 royaltyAmount) {
    receiver = royaltyBenefactor;
    royaltyAmount = (salePrice * royaltyBps) / 10000;
  }

  function pause() public onlyOwner {
    _pause();
  }

  function unpause() public onlyOwner {
    _unpause();
  }

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

File 2 of 15 : IMetadataRenderer.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.16;

interface IMetadataRenderer {

  enum BannerType {
    INVALID,
    FOUNDER,
    EXCLUSIVE,
    PRIME,
    REPLICANT,
    SECRET
  }

  enum BackgroundType {
    INVALID,
    P1, P2, P3, P4,
    R1, R2, R3, R4
  }

  enum AvastarImageType {
    INVALID,
    PRISTINE,
    STYLED
  }

  struct Metadata {
    BannerType       bannerType;
    BackgroundType   backgroundType;
    AvastarImageType avastarImageType;
    uint16           tokenId;
    uint16           avastarId;
  }

  function renderMetadata(Metadata memory ) external view returns (string memory);
  function renderTokenURI(Metadata memory ) external view returns (string memory);
}

File 3 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC721.sol)

pragma solidity ^0.8.0;

import "../token/ERC721/IERC721.sol";

File 4 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

File 5 of 15 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 6 of 15 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

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

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

File 7 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        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: invalid token ID");
        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) {
        _requireMinted(tokenId);

        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 overridden 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 token owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_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: caller is not token 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: caller is not token 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) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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);

        _afterTokenTransfer(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);

        _afterTokenTransfer(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 from incorrect owner");
        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);

        _afterTokenTransfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 8 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

File 11 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 12 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 15 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IAvastarsFactory","name":"_avastars","type":"address"},{"internalType":"contract IMetadataRenderer","name":"_metadataRenderer","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"avastars","outputs":[{"internalType":"contract IAvastarsFactory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"avastarId","type":"uint256"}],"name":"checkClaimed","outputs":[{"internalType":"bool","name":"claimed","type":"bool"}],"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":"uint256","name":"tokenId","type":"uint256"}],"name":"getMetadata","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[],"name":"metadataRenderer","outputs":[{"internalType":"contract IMetadataRenderer","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"avastarId","type":"uint256"},{"internalType":"enum IMetadataRenderer.AvastarImageType","name":"avastarImageChoice","type":"uint8"}],"name":"mintExclusive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"avastarId","type":"uint256"}],"name":"mintFounders","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"avastarId","type":"uint256"},{"internalType":"enum IMetadataRenderer.BackgroundType","name":"bgChoice","type":"uint8"}],"name":"mintPrime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"avastarId","type":"uint256"},{"internalType":"enum IMetadataRenderer.BackgroundType","name":"bgChoice","type":"uint8"}],"name":"mintReplicant","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mintSecret","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyBenefactor","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyBps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"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":[],"name":"secretBannerCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IMetadataRenderer","name":"_metadataRenderer","type":"address"}],"name":"setMetadataRenderer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_royaltyBenefactor","type":"address"},{"internalType":"uint256","name":"_royaltyBps","type":"uint256"}],"name":"setRoyaltyInfo","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":"","type":"uint256"}],"name":"tokenMetadataById","outputs":[{"internalType":"enum IMetadataRenderer.BannerType","name":"bannerType","type":"uint8"},{"internalType":"enum IMetadataRenderer.BackgroundType","name":"backgroundType","type":"uint8"},{"internalType":"enum IMetadataRenderer.AvastarImageType","name":"avastarImageType","type":"uint8"},{"internalType":"uint16","name":"tokenId","type":"uint16"},{"internalType":"uint16","name":"avastarId","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620026a2380380620026a283398101604081905262000034916200017d565b6040518060400160405280601681526020017f41766173746172204d656d6f72792042616e6e657273000000000000000000008152506040518060400160405280600381526020016220a6a160e91b815250816000908162000097919062000261565b506001620000a6828262000261565b50506006805460ff1916905550620000be336200010a565b600780546001600160a01b039384166001600160a01b031991821617909155600880549290931691811691909117909155600a80549091163317905560fa600b556000600c556200032d565b600680546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03811681146200017a57600080fd5b50565b600080604083850312156200019157600080fd5b82516200019e8162000164565b6020840151909250620001b18162000164565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001e757607f821691505b6020821081036200020857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200025c57600081815260208120601f850160051c81016020861015620002375750805b601f850160051c820191505b81811015620002585782815560010162000243565b5050505b505050565b81516001600160401b038111156200027d576200027d620001bc565b62000295816200028e8454620001d2565b846200020e565b602080601f831160018114620002cd5760008415620002b45750858301515b600019600386901b1c1916600185901b17855562000258565b600085815260208120601f198616915b82811015620002fe57888601518255948401946001909101908401620002dd565b50858210156200031d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b612365806200033d6000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c8063715018a611610125578063a74bd013116100ad578063ca7fa9851161007c578063ca7fa985146104b2578063e2e784d5146104c5578063e985e9c5146104d8578063f2fde38b146104eb578063fd4fe8a8146104fe57600080fd5b8063a74bd01314610470578063b88d4fde14610483578063c63adb2b14610496578063c87b56dd1461049f57600080fd5b80638da5cb5b116100f45780638da5cb5b1461041957806395d89b411461042f5780639b0ceee114610437578063a22cb4651461044a578063a574cea41461045d57600080fd5b8063715018a6146103a457806374b036f2146103ac57806380c35009146103b55780638456cb591461041157600080fd5b806342842e0e116101a85780635a99e6ec116101775780635a99e6ec1461033f5780635c975abb146103525780636352211e1461035d578063703199701461037057806370a082311461038357600080fd5b806342842e0e146102f35780634d0664bd146103065780635507bb71146103195780635a6de3881461032c57600080fd5b806323b872dd116101e457806323b872dd146102935780632a55205a146102a657806335a55caa146102d85780633f4ba83a146102eb57600080fd5b806301ffc9a71461021657806306fdde031461023e578063081812fc14610253578063095ea7b31461027e575b600080fd5b610229610224366004611c61565b610511565b60405190151581526020015b60405180910390f35b61024661053c565b6040516102359190611cd5565b610266610261366004611ce8565b6105ce565b6040516001600160a01b039091168152602001610235565b61029161028c366004611d16565b6105f5565b005b6102916102a1366004611d42565b61070f565b6102b96102b4366004611d83565b610740565b604080516001600160a01b039093168352602083019190915201610235565b6102296102e6366004611ce8565b610776565b6102916107a4565b610291610301366004611d42565b6107b6565b610291610314366004611da5565b6107d1565b600a54610266906001600160a01b031681565b61029161033a366004611ce8565b610a3f565b61029161034d366004611da5565b610c1a565b60065460ff16610229565b61026661036b366004611ce8565b610d84565b600854610266906001600160a01b031681565b610396610391366004611dd9565b610de4565b604051908152602001610235565b610291610e6a565b610396600c5481565b6104006103c3366004611ce8565b60096020526000908152604090205460ff808216916101008104821691620100008204169061ffff63010000008204811691600160281b90041685565b604051610235959493929190611e40565b610291610e7c565b60065461010090046001600160a01b0316610266565b610246610e8c565b600754610266906001600160a01b031681565b610291610458366004611e86565b610e9b565b61024661046b366004611ce8565b610eaa565b61029161047e366004611dd9565b610f37565b610291610491366004611f28565b611069565b610396600b5481565b6102466104ad366004611ce8565b61109b565b6102916104c0366004611fd7565b6110e3565b6102916104d3366004611d16565b6111e6565b6102296104e6366004612000565b611214565b6102916104f9366004611dd9565b611242565b61029161050c366004611dd9565b6112bb565b60006001600160e01b0319821663152a902d60e11b14806105365750610536826112e5565b92915050565b60606000805461054b9061202e565b80601f01602080910402602001604051908101604052809291908181526020018280546105779061202e565b80156105c45780601f10610599576101008083540402835291602001916105c4565b820191906000526020600020905b8154815290600101906020018083116105a757829003601f168201915b5050505050905090565b60006105d982611335565b506000908152600460205260409020546001600160a01b031690565b600061060082610d84565b9050806001600160a01b0316836001600160a01b0316036106725760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061068e575061068e8133611214565b6107005760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610669565b61070a8383611394565b505050565b6107193382611402565b6107355760405162461bcd60e51b815260040161066990612068565b61070a838383611461565b600a54600b546001600160a01b03909116906000906127109061076390856120cc565b61076d91906120eb565b90509250929050565b60008060008381526009602052604090205460ff16600581111561079c5761079c611df6565b141592915050565b6107ac6115fd565b6107b461165d565b565b61070a83838360405180602001604052806000815250611069565b816107db81610776565b156107e557600080fd5b6007546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e90602401602060405180830381865afa15801561082e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610852919061210d565b6001600160a01b03161461086557600080fd5b60038381610872826116af565b600581111561088357610883611df6565b146108a05760405162461bcd60e51b81526004016106699061212a565b6108a8611794565b60018460088111156108bc576108bc611df6565b101580156108dc575060048460088111156108d9576108d9611df6565b11155b6109285760405162461bcd60e51b815260206004820152601760248201527f4e6f7420616e205072696d65204261636b67726f756e640000000000000000006044820152606401610669565b6040805160a081019091528060035b815260200185600881111561094e5761094e611df6565b815260200160005b815261ffff87166020808301829052604092830191909152600088815260099091522081518154829060ff1916600183600581111561099757610997611df6565b021790555060208201518154829061ff0019166101008360088111156109bf576109bf611df6565b021790555060408201518154829062ff00001916620100008360028111156109e9576109e9611df6565b02179055506060820151815460809093015166ffffffff00000019909316630100000061ffff9283160266ffff0000000000191617600160281b9190931602919091179055610a3833866117da565b5050505050565b80610a4981610776565b15610a5357600080fd5b6007546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e90602401602060405180830381865afa158015610a9c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac0919061210d565b6001600160a01b031614610ad357600080fd5b60018281610ae0826116af565b6005811115610af157610af1611df6565b14610b0e5760405162461bcd60e51b81526004016106699061212a565b610b16611794565b6040805160a081019091528060018152602001600081526020016000815261ffff86166020808301829052604092830191909152600087815260099091522081518154829060ff19166001836005811115610b7357610b73611df6565b021790555060208201518154829061ff001916610100836008811115610b9b57610b9b611df6565b021790555060408201518154829062ff0000191662010000836002811115610bc557610bc5611df6565b02179055506060820151815460809093015166ffffffff00000019909316630100000061ffff9283160266ffff0000000000191617600160281b9190931602919091179055610c1433856117da565b50505050565b81610c2481610776565b15610c2e57600080fd5b6007546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e90602401602060405180830381865afa158015610c77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9b919061210d565b6001600160a01b031614610cae57600080fd5b60048381610cbb826116af565b6005811115610ccc57610ccc611df6565b14610ce95760405162461bcd60e51b81526004016106699061212a565b610cf1611794565b6005846008811115610d0557610d05611df6565b10158015610d2557506008846008811115610d2257610d22611df6565b11155b610d715760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420616e205265706c6963616e74204261636b67726f756e6400000000006044820152606401610669565b6040805160a08101909152806004610937565b6000818152600260205260408120546001600160a01b0316806105365760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610669565b60006001600160a01b038216610e4e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610669565b506001600160a01b031660009081526003602052604090205490565b610e726115fd565b6107b4600061191c565b610e846115fd565b6107b4611976565b60606001805461054b9061202e565b610ea63383836119b3565b5050565b6060610eb582611335565b600854600083815260096020526040908190209051637b644a0360e01b81526001600160a01b0390921691637b644a0391610ef291600401612151565b600060405180830381865afa158015610f0f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261053691908101906121ac565b610f3f6115fd565b610f47611794565b600c805460009182610f5883612223565b90915550610f689061c4e061223c565b6040805160a081019091529091508060058152602001600081526020016000815261ffff83166020808301919091526000604092830181905284815260099091522081518154829060ff19166001836005811115610fc857610fc8611df6565b021790555060208201518154829061ff001916610100836008811115610ff057610ff0611df6565b021790555060408201518154829062ff000019166201000083600281111561101a5761101a611df6565b02179055506060820151815460809093015166ffffffff00000019909316630100000061ffff9283160266ffff0000000000191617600160281b9190931602919091179055610ea68282611a81565b6110733383611402565b61108f5760405162461bcd60e51b815260040161066990612068565b610c1484848484611a9b565b60606110a682611335565b6008546000838152600960205260409081902090516344ec7b7b60e01b81526001600160a01b03909216916344ec7b7b91610ef291600401612151565b816110ed81610776565b156110f757600080fd5b6007546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e90602401602060405180830381865afa158015611140573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611164919061210d565b6001600160a01b03161461117757600080fd5b60028381611184826116af565b600581111561119557611195611df6565b146111b25760405162461bcd60e51b81526004016106699061212a565b6111ba611794565b6040805160a0810190915280600281526020016000815260200185600281111561095657610956611df6565b6111ee6115fd565b600a80546001600160a01b0319166001600160a01b039390931692909217909155600b55565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61124a6115fd565b6001600160a01b0381166112af5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610669565b6112b88161191c565b50565b6112c36115fd565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b031982166380ac58cd60e01b148061131657506001600160e01b03198216635b5e139f60e01b145b8061053657506301ffc9a760e01b6001600160e01b0319831614610536565b6000818152600260205260409020546001600160a01b03166112b85760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610669565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906113c982610d84565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061140e83610d84565b9050806001600160a01b0316846001600160a01b0316148061143557506114358185611214565b806114595750836001600160a01b031661144e846105ce565b6001600160a01b0316145b949350505050565b826001600160a01b031661147482610d84565b6001600160a01b0316146114d85760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610669565b6001600160a01b03821661153a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610669565b611545600082611394565b6001600160a01b038316600090815260036020526040812080546001929061156e90849061224f565b90915550506001600160a01b038216600090815260036020526040812080546001929061159c90849061223c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6006546001600160a01b036101009091041633146107b45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610669565b611665611ace565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600754604051635b11294560e11b81526004810183905260009182916001600160a01b039091169063b622528a90602401602060405180830381865afa1580156116fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117219190612262565b9050600081600181111561173757611737611df6565b0361176957606483101561174e5750600192915050565b60c88310156117605750600292915050565b50600392915050565b600181600181111561177d5761177d611df6565b0361178b5750600492915050565b50600092915050565b60065460ff16156107b45760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610669565b6001600160a01b0382166118305760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610669565b6000818152600260205260409020546001600160a01b0316156118955760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610669565b6001600160a01b03821660009081526003602052604081208054600192906118be90849061223c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600680546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61197e611794565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586116923390565b816001600160a01b0316836001600160a01b031603611a145760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610669565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610ea6828260405180602001604052806000815250611b17565b611aa6848484611461565b611ab284848484611b4a565b610c145760405162461bcd60e51b815260040161066990612283565b60065460ff166107b45760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610669565b611b2183836117da565b611b2e6000848484611b4a565b61070a5760405162461bcd60e51b815260040161066990612283565b60006001600160a01b0384163b15611c4057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611b8e9033908990889088906004016122d5565b6020604051808303816000875af1925050508015611bc9575060408051601f3d908101601f19168201909252611bc691810190612312565b60015b611c26573d808015611bf7576040519150601f19603f3d011682016040523d82523d6000602084013e611bfc565b606091505b508051600003611c1e5760405162461bcd60e51b815260040161066990612283565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611459565b506001949350505050565b6001600160e01b0319811681146112b857600080fd5b600060208284031215611c7357600080fd5b8135611c7e81611c4b565b9392505050565b60005b83811015611ca0578181015183820152602001611c88565b50506000910152565b60008151808452611cc1816020860160208601611c85565b601f01601f19169290920160200192915050565b602081526000611c7e6020830184611ca9565b600060208284031215611cfa57600080fd5b5035919050565b6001600160a01b03811681146112b857600080fd5b60008060408385031215611d2957600080fd5b8235611d3481611d01565b946020939093013593505050565b600080600060608486031215611d5757600080fd5b8335611d6281611d01565b92506020840135611d7281611d01565b929592945050506040919091013590565b60008060408385031215611d9657600080fd5b50508035926020909101359150565b60008060408385031215611db857600080fd5b82359150602083013560098110611dce57600080fd5b809150509250929050565b600060208284031215611deb57600080fd5b8135611c7e81611d01565b634e487b7160e01b600052602160045260246000fd5b60068110611e1c57611e1c611df6565b9052565b60098110611e1c57611e1c611df6565b60038110611e1c57611e1c611df6565b60a08101611e4e8288611e0c565b611e5b6020830187611e20565b611e686040830186611e30565b61ffff80851660608401528084166080840152509695505050505050565b60008060408385031215611e9957600080fd5b8235611ea481611d01565b915060208301358015158114611dce57600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611ef857611ef8611eb9565b604052919050565b600067ffffffffffffffff821115611f1a57611f1a611eb9565b50601f01601f191660200190565b60008060008060808587031215611f3e57600080fd5b8435611f4981611d01565b93506020850135611f5981611d01565b925060408501359150606085013567ffffffffffffffff811115611f7c57600080fd5b8501601f81018713611f8d57600080fd5b8035611fa0611f9b82611f00565b611ecf565b818152886020838501011115611fb557600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b60008060408385031215611fea57600080fd5b82359150602083013560038110611dce57600080fd5b6000806040838503121561201357600080fd5b823561201e81611d01565b91506020830135611dce81611d01565b600181811c9082168061204257607f821691505b60208210810361206257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156120e6576120e66120b6565b500290565b60008261210857634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561211f57600080fd5b8151611c7e81611d01565b6020808252600d908201526c2bb937b7339020bb30b9ba30b960991b604082015260600190565b815460a08201906121658360ff8316611e0c565b6121786020840160ff8360081c16611e20565b61218b6040840160ff8360101c16611e30565b61ffff808260181c166060850152808260281c166080850152505092915050565b6000602082840312156121be57600080fd5b815167ffffffffffffffff8111156121d557600080fd5b8201601f810184136121e657600080fd5b80516121f4611f9b82611f00565b81815285602083850101111561220957600080fd5b61221a826020830160208601611c85565b95945050505050565b600060018201612235576122356120b6565b5060010190565b80820180821115610536576105366120b6565b81810381811115610536576105366120b6565b60006020828403121561227457600080fd5b815160028110611c7e57600080fd5b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061230890830184611ca9565b9695505050505050565b60006020828403121561232457600080fd5b8151611c7e81611c4b56fea264697066735822122021949e559192e5ac78cb0d6a29692d1ee3a2ca28085042e5f4d54d196a4361fc64736f6c63430008100033000000000000000000000000f3e778f839934fc819cfa1040aabacecba01e0490000000000000000000000007849ab33e2b894398dddf9259935e627bd2a389d

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102115760003560e01c8063715018a611610125578063a74bd013116100ad578063ca7fa9851161007c578063ca7fa985146104b2578063e2e784d5146104c5578063e985e9c5146104d8578063f2fde38b146104eb578063fd4fe8a8146104fe57600080fd5b8063a74bd01314610470578063b88d4fde14610483578063c63adb2b14610496578063c87b56dd1461049f57600080fd5b80638da5cb5b116100f45780638da5cb5b1461041957806395d89b411461042f5780639b0ceee114610437578063a22cb4651461044a578063a574cea41461045d57600080fd5b8063715018a6146103a457806374b036f2146103ac57806380c35009146103b55780638456cb591461041157600080fd5b806342842e0e116101a85780635a99e6ec116101775780635a99e6ec1461033f5780635c975abb146103525780636352211e1461035d578063703199701461037057806370a082311461038357600080fd5b806342842e0e146102f35780634d0664bd146103065780635507bb71146103195780635a6de3881461032c57600080fd5b806323b872dd116101e457806323b872dd146102935780632a55205a146102a657806335a55caa146102d85780633f4ba83a146102eb57600080fd5b806301ffc9a71461021657806306fdde031461023e578063081812fc14610253578063095ea7b31461027e575b600080fd5b610229610224366004611c61565b610511565b60405190151581526020015b60405180910390f35b61024661053c565b6040516102359190611cd5565b610266610261366004611ce8565b6105ce565b6040516001600160a01b039091168152602001610235565b61029161028c366004611d16565b6105f5565b005b6102916102a1366004611d42565b61070f565b6102b96102b4366004611d83565b610740565b604080516001600160a01b039093168352602083019190915201610235565b6102296102e6366004611ce8565b610776565b6102916107a4565b610291610301366004611d42565b6107b6565b610291610314366004611da5565b6107d1565b600a54610266906001600160a01b031681565b61029161033a366004611ce8565b610a3f565b61029161034d366004611da5565b610c1a565b60065460ff16610229565b61026661036b366004611ce8565b610d84565b600854610266906001600160a01b031681565b610396610391366004611dd9565b610de4565b604051908152602001610235565b610291610e6a565b610396600c5481565b6104006103c3366004611ce8565b60096020526000908152604090205460ff808216916101008104821691620100008204169061ffff63010000008204811691600160281b90041685565b604051610235959493929190611e40565b610291610e7c565b60065461010090046001600160a01b0316610266565b610246610e8c565b600754610266906001600160a01b031681565b610291610458366004611e86565b610e9b565b61024661046b366004611ce8565b610eaa565b61029161047e366004611dd9565b610f37565b610291610491366004611f28565b611069565b610396600b5481565b6102466104ad366004611ce8565b61109b565b6102916104c0366004611fd7565b6110e3565b6102916104d3366004611d16565b6111e6565b6102296104e6366004612000565b611214565b6102916104f9366004611dd9565b611242565b61029161050c366004611dd9565b6112bb565b60006001600160e01b0319821663152a902d60e11b14806105365750610536826112e5565b92915050565b60606000805461054b9061202e565b80601f01602080910402602001604051908101604052809291908181526020018280546105779061202e565b80156105c45780601f10610599576101008083540402835291602001916105c4565b820191906000526020600020905b8154815290600101906020018083116105a757829003601f168201915b5050505050905090565b60006105d982611335565b506000908152600460205260409020546001600160a01b031690565b600061060082610d84565b9050806001600160a01b0316836001600160a01b0316036106725760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061068e575061068e8133611214565b6107005760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610669565b61070a8383611394565b505050565b6107193382611402565b6107355760405162461bcd60e51b815260040161066990612068565b61070a838383611461565b600a54600b546001600160a01b03909116906000906127109061076390856120cc565b61076d91906120eb565b90509250929050565b60008060008381526009602052604090205460ff16600581111561079c5761079c611df6565b141592915050565b6107ac6115fd565b6107b461165d565b565b61070a83838360405180602001604052806000815250611069565b816107db81610776565b156107e557600080fd5b6007546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e90602401602060405180830381865afa15801561082e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610852919061210d565b6001600160a01b03161461086557600080fd5b60038381610872826116af565b600581111561088357610883611df6565b146108a05760405162461bcd60e51b81526004016106699061212a565b6108a8611794565b60018460088111156108bc576108bc611df6565b101580156108dc575060048460088111156108d9576108d9611df6565b11155b6109285760405162461bcd60e51b815260206004820152601760248201527f4e6f7420616e205072696d65204261636b67726f756e640000000000000000006044820152606401610669565b6040805160a081019091528060035b815260200185600881111561094e5761094e611df6565b815260200160005b815261ffff87166020808301829052604092830191909152600088815260099091522081518154829060ff1916600183600581111561099757610997611df6565b021790555060208201518154829061ff0019166101008360088111156109bf576109bf611df6565b021790555060408201518154829062ff00001916620100008360028111156109e9576109e9611df6565b02179055506060820151815460809093015166ffffffff00000019909316630100000061ffff9283160266ffff0000000000191617600160281b9190931602919091179055610a3833866117da565b5050505050565b80610a4981610776565b15610a5357600080fd5b6007546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e90602401602060405180830381865afa158015610a9c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac0919061210d565b6001600160a01b031614610ad357600080fd5b60018281610ae0826116af565b6005811115610af157610af1611df6565b14610b0e5760405162461bcd60e51b81526004016106699061212a565b610b16611794565b6040805160a081019091528060018152602001600081526020016000815261ffff86166020808301829052604092830191909152600087815260099091522081518154829060ff19166001836005811115610b7357610b73611df6565b021790555060208201518154829061ff001916610100836008811115610b9b57610b9b611df6565b021790555060408201518154829062ff0000191662010000836002811115610bc557610bc5611df6565b02179055506060820151815460809093015166ffffffff00000019909316630100000061ffff9283160266ffff0000000000191617600160281b9190931602919091179055610c1433856117da565b50505050565b81610c2481610776565b15610c2e57600080fd5b6007546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e90602401602060405180830381865afa158015610c77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9b919061210d565b6001600160a01b031614610cae57600080fd5b60048381610cbb826116af565b6005811115610ccc57610ccc611df6565b14610ce95760405162461bcd60e51b81526004016106699061212a565b610cf1611794565b6005846008811115610d0557610d05611df6565b10158015610d2557506008846008811115610d2257610d22611df6565b11155b610d715760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420616e205265706c6963616e74204261636b67726f756e6400000000006044820152606401610669565b6040805160a08101909152806004610937565b6000818152600260205260408120546001600160a01b0316806105365760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610669565b60006001600160a01b038216610e4e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610669565b506001600160a01b031660009081526003602052604090205490565b610e726115fd565b6107b4600061191c565b610e846115fd565b6107b4611976565b60606001805461054b9061202e565b610ea63383836119b3565b5050565b6060610eb582611335565b600854600083815260096020526040908190209051637b644a0360e01b81526001600160a01b0390921691637b644a0391610ef291600401612151565b600060405180830381865afa158015610f0f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261053691908101906121ac565b610f3f6115fd565b610f47611794565b600c805460009182610f5883612223565b90915550610f689061c4e061223c565b6040805160a081019091529091508060058152602001600081526020016000815261ffff83166020808301919091526000604092830181905284815260099091522081518154829060ff19166001836005811115610fc857610fc8611df6565b021790555060208201518154829061ff001916610100836008811115610ff057610ff0611df6565b021790555060408201518154829062ff000019166201000083600281111561101a5761101a611df6565b02179055506060820151815460809093015166ffffffff00000019909316630100000061ffff9283160266ffff0000000000191617600160281b9190931602919091179055610ea68282611a81565b6110733383611402565b61108f5760405162461bcd60e51b815260040161066990612068565b610c1484848484611a9b565b60606110a682611335565b6008546000838152600960205260409081902090516344ec7b7b60e01b81526001600160a01b03909216916344ec7b7b91610ef291600401612151565b816110ed81610776565b156110f757600080fd5b6007546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e90602401602060405180830381865afa158015611140573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611164919061210d565b6001600160a01b03161461117757600080fd5b60028381611184826116af565b600581111561119557611195611df6565b146111b25760405162461bcd60e51b81526004016106699061212a565b6111ba611794565b6040805160a0810190915280600281526020016000815260200185600281111561095657610956611df6565b6111ee6115fd565b600a80546001600160a01b0319166001600160a01b039390931692909217909155600b55565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61124a6115fd565b6001600160a01b0381166112af5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610669565b6112b88161191c565b50565b6112c36115fd565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b031982166380ac58cd60e01b148061131657506001600160e01b03198216635b5e139f60e01b145b8061053657506301ffc9a760e01b6001600160e01b0319831614610536565b6000818152600260205260409020546001600160a01b03166112b85760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610669565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906113c982610d84565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061140e83610d84565b9050806001600160a01b0316846001600160a01b0316148061143557506114358185611214565b806114595750836001600160a01b031661144e846105ce565b6001600160a01b0316145b949350505050565b826001600160a01b031661147482610d84565b6001600160a01b0316146114d85760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610669565b6001600160a01b03821661153a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610669565b611545600082611394565b6001600160a01b038316600090815260036020526040812080546001929061156e90849061224f565b90915550506001600160a01b038216600090815260036020526040812080546001929061159c90849061223c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6006546001600160a01b036101009091041633146107b45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610669565b611665611ace565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600754604051635b11294560e11b81526004810183905260009182916001600160a01b039091169063b622528a90602401602060405180830381865afa1580156116fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117219190612262565b9050600081600181111561173757611737611df6565b0361176957606483101561174e5750600192915050565b60c88310156117605750600292915050565b50600392915050565b600181600181111561177d5761177d611df6565b0361178b5750600492915050565b50600092915050565b60065460ff16156107b45760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610669565b6001600160a01b0382166118305760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610669565b6000818152600260205260409020546001600160a01b0316156118955760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610669565b6001600160a01b03821660009081526003602052604081208054600192906118be90849061223c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600680546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61197e611794565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586116923390565b816001600160a01b0316836001600160a01b031603611a145760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610669565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610ea6828260405180602001604052806000815250611b17565b611aa6848484611461565b611ab284848484611b4a565b610c145760405162461bcd60e51b815260040161066990612283565b60065460ff166107b45760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610669565b611b2183836117da565b611b2e6000848484611b4a565b61070a5760405162461bcd60e51b815260040161066990612283565b60006001600160a01b0384163b15611c4057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611b8e9033908990889088906004016122d5565b6020604051808303816000875af1925050508015611bc9575060408051601f3d908101601f19168201909252611bc691810190612312565b60015b611c26573d808015611bf7576040519150601f19603f3d011682016040523d82523d6000602084013e611bfc565b606091505b508051600003611c1e5760405162461bcd60e51b815260040161066990612283565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611459565b506001949350505050565b6001600160e01b0319811681146112b857600080fd5b600060208284031215611c7357600080fd5b8135611c7e81611c4b565b9392505050565b60005b83811015611ca0578181015183820152602001611c88565b50506000910152565b60008151808452611cc1816020860160208601611c85565b601f01601f19169290920160200192915050565b602081526000611c7e6020830184611ca9565b600060208284031215611cfa57600080fd5b5035919050565b6001600160a01b03811681146112b857600080fd5b60008060408385031215611d2957600080fd5b8235611d3481611d01565b946020939093013593505050565b600080600060608486031215611d5757600080fd5b8335611d6281611d01565b92506020840135611d7281611d01565b929592945050506040919091013590565b60008060408385031215611d9657600080fd5b50508035926020909101359150565b60008060408385031215611db857600080fd5b82359150602083013560098110611dce57600080fd5b809150509250929050565b600060208284031215611deb57600080fd5b8135611c7e81611d01565b634e487b7160e01b600052602160045260246000fd5b60068110611e1c57611e1c611df6565b9052565b60098110611e1c57611e1c611df6565b60038110611e1c57611e1c611df6565b60a08101611e4e8288611e0c565b611e5b6020830187611e20565b611e686040830186611e30565b61ffff80851660608401528084166080840152509695505050505050565b60008060408385031215611e9957600080fd5b8235611ea481611d01565b915060208301358015158114611dce57600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611ef857611ef8611eb9565b604052919050565b600067ffffffffffffffff821115611f1a57611f1a611eb9565b50601f01601f191660200190565b60008060008060808587031215611f3e57600080fd5b8435611f4981611d01565b93506020850135611f5981611d01565b925060408501359150606085013567ffffffffffffffff811115611f7c57600080fd5b8501601f81018713611f8d57600080fd5b8035611fa0611f9b82611f00565b611ecf565b818152886020838501011115611fb557600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b60008060408385031215611fea57600080fd5b82359150602083013560038110611dce57600080fd5b6000806040838503121561201357600080fd5b823561201e81611d01565b91506020830135611dce81611d01565b600181811c9082168061204257607f821691505b60208210810361206257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156120e6576120e66120b6565b500290565b60008261210857634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561211f57600080fd5b8151611c7e81611d01565b6020808252600d908201526c2bb937b7339020bb30b9ba30b960991b604082015260600190565b815460a08201906121658360ff8316611e0c565b6121786020840160ff8360081c16611e20565b61218b6040840160ff8360101c16611e30565b61ffff808260181c166060850152808260281c166080850152505092915050565b6000602082840312156121be57600080fd5b815167ffffffffffffffff8111156121d557600080fd5b8201601f810184136121e657600080fd5b80516121f4611f9b82611f00565b81815285602083850101111561220957600080fd5b61221a826020830160208601611c85565b95945050505050565b600060018201612235576122356120b6565b5060010190565b80820180821115610536576105366120b6565b81810381811115610536576105366120b6565b60006020828403121561227457600080fd5b815160028110611c7e57600080fd5b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061230890830184611ca9565b9695505050505050565b60006020828403121561232457600080fd5b8151611c7e81611c4b56fea264697066735822122021949e559192e5ac78cb0d6a29692d1ee3a2ca28085042e5f4d54d196a4361fc64736f6c63430008100033

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

000000000000000000000000f3e778f839934fc819cfa1040aabacecba01e0490000000000000000000000007849ab33e2b894398dddf9259935e627bd2a389d

-----Decoded View---------------
Arg [0] : _avastars (address): 0xF3E778F839934fC819cFA1040AabaCeCBA01e049
Arg [1] : _metadataRenderer (address): 0x7849AB33E2b894398dDdf9259935e627Bd2a389d

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000f3e778f839934fc819cfa1040aabacecba01e049
Arg [1] : 0000000000000000000000007849ab33e2b894398dddf9259935e627bd2a389d


Deployed Bytecode Sourcemap

597:8069:13:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8455:209;;;;;;:::i;:::-;;:::i;:::-;;;565:14:15;;558:22;540:41;;528:2;513:18;8455:209:13;;;;;;;;2470:98:4;;;:::i;:::-;;;;;;;:::i;3935:167::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:15;;;1679:51;;1667:2;1652:18;3935:167:4;1533:203:15;3467:407:4;;;;;;:::i;:::-;;:::i;:::-;;4612:327;;;;;;:::i;:::-;;:::i;8037:204:13:-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3103:32:15;;;3085:51;;3167:2;3152:18;;3145:34;;;;3058:18;8037:204:13;2911:274:15;7145:176:13;;;;;;:::i;:::-;;:::i;8302:57::-;;;:::i;5005:179:4:-;;;;;;:::i;:::-;;:::i;4811:620:13:-;;;;;;:::i;:::-;;:::i;827:40::-;;;;;-1:-1:-1;;;;;827:40:13;;;3381:452;;;;;;:::i;:::-;;:::i;5712:636::-;;;;;;:::i;:::-;;:::i;1615:84:3:-;1685:7;;;;1615:84;;2190:218:4;;;;;;:::i;:::-;;:::i;706:41:13:-;;;;;-1:-1:-1;;;;;706:41:13;;;1929:204:4;;;;;;:::i;:::-;;:::i;:::-;;;4394:25:15;;;4382:2;4367:18;1929:204:4;4248:177:15;1831:101:0;;;:::i;931:32:13:-;;;;;;751:72;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;751:72:13;;;;;;;;;;;;;;;;:::i;8245:53::-;;;:::i;1201:85:0:-;1273:6;;;;;-1:-1:-1;;;;;1273:6:0;1201:85;;2632:102:4;;;:::i;670:32:13:-;;;;;-1:-1:-1;;;;;670:32:13;;;4169:153:4;;;;;;:::i;:::-;;:::i;7800:180:13:-;;;;;;:::i;:::-;;:::i;6514:416::-;;;;;;:::i;:::-;;:::i;5250:315:4:-;;;;;;:::i;:::-;;:::i;871:25:13:-;;;;;;7381:186;;;;;;:::i;:::-;;:::i;4050:488::-;;;;;;:::i;:::-;;:::i;2991:177::-;;;;;;:::i;:::-;;:::i;4388:162:4:-;;;;;;:::i;:::-;;:::i;2081:198:0:-;;;;;;:::i;:::-;;:::i;2638:130:13:-;;;;;;:::i;:::-;;:::i;8455:209::-;8557:4;-1:-1:-1;;;;;;8578:41:13;;-1:-1:-1;;;8578:41:13;;:81;;;8623:36;8647:11;8623:23;:36::i;:::-;8571:88;8455:209;-1:-1:-1;;8455:209:13:o;2470:98:4:-;2524:13;2556:5;2549:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2470:98;:::o;3935:167::-;4011:7;4030:23;4045:7;4030:14;:23::i;:::-;-1:-1:-1;4071:24:4;;;;:15;:24;;;;;;-1:-1:-1;;;;;4071:24:4;;3935:167::o;3467:407::-;3547:13;3563:23;3578:7;3563:14;:23::i;:::-;3547:39;;3610:5;-1:-1:-1;;;;;3604:11:4;:2;-1:-1:-1;;;;;3604:11:4;;3596:57;;;;-1:-1:-1;;;3596:57:4;;9850:2:15;3596:57:4;;;9832:21:15;9889:2;9869:18;;;9862:30;9928:34;9908:18;;;9901:62;-1:-1:-1;;;9979:18:15;;;9972:31;10020:19;;3596:57:4;;;;;;;;;719:10:9;-1:-1:-1;;;;;3685:21:4;;;;:62;;-1:-1:-1;3710:37:4;3727:5;719:10:9;4388:162:4;:::i;3710:37::-;3664:171;;;;-1:-1:-1;;;3664:171:4;;10252:2:15;3664:171:4;;;10234:21:15;10291:2;10271:18;;;10264:30;10330:34;10310:18;;;10303:62;10401:32;10381:18;;;10374:60;10451:19;;3664:171:4;10050:426:15;3664:171:4;3846:21;3855:2;3859:7;3846:8;:21::i;:::-;3537:337;3467:407;;:::o;4612:327::-;4801:41;719:10:9;4834:7:4;4801:18;:41::i;:::-;4793:100;;;;-1:-1:-1;;;4793:100:4;;;;;;;:::i;:::-;4904:28;4914:4;4920:2;4924:7;4904:9;:28::i;8037:204:13:-;8165:17;;8217:10;;-1:-1:-1;;;;;8165:17:13;;;;8107:16;;8231:5;;8205:22;;:9;:22;:::i;:::-;8204:32;;;;:::i;:::-;8188:48;;8037:204;;;;;:::o;7145:176::-;7207:12;;7237:28;;;;:17;:28;;;;;:39;;;:79;;;;;;;;:::i;:::-;;;;7145:176;-1:-1:-1;;7145:176:13:o;8302:57::-;1094:13:0;:11;:13::i;:::-;8344:10:13::1;:8;:10::i;:::-;8302:57::o:0;5005:179:4:-;5138:39;5155:4;5161:2;5165:7;5138:39;;;;;;;;;;;;:16;:39::i;4811:620:13:-;4906:9;1507:23;1520:9;1507:12;:23::i;:::-;:32;1499:41;;;;;;1575:8;;:27;;-1:-1:-1;;;1575:27:13;;;;;4394:25:15;;;1606:10:13;;-1:-1:-1;;;;;1575:8:13;;:16;;4367:18:15;;1575:27:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1575:41:13;;1567:50;;;;;;4933:34:::1;4969:9:::0;4933:34;1376:25:::1;1391:9;1376:14;:25::i;:::-;:39;;;;;;;;:::i;:::-;;1368:65;;;;-1:-1:-1::0;;;1368:65:13::1;;;;;;;:::i;:::-;1239:19:3::2;:17;:19::i;:::-;5038:35:13::3;5020:8;5015:14;;;;;;;;:::i;:::-;:59;;:122;;;;-1:-1:-1::0;5101:35:13::3;5083:8;5078:14;;;;;;;;:::i;:::-;:59;;5015:122;5007:158;;;::::0;-1:-1:-1;;;5007:158:13;;12223:2:15;5007:158:13::3;::::0;::::3;12205:21:15::0;12262:2;12242:18;;;12235:30;12301:25;12281:18;;;12274:53;12344:18;;5007:158:13::3;12021:347:15::0;5007:158:13::3;5202:190;::::0;;::::3;::::0;::::3;::::0;;;;5236:34:::3;5202:190;;;;;5278:8;5202:190;;;;;;;;:::i;:::-;::::0;;::::3;;5294:42;5202:190;::::0;;::::3;::::0;::::3;;::::0;;::::3;::::0;;;;;;;;;;;-1:-1:-1;5171:28:13;;;:17:::3;:28:::0;;;;:221;;;;:28;;-1:-1:-1;;5171:221:13::3;::::0;;::::3;::::0;::::3;;;;;;:::i;:::-;;;::::0;;-1:-1:-1;5171:221:13::3;::::0;::::3;::::0;;;;;-1:-1:-1;;5171:221:13::3;;::::0;::::3;::::0;::::3;;;;;;:::i;:::-;;;::::0;;-1:-1:-1;5171:221:13::3;::::0;::::3;::::0;;;;;-1:-1:-1;;5171:221:13::3;::::0;;::::3;::::0;::::3;;;;;;:::i;:::-;;;::::0;;-1:-1:-1;5171:221:13::3;::::0;::::3;::::0;;;::::3;::::0;;::::3;::::0;-1:-1:-1;;5171:221:13;;;;::::3;::::0;;::::3;;-1:-1:-1::0;;5171:221:13;;-1:-1:-1;;;5171:221:13;;;::::3;;::::0;;;::::3;::::0;;5398:28:::3;5404:10;5416:9:::0;5398:5:::3;:28::i;:::-;1644:1:::1;;4811:620:::0;;;:::o;3381:452::-;3436:9;1507:23;1520:9;1507:12;:23::i;:::-;:32;1499:41;;;;;;1575:8;;:27;;-1:-1:-1;;;1575:27:13;;;;;4394:25:15;;;1606:10:13;;-1:-1:-1;;;;;1575:8:13;;:16;;4367:18:15;;1575:27:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1575:41:13;;1567:50;;;;;;3463:36:::1;3501:9:::0;3463:36;1376:25:::1;1391:9;1376:14;:25::i;:::-;:39;;;;;;;;:::i;:::-;;1368:65;;;;-1:-1:-1::0;;;1368:65:13::1;;;;;;;:::i;:::-;1239:19:3::2;:17;:19::i;:::-;3570:224:13::3;::::0;;::::3;::::0;::::3;::::0;;;;3604:36:::3;3570:224:::0;;::::3;;3648:40;3570:224:::0;;::::3;;3696:42;3570:224:::0;;::::3;::::0;::::3;;::::0;;::::3;::::0;;;;;;;;;;;-1:-1:-1;3539:28:13;;;:17:::3;:28:::0;;;;:255;;;;:28;;-1:-1:-1;;3539:255:13::3;::::0;;::::3;::::0;::::3;;;;;;:::i;:::-;;;::::0;;-1:-1:-1;3539:255:13::3;::::0;::::3;::::0;;;;;-1:-1:-1;;3539:255:13::3;;::::0;::::3;::::0;::::3;;;;;;:::i;:::-;;;::::0;;-1:-1:-1;3539:255:13::3;::::0;::::3;::::0;;;;;-1:-1:-1;;3539:255:13::3;::::0;;::::3;::::0;::::3;;;;;;:::i;:::-;;;::::0;;-1:-1:-1;3539:255:13::3;::::0;::::3;::::0;;;::::3;::::0;;::::3;::::0;-1:-1:-1;;3539:255:13;;;;::::3;::::0;;::::3;;-1:-1:-1::0;;3539:255:13;;-1:-1:-1;;;3539:255:13;;;::::3;;::::0;;;::::3;::::0;;3800:28:::3;3806:10;3818:9:::0;3800:5:::3;:28::i;:::-;1644:1:::1;;3381:452:::0;;:::o;5712:636::-;5811:9;1507:23;1520:9;1507:12;:23::i;:::-;:32;1499:41;;;;;;1575:8;;:27;;-1:-1:-1;;;1575:27:13;;;;;4394:25:15;;;1606:10:13;;-1:-1:-1;;;;;1575:8:13;;:16;;4367:18:15;;1575:27:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1575:41:13;;1567:50;;;;;;5838:38:::1;5878:9:::0;5838:38;1376:25:::1;1391:9;1376:14;:25::i;:::-;:39;;;;;;;;:::i;:::-;;1368:65;;;;-1:-1:-1::0;;;1368:65:13::1;;;;;;;:::i;:::-;1239:19:3::2;:17;:19::i;:::-;5947:35:13::3;5929:8;5924:14;;;;;;;;:::i;:::-;:59;;:122;;;;-1:-1:-1::0;6010:35:13::3;5992:8;5987:14;;;;;;;;:::i;:::-;:59;;5924:122;5916:162;;;::::0;-1:-1:-1;;;5916:162:13;;12575:2:15;5916:162:13::3;::::0;::::3;12557:21:15::0;12614:2;12594:18;;;12587:30;12653:29;12633:18;;;12626:57;12700:18;;5916:162:13::3;12373:351:15::0;5916:162:13::3;6115:194;::::0;;::::3;::::0;::::3;::::0;;;;6149:38:::3;6115:194;::::0;2190:218:4;2262:7;2297:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2297:16:4;;2323:56;;;;-1:-1:-1;;;2323:56:4;;12931:2:15;2323:56:4;;;12913:21:15;12970:2;12950:18;;;12943:30;-1:-1:-1;;;12989:18:15;;;12982:54;13053:18;;2323:56:4;12729:348:15;1929:204:4;2001:7;-1:-1:-1;;;;;2028:19:4;;2020:73;;;;-1:-1:-1;;;2020:73:4;;13284:2:15;2020:73:4;;;13266:21:15;13323:2;13303:18;;;13296:30;13362:34;13342:18;;;13335:62;-1:-1:-1;;;13413:18:15;;;13406:39;13462:19;;2020:73:4;13082:405:15;2020:73:4;-1:-1:-1;;;;;;2110:16:4;;;;;:9;:16;;;;;;;1929:204::o;1831:101:0:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;8245:53:13:-:0;1094:13:0;:11;:13::i;:::-;8285:8:13::1;:6;:8::i;2632:102:4:-:0;2688:13;2720:7;2713:14;;;;;:::i;4169:153::-;4263:52;719:10:9;4296:8:4;4306;4263:18;:52::i;:::-;4169:153;;:::o;7800:180:13:-;7859:13;7880:23;7895:7;7880:14;:23::i;:::-;7916:16;;;7948:26;;;:17;:26;;;;;;;7916:59;;-1:-1:-1;;;7916:59:13;;-1:-1:-1;;;;;7916:16:13;;;;:31;;:59;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7916:59:13;;;;;;;;;;;;:::i;6514:416::-;1094:13:0;:11;:13::i;:::-;1239:19:3::1;:17;:19::i;:::-;6612:17:13::2;:19:::0;;6583:18:::2;::::0;;6612:19:::2;::::0;::::2;:::i;:::-;::::0;;;-1:-1:-1;6604:27:13::2;::::0;:5:::2;:27;:::i;:::-;6672:219;::::0;;::::2;::::0;::::2;::::0;;;6583:48;;-1:-1:-1;6672:219:13;6706:35:::2;6672:219:::0;;::::2;;6749:40;6672:219:::0;;::::2;;6797:42;6672:219:::0;;::::2;::::0;::::2;;::::0;;::::2;::::0;;;;-1:-1:-1;6672:219:13;;;;;;;6637:32;;;:17:::2;:32:::0;;;;:254;;;;:32;;-1:-1:-1;;6637:254:13::2;::::0;;::::2;::::0;::::2;;;;;;:::i;:::-;;;::::0;;-1:-1:-1;6637:254:13::2;::::0;::::2;::::0;;;;;-1:-1:-1;;6637:254:13::2;;::::0;::::2;::::0;::::2;;;;;;:::i;:::-;;;::::0;;-1:-1:-1;6637:254:13::2;::::0;::::2;::::0;;;;;-1:-1:-1;;6637:254:13::2;::::0;;::::2;::::0;::::2;;;;;;:::i;:::-;;;::::0;;-1:-1:-1;6637:254:13::2;::::0;::::2;::::0;;;::::2;::::0;;::::2;::::0;-1:-1:-1;;6637:254:13;;;;::::2;::::0;;::::2;;-1:-1:-1::0;;6637:254:13;;-1:-1:-1;;;6637:254:13;;;::::2;;::::0;;;::::2;::::0;;6897:28:::2;6907:2:::0;6911:13;6897:9:::2;:28::i;5250:315:4:-:0;5418:41;719:10:9;5451:7:4;5418:18;:41::i;:::-;5410:100;;;;-1:-1:-1;;;5410:100:4;;;;;;;:::i;:::-;5520:38;5534:4;5540:2;5544:7;5553:4;5520:13;:38::i;7381:186:13:-;7446:13;7467:23;7482:7;7467:14;:23::i;:::-;7503:16;;;7535:26;;;:17;:26;;;;;;;7503:59;;-1:-1:-1;;;7503:59:13;;-1:-1:-1;;;;;7503:16:13;;;;:31;;:59;;;;;:::i;4050:488::-;4161:9;1507:23;1520:9;1507:12;:23::i;:::-;:32;1499:41;;;;;;1575:8;;:27;;-1:-1:-1;;;1575:27:13;;;;;4394:25:15;;;1606:10:13;;-1:-1:-1;;;;;1575:8:13;;:16;;4367:18:15;;1575:27:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;1575:41:13;;1567:50;;;;;;4188:38:::1;4228:9:::0;4188:38;1376:25:::1;1391:9;1376:14;:25::i;:::-;:39;;;;;;;;:::i;:::-;;1368:65;;;;-1:-1:-1::0;;;1368:65:13::1;;;;;;;:::i;:::-;1239:19:3::2;:17;:19::i;:::-;4297:202:13::3;::::0;;::::3;::::0;::::3;::::0;;;;4331:38:::3;4297:202:::0;;::::3;;4377:40;4297:202;;;;4425:18;4297:202;;;;;;;;:::i;2991:177::-:0;1094:13:0;:11;:13::i;:::-;3095:17:13::1;:38:::0;;-1:-1:-1;;;;;;3095:38:13::1;-1:-1:-1::0;;;;;3095:38:13;;;::::1;::::0;;;::::1;::::0;;;3139:10:::1;:24:::0;2991:177::o;4388:162:4:-;-1:-1:-1;;;;;4508:25:4;;;4485:4;4508:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4388:162::o;2081:198:0:-;1094:13;:11;:13::i;:::-;-1:-1:-1;;;;;2169:22:0;::::1;2161:73;;;::::0;-1:-1:-1;;;2161:73:0;;15264:2:15;2161:73:0::1;::::0;::::1;15246:21:15::0;15303:2;15283:18;;;15276:30;15342:34;15322:18;;;15315:62;-1:-1:-1;;;15393:18:15;;;15386:36;15439:19;;2161:73:0::1;15062:402:15::0;2161:73:0::1;2244:28;2263:8;2244:18;:28::i;:::-;2081:198:::0;:::o;2638:130:13:-;1094:13:0;:11;:13::i;:::-;2727:16:13::1;:36:::0;;-1:-1:-1;;;;;;2727:36:13::1;-1:-1:-1::0;;;;;2727:36:13;;;::::1;::::0;;;::::1;::::0;;2638:130::o;1570:300:4:-;1672:4;-1:-1:-1;;;;;;1707:40:4;;-1:-1:-1;;;1707:40:4;;:104;;-1:-1:-1;;;;;;;1763:48:4;;-1:-1:-1;;;1763:48:4;1707:104;:156;;;-1:-1:-1;;;;;;;;;;937:40:11;;;1827:36:4;829:155:11;11657:133:4;7099:4;7122:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7122:16:4;11730:53;;;;-1:-1:-1;;;11730:53:4;;12931:2:15;11730:53:4;;;12913:21:15;12970:2;12950:18;;;12943:30;-1:-1:-1;;;12989:18:15;;;12982:54;13053:18;;11730:53:4;12729:348:15;10959:171:4;11033:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;11033:29:4;-1:-1:-1;;;;;11033:29:4;;;;;;;;:24;;11086:23;11033:24;11086:14;:23::i;:::-;-1:-1:-1;;;;;11077:46:4;;;;;;;;;;;10959:171;;:::o;7317:261::-;7410:4;7426:13;7442:23;7457:7;7442:14;:23::i;:::-;7426:39;;7494:5;-1:-1:-1;;;;;7483:16:4;:7;-1:-1:-1;;;;;7483:16:4;;:52;;;;7503:32;7520:5;7527:7;7503:16;:32::i;:::-;7483:87;;;;7563:7;-1:-1:-1;;;;;7539:31:4;:20;7551:7;7539:11;:20::i;:::-;-1:-1:-1;;;;;7539:31:4;;7483:87;7475:96;7317:261;-1:-1:-1;;;;7317:261:4:o;10242:605::-;10396:4;-1:-1:-1;;;;;10369:31:4;:23;10384:7;10369:14;:23::i;:::-;-1:-1:-1;;;;;10369:31:4;;10361:81;;;;-1:-1:-1;;;10361:81:4;;15671:2:15;10361:81:4;;;15653:21:15;15710:2;15690:18;;;15683:30;15749:34;15729:18;;;15722:62;-1:-1:-1;;;15800:18:15;;;15793:35;15845:19;;10361:81:4;15469:401:15;10361:81:4;-1:-1:-1;;;;;10460:16:4;;10452:65;;;;-1:-1:-1;;;10452:65:4;;16077:2:15;10452:65:4;;;16059:21:15;16116:2;16096:18;;;16089:30;16155:34;16135:18;;;16128:62;-1:-1:-1;;;16206:18:15;;;16199:34;16250:19;;10452:65:4;15875:400:15;10452:65:4;10629:29;10646:1;10650:7;10629:8;:29::i;:::-;-1:-1:-1;;;;;10669:15:4;;;;;;:9;:15;;;;;:20;;10688:1;;10669:15;:20;;10688:1;;10669:20;:::i;:::-;;;;-1:-1:-1;;;;;;;10699:13:4;;;;;;:9;:13;;;;;:18;;10716:1;;10699:13;:18;;10716:1;;10699:18;:::i;:::-;;;;-1:-1:-1;;10727:16:4;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;10727:21:4;-1:-1:-1;;;;;10727:21:4;;;;;;;;;10764:27;;10727:16;;10764:27;;;;;;;3537:337;3467:407;;:::o;1359:130:0:-;1273:6;;-1:-1:-1;;;;;1273:6:0;;;;;719:10:9;1422:23:0;1414:68;;;;-1:-1:-1;;;1414:68:0;;16615:2:15;1414:68:0;;;16597:21:15;;;16634:18;;;16627:30;16693:34;16673:18;;;16666:62;16745:18;;1414:68:0;16413:356:15;2433:117:3;1486:16;:14;:16::i;:::-;2491:7:::1;:15:::0;;-1:-1:-1;;2491:15:3::1;::::0;;2521:22:::1;719:10:9::0;2530:12:3::1;2521:22;::::0;-1:-1:-1;;;;;1697:32:15;;;1679:51;;1667:2;1652:18;2521:22:3::1;;;;;;;2433:117::o:0;1864:637:13:-;2007:8;;:43;;-1:-1:-1;;;2007:43:13;;;;;4394:25:15;;;1931:39:13;;;;-1:-1:-1;;;;;2007:8:13;;;;:32;;4367:18:15;;2007:43:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1978:72;-1:-1:-1;2069:27:13;2061:4;:35;;;;;;;;:::i;:::-;;2057:390;;2122:3;2110:9;:15;2106:174;;;-1:-1:-1;2144:36:13;;1864:637;-1:-1:-1;;1864:637:13:o;2106:174::-;2211:3;2199:9;:15;2195:85;;;-1:-1:-1;2233:38:13;;1864:637;-1:-1:-1;;1864:637:13:o;2195:85::-;-1:-1:-1;2295:34:13;;1864:637;-1:-1:-1;;1864:637:13:o;2057:390::-;2354:31;2346:4;:39;;;;;;;;:::i;:::-;;2342:105;;-1:-1:-1;2402:38:13;;1864:637;-1:-1:-1;;1864:637:13:o;2342:105::-;-1:-1:-1;2460:36:13;;1864:637;-1:-1:-1;;1864:637:13:o;1767:106:3:-;1685:7;;;;1836:9;1828:38;;;;-1:-1:-1;;;1828:38:3;;17250:2:15;1828:38:3;;;17232:21:15;17289:2;17269:18;;;17262:30;-1:-1:-1;;;17308:18:15;;;17301:46;17364:18;;1828:38:3;17048:340:15;8868:427:4;-1:-1:-1;;;;;8947:16:4;;8939:61;;;;-1:-1:-1;;;8939:61:4;;17595:2:15;8939:61:4;;;17577:21:15;;;17614:18;;;17607:30;17673:34;17653:18;;;17646:62;17725:18;;8939:61:4;17393:356:15;8939:61:4;7099:4;7122:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7122:16:4;:30;9010:58;;;;-1:-1:-1;;;9010:58:4;;17956:2:15;9010:58:4;;;17938:21:15;17995:2;17975:18;;;17968:30;18034;18014:18;;;18007:58;18082:18;;9010:58:4;17754:352:15;9010:58:4;-1:-1:-1;;;;;9135:13:4;;;;;;:9;:13;;;;;:18;;9152:1;;9135:13;:18;;9152:1;;9135:18;:::i;:::-;;;;-1:-1:-1;;9163:16:4;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9163:21:4;-1:-1:-1;;;;;9163:21:4;;;;;;;;9200:33;;9163:16;;;9200:33;;9163:16;;9200:33;4169:153;;:::o;2433:187:0:-;2525:6;;;-1:-1:-1;;;;;2541:17:0;;;2525:6;2541:17;;;-1:-1:-1;;;;;;2541:17:0;;;;;;2573:40;;2525:6;;;;;;;;2573:40;;2506:16;;2573:40;2496:124;2433:187;:::o;2186:115:3:-;1239:19;:17;:19::i;:::-;2245:7:::1;:14:::0;;-1:-1:-1;;2245:14:3::1;2255:4;2245:14;::::0;;2274:20:::1;2281:12;719:10:9::0;;640:96;11266:307:4;11416:8;-1:-1:-1;;;;;11407:17:4;:5;-1:-1:-1;;;;;11407:17:4;;11399:55;;;;-1:-1:-1;;;11399:55:4;;18313:2:15;11399:55:4;;;18295:21:15;18352:2;18332:18;;;18325:30;18391:27;18371:18;;;18364:55;18436:18;;11399:55:4;18111:349:15;11399:55:4;-1:-1:-1;;;;;11464:25:4;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;11464:46:4;;;;;;;;;;11525:41;;540::15;;;11525::4;;513:18:15;11525:41:4;;;;;;;11266:307;;;:::o;7908:108::-;7983:26;7993:2;7997:7;7983:26;;;;;;;;;;;;:9;:26::i;6426:305::-;6576:28;6586:4;6592:2;6596:7;6576:9;:28::i;:::-;6622:47;6645:4;6651:2;6655:7;6664:4;6622:22;:47::i;:::-;6614:110;;;;-1:-1:-1;;;6614:110:4;;;;;;;:::i;1945:106:3:-;1685:7;;;;2003:41;;;;-1:-1:-1;;;2003:41:3;;19086:2:15;2003:41:3;;;19068:21:15;19125:2;19105:18;;;19098:30;-1:-1:-1;;;19144:18:15;;;19137:50;19204:18;;2003:41:3;18884:344:15;8237:309:4;8361:18;8367:2;8371:7;8361:5;:18::i;:::-;8410:53;8441:1;8445:2;8449:7;8458:4;8410:22;:53::i;:::-;8389:150;;;;-1:-1:-1;;;8389:150:4;;;;;;;:::i;12342:831::-;12491:4;-1:-1:-1;;;;;12511:13:4;;1465:19:8;:23;12507:660:4;;12546:71;;-1:-1:-1;;;12546:71:4;;-1:-1:-1;;;;;12546:36:4;;;;;:71;;719:10:9;;12597:4:4;;12603:7;;12612:4;;12546:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12546:71:4;;;;;;;;-1:-1:-1;;12546:71:4;;;;;;;;;;;;:::i;:::-;;;12542:573;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12784:6;:13;12801:1;12784:18;12780:321;;12826:60;;-1:-1:-1;;;12826:60:4;;;;;;;:::i;12780:321::-;13053:6;13047:13;13038:6;13034:2;13030:15;13023:38;12542:573;-1:-1:-1;;;;;;12667:51:4;-1:-1:-1;;;12667:51:4;;-1:-1:-1;12660:58:4;;12507:660;-1:-1:-1;13152:4:4;12342:831;;;;;;:::o;14:131:15:-;-1:-1:-1;;;;;;88:32:15;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:15:o;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:15;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:15;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:15:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:15;;1348:180;-1:-1:-1;1348:180:15:o;1741:131::-;-1:-1:-1;;;;;1816:31:15;;1806:42;;1796:70;;1862:1;1859;1852:12;1877:315;1945:6;1953;2006:2;1994:9;1985:7;1981:23;1977:32;1974:52;;;2022:1;2019;2012:12;1974:52;2061:9;2048:23;2080:31;2105:5;2080:31;:::i;:::-;2130:5;2182:2;2167:18;;;;2154:32;;-1:-1:-1;;;1877:315:15:o;2197:456::-;2274:6;2282;2290;2343:2;2331:9;2322:7;2318:23;2314:32;2311:52;;;2359:1;2356;2349:12;2311:52;2398:9;2385:23;2417:31;2442:5;2417:31;:::i;:::-;2467:5;-1:-1:-1;2524:2:15;2509:18;;2496:32;2537:33;2496:32;2537:33;:::i;:::-;2197:456;;2589:7;;-1:-1:-1;;;2643:2:15;2628:18;;;;2615:32;;2197:456::o;2658:248::-;2726:6;2734;2787:2;2775:9;2766:7;2762:23;2758:32;2755:52;;;2803:1;2800;2793:12;2755:52;-1:-1:-1;;2826:23:15;;;2896:2;2881:18;;;2868:32;;-1:-1:-1;2658:248:15:o;3190:343::-;3277:6;3285;3338:2;3326:9;3317:7;3313:23;3309:32;3306:52;;;3354:1;3351;3344:12;3306:52;3390:9;3377:23;3367:33;;3450:2;3439:9;3435:18;3422:32;3483:1;3476:5;3473:12;3463:40;;3499:1;3496;3489:12;3463:40;3522:5;3512:15;;;3190:343;;;;;:::o;3996:247::-;4055:6;4108:2;4096:9;4087:7;4083:23;4079:32;4076:52;;;4124:1;4121;4114:12;4076:52;4163:9;4150:23;4182:31;4207:5;4182:31;:::i;4430:127::-;4491:10;4486:3;4482:20;4479:1;4472:31;4522:4;4519:1;4512:15;4546:4;4543:1;4536:15;4562:141;4644:1;4637:5;4634:12;4624:46;;4650:18;;:::i;:::-;4679;;4562:141::o;4708:145::-;4794:1;4787:5;4784:12;4774:46;;4800:18;;:::i;4858:147::-;4946:1;4939:5;4936:12;4926:46;;4952:18;;:::i;5010:621::-;5301:3;5286:19;;5314:45;5290:9;5341:6;5314:45;:::i;:::-;5368:58;5422:2;5411:9;5407:18;5399:6;5368:58;:::i;:::-;5435:60;5491:2;5480:9;5476:18;5468:6;5435:60;:::i;:::-;5514:6;5568:2;5560:6;5556:15;5551:2;5540:9;5536:18;5529:43;5621:2;5613:6;5609:15;5603:3;5592:9;5588:19;5581:44;;5010:621;;;;;;;;:::o;5869:416::-;5934:6;5942;5995:2;5983:9;5974:7;5970:23;5966:32;5963:52;;;6011:1;6008;6001:12;5963:52;6050:9;6037:23;6069:31;6094:5;6069:31;:::i;:::-;6119:5;-1:-1:-1;6176:2:15;6161:18;;6148:32;6218:15;;6211:23;6199:36;;6189:64;;6249:1;6246;6239:12;6290:127;6351:10;6346:3;6342:20;6339:1;6332:31;6382:4;6379:1;6372:15;6406:4;6403:1;6396:15;6422:275;6493:2;6487:9;6558:2;6539:13;;-1:-1:-1;;6535:27:15;6523:40;;6593:18;6578:34;;6614:22;;;6575:62;6572:88;;;6640:18;;:::i;:::-;6676:2;6669:22;6422:275;;-1:-1:-1;6422:275:15:o;6702:186::-;6750:4;6783:18;6775:6;6772:30;6769:56;;;6805:18;;:::i;:::-;-1:-1:-1;6871:2:15;6850:15;-1:-1:-1;;6846:29:15;6877:4;6842:40;;6702:186::o;6893:1016::-;6988:6;6996;7004;7012;7065:3;7053:9;7044:7;7040:23;7036:33;7033:53;;;7082:1;7079;7072:12;7033:53;7121:9;7108:23;7140:31;7165:5;7140:31;:::i;:::-;7190:5;-1:-1:-1;7247:2:15;7232:18;;7219:32;7260:33;7219:32;7260:33;:::i;:::-;7312:7;-1:-1:-1;7366:2:15;7351:18;;7338:32;;-1:-1:-1;7421:2:15;7406:18;;7393:32;7448:18;7437:30;;7434:50;;;7480:1;7477;7470:12;7434:50;7503:22;;7556:4;7548:13;;7544:27;-1:-1:-1;7534:55:15;;7585:1;7582;7575:12;7534:55;7621:2;7608:16;7646:48;7662:31;7690:2;7662:31;:::i;:::-;7646:48;:::i;:::-;7717:2;7710:5;7703:17;7757:7;7752:2;7747;7743;7739:11;7735:20;7732:33;7729:53;;;7778:1;7775;7768:12;7729:53;7833:2;7828;7824;7820:11;7815:2;7808:5;7804:14;7791:45;7877:1;7872:2;7867;7860:5;7856:14;7852:23;7845:34;7898:5;7888:15;;;;;6893:1016;;;;;;;:::o;7914:345::-;8003:6;8011;8064:2;8052:9;8043:7;8039:23;8035:32;8032:52;;;8080:1;8077;8070:12;8032:52;8116:9;8103:23;8093:33;;8176:2;8165:9;8161:18;8148:32;8209:1;8202:5;8199:12;8189:40;;8225:1;8222;8215:12;8592:388;8660:6;8668;8721:2;8709:9;8700:7;8696:23;8692:32;8689:52;;;8737:1;8734;8727:12;8689:52;8776:9;8763:23;8795:31;8820:5;8795:31;:::i;:::-;8845:5;-1:-1:-1;8902:2:15;8887:18;;8874:32;8915:33;8874:32;8915:33;:::i;9263:380::-;9342:1;9338:12;;;;9385;;;9406:61;;9460:4;9452:6;9448:17;9438:27;;9406:61;9513:2;9505:6;9502:14;9482:18;9479:38;9476:161;;9559:10;9554:3;9550:20;9547:1;9540:31;9594:4;9591:1;9584:15;9622:4;9619:1;9612:15;9476:161;;9263:380;;;:::o;10481:410::-;10683:2;10665:21;;;10722:2;10702:18;;;10695:30;10761:34;10756:2;10741:18;;10734:62;-1:-1:-1;;;10827:2:15;10812:18;;10805:44;10881:3;10866:19;;10481:410::o;10896:127::-;10957:10;10952:3;10948:20;10945:1;10938:31;10988:4;10985:1;10978:15;11012:4;11009:1;11002:15;11028:168;11068:7;11134:1;11130;11126:6;11122:14;11119:1;11116:21;11111:1;11104:9;11097:17;11093:45;11090:71;;;11141:18;;:::i;:::-;-1:-1:-1;11181:9:15;;11028:168::o;11201:217::-;11241:1;11267;11257:132;;11311:10;11306:3;11302:20;11299:1;11292:31;11346:4;11343:1;11336:15;11374:4;11371:1;11364:15;11257:132;-1:-1:-1;11403:9:15;;11201:217::o;11423:251::-;11493:6;11546:2;11534:9;11525:7;11521:23;11517:32;11514:52;;;11562:1;11559;11552:12;11514:52;11594:9;11588:16;11613:31;11638:5;11613:31;:::i;11679:337::-;11881:2;11863:21;;;11920:2;11900:18;;;11893:30;-1:-1:-1;;;11954:2:15;11939:18;;11932:43;12007:2;11992:18;;11679:337::o;13492:642::-;13705:13;;13675:3;13660:19;;;13727:59;13664:9;13769:4;13754:20;;13727:59;:::i;:::-;13795:82;13871:4;13860:9;13856:20;13849:4;13837:9;13834:1;13830:17;13826:28;13795:82;:::i;:::-;13886:85;13965:4;13954:9;13950:20;13943:4;13931:9;13927:2;13923:18;13919:29;13886:85;:::i;:::-;13990:6;14058:2;14046:9;14042:2;14038:18;14034:27;14027:4;14016:9;14012:20;14005:57;14124:2;14112:9;14108:2;14104:18;14100:27;14093:4;14082:9;14078:20;14071:57;;;13492:642;;;;:::o;14139:648::-;14219:6;14272:2;14260:9;14251:7;14247:23;14243:32;14240:52;;;14288:1;14285;14278:12;14240:52;14321:9;14315:16;14354:18;14346:6;14343:30;14340:50;;;14386:1;14383;14376:12;14340:50;14409:22;;14462:4;14454:13;;14450:27;-1:-1:-1;14440:55:15;;14491:1;14488;14481:12;14440:55;14520:2;14514:9;14545:48;14561:31;14589:2;14561:31;:::i;14545:48::-;14616:2;14609:5;14602:17;14656:7;14651:2;14646;14642;14638:11;14634:20;14631:33;14628:53;;;14677:1;14674;14667:12;14628:53;14690:67;14754:2;14749;14742:5;14738:14;14733:2;14729;14725:11;14690:67;:::i;:::-;14776:5;14139:648;-1:-1:-1;;;;;14139:648:15:o;14792:135::-;14831:3;14852:17;;;14849:43;;14872:18;;:::i;:::-;-1:-1:-1;14919:1:15;14908:13;;14792:135::o;14932:125::-;14997:9;;;15018:10;;;15015:36;;;15031:18;;:::i;16280:128::-;16347:9;;;16368:11;;;16365:37;;;16382:18;;:::i;16774:269::-;16853:6;16906:2;16894:9;16885:7;16881:23;16877:32;16874:52;;;16922:1;16919;16912:12;16874:52;16954:9;16948:16;16993:1;16986:5;16983:12;16973:40;;17009:1;17006;16999:12;18465:414;18667:2;18649:21;;;18706:2;18686:18;;;18679:30;18745:34;18740:2;18725:18;;18718:62;-1:-1:-1;;;18811:2:15;18796:18;;18789:48;18869:3;18854:19;;18465:414::o;19233:489::-;-1:-1:-1;;;;;19502:15:15;;;19484:34;;19554:15;;19549:2;19534:18;;19527:43;19601:2;19586:18;;19579:34;;;19649:3;19644:2;19629:18;;19622:31;;;19427:4;;19670:46;;19696:19;;19688:6;19670:46;:::i;:::-;19662:54;19233:489;-1:-1:-1;;;;;;19233:489:15:o;19727:249::-;19796:6;19849:2;19837:9;19828:7;19824:23;19820:32;19817:52;;;19865:1;19862;19855:12;19817:52;19897:9;19891:16;19916:30;19940:5;19916:30;:::i

Swarm Source

ipfs://21949e559192e5ac78cb0d6a29692d1ee3a2ca28085042e5f4d54d196a4361fc
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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