APE Price: $0.73 (+7.45%)
    /

    Token

    Flowers for apes (FFA)

    Overview

    Max Total Supply

    0 FFA

    Holders

    0

    Market

    Volume (24H)

    N/A

    Min Price (24H)

    N/A

    Max Price (24H)

    N/A
    0xa8eda6fa27e0f7917fc53a833bfdf83f9fe57828
    Loading...
    Loading
    Loading...
    Loading
    Loading...
    Loading

    Click here to update the token information / general information
    This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

    Similar Match Source Code
    This contract matches the deployed Bytecode of the Source Code for Contract 0x48AEF983...B43cba5a2
    The constructor portion of the code might be different and could alter the actual behaviour of the contract

    Contract Name:
    MintpadERC1155Drop

    Compiler Version
    v0.8.23+commit.f704f362

    Optimization Enabled:
    Yes with 200 runs

    Other Settings:
    paris EvmVersion
    File 1 of 37 : MintpadERC1155Drop.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    pragma solidity ^0.8.0;
    import "@thirdweb-dev/contracts/base/ERC1155Base.sol";
    // ========== External imports ==========
    // ========== Internal imports ==========
    import "@thirdweb-dev/contracts/lib/CurrencyTransferLib.sol";
    import "@thirdweb-dev/contracts/lib/TWStrings.sol";
    // ========== Features ==========
    import "@thirdweb-dev/contracts/extension/PrimarySale.sol";
    import "@thirdweb-dev/contracts/extension/LazyMint.sol";
    import "@thirdweb-dev/contracts/extension/PermissionsEnumerable.sol";
    import "@thirdweb-dev/contracts/extension/Drop1155.sol";
    import "../extension/TransactionFee.sol";
    contract MintpadERC1155Drop is
    ERC1155Base,
    PrimarySale,
    LazyMint,
    TransactionFee,
    PermissionsEnumerable,
    Drop1155
    {
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 2 of 37 : TransactionFee.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache 2.0
    pragma solidity ^0.8.0;
    error TrxErrorAuth();
    error TrxErrorFee1();
    error TrxErrorFee2();
    /// @author Mintpad
    abstract contract TransactionFee {
    /// @dev Platform wallet address
    address public platformAddress = 0x4ec431790805909b0D3Dcf5C8dA25FCBF46E93F8;
    /// @dev Transaction cost
    uint256 public transactionFee;
    /// @dev At any given moment, returns the transaction fee.
    function getTransactionFee() public view returns (uint256) {
    return transactionFee;
    }
    /**
    * @notice Sets a new transaction fee in case of need.
    * @dev This function is only used in rare situations where
    * the transaction fee is not set correctly. This value can
    * only be lower than the current transaction fee to prevent
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 3 of 37 : ERC1155Base.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache-2.0
    pragma solidity ^0.8.0;
    /// @author thirdweb
    import { ERC1155 } from "../eip/ERC1155.sol";
    import "../extension/ContractMetadata.sol";
    import "../extension/Multicall.sol";
    import "../extension/Ownable.sol";
    import "../extension/Royalty.sol";
    import "../extension/BatchMintMetadata.sol";
    import "../lib/TWStrings.sol";
    /**
    * The `ERC1155Base` smart contract implements the ERC1155 NFT standard.
    * It includes the following additions to standard ERC1155 logic:
    *
    * - Ability to mint NFTs via the provided `mintTo` and `batchMintTo` functions.
    *
    * - Contract metadata for royalty support on platforms such as OpenSea that use
    * off-chain information to distribute roaylties.
    *
    * - Ownership of the contract, with the ability to restrict certain functions to
    * only be called by the contract's owner.
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 4 of 37 : ERC1155.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache 2.0
    pragma solidity ^0.8.0;
    import "./interface/IERC1155.sol";
    import "./interface/IERC1155Metadata.sol";
    import "./interface/IERC1155Receiver.sol";
    contract ERC1155 is IERC1155, IERC1155Metadata {
    /*//////////////////////////////////////////////////////////////
    State variables
    //////////////////////////////////////////////////////////////*/
    string public name;
    string public symbol;
    /*//////////////////////////////////////////////////////////////
    Mappings
    //////////////////////////////////////////////////////////////*/
    mapping(address => mapping(uint256 => uint256)) public balanceOf;
    mapping(address => mapping(address => bool)) public isApprovedForAll;
    mapping(uint256 => string) internal _uri;
    /*//////////////////////////////////////////////////////////////
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 5 of 37 : IERC1155.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    // SPDX-License-Identifier: Apache-2.0
    pragma solidity ^0.8.0;
    /**
    @title ERC-1155 Multi Token Standard
    @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1155.md
    Note: The ERC-165 identifier for this interface is 0xd9b67a26.
    */
    interface IERC1155 {
    /**
    @dev Either `TransferSingle` or `TransferBatch` MUST emit when tokens are transferred, including zero value transfers as well as minting or
                burning (see "Safe Transfer Rules" section of the standard).
    The `_operator` argument MUST be msg.sender.
    The `_from` argument MUST be the address of the holder whose balance is decreased.
    The `_to` argument MUST be the address of the recipient whose balance is increased.
    The `_id` argument MUST be the token type being transferred.
    The `_value` argument MUST be the number of tokens the holder balance is decreased by and match what the recipient balance is increased by.
    When minting/creating tokens, the `_from` argument MUST be set to `0x0` (i.e. zero address).
    When burning/destroying tokens, the `_to` argument MUST be set to `0x0` (i.e. zero address).
    */
    event TransferSingle(
    address indexed _operator,
    address indexed _from,
    address indexed _to,
    uint256 _id,
    uint256 _value
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 6 of 37 : IERC1155Metadata.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    // SPDX-License-Identifier: Apache-2.0
    pragma solidity ^0.8.0;
    /**
    Note: The ERC-165 identifier for this interface is 0x0e89341c.
    */
    interface IERC1155Metadata {
    /**
    @notice A distinct Uniform Resource Identifier (URI) for a given token.
    @dev URIs are defined in RFC 3986.
    The URI may point to a JSON file that conforms to the "ERC-1155 Metadata URI JSON Schema".
    @return URI string
    */
    function uri(uint256 _id) external view returns (string memory);
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 7 of 37 : IERC1155Receiver.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)
    pragma solidity ^0.8.0;
    import "./IERC165.sol";
    /**
    * @dev _Available since v3.1._
    */
    interface IERC1155Receiver is IERC165 {
    /**
    * @dev Handles the receipt of a single ERC1155 token type. This function is
    * called at the end of a `safeTransferFrom` after the balance has been updated.
    *
    * NOTE: To accept the transfer, this must return
    * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
    * (i.e. 0xf23a6e61, or its own function selector).
    *
    * @param operator The address which initiated the transfer (i.e. msg.sender)
    * @param from The address which previously owned the token
    * @param id The ID of the token being transferred
    * @param value The amount of tokens being transferred
    * @param data Additional data with no specified format
    * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 8 of 37 : IERC165.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    // 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
    * [EIP](https://eips.ethereum.org/EIPS/eip-165).
    *
    * 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
    * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
    * 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);
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 9 of 37 : IERC20.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache-2.0
    pragma solidity ^0.8.0;
    /**
    * @title ERC20 interface
    * @dev see https://github.com/ethereum/EIPs/issues/20
    */
    interface IERC20 {
    function totalSupply() external view returns (uint256);
    function balanceOf(address who) external view returns (uint256);
    function allowance(address owner, address spender) external view returns (uint256);
    function transfer(address to, uint256 value) external returns (bool);
    function approve(address spender, uint256 value) external returns (bool);
    function transferFrom(
    address from,
    address to,
    uint256 value
    ) external returns (bool);
    event Transfer(address indexed from, address indexed to, uint256 value);
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 10 of 37 : IERC2981.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    // SPDX-License-Identifier: Apache 2.0
    pragma solidity ^0.8.0;
    import "./IERC165.sol";
    /**
    * @dev Interface for the NFT Royalty Standard.
    *
    * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
    * support for royalty payments across all NFT marketplaces and ecosystem participants.
    *
    * _Available since v4.5._
    */
    interface IERC2981 is IERC165 {
    /**
    * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
    * exchange. The royalty amount is denominated and should be payed in that same unit of exchange.
    */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
    external
    view
    returns (address receiver, uint256 royaltyAmount);
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 11 of 37 : BatchMintMetadata.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache-2.0
    pragma solidity ^0.8.0;
    /// @author thirdweb
    /**
    * @title Batch-mint Metadata
    * @notice The `BatchMintMetadata` is a contract extension for any base NFT contract. It lets the smart contract
    * using this extension set metadata for `n` number of NFTs all at once. This is enabled by storing a single
    * base URI for a batch of `n` NFTs, where the metadata for each NFT in a relevant batch is `baseURI/tokenId`.
    */
    contract BatchMintMetadata {
    /// @dev Largest tokenId of each batch of tokens with the same baseURI.
    uint256[] private batchIds;
    /// @dev Mapping from id of a batch of tokens => to base URI for the respective batch of tokens.
    mapping(uint256 => string) private baseURI;
    /// @dev Mapping from id of a batch of tokens => to whether the base URI for the respective batch of tokens is frozen.
    mapping(uint256 => bool) public batchFrozen;
    /// @dev This event emits when the metadata of all tokens are frozen.
    /// While not currently supported by marketplaces, this event allows
    /// future indexing if desired.
    event MetadataFrozen();
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 12 of 37 : ContractMetadata.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache-2.0
    pragma solidity ^0.8.0;
    /// @author thirdweb
    import "./interface/IContractMetadata.sol";
    /**
    * @title Contract Metadata
    * @notice Thirdweb's `ContractMetadata` is a contract extension for any base contracts. It lets you set a metadata URI
    * for you contract.
    * Additionally, `ContractMetadata` is necessary for NFT contracts that want royalties to get distributed on OpenSea.
    */
    abstract contract ContractMetadata is IContractMetadata {
    /// @notice Returns the contract metadata URI.
    string public override contractURI;
    /**
    * @notice Lets a contract admin set the URI for contract-level metadata.
    * @dev Caller should be authorized to setup contractURI, e.g. contract admin.
    * See {_canSetContractURI}.
    * Emits {ContractURIUpdated Event}.
    *
    * @param _uri keccak256 hash of the role. e.g. keccak256("TRANSFER_ROLE")
    */
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 13 of 37 : Drop1155.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache-2.0
    pragma solidity ^0.8.0;
    /// @author thirdweb
    import "./interface/IDrop1155.sol";
    import "../lib/MerkleProof.sol";
    abstract contract Drop1155 is IDrop1155 {
    /*///////////////////////////////////////////////////////////////
    State variables
    //////////////////////////////////////////////////////////////*/
    /// @dev Mapping from token ID => the set of all claim conditions, at any given moment, for tokens of the token ID.
    mapping(uint256 => ClaimConditionList) public claimCondition;
    /*///////////////////////////////////////////////////////////////
    Drop logic
    //////////////////////////////////////////////////////////////*/
    /// @dev Lets an account claim tokens.
    function claim(
    address _receiver,
    uint256 _tokenId,
    uint256 _quantity,
    address _currency,
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 14 of 37 : LazyMint.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache-2.0
    pragma solidity ^0.8.0;
    /// @author thirdweb
    import "./interface/ILazyMint.sol";
    import "./BatchMintMetadata.sol";
    /**
    * The `LazyMint` is a contract extension for any base NFT contract. It lets you 'lazy mint' any number of NFTs
    * at once. Here, 'lazy mint' means defining the metadata for particular tokenIds of your NFT contract, without actually
    * minting a non-zero balance of NFTs of those tokenIds.
    */
    abstract contract LazyMint is ILazyMint, BatchMintMetadata {
    /// @notice The tokenId assigned to the next new NFT to be lazy minted.
    uint256 internal nextTokenIdToLazyMint;
    /**
    * @notice Lets an authorized address lazy mint a given amount of NFTs.
    *
    * @param _amount The number of NFTs to lazy mint.
    * @param _baseURIForTokens The base URI for the 'n' number of NFTs being lazy minted, where the metadata for each
    * of those NFTs is `${baseURIForTokens}/${tokenId}`.
    * @param _data Additional bytes data to be used at the discretion of the consumer of the contract.
    * @return batchId A unique integer identifier for the batch of NFTs lazy minted together.
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 15 of 37 : Multicall.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache 2.0
    pragma solidity ^0.8.0;
    /// @author thirdweb
    import "../lib/TWAddress.sol";
    import "./interface/IMulticall.sol";
    /**
    * @dev Provides a function to batch together multiple calls in a single external call.
    *
    * _Available since v4.1._
    */
    contract Multicall is IMulticall {
    /**
    * @notice Receives and executes a batch of function calls on this contract.
    * @dev Receives and executes a batch of function calls on this contract.
    *
    * @param data The bytes data that makes up the batch of function calls to execute.
    * @return results The bytes data that makes up the result of the batch of function calls executed.
    */
    function multicall(bytes[] calldata data) external virtual override returns (bytes[] memory results) {
    results = new bytes[](data.length);
    for (uint256 i = 0; i < data.length; i++) {
    results[i] = TWAddress.functionDelegateCall(address(this), data[i]);
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 16 of 37 : Ownable.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache-2.0
    pragma solidity ^0.8.0;
    /// @author thirdweb
    import "./interface/IOwnable.sol";
    /**
    * @title Ownable
    * @notice Thirdweb's `Ownable` is a contract extension to be used with any base contract. It exposes functions for setting and reading
    * who the 'owner' of the inheriting smart contract is, and lets the inheriting contract perform conditional logic that uses
    * information about who the contract's owner is.
    */
    abstract contract Ownable is IOwnable {
    /// @dev Owner of the contract (purpose: OpenSea compatibility)
    address private _owner;
    /// @dev Reverts if caller is not the owner.
    modifier onlyOwner() {
    if (msg.sender != _owner) {
    revert("Not authorized");
    }
    _;
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 17 of 37 : Permissions.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache-2.0
    pragma solidity ^0.8.0;
    /// @author thirdweb
    import "./interface/IPermissions.sol";
    import "../lib/TWStrings.sol";
    /**
    * @title Permissions
    * @dev This contracts provides extending-contracts with role-based access control mechanisms
    */
    contract Permissions is IPermissions {
    /// @dev Map from keccak256 hash of a role => a map from address => whether address has role.
    mapping(bytes32 => mapping(address => bool)) private _hasRole;
    /// @dev Map from keccak256 hash of a role to role admin. See {getRoleAdmin}.
    mapping(bytes32 => bytes32) private _getRoleAdmin;
    /// @dev Default admin role for all roles. Only accounts with this role can grant/revoke other roles.
    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
    /// @dev Modifier that checks if an account has the specified role; reverts otherwise.
    modifier onlyRole(bytes32 role) {
    _checkRole(role, msg.sender);
    _;
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 18 of 37 : PermissionsEnumerable.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache-2.0
    pragma solidity ^0.8.0;
    /// @author thirdweb
    import "./interface/IPermissionsEnumerable.sol";
    import "./Permissions.sol";
    /**
    * @title PermissionsEnumerable
    * @dev This contracts provides extending-contracts with role-based access control mechanisms.
    * Also provides interfaces to view all members with a given role, and total count of members.
    */
    contract PermissionsEnumerable is IPermissionsEnumerable, Permissions {
    /**
    * @notice A data structure to store data of members for a given role.
    *
    * @param index Current index in the list of accounts that have a role.
    * @param members map from index => address of account that has a role
    * @param indexOf map from address => index which the account has.
    */
    struct RoleMembers {
    uint256 index;
    mapping(uint256 => address) members;
    mapping(address => uint256) indexOf;
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 19 of 37 : PrimarySale.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache-2.0
    pragma solidity ^0.8.0;
    /// @author thirdweb
    import "./interface/IPrimarySale.sol";
    /**
    * @title Primary Sale
    * @notice Thirdweb's `PrimarySale` is a contract extension to be used with any base contract. It exposes functions for setting and reading
    * the recipient of primary sales, and lets the inheriting contract perform conditional logic that uses information about
    * primary sales, if desired.
    */
    abstract contract PrimarySale is IPrimarySale {
    /// @dev The address that receives all primary sales value.
    address private recipient;
    /// @dev Returns primary sale recipient address.
    function primarySaleRecipient() public view override returns (address) {
    return recipient;
    }
    /**
    * @notice Updates primary sale recipient.
    * @dev Caller should be authorized to set primary sales info.
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 20 of 37 : Royalty.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache-2.0
    pragma solidity ^0.8.0;
    /// @author thirdweb
    import "./interface/IRoyalty.sol";
    /**
    * @title Royalty
    * @notice Thirdweb's `Royalty` is a contract extension to be used with any base contract. It exposes functions for setting and reading
    * the recipient of royalty fee and the royalty fee basis points, and lets the inheriting contract perform conditional logic
    * that uses information about royalty fees, if desired.
    *
    * @dev The `Royalty` contract is ERC2981 compliant.
    */
    abstract contract Royalty is IRoyalty {
    /// @dev The (default) address that receives all royalty value.
    address private royaltyRecipient;
    /// @dev The (default) % of a sale to take as royalty (in basis points).
    uint16 private royaltyBps;
    /// @dev Token ID => royalty recipient and bps for token
    mapping(uint256 => RoyaltyInfo) private royaltyInfoForToken;
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 21 of 37 : IClaimCondition.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache-2.0
    pragma solidity ^0.8.0;
    /// @author thirdweb
    /**
    * The interface `IClaimCondition` is written for thirdweb's 'Drop' contracts, which are distribution mechanisms for tokens.
    *
    * A claim condition defines criteria under which accounts can mint tokens. Claim conditions can be overwritten
    * or added to by the contract admin. At any moment, there is only one active claim condition.
    */
    interface IClaimCondition {
    /**
    * @notice The criteria that make up a claim condition.
    *
    * @param startTimestamp The unix timestamp after which the claim condition applies.
    * The same claim condition applies until the `startTimestamp`
    * of the next claim condition.
    *
    * @param maxClaimableSupply The maximum total number of tokens that can be claimed under
    * the claim condition.
    *
    * @param supplyClaimed At any given point, the number of tokens that have been claimed
    * under the claim condition.
    *
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 22 of 37 : IClaimConditionMultiPhase.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache-2.0
    pragma solidity ^0.8.0;
    /// @author thirdweb
    import "./IClaimCondition.sol";
    /**
    * The interface `IClaimConditionMultiPhase` is written for thirdweb's 'Drop' contracts, which are distribution mechanisms for tokens.
    *
    * An authorized wallet can set a series of claim conditions, ordered by their respective `startTimestamp`.
    * A claim condition defines criteria under which accounts can mint tokens. Claim conditions can be overwritten
    * or added to by the contract admin. At any moment, there is only one active claim condition.
    */
    interface IClaimConditionMultiPhase is IClaimCondition {
    /**
    * @notice The set of all claim conditions, at any given moment.
    * Claim Phase ID = [currentStartId, currentStartId + length - 1];
    *
    * @param currentStartId The uid for the first claim condition amongst the current set of
    * claim conditions. The uid for each next claim condition is one
    * more than the previous claim condition's uid.
    *
    * @param count The total number of phases / claim conditions in the list
    * of claim conditions.
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 23 of 37 : IContractMetadata.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    // SPDX-License-Identifier: Apache-2.0
    pragma solidity ^0.8.0;
    /// @author thirdweb
    /**
    * Thirdweb's `ContractMetadata` is a contract extension for any base contracts. It lets you set a metadata URI
    * for you contract.
    *
    * Additionally, `ContractMetadata` is necessary for NFT contracts that want royalties to get distributed on OpenSea.
    */
    interface IContractMetadata {
    /// @dev Returns the metadata URI of the contract.
    function contractURI() external view returns (string memory);
    /**
    * @dev Sets contract URI for the storefront-level metadata of the contract.
    * Only module admin can call this function.
    */
    function setContractURI(string calldata _uri) external;
    /// @dev Emitted when the contract URI is updated.
    event ContractURIUpdated(string prevURI, string newURI);
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 24 of 37 : IDrop1155.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache-2.0
    pragma solidity ^0.8.0;
    /// @author thirdweb
    import "./IClaimConditionMultiPhase.sol";
    /**
    * The interface `IDrop1155` is written for thirdweb's 'Drop' contracts, which are distribution mechanisms for tokens.
    *
    * An authorized wallet can set a series of claim conditions, ordered by their respective `startTimestamp`.
    * A claim condition defines criteria under which accounts can mint tokens. Claim conditions can be overwritten
    * or added to by the contract admin. At any moment, there is only one active claim condition.
    */
    interface IDrop1155 is IClaimConditionMultiPhase {
    /**
    * @param proof Proof of concerned wallet's inclusion in an allowlist.
    * @param quantityLimitPerWallet The total quantity of tokens the allowlisted wallet is eligible to claim over time.
    * @param pricePerToken The price per token the allowlisted wallet must pay to claim tokens.
    * @param currency The currency in which the allowlisted wallet must pay the price for claiming tokens.
    */
    struct AllowlistProof {
    bytes32[] proof;
    uint256 quantityLimitPerWallet;
    uint256 pricePerToken;
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 25 of 37 : ILazyMint.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache-2.0
    pragma solidity ^0.8.0;
    /// @author thirdweb
    /**
    * Thirdweb's `LazyMint` is a contract extension for any base NFT contract. It lets you 'lazy mint' any number of NFTs
    * at once. Here, 'lazy mint' means defining the metadata for particular tokenIds of your NFT contract, without actually
    * minting a non-zero balance of NFTs of those tokenIds.
    */
    interface ILazyMint {
    /// @dev Emitted when tokens are lazy minted.
    event TokensLazyMinted(uint256 indexed startTokenId, uint256 endTokenId, string baseURI, bytes encryptedBaseURI);
    /**
    * @notice Lazy mints a given amount of NFTs.
    *
    * @param amount The number of NFTs to lazy mint.
    *
    * @param baseURIForTokens The base URI for the 'n' number of NFTs being lazy minted, where the metadata for each
    * of those NFTs is `${baseURIForTokens}/${tokenId}`.
    *
    * @param extraData Additional bytes data to be used at the discretion of the consumer of the contract.
    *
    * @return batchId A unique integer identifier for the batch of NFTs lazy minted together.
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 26 of 37 : IMulticall.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    // SPDX-License-Identifier: MIT
    pragma solidity ^0.8.0;
    /// @author thirdweb
    /**
    * @dev Provides a function to batch together multiple calls in a single external call.
    *
    * _Available since v4.1._
    */
    interface IMulticall {
    /**
    * @dev Receives and executes a batch of function calls on this contract.
    */
    function multicall(bytes[] calldata data) external returns (bytes[] memory results);
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 27 of 37 : IOwnable.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    // SPDX-License-Identifier: Apache-2.0
    pragma solidity ^0.8.0;
    /// @author thirdweb
    /**
    * Thirdweb's `Ownable` is a contract extension to be used with any base contract. It exposes functions for setting and reading
    * who the 'owner' of the inheriting smart contract is, and lets the inheriting contract perform conditional logic that uses
    * information about who the contract's owner is.
    */
    interface IOwnable {
    /// @dev Returns the owner of the contract.
    function owner() external view returns (address);
    /// @dev Lets a module admin set a new owner for the contract. The new owner must be a module admin.
    function setOwner(address _newOwner) external;
    /// @dev Emitted when a new Owner is set.
    event OwnerUpdated(address indexed prevOwner, address indexed newOwner);
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 28 of 37 : IPermissions.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache-2.0
    pragma solidity ^0.8.0;
    /// @author thirdweb
    /**
    * @dev External interface of AccessControl declared to support ERC165 detection.
    */
    interface IPermissions {
    /**
    * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
    *
    * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
    * {RoleAdminChanged} not being emitted signaling this.
    *
    * _Available since v3.1._
    */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);
    /**
    * @dev Emitted when `account` is granted `role`.
    *
    * `sender` is the account that originated the contract call, an admin role
    * bearer except when using {AccessControl-_setupRole}.
    */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 29 of 37 : IPermissionsEnumerable.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache-2.0
    pragma solidity ^0.8.0;
    /// @author thirdweb
    import "./IPermissions.sol";
    /**
    * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
    */
    interface IPermissionsEnumerable is IPermissions {
    /**
    * @dev Returns one of the accounts that have `role`. `index` must be a
    * value between 0 and {getRoleMemberCount}, non-inclusive.
    *
    * Role bearers are not sorted in any particular way, and their ordering may
    * change at any point.
    *
    * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
    * you perform all queries on the same block. See the following
    * [forum post](https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296)
    * for more information.
    */
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);
    /**
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 30 of 37 : IPrimarySale.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    // SPDX-License-Identifier: Apache-2.0
    pragma solidity ^0.8.0;
    /// @author thirdweb
    /**
    * Thirdweb's `Primary` is a contract extension to be used with any base contract. It exposes functions for setting and reading
    * the recipient of primary sales, and lets the inheriting contract perform conditional logic that uses information about
    * primary sales, if desired.
    */
    interface IPrimarySale {
    /// @dev The adress that receives all primary sales value.
    function primarySaleRecipient() external view returns (address);
    /// @dev Lets a module admin set the default recipient of all primary sales.
    function setPrimarySaleRecipient(address _saleRecipient) external;
    /// @dev Emitted when a new sale recipient is set.
    event PrimarySaleRecipientUpdated(address indexed recipient);
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 31 of 37 : IRoyalty.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache-2.0
    pragma solidity ^0.8.0;
    /// @author thirdweb
    import "../../eip/interface/IERC2981.sol";
    /**
    * Thirdweb's `Royalty` is a contract extension to be used with any base contract. It exposes functions for setting and reading
    * the recipient of royalty fee and the royalty fee basis points, and lets the inheriting contract perform conditional logic
    * that uses information about royalty fees, if desired.
    *
    * The `Royalty` contract is ERC2981 compliant.
    */
    interface IRoyalty is IERC2981 {
    struct RoyaltyInfo {
    address recipient;
    uint256 bps;
    }
    /// @dev Returns the royalty recipient and fee bps.
    function getDefaultRoyaltyInfo() external view returns (address, uint16);
    /// @dev Lets a module admin update the royalty bps and recipient.
    function setDefaultRoyaltyInfo(address _royaltyRecipient, uint256 _royaltyBps) external;
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 32 of 37 : SafeERC20.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: MIT
    // OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)
    pragma solidity ^0.8.0;
    import "../../../../../eip/interface/IERC20.sol";
    import "../../../../../lib/TWAddress.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 TWAddress for address;
    function safeTransfer(
    IERC20 token,
    address to,
    uint256 value
    ) internal {
    _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 33 of 37 : IWETH.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    // SPDX-License-Identifier: Apache-2.0
    pragma solidity ^0.8.0;
    interface IWETH {
    function deposit() external payable;
    function withdraw(uint256 amount) external;
    function transfer(address to, uint256 value) external returns (bool);
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 34 of 37 : CurrencyTransferLib.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache-2.0
    pragma solidity ^0.8.0;
    /// @author thirdweb
    // Helper interfaces
    import { IWETH } from "../infra/interface/IWETH.sol";
    import "../external-deps/openzeppelin/token/ERC20/utils/SafeERC20.sol";
    library CurrencyTransferLib {
    using SafeERC20 for IERC20;
    /// @dev The address interpreted as native token of the chain.
    address public constant NATIVE_TOKEN = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;
    /// @dev Transfers a given amount of currency.
    function transferCurrency(
    address _currency,
    address _from,
    address _to,
    uint256 _amount
    ) internal {
    if (_amount == 0) {
    return;
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 35 of 37 : MerkleProof.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache 2.0
    pragma solidity ^0.8.0;
    /// @author thirdweb
    /**
    * @dev These functions deal with verification of Merkle Trees proofs.
    *
    * The proofs can be generated using the JavaScript library
    * https://github.com/miguelmota/merkletreejs[merkletreejs].
    * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
    *
    * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
    *
    * Source: https://github.com/ensdomains/governance/blob/master/contracts/MerkleProof.sol
    */
    library MerkleProof {
    /**
    * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
    * defined by `root`. For this, a `proof` must be provided, containing
    * sibling hashes on the branch from the leaf to the root of the tree. Each
    * pair of leaves and each pair of pre-images are assumed to be sorted.
    */
    function verify(
    bytes32[] memory proof,
    bytes32 root,
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 36 of 37 : TWAddress.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache 2.0
    pragma solidity ^0.8.0;
    /// @author thirdweb
    /**
    * @dev Collection of functions related to the address type
    */
    library TWAddress {
    /**
    * @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
    * ====
    *
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    File 37 of 37 : TWStrings.sol
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    // SPDX-License-Identifier: Apache 2.0
    pragma solidity ^0.8.0;
    /// @author thirdweb
    /**
    * @dev String operations.
    */
    library TWStrings {
    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;
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Settings
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    {
    "optimizer": {
    "enabled": true,
    "runs": 200
    },
    "evmVersion": "paris",
    "remappings": [
    ":@thirdweb-dev/=node_modules/@thirdweb-dev/",
    ":ds-test/=lib/forge-std/lib/ds-test/src/",
    ":forge-std/=lib/forge-std/src/"
    ],
    "outputSelection": {
    "*": {
    "*": [
    "evm.bytecode",
    "evm.deployedBytecode",
    "devdoc",
    "userdoc",
    "metadata",
    "abi"
    ]
    }
    }
    }
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Contract Security Audit

    Contract ABI

    [{"inputs":[{"internalType":"address","name":"_defaultAdmin","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_saleRecipient","type":"address"},{"internalType":"uint256","name":"_transactionFee","type":"uint256"},{"internalType":"address","name":"_royaltyRecipient","type":"address"},{"internalType":"uint128","name":"_royaltyBps","type":"uint128"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"TrxErrorAuth","type":"error"},{"inputs":[],"name":"TrxErrorFee1","type":"error"},{"inputs":[],"name":"TrxErrorFee2","type":"error"},{"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":false,"internalType":"uint256","name":"_fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_toTokenId","type":"uint256"}],"name":"BatchMetadataUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"components":[{"internalType":"uint256","name":"startTimestamp","type":"uint256"},{"internalType":"uint256","name":"maxClaimableSupply","type":"uint256"},{"internalType":"uint256","name":"supplyClaimed","type":"uint256"},{"internalType":"uint256","name":"quantityLimitPerWallet","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"pricePerToken","type":"uint256"},{"internalType":"address","name":"currency","type":"address"},{"internalType":"string","name":"metadata","type":"string"}],"indexed":false,"internalType":"struct IClaimCondition.ClaimCondition[]","name":"claimConditions","type":"tuple[]"},{"indexed":false,"internalType":"bool","name":"resetEligibility","type":"bool"}],"name":"ClaimConditionsUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"prevURI","type":"string"},{"indexed":false,"internalType":"string","name":"newURI","type":"string"}],"name":"ContractURIUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newRoyaltyRecipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"newRoyaltyBps","type":"uint256"}],"name":"DefaultRoyalty","type":"event"},{"anonymous":false,"inputs":[],"name":"MetadataFrozen","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"prevOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"}],"name":"PrimarySaleRecipientUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"royaltyRecipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"royaltyBps","type":"uint256"}],"name":"RoyaltyForToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"claimConditionIndex","type":"uint256"},{"indexed":true,"internalType":"address","name":"claimer","type":"address"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"quantityClaimed","type":"uint256"}],"name":"TokensClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"startTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endTokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"baseURI","type":"string"},{"indexed":false,"internalType":"bytes","name":"encryptedBaseURI","type":"bytes"}],"name":"TokensLazyMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_operator","type":"address"},{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"_values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_operator","type":"address"},{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_value","type":"string"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"batchFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"},{"internalType":"string","name":"_baseURI","type":"string"}],"name":"batchMintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"address","name":"_currency","type":"address"},{"internalType":"uint256","name":"_pricePerToken","type":"uint256"},{"components":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"quantityLimitPerWallet","type":"uint256"},{"internalType":"uint256","name":"pricePerToken","type":"uint256"},{"internalType":"address","name":"currency","type":"address"}],"internalType":"struct IDrop1155.AllowlistProof","name":"_allowlistProof","type":"tuple"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimCondition","outputs":[{"internalType":"uint256","name":"currentStartId","type":"uint256"},{"internalType":"uint256","name":"count","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractType","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getActiveClaimConditionId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURICount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"getBatchIdAtIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_conditionId","type":"uint256"}],"name":"getClaimConditionById","outputs":[{"components":[{"internalType":"uint256","name":"startTimestamp","type":"uint256"},{"internalType":"uint256","name":"maxClaimableSupply","type":"uint256"},{"internalType":"uint256","name":"supplyClaimed","type":"uint256"},{"internalType":"uint256","name":"quantityLimitPerWallet","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"pricePerToken","type":"uint256"},{"internalType":"address","name":"currency","type":"address"},{"internalType":"string","name":"metadata","type":"string"}],"internalType":"struct IClaimCondition.ClaimCondition","name":"condition","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDefaultRoyaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"member","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getRoyaltyInfoForToken","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_conditionId","type":"uint256"},{"internalType":"address","name":"_claimer","type":"address"}],"name":"getSupplyClaimedByWallet","outputs":[{"internalType":"uint256","name":"supplyClaimedByWallet","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTransactionFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRoleWithSwitch","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"string","name":"_baseURIForTokens","type":"string"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"lazyMint","outputs":[{"internalType":"uint256","name":"batchId","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"maxTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_tokenURI","type":"string"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenIdToMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"platformAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"primarySaleRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"saleRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"uint256","name":"_tokenId","type":"uint256"},{"components":[{"internalType":"uint256","name":"startTimestamp","type":"uint256"},{"internalType":"uint256","name":"maxClaimableSupply","type":"uint256"},{"internalType":"uint256","name":"supplyClaimed","type":"uint256"},{"internalType":"uint256","name":"quantityLimitPerWallet","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"pricePerToken","type":"uint256"},{"internalType":"address","name":"currency","type":"address"},{"internalType":"string","name":"metadata","type":"string"}],"internalType":"struct IClaimCondition.ClaimCondition[]","name":"_conditions","type":"tuple[]"},{"internalType":"bool","name":"_resetClaimEligibility","type":"bool"}],"name":"setClaimConditions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyRecipient","type":"address"},{"internalType":"uint256","name":"_royaltyBps","type":"uint256"}],"name":"setDefaultRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_maxTotalSupply","type":"uint256"}],"name":"setMaxTotalSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_saleRecipient","type":"address"}],"name":"setPrimarySaleRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_bps","type":"uint256"}],"name":"setRoyaltyInfoForToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_saleRecipient","type":"address"}],"name":"setSaleRecipientForToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_transactionFee","type":"uint256"}],"name":"setTransactionFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"transactionFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_conditionId","type":"uint256"},{"internalType":"address","name":"_claimer","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"address","name":"_currency","type":"address"},{"internalType":"uint256","name":"_pricePerToken","type":"uint256"},{"components":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"quantityLimitPerWallet","type":"uint256"},{"internalType":"uint256","name":"pricePerToken","type":"uint256"},{"internalType":"address","name":"currency","type":"address"}],"internalType":"struct IDrop1155.AllowlistProof","name":"_allowlistProof","type":"tuple"}],"name":"verifyClaim","outputs":[{"internalType":"bool","name":"isOverride","type":"bool"}],"stateMutability":"view","type":"function"}]

    6080604052601080546001600160a01b031916734ec431790805909b0d3dcf5c8da25fcbf46e93f81790553480156200003757600080fd5b5060405162005f9838038062005f988339810160408190526200005a916200049b565b8686868484838360006200006f8382620005fb565b5060016200007e8282620005fb565b50505062000092856200018c60201b60201c565b620000a7826001600160801b038316620001de565b505050505060008311620000f45760405162461bcd60e51b815260206004820152600f60248201526e215472616e73616374696f6e46656560881b60448201526064015b60405180910390fd5b7f8502233096d909befbda0999bb8ea2f3a6be3c138b9fbf003752a4c8bce86f6c7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66200014360008a62000286565b6200014f818a62000286565b6200015b828a62000286565b6200016882600062000286565b6200017386620002a2565b601691909155601755505060115550620006ef92505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d7690600090a35050565b612710811115620002245760405162461bcd60e51b815260206004820152600f60248201526e45786365656473206d61782062707360881b6044820152606401620000eb565b600780546001600160a01b0384166001600160b01b03199091168117600160a01b61ffff851602179091556040518281527f90d7ec04bcb8978719414f82e52e4cb651db41d0e6f8cea6118c2191e6183adb9060200160405180910390a25050565b620002928282620002ec565b6200029e828262000347565b5050565b600e80546001600160a01b0319166001600160a01b0383169081179091556040517f299d17e95023f496e0ffc4909cff1a61f74bb5eb18de6f900f4155bfa1b3b33390600090a250565b60008281526012602090815260408083206001600160a01b0385168085529252808320805460ff1916600117905551339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b600082815260146020526040812080549160019190620003688385620006c7565b9091555050600092835260146020908152604080852083865260018101835281862080546001600160a01b039096166001600160a01b03199096168617905593855260029093019052912055565b80516001600160a01b0381168114620003ce57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620003fb57600080fd5b81516001600160401b0380821115620004185762000418620003d3565b604051601f8301601f19908116603f01168101908282118183101715620004435762000443620003d3565b81604052838152602092508660208588010111156200046157600080fd5b600091505b8382101562000485578582018301518183018401529082019062000466565b6000602085830101528094505050505092915050565b600080600080600080600060e0888a031215620004b757600080fd5b620004c288620003b6565b60208901519097506001600160401b0380821115620004e057600080fd5b620004ee8b838c01620003e9565b975060408a01519150808211156200050557600080fd5b50620005148a828b01620003e9565b9550506200052560608901620003b6565b9350608088015192506200053c60a08901620003b6565b60c08901519092506001600160801b03811681146200055a57600080fd5b8091505092959891949750929550565b600181811c908216806200057f57607f821691505b602082108103620005a057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005f6576000816000526020600020601f850160051c81016020861015620005d15750805b601f850160051c820191505b81811015620005f257828155600101620005dd565b5050505b505050565b81516001600160401b03811115620006175762000617620003d3565b6200062f816200062884546200056a565b84620005a6565b602080601f8311600181146200066757600084156200064e5750858301515b600019600386901b1c1916600185901b178555620005f2565b600085815260208120601f198616915b82811015620006985788860151825594840194600190910190840162000677565b5085821015620006b75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620006e957634e487b7160e01b600052601160045260246000fd5b92915050565b61589980620006ff6000396000f3fe6080604052600436106103755760003560e01c806387198cf2116101d1578063b24f2d3911610102578063d547741f116100a0578063e985e9c51161006f578063e985e9c514610b23578063ea1def9c14610b5e578063f242432a14610b7e578063f5298aca14610b9e57600080fd5b8063d547741f14610a85578063dbe55e5614610aa5578063e8a3d48514610ac5578063e9703d2514610ada57600080fd5b8063ca15c873116100dc578063ca15c873146109fb578063cb2ef6f714610a1b578063d37c353b14610a38578063d45b28d714610a5857600080fd5b8063b24f2d391461096d578063bd85b03914610998578063c7337d6b146109c557600080fd5b80639bcf7a151161016f578063a22cb46511610149578063a22cb465146108e0578063a32fa5b314610900578063ac9650d814610920578063b03f45281461094d57600080fd5b80639bcf7a15146108955780639ed3edf0146108b5578063a217fddf146108cb57600080fd5b806391d14854116101ab57806391d1485414610820578063938e3d7b14610840578063949c09f71461086057806395d89b411461088057600080fd5b806387198cf2146107c25780638da5cb5b146107e25780639010d07c1461080057600080fd5b80632f2ff15d116102ab5780635ab063e8116102495780636b20c454116102235780636b20c4541461073d5780636f4f28371461075d578063830405321461077d57806385d79102146107ad57600080fd5b80635ab063e8146106e8578063600dd5ea1461070857806363b45e2d1461072857600080fd5b80634cc157df116102855780634cc157df146106195780634e1273f41461065b57806357bc3d78146106885780635811ddab1461069b57600080fd5b80632f2ff15d146105c457806336568abe146105e45780633b1475a71461060457600080fd5b8063183718d11161031857806324aaffaa116102f257806324aaffaa1461051857806329c49b9b146105455780632a55205a146105655780632eb2c2d6146105a457600080fd5b8063183718d1146104ab5780632419f51b146104cb578063248a9ca3146104eb57600080fd5b8063079fe40e11610354578063079fe40e14610417578063096a8ab7146104495780630e89341c1461046b57806313af40351461048b57600080fd5b8062fdd58e1461037a57806301ffc9a7146103c557806306fdde03146103f5575b600080fd5b34801561038657600080fd5b506103b2610395366004614482565b600260209081526000928352604080842090915290825290205481565b6040519081526020015b60405180910390f35b3480156103d157600080fd5b506103e56103e03660046144c4565b610bbe565b60405190151581526020016103bc565b34801561040157600080fd5b5061040a610c2b565b6040516103bc9190614531565b34801561042357600080fd5b50600e546001600160a01b03165b6040516001600160a01b0390911681526020016103bc565b34801561045557600080fd5b50610469610464366004614544565b610cb9565b005b34801561047757600080fd5b5061040a610486366004614544565b610d2d565b34801561049757600080fd5b506104696104a636600461455d565b610d6e565b3480156104b757600080fd5b506104696104c63660046145d3565b610da7565b3480156104d757600080fd5b506103b26104e6366004614544565b6110e6565b3480156104f757600080fd5b506103b2610506366004614544565b60009081526013602052604090205490565b34801561052457600080fd5b506103b2610533366004614544565b60186020526000908152604090205481565b34801561055157600080fd5b50610469610560366004614631565b611154565b34801561057157600080fd5b50610585610580366004614661565b61118f565b604080516001600160a01b0390931683526020830191909152016103bc565b3480156105b057600080fd5b506104696105bf3660046147d1565b6111cc565b3480156105d057600080fd5b506104696105df366004614631565b61125b565b3480156105f057600080fd5b506104696105ff366004614631565b6112f5565b34801561061057600080fd5b50600f546103b2565b34801561062557600080fd5b50610639610634366004614544565b611357565b604080516001600160a01b03909316835261ffff9091166020830152016103bc565b34801561066757600080fd5b5061067b61067636600461487e565b6113c2565b6040516103bc9190614986565b6104696106963660046149ab565b6114ce565b3480156106a757600080fd5b506103b26106b6366004614a50565b6000928352601560209081526040808520938552600390930181528284206001600160a01b0390921684525290205490565b3480156106f457600080fd5b506103b2610703366004614544565b6115d3565b34801561071457600080fd5b50610469610723366004614482565b611684565b34801561073457600080fd5b506009546103b2565b34801561074957600080fd5b50610469610758366004614a89565b6116b2565b34801561076957600080fd5b5061046961077836600461455d565b611854565b34801561078957600080fd5b506103e5610798366004614544565b600b6020526000908152604090205460ff1681565b3480156107b957600080fd5b506011546103b2565b3480156107ce57600080fd5b506104696107dd366004614661565b611881565b3480156107ee57600080fd5b506006546001600160a01b0316610431565b34801561080c57600080fd5b5061043161081b366004614661565b6118a0565b34801561082c57600080fd5b506103e561083b366004614631565b61198e565b34801561084c57600080fd5b5061046961085b366004614afe565b6119b9565b34801561086c57600080fd5b5061046961087b366004614b32565b6119e6565b34801561088c57600080fd5b5061040a611be1565b3480156108a157600080fd5b506104696108b0366004614bcc565b611bee565b3480156108c157600080fd5b506103b260115481565b3480156108d757600080fd5b506103b2600081565b3480156108ec57600080fd5b506104696108fb366004614c04565b611c22565b34801561090c57600080fd5b506103e561091b366004614631565b611cda565b34801561092c57600080fd5b5061094061093b366004614c32565b611d30565b6040516103bc9190614c73565b34801561095957600080fd5b50610469610968366004614cd7565b611e19565b34801561097957600080fd5b506007546001600160a01b03811690600160a01b900461ffff16610639565b3480156109a457600080fd5b506103b26109b3366004614544565b600d6020526000908152604090205481565b3480156109d157600080fd5b506104316109e0366004614544565b6019602052600090815260409020546001600160a01b031681565b348015610a0757600080fd5b506103b2610a16366004614544565b611f0c565b348015610a2757600080fd5b50664552433131353560c81b6103b2565b348015610a4457600080fd5b506103b2610a53366004614d78565b611f95565b348015610a6457600080fd5b50610a78610a73366004614661565b6120a2565b6040516103bc9190614df1565b348015610a9157600080fd5b50610469610aa0366004614631565b612209565b348015610ab157600080fd5b50601054610431906001600160a01b031681565b348015610ad157600080fd5b5061040a612222565b348015610ae657600080fd5b50610b0e610af5366004614544565b6015602052600090815260409020805460019091015482565b604080519283526020830191909152016103bc565b348015610b2f57600080fd5b506103e5610b3e366004614e5e565b600360209081526000928352604080842090915290825290205460ff1681565b348015610b6a57600080fd5b506103e5610b79366004614e8c565b61222f565b348015610b8a57600080fd5b50610469610b99366004614f05565b61263c565b348015610baa57600080fd5b50610469610bb9366004614f6d565b6126c4565b60006301ffc9a760e01b6001600160e01b031983161480610bef5750636cdb3d1360e11b6001600160e01b03198316145b80610c0a57506303a24d0760e21b6001600160e01b03198316145b80610c2557506001600160e01b0319821663152a902d60e11b145b92915050565b60008054610c3890614fa2565b80601f0160208091040260200160405190810160405280929190818152602001828054610c6490614fa2565b8015610cb15780601f10610c8657610100808354040283529160200191610cb1565b820191906000526020600020905b815481529060010190602001808311610c9457829003601f168201915b505050505081565b6010546001600160a01b03163314610ce45760405163231a964b60e11b815260040160405180910390fd5b601154811115610d075760405163a223083f60e01b815260040160405180910390fd5b60008111610d285760405163b4b79d4f60e01b815260040160405180910390fd5b601155565b60606000610d3a836127b9565b905080610d4684612955565b604051602001610d57929190614fd6565b604051602081830303815290604052915050919050565b610d76612a55565b610d9b5760405162461bcd60e51b8152600401610d9290615005565b60405180910390fd5b610da481612a66565b50565b610daf612a55565b610dcb5760405162461bcd60e51b8152600401610d9290615005565b600084815260156020526040902080546001820154818415610df457610df18284615043565b90505b600184018690558084556000805b87811015610fa257801580610e3a5750888882818110610e2457610e24615056565b9050602002810190610e36919061506c565b3582105b610e6b5760405162461bcd60e51b815260206004820152600260248201526114d560f21b6044820152606401610d92565b60006002870181610e7c8487615043565b8152602001908152602001600020600201549050898983818110610ea257610ea2615056565b9050602002810190610eb4919061506c565b60200135811115610efc5760405162461bcd60e51b81526020600482015260126024820152711b585e081cdd5c1c1b1e4818db185a5b595960721b6044820152606401610d92565b898983818110610f0e57610f0e615056565b9050602002810190610f20919061506c565b600288016000610f308588615043565b81526020019081526020016000208181610f4a91906151d9565b50819050600288016000610f5e8588615043565b8152602081019190915260400160002060020155898983818110610f8457610f84615056565b9050602002810190610f96919061506c565b35925050600101610e02565b50851561101957835b82811015611013576000818152600280880160205260408220828155600181018390559081018290556003810182905560048101829055600581018290556006810180546001600160a01b031916905590611009600783018261441f565b5050600101610fab565b5061109f565b8683111561109f57865b8381101561109d5760028601600061103b8386615043565b81526020810191909152604001600090812081815560018101829055600281018290556003810182905560048101829055600581018290556006810180546001600160a01b031916905590611093600783018261441f565b5050600101611023565b505b887f066f72a648b18490c0bc4ab07d508cdb5d6589fa188c63cfba1e0547f3a6556a8989896040516110d3939291906152c5565b60405180910390a2505050505050505050565b60006110f160095490565b821061112f5760405162461bcd60e51b815260206004820152600d60248201526c092dcecc2d8d2c840d2dcc8caf609b1b6044820152606401610d92565b6009828154811061114257611142615056565b90600052602060002001549050919050565b60006111608133612ab8565b5060009182526019602052604090912080546001600160a01b0319166001600160a01b03909216919091179055565b60008060008061119e86611357565b90945084925061ffff1690506127106111b782876153ad565b6111c191906153da565b925050509250929050565b6001600160a01b03851633148061120657506001600160a01b038516600090815260036020908152604080832033845290915290205460ff165b6112475760405162461bcd60e51b81526020600482015260126024820152710853d5d3915497d3d497d054141493d5915160721b6044820152606401610d92565b6112548585858585612b38565b5050505050565b6000828152601360205260409020546112749033612ab8565b60008281526012602090815260408083206001600160a01b038516845290915290205460ff16156112e75760405162461bcd60e51b815260206004820152601d60248201527f43616e206f6e6c79206772616e7420746f206e6f6e20686f6c646572730000006044820152606401610d92565b6112f18282612ce4565b5050565b336001600160a01b0382161461134d5760405162461bcd60e51b815260206004820152601a60248201527f43616e206f6e6c792072656e6f756e636520666f722073656c660000000000006044820152606401610d92565b6112f18282612cf8565b6000818152600860209081526040808320815180830190925280546001600160a01b03168083526001909101549282019290925282911561139e57805160208201516113b8565b6007546001600160a01b03811690600160a01b900461ffff165b9250925050915091565b606081518351146113e55760405162461bcd60e51b8152600401610d92906153ee565b600083516001600160401b0381111561140057611400614683565b604051908082528060200260200182016040528015611429578160200160208202803683370190505b50905060005b84518110156114c6576002600086838151811061144e5761144e615056565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020600085838151811061148a5761148a615056565b60200260200101518152602001908152602001600020548282815181106114b3576114b3615056565b602090810291909101015260010161142f565b509392505050565b6114dd86888787878787612d4f565b60006114e8876115d3565b90506114f98133898989898961222f565b50600087815260156020908152604080832084845260029081019092528220018054889290611529908490615043565b90915550506000878152601560209081526040808320848452600301825280832033845290915281208054889290611562908490615043565b909155506115769050876000888888612dc4565b611581888888612edc565b60408051888152602081018890526001600160a01b038a1691339184917ffa76a4010d9533e3e964f2930a65fb6042a12fa6ff5b08281837a10b0be7321e910160405180910390a45050505050505050565b60008181526015602052604081206001810154815483916115f391615043565b90505b815481111561164d57600282016000611610600184615417565b815260200190815260200160002060000154421061163b57611633600182615417565b949350505050565b806116458161542a565b9150506115f6565b5060405162461bcd60e51b815260206004820152600b60248201526a10a1a7a72224aa24a7a71760a91b6044820152606401610d92565b61168c612a55565b6116a85760405162461bcd60e51b8152600401610d9290615005565b6112f18282612ef7565b336001600160a01b0384168114806116ef57506001600160a01b0380851660009081526003602090815260408083209385168352929052205460ff165b61172f5760405162461bcd60e51b81526020600482015260116024820152702ab730b8383937bb32b21031b0b63632b960791b6044820152606401610d92565b81518351146117725760405162461bcd60e51b815260206004820152600f60248201526e098cadccee8d040dad2e6dac2e8c6d608b1b6044820152606401610d92565b60005b83518110156118425782818151811061179057611790615056565b602002602001015160026000876001600160a01b03166001600160a01b0316815260200190815260200160002060008684815181106117d1576117d1615056565b602002602001015181526020019081526020016000205410156118305760405162461bcd60e51b8152602060048201526017602482015276139bdd08195b9bdd59da081d1bdad95b9cc81bdddb9959604a1b6044820152606401610d92565b61183b600182615043565b9050611775565b5061184e848484612f9d565b50505050565b61185c612a55565b6118785760405162461bcd60e51b8152600401610d9290615005565b610da481613148565b600061188d8133612ab8565b5060009182526018602052604090912055565b60008281526014602052604081205481805b828110156119855760008681526014602090815260408083208484526001019091529020546001600160a01b03161561192e5784820361191c5760008681526014602090815260408083209383526001909301905220546001600160a01b03169250610c25915050565b611927600183615043565b9150611973565b61193986600061198e565b80156119605750600086815260146020908152604080832083805260020190915290205481145b1561197357611970600183615043565b91505b61197e600182615043565b90506118b2565b50505092915050565b60009182526012602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6119c1612a55565b6119dd5760405162461bcd60e51b8152600401610d9290615005565b610da481613192565b6119ee61326e565b611a345760405162461bcd60e51b81526020600482015260176024820152762737ba1030baba3437b934bd32b2103a379036b4b73a1760491b6044820152606401610d92565b6000825111611a7c5760405162461bcd60e51b815260206004820152601460248201527326b4b73a34b733903d32b937903a37b5b2b7399760611b6044820152606401610d92565b8151835114611ac05760405162461bcd60e51b815260206004820152601060248201526f2632b733ba341036b4b9b6b0ba31b41760811b6044820152606401610d92565b6000611acb600f5490565b9050806000805b8651811015611ba157600019878281518110611af057611af0615056565b602002602001015103611b3a5783878281518110611b1057611b10615056565b6020908102919091010152611b26600185615043565b9350611b33600183615043565b9150611b8f565b83878281518110611b4d57611b4d615056565b602002602001015110611b8f5760405162461bcd60e51b815260206004820152600a6024820152691a5b9d985b1a59081a5960b21b6044820152606401610d92565b611b9a600182615043565b9050611ad2565b508015611bb657611bb382828661329b565b50505b82600c81905550611bd8878787604051806020016040528060008152506132ff565b50505050505050565b60018054610c3890614fa2565b611bf6612a55565b611c125760405162461bcd60e51b8152600401610d9290615005565b611c1d83838361344f565b505050565b336001600160a01b0383168103611c6c5760405162461bcd60e51b815260206004820152600e60248201526d20a8282927ab24a723afa9a2a62360911b6044820152606401610d92565b6001600160a01b03818116600081815260036020908152604080832094881680845294825291829020805460ff191687151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3191015b60405180910390a3505050565b600082815260126020908152604080832083805290915281205460ff16611d27575060008281526012602090815260408083206001600160a01b038516845290915290205460ff16610c25565b50600192915050565b6060816001600160401b03811115611d4a57611d4a614683565b604051908082528060200260200182016040528015611d7d57816020015b6060815260200190600190039081611d685790505b50905060005b82811015611e1257611ded30858584818110611da157611da1615056565b9050602002810190611db3919061508c565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061351092505050565b828281518110611dff57611dff615056565b6020908102919091010152600101611d83565b5092915050565b611e2161326e565b611e675760405162461bcd60e51b81526020600482015260176024820152762737ba1030baba3437b934bd32b2103a379036b4b73a1760491b6044820152606401610d92565b600080611e73600f5490565b90506000198503611ea9578091506001600c6000828254611e949190615043565b90915550611ea49050818561353c565b611ee9565b808510611ee55760405162461bcd60e51b815260206004820152600a6024820152691a5b9d985b1a59081a5960b21b6044820152606401610d92565b8491505b611f0486838560405180602001604052806000815250613554565b505050505050565b600081815260146020526040812054815b81811015611f705760008481526014602090815260408083208484526001019091529020546001600160a01b031615611f5e57611f5b600184615043565b92505b611f69600182615043565b9050611f1d565b50611f7c83600061198e565b15611f8f57611f8c600183615043565b91505b50919050565b6000611f9f61362d565b611fbb5760405162461bcd60e51b8152600401610d9290615005565b85600003611ff35760405162461bcd60e51b81526020600482015260056024820152640c08185b5d60da1b6044820152606401610d92565b6000600f54905061203b818888888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061329b92505050565b600f919091559150807f2a0365091ef1a40953c670dce28177e37520648a6fdc91506bffac0ab045570d60016120718a84615043565b61207b9190615417565b88888888604051612090959493929190615441565b60405180910390a25095945050505050565b6120f660405180610100016040528060008152602001600081526020016000815260200160008152602001600080191681526020016000815260200160006001600160a01b03168152602001606081525090565b600083815260156020908152604080832085845260029081018352928190208151610100810183528154815260018201549381019390935292830154908201526003820154606082015260048201546080820152600582015460a082015260068201546001600160a01b031660c082015260078201805491929160e08401919061217f90614fa2565b80601f01602080910402602001604051908101604052809291908181526020018280546121ab90614fa2565b80156121f85780601f106121cd576101008083540402835291602001916121f8565b820191906000526020600020905b8154815290600101906020018083116121db57829003601f168201915b505050505081525050905092915050565b60008281526013602052604090205461134d9033612ab8565b60058054610c3890614fa2565b60008581526015602090815260408083208a8452600290810183528184208251610100810184528154815260018201549481019490945290810154918301919091526003810154606083015260048101546080830152600581015460a083015260068101546001600160a01b031660c08301526007810180548493929160e08401916122ba90614fa2565b80601f01602080910402602001604051908101604052809291908181526020018280546122e690614fa2565b80156123335780601f1061230857610100808354040283529160200191612333565b820191906000526020600020905b81548152906001019060200180831161231657829003601f168201915b50505091909252505050606081015160a082015160c083015160808401519394509192909190156124185761241461236b878061547a565b80806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250505060808088015191508e9060208b01359060408c0135906123c0908d0160608e0161455d565b6040516bffffffffffffffffffffffff19606095861b811660208301526034820194909452605481019290925290921b1660748201526088016040516020818303038152906040528051906020012061363c565b5094505b841561249f5785602001356000036124305782612436565b85602001355b925060001986604001350361244b5781612451565b85604001355b915060001986604001351415801561248257506000612476608088016060890161455d565b6001600160a01b031614155b61248c578061249c565b61249c608087016060880161455d565b90505b6000601560008c815260200190815260200160002060030160008e815260200190815260200160002060008d6001600160a01b03166001600160a01b03168152602001908152602001600020549050816001600160a01b0316896001600160a01b031614158061250f5750828814155b1561254f5760405162461bcd60e51b815260206004820152601060248201526f2150726963654f7243757272656e637960801b6044820152606401610d92565b891580612564575083612562828c615043565b115b1561259a5760405162461bcd60e51b8152600401610d92906020808252600490820152632151747960e01b604082015260600190565b84602001518a86604001516125af9190615043565b11156125ea5760405162461bcd60e51b815260206004820152600a602482015269214d6178537570706c7960b01b6044820152606401610d92565b845142101561262c5760405162461bcd60e51b815260206004820152600e60248201526d18d85b9d0818db185a5b481e595d60921b6044820152606401610d92565b5050505050979650505050505050565b6001600160a01b03851633148061267657506001600160a01b038516600090815260036020908152604080832033845290915290205460ff165b6126b75760405162461bcd60e51b81526020600482015260126024820152710853d5d3915497d3d497d054141493d5915160721b6044820152606401610d92565b6112548585858585613700565b336001600160a01b03841681148061270157506001600160a01b0380851660009081526003602090815260408083209385168352929052205460ff165b6127415760405162461bcd60e51b81526020600482015260116024820152702ab730b8383937bb32b21031b0b63632b960791b6044820152606401610d92565b6001600160a01b03841660009081526002602090815260408083208684529091529020548211156127ae5760405162461bcd60e51b8152602060048201526017602482015276139bdd08195b9bdd59da081d1bdad95b9cc81bdddb9959604a1b6044820152606401610d92565b61184e848484613826565b606060006127c660095490565b90506000600980548060200260200160405190810160405280929190818152602001828054801561281657602002820191906000526020600020905b815481526020019060010190808311612802575b5050505050905060005b8281101561291a5781818151811061283a5761283a615056565b602002602001015185101561290857600a600083838151811061285f5761285f615056565b60200260200101518152602001908152602001600020805461288090614fa2565b80601f01602080910402602001604051908101604052809291908181526020018280546128ac90614fa2565b80156128f95780601f106128ce576101008083540402835291602001916128f9565b820191906000526020600020905b8154815290600101906020018083116128dc57829003601f168201915b50505050509350505050919050565b612913600182615043565b9050612820565b5060405162461bcd60e51b815260206004820152600f60248201526e125b9d985b1a59081d1bdad95b9259608a1b6044820152606401610d92565b60608160000361297c5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156129a65780612990816154c3565b915061299f9050600a836153da565b9150612980565b6000816001600160401b038111156129c0576129c0614683565b6040519080825280601f01601f1916602001820160405280156129ea576020820181803683370190505b5090505b8415611633576129ff600183615417565b9150612a0c600a866154dc565b612a17906030615043565b60f81b818381518110612a2c57612a2c615056565b60200101906001600160f81b031916908160001a905350612a4e600a866153da565b94506129ee565b6000612a61813361198e565b905090565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d7690600090a35050565b60008281526012602090815260408083206001600160a01b038516845290915290205460ff166112f157612af6816001600160a01b0316601461394b565b612b0183602061394b565b604051602001612b129291906154f0565b60408051601f198184030181529082905262461bcd60e51b8252610d9291600401614531565b8151835114612b595760405162461bcd60e51b8152600401610d92906153ee565b6001600160a01b038416612b7f5760405162461bcd60e51b8152600401610d929061555d565b33612b8e818787878787613ae6565b60005b8451811015612c7e576000858281518110612bae57612bae615056565b602002602001015190506000858381518110612bcc57612bcc615056565b6020908102919091018101516001600160a01b038b166000908152600283526040808220868352909352919091205490915081811015612c1e5760405162461bcd60e51b8152600401610d9290615583565b6001600160a01b03808b16600090815260026020818152604080842088855282528084208787039055938d16835290815282822086835290529081208054849290612c6a908490615043565b909155505060019093019250612b91915050565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612cce9291906155ad565b60405180910390a4611f04818787878787613be0565b612cee8282613d33565b6112f18282613d8e565b612d028282613dfb565b60008281526014602090815260408083206001600160a01b03851680855260028201808552838620805487526001909301855292852080546001600160a01b031916905584529152555050565b6000878152601860205260409020541580612d8e5750600087815260186020908152604080832054600d90925290912054612d8b908790615043565b11155b611bd85760405162461bcd60e51b815260206004820152600760248201526621537570706c7960c81b6044820152606401610d92565b60006001600160a01b03851615612ddb5784612e22565b6000868152601960205260409020546001600160a01b031615612e15576000868152601960205260409020546001600160a01b0316612e22565b600e546001600160a01b03165b90506000808311612e34576000612e3e565b612e3e83866153ad565b905073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed196001600160a01b03851601612eae57601154612e729082615043565b3414612eae5760405162461bcd60e51b815260206004820152600b60248201526a21436c61696d507269636560a81b6044820152606401610d92565b8215612ec057612ec084338484613e5d565b611bd884336010546011546001600160a01b0390911690613e5d565b611c1d83838360405180602001604052806000815250613554565b612710811115612f3b5760405162461bcd60e51b815260206004820152600f60248201526e45786365656473206d61782062707360881b6044820152606401610d92565b600780546001600160a01b0384166001600160b01b03199091168117600160a01b61ffff851602179091556040518281527f90d7ec04bcb8978719414f82e52e4cb651db41d0e6f8cea6118c2191e6183adb9060200160405180910390a25050565b6001600160a01b038316612fe45760405162461bcd60e51b815260206004820152600e60248201526d232927a6afad22a927afa0a2222960911b6044820152606401610d92565b80518251146130055760405162461bcd60e51b8152600401610d92906153ee565b600033905061302881856000868660405180602001604052806000815250613ae6565b60005b83518110156130e957600084828151811061304857613048615056565b60200260200101519050600084838151811061306657613066615056565b6020908102919091018101516001600160a01b03891660009081526002835260408082208683529093529190912054909150818110156130b85760405162461bcd60e51b8152600401610d9290615583565b6001600160a01b0388166000908152600260209081526040808320958352949052929092209103905560010161302b565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb868660405161313a9291906155ad565b60405180910390a450505050565b600e80546001600160a01b0319166001600160a01b0383169081179091556040517f299d17e95023f496e0ffc4909cff1a61f74bb5eb18de6f900f4155bfa1b3b33390600090a250565b6000600580546131a190614fa2565b80601f01602080910402602001604051908101604052809291908181526020018280546131cd90614fa2565b801561321a5780601f106131ef5761010080835404028352916020019161321a565b820191906000526020600020905b8154815290600101906020018083116131fd57829003601f168201915b50505050509050816005908161323091906155db565b507fc9c7c3fe08b88b4df9d4d47ef47d2c43d55c025a0ba88ca442580ed9e7348a16818360405161326292919061569a565b60405180910390a15050565b60006132826006546001600160a01b031690565b6001600160a01b0316336001600160a01b031614905090565b6000806132a88486615043565b60098054600181019091557f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af018190556000818152600a602052604090209092508291506132f684826155db565b50935093915050565b6001600160a01b0384166133255760405162461bcd60e51b8152600401610d929061555d565b81518351146133465760405162461bcd60e51b8152600401610d92906153ee565b3361335681600087878787613ae6565b60005b84518110156133e75783818151811061337457613374615056565b602002602001015160026000886001600160a01b03166001600160a01b0316815260200190815260200160002060008784815181106133b5576133b5615056565b6020026020010151815260200190815260200160002060008282546133da9190615043565b9091555050600101613359565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516134389291906155ad565b60405180910390a461125481600087878787613be0565b6127108111156134935760405162461bcd60e51b815260206004820152600f60248201526e45786365656473206d61782062707360881b6044820152606401610d92565b6040805180820182526001600160a01b038481168083526020808401868152600089815260088352869020945185546001600160a01b031916941693909317845591516001909301929092559151838152909185917f7365cf4122f072a3365c20d54eff9b38d73c096c28e1892ec8f5b0e403a0f12d9101611ccd565b6060613535838360405180606001604052806027815260200161583d60279139613ea3565b9392505050565b6000828152600460205260409020611c1d82826155db565b6001600160a01b03841661357a5760405162461bcd60e51b8152600401610d929061555d565b3361359a8160008761358b88613f80565b61359488613f80565b87613ae6565b6001600160a01b0385166000908152600260209081526040808320878452909152812080548592906135cd908490615043565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461125481600087878787613fcb565b6000612a6160175461083b3390565b6000808281805b87518110156136f4576136576002836153ad565b9150600088828151811061366d5761366d615056565b602002602001015190508084116136af5760408051602081018690529081018290526060016040516020818303038152906040528051906020012093506136eb565b60408051602081018390529081018590526060016040516020818303038152906040528051906020012093506001836136e89190615043565b92505b50600101613643565b50941495939450505050565b6001600160a01b0384166137265760405162461bcd60e51b8152600401610d929061555d565b3361373681878761358b88613f80565b6001600160a01b03861660009081526002602090815260408083208784529091529020548381101561377a5760405162461bcd60e51b8152600401610d9290615583565b6001600160a01b0380881660009081526002602081815260408084208a855282528084208987039055938a168352908152828220888352905290812080548692906137c6908490615043565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611bd8828888888888613fcb565b6001600160a01b03831661386d5760405162461bcd60e51b815260206004820152600e60248201526d232927a6afad22a927afa0a2222960911b6044820152606401610d92565b3361389c8185600061387e87613f80565b61388787613f80565b60405180602001604052806000815250613ae6565b6001600160a01b0384166000908152600260209081526040808320868452909152902054828110156138e05760405162461bcd60e51b8152600401610d9290615583565b6001600160a01b03858116600081815260026020908152604080832089845282528083208887039055805189815291820188905291938616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b6060600061395a8360026153ad565b613965906002615043565b6001600160401b0381111561397c5761397c614683565b6040519080825280601f01601f1916602001820160405280156139a6576020820181803683370190505b509050600360fc1b816000815181106139c1576139c1615056565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106139f0576139f0615056565b60200101906001600160f81b031916908160001a9053506000613a148460026153ad565b613a1f906001615043565b90505b6001811115613a97576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110613a5357613a53615056565b1a60f81b828281518110613a6957613a69615056565b60200101906001600160f81b031916908160001a90535060049490941c93613a908161542a565b9050613a22565b5083156135355760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610d92565b6001600160a01b038516613b645760005b8351811015613b6257828181518110613b1257613b12615056565b6020026020010151600d6000868481518110613b3057613b30615056565b602002602001015181526020019081526020016000206000828254613b559190615043565b9091555050600101613af7565b505b6001600160a01b038416611f045760005b8351811015611bd857828181518110613b9057613b90615056565b6020026020010151600d6000868481518110613bae57613bae615056565b602002602001015181526020019081526020016000206000828254613bd39190615417565b9091555050600101613b75565b6001600160a01b0384163b15611f045760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190613c2490899089908890889088906004016156bf565b6020604051808303816000875af1925050508015613c5f575060408051601f3d908101601f19168201909252613c5c91810190615711565b60015b613ce157613c6b61572e565b806308c379a003613ca45750613c7f61574a565b80613c8a5750613ca6565b8060405162461bcd60e51b8152600401610d929190614531565b505b60405162461bcd60e51b815260206004820152601060248201526f10a2a92198989a9aa922a1a2a4ab22a960811b6044820152606401610d92565b6001600160e01b0319811663bc197c8160e01b14611bd85760405162461bcd60e51b815260206004820152600f60248201526e1513d2d15394d7d491529150d51151608a1b6044820152606401610d92565b60008281526012602090815260408083206001600160a01b0385168085529252808320805460ff1916600117905551339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b600082815260146020526040812080549160019190613dad8385615043565b9091555050600092835260146020908152604080852083865260018101835281862080546001600160a01b039096166001600160a01b03199096168617905593855260029093019052912055565b613e058282612ab8565b60008281526012602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b801561184e5773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed196001600160a01b03851601613e9757613e9282826140a8565b61184e565b61184e8484848461414b565b60606001600160a01b0384163b613f0b5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610d92565b600080856001600160a01b031685604051613f2691906157d3565b600060405180830381855af49150503d8060008114613f61576040519150601f19603f3d011682016040523d82523d6000602084013e613f66565b606091505b5091509150613f7682828661419e565b9695505050505050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110613fba57613fba615056565b602090810291909101015292915050565b6001600160a01b0384163b15611f045760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e619061400f90899089908890889088906004016157e5565b6020604051808303816000875af192505050801561404a575060408051601f3d908101601f1916820190925261404791810190615711565b60015b61405657613c6b61572e565b6001600160e01b0319811663f23a6e6160e01b14611bd85760405162461bcd60e51b815260206004820152600f60248201526e1513d2d15394d7d491529150d51151608a1b6044820152606401610d92565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146140f5576040519150601f19603f3d011682016040523d82523d6000602084013e6140fa565b606091505b5050905080611c1d5760405162461bcd60e51b815260206004820152601c60248201527f6e617469766520746f6b656e207472616e73666572206661696c6564000000006044820152606401610d92565b816001600160a01b0316836001600160a01b0316031561184e57306001600160a01b0384160361418957613e926001600160a01b03851683836141d7565b61184e6001600160a01b03851684848461423a565b606083156141ad575081613535565b8251156141bd5782518084602001fd5b8160405162461bcd60e51b8152600401610d929190614531565b6040516001600160a01b038316602482015260448101829052611c1d90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152614272565b6040516001600160a01b038085166024830152831660448201526064810182905261184e9085906323b872dd60e01b90608401614203565b60006142c7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166143449092919063ffffffff16565b805190915015611c1d57808060200190518101906142e5919061581f565b611c1d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610d92565b60606116338484600085856001600160a01b0385163b6143a65760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610d92565b600080866001600160a01b031685876040516143c291906157d3565b60006040518083038185875af1925050503d80600081146143ff576040519150601f19603f3d011682016040523d82523d6000602084013e614404565b606091505b509150915061441482828661419e565b979650505050505050565b50805461442b90614fa2565b6000825580601f1061443b575050565b601f016020900490600052602060002090810190610da491905b808211156144695760008155600101614455565b5090565b6001600160a01b0381168114610da457600080fd5b6000806040838503121561449557600080fd5b82356144a08161446d565b946020939093013593505050565b6001600160e01b031981168114610da457600080fd5b6000602082840312156144d657600080fd5b8135613535816144ae565b60005b838110156144fc5781810151838201526020016144e4565b50506000910152565b6000815180845261451d8160208601602086016144e1565b601f01601f19169290920160200192915050565b6020815260006135356020830184614505565b60006020828403121561455657600080fd5b5035919050565b60006020828403121561456f57600080fd5b81356135358161446d565b60008083601f84011261458c57600080fd5b5081356001600160401b038111156145a357600080fd5b6020830191508360208260051b85010111156145be57600080fd5b9250929050565b8015158114610da457600080fd5b600080600080606085870312156145e957600080fd5b8435935060208501356001600160401b0381111561460657600080fd5b6146128782880161457a565b9094509250506040850135614626816145c5565b939692955090935050565b6000806040838503121561464457600080fd5b8235915060208301356146568161446d565b809150509250929050565b6000806040838503121561467457600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b03811182821017156146be576146be614683565b6040525050565b60006001600160401b038211156146de576146de614683565b5060051b60200190565b600082601f8301126146f957600080fd5b81356020614706826146c5565b6040516147138282614699565b80915083815260208101915060208460051b87010193508684111561473757600080fd5b602086015b84811015614753578035835291830191830161473c565b509695505050505050565b600082601f83011261476f57600080fd5b81356001600160401b0381111561478857614788614683565b60405161479f601f8301601f191660200182614699565b8181528460208386010111156147b457600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a086880312156147e957600080fd5b85356147f48161446d565b945060208601356148048161446d565b935060408601356001600160401b038082111561482057600080fd5b61482c89838a016146e8565b9450606088013591508082111561484257600080fd5b61484e89838a016146e8565b9350608088013591508082111561486457600080fd5b506148718882890161475e565b9150509295509295909350565b6000806040838503121561489157600080fd5b82356001600160401b03808211156148a857600080fd5b818501915085601f8301126148bc57600080fd5b813560206148c9826146c5565b6040516148d68282614699565b83815260059390931b85018201928281019150898411156148f657600080fd5b948201945b8386101561491d57853561490e8161446d565b825294820194908201906148fb565b9650508601359250508082111561493357600080fd5b50614940858286016146e8565b9150509250929050565b60008151808452602080850194506020840160005b8381101561497b5781518752958201959082019060010161495f565b509495945050505050565b602081526000613535602083018461494a565b600060808284031215611f8f57600080fd5b600080600080600080600060e0888a0312156149c657600080fd5b87356149d18161446d565b9650602088013595506040880135945060608801356149ef8161446d565b93506080880135925060a08801356001600160401b0380821115614a1257600080fd5b614a1e8b838c01614999565b935060c08a0135915080821115614a3457600080fd5b50614a418a828b0161475e565b91505092959891949750929550565b600080600060608486031215614a6557600080fd5b83359250602084013591506040840135614a7e8161446d565b809150509250925092565b600080600060608486031215614a9e57600080fd5b8335614aa98161446d565b925060208401356001600160401b0380821115614ac557600080fd5b614ad1878388016146e8565b93506040860135915080821115614ae757600080fd5b50614af4868287016146e8565b9150509250925092565b600060208284031215614b1057600080fd5b81356001600160401b03811115614b2657600080fd5b6116338482850161475e565b60008060008060808587031215614b4857600080fd5b8435614b538161446d565b935060208501356001600160401b0380821115614b6f57600080fd5b614b7b888389016146e8565b94506040870135915080821115614b9157600080fd5b614b9d888389016146e8565b93506060870135915080821115614bb357600080fd5b50614bc08782880161475e565b91505092959194509250565b600080600060608486031215614be157600080fd5b833592506020840135614bf38161446d565b929592945050506040919091013590565b60008060408385031215614c1757600080fd5b8235614c228161446d565b91506020830135614656816145c5565b60008060208385031215614c4557600080fd5b82356001600160401b03811115614c5b57600080fd5b614c678582860161457a565b90969095509350505050565b600060208083016020845280855180835260408601915060408160051b87010192506020870160005b82811015614cca57603f19888603018452614cb8858351614505565b94509285019290850190600101614c9c565b5092979650505050505050565b60008060008060808587031215614ced57600080fd5b8435614cf88161446d565b93506020850135925060408501356001600160401b03811115614d1a57600080fd5b614d268782880161475e565b949793965093946060013593505050565b60008083601f840112614d4957600080fd5b5081356001600160401b03811115614d6057600080fd5b6020830191508360208285010111156145be57600080fd5b600080600080600060608688031215614d9057600080fd5b8535945060208601356001600160401b0380821115614dae57600080fd5b614dba89838a01614d37565b90965094506040880135915080821115614dd357600080fd5b50614de088828901614d37565b969995985093965092949392505050565b6020815281516020820152602082015160408201526040820151606082015260608201516080820152608082015160a082015260a082015160c082015260018060a01b0360c08301511660e0820152600060e0830151610100808185015250611633610120840182614505565b60008060408385031215614e7157600080fd5b8235614e7c8161446d565b915060208301356146568161446d565b600080600080600080600060e0888a031215614ea757600080fd5b873596506020880135614eb98161446d565b955060408801359450606088013593506080880135614ed78161446d565b925060a0880135915060c08801356001600160401b03811115614ef957600080fd5b614a418a828b01614999565b600080600080600060a08688031215614f1d57600080fd5b8535614f288161446d565b94506020860135614f388161446d565b9350604086013592506060860135915060808601356001600160401b03811115614f6157600080fd5b6148718882890161475e565b600080600060608486031215614f8257600080fd5b8335614f8d8161446d565b95602085013595506040909401359392505050565b600181811c90821680614fb657607f821691505b602082108103611f8f57634e487b7160e01b600052602260045260246000fd5b60008351614fe88184602088016144e1565b835190830190614ffc8183602088016144e1565b01949350505050565b6020808252600e908201526d139bdd08185d5d1a1bdc9a5e995960921b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610c2557610c2561502d565b634e487b7160e01b600052603260045260246000fd5b6000823560fe1983360301811261508257600080fd5b9190910192915050565b6000808335601e198436030181126150a357600080fd5b8301803591506001600160401b038211156150bd57600080fd5b6020019150368190038213156145be57600080fd5b601f821115611c1d576000816000526020600020601f850160051c810160208610156150fb5750805b601f850160051c820191505b81811015611f0457828155600101615107565b6001600160401b0383111561513157615131614683565b6151458361513f8354614fa2565b836150d2565b6000601f84116001811461517957600085156151615750838201355b600019600387901b1c1916600186901b178355611254565b600083815260209020601f19861690835b828110156151aa578685013582556020948501946001909201910161518a565b50868210156151c75760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b813581556020820135600182015560408201356002820155606082013560038201556080820135600482015560a082013560058201556006810160c08301356152218161446d565b81546001600160a01b0319166001600160a01b039190911617905561524960e083018361508c565b61184e81836007860161511a565b6000808335601e1984360301811261526e57600080fd5b83016020810192503590506001600160401b0381111561528d57600080fd5b8036038213156145be57600080fd5b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60408082528181018490526000906060808401600587901b850182018885805b8a81101561539757888403605f190185528235368d900360fe1901811261530a578283fd5b8c018035855260208082013581870152888201358987015287820135888701526080808301359087015260a080830135908701526101009060c0808401356153518161446d565b6001600160a01b03169088015260e061536c84820185615257565b945083828a0152615380848a01868361529c565b9983019998505050949094019350506001016152e5565b5050508615156020870152935061163392505050565b8082028115828204841417610c2557610c2561502d565b634e487b7160e01b600052601260045260246000fd5b6000826153e9576153e96153c4565b500490565b6020808252600f908201526e0988a9c8ea890be9a92a69a82a8869608b1b604082015260600190565b81810381811115610c2557610c2561502d565b6000816154395761543961502d565b506000190190565b85815260606020820152600061545b60608301868861529c565b828103604084015261546e81858761529c565b98975050505050505050565b6000808335601e1984360301811261549157600080fd5b8301803591506001600160401b038211156154ab57600080fd5b6020019150600581901b36038213156145be57600080fd5b6000600182016154d5576154d561502d565b5060010190565b6000826154eb576154eb6153c4565b500690565b7402832b936b4b9b9b4b7b7399d1030b1b1b7bab73a1605d1b8152600083516155208160158501602088016144e1565b7001034b99036b4b9b9b4b733903937b6329607d1b60159184019182015283516155518160268401602088016144e1565b01602601949350505050565b6020808252600c908201526b2a27afad22a927afa0a2222960a11b604082015260600190565b60208082526010908201526f125394d551919250d251539517d0905360821b604082015260600190565b6040815260006155c0604083018561494a565b82810360208401526155d2818561494a565b95945050505050565b81516001600160401b038111156155f4576155f4614683565b615608816156028454614fa2565b846150d2565b602080601f83116001811461563d57600084156156255750858301515b600019600386901b1c1916600185901b178555611f04565b600085815260208120601f198616915b8281101561566c5788860151825594840194600190910190840161564d565b508582101561568a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6040815260006156ad6040830185614505565b82810360208401526155d28185614505565b6001600160a01b0386811682528516602082015260a0604082018190526000906156eb9083018661494a565b82810360608401526156fd818661494a565b9050828103608084015261546e8185614505565b60006020828403121561572357600080fd5b8151613535816144ae565b600060033d11156157475760046000803e5060005160e01c5b90565b600060443d10156157585790565b6040516003193d81016004833e81513d6001600160401b03816024840111818411171561578757505050505090565b828501915081518181111561579f5750505050505090565b843d87010160208285010111156157b95750505050505090565b6157c860208286010187614699565b509095945050505050565b600082516150828184602087016144e1565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061441490830184614505565b60006020828403121561583157600080fd5b8151613535816145c556fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212201f63e0e53281c127463590c4d83f57b94df48e11483aea8d780ed8cfd0a4afcb64736f6c634300081700330000000000000000000000004c8afccf59886578213f70b0128c76f3be26e88800000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000004c8afccf59886578213f70b0128c76f3be26e8880000000000000000000000000000000000000000000000000c80a498a0070fc00000000000000000000000004c8afccf59886578213f70b0128c76f3be26e88800000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000000000000000000000000000000000000000000b5472756d706c65646f726500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055452554d50000000000000000000000000000000000000000000000000000000

    Deployed Bytecode

    0x6080604052600436106103755760003560e01c806387198cf2116101d1578063b24f2d3911610102578063d547741f116100a0578063e985e9c51161006f578063e985e9c514610b23578063ea1def9c14610b5e578063f242432a14610b7e578063f5298aca14610b9e57600080fd5b8063d547741f14610a85578063dbe55e5614610aa5578063e8a3d48514610ac5578063e9703d2514610ada57600080fd5b8063ca15c873116100dc578063ca15c873146109fb578063cb2ef6f714610a1b578063d37c353b14610a38578063d45b28d714610a5857600080fd5b8063b24f2d391461096d578063bd85b03914610998578063c7337d6b146109c557600080fd5b80639bcf7a151161016f578063a22cb46511610149578063a22cb465146108e0578063a32fa5b314610900578063ac9650d814610920578063b03f45281461094d57600080fd5b80639bcf7a15146108955780639ed3edf0146108b5578063a217fddf146108cb57600080fd5b806391d14854116101ab57806391d1485414610820578063938e3d7b14610840578063949c09f71461086057806395d89b411461088057600080fd5b806387198cf2146107c25780638da5cb5b146107e25780639010d07c1461080057600080fd5b80632f2ff15d116102ab5780635ab063e8116102495780636b20c454116102235780636b20c4541461073d5780636f4f28371461075d578063830405321461077d57806385d79102146107ad57600080fd5b80635ab063e8146106e8578063600dd5ea1461070857806363b45e2d1461072857600080fd5b80634cc157df116102855780634cc157df146106195780634e1273f41461065b57806357bc3d78146106885780635811ddab1461069b57600080fd5b80632f2ff15d146105c457806336568abe146105e45780633b1475a71461060457600080fd5b8063183718d11161031857806324aaffaa116102f257806324aaffaa1461051857806329c49b9b146105455780632a55205a146105655780632eb2c2d6146105a457600080fd5b8063183718d1146104ab5780632419f51b146104cb578063248a9ca3146104eb57600080fd5b8063079fe40e11610354578063079fe40e14610417578063096a8ab7146104495780630e89341c1461046b57806313af40351461048b57600080fd5b8062fdd58e1461037a57806301ffc9a7146103c557806306fdde03146103f5575b600080fd5b34801561038657600080fd5b506103b2610395366004614482565b600260209081526000928352604080842090915290825290205481565b6040519081526020015b60405180910390f35b3480156103d157600080fd5b506103e56103e03660046144c4565b610bbe565b60405190151581526020016103bc565b34801561040157600080fd5b5061040a610c2b565b6040516103bc9190614531565b34801561042357600080fd5b50600e546001600160a01b03165b6040516001600160a01b0390911681526020016103bc565b34801561045557600080fd5b50610469610464366004614544565b610cb9565b005b34801561047757600080fd5b5061040a610486366004614544565b610d2d565b34801561049757600080fd5b506104696104a636600461455d565b610d6e565b3480156104b757600080fd5b506104696104c63660046145d3565b610da7565b3480156104d757600080fd5b506103b26104e6366004614544565b6110e6565b3480156104f757600080fd5b506103b2610506366004614544565b60009081526013602052604090205490565b34801561052457600080fd5b506103b2610533366004614544565b60186020526000908152604090205481565b34801561055157600080fd5b50610469610560366004614631565b611154565b34801561057157600080fd5b50610585610580366004614661565b61118f565b604080516001600160a01b0390931683526020830191909152016103bc565b3480156105b057600080fd5b506104696105bf3660046147d1565b6111cc565b3480156105d057600080fd5b506104696105df366004614631565b61125b565b3480156105f057600080fd5b506104696105ff366004614631565b6112f5565b34801561061057600080fd5b50600f546103b2565b34801561062557600080fd5b50610639610634366004614544565b611357565b604080516001600160a01b03909316835261ffff9091166020830152016103bc565b34801561066757600080fd5b5061067b61067636600461487e565b6113c2565b6040516103bc9190614986565b6104696106963660046149ab565b6114ce565b3480156106a757600080fd5b506103b26106b6366004614a50565b6000928352601560209081526040808520938552600390930181528284206001600160a01b0390921684525290205490565b3480156106f457600080fd5b506103b2610703366004614544565b6115d3565b34801561071457600080fd5b50610469610723366004614482565b611684565b34801561073457600080fd5b506009546103b2565b34801561074957600080fd5b50610469610758366004614a89565b6116b2565b34801561076957600080fd5b5061046961077836600461455d565b611854565b34801561078957600080fd5b506103e5610798366004614544565b600b6020526000908152604090205460ff1681565b3480156107b957600080fd5b506011546103b2565b3480156107ce57600080fd5b506104696107dd366004614661565b611881565b3480156107ee57600080fd5b506006546001600160a01b0316610431565b34801561080c57600080fd5b5061043161081b366004614661565b6118a0565b34801561082c57600080fd5b506103e561083b366004614631565b61198e565b34801561084c57600080fd5b5061046961085b366004614afe565b6119b9565b34801561086c57600080fd5b5061046961087b366004614b32565b6119e6565b34801561088c57600080fd5b5061040a611be1565b3480156108a157600080fd5b506104696108b0366004614bcc565b611bee565b3480156108c157600080fd5b506103b260115481565b3480156108d757600080fd5b506103b2600081565b3480156108ec57600080fd5b506104696108fb366004614c04565b611c22565b34801561090c57600080fd5b506103e561091b366004614631565b611cda565b34801561092c57600080fd5b5061094061093b366004614c32565b611d30565b6040516103bc9190614c73565b34801561095957600080fd5b50610469610968366004614cd7565b611e19565b34801561097957600080fd5b506007546001600160a01b03811690600160a01b900461ffff16610639565b3480156109a457600080fd5b506103b26109b3366004614544565b600d6020526000908152604090205481565b3480156109d157600080fd5b506104316109e0366004614544565b6019602052600090815260409020546001600160a01b031681565b348015610a0757600080fd5b506103b2610a16366004614544565b611f0c565b348015610a2757600080fd5b50664552433131353560c81b6103b2565b348015610a4457600080fd5b506103b2610a53366004614d78565b611f95565b348015610a6457600080fd5b50610a78610a73366004614661565b6120a2565b6040516103bc9190614df1565b348015610a9157600080fd5b50610469610aa0366004614631565b612209565b348015610ab157600080fd5b50601054610431906001600160a01b031681565b348015610ad157600080fd5b5061040a612222565b348015610ae657600080fd5b50610b0e610af5366004614544565b6015602052600090815260409020805460019091015482565b604080519283526020830191909152016103bc565b348015610b2f57600080fd5b506103e5610b3e366004614e5e565b600360209081526000928352604080842090915290825290205460ff1681565b348015610b6a57600080fd5b506103e5610b79366004614e8c565b61222f565b348015610b8a57600080fd5b50610469610b99366004614f05565b61263c565b348015610baa57600080fd5b50610469610bb9366004614f6d565b6126c4565b60006301ffc9a760e01b6001600160e01b031983161480610bef5750636cdb3d1360e11b6001600160e01b03198316145b80610c0a57506303a24d0760e21b6001600160e01b03198316145b80610c2557506001600160e01b0319821663152a902d60e11b145b92915050565b60008054610c3890614fa2565b80601f0160208091040260200160405190810160405280929190818152602001828054610c6490614fa2565b8015610cb15780601f10610c8657610100808354040283529160200191610cb1565b820191906000526020600020905b815481529060010190602001808311610c9457829003601f168201915b505050505081565b6010546001600160a01b03163314610ce45760405163231a964b60e11b815260040160405180910390fd5b601154811115610d075760405163a223083f60e01b815260040160405180910390fd5b60008111610d285760405163b4b79d4f60e01b815260040160405180910390fd5b601155565b60606000610d3a836127b9565b905080610d4684612955565b604051602001610d57929190614fd6565b604051602081830303815290604052915050919050565b610d76612a55565b610d9b5760405162461bcd60e51b8152600401610d9290615005565b60405180910390fd5b610da481612a66565b50565b610daf612a55565b610dcb5760405162461bcd60e51b8152600401610d9290615005565b600084815260156020526040902080546001820154818415610df457610df18284615043565b90505b600184018690558084556000805b87811015610fa257801580610e3a5750888882818110610e2457610e24615056565b9050602002810190610e36919061506c565b3582105b610e6b5760405162461bcd60e51b815260206004820152600260248201526114d560f21b6044820152606401610d92565b60006002870181610e7c8487615043565b8152602001908152602001600020600201549050898983818110610ea257610ea2615056565b9050602002810190610eb4919061506c565b60200135811115610efc5760405162461bcd60e51b81526020600482015260126024820152711b585e081cdd5c1c1b1e4818db185a5b595960721b6044820152606401610d92565b898983818110610f0e57610f0e615056565b9050602002810190610f20919061506c565b600288016000610f308588615043565b81526020019081526020016000208181610f4a91906151d9565b50819050600288016000610f5e8588615043565b8152602081019190915260400160002060020155898983818110610f8457610f84615056565b9050602002810190610f96919061506c565b35925050600101610e02565b50851561101957835b82811015611013576000818152600280880160205260408220828155600181018390559081018290556003810182905560048101829055600581018290556006810180546001600160a01b031916905590611009600783018261441f565b5050600101610fab565b5061109f565b8683111561109f57865b8381101561109d5760028601600061103b8386615043565b81526020810191909152604001600090812081815560018101829055600281018290556003810182905560048101829055600581018290556006810180546001600160a01b031916905590611093600783018261441f565b5050600101611023565b505b887f066f72a648b18490c0bc4ab07d508cdb5d6589fa188c63cfba1e0547f3a6556a8989896040516110d3939291906152c5565b60405180910390a2505050505050505050565b60006110f160095490565b821061112f5760405162461bcd60e51b815260206004820152600d60248201526c092dcecc2d8d2c840d2dcc8caf609b1b6044820152606401610d92565b6009828154811061114257611142615056565b90600052602060002001549050919050565b60006111608133612ab8565b5060009182526019602052604090912080546001600160a01b0319166001600160a01b03909216919091179055565b60008060008061119e86611357565b90945084925061ffff1690506127106111b782876153ad565b6111c191906153da565b925050509250929050565b6001600160a01b03851633148061120657506001600160a01b038516600090815260036020908152604080832033845290915290205460ff165b6112475760405162461bcd60e51b81526020600482015260126024820152710853d5d3915497d3d497d054141493d5915160721b6044820152606401610d92565b6112548585858585612b38565b5050505050565b6000828152601360205260409020546112749033612ab8565b60008281526012602090815260408083206001600160a01b038516845290915290205460ff16156112e75760405162461bcd60e51b815260206004820152601d60248201527f43616e206f6e6c79206772616e7420746f206e6f6e20686f6c646572730000006044820152606401610d92565b6112f18282612ce4565b5050565b336001600160a01b0382161461134d5760405162461bcd60e51b815260206004820152601a60248201527f43616e206f6e6c792072656e6f756e636520666f722073656c660000000000006044820152606401610d92565b6112f18282612cf8565b6000818152600860209081526040808320815180830190925280546001600160a01b03168083526001909101549282019290925282911561139e57805160208201516113b8565b6007546001600160a01b03811690600160a01b900461ffff165b9250925050915091565b606081518351146113e55760405162461bcd60e51b8152600401610d92906153ee565b600083516001600160401b0381111561140057611400614683565b604051908082528060200260200182016040528015611429578160200160208202803683370190505b50905060005b84518110156114c6576002600086838151811061144e5761144e615056565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020600085838151811061148a5761148a615056565b60200260200101518152602001908152602001600020548282815181106114b3576114b3615056565b602090810291909101015260010161142f565b509392505050565b6114dd86888787878787612d4f565b60006114e8876115d3565b90506114f98133898989898961222f565b50600087815260156020908152604080832084845260029081019092528220018054889290611529908490615043565b90915550506000878152601560209081526040808320848452600301825280832033845290915281208054889290611562908490615043565b909155506115769050876000888888612dc4565b611581888888612edc565b60408051888152602081018890526001600160a01b038a1691339184917ffa76a4010d9533e3e964f2930a65fb6042a12fa6ff5b08281837a10b0be7321e910160405180910390a45050505050505050565b60008181526015602052604081206001810154815483916115f391615043565b90505b815481111561164d57600282016000611610600184615417565b815260200190815260200160002060000154421061163b57611633600182615417565b949350505050565b806116458161542a565b9150506115f6565b5060405162461bcd60e51b815260206004820152600b60248201526a10a1a7a72224aa24a7a71760a91b6044820152606401610d92565b61168c612a55565b6116a85760405162461bcd60e51b8152600401610d9290615005565b6112f18282612ef7565b336001600160a01b0384168114806116ef57506001600160a01b0380851660009081526003602090815260408083209385168352929052205460ff165b61172f5760405162461bcd60e51b81526020600482015260116024820152702ab730b8383937bb32b21031b0b63632b960791b6044820152606401610d92565b81518351146117725760405162461bcd60e51b815260206004820152600f60248201526e098cadccee8d040dad2e6dac2e8c6d608b1b6044820152606401610d92565b60005b83518110156118425782818151811061179057611790615056565b602002602001015160026000876001600160a01b03166001600160a01b0316815260200190815260200160002060008684815181106117d1576117d1615056565b602002602001015181526020019081526020016000205410156118305760405162461bcd60e51b8152602060048201526017602482015276139bdd08195b9bdd59da081d1bdad95b9cc81bdddb9959604a1b6044820152606401610d92565b61183b600182615043565b9050611775565b5061184e848484612f9d565b50505050565b61185c612a55565b6118785760405162461bcd60e51b8152600401610d9290615005565b610da481613148565b600061188d8133612ab8565b5060009182526018602052604090912055565b60008281526014602052604081205481805b828110156119855760008681526014602090815260408083208484526001019091529020546001600160a01b03161561192e5784820361191c5760008681526014602090815260408083209383526001909301905220546001600160a01b03169250610c25915050565b611927600183615043565b9150611973565b61193986600061198e565b80156119605750600086815260146020908152604080832083805260020190915290205481145b1561197357611970600183615043565b91505b61197e600182615043565b90506118b2565b50505092915050565b60009182526012602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6119c1612a55565b6119dd5760405162461bcd60e51b8152600401610d9290615005565b610da481613192565b6119ee61326e565b611a345760405162461bcd60e51b81526020600482015260176024820152762737ba1030baba3437b934bd32b2103a379036b4b73a1760491b6044820152606401610d92565b6000825111611a7c5760405162461bcd60e51b815260206004820152601460248201527326b4b73a34b733903d32b937903a37b5b2b7399760611b6044820152606401610d92565b8151835114611ac05760405162461bcd60e51b815260206004820152601060248201526f2632b733ba341036b4b9b6b0ba31b41760811b6044820152606401610d92565b6000611acb600f5490565b9050806000805b8651811015611ba157600019878281518110611af057611af0615056565b602002602001015103611b3a5783878281518110611b1057611b10615056565b6020908102919091010152611b26600185615043565b9350611b33600183615043565b9150611b8f565b83878281518110611b4d57611b4d615056565b602002602001015110611b8f5760405162461bcd60e51b815260206004820152600a6024820152691a5b9d985b1a59081a5960b21b6044820152606401610d92565b611b9a600182615043565b9050611ad2565b508015611bb657611bb382828661329b565b50505b82600c81905550611bd8878787604051806020016040528060008152506132ff565b50505050505050565b60018054610c3890614fa2565b611bf6612a55565b611c125760405162461bcd60e51b8152600401610d9290615005565b611c1d83838361344f565b505050565b336001600160a01b0383168103611c6c5760405162461bcd60e51b815260206004820152600e60248201526d20a8282927ab24a723afa9a2a62360911b6044820152606401610d92565b6001600160a01b03818116600081815260036020908152604080832094881680845294825291829020805460ff191687151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3191015b60405180910390a3505050565b600082815260126020908152604080832083805290915281205460ff16611d27575060008281526012602090815260408083206001600160a01b038516845290915290205460ff16610c25565b50600192915050565b6060816001600160401b03811115611d4a57611d4a614683565b604051908082528060200260200182016040528015611d7d57816020015b6060815260200190600190039081611d685790505b50905060005b82811015611e1257611ded30858584818110611da157611da1615056565b9050602002810190611db3919061508c565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061351092505050565b828281518110611dff57611dff615056565b6020908102919091010152600101611d83565b5092915050565b611e2161326e565b611e675760405162461bcd60e51b81526020600482015260176024820152762737ba1030baba3437b934bd32b2103a379036b4b73a1760491b6044820152606401610d92565b600080611e73600f5490565b90506000198503611ea9578091506001600c6000828254611e949190615043565b90915550611ea49050818561353c565b611ee9565b808510611ee55760405162461bcd60e51b815260206004820152600a6024820152691a5b9d985b1a59081a5960b21b6044820152606401610d92565b8491505b611f0486838560405180602001604052806000815250613554565b505050505050565b600081815260146020526040812054815b81811015611f705760008481526014602090815260408083208484526001019091529020546001600160a01b031615611f5e57611f5b600184615043565b92505b611f69600182615043565b9050611f1d565b50611f7c83600061198e565b15611f8f57611f8c600183615043565b91505b50919050565b6000611f9f61362d565b611fbb5760405162461bcd60e51b8152600401610d9290615005565b85600003611ff35760405162461bcd60e51b81526020600482015260056024820152640c08185b5d60da1b6044820152606401610d92565b6000600f54905061203b818888888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061329b92505050565b600f919091559150807f2a0365091ef1a40953c670dce28177e37520648a6fdc91506bffac0ab045570d60016120718a84615043565b61207b9190615417565b88888888604051612090959493929190615441565b60405180910390a25095945050505050565b6120f660405180610100016040528060008152602001600081526020016000815260200160008152602001600080191681526020016000815260200160006001600160a01b03168152602001606081525090565b600083815260156020908152604080832085845260029081018352928190208151610100810183528154815260018201549381019390935292830154908201526003820154606082015260048201546080820152600582015460a082015260068201546001600160a01b031660c082015260078201805491929160e08401919061217f90614fa2565b80601f01602080910402602001604051908101604052809291908181526020018280546121ab90614fa2565b80156121f85780601f106121cd576101008083540402835291602001916121f8565b820191906000526020600020905b8154815290600101906020018083116121db57829003601f168201915b505050505081525050905092915050565b60008281526013602052604090205461134d9033612ab8565b60058054610c3890614fa2565b60008581526015602090815260408083208a8452600290810183528184208251610100810184528154815260018201549481019490945290810154918301919091526003810154606083015260048101546080830152600581015460a083015260068101546001600160a01b031660c08301526007810180548493929160e08401916122ba90614fa2565b80601f01602080910402602001604051908101604052809291908181526020018280546122e690614fa2565b80156123335780601f1061230857610100808354040283529160200191612333565b820191906000526020600020905b81548152906001019060200180831161231657829003601f168201915b50505091909252505050606081015160a082015160c083015160808401519394509192909190156124185761241461236b878061547a565b80806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250505060808088015191508e9060208b01359060408c0135906123c0908d0160608e0161455d565b6040516bffffffffffffffffffffffff19606095861b811660208301526034820194909452605481019290925290921b1660748201526088016040516020818303038152906040528051906020012061363c565b5094505b841561249f5785602001356000036124305782612436565b85602001355b925060001986604001350361244b5781612451565b85604001355b915060001986604001351415801561248257506000612476608088016060890161455d565b6001600160a01b031614155b61248c578061249c565b61249c608087016060880161455d565b90505b6000601560008c815260200190815260200160002060030160008e815260200190815260200160002060008d6001600160a01b03166001600160a01b03168152602001908152602001600020549050816001600160a01b0316896001600160a01b031614158061250f5750828814155b1561254f5760405162461bcd60e51b815260206004820152601060248201526f2150726963654f7243757272656e637960801b6044820152606401610d92565b891580612564575083612562828c615043565b115b1561259a5760405162461bcd60e51b8152600401610d92906020808252600490820152632151747960e01b604082015260600190565b84602001518a86604001516125af9190615043565b11156125ea5760405162461bcd60e51b815260206004820152600a602482015269214d6178537570706c7960b01b6044820152606401610d92565b845142101561262c5760405162461bcd60e51b815260206004820152600e60248201526d18d85b9d0818db185a5b481e595d60921b6044820152606401610d92565b5050505050979650505050505050565b6001600160a01b03851633148061267657506001600160a01b038516600090815260036020908152604080832033845290915290205460ff165b6126b75760405162461bcd60e51b81526020600482015260126024820152710853d5d3915497d3d497d054141493d5915160721b6044820152606401610d92565b6112548585858585613700565b336001600160a01b03841681148061270157506001600160a01b0380851660009081526003602090815260408083209385168352929052205460ff165b6127415760405162461bcd60e51b81526020600482015260116024820152702ab730b8383937bb32b21031b0b63632b960791b6044820152606401610d92565b6001600160a01b03841660009081526002602090815260408083208684529091529020548211156127ae5760405162461bcd60e51b8152602060048201526017602482015276139bdd08195b9bdd59da081d1bdad95b9cc81bdddb9959604a1b6044820152606401610d92565b61184e848484613826565b606060006127c660095490565b90506000600980548060200260200160405190810160405280929190818152602001828054801561281657602002820191906000526020600020905b815481526020019060010190808311612802575b5050505050905060005b8281101561291a5781818151811061283a5761283a615056565b602002602001015185101561290857600a600083838151811061285f5761285f615056565b60200260200101518152602001908152602001600020805461288090614fa2565b80601f01602080910402602001604051908101604052809291908181526020018280546128ac90614fa2565b80156128f95780601f106128ce576101008083540402835291602001916128f9565b820191906000526020600020905b8154815290600101906020018083116128dc57829003601f168201915b50505050509350505050919050565b612913600182615043565b9050612820565b5060405162461bcd60e51b815260206004820152600f60248201526e125b9d985b1a59081d1bdad95b9259608a1b6044820152606401610d92565b60608160000361297c5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156129a65780612990816154c3565b915061299f9050600a836153da565b9150612980565b6000816001600160401b038111156129c0576129c0614683565b6040519080825280601f01601f1916602001820160405280156129ea576020820181803683370190505b5090505b8415611633576129ff600183615417565b9150612a0c600a866154dc565b612a17906030615043565b60f81b818381518110612a2c57612a2c615056565b60200101906001600160f81b031916908160001a905350612a4e600a866153da565b94506129ee565b6000612a61813361198e565b905090565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d7690600090a35050565b60008281526012602090815260408083206001600160a01b038516845290915290205460ff166112f157612af6816001600160a01b0316601461394b565b612b0183602061394b565b604051602001612b129291906154f0565b60408051601f198184030181529082905262461bcd60e51b8252610d9291600401614531565b8151835114612b595760405162461bcd60e51b8152600401610d92906153ee565b6001600160a01b038416612b7f5760405162461bcd60e51b8152600401610d929061555d565b33612b8e818787878787613ae6565b60005b8451811015612c7e576000858281518110612bae57612bae615056565b602002602001015190506000858381518110612bcc57612bcc615056565b6020908102919091018101516001600160a01b038b166000908152600283526040808220868352909352919091205490915081811015612c1e5760405162461bcd60e51b8152600401610d9290615583565b6001600160a01b03808b16600090815260026020818152604080842088855282528084208787039055938d16835290815282822086835290529081208054849290612c6a908490615043565b909155505060019093019250612b91915050565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612cce9291906155ad565b60405180910390a4611f04818787878787613be0565b612cee8282613d33565b6112f18282613d8e565b612d028282613dfb565b60008281526014602090815260408083206001600160a01b03851680855260028201808552838620805487526001909301855292852080546001600160a01b031916905584529152555050565b6000878152601860205260409020541580612d8e5750600087815260186020908152604080832054600d90925290912054612d8b908790615043565b11155b611bd85760405162461bcd60e51b815260206004820152600760248201526621537570706c7960c81b6044820152606401610d92565b60006001600160a01b03851615612ddb5784612e22565b6000868152601960205260409020546001600160a01b031615612e15576000868152601960205260409020546001600160a01b0316612e22565b600e546001600160a01b03165b90506000808311612e34576000612e3e565b612e3e83866153ad565b905073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed196001600160a01b03851601612eae57601154612e729082615043565b3414612eae5760405162461bcd60e51b815260206004820152600b60248201526a21436c61696d507269636560a81b6044820152606401610d92565b8215612ec057612ec084338484613e5d565b611bd884336010546011546001600160a01b0390911690613e5d565b611c1d83838360405180602001604052806000815250613554565b612710811115612f3b5760405162461bcd60e51b815260206004820152600f60248201526e45786365656473206d61782062707360881b6044820152606401610d92565b600780546001600160a01b0384166001600160b01b03199091168117600160a01b61ffff851602179091556040518281527f90d7ec04bcb8978719414f82e52e4cb651db41d0e6f8cea6118c2191e6183adb9060200160405180910390a25050565b6001600160a01b038316612fe45760405162461bcd60e51b815260206004820152600e60248201526d232927a6afad22a927afa0a2222960911b6044820152606401610d92565b80518251146130055760405162461bcd60e51b8152600401610d92906153ee565b600033905061302881856000868660405180602001604052806000815250613ae6565b60005b83518110156130e957600084828151811061304857613048615056565b60200260200101519050600084838151811061306657613066615056565b6020908102919091018101516001600160a01b03891660009081526002835260408082208683529093529190912054909150818110156130b85760405162461bcd60e51b8152600401610d9290615583565b6001600160a01b0388166000908152600260209081526040808320958352949052929092209103905560010161302b565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb868660405161313a9291906155ad565b60405180910390a450505050565b600e80546001600160a01b0319166001600160a01b0383169081179091556040517f299d17e95023f496e0ffc4909cff1a61f74bb5eb18de6f900f4155bfa1b3b33390600090a250565b6000600580546131a190614fa2565b80601f01602080910402602001604051908101604052809291908181526020018280546131cd90614fa2565b801561321a5780601f106131ef5761010080835404028352916020019161321a565b820191906000526020600020905b8154815290600101906020018083116131fd57829003601f168201915b50505050509050816005908161323091906155db565b507fc9c7c3fe08b88b4df9d4d47ef47d2c43d55c025a0ba88ca442580ed9e7348a16818360405161326292919061569a565b60405180910390a15050565b60006132826006546001600160a01b031690565b6001600160a01b0316336001600160a01b031614905090565b6000806132a88486615043565b60098054600181019091557f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af018190556000818152600a602052604090209092508291506132f684826155db565b50935093915050565b6001600160a01b0384166133255760405162461bcd60e51b8152600401610d929061555d565b81518351146133465760405162461bcd60e51b8152600401610d92906153ee565b3361335681600087878787613ae6565b60005b84518110156133e75783818151811061337457613374615056565b602002602001015160026000886001600160a01b03166001600160a01b0316815260200190815260200160002060008784815181106133b5576133b5615056565b6020026020010151815260200190815260200160002060008282546133da9190615043565b9091555050600101613359565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516134389291906155ad565b60405180910390a461125481600087878787613be0565b6127108111156134935760405162461bcd60e51b815260206004820152600f60248201526e45786365656473206d61782062707360881b6044820152606401610d92565b6040805180820182526001600160a01b038481168083526020808401868152600089815260088352869020945185546001600160a01b031916941693909317845591516001909301929092559151838152909185917f7365cf4122f072a3365c20d54eff9b38d73c096c28e1892ec8f5b0e403a0f12d9101611ccd565b6060613535838360405180606001604052806027815260200161583d60279139613ea3565b9392505050565b6000828152600460205260409020611c1d82826155db565b6001600160a01b03841661357a5760405162461bcd60e51b8152600401610d929061555d565b3361359a8160008761358b88613f80565b61359488613f80565b87613ae6565b6001600160a01b0385166000908152600260209081526040808320878452909152812080548592906135cd908490615043565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461125481600087878787613fcb565b6000612a6160175461083b3390565b6000808281805b87518110156136f4576136576002836153ad565b9150600088828151811061366d5761366d615056565b602002602001015190508084116136af5760408051602081018690529081018290526060016040516020818303038152906040528051906020012093506136eb565b60408051602081018390529081018590526060016040516020818303038152906040528051906020012093506001836136e89190615043565b92505b50600101613643565b50941495939450505050565b6001600160a01b0384166137265760405162461bcd60e51b8152600401610d929061555d565b3361373681878761358b88613f80565b6001600160a01b03861660009081526002602090815260408083208784529091529020548381101561377a5760405162461bcd60e51b8152600401610d9290615583565b6001600160a01b0380881660009081526002602081815260408084208a855282528084208987039055938a168352908152828220888352905290812080548692906137c6908490615043565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611bd8828888888888613fcb565b6001600160a01b03831661386d5760405162461bcd60e51b815260206004820152600e60248201526d232927a6afad22a927afa0a2222960911b6044820152606401610d92565b3361389c8185600061387e87613f80565b61388787613f80565b60405180602001604052806000815250613ae6565b6001600160a01b0384166000908152600260209081526040808320868452909152902054828110156138e05760405162461bcd60e51b8152600401610d9290615583565b6001600160a01b03858116600081815260026020908152604080832089845282528083208887039055805189815291820188905291938616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b6060600061395a8360026153ad565b613965906002615043565b6001600160401b0381111561397c5761397c614683565b6040519080825280601f01601f1916602001820160405280156139a6576020820181803683370190505b509050600360fc1b816000815181106139c1576139c1615056565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106139f0576139f0615056565b60200101906001600160f81b031916908160001a9053506000613a148460026153ad565b613a1f906001615043565b90505b6001811115613a97576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110613a5357613a53615056565b1a60f81b828281518110613a6957613a69615056565b60200101906001600160f81b031916908160001a90535060049490941c93613a908161542a565b9050613a22565b5083156135355760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610d92565b6001600160a01b038516613b645760005b8351811015613b6257828181518110613b1257613b12615056565b6020026020010151600d6000868481518110613b3057613b30615056565b602002602001015181526020019081526020016000206000828254613b559190615043565b9091555050600101613af7565b505b6001600160a01b038416611f045760005b8351811015611bd857828181518110613b9057613b90615056565b6020026020010151600d6000868481518110613bae57613bae615056565b602002602001015181526020019081526020016000206000828254613bd39190615417565b9091555050600101613b75565b6001600160a01b0384163b15611f045760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190613c2490899089908890889088906004016156bf565b6020604051808303816000875af1925050508015613c5f575060408051601f3d908101601f19168201909252613c5c91810190615711565b60015b613ce157613c6b61572e565b806308c379a003613ca45750613c7f61574a565b80613c8a5750613ca6565b8060405162461bcd60e51b8152600401610d929190614531565b505b60405162461bcd60e51b815260206004820152601060248201526f10a2a92198989a9aa922a1a2a4ab22a960811b6044820152606401610d92565b6001600160e01b0319811663bc197c8160e01b14611bd85760405162461bcd60e51b815260206004820152600f60248201526e1513d2d15394d7d491529150d51151608a1b6044820152606401610d92565b60008281526012602090815260408083206001600160a01b0385168085529252808320805460ff1916600117905551339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b600082815260146020526040812080549160019190613dad8385615043565b9091555050600092835260146020908152604080852083865260018101835281862080546001600160a01b039096166001600160a01b03199096168617905593855260029093019052912055565b613e058282612ab8565b60008281526012602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b801561184e5773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed196001600160a01b03851601613e9757613e9282826140a8565b61184e565b61184e8484848461414b565b60606001600160a01b0384163b613f0b5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610d92565b600080856001600160a01b031685604051613f2691906157d3565b600060405180830381855af49150503d8060008114613f61576040519150601f19603f3d011682016040523d82523d6000602084013e613f66565b606091505b5091509150613f7682828661419e565b9695505050505050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110613fba57613fba615056565b602090810291909101015292915050565b6001600160a01b0384163b15611f045760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e619061400f90899089908890889088906004016157e5565b6020604051808303816000875af192505050801561404a575060408051601f3d908101601f1916820190925261404791810190615711565b60015b61405657613c6b61572e565b6001600160e01b0319811663f23a6e6160e01b14611bd85760405162461bcd60e51b815260206004820152600f60248201526e1513d2d15394d7d491529150d51151608a1b6044820152606401610d92565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146140f5576040519150601f19603f3d011682016040523d82523d6000602084013e6140fa565b606091505b5050905080611c1d5760405162461bcd60e51b815260206004820152601c60248201527f6e617469766520746f6b656e207472616e73666572206661696c6564000000006044820152606401610d92565b816001600160a01b0316836001600160a01b0316031561184e57306001600160a01b0384160361418957613e926001600160a01b03851683836141d7565b61184e6001600160a01b03851684848461423a565b606083156141ad575081613535565b8251156141bd5782518084602001fd5b8160405162461bcd60e51b8152600401610d929190614531565b6040516001600160a01b038316602482015260448101829052611c1d90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152614272565b6040516001600160a01b038085166024830152831660448201526064810182905261184e9085906323b872dd60e01b90608401614203565b60006142c7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166143449092919063ffffffff16565b805190915015611c1d57808060200190518101906142e5919061581f565b611c1d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610d92565b60606116338484600085856001600160a01b0385163b6143a65760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610d92565b600080866001600160a01b031685876040516143c291906157d3565b60006040518083038185875af1925050503d80600081146143ff576040519150601f19603f3d011682016040523d82523d6000602084013e614404565b606091505b509150915061441482828661419e565b979650505050505050565b50805461442b90614fa2565b6000825580601f1061443b575050565b601f016020900490600052602060002090810190610da491905b808211156144695760008155600101614455565b5090565b6001600160a01b0381168114610da457600080fd5b6000806040838503121561449557600080fd5b82356144a08161446d565b946020939093013593505050565b6001600160e01b031981168114610da457600080fd5b6000602082840312156144d657600080fd5b8135613535816144ae565b60005b838110156144fc5781810151838201526020016144e4565b50506000910152565b6000815180845261451d8160208601602086016144e1565b601f01601f19169290920160200192915050565b6020815260006135356020830184614505565b60006020828403121561455657600080fd5b5035919050565b60006020828403121561456f57600080fd5b81356135358161446d565b60008083601f84011261458c57600080fd5b5081356001600160401b038111156145a357600080fd5b6020830191508360208260051b85010111156145be57600080fd5b9250929050565b8015158114610da457600080fd5b600080600080606085870312156145e957600080fd5b8435935060208501356001600160401b0381111561460657600080fd5b6146128782880161457a565b9094509250506040850135614626816145c5565b939692955090935050565b6000806040838503121561464457600080fd5b8235915060208301356146568161446d565b809150509250929050565b6000806040838503121561467457600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b03811182821017156146be576146be614683565b6040525050565b60006001600160401b038211156146de576146de614683565b5060051b60200190565b600082601f8301126146f957600080fd5b81356020614706826146c5565b6040516147138282614699565b80915083815260208101915060208460051b87010193508684111561473757600080fd5b602086015b84811015614753578035835291830191830161473c565b509695505050505050565b600082601f83011261476f57600080fd5b81356001600160401b0381111561478857614788614683565b60405161479f601f8301601f191660200182614699565b8181528460208386010111156147b457600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a086880312156147e957600080fd5b85356147f48161446d565b945060208601356148048161446d565b935060408601356001600160401b038082111561482057600080fd5b61482c89838a016146e8565b9450606088013591508082111561484257600080fd5b61484e89838a016146e8565b9350608088013591508082111561486457600080fd5b506148718882890161475e565b9150509295509295909350565b6000806040838503121561489157600080fd5b82356001600160401b03808211156148a857600080fd5b818501915085601f8301126148bc57600080fd5b813560206148c9826146c5565b6040516148d68282614699565b83815260059390931b85018201928281019150898411156148f657600080fd5b948201945b8386101561491d57853561490e8161446d565b825294820194908201906148fb565b9650508601359250508082111561493357600080fd5b50614940858286016146e8565b9150509250929050565b60008151808452602080850194506020840160005b8381101561497b5781518752958201959082019060010161495f565b509495945050505050565b602081526000613535602083018461494a565b600060808284031215611f8f57600080fd5b600080600080600080600060e0888a0312156149c657600080fd5b87356149d18161446d565b9650602088013595506040880135945060608801356149ef8161446d565b93506080880135925060a08801356001600160401b0380821115614a1257600080fd5b614a1e8b838c01614999565b935060c08a0135915080821115614a3457600080fd5b50614a418a828b0161475e565b91505092959891949750929550565b600080600060608486031215614a6557600080fd5b83359250602084013591506040840135614a7e8161446d565b809150509250925092565b600080600060608486031215614a9e57600080fd5b8335614aa98161446d565b925060208401356001600160401b0380821115614ac557600080fd5b614ad1878388016146e8565b93506040860135915080821115614ae757600080fd5b50614af4868287016146e8565b9150509250925092565b600060208284031215614b1057600080fd5b81356001600160401b03811115614b2657600080fd5b6116338482850161475e565b60008060008060808587031215614b4857600080fd5b8435614b538161446d565b935060208501356001600160401b0380821115614b6f57600080fd5b614b7b888389016146e8565b94506040870135915080821115614b9157600080fd5b614b9d888389016146e8565b93506060870135915080821115614bb357600080fd5b50614bc08782880161475e565b91505092959194509250565b600080600060608486031215614be157600080fd5b833592506020840135614bf38161446d565b929592945050506040919091013590565b60008060408385031215614c1757600080fd5b8235614c228161446d565b91506020830135614656816145c5565b60008060208385031215614c4557600080fd5b82356001600160401b03811115614c5b57600080fd5b614c678582860161457a565b90969095509350505050565b600060208083016020845280855180835260408601915060408160051b87010192506020870160005b82811015614cca57603f19888603018452614cb8858351614505565b94509285019290850190600101614c9c565b5092979650505050505050565b60008060008060808587031215614ced57600080fd5b8435614cf88161446d565b93506020850135925060408501356001600160401b03811115614d1a57600080fd5b614d268782880161475e565b949793965093946060013593505050565b60008083601f840112614d4957600080fd5b5081356001600160401b03811115614d6057600080fd5b6020830191508360208285010111156145be57600080fd5b600080600080600060608688031215614d9057600080fd5b8535945060208601356001600160401b0380821115614dae57600080fd5b614dba89838a01614d37565b90965094506040880135915080821115614dd357600080fd5b50614de088828901614d37565b969995985093965092949392505050565b6020815281516020820152602082015160408201526040820151606082015260608201516080820152608082015160a082015260a082015160c082015260018060a01b0360c08301511660e0820152600060e0830151610100808185015250611633610120840182614505565b60008060408385031215614e7157600080fd5b8235614e7c8161446d565b915060208301356146568161446d565b600080600080600080600060e0888a031215614ea757600080fd5b873596506020880135614eb98161446d565b955060408801359450606088013593506080880135614ed78161446d565b925060a0880135915060c08801356001600160401b03811115614ef957600080fd5b614a418a828b01614999565b600080600080600060a08688031215614f1d57600080fd5b8535614f288161446d565b94506020860135614f388161446d565b9350604086013592506060860135915060808601356001600160401b03811115614f6157600080fd5b6148718882890161475e565b600080600060608486031215614f8257600080fd5b8335614f8d8161446d565b95602085013595506040909401359392505050565b600181811c90821680614fb657607f821691505b602082108103611f8f57634e487b7160e01b600052602260045260246000fd5b60008351614fe88184602088016144e1565b835190830190614ffc8183602088016144e1565b01949350505050565b6020808252600e908201526d139bdd08185d5d1a1bdc9a5e995960921b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610c2557610c2561502d565b634e487b7160e01b600052603260045260246000fd5b6000823560fe1983360301811261508257600080fd5b9190910192915050565b6000808335601e198436030181126150a357600080fd5b8301803591506001600160401b038211156150bd57600080fd5b6020019150368190038213156145be57600080fd5b601f821115611c1d576000816000526020600020601f850160051c810160208610156150fb5750805b601f850160051c820191505b81811015611f0457828155600101615107565b6001600160401b0383111561513157615131614683565b6151458361513f8354614fa2565b836150d2565b6000601f84116001811461517957600085156151615750838201355b600019600387901b1c1916600186901b178355611254565b600083815260209020601f19861690835b828110156151aa578685013582556020948501946001909201910161518a565b50868210156151c75760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b813581556020820135600182015560408201356002820155606082013560038201556080820135600482015560a082013560058201556006810160c08301356152218161446d565b81546001600160a01b0319166001600160a01b039190911617905561524960e083018361508c565b61184e81836007860161511a565b6000808335601e1984360301811261526e57600080fd5b83016020810192503590506001600160401b0381111561528d57600080fd5b8036038213156145be57600080fd5b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60408082528181018490526000906060808401600587901b850182018885805b8a81101561539757888403605f190185528235368d900360fe1901811261530a578283fd5b8c018035855260208082013581870152888201358987015287820135888701526080808301359087015260a080830135908701526101009060c0808401356153518161446d565b6001600160a01b03169088015260e061536c84820185615257565b945083828a0152615380848a01868361529c565b9983019998505050949094019350506001016152e5565b5050508615156020870152935061163392505050565b8082028115828204841417610c2557610c2561502d565b634e487b7160e01b600052601260045260246000fd5b6000826153e9576153e96153c4565b500490565b6020808252600f908201526e0988a9c8ea890be9a92a69a82a8869608b1b604082015260600190565b81810381811115610c2557610c2561502d565b6000816154395761543961502d565b506000190190565b85815260606020820152600061545b60608301868861529c565b828103604084015261546e81858761529c565b98975050505050505050565b6000808335601e1984360301811261549157600080fd5b8301803591506001600160401b038211156154ab57600080fd5b6020019150600581901b36038213156145be57600080fd5b6000600182016154d5576154d561502d565b5060010190565b6000826154eb576154eb6153c4565b500690565b7402832b936b4b9b9b4b7b7399d1030b1b1b7bab73a1605d1b8152600083516155208160158501602088016144e1565b7001034b99036b4b9b9b4b733903937b6329607d1b60159184019182015283516155518160268401602088016144e1565b01602601949350505050565b6020808252600c908201526b2a27afad22a927afa0a2222960a11b604082015260600190565b60208082526010908201526f125394d551919250d251539517d0905360821b604082015260600190565b6040815260006155c0604083018561494a565b82810360208401526155d2818561494a565b95945050505050565b81516001600160401b038111156155f4576155f4614683565b615608816156028454614fa2565b846150d2565b602080601f83116001811461563d57600084156156255750858301515b600019600386901b1c1916600185901b178555611f04565b600085815260208120601f198616915b8281101561566c5788860151825594840194600190910190840161564d565b508582101561568a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6040815260006156ad6040830185614505565b82810360208401526155d28185614505565b6001600160a01b0386811682528516602082015260a0604082018190526000906156eb9083018661494a565b82810360608401526156fd818661494a565b9050828103608084015261546e8185614505565b60006020828403121561572357600080fd5b8151613535816144ae565b600060033d11156157475760046000803e5060005160e01c5b90565b600060443d10156157585790565b6040516003193d81016004833e81513d6001600160401b03816024840111818411171561578757505050505090565b828501915081518181111561579f5750505050505090565b843d87010160208285010111156157b95750505050505090565b6157c860208286010187614699565b509095945050505050565b600082516150828184602087016144e1565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061441490830184614505565b60006020828403121561583157600080fd5b8151613535816145c556fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212201f63e0e53281c127463590c4d83f57b94df48e11483aea8d780ed8cfd0a4afcb64736f6c63430008170033

    [ 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.