ETH Price: $2,744.44 (-0.28%)

Token

FreedomAndExpression (RSFE)
 

Overview

Max Total Supply

8 RSFE

Holders

5

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
a463e8.eth
Balance
1 RSFE
0xf89a463e880c34f3c41af86244d49a42ae209b1d
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:
FreedomAndExpression

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 20 : FreedomAndExpression.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.14;

import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "../libraries/LibRoyaltiesV2.sol";
import "./ERC721.sol";
import "./RaribleRoyaltyV2.sol";

contract FreedomAndExpression is ERC721, Pausable, RaribleRoyaltyV2, Ownable {
  using Strings for uint256;

  event Sale(uint256 indexed tokenId, address indexed to, uint256 indexed price, uint256 timestamp);
  event Withdrawal(address indexed to, uint256 indexed amount, uint256 indexed timestamp);

  uint256 private constant PRINT_SUPPLY = 20;
  uint256 private constant ORIGINALS_COUNT = 5;
  uint256 private constant MAX_SUPPLY = 105;

  uint256 public oneOfOnePrice = 1.62 ether;
  uint256 public oneOfTwentyPrice = 0.16 ether;

  address public withdrawWallet = 0x46AdB53F4DAc76422c618304Eb39E7b5f2d26bae;
  address public nftHolder = 0xfc39a5F7359F036236410B4BAA3824402a1c2c25;
  address public royaltyReceiver = 0x65Ce391F03833434B1D50A2E9bD5401790e66e8D;
  address public artist = 0xeA3f5dC4BFE8C575173F8A5cB04C72c527c17469;

  //  FLOWER_CHILD = 0;
  //  MY_PLEASURE = 1;
  //  PHANTOM_OF_THE_OPERA = 2;
  //  POETRY_IN_MOTION = 3;
  //  HURRICANE = 4;
  mapping(uint256 => uint256) private printSupply;

  uint256 private _totalSupply;

  constructor() ERC721("FreedomAndExpression", "RSFE") {
    _setDefaultRoyalty(royaltyReceiver, 800);
    _setBaseURI("https://ipfs.idea.tf/ipfs/QmT2C17HW7taBELWXPAoNdR223hCbQ6ELcvnavT77E2nuz/");

    _safeMint(artist, 6); // The first Flower child
    _safeMint(artist, 86); // The first Hurricane
    _safeMint(nftHolder, 7); // The second Flower child
    _safeMint(nftHolder, 26); // The first My Pleasure
    printSupply[0] = 2;
    printSupply[1] = 1;
    printSupply[4] = 1;

    _totalSupply = 4;
  }

  function _getNextId(uint256 editionId) internal view returns(uint256) {
    return ORIGINALS_COUNT + editionId * 20 + printSupply[editionId] + 1;
  }

  function rareMint(uint256 tokenId) public payable whenNotPaused {
    require(tokenId <= ORIGINALS_COUNT && tokenId > 0, "tokenId must be between 1 and 5");
    require(_owners[tokenId] == address(0), "That token was already minted");
    require(msg.value == oneOfOnePrice, "You must send the right amount");

    _totalSupply++;
    _safeMint(msg.sender, tokenId);
    emit Sale(tokenId, msg.sender, msg.value, block.timestamp);
  }

  function mint(uint256 editionId) public payable whenNotPaused {
    require(editionId < ORIGINALS_COUNT, "That edition doesn't exist");
    require(printSupply[editionId] < PRINT_SUPPLY, "That edition was minted out");
    require(msg.value == oneOfTwentyPrice, "You must send the right amount");
    uint256 tokenId = _getNextId(editionId);
    printSupply[editionId]++;

    _totalSupply++;
    _safeMint(msg.sender, tokenId);
    emit Sale(tokenId, msg.sender, msg.value, block.timestamp);
  }

  function setRoyalties(address receiver, uint96 part) public onlyOwner {
    _setDefaultRoyalty(receiver, part);
  }

  // The following functions are overrides required by Solidity.
  function _beforeTokenTransfer(address from, address to, uint256 tokenId)
  internal
  override(ERC721)
  {
    super._beforeTokenTransfer(from, to, tokenId);
  }

  function totalSupply() public view returns (uint256) {
    return _totalSupply;
  }

  function isAvailable(uint256 tokenId) public view returns (bool) {
    require(tokenId > 0 && tokenId < MAX_SUPPLY, "That token doesn't exist");
    return (_owners[tokenId] == address(0));
  }

  function remainingSupply(uint256 editionId) public view returns (uint256) {
    require(editionId < 5, "That edition doesn't exist");
    return PRINT_SUPPLY - printSupply[editionId];
  }

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

    return string(abi.encodePacked(_baseURI, tokenId.toString(), ".json"));
  }

  function setWithdrawWallet(address _wallet) public onlyOwner {
    withdrawWallet = _wallet;
  }

  function supportsInterface(bytes4 interfaceId)
  public
  view
  override(ERC721, RaribleRoyaltyV2)
  returns (bool)
  {
    if(interfaceId == LibRoyaltiesV2._INTERFACE_ID_ROYALTIES) {
      return true;
    }
    return super.supportsInterface(interfaceId);
  }

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

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

  function setBaseURI(string memory _uri) public onlyOwner {
    _setBaseURI(_uri);
  }

  function setMintingPrices(uint256 _oneOfOne, uint256 _oneOfTwenty) public onlyOwner {
    oneOfOnePrice = _oneOfOne;
    oneOfTwentyPrice = _oneOfTwenty;
  }

  function withdraw() public {
    uint256 balance = address(this).balance;
    require(balance > 0, "No funds to withdraw");
    (bool success, ) = withdrawWallet.call{value: balance}("");
    require(success, "Could not process payment");
    emit Withdrawal(withdrawWallet, balance, block.timestamp);
  }
}

File 2 of 20 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `tokenId` must be already minted.
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 20 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

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

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

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

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

File 5 of 20 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 20 : LibRoyaltiesV2.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.14;

library LibRoyaltiesV2 {
  /*
   * bytes4(keccak256('getRaribleV2Royalties(uint256)')) == 0xcad96cca
   */
  bytes4 constant _INTERFACE_ID_ROYALTIES = 0xcad96cca;
}

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

pragma solidity 0.8.14;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/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;

    // Base URI
    string internal _baseURI;

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

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

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

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

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

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

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

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

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

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

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

        return string(abi.encodePacked(_baseURI, tokenId.toString()));
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _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: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

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

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

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

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

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || 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 a {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 a {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 Updates the baseURI used for token metadata
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setBaseURI(string memory _uri) internal {
        _baseURI = _uri;
    }

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

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

    /**
     * @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 20 : RaribleRoyaltyV2.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.14;
pragma abicoder v2;

import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "./AbstractRoyalties.sol";
import "../interfaces/RoyaltiesV2.sol";
import "../libraries/LibRoyalties2981.sol";

contract RaribleRoyaltyV2 is AbstractRoyalties, RoyaltiesV2, ERC2981 {

  function getRaribleV2Royalties(uint256 id) override external view returns (LibPart.Part[] memory) {
    return royalties[id];
  }

  function _onRoyaltiesSet(uint256 id, LibPart.Part[] memory _royalties) override internal {
    emit RoyaltiesSet(id, _royalties);
  }

  /*
  *Token (ERC721, ERC721Minimal, ERC721MinimalMeta, ERC1155 ) can have a number of different royalties beneficiaries
  *calculate sum all royalties, but royalties beneficiary will be only one royalties[0].account, according to rules of IERC2981
  */
  function royaltyInfo(uint256 id, uint256 _salePrice) override(ERC2981) public view returns (address receiver, uint256 royaltyAmount) {
    if (royalties[id].length == 0) {
      return super.royaltyInfo(id, _salePrice);
    }
    LibPart.Part[] memory _royalties = royalties[id];
    receiver = _royalties[0].account;
    uint percent;
    for (uint i = 0; i < _royalties.length; i++) {
      percent += _royalties[i].value;
    }
    //don`t need require(percent < 10000, "Token royalty > 100%"); here, because check later in calculateRoyalties
    royaltyAmount = percent * _salePrice / 10000;
  }


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

File 9 of 20 : 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 10 of 20 : 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 11 of 20 : 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 12 of 20 : 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 13 of 20 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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 be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

File 14 of 20 : 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 15 of 20 : 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);
}

