ETH Price: $2,686.54 (-2.22%)

Token

Catharsis X ToddlerPillars (CXTP)
 

Overview

Max Total Supply

55 CXTP

Holders

40

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
catharsisdesign.eth
Balance
2 CXTP
0x172c418b3bda2ad1226287376051f5749567d568
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:
CatharsisXToddlers

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 19 : CatharsisXToddlers.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/****************************************
 * @author: @Danny_One_                 *
 * @team:   GoldenX                     *
 ****************************************
 *   Blimpie-ERC721 provides low-gas    *
 *           mints + transfers          *
 ****************************************/

import './Delegated.sol';
import './ERC721Batch.sol';
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";

contract IToddlerPillars {
	function balanceOf( address sender ) external view returns ( uint256 ) {}
}

contract CatharsisXToddlers is Delegated, ERC721Batch, PaymentSplitter {
  using Strings for uint;
  using Strings for uint8;
  using Strings for uint16;

  uint public MAX_SUPPLY = 444;
  uint[3] public PRICES = [
    0.070 ether,
    0.075 ether,
    0.080 ether
  ];

  bool public saleActive = false;
  IToddlerPillars public toddlerContract = IToddlerPillars(0xD6f817FA3823038D9a95B94cB7ad5468a19727FE);

  mapping(TOKEN_TYPE => uint16) public typeBalance;
  string private _tokenURIPrefix;
  string private _tokenURISuffix;
  string private _tokenURISeparator;

  address[] private payees = [
    0xed386149321FBd84f0c4e27a1701Ad05eCA32f8A,
    0x172c418b3bDA2Ad1226287376051f5749567d568
  ];

  uint[] private splits = [
    10,
    90
  ];

  constructor()
    Delegated()
    PaymentSplitter( payees, splits )
    ERC721B("Catharsis X ToddlerPillars", "CXTP"){
  }

  //external payable
  fallback() external payable {}

  //public view
  function tokenURI(uint tokenId) external view override returns (string memory) {
    require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
    return string(abi.encodePacked(_tokenURIPrefix,
      tokenId.toString(), _tokenURISeparator,
      uint(tokens[tokenId].tokenType).toString(), _tokenURISeparator,
      tokens[tokenId].typeIndex.toString(),
      _tokenURISuffix ));
  }

  function typeSold( TOKEN_TYPE type_ ) external view returns( uint count ){
    for(uint i; i < tokens.length; ++i ){
      if( tokens[i].tokenType == type_ )
        ++count;
    }
  }

  //public payable
  function mint( uint[3] calldata _tokenMint ) external payable {
    require( saleActive, "Sale is not active" );

    uint mintRequest = _tokenMint[0] + _tokenMint[1] + _tokenMint[2];
    require( mintRequest > 0, "Cannot mint 0 tokens" );
    require( totalSupply() + mintRequest <= MAX_SUPPLY,  "Mint would exceed supply" );

    uint toddlerBalance = toddlerContract.balanceOf(msg.sender);
    require( toddlerBalance > 0, "Must own Toddler Pillars" );
    require( _balances[ msg.sender ] + mintRequest <= toddlerBalance, "Mint exceeds allowance" );
    

    // check mint allowance
    if( toddlerBalance < 3 ) {
      // silver only
      require( _tokenMint[1] + _tokenMint[2] == 0, "Only silver allowed" );
    }
    else if( toddlerBalance < 6 ){
      require( _tokenMint[2] == 0, "Only silver or rose allowed" );
    }


    uint priceTotal = (
        ( PRICES[0] * _tokenMint[0] )
      + ( PRICES[1] * _tokenMint[1] )
      + ( PRICES[2] * _tokenMint[2] )
    );
    require( msg.value >= priceTotal, "Ether sent is not correct" );
    

    // handle token mints
    _balances[ msg.sender ] += mintRequest;
    for( uint t; t < 3; ++t ){
      for(uint tq; tq < _tokenMint[t]; ++tq ){
        mint1(msg.sender, TOKEN_TYPE(t) );
      }
    }
  }



  //onlyDelegates
  function mintTo(TOKEN_TYPE[] calldata types, uint[] calldata quantity, address[] calldata recipient ) external payable onlyDelegates{
    require(types.length == quantity.length, "must provide equal types and quantities" );
    require(quantity.length == recipient.length, "must provide equal quantities and recipients" );

    unchecked{
      uint totalQuantity;
      for(uint i; i < quantity.length; ++i){
        totalQuantity += quantity[i];
      }
      require( totalSupply() + totalQuantity <= MAX_SUPPLY, "mint/order exceeds supply" );

      for(uint r; r < recipient.length; ++r){
        _balances[ recipient[r] ] += quantity[r];
        for(uint q; q < quantity[r]; ++q){
          mint1( recipient[r], types[r] );
        }
      }
    }
  }

  function setBaseURI(string calldata _newPrefix, string calldata _newSuffix, string calldata _newSeparator) external onlyDelegates{
    _tokenURIPrefix = _newPrefix;
    _tokenURISuffix = _newSuffix;
    _tokenURISeparator = _newSeparator;
  }

  function setConfig(uint maxSupply, uint[3] calldata prices) external onlyDelegates {
    MAX_SUPPLY = maxSupply;
    PRICES = prices;
  }

  function setSaleState(bool _state) external onlyDelegates {
    saleActive = _state;
  }

  function setToddlerContract(address toddlerAddress) external onlyDelegates {
    if( address(toddlerContract) != toddlerAddress )
      toddlerContract = IToddlerPillars(toddlerAddress);
  }


  //internal

  function mint1( address to, TOKEN_TYPE tokenType ) internal {
    uint16 typeIndex = typeBalance[ tokenType ]++;
    uint tokenId = _next();
    tokens.push(Token(
      to,
      typeIndex,
      tokenType
    ));

    _safeMint( to, tokenId, "" );
  }

  function _mint(address to, uint tokenId) internal override {
    emit Transfer(address(0), to, tokenId);
  }
}

File 2 of 19 : IERC721Batch.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

interface IERC721Batch {
  function isOwnerOf( address account, uint[] calldata tokenIds ) external view returns( bool );
  function transferBatch( address from, address to, uint[] calldata tokenIds, bytes calldata data ) external;
  function walletOfOwner( address account ) external view returns( uint[] memory );
}

File 3 of 19 : ERC721EnumerableB.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

/****************************************
 * @author: Danny1                      *
 * @team:   GoldenX                     *
 ****************************************
 *   Blimpie-ERC721 provides low-gas    *
 *           mints + transfers          *
 ****************************************/

import "./ERC721B.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";

abstract contract ERC721EnumerableB is ERC721B, IERC721Enumerable {
    mapping(address => uint) internal _balances;

    function balanceOf(address owner) public view virtual override(ERC721B,IERC721) returns (uint) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721B) returns (bool) {
        return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
    }

    function tokenOfOwnerByIndex(address owner, uint index) public view override returns (uint tokenId) {
        uint count;
        for( uint i; i < tokens.length; ++i ){
            if( owner == tokens[i].owner ){
                if( count == index )
                    return i;
                else
                    ++count;
            }
        }

        revert("ERC721Enumerable: owner index out of bounds");
    }

    function tokenByIndex(uint index) external view override returns (uint) {
        require(index < totalSupply(), "ERC721Enumerable: global index out of bounds");
        return index;
    }

    function totalSupply() public view override(IERC721Enumerable, ERC721B) returns( uint ){
        return ERC721B.totalSupply();
    }

    function _beforeTokenTransfer(address from, address to) internal override{
        if( from != address(0))
            --_balances[from];

        if( to != address(0))
            ++_balances[to];
    }
}

File 4 of 19 : ERC721Batch.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

/****************************************
 * @author: Danny1                      *
 ****************************************
 *   Blimpie-FF721 provides low-gas     *
 *       mints + transfers              *
 ****************************************/

import "./IERC721Batch.sol";
import "./ERC721EnumerableB.sol";

abstract contract ERC721Batch is ERC721EnumerableB, IERC721Batch {
  function isOwnerOf( address account, uint[] calldata tokenIds ) external view override returns( bool ){
    for(uint i; i < tokenIds.length; ++i ){
      if( account != tokens[ tokenIds[i] ].owner )
        return false;
    }

    return true;
  }

  function transferBatch( address from, address to, uint[] calldata tokenIds, bytes calldata data ) external override{
    for(uint i; i < tokenIds.length; ++i ){
      safeTransferFrom( from, to, tokenIds[i], data );
    }
  }

  function walletOfOwner( address account ) public view override returns( uint[] memory wallet ){
    uint count;
    uint quantity = balanceOf( account );
    wallet = new uint[]( quantity );
    for( uint i; i < tokens.length; ++i ){
      if( account == tokens[i].owner ){
        wallet[ count++ ] = i;
        if( count == quantity )
          break;
      }
    }
    return wallet;
  }
}

