Overview
TokenID
83
Total Transfers
1
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
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.
Contract Name:
Soulbound
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8.0;import "@thirdweb-dev/contracts/base/ERC721Drop.sol";import "@thirdweb-dev/contracts/extension/SoulboundERC721A.sol";contract Soulbound is SoulboundERC721A, ERC721Drop {constructor(string memory _name,string memory _symbol,address _primarySaleRecipient)ERC721Drop(_name,_symbol,address(0),0,_primarySaleRecipient){}/// @dev See {ERC721-_beforeTokenTransfer}.function _beforeTokenTransfers(address from,address to,uint256 startTokenId,
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8.0;/// @author thirdwebimport { ERC721A } from "../eip/ERC721AVirtualApprove.sol";import "../extension/ContractMetadata.sol";import "../extension/Multicall.sol";import "../extension/Ownable.sol";import "../extension/Royalty.sol";import "../extension/BatchMintMetadata.sol";import "../extension/PrimarySale.sol";import "../extension/DropSinglePhase.sol";import "../extension/LazyMint.sol";import "../extension/DelayedReveal.sol";import "../extension/DefaultOperatorFilterer.sol";import "../lib/TWStrings.sol";import "../lib/CurrencyTransferLib.sol";/*** BASE: ERC721A* EXTENSION: DropSinglePhase** The `ERC721Drop` contract implements the ERC721 NFT standard, along with the ERC721A optimization to the standard.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)pragma solidity ^0.8.0;import "./interface/IERC165.sol";/*** @dev Implementation of the {IERC165} interface.** Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check* for the additional interface id that will be supported. For example:** ```solidity* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);* }* ```** Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.*/abstract contract ERC165 is IERC165 {/*** @dev See {IERC165-supportsInterface}.*/function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// ERC721A Contracts v3.3.0// Creator: Chiru Labspragma solidity ^0.8.4;////////// CHANGELOG: turn `approve` to virtual //////////import "./interface/IERC721A.sol";import "./interface/IERC721Receiver.sol";import "../lib/TWAddress.sol";import "../openzeppelin-presets/utils/Context.sol";import "../lib/TWStrings.sol";import "./ERC165.sol";/*** @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including* the Metadata extension. Built to optimize for lower gas during batch mints.** Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).** Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.** Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).*/contract ERC721A is Context, ERC165, IERC721A {
12345678910111213141516171819202122232425// 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);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma 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);
1234567891011121314151617181920212223// SPDX-License-Identifier: Apache 2.0pragma 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)externalviewreturns (address receiver, uint256 royaltyAmount);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)pragma solidity ^0.8.0;/*** @dev Required interface of an ERC721 compliant contract.*/interface IERC721 {/*** @dev Emitted when `tokenId` token is transferred from `from` to `to`.*/event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);/*** @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.*/event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);/*** @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.*/event ApprovalForAll(address indexed owner, address indexed operator, bool approved);/*** @dev Returns the number of tokens in ``owner``'s account.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// ERC721A Contracts v3.3.0// Creator: Chiru Labspragma solidity ^0.8.4;import "./IERC721.sol";import "./IERC721Metadata.sol";/*** @dev Interface of an ERC721A compliant contract.*/interface IERC721A is IERC721, IERC721Metadata {/*** The caller must own the token or be an approved operator.*/error ApprovalCallerNotOwnerNorApproved();/*** The token does not exist.*/error ApprovalQueryForNonexistentToken();/*** The caller cannot approve to their own address.*/
1234567891011121314151617181920// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8.0;/// @title ERC-721 Non-Fungible Token Standard, optional metadata extension/// @dev See https://eips.ethereum.org/EIPS/eip-721/// Note: the ERC-165 identifier for this interface is 0x5b5e139f./* is ERC721 */interface IERC721Metadata {/// @notice A descriptive name for a collection of NFTs in this contractfunction name() external view returns (string memory);/// @notice An abbreviated name for NFTs in this contractfunction symbol() external view returns (string memory);/// @notice A distinct Uniform Resource Identifier (URI) for a given asset./// @dev Throws if `_tokenId` is not a valid NFT. URIs are defined in RFC/// 3986. The URI may point to a JSON file that conforms to the "ERC721/// Metadata JSON Schema".function tokenURI(uint256 _tokenId) external view returns (string memory);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)pragma solidity ^0.8.0;/*** @title ERC721 token receiver interface* @dev Interface for any contract that wants to support safeTransfers* from ERC721 asset contracts.*/interface IERC721Receiver {/*** @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}* by `operator` from `from`, this function is called.** It must return its Solidity selector to confirm the token transfer.* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.** The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.*/function onERC721Received(address operator,address from,uint256 tokenId,bytes calldata data) external returns (bytes4);
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma 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;/*** @notice Returns the count of batches of NFTs.* @dev Each batch of tokens has an in ID and an associated `baseURI`.* See {batchIds}.*/function getBaseURICount() public view returns (uint256) {return batchIds.length;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8.0;/// @author thirdwebimport "./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")*/
12345678910111213141516// SPDX-License-Identifier: Apache 2.0pragma solidity ^0.8.0;/// @author thirdwebimport { OperatorFilterer } from "./OperatorFilterer.sol";/*** @title DefaultOperatorFilterer* @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.*/abstract contract DefaultOperatorFilterer is OperatorFilterer {address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8.0;/// @author thirdwebimport "./interface/IDelayedReveal.sol";/*** @title Delayed Reveal* @notice Thirdweb's `DelayedReveal` is a contract extension for base NFT contracts. It lets you create batches of* 'delayed-reveal' NFTs. You can learn more about the usage of delayed reveal NFTs here - https://blog.thirdweb.com/delayed-reveal-nfts*/abstract contract DelayedReveal is IDelayedReveal {/// @dev Mapping from tokenId of a batch of tokens => to delayed reveal data.mapping(uint256 => bytes) public encryptedData;/// @dev Sets the delayed reveal data for a batchId.function _setEncryptedData(uint256 _batchId, bytes memory _encryptedData) internal {encryptedData[_batchId] = _encryptedData;}/*** @notice Returns revealed URI for a batch of NFTs.* @dev Reveal encrypted base URI for `_batchId` with caller/admin's `_key` used for encryption.* Reverts if there's no encrypted URI for `_batchId`.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8.0;/// @author thirdwebimport "./interface/IDropSinglePhase.sol";import "../lib/MerkleProof.sol";abstract contract DropSinglePhase is IDropSinglePhase {/*///////////////////////////////////////////////////////////////State variables//////////////////////////////////////////////////////////////*//// @dev The active conditions for claiming tokens.ClaimCondition public claimCondition;/// @dev The ID for the active claim condition.bytes32 private conditionId;/*///////////////////////////////////////////////////////////////Mappings//////////////////////////////////////////////////////////////*//*** @dev Map from a claim condition uid and account to supply claimed by account.*/
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8.0;/// @author thirdwebimport "./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.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache 2.0pragma solidity ^0.8.0;/// @author thirdwebimport "../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]);}
12345678910111213141516171819202122// SPDX-License-Identifier: Apache 2.0pragma solidity ^0.8.0;/// @author thirdwebimport "./interface/IOperatorFilterToggle.sol";abstract contract OperatorFilterToggle is IOperatorFilterToggle {bool public operatorRestriction;function setOperatorRestriction(bool _restriction) external {require(_canSetOperatorRestriction(), "Not authorized to set operator restriction.");_setOperatorRestriction(_restriction);}function _setOperatorRestriction(bool _restriction) internal {operatorRestriction = _restriction;emit OperatorRestriction(_restriction);}function _canSetOperatorRestriction() internal virtual returns (bool);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache 2.0pragma solidity ^0.8.0;/// @author thirdwebimport "./interface/IOperatorFilterRegistry.sol";import "./OperatorFilterToggle.sol";/*** @title OperatorFilterer* @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another* registrant's entries in the OperatorFilterRegistry.* @dev This smart contract is meant to be inherited by token contracts so they can use the following:* - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.* - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.*/abstract contract OperatorFilterer is OperatorFilterToggle {error OperatorNotAllowed(address operator);IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {// If an inheriting token contract is deployed to a network without the registry deployed, the modifier// will not revert, but the contract will need to be registered with the registry once it is deployed in
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8.0;/// @author thirdwebimport "./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");}_;}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8.0;/// @author thirdwebimport "./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);_;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8.0;/// @author thirdwebimport "./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;}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8.0;/// @author thirdwebimport "./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.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8.0;/// @author thirdwebimport "./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 tokenmapping(uint256 => RoyaltyInfo) private royaltyInfoForToken;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8.0;/// @author thirdwebimport "./PermissionsEnumerable.sol";/*** The `SoulboundERC721A` extension smart contract is meant to be used with ERC721A contracts as its base. It* provides the appropriate `before transfer` hook for ERC721A, where it checks whether a given transfer is* valid to go through or not.** This contract uses the `Permissions` extension, and creates a role 'TRANSFER_ROLE'.* - If `address(0)` holds the transfer role, then all transfers go through.* - Else, a transfer goes through only if either the sender or recipient holds the transfe role.*/abstract contract SoulboundERC721A is PermissionsEnumerable {/// @dev Only transfers to or from TRANSFER_ROLE holders are valid, when transfers are restricted.bytes32 public constant TRANSFER_ROLE = keccak256("TRANSFER_ROLE");event TransfersRestricted(bool isRestricted);/*** @notice Restrict transfers of NFTs.* @dev Restricting transfers means revoking the TRANSFER_ROLE from address(0). Making
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma 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.*
12345678910111213141516171819202122232425// SPDX-License-Identifier: Apache-2.0pragma 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);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8.0;/// @author thirdweb/*** Thirdweb's `DelayedReveal` is a contract extension for base NFT contracts. It lets you create batches of* 'delayed-reveal' NFTs. You can learn more about the usage of delayed reveal NFTs here - https://blog.thirdweb.com/delayed-reveal-nfts*/interface IDelayedReveal {/// @dev Emitted when tokens are revealed.event TokenURIRevealed(uint256 indexed index, string revealedURI);/*** @notice Reveals a batch of delayed reveal NFTs.** @param identifier The ID for the batch of delayed-reveal NFTs to reveal.** @param key The key with which the base URI for the relevant batch of NFTs was encrypted.*/function reveal(uint256 identifier, bytes calldata key) external returns (string memory revealedURI);/*** @notice Performs XOR encryption/decryption.*
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8.0;/// @author thirdwebimport "./IClaimCondition.sol";/*** The interface `IDropSinglePhase` is written for thirdweb's 'DropSinglePhase' contracts, which are distribution mechanisms for tokens.** An authorized wallet can set a claim condition for the distribution of the contract's 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 IDropSinglePhase is IClaimCondition {/*** @param proof Prood 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;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma 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.
12345678910111213141516// SPDX-License-Identifier: MITpragma 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);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache 2.0pragma solidity ^0.8.0;/// @author thirdwebinterface IOperatorFilterRegistry {function isOperatorAllowed(address registrant, address operator) external view returns (bool);function register(address registrant) external;function registerAndSubscribe(address registrant, address subscription) external;function registerAndCopyEntries(address registrant, address registrantToCopy) external;function unregister(address addr) external;function updateOperator(address registrant,address operator,bool filtered) external;function updateOperators(address registrant,address[] calldata operators,bool filtered
123456789101112// SPDX-License-Identifier: Apache 2.0pragma solidity ^0.8.0;/// @author thirdwebinterface IOperatorFilterToggle {event OperatorRestriction(bool restriction);function operatorRestriction() external view returns (bool);function setOperatorRestriction(bool restriction) external;}
123456789101112131415161718192021// SPDX-License-Identifier: Apache-2.0pragma 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);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma 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);
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8.0;/// @author thirdwebimport "./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);/**
123456789101112131415161718192021// SPDX-License-Identifier: Apache-2.0pragma 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);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8.0;/// @author thirdwebimport "../../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;
12345678910// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8.0;interface IWETH {function deposit() external payable;function withdraw(uint256 amount) external;function transfer(address to, uint256 value) external returns (bool);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache-2.0pragma solidity ^0.8.0;/// @author thirdweb// Helper interfacesimport { IWETH } from "../interfaces/IWETH.sol";import "../openzeppelin-presets/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;}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache 2.0pragma 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,
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache 2.0pragma 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* ====*
1234567891011121314151617181920212223242526// SPDX-License-Identifier: Apache 2.0pragma 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.solif (value == 0) {return "0";}uint256 temp = value;uint256 digits;while (temp != 0) {digits++;temp /= 10;
1234567891011121314151617181920212223242526// 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));
123456789101112131415161718192021222324// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)pragma solidity ^0.8.0;/*** @dev Provides information about the current execution context, including the* sender of the transaction and its data. While these are generally available* via msg.sender and msg.data, they should not be accessed in such a direct* manner, since when dealing with meta-transactions the account sending and* paying for execution may not be the actual sender (as far as an application* is concerned).** This contract is only required for intermediate, library-like contracts.*/abstract contract Context {function _msgSender() internal view virtual returns (address) {return msg.sender;}function _msgData() internal view virtual returns (bytes calldata) {return msg.data;}}
1234567891011121314151617181920{"optimizer": {"enabled": true,"runs": 200},"evmVersion": "london","remappings": [],"outputSelection": {"*": {"*": ["evm.bytecode","evm.deployedBytecode","devdoc","userdoc","metadata","abi"]}}}
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_primarySaleRecipient","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"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":"condition","type":"tuple"},{"indexed":false,"internalType":"bool","name":"resetEligibility","type":"bool"}],"name":"ClaimConditionUpdated","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":[{"indexed":false,"internalType":"bool","name":"restriction","type":"bool"}],"name":"OperatorRestriction","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":"index","type":"uint256"},{"indexed":false,"internalType":"string","name":"revealedURI","type":"string"}],"name":"TokenURIRevealed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"claimer","type":"address"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":true,"internalType":"uint256","name":"startTokenId","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isRestricted","type":"bool"}],"name":"TransfersRestricted","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TRANSFER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"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 IDropSinglePhase.AllowlistProof","name":"_allowlistProof","type":"tuple"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"claimCondition","outputs":[{"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"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"bytes","name":"key","type":"bytes"}],"name":"encryptDecrypt","outputs":[{"internalType":"bytes","name":"result","type":"bytes"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"encryptedData","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"getDefaultRoyaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_batchId","type":"uint256"},{"internalType":"bytes","name":"_key","type":"bytes"}],"name":"getRevealURI","outputs":[{"internalType":"string","name":"revealedURI","type":"string"}],"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":"address","name":"_claimer","type":"address"}],"name":"getSupplyClaimedByWallet","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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_batchId","type":"uint256"}],"name":"isEncryptedBatch","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":"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":"nextTokenIdToClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenIdToMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operatorRestriction","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"bool","name":"_toRestrict","type":"bool"}],"name":"restrictTransfers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"},{"internalType":"bytes","name":"_key","type":"bytes"}],"name":"reveal","outputs":[{"internalType":"string","name":"revealedURI","type":"string"}],"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":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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"},{"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":"bool","name":"_restriction","type":"bool"}],"name":"setOperatorRestriction","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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_claimer","type":"address"},{"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 IDropSinglePhase.AllowlistProof","name":"_allowlistProof","type":"tuple"}],"name":"verifyClaim","outputs":[{"internalType":"bool","name":"isOverride","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200524638038062005246833981016040819052620000349162000517565b828260008084733cc6cdda760b79bafa08df41ecfa224f810dceb66001868681600590805190602001906200006b929190620003a4565b50805162000081906006906020840190620003a4565b50600060035550506daaeb6d7670e522a718067333cd4e3b15620001ce5780156200011c57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015620000fd57600080fd5b505af115801562000112573d6000803e3d6000fd5b50505050620001ce565b6001600160a01b038216156200016d5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620000e2565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001b457600080fd5b505af1158015620001c9573d6000803e3d6000fd5b505050505b50620001dc90503362000216565b620001f1836001600160801b03841662000268565b620001fc8162000313565b6200020860016200035d565b5050505050505050620005e1565b600c80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d7690600090a35050565b612710811115620002b15760405162461bcd60e51b815260206004820152600f60248201526e45786365656473206d61782062707360881b604482015260640160405180910390fd5b600d80546001600160a01b0384166001600160b01b03199091168117600160a01b61ffff851602179091556040518281527f90d7ec04bcb8978719414f82e52e4cb651db41d0e6f8cea6118c2191e6183adb9060200160405180910390a25050565b601180546001600160a01b0319166001600160a01b0383169081179091556040517f299d17e95023f496e0ffc4909cff1a61f74bb5eb18de6f900f4155bfa1b3b33390600090a250565b6014805460ff19168215159081179091556040519081527f38475885990d8dfe9ca01f0ef160a1b5514426eab9ddbc953a3353410ba780969060200160405180910390a150565b828054620003b290620005a4565b90600052602060002090601f016020900481019282620003d6576000855562000421565b82601f10620003f157805160ff191683800117855562000421565b8280016001018555821562000421579182015b828111156200042157825182559160200191906001019062000404565b506200042f92915062000433565b5090565b5b808211156200042f576000815560010162000434565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200047257600080fd5b81516001600160401b03808211156200048f576200048f6200044a565b604051601f8301601f19908116603f01168101908282118183101715620004ba57620004ba6200044a565b81604052838152602092508683858801011115620004d757600080fd5b600091505b83821015620004fb5785820183015181830184015290820190620004dc565b838211156200050d5760008385830101525b9695505050505050565b6000806000606084860312156200052d57600080fd5b83516001600160401b03808211156200054557600080fd5b620005538783880162000460565b945060208601519150808211156200056a57600080fd5b50620005798682870162000460565b604086015190935090506001600160a01b03811681146200059957600080fd5b809150509250925092565b600181811c90821680620005b957607f821691505b60208210811415620005db57634e487b7160e01b600052602260045260246000fd5b50919050565b614c5580620005f16000396000f3fe60806040526004361061036b5760003560e01c806370a08231116101c6578063ac9650d8116100f7578063d37c353b11610095578063e71503221161006f578063e715032214610a69578063e8a3d48514610a89578063e985e9c514610a9e578063eec8897c14610ae757600080fd5b8063d37c353b14610a00578063d547741f14610a20578063d637ed5914610a4057600080fd5b8063b88d4fde116100d1578063b88d4fde14610980578063c87b56dd146109a0578063ca15c873146109c0578063ce805642146109e057600080fd5b8063ac9650d814610913578063acd083f814610940578063b24f2d391461095557600080fd5b806395d89b4111610164578063a05112fc1161013e578063a05112fc1461089e578063a217fddf146108be578063a22cb465146108d3578063a32fa5b3146108f357600080fd5b806395d89b41146108495780639bcf7a151461085e5780639fc4d68f1461087e57600080fd5b80638da5cb5b116101a05780638da5cb5b146107cb5780639010d07c146107e957806391d1485414610809578063938e3d7b1461082957600080fd5b806370a082311461077857806373fa563f1461079857806384bb1e42146107b857600080fd5b806335b65e1f116102a0578063492e224b1161023e578063600dd5ea11610218578063600dd5ea146107035780636352211e1461072357806363b45e2d146107435780636f4f28371461075857600080fd5b8063492e224b146106875780634cc157df146106a7578063504c6e01146106e957600080fd5b806341f434341161027a57806341f4343414610605578063426cfaf31461062757806342842e0e1461064757806342966c681461066757600080fd5b806335b65e1f1461058c57806336568abe146105d05780633b1475a7146105f057600080fd5b8063206b60f91161030d578063248a9ca3116102e7578063248a9ca3146104e05780632a55205a1461050d5780632f2ff15d1461054c57806332f0cd641461056c57600080fd5b8063206b60f91461047e57806323b872dd146104a05780632419f51b146104c057600080fd5b8063081812fc11610349578063081812fc146103f9578063095ea7b31461041957806313af40351461043b57806318160ddd1461045b57600080fd5b806301ffc9a71461037057806306fdde03146103a5578063079fe40e146103c7575b600080fd5b34801561037c57600080fd5b5061039061038b366004613e9f565b610b07565b60405190151581526020015b60405180910390f35b3480156103b157600080fd5b506103ba610b74565b60405161039c9190613f14565b3480156103d357600080fd5b506011546001600160a01b03165b6040516001600160a01b03909116815260200161039c565b34801561040557600080fd5b506103e1610414366004613f27565b610c06565b34801561042557600080fd5b50610439610434366004613f5c565b610c4a565b005b34801561044757600080fd5b50610439610456366004613f86565b610c63565b34801561046757600080fd5b50600454600354035b60405190815260200161039c565b34801561048a57600080fd5b50610470600080516020614bb983398151915281565b3480156104ac57600080fd5b506104396104bb366004613fa1565b610c9c565b3480156104cc57600080fd5b506104706104db366004613f27565b610cc7565b3480156104ec57600080fd5b506104706104fb366004613f27565b60009081526001602052604090205490565b34801561051957600080fd5b5061052d610528366004613fdd565b610d35565b604080516001600160a01b03909316835260208301919091520161039c565b34801561055857600080fd5b50610439610567366004613fff565b610d72565b34801561057857600080fd5b50610439610587366004614039565b610e0a565b34801561059857600080fd5b506104706105a7366004613f86565b601d546000908152601e602090815260408083206001600160a01b039094168352929052205490565b3480156105dc57600080fd5b506104396105eb366004613fff565b610e7b565b3480156105fc57600080fd5b50601254610470565b34801561061157600080fd5b506103e16daaeb6d7670e522a718067333cd4e81565b34801561063357600080fd5b50610439610642366004614056565b610edd565b34801561065357600080fd5b50610439610662366004613fa1565b6110f2565b34801561067357600080fd5b50610439610682366004613f27565b611117565b34801561069357600080fd5b506103906106a2366004613f27565b611122565b3480156106b357600080fd5b506106c76106c2366004613f27565b611148565b604080516001600160a01b03909316835261ffff90911660208301520161039c565b3480156106f557600080fd5b506014546103909060ff1681565b34801561070f57600080fd5b5061043961071e366004613f5c565b6111b3565b34801561072f57600080fd5b506103e161073e366004613f27565b6111e1565b34801561074f57600080fd5b50600f54610470565b34801561076457600080fd5b50610439610773366004613f86565b6111f3565b34801561078457600080fd5b50610470610793366004613f86565b611220565b3480156107a457600080fd5b506104396107b3366004614039565b61126e565b6104396107c636600461418a565b6112a6565b3480156107d757600080fd5b50600c546001600160a01b03166103e1565b3480156107f557600080fd5b506103e1610804366004613fdd565b611381565b34801561081557600080fd5b50610390610824366004613fff565b61146f565b34801561083557600080fd5b50610439610844366004614220565b611498565b34801561085557600080fd5b506103ba6114c5565b34801561086a57600080fd5b50610439610879366004614268565b6114d4565b34801561088a57600080fd5b506103ba6108993660046142d5565b611503565b3480156108aa57600080fd5b506103ba6108b9366004613f27565b611684565b3480156108ca57600080fd5b50610470600081565b3480156108df57600080fd5b506104396108ee366004614320565b61171e565b3480156108ff57600080fd5b5061039061090e366004613fff565b611732565b34801561091f57600080fd5b5061093361092e36600461433c565b611784565b60405161039c91906143b0565b34801561094c57600080fd5b50600354610470565b34801561096157600080fd5b50600d546001600160a01b03811690600160a01b900461ffff166106c7565b34801561098c57600080fd5b5061043961099b366004614412565b611878565b3480156109ac57600080fd5b506103ba6109bb366004613f27565b6118a5565b3480156109cc57600080fd5b506104706109db366004613f27565b611914565b3480156109ec57600080fd5b506103ba6109fb3660046142d5565b61199d565b348015610a0c57600080fd5b50610470610a1b366004614479565b611a40565b348015610a2c57600080fd5b50610439610a3b366004613fff565b611ad8565b348015610a4c57600080fd5b50610a55611af1565b60405161039c9897969594939291906144f2565b348015610a7557600080fd5b506103ba610a84366004614547565b611bb0565b348015610a9557600080fd5b506103ba611c25565b348015610aaa57600080fd5b50610390610ab93660046145a2565b6001600160a01b039182166000908152600a6020908152604080832093909416825291909152205460ff1690565b348015610af357600080fd5b50610390610b023660046145cc565b611c32565b60006301ffc9a760e01b6001600160e01b031983161480610b3857506380ac58cd60e01b6001600160e01b03198316145b80610b535750635b5e139f60e01b6001600160e01b03198316145b80610b6e57506001600160e01b0319821663152a902d60e11b145b92915050565b606060058054610b839061463d565b80601f0160208091040260200160405190810160405280929190818152602001828054610baf9061463d565b8015610bfc5780601f10610bd157610100808354040283529160200191610bfc565b820191906000526020600020905b815481529060010190602001808311610bdf57829003601f168201915b5050505050905090565b6000610c1182611fe2565b610c2e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600960205260409020546001600160a01b031690565b81610c548161200e565b610c5e83836120e1565b505050565b610c6b612163565b610c905760405162461bcd60e51b8152600401610c8790614672565b60405180910390fd5b610c9981612190565b50565b826001600160a01b0381163314610cb657610cb63361200e565b610cc18484846121e2565b50505050565b6000610cd2600f5490565b8210610d105760405162461bcd60e51b815260206004820152600d60248201526c092dcecc2d8d2c840d2dcc8caf609b1b6044820152606401610c87565b600f8281548110610d2357610d2361469a565b90600052602060002001549050919050565b600080600080610d4486611148565b90945084925061ffff169050612710610d5d82876146c6565b610d6791906146fb565b925050509250929050565b600082815260016020526040902054610d8b90336121ed565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1615610dfc5760405162461bcd60e51b815260206004820152601d60248201527f43616e206f6e6c79206772616e7420746f206e6f6e20686f6c646572730000006044820152606401610c87565b610e06828261226b565b5050565b610e12612163565b610e725760405162461bcd60e51b815260206004820152602b60248201527f4e6f7420617574686f72697a656420746f20736574206f70657261746f72207260448201526a32b9ba3934b1ba34b7b71760a91b6064820152608401610c87565b610c998161227f565b336001600160a01b03821614610ed35760405162461bcd60e51b815260206004820152601a60248201527f43616e206f6e6c792072656e6f756e636520666f722073656c660000000000006044820152606401610c87565b610e0682826122c6565b610ee5612163565b610f015760405162461bcd60e51b8152600401610c8790614672565b601d546017548215610f50575060003360405160609190911b6bffffffffffffffffffffffff191660208201524360348201526054016040516020818303038152906040528051906020012091505b8360200135811115610f995760405162461bcd60e51b81526020600482015260126024820152711b585e081cdd5c1c1b1e4818db185a5b595960721b6044820152606401610c87565b604051806101000160405280856000013581526020018560200135815260200182815260200185606001358152602001856080013581526020018560a0013581526020018560c0016020810190610ff09190613f86565b6001600160a01b0316815260200161100b60e087018761470f565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050509152508051601590815560208083015160165560408301516017556060830151601855608083015160195560a0830151601a5560c0830151601b80546001600160a01b0319166001600160a01b0390921691909117905560e083015180516110aa92601c920190613df0565b505050601d8290556040517f6dab9d7d05d468100139089b2516cb8ff286c3972ff070d3b509e371f0d0d4b8906110e4908690869061477e565b60405180910390a150505050565b826001600160a01b038116331461110c5761110c3361200e565b610cc184848461231c565b610c99816001612337565b6000818152601360205260408120805482919061113e9061463d565b9050119050919050565b6000818152600e60209081526040808320815180830190925280546001600160a01b03168083526001909101549282019290925282911561118f57805160208201516111a9565b600d546001600160a01b03811690600160a01b900461ffff165b9250925050915091565b6111bb612163565b6111d75760405162461bcd60e51b8152600401610c8790614672565b610e0682826124f9565b60006111ec8261259f565b5192915050565b6111fb612163565b6112175760405162461bcd60e51b8152600401610c8790614672565b610c99816126b9565b60006001600160a01b038216611249576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600860205260409020546001600160401b031690565b801561128d57610c99600080516020614bb983398151915260006122c6565b610c99600080516020614bb9833981519152600061226b565b6112b4868686868686612703565b601d546112c43387878787611c32565b5085601560020160008282546112da919061484a565b90915550506000818152601e602090815260408083203384529091528120805488929061130890849061484a565b9091555061131b9050600087878761276a565b60006113278888612820565b9050806001600160a01b038916336001600160a01b03167fff097c7d8b1957a4ff09ef1361b5fb54dcede3941ba836d0beb9d10bec725de68a60405161136f91815260200190565b60405180910390a45050505050505050565b60008281526002602052604081205481805b828110156114665760008681526002602090815260408083208484526001019091529020546001600160a01b03161561141057848214156113fe5760008681526002602090815260408083209383526001909301905220546001600160a01b03169250610b6e915050565b61140960018361484a565b9150611454565b61141b86600061146f565b801561144157506000868152600260208181526040808420848052909201905290205481145b156114545761145160018361484a565b91505b61145f60018261484a565b9050611393565b50505092915050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6114a0612163565b6114bc5760405162461bcd60e51b8152600401610c8790614672565b610c998161282d565b606060068054610b839061463d565b6114dc612163565b6114f85760405162461bcd60e51b8152600401610c8790614672565b610c5e83838361290f565b6000838152601360205260408120805460609291906115219061463d565b80601f016020809104026020016040519081016040528092919081815260200182805461154d9061463d565b801561159a5780601f1061156f5761010080835404028352916020019161159a565b820191906000526020600020905b81548152906001019060200180831161157d57829003601f168201915b505050505090508051600014156115e75760405162461bcd60e51b8152602060048201526011602482015270139bdd1a1a5b99c81d1bc81c995d99585b607a1b6044820152606401610c87565b600080828060200190518101906115fe9190614862565b9150915061160d828787611bb0565b9350808487874660405160200161162794939291906148e2565b604051602081830303815290604052805190602001201461167a5760405162461bcd60e51b815260206004820152600d60248201526c496e636f7272656374206b657960981b6044820152606401610c87565b5050509392505050565b6013602052600090815260409020805461169d9061463d565b80601f01602080910402602001604051908101604052809291908181526020018280546116c99061463d565b80156117165780601f106116eb57610100808354040283529160200191611716565b820191906000526020600020905b8154815290600101906020018083116116f957829003601f168201915b505050505081565b816117288161200e565b610c5e83836129d8565b60008281526020818152604080832083805290915281205460ff1661177b57506000828152602081815260408083206001600160a01b038516845290915290205460ff16610b6e565b50600192915050565b6060816001600160401b0381111561179e5761179e6140bf565b6040519080825280602002602001820160405280156117d157816020015b60608152602001906001900390816117bc5790505b50905060005b8281101561187157611841308585848181106117f5576117f561469a565b9050602002810190611807919061470f565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612a6e92505050565b8282815181106118535761185361469a565b602002602001018190525080806118699061490b565b9150506117d7565b5092915050565b836001600160a01b0381163314611892576118923361200e565b61189e85858585612a9a565b5050505050565b606060006118b283612ade565b50905060006118c084612be3565b90506118cb82611122565b156118f957806040516020016118e19190614926565b60405160208183030381529060405292505050919050565b8061190385612d44565b6040516020016118e192919061494b565b600081815260026020526040812054815b818110156119785760008481526002602090815260408083208484526001019091529020546001600160a01b0316156119665761196360018461484a565b92505b61197160018261484a565b9050611925565b5061198483600061146f565b156119975761199460018361484a565b91505b50919050565b60606119a7612163565b6119c35760405162461bcd60e51b8152600401610c8790614672565b60006119ce85610cc7565b90506119db818585611503565b91506119f68160405180602001604052806000815250612e49565b611a008183612e68565b847f6df1d8db2a036436ffe0b2d1833f2c5f1e624818dfce2578c0faa4b83ef9998d83604051611a309190613f14565b60405180910390a2509392505050565b60008115611ac157600080611a578486018661497a565b915091508151600014158015611a6c57508015155b15611abe57611abe88601254611a82919061484a565b86868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612e4992505050565b50505b611ace8686868686612e87565b9695505050505050565b600082815260016020526040902054610ed390336121ed565b60158054601654601754601854601954601a54601b54601c80549798969795969495939492936001600160a01b039092169291611b2d9061463d565b80601f0160208091040260200160405190810160405280929190818152602001828054611b599061463d565b8015611ba65780601f10611b7b57610100808354040283529160200191611ba6565b820191906000526020600020905b815481529060010190602001808311611b8957829003601f168201915b5050505050905088565b8251604080518083016020019091528181529060005b81811015611c1c576000858583604051602001611be5939291906149be565b60408051601f19818403018152919052805160209182012088840182015118858401820152611c1591508261484a565b9050611bc6565b50509392505050565b600b805461169d9061463d565b604080516101008101825260158054825260165460208301526017549282019290925260185460608201526019546080820152601a5460a0820152601b546001600160a01b031660c0820152601c8054600093849392909160e084019190611c999061463d565b80601f0160208091040260200160405190810160405280929190818152602001828054611cc59061463d565b8015611d125780601f10611ce757610100808354040283529160200191611d12565b820191906000526020600020905b815481529060010190602001808311611cf557829003601f168201915b50505091909252505050606081015160a082015160c08301516080840151939450919290919015611df757611df3611d4a87806149d0565b80806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250505060808088015191508d9060208b01359060408c013590611d9f908d0160608e01613f86565b6040516bffffffffffffffffffffffff19606095861b811660208301526034820194909452605481019290925290921b16607482015260880160405160208183030381529060405280519060200120612f91565b5094505b8415611e7c576020860135611e0c5782611e12565b85602001355b925060001986604001351415611e285781611e2e565b85604001355b9150600019866040013514158015611e5f57506000611e536080880160608901613f86565b6001600160a01b031614155b611e695780611e79565b611e796080870160608801613f86565b90505b601d546000908152601e602090815260408083206001600160a01b03808f16855292529091205490898116908316141580611eb75750828814155b15611ef75760405162461bcd60e51b815260206004820152601060248201526f2150726963654f7243757272656e637960801b6044820152606401610c87565b891580611f0c575083611f0a828c61484a565b115b15611f425760405162461bcd60e51b8152600401610c87906020808252600490820152632151747960e01b604082015260600190565b84602001518a8660400151611f57919061484a565b1115611f925760405162461bcd60e51b815260206004820152600a602482015269214d6178537570706c7960b01b6044820152606401610c87565b8451421015611fd45760405162461bcd60e51b815260206004820152600e60248201526d18d85b9d0818db185a5b481e595d60921b6044820152606401610c87565b505050505095945050505050565b600060035482108015610b6e575050600090815260076020526040902054600160e01b900460ff161590565b60145460ff1615610c99576daaeb6d7670e522a718067333cd4e3b15610c9957604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561208157600080fd5b505afa158015612095573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120b99190614a19565b610c9957604051633b79c77360e21b81526001600160a01b0382166004820152602401610c87565b60006120ec826111e1565b9050806001600160a01b0316836001600160a01b031614156121215760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146121585761213b8133610ab9565b612158576040516367d9dca160e11b815260040160405180910390fd5b610c5e83838361305f565b6000612177600c546001600160a01b031690565b6001600160a01b0316336001600160a01b031614905090565b600c80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d7690600090a35050565b610c5e8383836130bb565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16610e0657612229816001600160a01b031660146132a1565b6122348360206132a1565b604051602001612245929190614a36565b60408051601f198184030181529082905262461bcd60e51b8252610c8791600401613f14565b612275828261343c565b610e068282613495565b6014805460ff19168215159081179091556040519081527f38475885990d8dfe9ca01f0ef160a1b5514426eab9ddbc953a3353410ba780969060200160405180910390a150565b6122d08282613501565b60009182526002602081815260408085206001600160a01b0394909416808652928401808352818620805487526001909501835290852080546001600160a01b03191690559184525255565b610c5e83838360405180602001604052806000815250611878565b60006123428361259f565b805190915082156123a8576000336001600160a01b038316148061236b575061236b8233610ab9565b8061238657503361237b86610c06565b6001600160a01b0316145b9050806123a657604051632ce44b5f60e11b815260040160405180910390fd5b505b6123b6816000866001613561565b6123c26000858361305f565b6001600160a01b0380821660008181526008602090815260408083208054600160801b6000196001600160401b0380841691909101811667ffffffffffffffff198416811783900482166001908101831690930277ffffffffffffffff0000000000000000ffffffffffffffff19909416179290921783558b86526007909452828520805460ff60e01b1942909316600160a01b026001600160e01b03199091169097179690961716600160e01b1785559189018084529220805491949091166124c05760035482146124c057805460208701516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038716171781555b5050604051869250600091506001600160a01b03841690600080516020614c00833981519152908390a450506004805460010190555050565b61271081111561253d5760405162461bcd60e51b815260206004820152600f60248201526e45786365656473206d61782062707360881b6044820152606401610c87565b600d80546001600160a01b0384166001600160b01b03199091168117600160a01b61ffff851602179091556040518281527f90d7ec04bcb8978719414f82e52e4cb651db41d0e6f8cea6118c2191e6183adb9060200160405180910390a25050565b6040805160608101825260008082526020820181905291810191909152816003548110156126a057600081815260076020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff1615159181018290529061269e5780516001600160a01b031615612635579392505050565b5060001901600081815260076020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215612699579392505050565b612635565b505b604051636f96cda160e11b815260040160405180910390fd5b601180546001600160a01b0319166001600160a01b0383169081179091556040517f299d17e95023f496e0ffc4909cff1a61f74bb5eb18de6f900f4155bfa1b3b33390600090a250565b60125485600354612714919061484a565b11156127625760405162461bcd60e51b815260206004820152601860248201527f4e6f7420656e6f756768206d696e74656420746f6b656e7300000000000000006044820152606401610c87565b505050505050565b8061277457610cc1565b600061278082856146c6565b90506001600160a01b03831673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14156127ee578034146127ee5760405162461bcd60e51b81526020600482015260156024820152744d7573742073656e6420746f74616c20707269636560581b6044820152606401610c87565b60006001600160a01b038616156128055785612812565b6011546001600160a01b03165b90506127628433838561356d565b600354610b6e83836135b7565b6000600b805461283c9061463d565b80601f01602080910402602001604051908101604052809291908181526020018280546128689061463d565b80156128b55780601f1061288a576101008083540402835291602001916128b5565b820191906000526020600020905b81548152906001019060200180831161289857829003601f168201915b505085519394506128d193600b93506020870192509050613df0565b507fc9c7c3fe08b88b4df9d4d47ef47d2c43d55c025a0ba88ca442580ed9e7348a168183604051612903929190614aa3565b60405180910390a15050565b6127108111156129535760405162461bcd60e51b815260206004820152600f60248201526e45786365656473206d61782062707360881b6044820152606401610c87565b6040805180820182526001600160a01b0384811680835260208084018681526000898152600e8352869020945185546001600160a01b031916941693909317845591516001909301929092559151838152909185917f7365cf4122f072a3365c20d54eff9b38d73c096c28e1892ec8f5b0e403a0f12d910160405180910390a3505050565b6001600160a01b038216331415612a025760405163b06307db60e01b815260040160405180910390fd5b336000818152600a602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6060612a938383604051806060016040528060278152602001614bd9602791396135d1565b9392505050565b612aa58484846130bb565b6001600160a01b0383163b15610cc157612ac1848484846136a4565b610cc1576040516368d2bf6b60e11b815260040160405180910390fd5b6000806000612aec600f5490565b90506000600f805480602002602001604051908101604052809291908181526020018280548015612b3c57602002820191906000526020600020905b815481526020019060010190808311612b28575b5050505050905060005b82811015612ba857818181518110612b6057612b6061469a565b6020026020010151861015612b9657809350818181518110612b8457612b8461469a565b60200260200101519450505050915091565b612ba160018261484a565b9050612b46565b5060405162461bcd60e51b815260206004820152600f60248201526e125b9d985b1a59081d1bdad95b9259608a1b6044820152606401610c87565b60606000612bf0600f5490565b90506000600f805480602002602001604051908101604052809291908181526020018280548015612c4057602002820191906000526020600020905b815481526020019060010190808311612c2c575b5050505050905060005b82811015612ba857818181518110612c6457612c6461469a565b6020026020010151851015612d325760106000838381518110612c8957612c8961469a565b602002602001015181526020019081526020016000208054612caa9061463d565b80601f0160208091040260200160405190810160405280929190818152602001828054612cd69061463d565b8015612d235780601f10612cf857610100808354040283529160200191612d23565b820191906000526020600020905b815481529060010190602001808311612d0657829003601f168201915b50505050509350505050919050565b612d3d60018261484a565b9050612c4a565b606081612d685750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612d925780612d7c8161490b565b9150612d8b9050600a836146fb565b9150612d6c565b6000816001600160401b03811115612dac57612dac6140bf565b6040519080825280601f01601f191660200182016040528015612dd6576020820181803683370190505b5090505b8415612e4157612deb600183614ad1565b9150612df8600a86614ae8565b612e0390603061484a565b60f81b818381518110612e1857612e1861469a565b60200101906001600160f81b031916908160001a905350612e3a600a866146fb565b9450612dda565b949350505050565b60008281526013602090815260409091208251610c5e92840190613df0565b60008281526010602090815260409091208251610c5e92840190613df0565b6000612e91612163565b612ead5760405162461bcd60e51b8152600401610c8790614672565b85612ee25760405162461bcd60e51b81526020600482015260056024820152640c08185b5d60da1b6044820152606401610c87565b60006012549050612f2a818888888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061379b92505050565b6012919091559150807f2a0365091ef1a40953c670dce28177e37520648a6fdc91506bffac0ab045570d6001612f608a8461484a565b612f6a9190614ad1565b88888888604051612f7f959493929190614afc565b60405180910390a25095945050505050565b6000808281805b875181101561305357612fac6002836146c6565b91506000888281518110612fc257612fc261469a565b60200260200101519050808411613004576040805160208101869052908101829052606001604051602081830303815290604052805190602001209350613040565b604080516020810183905290810185905260600160405160208183030381529060405280519060200120935060018361303d919061484a565b92505b508061304b8161490b565b915050612f98565b50941495939450505050565b60008281526009602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006130c68261259f565b9050836001600160a01b031681600001516001600160a01b0316146130fd5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061311b575061311b8533610ab9565b8061313657503361312b84610c06565b6001600160a01b0316145b90508061315657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661317d57604051633a954ecd60e21b815260040160405180910390fd5b61318a8585856001613561565b6131966000848761305f565b6001600160a01b038581166000908152600860209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600790945282852080546001600160e01b031916909417600160a01b4290921691909102178355870180845292208054919390911661326a57600354821461326a57805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b0316600080516020614c0083398151915260405160405180910390a461189e565b606060006132b08360026146c6565b6132bb90600261484a565b6001600160401b038111156132d2576132d26140bf565b6040519080825280601f01601f1916602001820160405280156132fc576020820181803683370190505b509050600360fc1b816000815181106133175761331761469a565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106133465761334661469a565b60200101906001600160f81b031916908160001a905350600061336a8460026146c6565b61337590600161484a565b90505b60018111156133ed576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106133a9576133a961469a565b1a60f81b8282815181106133bf576133bf61469a565b60200101906001600160f81b031916908160001a90535060049490941c936133e681614b35565b9050613378565b508315612a935760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610c87565b6000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916600117905551339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b6000828152600260205260408120805491600191906134b4838561484a565b9091555050600092835260026020818152604080862084875260018101835281872080546001600160a01b039097166001600160a01b031990971687179055948652939091019052912055565b61350b82826121ed565b6000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b610cc184848484613808565b8061357757610cc1565b6001600160a01b03841673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14156135ab576135a682826138c7565b610cc1565b610cc18484848461396a565b610e068282604051806020016040528060008152506139c3565b60606001600160a01b0384163b6136395760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610c87565b600080856001600160a01b0316856040516136549190614b4c565b600060405180830381855af49150503d806000811461368f576040519150601f19603f3d011682016040523d82523d6000602084013e613694565b606091505b5091509150611ace828286613b6f565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906136d9903390899088908890600401614b68565b602060405180830381600087803b1580156136f357600080fd5b505af1925050508015613723575060408051601f3d908101601f1916820190925261372091810190614b9b565b60015b61377e573d808015613751576040519150601f19603f3d011682016040523d82523d6000602084013e613756565b606091505b508051613776576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6000806137a8848661484a565b600f8054600181019091557f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80201819055600081815260106020908152604090912085519294508493506137ff929091860190613df0565b50935093915050565b613821600080516020614bb9833981519152600061146f565b15801561383657506001600160a01b03841615155b801561384a57506001600160a01b03831615155b15610cc157613867600080516020614bb98339815191528561146f565b1580156138895750613887600080516020614bb98339815191528461146f565b155b15610cc15760405162461bcd60e51b815260206004820152600e60248201526d215452414e534645525f524f4c4560901b6044820152606401610c87565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114613914576040519150601f19603f3d011682016040523d82523d6000602084013e613919565b606091505b5050905080610c5e5760405162461bcd60e51b815260206004820152601c60248201527f6e617469766520746f6b656e207472616e73666572206661696c6564000000006044820152606401610c87565b816001600160a01b0316836001600160a01b0316141561398957610cc1565b6001600160a01b0383163014156139ae576135a66001600160a01b0385168383613ba8565b610cc16001600160a01b038516848484613c0b565b6003546001600160a01b0384166139ec57604051622e076360e81b815260040160405180910390fd5b82613a0a5760405163b562e8dd60e01b815260040160405180910390fd5b613a176000858386613561565b6001600160a01b038416600081815260086020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600790925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b15613b2d575b60405182906001600160a01b03881690600090600080516020614c00833981519152908290a4613af660008784806001019550876136a4565b613b13576040516368d2bf6b60e11b815260040160405180910390fd5b808210613abd578260035414613b2857600080fd5b613b60565b5b6040516001830192906001600160a01b03881690600090600080516020614c00833981519152908290a4808210613b2e575b50600355610cc1600085838684565b60608315613b7e575081612a93565b825115613b8e5782518084602001fd5b8160405162461bcd60e51b8152600401610c879190613f14565b6040516001600160a01b038316602482015260448101829052610c5e90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152613c43565b6040516001600160a01b0380851660248301528316604482015260648101829052610cc19085906323b872dd60e01b90608401613bd4565b6000613c98826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316613d159092919063ffffffff16565b805190915015610c5e5780806020019051810190613cb69190614a19565b610c5e5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610c87565b6060612e418484600085856001600160a01b0385163b613d775760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610c87565b600080866001600160a01b03168587604051613d939190614b4c565b60006040518083038185875af1925050503d8060008114613dd0576040519150601f19603f3d011682016040523d82523d6000602084013e613dd5565b606091505b5091509150613de5828286613b6f565b979650505050505050565b828054613dfc9061463d565b90600052602060002090601f016020900481019282613e1e5760008555613e64565b82601f10613e3757805160ff1916838001178555613e64565b82800160010185558215613e64579182015b82811115613e64578251825591602001919060010190613e49565b50613e70929150613e74565b5090565b5b80821115613e705760008155600101613e75565b6001600160e01b031981168114610c9957600080fd5b600060208284031215613eb157600080fd5b8135612a9381613e89565b60005b83811015613ed7578181015183820152602001613ebf565b83811115610cc15750506000910152565b60008151808452613f00816020860160208601613ebc565b601f01601f19169290920160200192915050565b602081526000612a936020830184613ee8565b600060208284031215613f3957600080fd5b5035919050565b80356001600160a01b0381168114613f5757600080fd5b919050565b60008060408385031215613f6f57600080fd5b613f7883613f40565b946020939093013593505050565b600060208284031215613f9857600080fd5b612a9382613f40565b600080600060608486031215613fb657600080fd5b613fbf84613f40565b9250613fcd60208501613f40565b9150604084013590509250925092565b60008060408385031215613ff057600080fd5b50508035926020909101359150565b6000806040838503121561401257600080fd5b8235915061402260208401613f40565b90509250929050565b8015158114610c9957600080fd5b60006020828403121561404b57600080fd5b8135612a938161402b565b6000806040838503121561406957600080fd5b82356001600160401b0381111561407f57600080fd5b8301610100818603121561409257600080fd5b915060208301356140a28161402b565b809150509250929050565b60006080828403121561199757600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156140fd576140fd6140bf565b604052919050565b60006001600160401b0382111561411e5761411e6140bf565b50601f01601f191660200190565b600061413f61413a84614105565b6140d5565b905082815283838301111561415357600080fd5b828260208301376000602084830101529392505050565b600082601f83011261417b57600080fd5b612a938383356020850161412c565b60008060008060008060c087890312156141a357600080fd5b6141ac87613f40565b9550602087013594506141c160408801613f40565b93506060870135925060808701356001600160401b03808211156141e457600080fd5b6141f08a838b016140ad565b935060a089013591508082111561420657600080fd5b5061421389828a0161416a565b9150509295509295509295565b60006020828403121561423257600080fd5b81356001600160401b0381111561424857600080fd5b8201601f8101841361425957600080fd5b612e418482356020840161412c565b60008060006060848603121561427d57600080fd5b83359250613fcd60208501613f40565b60008083601f84011261429f57600080fd5b5081356001600160401b038111156142b657600080fd5b6020830191508360208285010111156142ce57600080fd5b9250929050565b6000806000604084860312156142ea57600080fd5b8335925060208401356001600160401b0381111561430757600080fd5b6143138682870161428d565b9497909650939450505050565b6000806040838503121561433357600080fd5b61409283613f40565b6000806020838503121561434f57600080fd5b82356001600160401b038082111561436657600080fd5b818501915085601f83011261437a57600080fd5b81358181111561438957600080fd5b8660208260051b850101111561439e57600080fd5b60209290920196919550909350505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561440557603f198886030184526143f3858351613ee8565b945092850192908501906001016143d7565b5092979650505050505050565b6000806000806080858703121561442857600080fd5b61443185613f40565b935061443f60208601613f40565b92506040850135915060608501356001600160401b0381111561446157600080fd5b61446d8782880161416a565b91505092959194509250565b60008060008060006060868803121561449157600080fd5b8535945060208601356001600160401b03808211156144af57600080fd5b6144bb89838a0161428d565b909650945060408801359150808211156144d457600080fd5b506144e18882890161428d565b969995985093965092949392505050565b60006101008a83528960208401528860408401528760608401528660808401528560a084015260018060a01b03851660c08401528060e084015261453881840185613ee8565b9b9a5050505050505050505050565b60008060006040848603121561455c57600080fd5b83356001600160401b038082111561457357600080fd5b61457f8783880161416a565b9450602086013591508082111561459557600080fd5b506143138682870161428d565b600080604083850312156145b557600080fd5b6145be83613f40565b915061402260208401613f40565b600080600080600060a086880312156145e457600080fd5b6145ed86613f40565b94506020860135935061460260408701613f40565b92506060860135915060808601356001600160401b0381111561462457600080fd5b614630888289016140ad565b9150509295509295909350565b600181811c9082168061465157607f821691505b6020821081141561199757634e487b7160e01b600052602260045260246000fd5b6020808252600e908201526d139bdd08185d5d1a1bdc9a5e995960921b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156146e0576146e06146b0565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261470a5761470a6146e5565b500490565b6000808335601e1984360301811261472657600080fd5b8301803591506001600160401b0382111561474057600080fd5b6020019150368190038213156142ce57600080fd5b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60408152823560408201526020830135606082015260408301356080820152606083013560a0820152608083013560c082015260a083013560e082015260006147c960c08501613f40565b6001600160a01b03166101008381019190915260e08501359036869003601e190182126147f557600080fd5b9085019081356001600160401b0381111561480f57600080fd5b80360387131561481e57600080fd5b8161012086015261483761014086018260208601614755565b9350505050612a93602083018415159052565b6000821982111561485d5761485d6146b0565b500190565b6000806040838503121561487557600080fd5b82516001600160401b0381111561488b57600080fd5b8301601f8101851361489c57600080fd5b80516148aa61413a82614105565b8181528660208385010111156148bf57600080fd5b6148d0826020830160208601613ebc565b60209590950151949694955050505050565b600085516148f4818460208a01613ebc565b820184868237909301918252506020019392505050565b600060001982141561491f5761491f6146b0565b5060010190565b60008251614938818460208701613ebc565b600360fc1b920191825250600101919050565b6000835161495d818460208801613ebc565b835190830190614971818360208801613ebc565b01949350505050565b6000806040838503121561498d57600080fd5b82356001600160401b038111156149a357600080fd5b6149af8582860161416a565b95602094909401359450505050565b82848237909101908152602001919050565b6000808335601e198436030181126149e757600080fd5b8301803591506001600160401b03821115614a0157600080fd5b6020019150600581901b36038213156142ce57600080fd5b600060208284031215614a2b57600080fd5b8151612a938161402b565b7402832b936b4b9b9b4b7b7399d1030b1b1b7bab73a1605d1b815260008351614a66816015850160208801613ebc565b7001034b99036b4b9b9b4b733903937b6329607d1b6015918401918201528351614a97816026840160208801613ebc565b01602601949350505050565b604081526000614ab66040830185613ee8565b8281036020840152614ac88185613ee8565b95945050505050565b600082821015614ae357614ae36146b0565b500390565b600082614af757614af76146e5565b500690565b858152606060208201526000614b16606083018688614755565b8281036040840152614b29818587614755565b98975050505050505050565b600081614b4457614b446146b0565b506000190190565b60008251614b5e818460208701613ebc565b9190910192915050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ace90830184613ee8565b600060208284031215614bad57600080fd5b8151612a9381613e8956fe8502233096d909befbda0999bb8ea2f3a6be3c138b9fbf003752a4c8bce86f6c416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212205fbfee3bc89f1e1b8830372bdad86d065ba1d679dd095b2bf27cea885746cbc764736f6c63430008090033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000005079ec85c3c8f8e932bd011b669b77d703deeea70000000000000000000000000000000000000000000000000000000000000019545952414e54204d6f7669652050726f647563657220534254000000000000000000000000000000000000000000000000000000000000000000000000000004464f544400000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061036b5760003560e01c806370a08231116101c6578063ac9650d8116100f7578063d37c353b11610095578063e71503221161006f578063e715032214610a69578063e8a3d48514610a89578063e985e9c514610a9e578063eec8897c14610ae757600080fd5b8063d37c353b14610a00578063d547741f14610a20578063d637ed5914610a4057600080fd5b8063b88d4fde116100d1578063b88d4fde14610980578063c87b56dd146109a0578063ca15c873146109c0578063ce805642146109e057600080fd5b8063ac9650d814610913578063acd083f814610940578063b24f2d391461095557600080fd5b806395d89b4111610164578063a05112fc1161013e578063a05112fc1461089e578063a217fddf146108be578063a22cb465146108d3578063a32fa5b3146108f357600080fd5b806395d89b41146108495780639bcf7a151461085e5780639fc4d68f1461087e57600080fd5b80638da5cb5b116101a05780638da5cb5b146107cb5780639010d07c146107e957806391d1485414610809578063938e3d7b1461082957600080fd5b806370a082311461077857806373fa563f1461079857806384bb1e42146107b857600080fd5b806335b65e1f116102a0578063492e224b1161023e578063600dd5ea11610218578063600dd5ea146107035780636352211e1461072357806363b45e2d146107435780636f4f28371461075857600080fd5b8063492e224b146106875780634cc157df146106a7578063504c6e01146106e957600080fd5b806341f434341161027a57806341f4343414610605578063426cfaf31461062757806342842e0e1461064757806342966c681461066757600080fd5b806335b65e1f1461058c57806336568abe146105d05780633b1475a7146105f057600080fd5b8063206b60f91161030d578063248a9ca3116102e7578063248a9ca3146104e05780632a55205a1461050d5780632f2ff15d1461054c57806332f0cd641461056c57600080fd5b8063206b60f91461047e57806323b872dd146104a05780632419f51b146104c057600080fd5b8063081812fc11610349578063081812fc146103f9578063095ea7b31461041957806313af40351461043b57806318160ddd1461045b57600080fd5b806301ffc9a71461037057806306fdde03146103a5578063079fe40e146103c7575b600080fd5b34801561037c57600080fd5b5061039061038b366004613e9f565b610b07565b60405190151581526020015b60405180910390f35b3480156103b157600080fd5b506103ba610b74565b60405161039c9190613f14565b3480156103d357600080fd5b506011546001600160a01b03165b6040516001600160a01b03909116815260200161039c565b34801561040557600080fd5b506103e1610414366004613f27565b610c06565b34801561042557600080fd5b50610439610434366004613f5c565b610c4a565b005b34801561044757600080fd5b50610439610456366004613f86565b610c63565b34801561046757600080fd5b50600454600354035b60405190815260200161039c565b34801561048a57600080fd5b50610470600080516020614bb983398151915281565b3480156104ac57600080fd5b506104396104bb366004613fa1565b610c9c565b3480156104cc57600080fd5b506104706104db366004613f27565b610cc7565b3480156104ec57600080fd5b506104706104fb366004613f27565b60009081526001602052604090205490565b34801561051957600080fd5b5061052d610528366004613fdd565b610d35565b604080516001600160a01b03909316835260208301919091520161039c565b34801561055857600080fd5b50610439610567366004613fff565b610d72565b34801561057857600080fd5b50610439610587366004614039565b610e0a565b34801561059857600080fd5b506104706105a7366004613f86565b601d546000908152601e602090815260408083206001600160a01b039094168352929052205490565b3480156105dc57600080fd5b506104396105eb366004613fff565b610e7b565b3480156105fc57600080fd5b50601254610470565b34801561061157600080fd5b506103e16daaeb6d7670e522a718067333cd4e81565b34801561063357600080fd5b50610439610642366004614056565b610edd565b34801561065357600080fd5b50610439610662366004613fa1565b6110f2565b34801561067357600080fd5b50610439610682366004613f27565b611117565b34801561069357600080fd5b506103906106a2366004613f27565b611122565b3480156106b357600080fd5b506106c76106c2366004613f27565b611148565b604080516001600160a01b03909316835261ffff90911660208301520161039c565b3480156106f557600080fd5b506014546103909060ff1681565b34801561070f57600080fd5b5061043961071e366004613f5c565b6111b3565b34801561072f57600080fd5b506103e161073e366004613f27565b6111e1565b34801561074f57600080fd5b50600f54610470565b34801561076457600080fd5b50610439610773366004613f86565b6111f3565b34801561078457600080fd5b50610470610793366004613f86565b611220565b3480156107a457600080fd5b506104396107b3366004614039565b61126e565b6104396107c636600461418a565b6112a6565b3480156107d757600080fd5b50600c546001600160a01b03166103e1565b3480156107f557600080fd5b506103e1610804366004613fdd565b611381565b34801561081557600080fd5b50610390610824366004613fff565b61146f565b34801561083557600080fd5b50610439610844366004614220565b611498565b34801561085557600080fd5b506103ba6114c5565b34801561086a57600080fd5b50610439610879366004614268565b6114d4565b34801561088a57600080fd5b506103ba6108993660046142d5565b611503565b3480156108aa57600080fd5b506103ba6108b9366004613f27565b611684565b3480156108ca57600080fd5b50610470600081565b3480156108df57600080fd5b506104396108ee366004614320565b61171e565b3480156108ff57600080fd5b5061039061090e366004613fff565b611732565b34801561091f57600080fd5b5061093361092e36600461433c565b611784565b60405161039c91906143b0565b34801561094c57600080fd5b50600354610470565b34801561096157600080fd5b50600d546001600160a01b03811690600160a01b900461ffff166106c7565b34801561098c57600080fd5b5061043961099b366004614412565b611878565b3480156109ac57600080fd5b506103ba6109bb366004613f27565b6118a5565b3480156109cc57600080fd5b506104706109db366004613f27565b611914565b3480156109ec57600080fd5b506103ba6109fb3660046142d5565b61199d565b348015610a0c57600080fd5b50610470610a1b366004614479565b611a40565b348015610a2c57600080fd5b50610439610a3b366004613fff565b611ad8565b348015610a4c57600080fd5b50610a55611af1565b60405161039c9897969594939291906144f2565b348015610a7557600080fd5b506103ba610a84366004614547565b611bb0565b348015610a9557600080fd5b506103ba611c25565b348015610aaa57600080fd5b50610390610ab93660046145a2565b6001600160a01b039182166000908152600a6020908152604080832093909416825291909152205460ff1690565b348015610af357600080fd5b50610390610b023660046145cc565b611c32565b60006301ffc9a760e01b6001600160e01b031983161480610b3857506380ac58cd60e01b6001600160e01b03198316145b80610b535750635b5e139f60e01b6001600160e01b03198316145b80610b6e57506001600160e01b0319821663152a902d60e11b145b92915050565b606060058054610b839061463d565b80601f0160208091040260200160405190810160405280929190818152602001828054610baf9061463d565b8015610bfc5780601f10610bd157610100808354040283529160200191610bfc565b820191906000526020600020905b815481529060010190602001808311610bdf57829003601f168201915b5050505050905090565b6000610c1182611fe2565b610c2e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600960205260409020546001600160a01b031690565b81610c548161200e565b610c5e83836120e1565b505050565b610c6b612163565b610c905760405162461bcd60e51b8152600401610c8790614672565b60405180910390fd5b610c9981612190565b50565b826001600160a01b0381163314610cb657610cb63361200e565b610cc18484846121e2565b50505050565b6000610cd2600f5490565b8210610d105760405162461bcd60e51b815260206004820152600d60248201526c092dcecc2d8d2c840d2dcc8caf609b1b6044820152606401610c87565b600f8281548110610d2357610d2361469a565b90600052602060002001549050919050565b600080600080610d4486611148565b90945084925061ffff169050612710610d5d82876146c6565b610d6791906146fb565b925050509250929050565b600082815260016020526040902054610d8b90336121ed565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1615610dfc5760405162461bcd60e51b815260206004820152601d60248201527f43616e206f6e6c79206772616e7420746f206e6f6e20686f6c646572730000006044820152606401610c87565b610e06828261226b565b5050565b610e12612163565b610e725760405162461bcd60e51b815260206004820152602b60248201527f4e6f7420617574686f72697a656420746f20736574206f70657261746f72207260448201526a32b9ba3934b1ba34b7b71760a91b6064820152608401610c87565b610c998161227f565b336001600160a01b03821614610ed35760405162461bcd60e51b815260206004820152601a60248201527f43616e206f6e6c792072656e6f756e636520666f722073656c660000000000006044820152606401610c87565b610e0682826122c6565b610ee5612163565b610f015760405162461bcd60e51b8152600401610c8790614672565b601d546017548215610f50575060003360405160609190911b6bffffffffffffffffffffffff191660208201524360348201526054016040516020818303038152906040528051906020012091505b8360200135811115610f995760405162461bcd60e51b81526020600482015260126024820152711b585e081cdd5c1c1b1e4818db185a5b595960721b6044820152606401610c87565b604051806101000160405280856000013581526020018560200135815260200182815260200185606001358152602001856080013581526020018560a0013581526020018560c0016020810190610ff09190613f86565b6001600160a01b0316815260200161100b60e087018761470f565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050509152508051601590815560208083015160165560408301516017556060830151601855608083015160195560a0830151601a5560c0830151601b80546001600160a01b0319166001600160a01b0390921691909117905560e083015180516110aa92601c920190613df0565b505050601d8290556040517f6dab9d7d05d468100139089b2516cb8ff286c3972ff070d3b509e371f0d0d4b8906110e4908690869061477e565b60405180910390a150505050565b826001600160a01b038116331461110c5761110c3361200e565b610cc184848461231c565b610c99816001612337565b6000818152601360205260408120805482919061113e9061463d565b9050119050919050565b6000818152600e60209081526040808320815180830190925280546001600160a01b03168083526001909101549282019290925282911561118f57805160208201516111a9565b600d546001600160a01b03811690600160a01b900461ffff165b9250925050915091565b6111bb612163565b6111d75760405162461bcd60e51b8152600401610c8790614672565b610e0682826124f9565b60006111ec8261259f565b5192915050565b6111fb612163565b6112175760405162461bcd60e51b8152600401610c8790614672565b610c99816126b9565b60006001600160a01b038216611249576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600860205260409020546001600160401b031690565b801561128d57610c99600080516020614bb983398151915260006122c6565b610c99600080516020614bb9833981519152600061226b565b6112b4868686868686612703565b601d546112c43387878787611c32565b5085601560020160008282546112da919061484a565b90915550506000818152601e602090815260408083203384529091528120805488929061130890849061484a565b9091555061131b9050600087878761276a565b60006113278888612820565b9050806001600160a01b038916336001600160a01b03167fff097c7d8b1957a4ff09ef1361b5fb54dcede3941ba836d0beb9d10bec725de68a60405161136f91815260200190565b60405180910390a45050505050505050565b60008281526002602052604081205481805b828110156114665760008681526002602090815260408083208484526001019091529020546001600160a01b03161561141057848214156113fe5760008681526002602090815260408083209383526001909301905220546001600160a01b03169250610b6e915050565b61140960018361484a565b9150611454565b61141b86600061146f565b801561144157506000868152600260208181526040808420848052909201905290205481145b156114545761145160018361484a565b91505b61145f60018261484a565b9050611393565b50505092915050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6114a0612163565b6114bc5760405162461bcd60e51b8152600401610c8790614672565b610c998161282d565b606060068054610b839061463d565b6114dc612163565b6114f85760405162461bcd60e51b8152600401610c8790614672565b610c5e83838361290f565b6000838152601360205260408120805460609291906115219061463d565b80601f016020809104026020016040519081016040528092919081815260200182805461154d9061463d565b801561159a5780601f1061156f5761010080835404028352916020019161159a565b820191906000526020600020905b81548152906001019060200180831161157d57829003601f168201915b505050505090508051600014156115e75760405162461bcd60e51b8152602060048201526011602482015270139bdd1a1a5b99c81d1bc81c995d99585b607a1b6044820152606401610c87565b600080828060200190518101906115fe9190614862565b9150915061160d828787611bb0565b9350808487874660405160200161162794939291906148e2565b604051602081830303815290604052805190602001201461167a5760405162461bcd60e51b815260206004820152600d60248201526c496e636f7272656374206b657960981b6044820152606401610c87565b5050509392505050565b6013602052600090815260409020805461169d9061463d565b80601f01602080910402602001604051908101604052809291908181526020018280546116c99061463d565b80156117165780601f106116eb57610100808354040283529160200191611716565b820191906000526020600020905b8154815290600101906020018083116116f957829003601f168201915b505050505081565b816117288161200e565b610c5e83836129d8565b60008281526020818152604080832083805290915281205460ff1661177b57506000828152602081815260408083206001600160a01b038516845290915290205460ff16610b6e565b50600192915050565b6060816001600160401b0381111561179e5761179e6140bf565b6040519080825280602002602001820160405280156117d157816020015b60608152602001906001900390816117bc5790505b50905060005b8281101561187157611841308585848181106117f5576117f561469a565b9050602002810190611807919061470f565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612a6e92505050565b8282815181106118535761185361469a565b602002602001018190525080806118699061490b565b9150506117d7565b5092915050565b836001600160a01b0381163314611892576118923361200e565b61189e85858585612a9a565b5050505050565b606060006118b283612ade565b50905060006118c084612be3565b90506118cb82611122565b156118f957806040516020016118e19190614926565b60405160208183030381529060405292505050919050565b8061190385612d44565b6040516020016118e192919061494b565b600081815260026020526040812054815b818110156119785760008481526002602090815260408083208484526001019091529020546001600160a01b0316156119665761196360018461484a565b92505b61197160018261484a565b9050611925565b5061198483600061146f565b156119975761199460018361484a565b91505b50919050565b60606119a7612163565b6119c35760405162461bcd60e51b8152600401610c8790614672565b60006119ce85610cc7565b90506119db818585611503565b91506119f68160405180602001604052806000815250612e49565b611a008183612e68565b847f6df1d8db2a036436ffe0b2d1833f2c5f1e624818dfce2578c0faa4b83ef9998d83604051611a309190613f14565b60405180910390a2509392505050565b60008115611ac157600080611a578486018661497a565b915091508151600014158015611a6c57508015155b15611abe57611abe88601254611a82919061484a565b86868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612e4992505050565b50505b611ace8686868686612e87565b9695505050505050565b600082815260016020526040902054610ed390336121ed565b60158054601654601754601854601954601a54601b54601c80549798969795969495939492936001600160a01b039092169291611b2d9061463d565b80601f0160208091040260200160405190810160405280929190818152602001828054611b599061463d565b8015611ba65780601f10611b7b57610100808354040283529160200191611ba6565b820191906000526020600020905b815481529060010190602001808311611b8957829003601f168201915b5050505050905088565b8251604080518083016020019091528181529060005b81811015611c1c576000858583604051602001611be5939291906149be565b60408051601f19818403018152919052805160209182012088840182015118858401820152611c1591508261484a565b9050611bc6565b50509392505050565b600b805461169d9061463d565b604080516101008101825260158054825260165460208301526017549282019290925260185460608201526019546080820152601a5460a0820152601b546001600160a01b031660c0820152601c8054600093849392909160e084019190611c999061463d565b80601f0160208091040260200160405190810160405280929190818152602001828054611cc59061463d565b8015611d125780601f10611ce757610100808354040283529160200191611d12565b820191906000526020600020905b815481529060010190602001808311611cf557829003601f168201915b50505091909252505050606081015160a082015160c08301516080840151939450919290919015611df757611df3611d4a87806149d0565b80806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250505060808088015191508d9060208b01359060408c013590611d9f908d0160608e01613f86565b6040516bffffffffffffffffffffffff19606095861b811660208301526034820194909452605481019290925290921b16607482015260880160405160208183030381529060405280519060200120612f91565b5094505b8415611e7c576020860135611e0c5782611e12565b85602001355b925060001986604001351415611e285781611e2e565b85604001355b9150600019866040013514158015611e5f57506000611e536080880160608901613f86565b6001600160a01b031614155b611e695780611e79565b611e796080870160608801613f86565b90505b601d546000908152601e602090815260408083206001600160a01b03808f16855292529091205490898116908316141580611eb75750828814155b15611ef75760405162461bcd60e51b815260206004820152601060248201526f2150726963654f7243757272656e637960801b6044820152606401610c87565b891580611f0c575083611f0a828c61484a565b115b15611f425760405162461bcd60e51b8152600401610c87906020808252600490820152632151747960e01b604082015260600190565b84602001518a8660400151611f57919061484a565b1115611f925760405162461bcd60e51b815260206004820152600a602482015269214d6178537570706c7960b01b6044820152606401610c87565b8451421015611fd45760405162461bcd60e51b815260206004820152600e60248201526d18d85b9d0818db185a5b481e595d60921b6044820152606401610c87565b505050505095945050505050565b600060035482108015610b6e575050600090815260076020526040902054600160e01b900460ff161590565b60145460ff1615610c99576daaeb6d7670e522a718067333cd4e3b15610c9957604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c61711349060440160206040518083038186803b15801561208157600080fd5b505afa158015612095573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120b99190614a19565b610c9957604051633b79c77360e21b81526001600160a01b0382166004820152602401610c87565b60006120ec826111e1565b9050806001600160a01b0316836001600160a01b031614156121215760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146121585761213b8133610ab9565b612158576040516367d9dca160e11b815260040160405180910390fd5b610c5e83838361305f565b6000612177600c546001600160a01b031690565b6001600160a01b0316336001600160a01b031614905090565b600c80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8292fce18fa69edf4db7b94ea2e58241df0ae57f97e0a6c9b29067028bf92d7690600090a35050565b610c5e8383836130bb565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16610e0657612229816001600160a01b031660146132a1565b6122348360206132a1565b604051602001612245929190614a36565b60408051601f198184030181529082905262461bcd60e51b8252610c8791600401613f14565b612275828261343c565b610e068282613495565b6014805460ff19168215159081179091556040519081527f38475885990d8dfe9ca01f0ef160a1b5514426eab9ddbc953a3353410ba780969060200160405180910390a150565b6122d08282613501565b60009182526002602081815260408085206001600160a01b0394909416808652928401808352818620805487526001909501835290852080546001600160a01b03191690559184525255565b610c5e83838360405180602001604052806000815250611878565b60006123428361259f565b805190915082156123a8576000336001600160a01b038316148061236b575061236b8233610ab9565b8061238657503361237b86610c06565b6001600160a01b0316145b9050806123a657604051632ce44b5f60e11b815260040160405180910390fd5b505b6123b6816000866001613561565b6123c26000858361305f565b6001600160a01b0380821660008181526008602090815260408083208054600160801b6000196001600160401b0380841691909101811667ffffffffffffffff198416811783900482166001908101831690930277ffffffffffffffff0000000000000000ffffffffffffffff19909416179290921783558b86526007909452828520805460ff60e01b1942909316600160a01b026001600160e01b03199091169097179690961716600160e01b1785559189018084529220805491949091166124c05760035482146124c057805460208701516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038716171781555b5050604051869250600091506001600160a01b03841690600080516020614c00833981519152908390a450506004805460010190555050565b61271081111561253d5760405162461bcd60e51b815260206004820152600f60248201526e45786365656473206d61782062707360881b6044820152606401610c87565b600d80546001600160a01b0384166001600160b01b03199091168117600160a01b61ffff851602179091556040518281527f90d7ec04bcb8978719414f82e52e4cb651db41d0e6f8cea6118c2191e6183adb9060200160405180910390a25050565b6040805160608101825260008082526020820181905291810191909152816003548110156126a057600081815260076020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff1615159181018290529061269e5780516001600160a01b031615612635579392505050565b5060001901600081815260076020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215612699579392505050565b612635565b505b604051636f96cda160e11b815260040160405180910390fd5b601180546001600160a01b0319166001600160a01b0383169081179091556040517f299d17e95023f496e0ffc4909cff1a61f74bb5eb18de6f900f4155bfa1b3b33390600090a250565b60125485600354612714919061484a565b11156127625760405162461bcd60e51b815260206004820152601860248201527f4e6f7420656e6f756768206d696e74656420746f6b656e7300000000000000006044820152606401610c87565b505050505050565b8061277457610cc1565b600061278082856146c6565b90506001600160a01b03831673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14156127ee578034146127ee5760405162461bcd60e51b81526020600482015260156024820152744d7573742073656e6420746f74616c20707269636560581b6044820152606401610c87565b60006001600160a01b038616156128055785612812565b6011546001600160a01b03165b90506127628433838561356d565b600354610b6e83836135b7565b6000600b805461283c9061463d565b80601f01602080910402602001604051908101604052809291908181526020018280546128689061463d565b80156128b55780601f1061288a576101008083540402835291602001916128b5565b820191906000526020600020905b81548152906001019060200180831161289857829003601f168201915b505085519394506128d193600b93506020870192509050613df0565b507fc9c7c3fe08b88b4df9d4d47ef47d2c43d55c025a0ba88ca442580ed9e7348a168183604051612903929190614aa3565b60405180910390a15050565b6127108111156129535760405162461bcd60e51b815260206004820152600f60248201526e45786365656473206d61782062707360881b6044820152606401610c87565b6040805180820182526001600160a01b0384811680835260208084018681526000898152600e8352869020945185546001600160a01b031916941693909317845591516001909301929092559151838152909185917f7365cf4122f072a3365c20d54eff9b38d73c096c28e1892ec8f5b0e403a0f12d910160405180910390a3505050565b6001600160a01b038216331415612a025760405163b06307db60e01b815260040160405180910390fd5b336000818152600a602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6060612a938383604051806060016040528060278152602001614bd9602791396135d1565b9392505050565b612aa58484846130bb565b6001600160a01b0383163b15610cc157612ac1848484846136a4565b610cc1576040516368d2bf6b60e11b815260040160405180910390fd5b6000806000612aec600f5490565b90506000600f805480602002602001604051908101604052809291908181526020018280548015612b3c57602002820191906000526020600020905b815481526020019060010190808311612b28575b5050505050905060005b82811015612ba857818181518110612b6057612b6061469a565b6020026020010151861015612b9657809350818181518110612b8457612b8461469a565b60200260200101519450505050915091565b612ba160018261484a565b9050612b46565b5060405162461bcd60e51b815260206004820152600f60248201526e125b9d985b1a59081d1bdad95b9259608a1b6044820152606401610c87565b60606000612bf0600f5490565b90506000600f805480602002602001604051908101604052809291908181526020018280548015612c4057602002820191906000526020600020905b815481526020019060010190808311612c2c575b5050505050905060005b82811015612ba857818181518110612c6457612c6461469a565b6020026020010151851015612d325760106000838381518110612c8957612c8961469a565b602002602001015181526020019081526020016000208054612caa9061463d565b80601f0160208091040260200160405190810160405280929190818152602001828054612cd69061463d565b8015612d235780601f10612cf857610100808354040283529160200191612d23565b820191906000526020600020905b815481529060010190602001808311612d0657829003601f168201915b50505050509350505050919050565b612d3d60018261484a565b9050612c4a565b606081612d685750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612d925780612d7c8161490b565b9150612d8b9050600a836146fb565b9150612d6c565b6000816001600160401b03811115612dac57612dac6140bf565b6040519080825280601f01601f191660200182016040528015612dd6576020820181803683370190505b5090505b8415612e4157612deb600183614ad1565b9150612df8600a86614ae8565b612e0390603061484a565b60f81b818381518110612e1857612e1861469a565b60200101906001600160f81b031916908160001a905350612e3a600a866146fb565b9450612dda565b949350505050565b60008281526013602090815260409091208251610c5e92840190613df0565b60008281526010602090815260409091208251610c5e92840190613df0565b6000612e91612163565b612ead5760405162461bcd60e51b8152600401610c8790614672565b85612ee25760405162461bcd60e51b81526020600482015260056024820152640c08185b5d60da1b6044820152606401610c87565b60006012549050612f2a818888888080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061379b92505050565b6012919091559150807f2a0365091ef1a40953c670dce28177e37520648a6fdc91506bffac0ab045570d6001612f608a8461484a565b612f6a9190614ad1565b88888888604051612f7f959493929190614afc565b60405180910390a25095945050505050565b6000808281805b875181101561305357612fac6002836146c6565b91506000888281518110612fc257612fc261469a565b60200260200101519050808411613004576040805160208101869052908101829052606001604051602081830303815290604052805190602001209350613040565b604080516020810183905290810185905260600160405160208183030381529060405280519060200120935060018361303d919061484a565b92505b508061304b8161490b565b915050612f98565b50941495939450505050565b60008281526009602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006130c68261259f565b9050836001600160a01b031681600001516001600160a01b0316146130fd5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061311b575061311b8533610ab9565b8061313657503361312b84610c06565b6001600160a01b0316145b90508061315657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661317d57604051633a954ecd60e21b815260040160405180910390fd5b61318a8585856001613561565b6131966000848761305f565b6001600160a01b038581166000908152600860209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600790945282852080546001600160e01b031916909417600160a01b4290921691909102178355870180845292208054919390911661326a57600354821461326a57805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b0316600080516020614c0083398151915260405160405180910390a461189e565b606060006132b08360026146c6565b6132bb90600261484a565b6001600160401b038111156132d2576132d26140bf565b6040519080825280601f01601f1916602001820160405280156132fc576020820181803683370190505b509050600360fc1b816000815181106133175761331761469a565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106133465761334661469a565b60200101906001600160f81b031916908160001a905350600061336a8460026146c6565b61337590600161484a565b90505b60018111156133ed576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106133a9576133a961469a565b1a60f81b8282815181106133bf576133bf61469a565b60200101906001600160f81b031916908160001a90535060049490941c936133e681614b35565b9050613378565b508315612a935760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610c87565b6000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916600117905551339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b6000828152600260205260408120805491600191906134b4838561484a565b9091555050600092835260026020818152604080862084875260018101835281872080546001600160a01b039097166001600160a01b031990971687179055948652939091019052912055565b61350b82826121ed565b6000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b610cc184848484613808565b8061357757610cc1565b6001600160a01b03841673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14156135ab576135a682826138c7565b610cc1565b610cc18484848461396a565b610e068282604051806020016040528060008152506139c3565b60606001600160a01b0384163b6136395760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610c87565b600080856001600160a01b0316856040516136549190614b4c565b600060405180830381855af49150503d806000811461368f576040519150601f19603f3d011682016040523d82523d6000602084013e613694565b606091505b5091509150611ace828286613b6f565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906136d9903390899088908890600401614b68565b602060405180830381600087803b1580156136f357600080fd5b505af1925050508015613723575060408051601f3d908101601f1916820190925261372091810190614b9b565b60015b61377e573d808015613751576040519150601f19603f3d011682016040523d82523d6000602084013e613756565b606091505b508051613776576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6000806137a8848661484a565b600f8054600181019091557f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80201819055600081815260106020908152604090912085519294508493506137ff929091860190613df0565b50935093915050565b613821600080516020614bb9833981519152600061146f565b15801561383657506001600160a01b03841615155b801561384a57506001600160a01b03831615155b15610cc157613867600080516020614bb98339815191528561146f565b1580156138895750613887600080516020614bb98339815191528461146f565b155b15610cc15760405162461bcd60e51b815260206004820152600e60248201526d215452414e534645525f524f4c4560901b6044820152606401610c87565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114613914576040519150601f19603f3d011682016040523d82523d6000602084013e613919565b606091505b5050905080610c5e5760405162461bcd60e51b815260206004820152601c60248201527f6e617469766520746f6b656e207472616e73666572206661696c6564000000006044820152606401610c87565b816001600160a01b0316836001600160a01b0316141561398957610cc1565b6001600160a01b0383163014156139ae576135a66001600160a01b0385168383613ba8565b610cc16001600160a01b038516848484613c0b565b6003546001600160a01b0384166139ec57604051622e076360e81b815260040160405180910390fd5b82613a0a5760405163b562e8dd60e01b815260040160405180910390fd5b613a176000858386613561565b6001600160a01b038416600081815260086020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600790925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b15613b2d575b60405182906001600160a01b03881690600090600080516020614c00833981519152908290a4613af660008784806001019550876136a4565b613b13576040516368d2bf6b60e11b815260040160405180910390fd5b808210613abd578260035414613b2857600080fd5b613b60565b5b6040516001830192906001600160a01b03881690600090600080516020614c00833981519152908290a4808210613b2e575b50600355610cc1600085838684565b60608315613b7e575081612a93565b825115613b8e5782518084602001fd5b8160405162461bcd60e51b8152600401610c879190613f14565b6040516001600160a01b038316602482015260448101829052610c5e90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152613c43565b6040516001600160a01b0380851660248301528316604482015260648101829052610cc19085906323b872dd60e01b90608401613bd4565b6000613c98826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316613d159092919063ffffffff16565b805190915015610c5e5780806020019051810190613cb69190614a19565b610c5e5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610c87565b6060612e418484600085856001600160a01b0385163b613d775760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610c87565b600080866001600160a01b03168587604051613d939190614b4c565b60006040518083038185875af1925050503d8060008114613dd0576040519150601f19603f3d011682016040523d82523d6000602084013e613dd5565b606091505b5091509150613de5828286613b6f565b979650505050505050565b828054613dfc9061463d565b90600052602060002090601f016020900481019282613e1e5760008555613e64565b82601f10613e3757805160ff1916838001178555613e64565b82800160010185558215613e64579182015b82811115613e64578251825591602001919060010190613e49565b50613e70929150613e74565b5090565b5b80821115613e705760008155600101613e75565b6001600160e01b031981168114610c9957600080fd5b600060208284031215613eb157600080fd5b8135612a9381613e89565b60005b83811015613ed7578181015183820152602001613ebf565b83811115610cc15750506000910152565b60008151808452613f00816020860160208601613ebc565b601f01601f19169290920160200192915050565b602081526000612a936020830184613ee8565b600060208284031215613f3957600080fd5b5035919050565b80356001600160a01b0381168114613f5757600080fd5b919050565b60008060408385031215613f6f57600080fd5b613f7883613f40565b946020939093013593505050565b600060208284031215613f9857600080fd5b612a9382613f40565b600080600060608486031215613fb657600080fd5b613fbf84613f40565b9250613fcd60208501613f40565b9150604084013590509250925092565b60008060408385031215613ff057600080fd5b50508035926020909101359150565b6000806040838503121561401257600080fd5b8235915061402260208401613f40565b90509250929050565b8015158114610c9957600080fd5b60006020828403121561404b57600080fd5b8135612a938161402b565b6000806040838503121561406957600080fd5b82356001600160401b0381111561407f57600080fd5b8301610100818603121561409257600080fd5b915060208301356140a28161402b565b809150509250929050565b60006080828403121561199757600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156140fd576140fd6140bf565b604052919050565b60006001600160401b0382111561411e5761411e6140bf565b50601f01601f191660200190565b600061413f61413a84614105565b6140d5565b905082815283838301111561415357600080fd5b828260208301376000602084830101529392505050565b600082601f83011261417b57600080fd5b612a938383356020850161412c565b60008060008060008060c087890312156141a357600080fd5b6141ac87613f40565b9550602087013594506141c160408801613f40565b93506060870135925060808701356001600160401b03808211156141e457600080fd5b6141f08a838b016140ad565b935060a089013591508082111561420657600080fd5b5061421389828a0161416a565b9150509295509295509295565b60006020828403121561423257600080fd5b81356001600160401b0381111561424857600080fd5b8201601f8101841361425957600080fd5b612e418482356020840161412c565b60008060006060848603121561427d57600080fd5b83359250613fcd60208501613f40565b60008083601f84011261429f57600080fd5b5081356001600160401b038111156142b657600080fd5b6020830191508360208285010111156142ce57600080fd5b9250929050565b6000806000604084860312156142ea57600080fd5b8335925060208401356001600160401b0381111561430757600080fd5b6143138682870161428d565b9497909650939450505050565b6000806040838503121561433357600080fd5b61409283613f40565b6000806020838503121561434f57600080fd5b82356001600160401b038082111561436657600080fd5b818501915085601f83011261437a57600080fd5b81358181111561438957600080fd5b8660208260051b850101111561439e57600080fd5b60209290920196919550909350505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561440557603f198886030184526143f3858351613ee8565b945092850192908501906001016143d7565b5092979650505050505050565b6000806000806080858703121561442857600080fd5b61443185613f40565b935061443f60208601613f40565b92506040850135915060608501356001600160401b0381111561446157600080fd5b61446d8782880161416a565b91505092959194509250565b60008060008060006060868803121561449157600080fd5b8535945060208601356001600160401b03808211156144af57600080fd5b6144bb89838a0161428d565b909650945060408801359150808211156144d457600080fd5b506144e18882890161428d565b969995985093965092949392505050565b60006101008a83528960208401528860408401528760608401528660808401528560a084015260018060a01b03851660c08401528060e084015261453881840185613ee8565b9b9a5050505050505050505050565b60008060006040848603121561455c57600080fd5b83356001600160401b038082111561457357600080fd5b61457f8783880161416a565b9450602086013591508082111561459557600080fd5b506143138682870161428d565b600080604083850312156145b557600080fd5b6145be83613f40565b915061402260208401613f40565b600080600080600060a086880312156145e457600080fd5b6145ed86613f40565b94506020860135935061460260408701613f40565b92506060860135915060808601356001600160401b0381111561462457600080fd5b614630888289016140ad565b9150509295509295909350565b600181811c9082168061465157607f821691505b6020821081141561199757634e487b7160e01b600052602260045260246000fd5b6020808252600e908201526d139bdd08185d5d1a1bdc9a5e995960921b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156146e0576146e06146b0565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261470a5761470a6146e5565b500490565b6000808335601e1984360301811261472657600080fd5b8301803591506001600160401b0382111561474057600080fd5b6020019150368190038213156142ce57600080fd5b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60408152823560408201526020830135606082015260408301356080820152606083013560a0820152608083013560c082015260a083013560e082015260006147c960c08501613f40565b6001600160a01b03166101008381019190915260e08501359036869003601e190182126147f557600080fd5b9085019081356001600160401b0381111561480f57600080fd5b80360387131561481e57600080fd5b8161012086015261483761014086018260208601614755565b9350505050612a93602083018415159052565b6000821982111561485d5761485d6146b0565b500190565b6000806040838503121561487557600080fd5b82516001600160401b0381111561488b57600080fd5b8301601f8101851361489c57600080fd5b80516148aa61413a82614105565b8181528660208385010111156148bf57600080fd5b6148d0826020830160208601613ebc565b60209590950151949694955050505050565b600085516148f4818460208a01613ebc565b820184868237909301918252506020019392505050565b600060001982141561491f5761491f6146b0565b5060010190565b60008251614938818460208701613ebc565b600360fc1b920191825250600101919050565b6000835161495d818460208801613ebc565b835190830190614971818360208801613ebc565b01949350505050565b6000806040838503121561498d57600080fd5b82356001600160401b038111156149a357600080fd5b6149af8582860161416a565b95602094909401359450505050565b82848237909101908152602001919050565b6000808335601e198436030181126149e757600080fd5b8301803591506001600160401b03821115614a0157600080fd5b6020019150600581901b36038213156142ce57600080fd5b600060208284031215614a2b57600080fd5b8151612a938161402b565b7402832b936b4b9b9b4b7b7399d1030b1b1b7bab73a1605d1b815260008351614a66816015850160208801613ebc565b7001034b99036b4b9b9b4b733903937b6329607d1b6015918401918201528351614a97816026840160208801613ebc565b01602601949350505050565b604081526000614ab66040830185613ee8565b8281036020840152614ac88185613ee8565b95945050505050565b600082821015614ae357614ae36146b0565b500390565b600082614af757614af76146e5565b500690565b858152606060208201526000614b16606083018688614755565b8281036040840152614b29818587614755565b98975050505050505050565b600081614b4457614b446146b0565b506000190190565b60008251614b5e818460208701613ebc565b9190910192915050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ace90830184613ee8565b600060208284031215614bad57600080fd5b8151612a9381613e8956fe8502233096d909befbda0999bb8ea2f3a6be3c138b9fbf003752a4c8bce86f6c416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212205fbfee3bc89f1e1b8830372bdad86d065ba1d679dd095b2bf27cea885746cbc764736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000005079ec85c3c8f8e932bd011b669b77d703deeea70000000000000000000000000000000000000000000000000000000000000019545952414e54204d6f7669652050726f647563657220534254000000000000000000000000000000000000000000000000000000000000000000000000000004464f544400000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): TYRANT Movie Producer SBT
Arg [1] : _symbol (string): FOTD
Arg [2] : _primarySaleRecipient (address): 0x5079EC85c3c8F8E932Bd011B669b77d703DEEea7
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000005079ec85c3c8f8e932bd011b669b77d703deeea7
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [4] : 545952414e54204d6f7669652050726f64756365722053425400000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 464f544400000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ 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.