File 16 of 20 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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

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

File 17 of 20 : AbstractRoyalties.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.14;

import "../libraries/LibPart.sol";

abstract contract AbstractRoyalties {
  mapping (uint256 => LibPart.Part[]) internal royalties;

  function _saveRoyalties(uint256 id, LibPart.Part[] memory _royalties) internal {
    uint256 totalValue;
    for (uint i = 0; i < _royalties.length; i++) {
      require(_royalties[i].account != address(0x0), "Recipient should be present");
      require(_royalties[i].value != 0, "Royalty value should be positive");
      totalValue += _royalties[i].value;
      royalties[id].push(_royalties[i]);
    }
    require(totalValue < 10000, "Royalty total value should be < 10000");
    _onRoyaltiesSet(id, _royalties);
  }

  function _updateAccount(uint256 _id, address _from, address _to) internal {
    uint length = royalties[_id].length;
    for(uint i = 0; i < length; i++) {
      if (royalties[_id][i].account == _from) {
        royalties[_id][i].account = payable(address(uint160(_to)));
      }
    }
  }

  function _onRoyaltiesSet(uint256 id, LibPart.Part[] memory _royalties) virtual internal;
}

File 18 of 20 : RoyaltiesV2.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.14;
pragma abicoder v2;

import "../libraries/LibPart.sol";

interface RoyaltiesV2 {
    event RoyaltiesSet(uint256 tokenId, LibPart.Part[] royalties);

    function getRaribleV2Royalties(uint256 id) external view returns (LibPart.Part[] memory);
}

File 19 of 20 : LibRoyalties2981.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.14;

import "./LibPart.sol";

library LibRoyalties2981 {
    /*
     * https://eips.ethereum.org/EIPS/eip-2981: bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a;
     */
    bytes4 constant _INTERFACE_ID_ROYALTIES = 0x2a55205a;
    uint96 constant _WEIGHT_VALUE = 1000000;

    /*Method for converting amount to percent and forming LibPart*/
    function calculateRoyalties(address to, uint256 amount) internal pure returns (LibPart.Part[] memory) {
        LibPart.Part[] memory result;
        if (amount == 0) {
            return result;
        }
        uint256 percent = amount * 10000 / _WEIGHT_VALUE;
        require(percent < 10000, "Royalties 2981 exceeds 100%");
        result = new LibPart.Part[](1);
        result[0].account = payable(to);
        result[0].value = uint96(percent);
        return result;
    }
}

File 20 of 20 : LibPart.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.14;