File 5 of 19 : ERC721B.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

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/introspection/ERC165.sol";

abstract contract ERC721B is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;

    enum TOKEN_TYPE {
        SILVER,
        ROSE,
        GOLD
    }

    struct Token {
        address owner;
        uint16 typeIndex;
        TOKEN_TYPE tokenType;
    }

    Token[] public tokens;
    string private _name;
    string private _symbol;

    mapping(uint => address) internal _tokenApprovals;
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    constructor(string memory name_, string memory symbol_ ){
        _name = name_;
        _symbol = symbol_;
    }

    //public
    function balanceOf(address owner) public view virtual override returns (uint) {
        require(owner != address(0), "ERC721: balance query for the zero address");

        uint count;
        for( uint i; i < tokens.length; ++i ){
          if( owner == tokens[i].owner )
            ++count;
        }
        return count;
    }

    function name() external view override returns (string memory) {
        return _name;
    }

    function ownerOf(uint tokenId) public view override returns (address) {
        return tokens[tokenId].owner;
    }

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

    function symbol() external view override returns (string memory) {
        return _symbol;
    }

    function totalSupply() public view virtual returns (uint) {
        return tokens.length;
    }


    function approve(address to, uint tokenId) external override {
        address owner = 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);
    }

    function getApproved(uint tokenId) public view override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");
        return _tokenApprovals[tokenId];
    }

    function isApprovedForAll(address owner, address operator) public view override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    function setApprovalForAll(address operator, bool approved) external override {
        require(operator != _msgSender(), "ERC721: approve to caller");
        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    function transferFrom(
        address from,
        address to,
        uint tokenId
    ) public override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _transfer(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint tokenId) external override {
        safeTransferFrom(from, to, tokenId, "");
    }

    function safeTransferFrom(address from, address to, uint tokenId, bytes memory _data) public override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }


    //internal
    function _approve(address to, uint tokenId) internal {
        _tokenApprovals[tokenId] = to;
        emit Approval(ownerOf(tokenId), to, tokenId);
    }

    function _beforeTokenTransfer( address from, address to) internal virtual;

    function _checkOnERC721Received(address from, address to, uint 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;
        }
    }

    function _exists(uint tokenId) internal view returns (bool) {
        return tokenId < tokens.length && tokens[tokenId].owner != address(0);
    }

    function _isApprovedOrOwner(address spender, uint tokenId) internal view returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    function _mint(address to, uint tokenId) internal virtual;

    function _next() internal view virtual returns(uint){
        return tokens.length;
    }

    function _safeMint(address to, uint tokenId) internal {
        _safeMint(to, tokenId, "");
    }

    function _safeMint(address to, uint tokenId, bytes memory _data) internal {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    function _safeTransfer(address from, address to, uint tokenId, bytes memory _data) internal {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    function _transfer(address from, address to, uint tokenId) internal {
        require(ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);
        tokens[tokenId].owner = to;

        emit Transfer(from, to, tokenId);
    }
}

File 6 of 19 : Delegated.sol
// SPDX-License-Identifier: BSD-3-Clause

pragma solidity ^0.8.0;

/***********************
* @author: squeebo_nft *
************************/

import "@openzeppelin/contracts/access/Ownable.sol";

contract Delegated is Ownable{
  mapping(address => bool) internal _delegates;

  constructor(){
    _delegates[owner()] = true;
  }

  modifier onlyDelegates {
    require(_delegates[msg.sender], "Invalid delegate" );
    _;
  }

  //onlyOwner
  function isDelegate( address addr ) external view onlyOwner returns ( bool ){
    return _delegates[addr];
  }

  function setDelegate( address addr, bool isDelegate_ ) external onlyOwner{
    _delegates[addr] = isDelegate_;
  }

  function transferOwnership(address newOwner) public virtual override onlyOwner {
    _delegates[newOwner] = true;
    super.transferOwnership( newOwner );
  }
}

File 7 of 19 : 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 8 of 19 : 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 9 of 19 : 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 10 of 19 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 11 of 19 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 19 : 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 13 of 19 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 14 of 19 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 15 of 19 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

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

File 16 of 19 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 17 of 19 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 18 of 19 : PaymentSplitter.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (finance/PaymentSplitter.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/utils/SafeERC20.sol";
import "../utils/Address.sol";
import "../utils/Context.sol";

/**
 * @title PaymentSplitter
 * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware
 * that the Ether will be split in this way, since it is handled transparently by the contract.
 *
 * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each
 * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim
 * an amount proportional to the percentage of total shares they were assigned.
 *
 * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the
 * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release}
 * function.
 *
 * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and
 * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you
 * to run tests before sending real value to this contract.
 */
contract PaymentSplitter is Context {
    event PayeeAdded(address account, uint256 shares);
    event PaymentReleased(address to, uint256 amount);
    event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount);
    event PaymentReceived(address from, uint256 amount);

    uint256 private _totalShares;
    uint256 private _totalReleased;

    mapping(address => uint256) private _shares;
    mapping(address => uint256) private _released;
    address[] private _payees;

    mapping(IERC20 => uint256) private _erc20TotalReleased;
    mapping(IERC20 => mapping(address => uint256)) private _erc20Released;

    /**
     * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at
     * the matching position in the `shares` array.
     *
     * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no
     * duplicates in `payees`.
     */
    constructor(address[] memory payees, uint256[] memory shares_) payable {
        require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch");
        require(payees.length > 0, "PaymentSplitter: no payees");

        for (uint256 i = 0; i < payees.length; i++) {
            _addPayee(payees[i], shares_[i]);
        }
    }

    /**
     * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully
     * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the
     * reliability of the events, and not the actual splitting of Ether.
     *
     * To learn more about this see the Solidity documentation for
     * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback
     * functions].
     */
    receive() external payable virtual {
        emit PaymentReceived(_msgSender(), msg.value);
    }

    /**
     * @dev Getter for the total shares held by payees.
     */
    function totalShares() public view returns (uint256) {
        return _totalShares;
    }

    /**
     * @dev Getter for the total amount of Ether already released.
     */
    function totalReleased() public view returns (uint256) {
        return _totalReleased;
    }

    /**
     * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20
     * contract.
     */
    function totalReleased(IERC20 token) public view returns (uint256) {
        return _erc20TotalReleased[token];
    }

    /**
     * @dev Getter for the amount of shares held by an account.
     */
    function shares(address account) public view returns (uint256) {
        return _shares[account];
    }

    /**
     * @dev Getter for the amount of Ether already released to a payee.
     */
    function released(address account) public view returns (uint256) {
        return _released[account];
    }

    /**
     * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an
     * IERC20 contract.
     */
    function released(IERC20 token, address account) public view returns (uint256) {
        return _erc20Released[token][account];
    }

    /**
     * @dev Getter for the address of the payee number `index`.
     */
    function payee(uint256 index) public view returns (address) {
        return _payees[index];
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the
     * total shares and their previous withdrawals.
     */
    function release(address payable account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 totalReceived = address(this).balance + totalReleased();
        uint256 payment = _pendingPayment(account, totalReceived, released(account));

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _released[account] += payment;
        _totalReleased += payment;

        Address.sendValue(account, payment);
        emit PaymentReleased(account, payment);
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their
     * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20
     * contract.
     */
    function release(IERC20 token, address account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token);
        uint256 payment = _pendingPayment(account, totalReceived, released(token, account));

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _erc20Released[token][account] += payment;
        _erc20TotalReleased[token] += payment;

        SafeERC20.safeTransfer(token, account, payment);
        emit ERC20PaymentReleased(token, account, payment);
    }

    /**
     * @dev internal logic for computing the pending payment of an `account` given the token historical balances and
     * already released amounts.
     */
    function _pendingPayment(
        address account,
        uint256 totalReceived,
        uint256 alreadyReleased
    ) private view returns (uint256) {
        return (totalReceived * _shares[account]) / _totalShares - alreadyReleased;
    }

    /**
     * @dev Add a new payee to the contract.
     * @param account The address of the payee to add.
     * @param shares_ The number of shares owned by the payee.
     */
    function _addPayee(address account, uint256 shares_) private {
        require(account != address(0), "PaymentSplitter: account is the zero address");
        require(shares_ > 0, "PaymentSplitter: shares are 0");
        require(_shares[account] == 0, "PaymentSplitter: account already has shares");

        _payees.push(account);
        _shares[account] = shares_;
        _totalShares = _totalShares + shares_;
        emit PayeeAdded(account, shares_);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","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"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"PRICES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isDelegate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[3]","name":"_tokenMint","type":"uint256[3]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"enum ERC721B.TOKEN_TYPE[]","name":"types","type":"uint8[]"},{"internalType":"uint256[]","name":"quantity","type":"uint256[]"},{"internalType":"address[]","name":"recipient","type":"address[]"}],"name":"mintTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newPrefix","type":"string"},{"internalType":"string","name":"_newSuffix","type":"string"},{"internalType":"string","name":"_newSeparator","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256[3]","name":"prices","type":"uint256[3]"}],"name":"setConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"isDelegate_","type":"bool"}],"name":"setDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"toddlerAddress","type":"address"}],"name":"setToddlerContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"toddlerContract","outputs":[{"internalType":"contract IToddlerPillars","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokens","outputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint16","name":"typeIndex","type":"uint16"},{"internalType":"enum ERC721B.TOKEN_TYPE","name":"tokenType","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"transferBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum ERC721B.TOKEN_TYPE","name":"","type":"uint8"}],"name":"typeBalance","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum ERC721B.TOKEN_TYPE","name":"type_","type":"uint8"}],"name":"typeSold","outputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"wallet","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6101bc600f5560e060405266f8b0a10e470000608090815267010a741a4627800060a05267011c37937e08000060c0526200003f906010906003620005ef565b50601380546001600160a81b03191674d6f817fa3823038d9a95b94cb7ad5468a19727fe001790556040805180820190915273ed386149321fbd84f0c4e27a1701ad05eca32f8a815273172c418b3bda2ad1226287376051f5749567d5686020820152620000b29060189060026200063d565b5060408051808201909152600a8152605a6020820152620000d890601990600262000695565b50348015620000e657600080fd5b5060188054806020026020016040519081016040528092919081815260200182805480156200013f57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831162000120575b505050505060198054806020026020016040519081016040528092919081815260200182805480156200019257602002820191906000526020600020905b8154815260200190600101908083116200017d575b50505050506040518060400160405280601a81526020017f436174686172736973205820546f64646c657250696c6c617273000000000000815250604051806040016040528060048152602001630435854560e41b81525062000204620001fe620003ad60201b60201c565b620003b1565b60018060006200021c6000546001600160a01b031690565b6001600160a01b03168152602080820192909252604001600020805460ff19169215159290921790915582516200025a9160039190850190620006d8565b50805162000270906004906020840190620006d8565b5050508051825114620002e55760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620003385760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f207061796565730000000000006044820152606401620002dc565b60005b8251811015620003a4576200038f8382815181106200035e576200035e6200076c565b60200260200101518383815181106200037b576200037b6200076c565b60200260200101516200040160201b60201c565b806200039b8162000798565b9150506200033b565b5050506200080e565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166200046e5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b6064820152608401620002dc565b60008111620004c05760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a207368617265732061726520300000006044820152606401620002dc565b6001600160a01b0382166000908152600a6020526040902054156200053c5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b6064820152608401620002dc565b600c8054600181019091557fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70180546001600160a01b0319166001600160a01b0384169081179091556000908152600a60205260409020819055600854620005a6908290620007b6565b600855604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b82600381019282156200062b579160200282015b828111156200062b57825182906001600160401b031690559160200191906001019062000603565b506200063992915062000755565b5090565b8280548282559060005260206000209081019282156200062b579160200282015b828111156200062b57825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906200065e565b8280548282559060005260206000209081019282156200062b579160200282015b828111156200062b578251829060ff16905591602001919060010190620006b6565b828054620006e690620007d1565b90600052602060002090601f0160209004810192826200070a57600085556200062b565b82601f106200072557805160ff19168380011785556200062b565b828001600101855582156200062b579182015b828111156200062b57825182559160200191906001019062000738565b5b8082111562000639576000815560010162000756565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415620007af57620007af62000782565b5060010190565b60008219821115620007cc57620007cc62000782565b500190565b600181811c90821680620007e657607f821691505b602082108114156200080857634e487b7160e01b600052602260045260246000fd5b50919050565b613771806200081e6000396000f3fe6080604052600436106102695760003560e01c806368428a1b11610143578063ac0841b9116100bb578063caa77ac711610077578063caa77ac71461081a578063ce7c2ac21461083a578063d79779b214610870578063e33b7de3146108a6578063e985e9c5146108bb578063f2fde38b1461090457005b8063ac0841b914610767578063b534a5c41461077a578063b88d4fde1461079a578063c3c9e553146107ba578063c4e37095146107da578063c87b56dd146107fa57005b8063956fce7e1161010a578063956fce7e146106a457806395d89b41146106b75780639852595c146106cc5780639ac88db114610702578063a22cb46514610727578063a4d3d9c31461074757005b806368428a1b1461061757806370a0823114610631578063715018a6146106515780638b83209b146106665780638da5cb5b1461068657005b80632f745c59116101e157806348b750441161019d57806348b75044146105485780634a994eef146105685780634d44660c146105885780634f64b2be146105a85780634f6ccce7146105d75780636352211e146105f757005b80632f745c591461046a57806332cb6b0c1461048a5780633a98ef39146104a0578063406072a9146104b557806342842e0e146104fb578063438b63001461051b57005b806309749a5e1161023057806309749a5e1461038357806317026f6b146103c757806318160ddd146103e7578063191655871461040a5780631c0860d11461042a57806323b872dd1461044a57005b806301ffc9a7146102b457806306fdde03146102e9578063077796271461030b578063081812fc1461032b578063095ea7b31461036357005b366102b2577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b3480156102c057600080fd5b506102d46102cf366004612c4e565b610924565b60405190151581526020015b60405180910390f35b3480156102f557600080fd5b506102fe61094f565b6040516102e09190612cc3565b34801561031757600080fd5b506102d4610326366004612ceb565b6109e1565b34801561033757600080fd5b5061034b610346366004612d08565b610a34565b6040516001600160a01b0390911681526020016102e0565b34801561036f57600080fd5b506102b261037e366004612d21565b610abc565b34801561038f57600080fd5b506103b461039e366004612d4d565b60146020526000908152604090205461ffff1681565b60405161ffff90911681526020016102e0565b3480156103d357600080fd5b506102b26103e2366004612ceb565b610bd2565b3480156103f357600080fd5b506103fc610c3f565b6040519081526020016102e0565b34801561041657600080fd5b506102b2610425366004612ceb565b610c4f565b34801561043657600080fd5b506102b2610445366004612db7565b610d7d565b34801561045657600080fd5b506102b2610465366004612e51565b610ddb565b34801561047657600080fd5b506103fc610485366004612d21565b610e0c565b34801561049657600080fd5b506103fc600f5481565b3480156104ac57600080fd5b506008546103fc565b3480156104c157600080fd5b506103fc6104d0366004612e92565b6001600160a01b039182166000908152600e6020908152604080832093909416825291909152205490565b34801561050757600080fd5b506102b2610516366004612e51565b610ed8565b34801561052757600080fd5b5061053b610536366004612ceb565b610ef3565b6040516102e09190612ecb565b34801561055457600080fd5b506102b2610563366004612e92565b610fd6565b34801561057457600080fd5b506102b2610583366004612f1d565b6111af565b34801561059457600080fd5b506102d46105a3366004612f90565b611204565b3480156105b457600080fd5b506105c86105c3366004612d08565b611280565b6040516102e093929190612ffb565b3480156105e357600080fd5b506103fc6105f2366004612d08565b6112c1565b34801561060357600080fd5b5061034b610612366004612d08565b611332565b34801561062357600080fd5b506013546102d49060ff1681565b34801561063d57600080fd5b506103fc61064c366004612ceb565b611362565b34801561065d57600080fd5b506102b26113e9565b34801561067257600080fd5b5061034b610681366004612d08565b61141f565b34801561069257600080fd5b506000546001600160a01b031661034b565b6102b26106b2366004613041565b611434565b3480156106c357600080fd5b506102fe6116ba565b3480156106d857600080fd5b506103fc6106e7366004612ceb565b6001600160a01b03166000908152600b602052604090205490565b34801561070e57600080fd5b5060135461034b9061010090046001600160a01b031681565b34801561073357600080fd5b506102b2610742366004612f1d565b6116c9565b34801561075357600080fd5b506102b26107623660046130da565b61178e565b6102b2610775366004613107565b6117cf565b34801561078657600080fd5b506102b2610795366004613123565b611bf5565b3480156107a657600080fd5b506102b26107b53660046131af565b611c6a565b3480156107c657600080fd5b506103fc6107d5366004612d4d565b611ca2565b3480156107e657600080fd5b506102b26107f536600461328f565b611d24565b34801561080657600080fd5b506102fe610815366004612d08565b611d66565b34801561082657600080fd5b506103fc610835366004612d08565b611e86565b34801561084657600080fd5b506103fc610855366004612ceb565b6001600160a01b03166000908152600a602052604090205490565b34801561087c57600080fd5b506103fc61088b366004612ceb565b6001600160a01b03166000908152600d602052604090205490565b3480156108b257600080fd5b506009546103fc565b3480156108c757600080fd5b506102d46108d6366004612e92565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561091057600080fd5b506102b261091f366004612ceb565b611e9d565b60006001600160e01b0319821663780e9d6360e01b1480610949575061094982611ef6565b92915050565b60606003805461095e906132ac565b80601f016020809104026020016040519081016040528092919081815260200182805461098a906132ac565b80156109d75780601f106109ac576101008083540402835291602001916109d7565b820191906000526020600020905b8154815290600101906020018083116109ba57829003601f168201915b5050505050905090565b600080546001600160a01b03163314610a155760405162461bcd60e51b8152600401610a0c906132e1565b60405180910390fd5b506001600160a01b031660009081526001602052604090205460ff1690565b6000610a3f82611f46565b610aa05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a0c565b506000908152600560205260409020546001600160a01b031690565b6000610ac782611332565b9050806001600160a01b0316836001600160a01b03161415610b355760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a0c565b336001600160a01b0382161480610b515750610b5181336108d6565b610bc35760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a0c565b610bcd8383611f90565b505050565b3360009081526001602052604090205460ff16610c015760405162461bcd60e51b8152600401610a0c90613316565b6013546001600160a01b038281166101009092041614610c3c5760138054610100600160a81b0319166101006001600160a01b038416021790555b50565b6000610c4a60025490565b905090565b6001600160a01b0381166000908152600a6020526040902054610c845760405162461bcd60e51b8152600401610a0c90613340565b6000610c8f60095490565b610c99904761339c565b90506000610cc68383610cc1866001600160a01b03166000908152600b602052604090205490565b611ffe565b905080610ce55760405162461bcd60e51b8152600401610a0c906133b4565b6001600160a01b0383166000908152600b602052604081208054839290610d0d90849061339c565b925050819055508060096000828254610d26919061339c565b90915550610d3690508382612044565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b3360009081526001602052604090205460ff16610dac5760405162461bcd60e51b8152600401610a0c90613316565b610db860158787612b76565b50610dc560168585612b76565b50610dd260178383612b76565b50505050505050565b610de5338261215d565b610e015760405162461bcd60e51b8152600401610a0c906133ff565b610bcd838383612243565b60008060005b600254811015610e7b5760028181548110610e2f57610e2f613450565b6000918252602090912001546001600160a01b0386811691161415610e6b5783821415610e5f5791506109499050565b610e6882613466565b91505b610e7481613466565b9050610e12565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a0c565b610bcd83838360405180602001604052806000815250611c6a565b6060600080610f0184611362565b90508067ffffffffffffffff811115610f1c57610f1c613199565b604051908082528060200260200182016040528015610f45578160200160208202803683370190505b50925060005b600254811015610fce5760028181548110610f6857610f68613450565b6000918252602090912001546001600160a01b0386811691161415610fbe57808484610f9381613466565b955081518110610fa557610fa5613450565b60200260200101818152505081831415610fbe57610fce565b610fc781613466565b9050610f4b565b505050919050565b6001600160a01b0381166000908152600a602052604090205461100b5760405162461bcd60e51b8152600401610a0c90613340565b6001600160a01b0382166000908152600d60205260408120546040516370a0823160e01b81523060048201526001600160a01b038516906370a0823190602401602060405180830381865afa158015611068573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108c9190613481565b611096919061339c565b905060006110cf8383610cc187876001600160a01b039182166000908152600e6020908152604080832093909416825291909152205490565b9050806110ee5760405162461bcd60e51b8152600401610a0c906133b4565b6001600160a01b038085166000908152600e602090815260408083209387168352929052908120805483929061112590849061339c565b90915550506001600160a01b0384166000908152600d60205260408120805483929061115290849061339c565b9091555061116390508484836123a3565b604080516001600160a01b038581168252602082018490528616917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a250505050565b6000546001600160a01b031633146111d95760405162461bcd60e51b8152600401610a0c906132e1565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000805b8281101561127357600284848381811061122457611224613450565b905060200201358154811061123b5761123b613450565b6000918252602090912001546001600160a01b03868116911614611263576000915050611279565b61126c81613466565b9050611208565b50600190505b9392505050565b6002818154811061129057600080fd5b6000918252602090912001546001600160a01b0381169150600160a01b810461ffff1690600160b01b900460ff1683565b60006112cb610c3f565b821061132e5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610a0c565b5090565b60006002828154811061134757611347613450565b6000918252602090912001546001600160a01b031692915050565b60006001600160a01b0382166113cd5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610a0c565b506001600160a01b031660009081526007602052604090205490565b6000546001600160a01b031633146114135760405162461bcd60e51b8152600401610a0c906132e1565b61141d60006123f5565b565b6000600c828154811061134757611347613450565b3360009081526001602052604090205460ff166114635760405162461bcd60e51b8152600401610a0c90613316565b8483146114c25760405162461bcd60e51b815260206004820152602760248201527f6d7573742070726f7669646520657175616c20747970657320616e64207175616044820152666e74697469657360c81b6064820152608401610a0c565b8281146115265760405162461bcd60e51b815260206004820152602c60248201527f6d7573742070726f7669646520657175616c207175616e74697469657320616e60448201526b6420726563697069656e747360a01b6064820152608401610a0c565b6000805b8481101561155a5785858281811061154457611544613450565b905060200201358201915080600101905061152a565b50600f5481611567610c3f565b0111156115b65760405162461bcd60e51b815260206004820152601960248201527f6d696e742f6f72646572206578636565647320737570706c79000000000000006044820152606401610a0c565b60005b828110156116b0578585828181106115d3576115d3613450565b90506020020135600760008686858181106115f0576115f0613450565b90506020020160208101906116059190612ceb565b6001600160a01b031681526020810191909152604001600090812080549092019091555b86868381811061163b5761163b613450565b905060200201358110156116a75761169f85858481811061165e5761165e613450565b90506020020160208101906116739190612ceb565b8a8a8581811061168557611685613450565b905060200201602081019061169a9190612d4d565b612445565b600101611629565b506001016115b9565b5050505050505050565b60606004805461095e906132ac565b6001600160a01b0382163314156117225760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a0c565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b3360009081526001602052604090205460ff166117bd5760405162461bcd60e51b8152600401610a0c90613316565b600f829055610bcd6010826003612bf6565b60135460ff166118165760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b6044820152606401610a0c565b6000604082013561182c6020840135843561339c565b611836919061339c565b90506000811161187f5760405162461bcd60e51b815260206004820152601460248201527343616e6e6f74206d696e74203020746f6b656e7360601b6044820152606401610a0c565b600f548161188b610c3f565b611895919061339c565b11156118e35760405162461bcd60e51b815260206004820152601860248201527f4d696e7420776f756c642065786365656420737570706c7900000000000000006044820152606401610a0c565b6013546040516370a0823160e01b815233600482015260009161010090046001600160a01b0316906370a0823190602401602060405180830381865afa158015611931573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119559190613481565b9050600081116119a75760405162461bcd60e51b815260206004820152601860248201527f4d757374206f776e20546f64646c65722050696c6c61727300000000000000006044820152606401610a0c565b3360009081526007602052604090205481906119c490849061339c565b1115611a0b5760405162461bcd60e51b81526020600482015260166024820152754d696e74206578636565647320616c6c6f77616e636560501b6044820152606401610a0c565b6003811015611a6e57611a266040840135602085013561339c565b15611a695760405162461bcd60e51b815260206004820152601360248201527213db9b1e481cda5b1d995c88185b1b1bddd959606a1b6044820152606401610a0c565b611ac9565b6006811015611ac957604083013515611ac95760405162461bcd60e51b815260206004820152601b60248201527f4f6e6c792073696c766572206f7220726f736520616c6c6f77656400000000006044820152606401610a0c565b601254600090611ade9060408601359061349a565b601154611af09060208701359061349a565b601054611aff9087359061349a565b611b09919061339c565b611b13919061339c565b905080341015611b655760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610a0c565b3360009081526007602052604081208054859290611b8490849061339c565b90915550600090505b6003811015611bee5760005b858260038110611bab57611bab613450565b6020020135811015611bdd57611bcd3383600281111561169a5761169a612fe5565b611bd681613466565b9050611b99565b50611be781613466565b9050611b8d565b5050505050565b60005b83811015610dd257611c5a8787878785818110611c1757611c17613450565b9050602002013586868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611c6a92505050565b611c6381613466565b9050611bf8565b611c74338361215d565b611c905760405162461bcd60e51b8152600401610a0c906133ff565b611c9c84848484612586565b50505050565b6000805b600254811015611d1e57826002811115611cc257611cc2612fe5565b60028281548110611cd557611cd5613450565b600091825260209091200154600160b01b900460ff166002811115611cfc57611cfc612fe5565b1415611d0e57611d0b82613466565b91505b611d1781613466565b9050611ca6565b50919050565b3360009081526001602052604090205460ff16611d535760405162461bcd60e51b8152600401610a0c90613316565b6013805460ff1916911515919091179055565b6060611d7182611f46565b611dd55760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a0c565b6015611de0836125b9565b6017611e2460028681548110611df857611df8613450565b600091825260209091200154600160b01b900460ff166002811115611e1f57611e1f612fe5565b6125b9565b6017611e5860028881548110611e3c57611e3c613450565b600091825260209091200154600160a01b900461ffff166125b9565b6016604051602001611e709796959493929190613553565b6040516020818303038152906040529050919050565b60108160038110611e9657600080fd5b0154905081565b6000546001600160a01b03163314611ec75760405162461bcd60e51b8152600401610a0c906132e1565b6001600160a01b0381166000908152600160208190526040909120805460ff19169091179055610c3c816126b7565b60006001600160e01b031982166380ac58cd60e01b1480611f2757506001600160e01b03198216635b5e139f60e01b145b8061094957506301ffc9a760e01b6001600160e01b0319831614610949565b60025460009082108015610949575060006001600160a01b031660028381548110611f7357611f73613450565b6000918252602090912001546001600160a01b0316141592915050565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611fc582611332565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6008546001600160a01b0384166000908152600a602052604081205490918391612028908661349a565b61203291906135de565b61203c91906135f2565b949350505050565b804710156120945760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a0c565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146120e1576040519150601f19603f3d011682016040523d82523d6000602084013e6120e6565b606091505b5050905080610bcd5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a0c565b600061216882611f46565b6121c95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a0c565b60006121d483611332565b9050806001600160a01b0316846001600160a01b0316148061220f5750836001600160a01b031661220484610a34565b6001600160a01b0316145b8061203c57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff1661203c565b826001600160a01b031661225682611332565b6001600160a01b0316146122be5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610a0c565b6001600160a01b0382166123205760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a0c565b61232a838361274f565b612335600082611f90565b816002828154811061234957612349613450565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610bcd9084906127c7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006014600083600281111561245d5761245d612fe5565b600281111561246e5761246e612fe5565b815260208101919091526040016000908120805461ffff169161249083613609565b91906101000a81548161ffff021916908361ffff160217905550905060006124b760025490565b905060026040518060600160405280866001600160a01b031681526020018461ffff1681526020018560028111156124f1576124f1612fe5565b9052815460018101835560009283526020928390208251910180549383015161ffff16600160a01b026001600160b01b03199094166001600160a01b039092169190911792909217808355604082015191929190829060ff60b01b1916600160b01b83600281111561256557612565612fe5565b02179055505050611c9c848260405180602001604052806000815250612899565b612591848484612243565b61259d848484846128cc565b611c9c5760405162461bcd60e51b8152600401610a0c9061362b565b6060816125dd5750506040805180820190915260018152600360fc1b602082015290565b8160005b811561260757806125f181613466565b91506126009050600a836135de565b91506125e1565b60008167ffffffffffffffff81111561262257612622613199565b6040519080825280601f01601f19166020018201604052801561264c576020820181803683370190505b5090505b841561203c576126616001836135f2565b915061266e600a8661367d565b61267990603061339c565b60f81b81838151811061268e5761268e613450565b60200101906001600160f81b031916908160001a9053506126b0600a866135de565b9450612650565b6000546001600160a01b031633146126e15760405162461bcd60e51b8152600401610a0c906132e1565b6001600160a01b0381166127465760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a0c565b610c3c816123f5565b6001600160a01b03821615612789576001600160a01b0382166000908152600760205260408120805490919061278490613691565b909155505b6001600160a01b038116156127c3576001600160a01b038116600090815260076020526040812080549091906127be90613466565b909155505b5050565b600061281c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166129ca9092919063ffffffff16565b805190915015610bcd578080602001905181019061283a91906136a8565b610bcd5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a0c565b6128a383836129d9565b6128b060008484846128cc565b610bcd5760405162461bcd60e51b8152600401610a0c9061362b565b60006001600160a01b0384163b156129bf57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906129109033908990889088906004016136c5565b6020604051808303816000875af192505050801561294b575060408051601f3d908101601f1916820190925261294891810190613702565b60015b6129a5573d808015612979576040519150601f19603f3d011682016040523d82523d6000602084013e61297e565b606091505b50805161299d5760405162461bcd60e51b8152600401610a0c9061362b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061203c565b506001949350505050565b606061203c8484600085612a15565b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b606082471015612a765760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610a0c565b843b612ac45760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a0c565b600080866001600160a01b03168587604051612ae0919061371f565b60006040518083038185875af1925050503d8060008114612b1d576040519150601f19603f3d011682016040523d82523d6000602084013e612b22565b606091505b5091509150612b32828286612b3d565b979650505050505050565b60608315612b4c575081611279565b825115612b5c5782518084602001fd5b8160405162461bcd60e51b8152600401610a0c9190612cc3565b828054612b82906132ac565b90600052602060002090601f016020900481019282612ba45760008555612bea565b82601f10612bbd5782800160ff19823516178555612bea565b82800160010185558215612bea579182015b82811115612bea578235825591602001919060010190612bcf565b5061132e929150612c23565b8260038101928215612bea5791602002820182811115612bea578235825591602001919060010190612bcf565b5b8082111561132e5760008155600101612c24565b6001600160e01b031981168114610c3c57600080fd5b600060208284031215612c6057600080fd5b813561127981612c38565b60005b83811015612c86578181015183820152602001612c6e565b83811115611c9c5750506000910152565b60008151808452612caf816020860160208601612c6b565b601f01601f19169290920160200192915050565b6020815260006112796020830184612c97565b6001600160a01b0381168114610c3c57600080fd5b600060208284031215612cfd57600080fd5b813561127981612cd6565b600060208284031215612d1a57600080fd5b5035919050565b60008060408385031215612d3457600080fd5b8235612d3f81612cd6565b946020939093013593505050565b600060208284031215612d5f57600080fd5b81356003811061127957600080fd5b60008083601f840112612d8057600080fd5b50813567ffffffffffffffff811115612d9857600080fd5b602083019150836020828501011115612db057600080fd5b9250929050565b60008060008060008060608789031215612dd057600080fd5b863567ffffffffffffffff80821115612de857600080fd5b612df48a838b01612d6e565b90985096506020890135915080821115612e0d57600080fd5b612e198a838b01612d6e565b90965094506040890135915080821115612e3257600080fd5b50612e3f89828a01612d6e565b979a9699509497509295939492505050565b600080600060608486031215612e6657600080fd5b8335612e7181612cd6565b92506020840135612e8181612cd6565b929592945050506040919091013590565b60008060408385031215612ea557600080fd5b8235612eb081612cd6565b91506020830135612ec081612cd6565b809150509250929050565b6020808252825182820181905260009190848201906040850190845b81811015612f0357835183529284019291840191600101612ee7565b50909695505050505050565b8015158114610c3c57600080fd5b60008060408385031215612f3057600080fd5b8235612f3b81612cd6565b91506020830135612ec081612f0f565b60008083601f840112612f5d57600080fd5b50813567ffffffffffffffff811115612f7557600080fd5b6020830191508360208260051b8501011115612db057600080fd5b600080600060408486031215612fa557600080fd5b8335612fb081612cd6565b9250602084013567ffffffffffffffff811115612fcc57600080fd5b612fd886828701612f4b565b9497909650939450505050565b634e487b7160e01b600052602160045260246000fd5b6001600160a01b038416815261ffff83166020820152606081016003831061303357634e487b7160e01b600052602160045260246000fd5b826040830152949350505050565b6000806000806000806060878903121561305a57600080fd5b863567ffffffffffffffff8082111561307257600080fd5b61307e8a838b01612f4b565b9098509650602089013591508082111561309757600080fd5b6130a38a838b01612f4b565b909650945060408901359150808211156130bc57600080fd5b50612e3f89828a01612f4b565b806060810183101561094957600080fd5b600080608083850312156130ed57600080fd5b823591506130fe84602085016130c9565b90509250929050565b60006060828403121561311957600080fd5b61127983836130c9565b6000806000806000806080878903121561313c57600080fd5b863561314781612cd6565b9550602087013561315781612cd6565b9450604087013567ffffffffffffffff8082111561317457600080fd5b6131808a838b01612f4b565b90965094506060890135915080821115612e3257600080fd5b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156131c557600080fd5b84356131d081612cd6565b935060208501356131e081612cd6565b925060408501359150606085013567ffffffffffffffff8082111561320457600080fd5b818701915087601f83011261321857600080fd5b81358181111561322a5761322a613199565b604051601f8201601f19908116603f0116810190838211818310171561325257613252613199565b816040528281528a602084870101111561326b57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000602082840312156132a157600080fd5b813561127981612f0f565b600181811c908216806132c057607f821691505b60208210811415611d1e57634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600082198211156133af576133af613386565b500190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060001982141561347a5761347a613386565b5060010190565b60006020828403121561349357600080fd5b5051919050565b60008160001904831182151516156134b4576134b4613386565b500290565b8054600090600181811c90808316806134d357607f831692505b60208084108214156134f557634e487b7160e01b600052602260045260246000fd5b818015613509576001811461351a57613547565b60ff19861689528489019650613547565b60008881526020902060005b8681101561353f5781548b820152908501908301613526565b505084890196505b50505050505092915050565b600061355f828a6134b9565b885161356f818360208d01612c6b565b61357b8183018a6134b9565b915050865161358e818360208b01612c6b565b61359a818301886134b9565b91505084516135ad818360208901612c6b565b6135b9818301866134b9565b9b9a5050505050505050505050565b634e487b7160e01b600052601260045260246000fd5b6000826135ed576135ed6135c8565b500490565b60008282101561360457613604613386565b500390565b600061ffff8083168181141561362157613621613386565b6001019392505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008261368c5761368c6135c8565b500690565b6000816136a0576136a0613386565b506000190190565b6000602082840312156136ba57600080fd5b815161127981612f0f565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906136f890830184612c97565b9695505050505050565b60006020828403121561371457600080fd5b815161127981612c38565b60008251613731818460208701612c6b565b919091019291505056fea2646970667358221220410aed661403c943f437a9427e759c259ccfe6d6cdf9a4b64cf0c45aefb0081d64736f6c634300080c0033

Deployed Bytecode

0x6080604052600436106102695760003560e01c806368428a1b11610143578063ac0841b9116100bb578063caa77ac711610077578063caa77ac71461081a578063ce7c2ac21461083a578063d79779b214610870578063e33b7de3146108a6578063e985e9c5146108bb578063f2fde38b1461090457005b8063ac0841b914610767578063b534a5c41461077a578063b88d4fde1461079a578063c3c9e553146107ba578063c4e37095146107da578063c87b56dd146107fa57005b8063956fce7e1161010a578063956fce7e146106a457806395d89b41146106b75780639852595c146106cc5780639ac88db114610702578063a22cb46514610727578063a4d3d9c31461074757005b806368428a1b1461061757806370a0823114610631578063715018a6146106515780638b83209b146106665780638da5cb5b1461068657005b80632f745c59116101e157806348b750441161019d57806348b75044146105485780634a994eef146105685780634d44660c146105885780634f64b2be146105a85780634f6ccce7146105d75780636352211e146105f757005b80632f745c591461046a57806332cb6b0c1461048a5780633a98ef39146104a0578063406072a9146104b557806342842e0e146104fb578063438b63001461051b57005b806309749a5e1161023057806309749a5e1461038357806317026f6b146103c757806318160ddd146103e7578063191655871461040a5780631c0860d11461042a57806323b872dd1461044a57005b806301ffc9a7146102b457806306fdde03146102e9578063077796271461030b578063081812fc1461032b578063095ea7b31461036357005b366102b2577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b3480156102c057600080fd5b506102d46102cf366004612c4e565b610924565b60405190151581526020015b60405180910390f35b3480156102f557600080fd5b506102fe61094f565b6040516102e09190612cc3565b34801561031757600080fd5b506102d4610326366004612ceb565b6109e1565b34801561033757600080fd5b5061034b610346366004612d08565b610a34565b6040516001600160a01b0390911681526020016102e0565b34801561036f57600080fd5b506102b261037e366004612d21565b610abc565b34801561038f57600080fd5b506103b461039e366004612d4d565b60146020526000908152604090205461ffff1681565b60405161ffff90911681526020016102e0565b3480156103d357600080fd5b506102b26103e2366004612ceb565b610bd2565b3480156103f357600080fd5b506103fc610c3f565b6040519081526020016102e0565b34801561041657600080fd5b506102b2610425366004612ceb565b610c4f565b34801561043657600080fd5b506102b2610445366004612db7565b610d7d565b34801561045657600080fd5b506102b2610465366004612e51565b610ddb565b34801561047657600080fd5b506103fc610485366004612d21565b610e0c565b34801561049657600080fd5b506103fc600f5481565b3480156104ac57600080fd5b506008546103fc565b3480156104c157600080fd5b506103fc6104d0366004612e92565b6001600160a01b039182166000908152600e6020908152604080832093909416825291909152205490565b34801561050757600080fd5b506102b2610516366004612e51565b610ed8565b34801561052757600080fd5b5061053b610536366004612ceb565b610ef3565b6040516102e09190612ecb565b34801561055457600080fd5b506102b2610563366004612e92565b610fd6565b34801561057457600080fd5b506102b2610583366004612f1d565b6111af565b34801561059457600080fd5b506102d46105a3366004612f90565b611204565b3480156105b457600080fd5b506105c86105c3366004612d08565b611280565b6040516102e093929190612ffb565b3480156105e357600080fd5b506103fc6105f2366004612d08565b6112c1565b34801561060357600080fd5b5061034b610612366004612d08565b611332565b34801561062357600080fd5b506013546102d49060ff1681565b34801561063d57600080fd5b506103fc61064c366004612ceb565b611362565b34801561065d57600080fd5b506102b26113e9565b34801561067257600080fd5b5061034b610681366004612d08565b61141f565b34801561069257600080fd5b506000546001600160a01b031661034b565b6102b26106b2366004613041565b611434565b3480156106c357600080fd5b506102fe6116ba565b3480156106d857600080fd5b506103fc6106e7366004612ceb565b6001600160a01b03166000908152600b602052604090205490565b34801561070e57600080fd5b5060135461034b9061010090046001600160a01b031681565b34801561073357600080fd5b506102b2610742366004612f1d565b6116c9565b34801561075357600080fd5b506102b26107623660046130da565b61178e565b6102b2610775366004613107565b6117cf565b34801561078657600080fd5b506102b2610795366004613123565b611bf5565b3480156107a657600080fd5b506102b26107b53660046131af565b611c6a565b3480156107c657600080fd5b506103fc6107d5366004612d4d565b611ca2565b3480156107e657600080fd5b506102b26107f536600461328f565b611d24565b34801561080657600080fd5b506102fe610815366004612d08565b611d66565b34801561082657600080fd5b506103fc610835366004612d08565b611e86565b34801561084657600080fd5b506103fc610855366004612ceb565b6001600160a01b03166000908152600a602052604090205490565b34801561087c57600080fd5b506103fc61088b366004612ceb565b6001600160a01b03166000908152600d602052604090205490565b3480156108b257600080fd5b506009546103fc565b3480156108c757600080fd5b506102d46108d6366004612e92565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561091057600080fd5b506102b261091f366004612ceb565b611e9d565b60006001600160e01b0319821663780e9d6360e01b1480610949575061094982611ef6565b92915050565b60606003805461095e906132ac565b80601f016020809104026020016040519081016040528092919081815260200182805461098a906132ac565b80156109d75780601f106109ac576101008083540402835291602001916109d7565b820191906000526020600020905b8154815290600101906020018083116109ba57829003601f168201915b5050505050905090565b600080546001600160a01b03163314610a155760405162461bcd60e51b8152600401610a0c906132e1565b60405180910390fd5b506001600160a01b031660009081526001602052604090205460ff1690565b6000610a3f82611f46565b610aa05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a0c565b506000908152600560205260409020546001600160a01b031690565b6000610ac782611332565b9050806001600160a01b0316836001600160a01b03161415610b355760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a0c565b336001600160a01b0382161480610b515750610b5181336108d6565b610bc35760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a0c565b610bcd8383611f90565b505050565b3360009081526001602052604090205460ff16610c015760405162461bcd60e51b8152600401610a0c90613316565b6013546001600160a01b038281166101009092041614610c3c5760138054610100600160a81b0319166101006001600160a01b038416021790555b50565b6000610c4a60025490565b905090565b6001600160a01b0381166000908152600a6020526040902054610c845760405162461bcd60e51b8152600401610a0c90613340565b6000610c8f60095490565b610c99904761339c565b90506000610cc68383610cc1866001600160a01b03166000908152600b602052604090205490565b611ffe565b905080610ce55760405162461bcd60e51b8152600401610a0c906133b4565b6001600160a01b0383166000908152600b602052604081208054839290610d0d90849061339c565b925050819055508060096000828254610d26919061339c565b90915550610d3690508382612044565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b3360009081526001602052604090205460ff16610dac5760405162461bcd60e51b8152600401610a0c90613316565b610db860158787612b76565b50610dc560168585612b76565b50610dd260178383612b76565b50505050505050565b610de5338261215d565b610e015760405162461bcd60e51b8152600401610a0c906133ff565b610bcd838383612243565b60008060005b600254811015610e7b5760028181548110610e2f57610e2f613450565b6000918252602090912001546001600160a01b0386811691161415610e6b5783821415610e5f5791506109499050565b610e6882613466565b91505b610e7481613466565b9050610e12565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a0c565b610bcd83838360405180602001604052806000815250611c6a565b6060600080610f0184611362565b90508067ffffffffffffffff811115610f1c57610f1c613199565b604051908082528060200260200182016040528015610f45578160200160208202803683370190505b50925060005b600254811015610fce5760028181548110610f6857610f68613450565b6000918252602090912001546001600160a01b0386811691161415610fbe57808484610f9381613466565b955081518110610fa557610fa5613450565b60200260200101818152505081831415610fbe57610fce565b610fc781613466565b9050610f4b565b505050919050565b6001600160a01b0381166000908152600a602052604090205461100b5760405162461bcd60e51b8152600401610a0c90613340565b6001600160a01b0382166000908152600d60205260408120546040516370a0823160e01b81523060048201526001600160a01b038516906370a0823190602401602060405180830381865afa158015611068573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108c9190613481565b611096919061339c565b905060006110cf8383610cc187876001600160a01b039182166000908152600e6020908152604080832093909416825291909152205490565b9050806110ee5760405162461bcd60e51b8152600401610a0c906133b4565b6001600160a01b038085166000908152600e602090815260408083209387168352929052908120805483929061112590849061339c565b90915550506001600160a01b0384166000908152600d60205260408120805483929061115290849061339c565b9091555061116390508484836123a3565b604080516001600160a01b038581168252602082018490528616917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a250505050565b6000546001600160a01b031633146111d95760405162461bcd60e51b8152600401610a0c906132e1565b6001600160a01b03919091166000908152600160205260409020805460ff1916911515919091179055565b6000805b8281101561127357600284848381811061122457611224613450565b905060200201358154811061123b5761123b613450565b6000918252602090912001546001600160a01b03868116911614611263576000915050611279565b61126c81613466565b9050611208565b50600190505b9392505050565b6002818154811061129057600080fd5b6000918252602090912001546001600160a01b0381169150600160a01b810461ffff1690600160b01b900460ff1683565b60006112cb610c3f565b821061132e5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610a0c565b5090565b60006002828154811061134757611347613450565b6000918252602090912001546001600160a01b031692915050565b60006001600160a01b0382166113cd5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610a0c565b506001600160a01b031660009081526007602052604090205490565b6000546001600160a01b031633146114135760405162461bcd60e51b8152600401610a0c906132e1565b61141d60006123f5565b565b6000600c828154811061134757611347613450565b3360009081526001602052604090205460ff166114635760405162461bcd60e51b8152600401610a0c90613316565b8483146114c25760405162461bcd60e51b815260206004820152602760248201527f6d7573742070726f7669646520657175616c20747970657320616e64207175616044820152666e74697469657360c81b6064820152608401610a0c565b8281146115265760405162461bcd60e51b815260206004820152602c60248201527f6d7573742070726f7669646520657175616c207175616e74697469657320616e60448201526b6420726563697069656e747360a01b6064820152608401610a0c565b6000805b8481101561155a5785858281811061154457611544613450565b905060200201358201915080600101905061152a565b50600f5481611567610c3f565b0111156115b65760405162461bcd60e51b815260206004820152601960248201527f6d696e742f6f72646572206578636565647320737570706c79000000000000006044820152606401610a0c565b60005b828110156116b0578585828181106115d3576115d3613450565b90506020020135600760008686858181106115f0576115f0613450565b90506020020160208101906116059190612ceb565b6001600160a01b031681526020810191909152604001600090812080549092019091555b86868381811061163b5761163b613450565b905060200201358110156116a75761169f85858481811061165e5761165e613450565b90506020020160208101906116739190612ceb565b8a8a8581811061168557611685613450565b905060200201602081019061169a9190612d4d565b612445565b600101611629565b506001016115b9565b5050505050505050565b60606004805461095e906132ac565b6001600160a01b0382163314156117225760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a0c565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b3360009081526001602052604090205460ff166117bd5760405162461bcd60e51b8152600401610a0c90613316565b600f829055610bcd6010826003612bf6565b60135460ff166118165760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b6044820152606401610a0c565b6000604082013561182c6020840135843561339c565b611836919061339c565b90506000811161187f5760405162461bcd60e51b815260206004820152601460248201527343616e6e6f74206d696e74203020746f6b656e7360601b6044820152606401610a0c565b600f548161188b610c3f565b611895919061339c565b11156118e35760405162461bcd60e51b815260206004820152601860248201527f4d696e7420776f756c642065786365656420737570706c7900000000000000006044820152606401610a0c565b6013546040516370a0823160e01b815233600482015260009161010090046001600160a01b0316906370a0823190602401602060405180830381865afa158015611931573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119559190613481565b9050600081116119a75760405162461bcd60e51b815260206004820152601860248201527f4d757374206f776e20546f64646c65722050696c6c61727300000000000000006044820152606401610a0c565b3360009081526007602052604090205481906119c490849061339c565b1115611a0b5760405162461bcd60e51b81526020600482015260166024820152754d696e74206578636565647320616c6c6f77616e636560501b6044820152606401610a0c565b6003811015611a6e57611a266040840135602085013561339c565b15611a695760405162461bcd60e51b815260206004820152601360248201527213db9b1e481cda5b1d995c88185b1b1bddd959606a1b6044820152606401610a0c565b611ac9565b6006811015611ac957604083013515611ac95760405162461bcd60e51b815260206004820152601b60248201527f4f6e6c792073696c766572206f7220726f736520616c6c6f77656400000000006044820152606401610a0c565b601254600090611ade9060408601359061349a565b601154611af09060208701359061349a565b601054611aff9087359061349a565b611b09919061339c565b611b13919061339c565b905080341015611b655760405162461bcd60e51b815260206004820152601960248201527f45746865722073656e74206973206e6f7420636f7272656374000000000000006044820152606401610a0c565b3360009081526007602052604081208054859290611b8490849061339c565b90915550600090505b6003811015611bee5760005b858260038110611bab57611bab613450565b6020020135811015611bdd57611bcd3383600281111561169a5761169a612fe5565b611bd681613466565b9050611b99565b50611be781613466565b9050611b8d565b5050505050565b60005b83811015610dd257611c5a8787878785818110611c1757611c17613450565b9050602002013586868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611c6a92505050565b611c6381613466565b9050611bf8565b611c74338361215d565b611c905760405162461bcd60e51b8152600401610a0c906133ff565b611c9c84848484612586565b50505050565b6000805b600254811015611d1e57826002811115611cc257611cc2612fe5565b60028281548110611cd557611cd5613450565b600091825260209091200154600160b01b900460ff166002811115611cfc57611cfc612fe5565b1415611d0e57611d0b82613466565b91505b611d1781613466565b9050611ca6565b50919050565b3360009081526001602052604090205460ff16611d535760405162461bcd60e51b8152600401610a0c90613316565b6013805460ff1916911515919091179055565b6060611d7182611f46565b611dd55760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a0c565b6015611de0836125b9565b6017611e2460028681548110611df857611df8613450565b600091825260209091200154600160b01b900460ff166002811115611e1f57611e1f612fe5565b6125b9565b6017611e5860028881548110611e3c57611e3c613450565b600091825260209091200154600160a01b900461ffff166125b9565b6016604051602001611e709796959493929190613553565b6040516020818303038152906040529050919050565b60108160038110611e9657600080fd5b0154905081565b6000546001600160a01b03163314611ec75760405162461bcd60e51b8152600401610a0c906132e1565b6001600160a01b0381166000908152600160208190526040909120805460ff19169091179055610c3c816126b7565b60006001600160e01b031982166380ac58cd60e01b1480611f2757506001600160e01b03198216635b5e139f60e01b145b8061094957506301ffc9a760e01b6001600160e01b0319831614610949565b60025460009082108015610949575060006001600160a01b031660028381548110611f7357611f73613450565b6000918252602090912001546001600160a01b0316141592915050565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611fc582611332565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6008546001600160a01b0384166000908152600a602052604081205490918391612028908661349a565b61203291906135de565b61203c91906135f2565b949350505050565b804710156120945760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a0c565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146120e1576040519150601f19603f3d011682016040523d82523d6000602084013e6120e6565b606091505b5050905080610bcd5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a0c565b600061216882611f46565b6121c95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a0c565b60006121d483611332565b9050806001600160a01b0316846001600160a01b0316148061220f5750836001600160a01b031661220484610a34565b6001600160a01b0316145b8061203c57506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff1661203c565b826001600160a01b031661225682611332565b6001600160a01b0316146122be5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610a0c565b6001600160a01b0382166123205760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a0c565b61232a838361274f565b612335600082611f90565b816002828154811061234957612349613450565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610bcd9084906127c7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006014600083600281111561245d5761245d612fe5565b600281111561246e5761246e612fe5565b815260208101919091526040016000908120805461ffff169161249083613609565b91906101000a81548161ffff021916908361ffff160217905550905060006124b760025490565b905060026040518060600160405280866001600160a01b031681526020018461ffff1681526020018560028111156124f1576124f1612fe5565b9052815460018101835560009283526020928390208251910180549383015161ffff16600160a01b026001600160b01b03199094166001600160a01b039092169190911792909217808355604082015191929190829060ff60b01b1916600160b01b83600281111561256557612565612fe5565b02179055505050611c9c848260405180602001604052806000815250612899565b612591848484612243565b61259d848484846128cc565b611c9c5760405162461bcd60e51b8152600401610a0c9061362b565b6060816125dd5750506040805180820190915260018152600360fc1b602082015290565b8160005b811561260757806125f181613466565b91506126009050600a836135de565b91506125e1565b60008167ffffffffffffffff81111561262257612622613199565b6040519080825280601f01601f19166020018201604052801561264c576020820181803683370190505b5090505b841561203c576126616001836135f2565b915061266e600a8661367d565b61267990603061339c565b60f81b81838151811061268e5761268e613450565b60200101906001600160f81b031916908160001a9053506126b0600a866135de565b9450612650565b6000546001600160a01b031633146126e15760405162461bcd60e51b8152600401610a0c906132e1565b6001600160a01b0381166127465760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a0c565b610c3c816123f5565b6001600160a01b03821615612789576001600160a01b0382166000908152600760205260408120805490919061278490613691565b909155505b6001600160a01b038116156127c3576001600160a01b038116600090815260076020526040812080549091906127be90613466565b909155505b5050565b600061281c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166129ca9092919063ffffffff16565b805190915015610bcd578080602001905181019061283a91906136a8565b610bcd5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a0c565b6128a383836129d9565b6128b060008484846128cc565b610bcd5760405162461bcd60e51b8152600401610a0c9061362b565b60006001600160a01b0384163b156129bf57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906129109033908990889088906004016136c5565b6020604051808303816000875af192505050801561294b575060408051601f3d908101601f1916820190925261294891810190613702565b60015b6129a5573d808015612979576040519150601f19603f3d011682016040523d82523d6000602084013e61297e565b606091505b50805161299d5760405162461bcd60e51b8152600401610a0c9061362b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061203c565b506001949350505050565b606061203c8484600085612a15565b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b606082471015612a765760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610a0c565b843b612ac45760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a0c565b600080866001600160a01b03168587604051612ae0919061371f565b60006040518083038185875af1925050503d8060008114612b1d576040519150601f19603f3d011682016040523d82523d6000602084013e612b22565b606091505b5091509150612b32828286612b3d565b979650505050505050565b60608315612b4c575081611279565b825115612b5c5782518084602001fd5b8160405162461bcd60e51b8152600401610a0c9190612cc3565b828054612b82906132ac565b90600052602060002090601f016020900481019282612ba45760008555612bea565b82601f10612bbd5782800160ff19823516178555612bea565b82800160010185558215612bea579182015b82811115612bea578235825591602001919060010190612bcf565b5061132e929150612c23565b8260038101928215612bea5791602002820182811115612bea578235825591602001919060010190612bcf565b5b8082111561132e5760008155600101612c24565b6001600160e01b031981168114610c3c57600080fd5b600060208284031215612c6057600080fd5b813561127981612c38565b60005b83811015612c86578181015183820152602001612c6e565b83811115611c9c5750506000910152565b60008151808452612caf816020860160208601612c6b565b601f01601f19169290920160200192915050565b6020815260006112796020830184612c97565b6001600160a01b0381168114610c3c57600080fd5b600060208284031215612cfd57600080fd5b813561127981612cd6565b600060208284031215612d1a57600080fd5b5035919050565b60008060408385031215612d3457600080fd5b8235612d3f81612cd6565b946020939093013593505050565b600060208284031215612d5f57600080fd5b81356003811061127957600080fd5b60008083601f840112612d8057600080fd5b50813567ffffffffffffffff811115612d9857600080fd5b602083019150836020828501011115612db057600080fd5b9250929050565b60008060008060008060608789031215612dd057600080fd5b863567ffffffffffffffff80821115612de857600080fd5b612df48a838b01612d6e565b90985096506020890135915080821115612e0d57600080fd5b612e198a838b01612d6e565b90965094506040890135915080821115612e3257600080fd5b50612e3f89828a01612d6e565b979a9699509497509295939492505050565b600080600060608486031215612e6657600080fd5b8335612e7181612cd6565b92506020840135612e8181612cd6565b929592945050506040919091013590565b60008060408385031215612ea557600080fd5b8235612eb081612cd6565b91506020830135612ec081612cd6565b809150509250929050565b6020808252825182820181905260009190848201906040850190845b81811015612f0357835183529284019291840191600101612ee7565b50909695505050505050565b8015158114610c3c57600080fd5b60008060408385031215612f3057600080fd5b8235612f3b81612cd6565b91506020830135612ec081612f0f565b60008083601f840112612f5d57600080fd5b50813567ffffffffffffffff811115612f7557600080fd5b6020830191508360208260051b8501011115612db057600080fd5b600080600060408486031215612fa557600080fd5b8335612fb081612cd6565b9250602084013567ffffffffffffffff811115612fcc57600080fd5b612fd886828701612f4b565b9497909650939450505050565b634e487b7160e01b600052602160045260246000fd5b6001600160a01b038416815261ffff83166020820152606081016003831061303357634e487b7160e01b600052602160045260246000fd5b826040830152949350505050565b6000806000806000806060878903121561305a57600080fd5b863567ffffffffffffffff8082111561307257600080fd5b61307e8a838b01612f4b565b9098509650602089013591508082111561309757600080fd5b6130a38a838b01612f4b565b909650945060408901359150808211156130bc57600080fd5b50612e3f89828a01612f4b565b806060810183101561094957600080fd5b600080608083850312156130ed57600080fd5b823591506130fe84602085016130c9565b90509250929050565b60006060828403121561311957600080fd5b61127983836130c9565b6000806000806000806080878903121561313c57600080fd5b863561314781612cd6565b9550602087013561315781612cd6565b9450604087013567ffffffffffffffff8082111561317457600080fd5b6131808a838b01612f4b565b90965094506060890135915080821115612e3257600080fd5b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156131c557600080fd5b84356131d081612cd6565b935060208501356131e081612cd6565b925060408501359150606085013567ffffffffffffffff8082111561320457600080fd5b818701915087601f83011261321857600080fd5b81358181111561322a5761322a613199565b604051601f8201601f19908116603f0116810190838211818310171561325257613252613199565b816040528281528a602084870101111561326b57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000602082840312156132a157600080fd5b813561127981612f0f565b600181811c908216806132c057607f821691505b60208210811415611d1e57634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600082198211156133af576133af613386565b500190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600060001982141561347a5761347a613386565b5060010190565b60006020828403121561349357600080fd5b5051919050565b60008160001904831182151516156134b4576134b4613386565b500290565b8054600090600181811c90808316806134d357607f831692505b60208084108214156134f557634e487b7160e01b600052602260045260246000fd5b818015613509576001811461351a57613547565b60ff19861689528489019650613547565b60008881526020902060005b8681101561353f5781548b820152908501908301613526565b505084890196505b50505050505092915050565b600061355f828a6134b9565b885161356f818360208d01612c6b565b61357b8183018a6134b9565b915050865161358e818360208b01612c6b565b61359a818301886134b9565b91505084516135ad818360208901612c6b565b6135b9818301866134b9565b9b9a5050505050505050505050565b634e487b7160e01b600052601260045260246000fd5b6000826135ed576135ed6135c8565b500490565b60008282101561360457613604613386565b500390565b600061ffff8083168181141561362157613621613386565b6001019392505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008261368c5761368c6135c8565b500690565b6000816136a0576136a0613386565b506000190190565b6000602082840312156136ba57600080fd5b815161127981612f0f565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906136f890830184612c97565b9695505050505050565b60006020828403121561371457600080fd5b815161127981612c38565b60008251613731818460208701612c6b565b919091019291505056fea2646970667358221220410aed661403c943f437a9427e759c259ccfe6d6cdf9a4b64cf0c45aefb0081d64736f6c634300080c0033

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.