library LibPart {
    bytes32 public constant TYPE_HASH = keccak256("Part(address account,uint96 value)");

    struct Part {
        address payable account;
        uint96 value;
    }

    function hash(Part memory part) internal pure returns (bytes32) {
        return keccak256(abi.encode(TYPE_HASH, part.account, part.value));
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"components":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"indexed":false,"internalType":"struct LibPart.Part[]","name":"royalties","type":"tuple[]"}],"name":"RoyaltiesSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"Sale","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"Withdrawal","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"artist","outputs":[{"internalType":"address","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":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getRaribleV2Royalties","outputs":[{"components":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"internalType":"struct LibPart.Part[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isAvailable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"editionId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftHolder","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oneOfOnePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oneOfTwentyPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"rareMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"editionId","type":"uint256"}],"name":"remainingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","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":[],"name":"royaltyReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_oneOfOne","type":"uint256"},{"internalType":"uint256","name":"_oneOfTwenty","type":"uint256"}],"name":"setMintingPrices","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"part","type":"uint96"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"setWithdrawWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

608060405267167b656ab8220000600c556702386f26fc100000600d557346adb53f4dac76422c618304eb39e7b5f2d26bae600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073fc39a5f7359f036236410b4baa3824402a1c2c25600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507365ce391f03833434b1d50a2e9bd5401790e66e8d601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073ea3f5dc4bfe8c575173f8a5cb04c72c527c17469601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200017d57600080fd5b506040518060400160405280601481526020017f46726565646f6d416e6445787072657373696f6e0000000000000000000000008152506040518060400160405280600481526020017f525346450000000000000000000000000000000000000000000000000000000081525081600190805190602001906200020292919062000b6b565b5080600290805190602001906200021b92919062000b6b565b5050506000600860006101000a81548160ff021916908315150217905550620002596200024d620003e860201b60201c565b620003f060201b60201c565b6200028f601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610320620004b660201b60201c565b620002b960405180608001604052806049815260200162005fab604991396200065960201b60201c565b620002ee601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660066200067560201b60201c565b62000323601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660566200067560201b60201c565b62000358600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660076200067560201b60201c565b6200038d600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601a6200067560201b60201c565b600260126000808152602001908152602001600020819055506001601260006001815260200190815260200160002081905550600160126000600481526020019081526020016000208190555060046013819055506200118e565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620004c66200069b60201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111562000527576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200051e9062000ca2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000599576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005909062000d14565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b80600390805190602001906200067192919062000b6b565b5050565b62000697828260405180602001604052806000815250620006a560201b60201c565b5050565b6000612710905090565b620006b783836200071360201b60201c565b620006cc60008484846200090c60201b60201c565b6200070e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007059062000dac565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000785576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200077c9062000e1e565b60405180910390fd5b620007968162000ab560201b60201c565b15620007d9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007d09062000e90565b60405180910390fd5b620007ed6000838362000b2160201b60201c565b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546200083f919062000eeb565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4620009086000838362000b3e60201b60201c565b5050565b60006200093a8473ffffffffffffffffffffffffffffffffffffffff1662000b4360201b62001e3c1760201c565b1562000aa8578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026200096c620003e860201b60201c565b8786866040518563ffffffff1660e01b815260040162000990949392919062001042565b6020604051808303816000875af1925050508015620009cf57506040513d601f19601f82011682018060405250810190620009cc9190620010f8565b60015b62000a57573d806000811462000a02576040519150601f19603f3d011682016040523d82523d6000602084013e62000a07565b606091505b50600081510362000a4f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000a469062000dac565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505062000aad565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b62000b3983838362000b6660201b62001e5f1760201c565b505050565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b82805462000b799062001159565b90600052602060002090601f01602090048101928262000b9d576000855562000be9565b82601f1062000bb857805160ff191683800117855562000be9565b8280016001018555821562000be9579182015b8281111562000be857825182559160200191906001019062000bcb565b5b50905062000bf8919062000bfc565b5090565b5b8082111562000c1757600081600090555060010162000bfd565b5090565b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600062000c8a602a8362000c1b565b915062000c978262000c2c565b604082019050919050565b6000602082019050818103600083015262000cbd8162000c7b565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600062000cfc60198362000c1b565b915062000d098262000cc4565b602082019050919050565b6000602082019050818103600083015262000d2f8162000ced565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600062000d9460328362000c1b565b915062000da18262000d36565b604082019050919050565b6000602082019050818103600083015262000dc78162000d85565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600062000e0660208362000c1b565b915062000e138262000dce565b602082019050919050565b6000602082019050818103600083015262000e398162000df7565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600062000e78601c8362000c1b565b915062000e858262000e40565b602082019050919050565b6000602082019050818103600083015262000eab8162000e69565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000ef88262000eb2565b915062000f058362000eb2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000f3d5762000f3c62000ebc565b5b828201905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000f758262000f48565b9050919050565b62000f878162000f68565b82525050565b62000f988162000eb2565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b8381101562000fda57808201518184015260208101905062000fbd565b8381111562000fea576000848401525b50505050565b6000601f19601f8301169050919050565b60006200100e8262000f9e565b6200101a818562000fa9565b93506200102c81856020860162000fba565b620010378162000ff0565b840191505092915050565b600060808201905062001059600083018762000f7c565b62001068602083018662000f7c565b62001077604083018562000f8d565b81810360608301526200108b818462001001565b905095945050505050565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b620010d2816200109b565b8114620010de57600080fd5b50565b600081519050620010f281620010c7565b92915050565b60006020828403121562001111576200111062001096565b5b60006200112184828501620010e1565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200117257607f821691505b6020821081036200118857620011876200112a565b5b50919050565b614e0d806200119e6000396000f3fe60806040526004361061021a5760003560e01c80636352211e1161012357806395d89b41116100ab578063c21b471b1161006f578063c21b471b14610780578063c87b56dd146107a9578063cad96cca146107e6578063e985e9c514610823578063f2fde38b146108605761021a565b806395d89b41146106bc5780639fbc8713146106e7578063a0712d6814610712578063a22cb4651461072e578063b88d4fde146107575761021a565b80638456cb59116100f25780638456cb59146105fd57806385d178f4146106145780638a399dee1461063f5780638da5cb5b146106685780639373f432146106935761021a565b80636352211e1461054157806370a082311461057e578063715018a6146105bb57806377344d68146105d25761021a565b80633ccfd60b116101a657806343bc16121161017557806343bc16121461045a57806347fda41a1461048557806355f804b3146104c25780635c975abb146104eb5780636064fcc8146105165761021a565b80633ccfd60b146103e75780633ece1d7c146103fe5780633f4ba83a1461041a57806342842e0e146104315761021a565b8063095ea7b3116101ed578063095ea7b3146102ef57806318160ddd1461031857806323b872dd146103435780632a55205a1461036c5780633a178d99146103aa5761021a565b806301ffc9a71461021f578063050b7eea1461025c57806306fdde0314610287578063081812fc146102b2575b600080fd5b34801561022b57600080fd5b50610246600480360381019061024191906132cc565b610889565b6040516102539190613314565b60405180910390f35b34801561026857600080fd5b506102716108f1565b60405161027e9190613348565b60405180910390f35b34801561029357600080fd5b5061029c6108f7565b6040516102a991906133fc565b60405180910390f35b3480156102be57600080fd5b506102d960048036038101906102d4919061344a565b610989565b6040516102e691906134b8565b60405180910390f35b3480156102fb57600080fd5b50610316600480360381019061031191906134ff565b610a0e565b005b34801561032457600080fd5b5061032d610b25565b60405161033a9190613348565b60405180910390f35b34801561034f57600080fd5b5061036a6004803603810190610365919061353f565b610b2f565b005b34801561037857600080fd5b50610393600480360381019061038e9190613592565b610b8f565b6040516103a19291906135d2565b60405180910390f35b3480156103b657600080fd5b506103d160048036038101906103cc919061344a565b610d64565b6040516103de9190613314565b60405180910390f35b3480156103f357600080fd5b506103fc610e1e565b005b6104186004803603810190610413919061344a565b610f9f565b005b34801561042657600080fd5b5061042f611192565b005b34801561043d57600080fd5b506104586004803603810190610453919061353f565b611218565b005b34801561046657600080fd5b5061046f611238565b60405161047c91906134b8565b60405180910390f35b34801561049157600080fd5b506104ac60048036038101906104a7919061344a565b61125e565b6040516104b99190613348565b60405180910390f35b3480156104ce57600080fd5b506104e960048036038101906104e49190613730565b6112ca565b005b3480156104f757600080fd5b50610500611352565b60405161050d9190613314565b60405180910390f35b34801561052257600080fd5b5061052b611369565b60405161053891906134b8565b60405180910390f35b34801561054d57600080fd5b506105686004803603810190610563919061344a565b61138f565b60405161057591906134b8565b60405180910390f35b34801561058a57600080fd5b506105a560048036038101906105a09190613779565b611440565b6040516105b29190613348565b60405180910390f35b3480156105c757600080fd5b506105d06114f7565b005b3480156105de57600080fd5b506105e761157f565b6040516105f49190613348565b60405180910390f35b34801561060957600080fd5b50610612611585565b005b34801561062057600080fd5b5061062961160b565b60405161063691906134b8565b60405180910390f35b34801561064b57600080fd5b5061066660048036038101906106619190613592565b611631565b005b34801561067457600080fd5b5061067d6116bf565b60405161068a91906134b8565b60405180910390f35b34801561069f57600080fd5b506106ba60048036038101906106b59190613779565b6116e9565b005b3480156106c857600080fd5b506106d16117a9565b6040516106de91906133fc565b60405180910390f35b3480156106f357600080fd5b506106fc61183b565b60405161070991906134b8565b60405180910390f35b61072c6004803603810190610727919061344a565b611861565b005b34801561073a57600080fd5b50610755600480360381019061075091906137d2565b611a32565b005b34801561076357600080fd5b5061077e600480360381019061077991906138b3565b611a48565b005b34801561078c57600080fd5b506107a760048036038101906107a2919061397a565b611aaa565b005b3480156107b557600080fd5b506107d060048036038101906107cb919061344a565b611b34565b6040516107dd91906133fc565b60405180910390f35b3480156107f257600080fd5b5061080d6004803603810190610808919061344a565b611bb0565b60405161081a9190613ac8565b60405180910390f35b34801561082f57600080fd5b5061084a60048036038101906108459190613aea565b611cb1565b6040516108579190613314565b60405180910390f35b34801561086c57600080fd5b5061088760048036038101906108829190613779565b611d45565b005b600063cad96cca60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916036108e057600190506108ec565b6108e982611e64565b90505b919050565b600c5481565b60606001805461090690613b59565b80601f016020809104026020016040519081016040528092919081815260200182805461093290613b59565b801561097f5780601f106109545761010080835404028352916020019161097f565b820191906000526020600020905b81548152906001019060200180831161096257829003601f168201915b5050505050905090565b600061099482611e76565b6109d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ca90613bfc565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a198261138f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8090613c8e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610aa8611ee2565b73ffffffffffffffffffffffffffffffffffffffff161480610ad75750610ad681610ad1611ee2565b611cb1565b5b610b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0d90613d20565b60405180910390fd5b610b208383611eea565b505050565b6000601354905090565b610b40610b3a611ee2565b82611fa3565b610b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7690613db2565b60405180910390fd5b610b8a838383612081565b505050565b60008060008060008681526020019081526020016000208054905003610bc257610bb984846122e7565b91509150610d5d565b6000806000868152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015610cb8578382906000526020600020016040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505081526020019060010190610bf6565b50505050905080600081518110610cd257610cd1613dd2565b5b6020026020010151600001519250600080600090505b8251811015610d3e57828181518110610d0457610d03613dd2565b5b6020026020010151602001516bffffffffffffffffffffffff1682610d299190613e30565b91508080610d3690613e86565b915050610ce8565b506127108582610d4e9190613ece565b610d589190613f57565b925050505b9250929050565b60008082118015610d755750606982105b610db4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dab90613fd4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16149050919050565b600047905060008111610e66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5d90614040565b60405180910390fd5b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051610eae90614091565b60006040518083038185875af1925050503d8060008114610eeb576040519150601f19603f3d011682016040523d82523d6000602084013e610ef0565b606091505b5050905080610f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2b906140f2565b60405180910390fd5b4282600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fdf273cb619d95419a9cd0ec88123a0538c85064229baa6363788f743fff90deb60405160405180910390a45050565b610fa7611352565b15610fe7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fde9061415e565b60405180910390fd5b60058111158015610ff85750600081115b611037576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102e906141ca565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d090614236565b60405180910390fd5b600c54341461111d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611114906142a2565b60405180910390fd5b6013600081548092919061113090613e86565b919050555061113f33826124d1565b343373ffffffffffffffffffffffffffffffffffffffff16827ff64c153fb1f9152a3751f5b937536b3dc5c6205ec165e101509dc21e8b6db5be426040516111879190613348565b60405180910390a450565b61119a611ee2565b73ffffffffffffffffffffffffffffffffffffffff166111b86116bf565b73ffffffffffffffffffffffffffffffffffffffff161461120e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112059061430e565b60405180910390fd5b6112166124ef565b565b61123383838360405180602001604052806000815250611a48565b505050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600582106112a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129a9061437a565b60405180910390fd5b601260008381526020019081526020016000205460146112c3919061439a565b9050919050565b6112d2611ee2565b73ffffffffffffffffffffffffffffffffffffffff166112f06116bf565b73ffffffffffffffffffffffffffffffffffffffff1614611346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133d9061430e565b60405180910390fd5b61134f81612591565b50565b6000600860009054906101000a900460ff16905090565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611437576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142e90614440565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036114b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a7906144d2565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114ff611ee2565b73ffffffffffffffffffffffffffffffffffffffff1661151d6116bf565b73ffffffffffffffffffffffffffffffffffffffff1614611573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156a9061430e565b60405180910390fd5b61157d60006125ab565b565b600d5481565b61158d611ee2565b73ffffffffffffffffffffffffffffffffffffffff166115ab6116bf565b73ffffffffffffffffffffffffffffffffffffffff1614611601576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f89061430e565b60405180910390fd5b611609612671565b565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611639611ee2565b73ffffffffffffffffffffffffffffffffffffffff166116576116bf565b73ffffffffffffffffffffffffffffffffffffffff16146116ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a49061430e565b60405180910390fd5b81600c8190555080600d819055505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6116f1611ee2565b73ffffffffffffffffffffffffffffffffffffffff1661170f6116bf565b73ffffffffffffffffffffffffffffffffffffffff1614611765576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175c9061430e565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060600280546117b890613b59565b80601f01602080910402602001604051908101604052809291908181526020018280546117e490613b59565b80156118315780601f1061180657610100808354040283529160200191611831565b820191906000526020600020905b81548152906001019060200180831161181457829003601f168201915b5050505050905090565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611869611352565b156118a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a09061415e565b60405180910390fd5b600581106118ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e39061437a565b60405180910390fd5b6014601260008381526020019081526020016000205410611942576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119399061453e565b60405180910390fd5b600d543414611986576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197d906142a2565b60405180910390fd5b600061199182612714565b90506012600083815260200190815260200160002060008154809291906119b790613e86565b9190505550601360008154809291906119cf90613e86565b91905055506119de33826124d1565b343373ffffffffffffffffffffffffffffffffffffffff16827ff64c153fb1f9152a3751f5b937536b3dc5c6205ec165e101509dc21e8b6db5be42604051611a269190613348565b60405180910390a45050565b611a44611a3d611ee2565b8383612760565b5050565b611a59611a53611ee2565b83611fa3565b611a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8f90613db2565b60405180910390fd5b611aa4848484846128cc565b50505050565b611ab2611ee2565b73ffffffffffffffffffffffffffffffffffffffff16611ad06116bf565b73ffffffffffffffffffffffffffffffffffffffff1614611b26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1d9061430e565b60405180910390fd5b611b308282612928565b5050565b6060611b3f82611e76565b611b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b75906145d0565b60405180910390fd5b6003611b8983612abd565b604051602001611b9a92919061470c565b6040516020818303038152906040529050919050565b6060600080838152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015611ca6578382906000526020600020016040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505081526020019060010190611be4565b505050509050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d4d611ee2565b73ffffffffffffffffffffffffffffffffffffffff16611d6b6116bf565b73ffffffffffffffffffffffffffffffffffffffff1614611dc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db89061430e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e27906147ad565b60405180910390fd5b611e39816125ab565b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6000611e6f82612c1d565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f5d8361138f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611fae82611e76565b611fed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe49061483f565b60405180910390fd5b6000611ff88361138f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061203a57506120398185611cb1565b5b8061207857508373ffffffffffffffffffffffffffffffffffffffff1661206084610989565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166120a18261138f565b73ffffffffffffffffffffffffffffffffffffffff16146120f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ee906148d1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215d90614963565b60405180910390fd5b612171838383612c97565b61217c600082611eea565b6001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121cc919061439a565b925050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122239190613e30565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46122e2838383612ca7565b505050565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff160361247c5760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000612486612cac565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866124b29190613ece565b6124bc9190613f57565b90508160000151819350935050509250929050565b6124eb828260405180602001604052806000815250612cb6565b5050565b6124f7611352565b612536576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252d906149cf565b60405180910390fd5b6000600860006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61257a611ee2565b60405161258791906134b8565b60405180910390a1565b80600390805190602001906125a79291906131bd565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612679611352565b156126b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b09061415e565b60405180910390fd5b6001600860006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586126fd611ee2565b60405161270a91906134b8565b60405180910390a1565b6000600160126000848152602001908152602001600020546014846127399190613ece565b60056127459190613e30565b61274f9190613e30565b6127599190613e30565b9050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036127ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c590614a3b565b60405180910390fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516128bf9190613314565b60405180910390a3505050565b6128d7848484612081565b6128e384848484612d11565b612922576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291990614acd565b60405180910390fd5b50505050565b612930612cac565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111561298e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298590614b5f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036129fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129f490614bcb565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b606060008203612b04576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c18565b600082905060005b60008214612b36578080612b1f90613e86565b915050600a82612b2f9190613f57565b9150612b0c565b60008167ffffffffffffffff811115612b5257612b51613605565b5b6040519080825280601f01601f191660200182016040528015612b845781602001600182028036833780820191505090505b5090505b60008514612c1157600182612b9d919061439a565b9150600a85612bac9190614beb565b6030612bb89190613e30565b60f81b818381518110612bce57612bcd613dd2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c0a9190613f57565b9450612b88565b8093505050505b919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c905750612c8f82612e98565b5b9050919050565b612ca2838383611e5f565b505050565b505050565b6000612710905090565b612cc08383612f7a565b612ccd6000848484612d11565b612d0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0390614acd565b60405180910390fd5b505050565b6000612d328473ffffffffffffffffffffffffffffffffffffffff16611e3c565b15612e8b578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d5b611ee2565b8786866040518563ffffffff1660e01b8152600401612d7d9493929190614c71565b6020604051808303816000875af1925050508015612db957506040513d601f19601f82011682018060405250810190612db69190614cd2565b60015b612e3b573d8060008114612de9576040519150601f19603f3d011682016040523d82523d6000602084013e612dee565b606091505b506000815103612e33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2a90614acd565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e90565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612f6357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612f735750612f7282613153565b5b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612fe9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fe090614d4b565b60405180910390fd5b612ff281611e76565b15613032576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302990614db7565b60405180910390fd5b61303e60008383612c97565b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461308e9190613e30565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461314f60008383612ca7565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b8280546131c990613b59565b90600052602060002090601f0160209004810192826131eb5760008555613232565b82601f1061320457805160ff1916838001178555613232565b82800160010185558215613232579182015b82811115613231578251825591602001919060010190613216565b5b50905061323f9190613243565b5090565b5b8082111561325c576000816000905550600101613244565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6132a981613274565b81146132b457600080fd5b50565b6000813590506132c6816132a0565b92915050565b6000602082840312156132e2576132e161326a565b5b60006132f0848285016132b7565b91505092915050565b60008115159050919050565b61330e816132f9565b82525050565b60006020820190506133296000830184613305565b92915050565b6000819050919050565b6133428161332f565b82525050565b600060208201905061335d6000830184613339565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561339d578082015181840152602081019050613382565b838111156133ac576000848401525b50505050565b6000601f19601f8301169050919050565b60006133ce82613363565b6133d8818561336e565b93506133e881856020860161337f565b6133f1816133b2565b840191505092915050565b6000602082019050818103600083015261341681846133c3565b905092915050565b6134278161332f565b811461343257600080fd5b50565b6000813590506134448161341e565b92915050565b6000602082840312156134605761345f61326a565b5b600061346e84828501613435565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006134a282613477565b9050919050565b6134b281613497565b82525050565b60006020820190506134cd60008301846134a9565b92915050565b6134dc81613497565b81146134e757600080fd5b50565b6000813590506134f9816134d3565b92915050565b600080604083850312156135165761351561326a565b5b6000613524858286016134ea565b925050602061353585828601613435565b9150509250929050565b6000806000606084860312156135585761355761326a565b5b6000613566868287016134ea565b9350506020613577868287016134ea565b925050604061358886828701613435565b9150509250925092565b600080604083850312156135a9576135a861326a565b5b60006135b785828601613435565b92505060206135c885828601613435565b9150509250929050565b60006040820190506135e760008301856134a9565b6135f46020830184613339565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61363d826133b2565b810181811067ffffffffffffffff8211171561365c5761365b613605565b5b80604052505050565b600061366f613260565b905061367b8282613634565b919050565b600067ffffffffffffffff82111561369b5761369a613605565b5b6136a4826133b2565b9050602081019050919050565b82818337600083830152505050565b60006136d36136ce84613680565b613665565b9050828152602081018484840111156136ef576136ee613600565b5b6136fa8482856136b1565b509392505050565b600082601f830112613717576137166135fb565b5b81356137278482602086016136c0565b91505092915050565b6000602082840312156137465761374561326a565b5b600082013567ffffffffffffffff8111156137645761376361326f565b5b61377084828501613702565b91505092915050565b60006020828403121561378f5761378e61326a565b5b600061379d848285016134ea565b91505092915050565b6137af816132f9565b81146137ba57600080fd5b50565b6000813590506137cc816137a6565b92915050565b600080604083850312156137e9576137e861326a565b5b60006137f7858286016134ea565b9250506020613808858286016137bd565b9150509250929050565b600067ffffffffffffffff82111561382d5761382c613605565b5b613836826133b2565b9050602081019050919050565b600061385661385184613812565b613665565b90508281526020810184848401111561387257613871613600565b5b61387d8482856136b1565b509392505050565b600082601f83011261389a576138996135fb565b5b81356138aa848260208601613843565b91505092915050565b600080600080608085870312156138cd576138cc61326a565b5b60006138db878288016134ea565b94505060206138ec878288016134ea565b93505060406138fd87828801613435565b925050606085013567ffffffffffffffff81111561391e5761391d61326f565b5b61392a87828801613885565b91505092959194509250565b60006bffffffffffffffffffffffff82169050919050565b61395781613936565b811461396257600080fd5b50565b6000813590506139748161394e565b92915050565b600080604083850312156139915761399061326a565b5b600061399f858286016134ea565b92505060206139b085828601613965565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60006139f182613477565b9050919050565b613a01816139e6565b82525050565b613a1081613936565b82525050565b604082016000820151613a2c60008501826139f8565b506020820151613a3f6020850182613a07565b50505050565b6000613a518383613a16565b60408301905092915050565b6000602082019050919050565b6000613a75826139ba565b613a7f81856139c5565b9350613a8a836139d6565b8060005b83811015613abb578151613aa28882613a45565b9750613aad83613a5d565b925050600181019050613a8e565b5085935050505092915050565b60006020820190508181036000830152613ae28184613a6a565b905092915050565b60008060408385031215613b0157613b0061326a565b5b6000613b0f858286016134ea565b9250506020613b20858286016134ea565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613b7157607f821691505b602082108103613b8457613b83613b2a565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613be6602c8361336e565b9150613bf182613b8a565b604082019050919050565b60006020820190508181036000830152613c1581613bd9565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c7860218361336e565b9150613c8382613c1c565b604082019050919050565b60006020820190508181036000830152613ca781613c6b565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613d0a60388361336e565b9150613d1582613cae565b604082019050919050565b60006020820190508181036000830152613d3981613cfd565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613d9c60318361336e565b9150613da782613d40565b604082019050919050565b60006020820190508181036000830152613dcb81613d8f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613e3b8261332f565b9150613e468361332f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613e7b57613e7a613e01565b5b828201905092915050565b6000613e918261332f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613ec357613ec2613e01565b5b600182019050919050565b6000613ed98261332f565b9150613ee48361332f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613f1d57613f1c613e01565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613f628261332f565b9150613f6d8361332f565b925082613f7d57613f7c613f28565b5b828204905092915050565b7f5468617420746f6b656e20646f65736e27742065786973740000000000000000600082015250565b6000613fbe60188361336e565b9150613fc982613f88565b602082019050919050565b60006020820190508181036000830152613fed81613fb1565b9050919050565b7f4e6f2066756e647320746f207769746864726177000000000000000000000000600082015250565b600061402a60148361336e565b915061403582613ff4565b602082019050919050565b600060208201905081810360008301526140598161401d565b9050919050565b600081905092915050565b50565b600061407b600083614060565b91506140868261406b565b600082019050919050565b600061409c8261406e565b9150819050919050565b7f436f756c64206e6f742070726f63657373207061796d656e7400000000000000600082015250565b60006140dc60198361336e565b91506140e7826140a6565b602082019050919050565b6000602082019050818103600083015261410b816140cf565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b600061414860108361336e565b915061415382614112565b602082019050919050565b600060208201905081810360008301526141778161413b565b9050919050565b7f746f6b656e4964206d757374206265206265747765656e203120616e64203500600082015250565b60006141b4601f8361336e565b91506141bf8261417e565b602082019050919050565b600060208201905081810360008301526141e3816141a7565b9050919050565b7f5468617420746f6b656e2077617320616c7265616479206d696e746564000000600082015250565b6000614220601d8361336e565b915061422b826141ea565b602082019050919050565b6000602082019050818103600083015261424f81614213565b9050919050565b7f596f75206d7573742073656e642074686520726967687420616d6f756e740000600082015250565b600061428c601e8361336e565b915061429782614256565b602082019050919050565b600060208201905081810360008301526142bb8161427f565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006142f860208361336e565b9150614303826142c2565b602082019050919050565b60006020820190508181036000830152614327816142eb565b9050919050565b7f546861742065646974696f6e20646f65736e2774206578697374000000000000600082015250565b6000614364601a8361336e565b915061436f8261432e565b602082019050919050565b6000602082019050818103600083015261439381614357565b9050919050565b60006143a58261332f565b91506143b08361332f565b9250828210156143c3576143c2613e01565b5b828203905092915050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061442a60298361336e565b9150614435826143ce565b604082019050919050565b600060208201905081810360008301526144598161441d565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006144bc602a8361336e565b91506144c782614460565b604082019050919050565b600060208201905081810360008301526144eb816144af565b9050919050565b7f546861742065646974696f6e20776173206d696e746564206f75740000000000600082015250565b6000614528601b8361336e565b9150614533826144f2565b602082019050919050565b600060208201905081810360008301526145578161451b565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006145ba602f8361336e565b91506145c58261455e565b604082019050919050565b600060208201905081810360008301526145e9816145ad565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461461d81613b59565b61462781866145f0565b94506001821660008114614642576001811461465357614686565b60ff19831686528186019350614686565b61465c856145fb565b60005b8381101561467e5781548189015260018201915060208101905061465f565b838801955050505b50505092915050565b600061469a82613363565b6146a481856145f0565b93506146b481856020860161337f565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006146f66005836145f0565b9150614701826146c0565b600582019050919050565b60006147188285614610565b9150614724828461468f565b915061472f826146e9565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061479760268361336e565b91506147a28261473b565b604082019050919050565b600060208201905081810360008301526147c68161478a565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614829602c8361336e565b9150614834826147cd565b604082019050919050565b600060208201905081810360008301526148588161481c565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006148bb60258361336e565b91506148c68261485f565b604082019050919050565b600060208201905081810360008301526148ea816148ae565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061494d60248361336e565b9150614958826148f1565b604082019050919050565b6000602082019050818103600083015261497c81614940565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006149b960148361336e565b91506149c482614983565b602082019050919050565b600060208201905081810360008301526149e8816149ac565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614a2560198361336e565b9150614a30826149ef565b602082019050919050565b60006020820190508181036000830152614a5481614a18565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614ab760328361336e565b9150614ac282614a5b565b604082019050919050565b60006020820190508181036000830152614ae681614aaa565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614b49602a8361336e565b9150614b5482614aed565b604082019050919050565b60006020820190508181036000830152614b7881614b3c565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000614bb560198361336e565b9150614bc082614b7f565b602082019050919050565b60006020820190508181036000830152614be481614ba8565b9050919050565b6000614bf68261332f565b9150614c018361332f565b925082614c1157614c10613f28565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000614c4382614c1c565b614c4d8185614c27565b9350614c5d81856020860161337f565b614c66816133b2565b840191505092915050565b6000608082019050614c8660008301876134a9565b614c9360208301866134a9565b614ca06040830185613339565b8181036060830152614cb28184614c38565b905095945050505050565b600081519050614ccc816132a0565b92915050565b600060208284031215614ce857614ce761326a565b5b6000614cf684828501614cbd565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614d3560208361336e565b9150614d4082614cff565b602082019050919050565b60006020820190508181036000830152614d6481614d28565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614da1601c8361336e565b9150614dac82614d6b565b602082019050919050565b60006020820190508181036000830152614dd081614d94565b905091905056fea26469706673582212207ebe7f230269ff4d54b260f4e609869b8d302c84a936cad6d9fcd72895664a3164736f6c634300080e003368747470733a2f2f697066732e696465612e74662f697066732f516d5432433137485737746142454c575850416f4e64523232336843625136454c63766e617654373745326e757a2f

Deployed Bytecode

0x60806040526004361061021a5760003560e01c80636352211e1161012357806395d89b41116100ab578063c21b471b1161006f578063c21b471b14610780578063c87b56dd146107a9578063cad96cca146107e6578063e985e9c514610823578063f2fde38b146108605761021a565b806395d89b41146106bc5780639fbc8713146106e7578063a0712d6814610712578063a22cb4651461072e578063b88d4fde146107575761021a565b80638456cb59116100f25780638456cb59146105fd57806385d178f4146106145780638a399dee1461063f5780638da5cb5b146106685780639373f432146106935761021a565b80636352211e1461054157806370a082311461057e578063715018a6146105bb57806377344d68146105d25761021a565b80633ccfd60b116101a657806343bc16121161017557806343bc16121461045a57806347fda41a1461048557806355f804b3146104c25780635c975abb146104eb5780636064fcc8146105165761021a565b80633ccfd60b146103e75780633ece1d7c146103fe5780633f4ba83a1461041a57806342842e0e146104315761021a565b8063095ea7b3116101ed578063095ea7b3146102ef57806318160ddd1461031857806323b872dd146103435780632a55205a1461036c5780633a178d99146103aa5761021a565b806301ffc9a71461021f578063050b7eea1461025c57806306fdde0314610287578063081812fc146102b2575b600080fd5b34801561022b57600080fd5b50610246600480360381019061024191906132cc565b610889565b6040516102539190613314565b60405180910390f35b34801561026857600080fd5b506102716108f1565b60405161027e9190613348565b60405180910390f35b34801561029357600080fd5b5061029c6108f7565b6040516102a991906133fc565b60405180910390f35b3480156102be57600080fd5b506102d960048036038101906102d4919061344a565b610989565b6040516102e691906134b8565b60405180910390f35b3480156102fb57600080fd5b50610316600480360381019061031191906134ff565b610a0e565b005b34801561032457600080fd5b5061032d610b25565b60405161033a9190613348565b60405180910390f35b34801561034f57600080fd5b5061036a6004803603810190610365919061353f565b610b2f565b005b34801561037857600080fd5b50610393600480360381019061038e9190613592565b610b8f565b6040516103a19291906135d2565b60405180910390f35b3480156103b657600080fd5b506103d160048036038101906103cc919061344a565b610d64565b6040516103de9190613314565b60405180910390f35b3480156103f357600080fd5b506103fc610e1e565b005b6104186004803603810190610413919061344a565b610f9f565b005b34801561042657600080fd5b5061042f611192565b005b34801561043d57600080fd5b506104586004803603810190610453919061353f565b611218565b005b34801561046657600080fd5b5061046f611238565b60405161047c91906134b8565b60405180910390f35b34801561049157600080fd5b506104ac60048036038101906104a7919061344a565b61125e565b6040516104b99190613348565b60405180910390f35b3480156104ce57600080fd5b506104e960048036038101906104e49190613730565b6112ca565b005b3480156104f757600080fd5b50610500611352565b60405161050d9190613314565b60405180910390f35b34801561052257600080fd5b5061052b611369565b60405161053891906134b8565b60405180910390f35b34801561054d57600080fd5b506105686004803603810190610563919061344a565b61138f565b60405161057591906134b8565b60405180910390f35b34801561058a57600080fd5b506105a560048036038101906105a09190613779565b611440565b6040516105b29190613348565b60405180910390f35b3480156105c757600080fd5b506105d06114f7565b005b3480156105de57600080fd5b506105e761157f565b6040516105f49190613348565b60405180910390f35b34801561060957600080fd5b50610612611585565b005b34801561062057600080fd5b5061062961160b565b60405161063691906134b8565b60405180910390f35b34801561064b57600080fd5b5061066660048036038101906106619190613592565b611631565b005b34801561067457600080fd5b5061067d6116bf565b60405161068a91906134b8565b60405180910390f35b34801561069f57600080fd5b506106ba60048036038101906106b59190613779565b6116e9565b005b3480156106c857600080fd5b506106d16117a9565b6040516106de91906133fc565b60405180910390f35b3480156106f357600080fd5b506106fc61183b565b60405161070991906134b8565b60405180910390f35b61072c6004803603810190610727919061344a565b611861565b005b34801561073a57600080fd5b50610755600480360381019061075091906137d2565b611a32565b005b34801561076357600080fd5b5061077e600480360381019061077991906138b3565b611a48565b005b34801561078c57600080fd5b506107a760048036038101906107a2919061397a565b611aaa565b005b3480156107b557600080fd5b506107d060048036038101906107cb919061344a565b611b34565b6040516107dd91906133fc565b60405180910390f35b3480156107f257600080fd5b5061080d6004803603810190610808919061344a565b611bb0565b60405161081a9190613ac8565b60405180910390f35b34801561082f57600080fd5b5061084a60048036038101906108459190613aea565b611cb1565b6040516108579190613314565b60405180910390f35b34801561086c57600080fd5b5061088760048036038101906108829190613779565b611d45565b005b600063cad96cca60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916036108e057600190506108ec565b6108e982611e64565b90505b919050565b600c5481565b60606001805461090690613b59565b80601f016020809104026020016040519081016040528092919081815260200182805461093290613b59565b801561097f5780601f106109545761010080835404028352916020019161097f565b820191906000526020600020905b81548152906001019060200180831161096257829003601f168201915b5050505050905090565b600061099482611e76565b6109d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ca90613bfc565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a198261138f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8090613c8e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610aa8611ee2565b73ffffffffffffffffffffffffffffffffffffffff161480610ad75750610ad681610ad1611ee2565b611cb1565b5b610b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0d90613d20565b60405180910390fd5b610b208383611eea565b505050565b6000601354905090565b610b40610b3a611ee2565b82611fa3565b610b7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7690613db2565b60405180910390fd5b610b8a838383612081565b505050565b60008060008060008681526020019081526020016000208054905003610bc257610bb984846122e7565b91509150610d5d565b6000806000868152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015610cb8578382906000526020600020016040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505081526020019060010190610bf6565b50505050905080600081518110610cd257610cd1613dd2565b5b6020026020010151600001519250600080600090505b8251811015610d3e57828181518110610d0457610d03613dd2565b5b6020026020010151602001516bffffffffffffffffffffffff1682610d299190613e30565b91508080610d3690613e86565b915050610ce8565b506127108582610d4e9190613ece565b610d589190613f57565b925050505b9250929050565b60008082118015610d755750606982105b610db4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dab90613fd4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16149050919050565b600047905060008111610e66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5d90614040565b60405180910390fd5b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051610eae90614091565b60006040518083038185875af1925050503d8060008114610eeb576040519150601f19603f3d011682016040523d82523d6000602084013e610ef0565b606091505b5050905080610f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2b906140f2565b60405180910390fd5b4282600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fdf273cb619d95419a9cd0ec88123a0538c85064229baa6363788f743fff90deb60405160405180910390a45050565b610fa7611352565b15610fe7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fde9061415e565b60405180910390fd5b60058111158015610ff85750600081115b611037576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102e906141ca565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d090614236565b60405180910390fd5b600c54341461111d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611114906142a2565b60405180910390fd5b6013600081548092919061113090613e86565b919050555061113f33826124d1565b343373ffffffffffffffffffffffffffffffffffffffff16827ff64c153fb1f9152a3751f5b937536b3dc5c6205ec165e101509dc21e8b6db5be426040516111879190613348565b60405180910390a450565b61119a611ee2565b73ffffffffffffffffffffffffffffffffffffffff166111b86116bf565b73ffffffffffffffffffffffffffffffffffffffff161461120e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112059061430e565b60405180910390fd5b6112166124ef565b565b61123383838360405180602001604052806000815250611a48565b505050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600582106112a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129a9061437a565b60405180910390fd5b601260008381526020019081526020016000205460146112c3919061439a565b9050919050565b6112d2611ee2565b73ffffffffffffffffffffffffffffffffffffffff166112f06116bf565b73ffffffffffffffffffffffffffffffffffffffff1614611346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133d9061430e565b60405180910390fd5b61134f81612591565b50565b6000600860009054906101000a900460ff16905090565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611437576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142e90614440565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036114b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a7906144d2565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114ff611ee2565b73ffffffffffffffffffffffffffffffffffffffff1661151d6116bf565b73ffffffffffffffffffffffffffffffffffffffff1614611573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156a9061430e565b60405180910390fd5b61157d60006125ab565b565b600d5481565b61158d611ee2565b73ffffffffffffffffffffffffffffffffffffffff166115ab6116bf565b73ffffffffffffffffffffffffffffffffffffffff1614611601576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f89061430e565b60405180910390fd5b611609612671565b565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611639611ee2565b73ffffffffffffffffffffffffffffffffffffffff166116576116bf565b73ffffffffffffffffffffffffffffffffffffffff16146116ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a49061430e565b60405180910390fd5b81600c8190555080600d819055505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6116f1611ee2565b73ffffffffffffffffffffffffffffffffffffffff1661170f6116bf565b73ffffffffffffffffffffffffffffffffffffffff1614611765576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175c9061430e565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060600280546117b890613b59565b80601f01602080910402602001604051908101604052809291908181526020018280546117e490613b59565b80156118315780601f1061180657610100808354040283529160200191611831565b820191906000526020600020905b81548152906001019060200180831161181457829003601f168201915b5050505050905090565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611869611352565b156118a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a09061415e565b60405180910390fd5b600581106118ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e39061437a565b60405180910390fd5b6014601260008381526020019081526020016000205410611942576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119399061453e565b60405180910390fd5b600d543414611986576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197d906142a2565b60405180910390fd5b600061199182612714565b90506012600083815260200190815260200160002060008154809291906119b790613e86565b9190505550601360008154809291906119cf90613e86565b91905055506119de33826124d1565b343373ffffffffffffffffffffffffffffffffffffffff16827ff64c153fb1f9152a3751f5b937536b3dc5c6205ec165e101509dc21e8b6db5be42604051611a269190613348565b60405180910390a45050565b611a44611a3d611ee2565b8383612760565b5050565b611a59611a53611ee2565b83611fa3565b611a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8f90613db2565b60405180910390fd5b611aa4848484846128cc565b50505050565b611ab2611ee2565b73ffffffffffffffffffffffffffffffffffffffff16611ad06116bf565b73ffffffffffffffffffffffffffffffffffffffff1614611b26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1d9061430e565b60405180910390fd5b611b308282612928565b5050565b6060611b3f82611e76565b611b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b75906145d0565b60405180910390fd5b6003611b8983612abd565b604051602001611b9a92919061470c565b6040516020818303038152906040529050919050565b6060600080838152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015611ca6578382906000526020600020016040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505081526020019060010190611be4565b505050509050919050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d4d611ee2565b73ffffffffffffffffffffffffffffffffffffffff16611d6b6116bf565b73ffffffffffffffffffffffffffffffffffffffff1614611dc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db89061430e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e27906147ad565b60405180910390fd5b611e39816125ab565b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6000611e6f82612c1d565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f5d8361138f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611fae82611e76565b611fed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe49061483f565b60405180910390fd5b6000611ff88361138f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061203a57506120398185611cb1565b5b8061207857508373ffffffffffffffffffffffffffffffffffffffff1661206084610989565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166120a18261138f565b73ffffffffffffffffffffffffffffffffffffffff16146120f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ee906148d1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215d90614963565b60405180910390fd5b612171838383612c97565b61217c600082611eea565b6001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121cc919061439a565b925050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122239190613e30565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46122e2838383612ca7565b505050565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff160361247c5760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000612486612cac565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866124b29190613ece565b6124bc9190613f57565b90508160000151819350935050509250929050565b6124eb828260405180602001604052806000815250612cb6565b5050565b6124f7611352565b612536576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252d906149cf565b60405180910390fd5b6000600860006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61257a611ee2565b60405161258791906134b8565b60405180910390a1565b80600390805190602001906125a79291906131bd565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612679611352565b156126b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b09061415e565b60405180910390fd5b6001600860006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586126fd611ee2565b60405161270a91906134b8565b60405180910390a1565b6000600160126000848152602001908152602001600020546014846127399190613ece565b60056127459190613e30565b61274f9190613e30565b6127599190613e30565b9050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036127ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c590614a3b565b60405180910390fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516128bf9190613314565b60405180910390a3505050565b6128d7848484612081565b6128e384848484612d11565b612922576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291990614acd565b60405180910390fd5b50505050565b612930612cac565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111561298e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298590614b5f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036129fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129f490614bcb565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b606060008203612b04576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c18565b600082905060005b60008214612b36578080612b1f90613e86565b915050600a82612b2f9190613f57565b9150612b0c565b60008167ffffffffffffffff811115612b5257612b51613605565b5b6040519080825280601f01601f191660200182016040528015612b845781602001600182028036833780820191505090505b5090505b60008514612c1157600182612b9d919061439a565b9150600a85612bac9190614beb565b6030612bb89190613e30565b60f81b818381518110612bce57612bcd613dd2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c0a9190613f57565b9450612b88565b8093505050505b919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c905750612c8f82612e98565b5b9050919050565b612ca2838383611e5f565b505050565b505050565b6000612710905090565b612cc08383612f7a565b612ccd6000848484612d11565b612d0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0390614acd565b60405180910390fd5b505050565b6000612d328473ffffffffffffffffffffffffffffffffffffffff16611e3c565b15612e8b578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d5b611ee2565b8786866040518563ffffffff1660e01b8152600401612d7d9493929190614c71565b6020604051808303816000875af1925050508015612db957506040513d601f19601f82011682018060405250810190612db69190614cd2565b60015b612e3b573d8060008114612de9576040519150601f19603f3d011682016040523d82523d6000602084013e612dee565b606091505b506000815103612e33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2a90614acd565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e90565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612f6357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612f735750612f7282613153565b5b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612fe9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fe090614d4b565b60405180910390fd5b612ff281611e76565b15613032576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302990614db7565b60405180910390fd5b61303e60008383612c97565b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461308e9190613e30565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461314f60008383612ca7565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b8280546131c990613b59565b90600052602060002090601f0160209004810192826131eb5760008555613232565b82601f1061320457805160ff1916838001178555613232565b82800160010185558215613232579182015b82811115613231578251825591602001919060010190613216565b5b50905061323f9190613243565b5090565b5b8082111561325c576000816000905550600101613244565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6132a981613274565b81146132b457600080fd5b50565b6000813590506132c6816132a0565b92915050565b6000602082840312156132e2576132e161326a565b5b60006132f0848285016132b7565b91505092915050565b60008115159050919050565b61330e816132f9565b82525050565b60006020820190506133296000830184613305565b92915050565b6000819050919050565b6133428161332f565b82525050565b600060208201905061335d6000830184613339565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561339d578082015181840152602081019050613382565b838111156133ac576000848401525b50505050565b6000601f19601f8301169050919050565b60006133ce82613363565b6133d8818561336e565b93506133e881856020860161337f565b6133f1816133b2565b840191505092915050565b6000602082019050818103600083015261341681846133c3565b905092915050565b6134278161332f565b811461343257600080fd5b50565b6000813590506134448161341e565b92915050565b6000602082840312156134605761345f61326a565b5b600061346e84828501613435565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006134a282613477565b9050919050565b6134b281613497565b82525050565b60006020820190506134cd60008301846134a9565b92915050565b6134dc81613497565b81146134e757600080fd5b50565b6000813590506134f9816134d3565b92915050565b600080604083850312156135165761351561326a565b5b6000613524858286016134ea565b925050602061353585828601613435565b9150509250929050565b6000806000606084860312156135585761355761326a565b5b6000613566868287016134ea565b9350506020613577868287016134ea565b925050604061358886828701613435565b9150509250925092565b600080604083850312156135a9576135a861326a565b5b60006135b785828601613435565b92505060206135c885828601613435565b9150509250929050565b60006040820190506135e760008301856134a9565b6135f46020830184613339565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61363d826133b2565b810181811067ffffffffffffffff8211171561365c5761365b613605565b5b80604052505050565b600061366f613260565b905061367b8282613634565b919050565b600067ffffffffffffffff82111561369b5761369a613605565b5b6136a4826133b2565b9050602081019050919050565b82818337600083830152505050565b60006136d36136ce84613680565b613665565b9050828152602081018484840111156136ef576136ee613600565b5b6136fa8482856136b1565b509392505050565b600082601f830112613717576137166135fb565b5b81356137278482602086016136c0565b91505092915050565b6000602082840312156137465761374561326a565b5b600082013567ffffffffffffffff8111156137645761376361326f565b5b61377084828501613702565b91505092915050565b60006020828403121561378f5761378e61326a565b5b600061379d848285016134ea565b91505092915050565b6137af816132f9565b81146137ba57600080fd5b50565b6000813590506137cc816137a6565b92915050565b600080604083850312156137e9576137e861326a565b5b60006137f7858286016134ea565b9250506020613808858286016137bd565b9150509250929050565b600067ffffffffffffffff82111561382d5761382c613605565b5b613836826133b2565b9050602081019050919050565b600061385661385184613812565b613665565b90508281526020810184848401111561387257613871613600565b5b61387d8482856136b1565b509392505050565b600082601f83011261389a576138996135fb565b5b81356138aa848260208601613843565b91505092915050565b600080600080608085870312156138cd576138cc61326a565b5b60006138db878288016134ea565b94505060206138ec878288016134ea565b93505060406138fd87828801613435565b925050606085013567ffffffffffffffff81111561391e5761391d61326f565b5b61392a87828801613885565b91505092959194509250565b60006bffffffffffffffffffffffff82169050919050565b61395781613936565b811461396257600080fd5b50565b6000813590506139748161394e565b92915050565b600080604083850312156139915761399061326a565b5b600061399f858286016134ea565b92505060206139b085828601613965565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b60006139f182613477565b9050919050565b613a01816139e6565b82525050565b613a1081613936565b82525050565b604082016000820151613a2c60008501826139f8565b506020820151613a3f6020850182613a07565b50505050565b6000613a518383613a16565b60408301905092915050565b6000602082019050919050565b6000613a75826139ba565b613a7f81856139c5565b9350613a8a836139d6565b8060005b83811015613abb578151613aa28882613a45565b9750613aad83613a5d565b925050600181019050613a8e565b5085935050505092915050565b60006020820190508181036000830152613ae28184613a6a565b905092915050565b60008060408385031215613b0157613b0061326a565b5b6000613b0f858286016134ea565b9250506020613b20858286016134ea565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613b7157607f821691505b602082108103613b8457613b83613b2a565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613be6602c8361336e565b9150613bf182613b8a565b604082019050919050565b60006020820190508181036000830152613c1581613bd9565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c7860218361336e565b9150613c8382613c1c565b604082019050919050565b60006020820190508181036000830152613ca781613c6b565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613d0a60388361336e565b9150613d1582613cae565b604082019050919050565b60006020820190508181036000830152613d3981613cfd565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613d9c60318361336e565b9150613da782613d40565b604082019050919050565b60006020820190508181036000830152613dcb81613d8f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613e3b8261332f565b9150613e468361332f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613e7b57613e7a613e01565b5b828201905092915050565b6000613e918261332f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613ec357613ec2613e01565b5b600182019050919050565b6000613ed98261332f565b9150613ee48361332f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613f1d57613f1c613e01565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613f628261332f565b9150613f6d8361332f565b925082613f7d57613f7c613f28565b5b828204905092915050565b7f5468617420746f6b656e20646f65736e27742065786973740000000000000000600082015250565b6000613fbe60188361336e565b9150613fc982613f88565b602082019050919050565b60006020820190508181036000830152613fed81613fb1565b9050919050565b7f4e6f2066756e647320746f207769746864726177000000000000000000000000600082015250565b600061402a60148361336e565b915061403582613ff4565b602082019050919050565b600060208201905081810360008301526140598161401d565b9050919050565b600081905092915050565b50565b600061407b600083614060565b91506140868261406b565b600082019050919050565b600061409c8261406e565b9150819050919050565b7f436f756c64206e6f742070726f63657373207061796d656e7400000000000000600082015250565b60006140dc60198361336e565b91506140e7826140a6565b602082019050919050565b6000602082019050818103600083015261410b816140cf565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b600061414860108361336e565b915061415382614112565b602082019050919050565b600060208201905081810360008301526141778161413b565b9050919050565b7f746f6b656e4964206d757374206265206265747765656e203120616e64203500600082015250565b60006141b4601f8361336e565b91506141bf8261417e565b602082019050919050565b600060208201905081810360008301526141e3816141a7565b9050919050565b7f5468617420746f6b656e2077617320616c7265616479206d696e746564000000600082015250565b6000614220601d8361336e565b915061422b826141ea565b602082019050919050565b6000602082019050818103600083015261424f81614213565b9050919050565b7f596f75206d7573742073656e642074686520726967687420616d6f756e740000600082015250565b600061428c601e8361336e565b915061429782614256565b602082019050919050565b600060208201905081810360008301526142bb8161427f565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006142f860208361336e565b9150614303826142c2565b602082019050919050565b60006020820190508181036000830152614327816142eb565b9050919050565b7f546861742065646974696f6e20646f65736e2774206578697374000000000000600082015250565b6000614364601a8361336e565b915061436f8261432e565b602082019050919050565b6000602082019050818103600083015261439381614357565b9050919050565b60006143a58261332f565b91506143b08361332f565b9250828210156143c3576143c2613e01565b5b828203905092915050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061442a60298361336e565b9150614435826143ce565b604082019050919050565b600060208201905081810360008301526144598161441d565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006144bc602a8361336e565b91506144c782614460565b604082019050919050565b600060208201905081810360008301526144eb816144af565b9050919050565b7f546861742065646974696f6e20776173206d696e746564206f75740000000000600082015250565b6000614528601b8361336e565b9150614533826144f2565b602082019050919050565b600060208201905081810360008301526145578161451b565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006145ba602f8361336e565b91506145c58261455e565b604082019050919050565b600060208201905081810360008301526145e9816145ad565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461461d81613b59565b61462781866145f0565b94506001821660008114614642576001811461465357614686565b60ff19831686528186019350614686565b61465c856145fb565b60005b8381101561467e5781548189015260018201915060208101905061465f565b838801955050505b50505092915050565b600061469a82613363565b6146a481856145f0565b93506146b481856020860161337f565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006146f66005836145f0565b9150614701826146c0565b600582019050919050565b60006147188285614610565b9150614724828461468f565b915061472f826146e9565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061479760268361336e565b91506147a28261473b565b604082019050919050565b600060208201905081810360008301526147c68161478a565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614829602c8361336e565b9150614834826147cd565b604082019050919050565b600060208201905081810360008301526148588161481c565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006148bb60258361336e565b91506148c68261485f565b604082019050919050565b600060208201905081810360008301526148ea816148ae565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061494d60248361336e565b9150614958826148f1565b604082019050919050565b6000602082019050818103600083015261497c81614940565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006149b960148361336e565b91506149c482614983565b602082019050919050565b600060208201905081810360008301526149e8816149ac565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614a2560198361336e565b9150614a30826149ef565b602082019050919050565b60006020820190508181036000830152614a5481614a18565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614ab760328361336e565b9150614ac282614a5b565b604082019050919050565b60006020820190508181036000830152614ae681614aaa565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614b49602a8361336e565b9150614b5482614aed565b604082019050919050565b60006020820190508181036000830152614b7881614b3c565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000614bb560198361336e565b9150614bc082614b7f565b602082019050919050565b60006020820190508181036000830152614be481614ba8565b9050919050565b6000614bf68261332f565b9150614c018361332f565b925082614c1157614c10613f28565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000614c4382614c1c565b614c4d8185614c27565b9350614c5d81856020860161337f565b614c66816133b2565b840191505092915050565b6000608082019050614c8660008301876134a9565b614c9360208301866134a9565b614ca06040830185613339565b8181036060830152614cb28184614c38565b905095945050505050565b600081519050614ccc816132a0565b92915050565b600060208284031215614ce857614ce761326a565b5b6000614cf684828501614cbd565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614d3560208361336e565b9150614d4082614cff565b602082019050919050565b60006020820190508181036000830152614d6481614d28565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614da1601c8361336e565b9150614dac82614d6b565b602082019050919050565b60006020820190508181036000830152614dd081614d94565b905091905056fea26469706673582212207ebe7f230269ff4d54b260f4e609869b8d302c84a936cad6d9fcd72895664a3164736f6c634300080e0033

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.