Overview
TokenID
53
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DinoTheDiamond
Compiler Version
v0.8.21+commit.d9974bed
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-08-15 */ // SPDX-License-Identifier: MIT // File: operator-filter-registry/src/lib/Constants.sol pragma solidity ^0.8.13; address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E; address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6; // File: operator-filter-registry/src/IOperatorFilterRegistry.sol pragma solidity ^0.8.13; interface IOperatorFilterRegistry { /** * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns * true if supplied registrant address is not registered. */ function isOperatorAllowed(address registrant, address operator) external view returns (bool); /** * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner. */ function register(address registrant) external; /** * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes. */ function registerAndSubscribe(address registrant, address subscription) external; /** * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another * address without subscribing. */ function registerAndCopyEntries(address registrant, address registrantToCopy) external; /** * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner. * Note that this does not remove any filtered addresses or codeHashes. * Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes. */ function unregister(address addr) external; /** * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered. */ function updateOperator(address registrant, address operator, bool filtered) external; /** * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates. */ function updateOperators(address registrant, address[] calldata operators, bool filtered) external; /** * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered. */ function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; /** * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates. */ function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; /** * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous * subscription if present. * Note that accounts with subscriptions may go on to subscribe to other accounts - in this case, * subscriptions will not be forwarded. Instead the former subscription's existing entries will still be * used. */ function subscribe(address registrant, address registrantToSubscribe) external; /** * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes. */ function unsubscribe(address registrant, bool copyExistingEntries) external; /** * @notice Get the subscription address of a given registrant, if any. */ function subscriptionOf(address addr) external returns (address registrant); /** * @notice Get the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscribers(address registrant) external returns (address[] memory); /** * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscriberAt(address registrant, uint256 index) external returns (address); /** * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr. */ function copyEntriesOf(address registrant, address registrantToCopy) external; /** * @notice Returns true if operator is filtered by a given address or its subscription. */ function isOperatorFiltered(address registrant, address operator) external returns (bool); /** * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription. */ function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); /** * @notice Returns true if a codeHash is filtered by a given address or its subscription. */ function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); /** * @notice Returns a list of filtered operators for a given address or its subscription. */ function filteredOperators(address addr) external returns (address[] memory); /** * @notice Returns the set of filtered codeHashes for a given address or its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashes(address addr) external returns (bytes32[] memory); /** * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredOperatorAt(address registrant, uint256 index) external returns (address); /** * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); /** * @notice Returns true if an address has registered */ function isRegistered(address addr) external returns (bool); /** * @dev Convenience method to compute the code hash of an arbitrary contract */ function codeHashOf(address addr) external returns (bytes32); } // File: operator-filter-registry/src/OperatorFilterer.sol pragma solidity ^0.8.13; /** * @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. * Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract OperatorFilterer { /// @dev Emitted when an operator is not allowed. error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS); /// @dev The constructor that is called when the contract is being deployed. 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 // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } /** * @dev A helper function to check if an operator is allowed. */ modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } /** * @dev A helper function to check if an operator approval is allowed. */ modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } /** * @dev A helper function to check if an operator is allowed. */ function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // under normal circumstances, this function will revert rather than return false, but inheriting contracts // may specify their own OperatorFilterRegistry implementations, which may behave differently if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } } // File: operator-filter-registry/src/DefaultOperatorFilterer.sol pragma solidity ^0.8.13; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. * @dev Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { /// @dev The constructor that is called when the contract is being deployed. constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {} } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: seadrop-main/src/lib/SeaDropStructs.sol pragma solidity ^0.8.17; /** * @notice A struct defining public drop data. * Designed to fit efficiently in one storage slot. * * @param mintPrice The mint price per token. (Up to 1.2m * of native token, e.g. ETH, MATIC) * @param startTime The start time, ensure this is not zero. * @param endTIme The end time, ensure this is not zero. * @param maxTotalMintableByWallet Maximum total number of mints a user is * allowed. (The limit for this field is * 2^16 - 1) * @param feeBps Fee out of 10_000 basis points to be * collected. * @param restrictFeeRecipients If false, allow any fee recipient; * if true, check fee recipient is allowed. */ struct PublicDrop { uint80 mintPrice; // 80/256 bits uint48 startTime; // 128/256 bits uint48 endTime; // 176/256 bits uint16 maxTotalMintableByWallet; // 224/256 bits uint16 feeBps; // 240/256 bits bool restrictFeeRecipients; // 248/256 bits } /** * @notice A struct defining token gated drop stage data. * Designed to fit efficiently in one storage slot. * * @param mintPrice The mint price per token. (Up to 1.2m * of native token, e.g.: ETH, MATIC) * @param maxTotalMintableByWallet Maximum total number of mints a user is * allowed. (The limit for this field is * 2^16 - 1) * @param startTime The start time, ensure this is not zero. * @param endTime The end time, ensure this is not zero. * @param dropStageIndex The drop stage index to emit with the event * for analytical purposes. This should be * non-zero since the public mint emits * with index zero. * @param maxTokenSupplyForStage The limit of token supply this stage can * mint within. (The limit for this field is * 2^16 - 1) * @param feeBps Fee out of 10_000 basis points to be * collected. * @param restrictFeeRecipients If false, allow any fee recipient; * if true, check fee recipient is allowed. */ struct TokenGatedDropStage { uint80 mintPrice; // 80/256 bits uint16 maxTotalMintableByWallet; // 96/256 bits uint48 startTime; // 144/256 bits uint48 endTime; // 192/256 bits uint8 dropStageIndex; // non-zero. 200/256 bits uint32 maxTokenSupplyForStage; // 232/256 bits uint16 feeBps; // 248/256 bits bool restrictFeeRecipients; // 256/256 bits } /** * @notice A struct defining mint params for an allow list. * An allow list leaf will be composed of `msg.sender` and * the following params. * * Note: Since feeBps is encoded in the leaf, backend should ensure * that feeBps is acceptable before generating a proof. * * @param mintPrice The mint price per token. * @param maxTotalMintableByWallet Maximum total number of mints a user is * allowed. * @param startTime The start time, ensure this is not zero. * @param endTime The end time, ensure this is not zero. * @param dropStageIndex The drop stage index to emit with the event * for analytical purposes. This should be * non-zero since the public mint emits with * index zero. * @param maxTokenSupplyForStage The limit of token supply this stage can * mint within. * @param feeBps Fee out of 10_000 basis points to be * collected. * @param restrictFeeRecipients If false, allow any fee recipient; * if true, check fee recipient is allowed. */ struct MintParams { uint256 mintPrice; uint256 maxTotalMintableByWallet; uint256 startTime; uint256 endTime; uint256 dropStageIndex; // non-zero uint256 maxTokenSupplyForStage; uint256 feeBps; bool restrictFeeRecipients; } /** * @notice A struct defining token gated mint params. * * @param allowedNftToken The allowed nft token contract address. * @param allowedNftTokenIds The token ids to redeem. */ struct TokenGatedMintParams { address allowedNftToken; uint256[] allowedNftTokenIds; } /** * @notice A struct defining allow list data (for minting an allow list). * * @param merkleRoot The merkle root for the allow list. * @param publicKeyURIs If the allowListURI is encrypted, a list of URIs * pointing to the public keys. Empty if unencrypted. * @param allowListURI The URI for the allow list. */ struct AllowListData { bytes32 merkleRoot; string[] publicKeyURIs; string allowListURI; } /** * @notice A struct defining minimum and maximum parameters to validate for * signed mints, to minimize negative effects of a compromised signer. * * @param minMintPrice The minimum mint price allowed. * @param maxMaxTotalMintableByWallet The maximum total number of mints allowed * by a wallet. * @param minStartTime The minimum start time allowed. * @param maxEndTime The maximum end time allowed. * @param maxMaxTokenSupplyForStage The maximum token supply allowed. * @param minFeeBps The minimum fee allowed. * @param maxFeeBps The maximum fee allowed. */ struct SignedMintValidationParams { uint80 minMintPrice; // 80/256 bits uint24 maxMaxTotalMintableByWallet; // 104/256 bits uint40 minStartTime; // 144/256 bits uint40 maxEndTime; // 184/256 bits uint40 maxMaxTokenSupplyForStage; // 224/256 bits uint16 minFeeBps; // 240/256 bits uint16 maxFeeBps; // 256/256 bits } // File: seadrop-main/src/lib/ERC721SeaDropStructsErrorsAndEvents.sol pragma solidity ^0.8.17; interface ERC721SeaDropStructsErrorsAndEvents { /** * @notice Revert with an error if mint exceeds the max supply. */ error MintQuantityExceedsMaxSupply(uint256 total, uint256 maxSupply); /** * @notice Revert with an error if the number of token gated * allowedNftTokens doesn't match the length of supplied * drop stages. */ error TokenGatedMismatch(); /** * @notice Revert with an error if the number of signers doesn't match * the length of supplied signedMintValidationParams */ error SignersMismatch(); /** * @notice An event to signify that a SeaDrop token contract was deployed. */ event SeaDropTokenDeployed(); /** * @notice A struct to configure multiple contract options at a time. */ struct MultiConfigureStruct { uint256 maxSupply; string baseURI; string contractURI; address seaDropImpl; PublicDrop publicDrop; string dropURI; AllowListData allowListData; address creatorPayoutAddress; bytes32 provenanceHash; address[] allowedFeeRecipients; address[] disallowedFeeRecipients; address[] allowedPayers; address[] disallowedPayers; // Token-gated address[] tokenGatedAllowedNftTokens; TokenGatedDropStage[] tokenGatedDropStages; address[] disallowedTokenGatedAllowedNftTokens; // Server-signed address[] signers; SignedMintValidationParams[] signedMintValidationParams; address[] disallowedSigners; } } // File: seadrop-main/src/lib/SeaDropErrorsAndEvents.sol pragma solidity ^0.8.17; interface SeaDropErrorsAndEvents { /** * @dev Revert with an error if the drop stage is not active. */ error NotActive( uint256 currentTimestamp, uint256 startTimestamp, uint256 endTimestamp ); /** * @dev Revert with an error if the mint quantity is zero. */ error MintQuantityCannotBeZero(); /** * @dev Revert with an error if the mint quantity exceeds the max allowed * to be minted per wallet. */ error MintQuantityExceedsMaxMintedPerWallet(uint256 total, uint256 allowed); /** * @dev Revert with an error if the mint quantity exceeds the max token * supply. */ error MintQuantityExceedsMaxSupply(uint256 total, uint256 maxSupply); /** * @dev Revert with an error if the mint quantity exceeds the max token * supply for the stage. * Note: The `maxTokenSupplyForStage` for public mint is * always `type(uint).max`. */ error MintQuantityExceedsMaxTokenSupplyForStage( uint256 total, uint256 maxTokenSupplyForStage ); /** * @dev Revert if the fee recipient is the zero address. */ error FeeRecipientCannotBeZeroAddress(); /** * @dev Revert if the fee recipient is not already included. */ error FeeRecipientNotPresent(); /** * @dev Revert if the fee basis points is greater than 10_000. */ error InvalidFeeBps(uint256 feeBps); /** * @dev Revert if the fee recipient is already included. */ error DuplicateFeeRecipient(); /** * @dev Revert if the fee recipient is restricted and not allowed. */ error FeeRecipientNotAllowed(); /** * @dev Revert if the creator payout address is the zero address. */ error CreatorPayoutAddressCannotBeZeroAddress(); /** * @dev Revert with an error if the received payment is incorrect. */ error IncorrectPayment(uint256 got, uint256 want); /** * @dev Revert with an error if the allow list proof is invalid. */ error InvalidProof(); /** * @dev Revert if a supplied signer address is the zero address. */ error SignerCannotBeZeroAddress(); /** * @dev Revert with an error if signer's signature is invalid. */ error InvalidSignature(address recoveredSigner); /** * @dev Revert with an error if a signer is not included in * the enumeration when removing. */ error SignerNotPresent(); /** * @dev Revert with an error if a payer is not included in * the enumeration when removing. */ error PayerNotPresent(); /** * @dev Revert with an error if a payer is already included in mapping * when adding. * Note: only applies when adding a single payer, as duplicates in * enumeration can be removed with updatePayer. */ error DuplicatePayer(); /** * @dev Revert with an error if the payer is not allowed. The minter must * pay for their own mint. */ error PayerNotAllowed(); /** * @dev Revert if a supplied payer address is the zero address. */ error PayerCannotBeZeroAddress(); /** * @dev Revert with an error if the sender does not * match the INonFungibleSeaDropToken interface. */ error OnlyINonFungibleSeaDropToken(address sender); /** * @dev Revert with an error if the sender of a token gated supplied * drop stage redeem is not the owner of the token. */ error TokenGatedNotTokenOwner( address nftContract, address allowedNftToken, uint256 allowedNftTokenId ); /** * @dev Revert with an error if the token id has already been used to * redeem a token gated drop stage. */ error TokenGatedTokenIdAlreadyRedeemed( address nftContract, address allowedNftToken, uint256 allowedNftTokenId ); /** * @dev Revert with an error if an empty TokenGatedDropStage is provided * for an already-empty TokenGatedDropStage. */ error TokenGatedDropStageNotPresent(); /** * @dev Revert with an error if an allowedNftToken is set to * the zero address. */ error TokenGatedDropAllowedNftTokenCannotBeZeroAddress(); /** * @dev Revert with an error if an allowedNftToken is set to * the drop token itself. */ error TokenGatedDropAllowedNftTokenCannotBeDropToken(); /** * @dev Revert with an error if supplied signed mint price is less than * the minimum specified. */ error InvalidSignedMintPrice(uint256 got, uint256 minimum); /** * @dev Revert with an error if supplied signed maxTotalMintableByWallet * is greater than the maximum specified. */ error InvalidSignedMaxTotalMintableByWallet(uint256 got, uint256 maximum); /** * @dev Revert with an error if supplied signed start time is less than * the minimum specified. */ error InvalidSignedStartTime(uint256 got, uint256 minimum); /** * @dev Revert with an error if supplied signed end time is greater than * the maximum specified. */ error InvalidSignedEndTime(uint256 got, uint256 maximum); /** * @dev Revert with an error if supplied signed maxTokenSupplyForStage * is greater than the maximum specified. */ error InvalidSignedMaxTokenSupplyForStage(uint256 got, uint256 maximum); /** * @dev Revert with an error if supplied signed feeBps is greater than * the maximum specified, or less than the minimum. */ error InvalidSignedFeeBps(uint256 got, uint256 minimumOrMaximum); /** * @dev Revert with an error if signed mint did not specify to restrict * fee recipients. */ error SignedMintsMustRestrictFeeRecipients(); /** * @dev Revert with an error if a signature for a signed mint has already * been used. */ error SignatureAlreadyUsed(); /** * @dev An event with details of a SeaDrop mint, for analytical purposes. * * @param nftContract The nft contract. * @param minter The mint recipient. * @param feeRecipient The fee recipient. * @param payer The address who payed for the tx. * @param quantityMinted The number of tokens minted. * @param unitMintPrice The amount paid for each token. * @param feeBps The fee out of 10_000 basis points collected. * @param dropStageIndex The drop stage index. Items minted * through mintPublic() have * dropStageIndex of 0. */ event SeaDropMint( address indexed nftContract, address indexed minter, address indexed feeRecipient, address payer, uint256 quantityMinted, uint256 unitMintPrice, uint256 feeBps, uint256 dropStageIndex ); /** * @dev An event with updated public drop data for an nft contract. */ event PublicDropUpdated( address indexed nftContract, PublicDrop publicDrop ); /** * @dev An event with updated token gated drop stage data * for an nft contract. */ event TokenGatedDropStageUpdated( address indexed nftContract, address indexed allowedNftToken, TokenGatedDropStage dropStage ); /** * @dev An event with updated allow list data for an nft contract. * * @param nftContract The nft contract. * @param previousMerkleRoot The previous allow list merkle root. * @param newMerkleRoot The new allow list merkle root. * @param publicKeyURI If the allow list is encrypted, the public key * URIs that can decrypt the list. * Empty if unencrypted. * @param allowListURI The URI for the allow list. */ event AllowListUpdated( address indexed nftContract, bytes32 indexed previousMerkleRoot, bytes32 indexed newMerkleRoot, string[] publicKeyURI, string allowListURI ); /** * @dev An event with updated drop URI for an nft contract. */ event DropURIUpdated(address indexed nftContract, string newDropURI); /** * @dev An event with the updated creator payout address for an nft * contract. */ event CreatorPayoutAddressUpdated( address indexed nftContract, address indexed newPayoutAddress ); /** * @dev An event with the updated allowed fee recipient for an nft * contract. */ event AllowedFeeRecipientUpdated( address indexed nftContract, address indexed feeRecipient, bool indexed allowed ); /** * @dev An event with the updated validation parameters for server-side * signers. */ event SignedMintValidationParamsUpdated( address indexed nftContract, address indexed signer, SignedMintValidationParams signedMintValidationParams ); /** * @dev An event with the updated payer for an nft contract. */ event PayerUpdated( address indexed nftContract, address indexed payer, bool indexed allowed ); } // File: seadrop-main/src/interfaces/ISeaDrop.sol pragma solidity ^0.8.17; interface ISeaDrop is SeaDropErrorsAndEvents { /** * @notice Mint a public drop. * * @param nftContract The nft contract to mint. * @param feeRecipient The fee recipient. * @param minterIfNotPayer The mint recipient if different than the payer. * @param quantity The number of tokens to mint. */ function mintPublic( address nftContract, address feeRecipient, address minterIfNotPayer, uint256 quantity ) external payable; /** * @notice Mint from an allow list. * * @param nftContract The nft contract to mint. * @param feeRecipient The fee recipient. * @param minterIfNotPayer The mint recipient if different than the payer. * @param quantity The number of tokens to mint. * @param mintParams The mint parameters. * @param proof The proof for the leaf of the allow list. */ function mintAllowList( address nftContract, address feeRecipient, address minterIfNotPayer, uint256 quantity, MintParams calldata mintParams, bytes32[] calldata proof ) external payable; /** * @notice Mint with a server-side signature. * Note that a signature can only be used once. * * @param nftContract The nft contract to mint. * @param feeRecipient The fee recipient. * @param minterIfNotPayer The mint recipient if different than the payer. * @param quantity The number of tokens to mint. * @param mintParams The mint parameters. * @param salt The sale for the signed mint. * @param signature The server-side signature, must be an allowed * signer. */ function mintSigned( address nftContract, address feeRecipient, address minterIfNotPayer, uint256 quantity, MintParams calldata mintParams, uint256 salt, bytes calldata signature ) external payable; /** * @notice Mint as an allowed token holder. * This will mark the token id as redeemed and will revert if the * same token id is attempted to be redeemed twice. * * @param nftContract The nft contract to mint. * @param feeRecipient The fee recipient. * @param minterIfNotPayer The mint recipient if different than the payer. * @param mintParams The token gated mint params. */ function mintAllowedTokenHolder( address nftContract, address feeRecipient, address minterIfNotPayer, TokenGatedMintParams calldata mintParams ) external payable; /** * @notice Emits an event to notify update of the drop URI. * * This method assume msg.sender is an nft contract and its * ERC165 interface id matches INonFungibleSeaDropToken. * * Note: Be sure only authorized users can call this from * token contracts that implement INonFungibleSeaDropToken. * * @param dropURI The new drop URI. */ function updateDropURI(string calldata dropURI) external; /** * @notice Updates the public drop data for the nft contract * and emits an event. * * This method assume msg.sender is an nft contract and its * ERC165 interface id matches INonFungibleSeaDropToken. * * Note: Be sure only authorized users can call this from * token contracts that implement INonFungibleSeaDropToken. * * @param publicDrop The public drop data. */ function updatePublicDrop(PublicDrop calldata publicDrop) external; /** * @notice Updates the allow list merkle root for the nft contract * and emits an event. * * This method assume msg.sender is an nft contract and its * ERC165 interface id matches INonFungibleSeaDropToken. * * Note: Be sure only authorized users can call this from * token contracts that implement INonFungibleSeaDropToken. * * @param allowListData The allow list data. */ function updateAllowList(AllowListData calldata allowListData) external; /** * @notice Updates the token gated drop stage for the nft contract * and emits an event. * * This method assume msg.sender is an nft contract and its * ERC165 interface id matches INonFungibleSeaDropToken. * * Note: Be sure only authorized users can call this from * token contracts that implement INonFungibleSeaDropToken. * * Note: If two INonFungibleSeaDropToken tokens are doing * simultaneous token gated drop promotions for each other, * they can be minted by the same actor until * `maxTokenSupplyForStage` is reached. Please ensure the * `allowedNftToken` is not running an active drop during * the `dropStage` time period. * * @param allowedNftToken The token gated nft token. * @param dropStage The token gated drop stage data. */ function updateTokenGatedDrop( address allowedNftToken, TokenGatedDropStage calldata dropStage ) external; /** * @notice Updates the creator payout address and emits an event. * * This method assume msg.sender is an nft contract and its * ERC165 interface id matches INonFungibleSeaDropToken. * * Note: Be sure only authorized users can call this from * token contracts that implement INonFungibleSeaDropToken. * * @param payoutAddress The creator payout address. */ function updateCreatorPayoutAddress(address payoutAddress) external; /** * @notice Updates the allowed fee recipient and emits an event. * * This method assume msg.sender is an nft contract and its * ERC165 interface id matches INonFungibleSeaDropToken. * * Note: Be sure only authorized users can call this from * token contracts that implement INonFungibleSeaDropToken. * * @param feeRecipient The fee recipient. * @param allowed If the fee recipient is allowed. */ function updateAllowedFeeRecipient(address feeRecipient, bool allowed) external; /** * @notice Updates the allowed server-side signers and emits an event. * * This method assume msg.sender is an nft contract and its * ERC165 interface id matches INonFungibleSeaDropToken. * * Note: Be sure only authorized users can call this from * token contracts that implement INonFungibleSeaDropToken. * * @param signer The signer to update. * @param signedMintValidationParams Minimum and maximum parameters * to enforce for signed mints. */ function updateSignedMintValidationParams( address signer, SignedMintValidationParams calldata signedMintValidationParams ) external; /** * @notice Updates the allowed payer and emits an event. * * This method assume msg.sender is an nft contract and its * ERC165 interface id matches INonFungibleSeaDropToken. * * Note: Be sure only authorized users can call this from * token contracts that implement INonFungibleSeaDropToken. * * @param payer The payer to add or remove. * @param allowed Whether to add or remove the payer. */ function updatePayer(address payer, bool allowed) external; /** * @notice Returns the public drop data for the nft contract. * * @param nftContract The nft contract. */ function getPublicDrop(address nftContract) external view returns (PublicDrop memory); /** * @notice Returns the creator payout address for the nft contract. * * @param nftContract The nft contract. */ function getCreatorPayoutAddress(address nftContract) external view returns (address); /** * @notice Returns the allow list merkle root for the nft contract. * * @param nftContract The nft contract. */ function getAllowListMerkleRoot(address nftContract) external view returns (bytes32); /** * @notice Returns if the specified fee recipient is allowed * for the nft contract. * * @param nftContract The nft contract. * @param feeRecipient The fee recipient. */ function getFeeRecipientIsAllowed(address nftContract, address feeRecipient) external view returns (bool); /** * @notice Returns an enumeration of allowed fee recipients for an * nft contract when fee recipients are enforced * * @param nftContract The nft contract. */ function getAllowedFeeRecipients(address nftContract) external view returns (address[] memory); /** * @notice Returns the server-side signers for the nft contract. * * @param nftContract The nft contract. */ function getSigners(address nftContract) external view returns (address[] memory); /** * @notice Returns the struct of SignedMintValidationParams for a signer. * * @param nftContract The nft contract. * @param signer The signer. */ function getSignedMintValidationParams(address nftContract, address signer) external view returns (SignedMintValidationParams memory); /** * @notice Returns the payers for the nft contract. * * @param nftContract The nft contract. */ function getPayers(address nftContract) external view returns (address[] memory); /** * @notice Returns if the specified payer is allowed * for the nft contract. * * @param nftContract The nft contract. * @param payer The payer. */ function getPayerIsAllowed(address nftContract, address payer) external view returns (bool); /** * @notice Returns the allowed token gated drop tokens for the nft contract. * * @param nftContract The nft contract. */ function getTokenGatedAllowedTokens(address nftContract) external view returns (address[] memory); /** * @notice Returns the token gated drop data for the nft contract * and token gated nft. * * @param nftContract The nft contract. * @param allowedNftToken The token gated nft token. */ function getTokenGatedDrop(address nftContract, address allowedNftToken) external view returns (TokenGatedDropStage memory); /** * @notice Returns whether the token id for a token gated drop has been * redeemed. * * @param nftContract The nft contract. * @param allowedNftToken The token gated nft token. * @param allowedNftTokenId The token gated nft token id to check. */ function getAllowedNftTokenIdIsRedeemed( address nftContract, address allowedNftToken, uint256 allowedNftTokenId ) external view returns (bool); } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // 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 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // 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. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // 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 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/interfaces/IERC2981.sol // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } // File: @openzeppelin/contracts/token/common/ERC2981.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } // File: seadrop-main/src/interfaces/ISeaDropTokenContractMetadata.sol pragma solidity ^0.8.17; interface ISeaDropTokenContractMetadata is IERC2981 { /** * @notice Throw if the max supply exceeds uint64, a limit * due to the storage of bit-packed variables in ERC721A. */ error CannotExceedMaxSupplyOfUint64(uint256 newMaxSupply); /** * @dev Revert with an error when attempting to set the provenance * hash after the mint has started. */ error ProvenanceHashCannotBeSetAfterMintStarted(); /** * @dev Revert if the royalty basis points is greater than 10_000. */ error InvalidRoyaltyBasisPoints(uint256 basisPoints); /** * @dev Revert if the royalty address is being set to the zero address. */ error RoyaltyAddressCannotBeZeroAddress(); /** * @dev Emit an event for token metadata reveals/updates, * according to EIP-4906. * * @param _fromTokenId The start token id. * @param _toTokenId The end token id. */ event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId); /** * @dev Emit an event when the URI for the collection-level metadata * is updated. */ event ContractURIUpdated(string newContractURI); /** * @dev Emit an event when the max token supply is updated. */ event MaxSupplyUpdated(uint256 newMaxSupply); /** * @dev Emit an event with the previous and new provenance hash after * being updated. */ event ProvenanceHashUpdated(bytes32 previousHash, bytes32 newHash); /** * @dev Emit an event when the royalties info is updated. */ event RoyaltyInfoUpdated(address receiver, uint256 bps); /** * @notice A struct defining royalty info for the contract. */ struct RoyaltyInfo { address royaltyAddress; uint96 royaltyBps; } /** * @notice Sets the base URI for the token metadata and emits an event. * * @param tokenURI The new base URI to set. */ function setBaseURI(string calldata tokenURI) external; /** * @notice Sets the contract URI for contract metadata. * * @param newContractURI The new contract URI. */ function setContractURI(string calldata newContractURI) external; /** * @notice Sets the max supply and emits an event. * * @param newMaxSupply The new max supply to set. */ function setMaxSupply(uint256 newMaxSupply) external; /** * @notice Sets the provenance hash and emits an event. * * The provenance hash is used for random reveals, which * is a hash of the ordered metadata to show it has not been * modified after mint started. * * This function will revert after the first item has been minted. * * @param newProvenanceHash The new provenance hash to set. */ function setProvenanceHash(bytes32 newProvenanceHash) external; /** * @notice Sets the address and basis points for royalties. * * @param newInfo The struct to configure royalties. */ function setRoyaltyInfo(RoyaltyInfo calldata newInfo) external; /** * @notice Returns the base URI for token metadata. */ function baseURI() external view returns (string memory); /** * @notice Returns the contract URI. */ function contractURI() external view returns (string memory); /** * @notice Returns the max token supply. */ function maxSupply() external view returns (uint256); /** * @notice Returns the provenance hash. * The provenance hash is used for random reveals, which * is a hash of the ordered metadata to show it is unmodified * after mint has started. */ function provenanceHash() external view returns (bytes32); /** * @notice Returns the address that receives royalties. */ function royaltyAddress() external view returns (address); /** * @notice Returns the royalty basis points out of 10_000. */ function royaltyBasisPoints() external view returns (uint256); } // File: seadrop-main/src/interfaces/INonFungibleSeaDropToken.sol pragma solidity ^0.8.17; interface INonFungibleSeaDropToken is ISeaDropTokenContractMetadata { /** * @dev Revert with an error if a contract is not an allowed * SeaDrop address. */ error OnlyAllowedSeaDrop(); /** * @dev Emit an event when allowed SeaDrop contracts are updated. */ event AllowedSeaDropUpdated(address[] allowedSeaDrop); /** * @notice Update the allowed SeaDrop contracts. * Only the owner or administrator can use this function. * * @param allowedSeaDrop The allowed SeaDrop addresses. */ function updateAllowedSeaDrop(address[] calldata allowedSeaDrop) external; /** * @notice Mint tokens, restricted to the SeaDrop contract. * * @dev NOTE: If a token registers itself with multiple SeaDrop * contracts, the implementation of this function should guard * against reentrancy. If the implementing token uses * _safeMint(), or a feeRecipient with a malicious receive() hook * is specified, the token or fee recipients may be able to execute * another mint in the same transaction via a separate SeaDrop * contract. * This is dangerous if an implementing token does not correctly * update the minterNumMinted and currentTotalSupply values before * transferring minted tokens, as SeaDrop references these values * to enforce token limits on a per-wallet and per-stage basis. * * @param minter The address to mint to. * @param quantity The number of tokens to mint. */ function mintSeaDrop(address minter, uint256 quantity) external; /** * @notice Returns a set of mint stats for the address. * This assists SeaDrop in enforcing maxSupply, * maxTotalMintableByWallet, and maxTokenSupplyForStage checks. * * @dev NOTE: Implementing contracts should always update these numbers * before transferring any tokens with _safeMint() to mitigate * consequences of malicious onERC721Received() hooks. * * @param minter The minter address. */ function getMintStats(address minter) external view returns ( uint256 minterNumMinted, uint256 currentTotalSupply, uint256 maxSupply ); /** * @notice Update the public drop data for this nft contract on SeaDrop. * Only the owner or administrator can use this function. * * The administrator can only update `feeBps`. * * @param seaDropImpl The allowed SeaDrop contract. * @param publicDrop The public drop data. */ function updatePublicDrop( address seaDropImpl, PublicDrop calldata publicDrop ) external; /** * @notice Update the allow list data for this nft contract on SeaDrop. * Only the owner or administrator can use this function. * * @param seaDropImpl The allowed SeaDrop contract. * @param allowListData The allow list data. */ function updateAllowList( address seaDropImpl, AllowListData calldata allowListData ) external; /** * @notice Update the token gated drop stage data for this nft contract * on SeaDrop. * Only the owner or administrator can use this function. * * The administrator, when present, must first set `feeBps`. * * Note: If two INonFungibleSeaDropToken tokens are doing * simultaneous token gated drop promotions for each other, * they can be minted by the same actor until * `maxTokenSupplyForStage` is reached. Please ensure the * `allowedNftToken` is not running an active drop during the * `dropStage` time period. * * * @param seaDropImpl The allowed SeaDrop contract. * @param allowedNftToken The allowed nft token. * @param dropStage The token gated drop stage data. */ function updateTokenGatedDrop( address seaDropImpl, address allowedNftToken, TokenGatedDropStage calldata dropStage ) external; /** * @notice Update the drop URI for this nft contract on SeaDrop. * Only the owner or administrator can use this function. * * @param seaDropImpl The allowed SeaDrop contract. * @param dropURI The new drop URI. */ function updateDropURI(address seaDropImpl, string calldata dropURI) external; /** * @notice Update the creator payout address for this nft contract on * SeaDrop. * Only the owner can set the creator payout address. * * @param seaDropImpl The allowed SeaDrop contract. * @param payoutAddress The new payout address. */ function updateCreatorPayoutAddress( address seaDropImpl, address payoutAddress ) external; /** * @notice Update the allowed fee recipient for this nft contract * on SeaDrop. * Only the administrator can set the allowed fee recipient. * * @param seaDropImpl The allowed SeaDrop contract. * @param feeRecipient The new fee recipient. */ function updateAllowedFeeRecipient( address seaDropImpl, address feeRecipient, bool allowed ) external; /** * @notice Update the server-side signers for this nft contract * on SeaDrop. * Only the owner or administrator can use this function. * * @param seaDropImpl The allowed SeaDrop contract. * @param signer The signer to update. * @param signedMintValidationParams Minimum and maximum parameters * to enforce for signed mints. */ function updateSignedMintValidationParams( address seaDropImpl, address signer, SignedMintValidationParams memory signedMintValidationParams ) external; /** * @notice Update the allowed payers for this nft contract on SeaDrop. * Only the owner or administrator can use this function. * * @param seaDropImpl The allowed SeaDrop contract. * @param payer The payer to update. * @param allowed Whether the payer is allowed. */ function updatePayer( address seaDropImpl, address payer, bool allowed ) external; } // File: seadrop-main/src/ERC721ContractMetadata.sol pragma solidity ^0.8.17; /** * @title ERC721ContractMetadata * @author James Wenzel (emo.eth) * @author Ryan Ghods (ralxz.eth) * @author Stephan Min (stephanm.eth) * @notice ERC721ContractMetadata is a token contract that extends ERC721A * with additional metadata and ownership capabilities. */ contract ERC721ContractMetadata is ERC721A, Ownable, ISeaDropTokenContractMetadata { /// @notice Track the max supply. uint256 _maxSupply; /// @notice Track the base URI for token metadata. string _tokenBaseURI; /// @notice Track the contract URI for contract metadata. string _contractURI; /// @notice Track the provenance hash for guaranteeing metadata order /// for random reveals. bytes32 _provenanceHash; /// @notice Track the royalty info: address to receive royalties, and /// royalty basis points. RoyaltyInfo _royaltyInfo; error OnlyOwner(); /** * @dev Reverts if the sender is not the owner or the contract itself. * This function is inlined instead of being a modifier * to save contract space from being inlined N times. */ function _onlyOwnerOrSelf() internal view { if ( _cast(msg.sender == owner()) | _cast(msg.sender == address(this)) == 0 ) { revert OnlyOwner(); } } /** * @notice Deploy the token contract with its name and symbol. */ constructor(string memory name, string memory symbol) ERC721A(name, symbol) {} /** * @notice Sets the base URI for the token metadata and emits an event. * * @param newBaseURI The new base URI to set. */ function setBaseURI(string calldata newBaseURI) external override { // Ensure the sender is only the owner or contract itself. _onlyOwnerOrSelf(); // Set the new base URI. _tokenBaseURI = newBaseURI; // Emit an event with the update. if (totalSupply() != 0) { emit BatchMetadataUpdate(1, _nextTokenId() - 1); } } /** * @notice Sets the contract URI for contract metadata. * * @param newContractURI The new contract URI. */ function setContractURI(string calldata newContractURI) external override { // Ensure the sender is only the owner or contract itself. _onlyOwnerOrSelf(); // Set the new contract URI. _contractURI = newContractURI; // Emit an event with the update. emit ContractURIUpdated(newContractURI); } /** * @notice Emit an event notifying metadata updates for * a range of token ids, according to EIP-4906. * * @param fromTokenId The start token id. * @param toTokenId The end token id. */ function emitBatchMetadataUpdate(uint256 fromTokenId, uint256 toTokenId) external { // Ensure the sender is only the owner or contract itself. _onlyOwnerOrSelf(); // Emit an event with the update. emit BatchMetadataUpdate(fromTokenId, toTokenId); } /** * @notice Sets the max token supply and emits an event. * * @param newMaxSupply The new max supply to set. */ function setMaxSupply(uint256 newMaxSupply) external { // Ensure the sender is only the owner or contract itself. _onlyOwnerOrSelf(); // Ensure the max supply does not exceed the maximum value of uint64. if (newMaxSupply > 2**64 - 1) { revert CannotExceedMaxSupplyOfUint64(newMaxSupply); } // Set the new max supply. _maxSupply = newMaxSupply; // Emit an event with the update. emit MaxSupplyUpdated(newMaxSupply); } /** * @notice Sets the provenance hash and emits an event. * * The provenance hash is used for random reveals, which * is a hash of the ordered metadata to show it has not been * modified after mint started. * * This function will revert after the first item has been minted. * * @param newProvenanceHash The new provenance hash to set. */ function setProvenanceHash(bytes32 newProvenanceHash) external { // Ensure the sender is only the owner or contract itself. _onlyOwnerOrSelf(); // Revert if any items have been minted. if (_totalMinted() > 0) { revert ProvenanceHashCannotBeSetAfterMintStarted(); } // Keep track of the old provenance hash for emitting with the event. bytes32 oldProvenanceHash = _provenanceHash; // Set the new provenance hash. _provenanceHash = newProvenanceHash; // Emit an event with the update. emit ProvenanceHashUpdated(oldProvenanceHash, newProvenanceHash); } /** * @notice Sets the address and basis points for royalties. * * @param newInfo The struct to configure royalties. */ function setRoyaltyInfo(RoyaltyInfo calldata newInfo) external { // Ensure the sender is only the owner or contract itself. _onlyOwnerOrSelf(); // Revert if the new royalty address is the zero address. if (newInfo.royaltyAddress == address(0)) { revert RoyaltyAddressCannotBeZeroAddress(); } // Revert if the new basis points is greater than 10_000. if (newInfo.royaltyBps > 10_000) { revert InvalidRoyaltyBasisPoints(newInfo.royaltyBps); } // Set the new royalty info. _royaltyInfo = newInfo; // Emit an event with the updated params. emit RoyaltyInfoUpdated(newInfo.royaltyAddress, newInfo.royaltyBps); } /** * @notice Returns the base URI for token metadata. */ function baseURI() external view override returns (string memory) { return _baseURI(); } /** * @notice Returns the base URI for the contract, which ERC721A uses * to return tokenURI. */ function _baseURI() internal view virtual override returns (string memory) { return _tokenBaseURI; } /** * @notice Returns the contract URI for contract metadata. */ function contractURI() external view override returns (string memory) { return _contractURI; } /** * @notice Returns the max token supply. */ function maxSupply() public view returns (uint256) { return _maxSupply; } /** * @notice Returns the provenance hash. * The provenance hash is used for random reveals, which * is a hash of the ordered metadata to show it is unmodified * after mint has started. */ function provenanceHash() external view override returns (bytes32) { return _provenanceHash; } /** * @notice Returns the address that receives royalties. */ function royaltyAddress() external view returns (address) { return _royaltyInfo.royaltyAddress; } /** * @notice Returns the royalty basis points out of 10_000. */ function royaltyBasisPoints() external view returns (uint256) { return _royaltyInfo.royaltyBps; } /** * @notice Called with the sale price to determine how much royalty * is owed and to whom. * * @ param _tokenId The NFT asset queried for royalty information. * @param _salePrice The sale price of the NFT asset specified by * _tokenId. * * @return receiver Address of who should be sent the royalty payment. * @return royaltyAmount The royalty payment amount for _salePrice. */ function royaltyInfo( uint256, /* _tokenId */ uint256 _salePrice ) external view returns (address receiver, uint256 royaltyAmount) { // Put the royalty info on the stack for more efficient access. RoyaltyInfo storage info = _royaltyInfo; // Set the royalty amount to the sale price times the royalty basis // points divided by 10_000. royaltyAmount = (_salePrice * info.royaltyBps) / 10_000; // Set the receiver of the royalty. receiver = info.royaltyAddress; } /** * @notice Returns whether the interface is supported. * * @param interfaceId The interface id to check against. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721A) returns (bool) { return interfaceId == type(IERC2981).interfaceId || interfaceId == 0x49064906 || // ERC-4906 super.supportsInterface(interfaceId); } /** * @dev Internal pure function to cast a `bool` value to a `uint256` value. * * @param b The `bool` value to cast. * * @return u The `uint256` value. */ function _cast(bool b) internal pure returns (uint256 u) { assembly { u := b } } } // File: seadrop-main/src/ERC721SeaDrop.sol pragma solidity ^0.8.17; /** * @title ERC721SeaDrop * @author James Wenzel (emo.eth) * @author Ryan Ghods (ralxz.eth) * @author Stephan Min (stephanm.eth) * @author Michael Cohen (notmichael.eth) * @notice ERC721SeaDrop is a token contract that contains methods * to properly interact with SeaDrop. */ contract DinoTheDiamond is ERC721ContractMetadata, INonFungibleSeaDropToken, ERC721SeaDropStructsErrorsAndEvents, ReentrancyGuard, DefaultOperatorFilterer { /// @notice Track the allowed SeaDrop addresses. mapping(address => bool) internal _allowedSeaDrop; /// @notice Track the enumerated allowed SeaDrop addresses. address[] internal _enumeratedAllowedSeaDrop; /// @notice Boolean used to pause and unpause public and whitelist minting. bool public isPaused; /** * @dev Reverts if not an allowed SeaDrop contract. * This function is inlined instead of being a modifier * to save contract space from being inlined N times. * * @param seaDrop The SeaDrop address to check if allowed. */ function _onlyAllowedSeaDrop(address seaDrop) internal view { if (_allowedSeaDrop[seaDrop] != true) { revert OnlyAllowedSeaDrop(); } } /** * @notice Deploy the token contract with its name, symbol, * and allowed SeaDrop addresses. */ constructor( string memory name, string memory symbol, address[] memory allowedSeaDrop ) ERC721ContractMetadata(name, symbol) { // Put the length on the stack for more efficient access. uint256 allowedSeaDropLength = allowedSeaDrop.length; // Set the mapping for allowed SeaDrop contracts. for (uint256 i = 0; i < allowedSeaDropLength; ) { _allowedSeaDrop[allowedSeaDrop[i]] = true; unchecked { ++i; } } // Set the enumeration. _enumeratedAllowedSeaDrop = allowedSeaDrop; // Emit an event noting the contract deployment. emit SeaDropTokenDeployed(); } /** * @notice Update the allowed SeaDrop contracts. * Only the owner or administrator can use this function. * * @param allowedSeaDrop The allowed SeaDrop addresses. */ function updateAllowedSeaDrop(address[] calldata allowedSeaDrop) external virtual override onlyOwner { _updateAllowedSeaDrop(allowedSeaDrop); } /** * @notice Internal function to update the allowed SeaDrop contracts. * * @param allowedSeaDrop The allowed SeaDrop addresses. */ function _updateAllowedSeaDrop(address[] calldata allowedSeaDrop) internal { // Put the length on the stack for more efficient access. uint256 enumeratedAllowedSeaDropLength = _enumeratedAllowedSeaDrop .length; uint256 allowedSeaDropLength = allowedSeaDrop.length; // Reset the old mapping. for (uint256 i = 0; i < enumeratedAllowedSeaDropLength; ) { _allowedSeaDrop[_enumeratedAllowedSeaDrop[i]] = false; unchecked { ++i; } } // Set the new mapping for allowed SeaDrop contracts. for (uint256 i = 0; i < allowedSeaDropLength; ) { _allowedSeaDrop[allowedSeaDrop[i]] = true; unchecked { ++i; } } // Set the enumeration. _enumeratedAllowedSeaDrop = allowedSeaDrop; // Emit an event for the update. emit AllowedSeaDropUpdated(allowedSeaDrop); } /** * @dev Overrides the `_startTokenId` function from ERC721A * to start at token id `1`. * * This is to avoid future possible problems since `0` is usually * used to signal values that have not been set or have been removed. */ function _startTokenId() internal view virtual override returns (uint256) { return 1; } /** * @dev Overrides the `tokenURI()` function from ERC721A * to return just the base URI if it is implied to not be a directory. * * This is to help with ERC721 contracts in which the same token URI * is desired for each token, such as when the tokenURI is 'unrevealed'. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); // Exit early if the baseURI is empty. if (bytes(baseURI).length == 0) { return ""; } // Check if the last character in baseURI is a slash. if (bytes(baseURI)[bytes(baseURI).length - 1] != bytes("/")[0]) { return baseURI; } return string(abi.encodePacked(baseURI, _toString(tokenId), ".json")); } /** * @notice Smart contract owner function * Pauses and unpauses mintSeadrop function. */ function toggleIsPaused() external onlyOwner { isPaused = !isPaused; } /** * @notice Mint tokens, restricted to the SeaDrop contract. * * @dev NOTE: If a token registers itself with multiple SeaDrop * contracts, the implementation of this function should guard * against reentrancy. If the implementing token uses * _safeMint(), or a feeRecipient with a malicious receive() hook * is specified, the token or fee recipients may be able to execute * another mint in the same transaction via a separate SeaDrop * contract. * This is dangerous if an implementing token does not correctly * update the minterNumMinted and currentTotalSupply values before * transferring minted tokens, as SeaDrop references these values * to enforce token limits on a per-wallet and per-stage basis. * * ERC721A tracks these values automatically, but this note and * nonReentrant modifier are left here to encourage best-practices * when referencing this contract. * * @param minter The address to mint to. * @param quantity The number of tokens to mint. */ function mintSeaDrop(address minter, uint256 quantity) external virtual override nonReentrant { // Ensure the SeaDrop is allowed. _onlyAllowedSeaDrop(msg.sender); require(isPaused == false, "Public and whitelist minting is paused"); // Extra safety check to ensure the max supply is not exceeded. if (_totalMinted() + quantity > maxSupply()) { revert MintQuantityExceedsMaxSupply( _totalMinted() + quantity, maxSupply() ); } // Mint the quantity of tokens to the minter. _safeMint(minter, quantity); } /** * @notice Smart contract owner mint function. * * @param recipients The recipients of the nfts. * @param quantities The quantities of nfts to be minted to the recipients. */ function airdrop(address[] calldata recipients, uint256[] calldata quantities) external onlyOwner { require(recipients.length == quantities.length, "Both the recipients and quantities array sholud be equal in length"); for (uint256 i = 0; i < recipients.length; ++i) { require(_totalMinted() + quantities[i] <= maxSupply(), "Exceeds maxSupply"); _safeMint(recipients[i], quantities[i]); } } /** * @notice Update the public drop data for this nft contract on SeaDrop. * Only the owner can use this function. * * @param seaDropImpl The allowed SeaDrop contract. * @param publicDrop The public drop data. */ function updatePublicDrop( address seaDropImpl, PublicDrop calldata publicDrop ) external virtual override { // Ensure the sender is only the owner or contract itself. _onlyOwnerOrSelf(); // Ensure the SeaDrop is allowed. _onlyAllowedSeaDrop(seaDropImpl); // Update the public drop data on SeaDrop. ISeaDrop(seaDropImpl).updatePublicDrop(publicDrop); } /** * @notice Update the allow list data for this nft contract on SeaDrop. * Only the owner can use this function. * * @param seaDropImpl The allowed SeaDrop contract. * @param allowListData The allow list data. */ function updateAllowList( address seaDropImpl, AllowListData calldata allowListData ) external virtual override { // Ensure the sender is only the owner or contract itself. _onlyOwnerOrSelf(); // Ensure the SeaDrop is allowed. _onlyAllowedSeaDrop(seaDropImpl); // Update the allow list on SeaDrop. ISeaDrop(seaDropImpl).updateAllowList(allowListData); } /** * @notice Update the token gated drop stage data for this nft contract * on SeaDrop. * Only the owner can use this function. * * Note: If two INonFungibleSeaDropToken tokens are doing * simultaneous token gated drop promotions for each other, * they can be minted by the same actor until * `maxTokenSupplyForStage` is reached. Please ensure the * `allowedNftToken` is not running an active drop during the * `dropStage` time period. * * @param seaDropImpl The allowed SeaDrop contract. * @param allowedNftToken The allowed nft token. * @param dropStage The token gated drop stage data. */ function updateTokenGatedDrop( address seaDropImpl, address allowedNftToken, TokenGatedDropStage calldata dropStage ) external virtual override { // Ensure the sender is only the owner or contract itself. _onlyOwnerOrSelf(); // Ensure the SeaDrop is allowed. _onlyAllowedSeaDrop(seaDropImpl); // Update the token gated drop stage. ISeaDrop(seaDropImpl).updateTokenGatedDrop(allowedNftToken, dropStage); } /** * @notice Update the drop URI for this nft contract on SeaDrop. * Only the owner can use this function. * * @param seaDropImpl The allowed SeaDrop contract. * @param dropURI The new drop URI. */ function updateDropURI(address seaDropImpl, string calldata dropURI) external virtual override { // Ensure the sender is only the owner or contract itself. _onlyOwnerOrSelf(); // Ensure the SeaDrop is allowed. _onlyAllowedSeaDrop(seaDropImpl); // Update the drop URI. ISeaDrop(seaDropImpl).updateDropURI(dropURI); } /** * @notice Update the creator payout address for this nft contract on * SeaDrop. * Only the owner can set the creator payout address. * * @param seaDropImpl The allowed SeaDrop contract. * @param payoutAddress The new payout address. */ function updateCreatorPayoutAddress( address seaDropImpl, address payoutAddress ) external { // Ensure the sender is only the owner or contract itself. _onlyOwnerOrSelf(); // Ensure the SeaDrop is allowed. _onlyAllowedSeaDrop(seaDropImpl); // Update the creator payout address. ISeaDrop(seaDropImpl).updateCreatorPayoutAddress(payoutAddress); } /** * @notice Update the allowed fee recipient for this nft contract * on SeaDrop. * Only the owner can set the allowed fee recipient. * * @param seaDropImpl The allowed SeaDrop contract. * @param feeRecipient The new fee recipient. * @param allowed If the fee recipient is allowed. */ function updateAllowedFeeRecipient( address seaDropImpl, address feeRecipient, bool allowed ) external virtual { // Ensure the sender is only the owner or contract itself. _onlyOwnerOrSelf(); // Ensure the SeaDrop is allowed. _onlyAllowedSeaDrop(seaDropImpl); // Update the allowed fee recipient. ISeaDrop(seaDropImpl).updateAllowedFeeRecipient(feeRecipient, allowed); } /** * @notice Update the server-side signers for this nft contract * on SeaDrop. * Only the owner can use this function. * * @param seaDropImpl The allowed SeaDrop contract. * @param signer The signer to update. * @param signedMintValidationParams Minimum and maximum parameters to * enforce for signed mints. */ function updateSignedMintValidationParams( address seaDropImpl, address signer, SignedMintValidationParams memory signedMintValidationParams ) external virtual override { // Ensure the sender is only the owner or contract itself. _onlyOwnerOrSelf(); // Ensure the SeaDrop is allowed. _onlyAllowedSeaDrop(seaDropImpl); // Update the signer. ISeaDrop(seaDropImpl).updateSignedMintValidationParams( signer, signedMintValidationParams ); } /** * @notice Update the allowed payers for this nft contract on SeaDrop. * Only the owner can use this function. * * @param seaDropImpl The allowed SeaDrop contract. * @param payer The payer to update. * @param allowed Whether the payer is allowed. */ function updatePayer( address seaDropImpl, address payer, bool allowed ) external virtual override { // Ensure the sender is only the owner or contract itself. _onlyOwnerOrSelf(); // Ensure the SeaDrop is allowed. _onlyAllowedSeaDrop(seaDropImpl); // Update the payer. ISeaDrop(seaDropImpl).updatePayer(payer, allowed); } /** * @notice Returns a set of mint stats for the address. * This assists SeaDrop in enforcing maxSupply, * maxTotalMintableByWallet, and maxTokenSupplyForStage checks. * * @dev NOTE: Implementing contracts should always update these numbers * before transferring any tokens with _safeMint() to mitigate * consequences of malicious onERC721Received() hooks. * * @param minter The minter address. */ function getMintStats(address minter) external view override returns ( uint256 minterNumMinted, uint256 currentTotalSupply, uint256 maxSupply ) { minterNumMinted = _numberMinted(minter); currentTotalSupply = _totalMinted(); maxSupply = _maxSupply; } /** * @notice Returns whether the interface is supported. * * @param interfaceId The interface id to check against. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721ContractMetadata) returns (bool) { return interfaceId == type(INonFungibleSeaDropToken).interfaceId || interfaceId == type(ISeaDropTokenContractMetadata).interfaceId || // ERC721ContractMetadata returns supportsInterface true for // EIP-2981 // ERC721A returns supportsInterface true for // ERC165, ERC721, ERC721Metadata super.supportsInterface(interfaceId); } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * - The `operator` must be allowed. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * - The `operator` mut be allowed. * * Emits an {Approval} event. */ function approve(address operator, uint256 tokenId) public payable override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - The operator must be allowed. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * - The operator must be allowed. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } /** * @notice Configure multiple properties at a time. * * Note: The individual configure methods should be used * to unset or reset any properties to zero, as this method * will ignore zero-value properties in the config struct. * * @param config The configuration struct. */ function multiConfigure(MultiConfigureStruct calldata config) external onlyOwner { if (config.maxSupply > 0) { this.setMaxSupply(config.maxSupply); } if (bytes(config.baseURI).length != 0) { this.setBaseURI(config.baseURI); } if (bytes(config.contractURI).length != 0) { this.setContractURI(config.contractURI); } if ( _cast(config.publicDrop.startTime != 0) | _cast(config.publicDrop.endTime != 0) == 1 ) { this.updatePublicDrop(config.seaDropImpl, config.publicDrop); } if (bytes(config.dropURI).length != 0) { this.updateDropURI(config.seaDropImpl, config.dropURI); } if (config.allowListData.merkleRoot != bytes32(0)) { this.updateAllowList(config.seaDropImpl, config.allowListData); } if (config.creatorPayoutAddress != address(0)) { this.updateCreatorPayoutAddress( config.seaDropImpl, config.creatorPayoutAddress ); } if (config.provenanceHash != bytes32(0)) { this.setProvenanceHash(config.provenanceHash); } if (config.allowedFeeRecipients.length > 0) { for (uint256 i = 0; i < config.allowedFeeRecipients.length; ) { this.updateAllowedFeeRecipient( config.seaDropImpl, config.allowedFeeRecipients[i], true ); unchecked { ++i; } } } if (config.disallowedFeeRecipients.length > 0) { for (uint256 i = 0; i < config.disallowedFeeRecipients.length; ) { this.updateAllowedFeeRecipient( config.seaDropImpl, config.disallowedFeeRecipients[i], false ); unchecked { ++i; } } } if (config.allowedPayers.length > 0) { for (uint256 i = 0; i < config.allowedPayers.length; ) { this.updatePayer( config.seaDropImpl, config.allowedPayers[i], true ); unchecked { ++i; } } } if (config.disallowedPayers.length > 0) { for (uint256 i = 0; i < config.disallowedPayers.length; ) { this.updatePayer( config.seaDropImpl, config.disallowedPayers[i], false ); unchecked { ++i; } } } if (config.tokenGatedDropStages.length > 0) { if ( config.tokenGatedDropStages.length != config.tokenGatedAllowedNftTokens.length ) { revert TokenGatedMismatch(); } for (uint256 i = 0; i < config.tokenGatedDropStages.length; ) { this.updateTokenGatedDrop( config.seaDropImpl, config.tokenGatedAllowedNftTokens[i], config.tokenGatedDropStages[i] ); unchecked { ++i; } } } if (config.disallowedTokenGatedAllowedNftTokens.length > 0) { for ( uint256 i = 0; i < config.disallowedTokenGatedAllowedNftTokens.length; ) { TokenGatedDropStage memory emptyStage; this.updateTokenGatedDrop( config.seaDropImpl, config.disallowedTokenGatedAllowedNftTokens[i], emptyStage ); unchecked { ++i; } } } if (config.signedMintValidationParams.length > 0) { if ( config.signedMintValidationParams.length != config.signers.length ) { revert SignersMismatch(); } for ( uint256 i = 0; i < config.signedMintValidationParams.length; ) { this.updateSignedMintValidationParams( config.seaDropImpl, config.signers[i], config.signedMintValidationParams[i] ); unchecked { ++i; } } } if (config.disallowedSigners.length > 0) { for (uint256 i = 0; i < config.disallowedSigners.length; ) { SignedMintValidationParams memory emptyParams; this.updateSignedMintValidationParams( config.seaDropImpl, config.disallowedSigners[i], emptyParams ); unchecked { ++i; } } } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address[]","name":"allowedSeaDrop","type":"address[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"CannotExceedMaxSupplyOfUint64","type":"error"},{"inputs":[{"internalType":"uint256","name":"basisPoints","type":"uint256"}],"name":"InvalidRoyaltyBasisPoints","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[{"internalType":"uint256","name":"total","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"MintQuantityExceedsMaxSupply","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OnlyAllowedSeaDrop","type":"error"},{"inputs":[],"name":"OnlyOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"ProvenanceHashCannotBeSetAfterMintStarted","type":"error"},{"inputs":[],"name":"RoyaltyAddressCannotBeZeroAddress","type":"error"},{"inputs":[],"name":"SignersMismatch","type":"error"},{"inputs":[],"name":"TokenGatedMismatch","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":false,"internalType":"address[]","name":"allowedSeaDrop","type":"address[]"}],"name":"AllowedSeaDropUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_toTokenId","type":"uint256"}],"name":"BatchMetadataUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"newContractURI","type":"string"}],"name":"ContractURIUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"MaxSupplyUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"previousHash","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"newHash","type":"bytes32"}],"name":"ProvenanceHashUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"bps","type":"uint256"}],"name":"RoyaltyInfoUpdated","type":"event"},{"anonymous":false,"inputs":[],"name":"SeaDropTokenDeployed","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"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"internalType":"uint256","name":"toTokenId","type":"uint256"}],"name":"emitBatchMetadataUpdate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"getMintStats","outputs":[{"internalType":"uint256","name":"minterNumMinted","type":"uint256"},{"internalType":"uint256","name":"currentTotalSupply","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintSeaDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"string","name":"contractURI","type":"string"},{"internalType":"address","name":"seaDropImpl","type":"address"},{"components":[{"internalType":"uint80","name":"mintPrice","type":"uint80"},{"internalType":"uint48","name":"startTime","type":"uint48"},{"internalType":"uint48","name":"endTime","type":"uint48"},{"internalType":"uint16","name":"maxTotalMintableByWallet","type":"uint16"},{"internalType":"uint16","name":"feeBps","type":"uint16"},{"internalType":"bool","name":"restrictFeeRecipients","type":"bool"}],"internalType":"struct PublicDrop","name":"publicDrop","type":"tuple"},{"internalType":"string","name":"dropURI","type":"string"},{"components":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"string[]","name":"publicKeyURIs","type":"string[]"},{"internalType":"string","name":"allowListURI","type":"string"}],"internalType":"struct AllowListData","name":"allowListData","type":"tuple"},{"internalType":"address","name":"creatorPayoutAddress","type":"address"},{"internalType":"bytes32","name":"provenanceHash","type":"bytes32"},{"internalType":"address[]","name":"allowedFeeRecipients","type":"address[]"},{"internalType":"address[]","name":"disallowedFeeRecipients","type":"address[]"},{"internalType":"address[]","name":"allowedPayers","type":"address[]"},{"internalType":"address[]","name":"disallowedPayers","type":"address[]"},{"internalType":"address[]","name":"tokenGatedAllowedNftTokens","type":"address[]"},{"components":[{"internalType":"uint80","name":"mintPrice","type":"uint80"},{"internalType":"uint16","name":"maxTotalMintableByWallet","type":"uint16"},{"internalType":"uint48","name":"startTime","type":"uint48"},{"internalType":"uint48","name":"endTime","type":"uint48"},{"internalType":"uint8","name":"dropStageIndex","type":"uint8"},{"internalType":"uint32","name":"maxTokenSupplyForStage","type":"uint32"},{"internalType":"uint16","name":"feeBps","type":"uint16"},{"internalType":"bool","name":"restrictFeeRecipients","type":"bool"}],"internalType":"struct TokenGatedDropStage[]","name":"tokenGatedDropStages","type":"tuple[]"},{"internalType":"address[]","name":"disallowedTokenGatedAllowedNftTokens","type":"address[]"},{"internalType":"address[]","name":"signers","type":"address[]"},{"components":[{"internalType":"uint80","name":"minMintPrice","type":"uint80"},{"internalType":"uint24","name":"maxMaxTotalMintableByWallet","type":"uint24"},{"internalType":"uint40","name":"minStartTime","type":"uint40"},{"internalType":"uint40","name":"maxEndTime","type":"uint40"},{"internalType":"uint40","name":"maxMaxTokenSupplyForStage","type":"uint40"},{"internalType":"uint16","name":"minFeeBps","type":"uint16"},{"internalType":"uint16","name":"maxFeeBps","type":"uint16"}],"internalType":"struct SignedMintValidationParams[]","name":"signedMintValidationParams","type":"tuple[]"},{"internalType":"address[]","name":"disallowedSigners","type":"address[]"}],"internalType":"struct ERC721SeaDropStructsErrorsAndEvents.MultiConfigureStruct","name":"config","type":"tuple"}],"name":"multiConfigure","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenanceHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyBasisPoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newContractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newProvenanceHash","type":"bytes32"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"royaltyAddress","type":"address"},{"internalType":"uint96","name":"royaltyBps","type":"uint96"}],"internalType":"struct ISeaDropTokenContractMetadata.RoyaltyInfo","name":"newInfo","type":"tuple"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleIsPaused","outputs":[],"stateMutability":"nonpayable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"seaDropImpl","type":"address"},{"components":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"string[]","name":"publicKeyURIs","type":"string[]"},{"internalType":"string","name":"allowListURI","type":"string"}],"internalType":"struct AllowListData","name":"allowListData","type":"tuple"}],"name":"updateAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"seaDropImpl","type":"address"},{"internalType":"address","name":"feeRecipient","type":"address"},{"internalType":"bool","name":"allowed","type":"bool"}],"name":"updateAllowedFeeRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"allowedSeaDrop","type":"address[]"}],"name":"updateAllowedSeaDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"seaDropImpl","type":"address"},{"internalType":"address","name":"payoutAddress","type":"address"}],"name":"updateCreatorPayoutAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"seaDropImpl","type":"address"},{"internalType":"string","name":"dropURI","type":"string"}],"name":"updateDropURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"seaDropImpl","type":"address"},{"internalType":"address","name":"payer","type":"address"},{"internalType":"bool","name":"allowed","type":"bool"}],"name":"updatePayer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"seaDropImpl","type":"address"},{"components":[{"internalType":"uint80","name":"mintPrice","type":"uint80"},{"internalType":"uint48","name":"startTime","type":"uint48"},{"internalType":"uint48","name":"endTime","type":"uint48"},{"internalType":"uint16","name":"maxTotalMintableByWallet","type":"uint16"},{"internalType":"uint16","name":"feeBps","type":"uint16"},{"internalType":"bool","name":"restrictFeeRecipients","type":"bool"}],"internalType":"struct PublicDrop","name":"publicDrop","type":"tuple"}],"name":"updatePublicDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"seaDropImpl","type":"address"},{"internalType":"address","name":"signer","type":"address"},{"components":[{"internalType":"uint80","name":"minMintPrice","type":"uint80"},{"internalType":"uint24","name":"maxMaxTotalMintableByWallet","type":"uint24"},{"internalType":"uint40","name":"minStartTime","type":"uint40"},{"internalType":"uint40","name":"maxEndTime","type":"uint40"},{"internalType":"uint40","name":"maxMaxTokenSupplyForStage","type":"uint40"},{"internalType":"uint16","name":"minFeeBps","type":"uint16"},{"internalType":"uint16","name":"maxFeeBps","type":"uint16"}],"internalType":"struct SignedMintValidationParams","name":"signedMintValidationParams","type":"tuple"}],"name":"updateSignedMintValidationParams","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"seaDropImpl","type":"address"},{"internalType":"address","name":"allowedNftToken","type":"address"},{"components":[{"internalType":"uint80","name":"mintPrice","type":"uint80"},{"internalType":"uint16","name":"maxTotalMintableByWallet","type":"uint16"},{"internalType":"uint48","name":"startTime","type":"uint48"},{"internalType":"uint48","name":"endTime","type":"uint48"},{"internalType":"uint8","name":"dropStageIndex","type":"uint8"},{"internalType":"uint32","name":"maxTokenSupplyForStage","type":"uint32"},{"internalType":"uint16","name":"feeBps","type":"uint16"},{"internalType":"bool","name":"restrictFeeRecipients","type":"bool"}],"internalType":"struct TokenGatedDropStage","name":"dropStage","type":"tuple"}],"name":"updateTokenGatedDrop","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801562000010575f80fd5b506040516200428a3803806200428a833981016040819052620000339162000409565b733cc6cdda760b79bafa08df41ecfa224f810dceb660018484818160026200005c8382620005a3565b5060036200006b8282620005a3565b505060015f55506200007d336200026b565b50506001600e556daaeb6d7670e522a718067333cd4e3b15620001bf5780156200011257604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b5f604051808303815f87803b158015620000f5575f80fd5b505af115801562000108573d5f803e3d5ffd5b50505050620001bf565b6001600160a01b03821615620001635760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620000dd565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e486906024015f604051808303815f87803b158015620001a7575f80fd5b505af1158015620001ba573d5f803e3d5ffd5b505050505b505080515f5b8181101562000222576001600f5f858481518110620001e857620001e86200066b565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff1916911515919091179055600101620001c5565b50815162000238906010906020850190620002bc565b506040517fd7aca75208b9be5ffc04c6a01922020ffd62b55e68e502e317f5344960279af8905f90a1505050506200067f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b828054828255905f5260205f2090810192821562000312579160200282015b828111156200031257825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620002db565b506200032092915062000324565b5090565b5b8082111562000320575f815560010162000325565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b03811182821017156200037957620003796200033a565b604052919050565b5f82601f83011262000391575f80fd5b81516001600160401b03811115620003ad57620003ad6200033a565b6020620003c3601f8301601f191682016200034e565b8281528582848701011115620003d7575f80fd5b5f5b83811015620003f6578581018301518282018401528201620003d9565b505f928101909101919091529392505050565b5f805f606084860312156200041c575f80fd5b83516001600160401b038082111562000433575f80fd5b620004418783880162000381565b945060209150818601518181111562000458575f80fd5b620004668882890162000381565b9450506040860151818111156200047b575f80fd5b8601601f810188136200048c575f80fd5b805182811115620004a157620004a16200033a565b8060051b9250620004b48484016200034e565b818152928201840192848101908a851115620004ce575f80fd5b928501925b848410156200050757835192506001600160a01b0383168314620004f6575f8081fd5b8282529285019290850190620004d3565b8096505050505050509250925092565b600181811c908216806200052c57607f821691505b6020821081036200054b57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200059e575f81815260208120601f850160051c81016020861015620005795750805b601f850160051c820191505b818110156200059a5782815560010162000585565b5050505b505050565b81516001600160401b03811115620005bf57620005bf6200033a565b620005d781620005d0845462000517565b8462000551565b602080601f8311600181146200060d575f8415620005f55750858301515b5f19600386901b1c1916600185901b1785556200059a565b5f85815260208120601f198616915b828110156200063d578886015182559484019460019091019084016200061c565b50858210156200065b57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52603260045260245ffd5b613bfd806200068d5f395ff3fe608060405260043610610275575f3560e01c80636f8b44b01161014a578063a4830114116100be578063cb743ba811610078578063cb743ba814610762578063d5abeb0114610781578063e8a3d48514610795578063e985e9c5146107a9578063f2fde38b146107c8578063f9613d7f146107e7575f80fd5b8063a4830114146106c7578063ad2f852a146106e6578063b187bd2614610703578063b88d4fde1461071c578063c6ab67a31461072f578063c87b56dd14610743575f80fd5b8063840e15d41161010f578063840e15d4146105ff5780638da5cb5b14610639578063911f456b14610656578063938e3d7b1461067557806395d89b4114610694578063a22cb465146106a8575f80fd5b80636f8b44b01461056f57806370a082311461058e578063715018a6146105ad5780637a05bc82146105c15780637bc2be76146105e0575f80fd5b806342260b5d116101ec57806360c308b6116101a657806360c308b6146104c05780636352211e146104df57806364869dad146104fe57806366251b691461051d578063672434821461053c5780636c0360eb1461055b575f80fd5b806342260b5d1461040d57806342842e0e1461043157806344dae42c1461044457806348a4c10114610463578063511aa6441461048257806355f804b3146104a1575f80fd5b806318160ddd1161023d57806318160ddd146103395780631b73593c1461035d57806323b872dd1461037c5780632a55205a1461038f5780633680620d146103cd57806341f43434146103ec575f80fd5b806301ffc9a71461027957806306fdde03146102ad578063081812fc146102ce578063095ea7b314610305578063099b6bfa1461031a575b5f80fd5b348015610284575f80fd5b50610298610293366004612a6e565b6107fb565b60405190151581526020015b60405180910390f35b3480156102b8575f80fd5b506102c1610840565b6040516102a49190612ad6565b3480156102d9575f80fd5b506102ed6102e8366004612ae8565b6108d0565b6040516001600160a01b0390911681526020016102a4565b610318610313366004612b13565b610912565b005b348015610325575f80fd5b50610318610334366004612ae8565b61092b565b348015610344575f80fd5b506001545f54035f19015b6040519081526020016102a4565b348015610368575f80fd5b50610318610377366004612b3d565b61099c565b61031861038a366004612b7b565b610a0a565b34801561039a575f80fd5b506103ae6103a9366004612bb9565b610a35565b604080516001600160a01b0390931683526020830191909152016102a4565b3480156103d8575f80fd5b506103186103e7366004612bd9565b610a7a565b3480156103f7575f80fd5b506102ed6daaeb6d7670e522a718067333cd4e81565b348015610418575f80fd5b50600d54600160a01b90046001600160601b031661034f565b61031861043f366004612b7b565b610ab7565b34801561044f575f80fd5b5061031861045e366004612c2b565b610adc565b34801561046e575f80fd5b5061031861047d366004612c5e565b610bf1565b34801561048d575f80fd5b5061031861049c366004612d5f565b610c66565b3480156104ac575f80fd5b506103186104bb366004612e6e565b610ca5565b3480156104cb575f80fd5b506103186104da366004612eec565b610d18565b3480156104ea575f80fd5b506102ed6104f9366004612ae8565b610d2a565b348015610509575f80fd5b50610318610518366004612b13565b610d34565b348015610528575f80fd5b50610318610537366004612f1e565b610e15565b348015610547575f80fd5b50610318610556366004612f4a565b610e54565b348015610566575f80fd5b506102c1610fb8565b34801561057a575f80fd5b50610318610589366004612ae8565b610fc7565b348015610599575f80fd5b5061034f6105a8366004612fb0565b61102f565b3480156105b8575f80fd5b5061031861107b565b3480156105cc575f80fd5b506103186105db366004612fcb565b61108e565b3480156105eb575f80fd5b506103186105fa36600461301b565b6110cd565b34801561060a575f80fd5b5061061e610619366004612fb0565b61110c565b604080519384526020840192909252908201526060016102a4565b348015610644575f80fd5b506008546001600160a01b03166102ed565b348015610661575f80fd5b5061031861067036600461306c565b61114a565b348015610680575f80fd5b5061031861068f366004612e6e565b611d04565b34801561069f575f80fd5b506102c1611d4b565b3480156106b3575f80fd5b506103186106c23660046130a3565b611d5a565b3480156106d2575f80fd5b506103186106e1366004612bb9565b611d6e565b3480156106f1575f80fd5b50600d546001600160a01b03166102ed565b34801561070e575f80fd5b506011546102989060ff1681565b61031861072a3660046130cf565b611dac565b34801561073a575f80fd5b50600c5461034f565b34801561074e575f80fd5b506102c161075d366004612ae8565b611dd2565b34801561076d575f80fd5b5061031861077c366004612c5e565b611ea7565b34801561078c575f80fd5b5060095461034f565b3480156107a0575f80fd5b506102c1611eee565b3480156107b4575f80fd5b506102986107c3366004612f1e565b611efd565b3480156107d3575f80fd5b506103186107e2366004612fb0565b611f2a565b3480156107f2575f80fd5b50610318611fa0565b5f6001600160e01b03198216630c487f4760e11b148061082b57506001600160e01b03198216639c15441560e01b145b8061083a575061083a82611fbc565b92915050565b60606002805461084f9061318b565b80601f016020809104026020016040519081016040528092919081815260200182805461087b9061318b565b80156108c65780601f1061089d576101008083540402835291602001916108c6565b820191905f5260205f20905b8154815290600101906020018083116108a957829003601f168201915b5050505050905090565b5f6108da82611ffb565b6108f7576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b8161091c8161202d565b61092683836120e4565b505050565b610933612182565b5f545f1901156109565760405163e03264af60e01b815260040160405180910390fd5b600c80549082905560408051828152602081018490527f7c22004198bf87da0f0dab623c72e66ca1200f4454aa3b9ca30f436275428b7c91015b60405180910390a15050565b6109a4612182565b6109ad826121d1565b6040516301308e6560e01b81526001600160a01b038316906301308e65906109d990849060040161325d565b5f604051808303815f87803b1580156109f0575f80fd5b505af1158015610a02573d5f803e3d5ffd5b505050505050565b826001600160a01b0381163314610a2457610a243361202d565b610a2f84848461220e565b50505050565b600d80545f91829161271090610a5b90600160a01b90046001600160601b03168661327f565b610a659190613296565b90546001600160a01b03169590945092505050565b610a82612182565b610a8b826121d1565b60405163ebb4a55f60e01b81526001600160a01b0383169063ebb4a55f906109d99084906004016133ec565b826001600160a01b0381163314610ad157610ad13361202d565b610a2f84848461239a565b610ae4612182565b5f610af26020830183612fb0565b6001600160a01b031603610b1957604051631cc0baef60e01b815260040160405180910390fd5b612710610b2c6040830160208401613412565b6001600160601b03161115610b7557610b4b6040820160208301613412565b604051633cadbafb60e01b81526001600160601b0390911660048201526024015b60405180910390fd5b80600d610b82828261342d565b507ff21fccf4d64d86d532c4e4eb86c007b6ad57a460c27d724188625e755ec6cf6d9050610bb36020830183612fb0565b610bc36040840160208501613412565b604080516001600160a01b0390931683526001600160601b039091166020830152015b60405180910390a150565b610bf9612182565b610c02836121d1565b604051638e7d1e4360e01b81526001600160a01b0383811660048301528215156024830152841690638e7d1e43906044015b5f604051808303815f87803b158015610c4b575f80fd5b505af1158015610c5d573d5f803e3d5ffd5b50505050505050565b610c6e612182565b610c77836121d1565b6040516309a7002f60e31b81526001600160a01b03841690634d38017890610c3490859085906004016134da565b610cad612182565b600a610cba82848361353d565b506001545f54035f190115610d14577f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c600180610cf55f5490565b610cff91906135f7565b60408051928352602083019190915201610990565b5050565b610d206123b4565b610d14828261240e565b5f61083a82612521565b610d3c612591565b610d45336121d1565b60115460ff1615610da75760405162461bcd60e51b815260206004820152602660248201527f5075626c696320616e642077686974656c697374206d696e74696e67206973206044820152651c185d5cd95960d21b6064820152608401610b6c565b60095481610db65f545f190190565b610dc0919061360a565b1115610e015780610dd25f545f190190565b610ddc919061360a565b60095460405163384b48c560e21b815260048101929092526024820152604401610b6c565b610e0b82826125ea565b610d146001600e55565b610e1d612182565b610e26826121d1565b60405163024e71b760e31b81526001600160a01b0382811660048301528316906312738db8906024016109d9565b610e5c6123b4565b828114610edc5760405162461bcd60e51b815260206004820152604260248201527f426f74682074686520726563697069656e747320616e64207175616e7469746960448201527f65732061727261792073686f6c756420626520657175616c20696e206c656e676064820152610e8d60f31b608482015260a401610b6c565b5f5b83811015610fb157600954838383818110610efb57610efb61361d565b90506020020135610f0d5f545f190190565b610f17919061360a565b1115610f595760405162461bcd60e51b815260206004820152601160248201527045786365656473206d6178537570706c7960781b6044820152606401610b6c565b610fa1858583818110610f6e57610f6e61361d565b9050602002016020810190610f839190612fb0565b848484818110610f9557610f9561361d565b905060200201356125ea565b610faa81613631565b9050610ede565b5050505050565b6060610fc2612603565b905090565b610fcf612182565b6001600160401b03811115610ffa5760405163b43e913760e01b815260048101829052602401610b6c565b60098190556040518181527f7810bd47de260c3e9ee10061cf438099dd12256c79485f12f94dbccc981e806c90602001610be6565b5f6001600160a01b038216611057576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f908152600560205260409020546001600160401b031690565b6110836123b4565b61108c5f612612565b565b611096612182565b61109f836121d1565b60405163b957d0cb60e01b81526001600160a01b0384169063b957d0cb90610c349085908590600401613649565b6110d5612182565b6110de836121d1565b604051637ecd591560e11b81526001600160a01b0384169063fd9ab22a90610c349085908590600401613728565b6001600160a01b0381165f9081526005602052604080822054901c6001600160401b0316908061113d5f545f190190565b6009549395909450915050565b6111526123b4565b8035156111a6576040516306f8b44b60e41b8152813560048201523090636f8b44b0906024015f604051808303815f87803b15801561118f575f80fd5b505af11580156111a1573d5f803e3d5ffd5b505050505b6111b36020820182613746565b15905061121857306355f804b36111cd6020840184613746565b6040518363ffffffff1660e01b81526004016111ea929190613649565b5f604051808303815f87803b158015611201575f80fd5b505af1158015611213573d5f803e3d5ffd5b505050505b6112256040820182613746565b15905061128a573063938e3d7b61123f6040840184613746565b6040518363ffffffff1660e01b815260040161125c929190613649565b5f604051808303815f87803b158015611273575f80fd5b505af1158015611285573d5f803e3d5ffd5b505050505b6112aa61129d60e0830160c08401613788565b65ffffffffffff16151590565b6112bd61129d60c0840160a08501613788565b1760010361132a5730631b73593c6112db6080840160608501612fb0565b836080016040518363ffffffff1660e01b81526004016112fc9291906137a1565b5f604051808303815f87803b158015611313575f80fd5b505af1158015611325573d5f803e3d5ffd5b505050505b611338610140820182613746565b1590506113af5730637a05bc826113556080840160608501612fb0565b611363610140850185613746565b6040518463ffffffff1660e01b8152600401611381939291906137be565b5f604051808303815f87803b158015611398575f80fd5b505af11580156113aa573d5f803e3d5ffd5b505050505b5f6113be6101608301836137eb565b35146114335730633680620d6113da6080840160608501612fb0565b6113e86101608501856137eb565b6040518363ffffffff1660e01b8152600401611405929190613809565b5f604051808303815f87803b15801561141c575f80fd5b505af115801561142e573d5f803e3d5ffd5b505050505b5f6114466101a083016101808401612fb0565b6001600160a01b0316146114d857306366251b6961146a6080840160608501612fb0565b61147c6101a085016101808601612fb0565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044015f604051808303815f87803b1580156114c1575f80fd5b505af11580156114d3573d5f803e3d5ffd5b505050505b6101a081013515611534576040516304cdb5fd60e11b81526101a08201356004820152309063099b6bfa906024015f604051808303815f87803b15801561151d575f80fd5b505af115801561152f573d5f803e3d5ffd5b505050505b5f6115436101c083018361382c565b90501115611607575f5b61155b6101c083018361382c565b905081101561160557306348a4c10161157a6080850160608601612fb0565b6115886101c086018661382c565b858181106115985761159861361d565b90506020020160208101906115ad9190612fb0565b60016040518463ffffffff1660e01b81526004016115cd93929190613871565b5f604051808303815f87803b1580156115e4575f80fd5b505af11580156115f6573d5f803e3d5ffd5b5050505080600101905061154d565b505b5f6116166101e083018361382c565b905011156116d9575f5b61162e6101e083018361382c565b90508110156116d757306348a4c10161164d6080850160608601612fb0565b61165b6101e086018661382c565b8581811061166b5761166b61361d565b90506020020160208101906116809190612fb0565b5f6040518463ffffffff1660e01b815260040161169f93929190613871565b5f604051808303815f87803b1580156116b6575f80fd5b505af11580156116c8573d5f803e3d5ffd5b50505050806001019050611620565b505b5f6116e861020083018361382c565b905011156117ac575f5b61170061020083018361382c565b90508110156117aa573063cb743ba861171f6080850160608601612fb0565b61172d61020086018661382c565b8581811061173d5761173d61361d565b90506020020160208101906117529190612fb0565b60016040518463ffffffff1660e01b815260040161177293929190613871565b5f604051808303815f87803b158015611789575f80fd5b505af115801561179b573d5f803e3d5ffd5b505050508060010190506116f2565b505b5f6117bb61022083018361382c565b9050111561187e575f5b6117d361022083018361382c565b905081101561187c573063cb743ba86117f26080850160608601612fb0565b61180061022086018661382c565b858181106118105761181061361d565b90506020020160208101906118259190612fb0565b5f6040518463ffffffff1660e01b815260040161184493929190613871565b5f604051808303815f87803b15801561185b575f80fd5b505af115801561186d573d5f803e3d5ffd5b505050508060010190506117c5565b505b5f61188d610260830183613895565b905011156119b2576118a361024082018261382c565b90506118b3610260830183613895565b9050146118d35760405163b81aa63960e01b815260040160405180910390fd5b5f5b6118e3610260830183613895565b90508110156119b05730637bc2be766119026080850160608601612fb0565b61191061024086018661382c565b858181106119205761192061361d565b90506020020160208101906119359190612fb0565b611943610260870187613895565b868181106119535761195361361d565b905061010002016040518463ffffffff1660e01b8152600401611978939291906138da565b5f604051808303815f87803b15801561198f575f80fd5b505af11580156119a1573d5f803e3d5ffd5b505050508060010190506118d5565b505b5f6119c161028083018361382c565b90501115611ac5575f5b6119d961028083018361382c565b9050811015611ac35760408051610100810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e081019190915230637bc2be76611a386080860160608701612fb0565b611a4661028087018761382c565b86818110611a5657611a5661361d565b9050602002016020810190611a6b9190612fb0565b846040518463ffffffff1660e01b8152600401611a8a93929190613900565b5f604051808303815f87803b158015611aa1575f80fd5b505af1158015611ab3573d5f803e3d5ffd5b50505050816001019150506119cb565b505b5f611ad46102c08301836139b1565b90501115611bf857611aea6102a082018261382c565b9050611afa6102c08301836139b1565b905014611b1a576040516374ef6df760e01b815260040160405180910390fd5b5f5b611b2a6102c08301836139b1565b9050811015611bf6573063511aa644611b496080850160608601612fb0565b611b576102a086018661382c565b85818110611b6757611b6761361d565b9050602002016020810190611b7c9190612fb0565b611b8a6102c08701876139b1565b86818110611b9a57611b9a61361d565b905060e002016040518463ffffffff1660e01b8152600401611bbe939291906139f5565b5f604051808303815f87803b158015611bd5575f80fd5b505af1158015611be7573d5f803e3d5ffd5b50505050806001019050611b1c565b505b5f611c076102e083018361382c565b90501115611d01575f5b611c1f6102e083018361382c565b9050811015610d14576040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091523063511aa644611c766080860160608701612fb0565b611c846102e087018761382c565b86818110611c9457611c9461361d565b9050602002016020810190611ca99190612fb0565b846040518463ffffffff1660e01b8152600401611cc893929190613aae565b5f604051808303815f87803b158015611cdf575f80fd5b505af1158015611cf1573d5f803e3d5ffd5b5050505081600101915050611c11565b50565b611d0c612182565b600b611d1982848361353d565b507f905d981207a7d0b6c62cc46ab0be2a076d0298e4a86d0ab79882dbd01ac373788282604051610990929190613649565b60606003805461084f9061318b565b81611d648161202d565b6109268383612663565b611d76612182565b60408051838152602081018390527f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c9101610990565b836001600160a01b0381163314611dc657611dc63361202d565b610fb1858585856126ce565b6060611ddd82611ffb565b611dfa57604051630a14c4b560e41b815260040160405180910390fd5b5f611e03612603565b905080515f03611e2257505060408051602081019091525f8152919050565b604080518082019091526001808252602f60f81b602090920182905282518391611e4b916135f7565b81518110611e5b57611e5b61361d565b01602001516001600160f81b03191614611e755792915050565b80611e7f84612712565b604051602001611e90929190613ad4565b604051602081830303815290604052915050919050565b611eaf612182565b611eb8836121d1565b604051633f952e6560e11b81526001600160a01b0383811660048301528215156024830152841690637f2a5cca90604401610c34565b6060600b805461084f9061318b565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b611f326123b4565b6001600160a01b038116611f975760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b6c565b611d0181612612565b611fa86123b4565b6011805460ff19811660ff90911615179055565b5f6001600160e01b0319821663152a902d60e11b1480611fec5750632483248360e11b6001600160e01b03198316145b8061083a575061083a82612755565b5f8160011115801561200d57505f5482105b801561083a5750505f90815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15611d0157604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015612098573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120bc9190613b12565b611d0157604051633b79c77360e21b81526001600160a01b0382166004820152602401610b6c565b5f6120ee82610d2a565b9050336001600160a01b038216146121275761210a8133611efd565b612127576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b3033146121b161219a6008546001600160a01b031690565b6001600160a01b0316336001600160a01b03161490565b175f0361108c57604051635fc483c560e01b815260040160405180910390fd5b6001600160a01b0381165f908152600f602052604090205460ff161515600114611d01576040516315e26ff360e01b815260040160405180910390fd5b5f61221882612521565b9050836001600160a01b0316816001600160a01b03161461224b5760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b038816909114176122975761227a8633611efd565b61229757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166122be57604051633a954ecd60e21b815260040160405180910390fd5b80156122c8575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b8416900361235457600184015f818152600460205260408120549003612352575f548114612352575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610a02565b61092683838360405180602001604052805f815250611dac565b6008546001600160a01b0316331461108c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b6c565b601054815f5b8281101561246e575f600f5f601084815481106124335761243361361d565b5f918252602080832091909101546001600160a01b031683528201929092526040019020805460ff1916911515919091179055600101612414565b505f5b818110156124d4576001600f5f8787858181106124905761249061361d565b90506020020160208101906124a59190612fb0565b6001600160a01b0316815260208101919091526040015f20805460ff1916911515919091179055600101612471565b506124e1601085856129e4565b507fbbd3b69c138de4d317d0bc4290282c4e1cbd1e58b579a5b4f114b598c237454d8484604051612513929190613b2d565b60405180910390a150505050565b5f8180600111612578575f54811015612578575f8181526004602052604081205490600160e01b82169003612576575b805f0361256f57505f19015f81815260046020526040902054612551565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6002600e54036125e35760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610b6c565b6002600e55565b610d14828260405180602001604052805f8152506127a2565b6060600a805461084f9061318b565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6126d9848484610a0a565b6001600160a01b0383163b15610a2f576126f584848484612804565b610a2f576040516368d2bf6b60e11b815260040160405180910390fd5b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a90048061272b5750819003601f19909101908152919050565b5f6301ffc9a760e01b6001600160e01b03198316148061278557506380ac58cd60e01b6001600160e01b03198316145b8061083a5750506001600160e01b031916635b5e139f60e01b1490565b6127ac83836128ec565b6001600160a01b0383163b15610926575f548281035b6127d45f868380600101945086612804565b6127f1576040516368d2bf6b60e11b815260040160405180910390fd5b8181106127c257815f5414610fb1575f80fd5b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290612838903390899088908890600401613b7a565b6020604051808303815f875af1925050508015612872575060408051601f3d908101601f1916820190925261286f91810190613bac565b60015b6128ce573d80801561289f576040519150601f19603f3d011682016040523d82523d5f602084013e6128a4565b606091505b5080515f036128c6576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b5f8054908290036129105760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146129bc5780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600101612986565b50815f036129dc57604051622e076360e81b815260040160405180910390fd5b5f5550505050565b828054828255905f5260205f20908101928215612a35579160200282015b82811115612a355781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190612a02565b50612a41929150612a45565b5090565b5b80821115612a41575f8155600101612a46565b6001600160e01b031981168114611d01575f80fd5b5f60208284031215612a7e575f80fd5b813561256f81612a59565b5f5b83811015612aa3578181015183820152602001612a8b565b50505f910152565b5f8151808452612ac2816020860160208601612a89565b601f01601f19169290920160200192915050565b602081525f61256f6020830184612aab565b5f60208284031215612af8575f80fd5b5035919050565b6001600160a01b0381168114611d01575f80fd5b5f8060408385031215612b24575f80fd5b8235612b2f81612aff565b946020939093013593505050565b5f8082840360e0811215612b4f575f80fd5b8335612b5a81612aff565b925060c0601f1982011215612b6d575f80fd5b506020830190509250929050565b5f805f60608486031215612b8d575f80fd5b8335612b9881612aff565b92506020840135612ba881612aff565b929592945050506040919091013590565b5f8060408385031215612bca575f80fd5b50508035926020909101359150565b5f8060408385031215612bea575f80fd5b8235612bf581612aff565b915060208301356001600160401b03811115612c0f575f80fd5b830160608186031215612c20575f80fd5b809150509250929050565b5f60408284031215612c3b575f80fd5b50919050565b8015158114611d01575f80fd5b8035612c5981612c41565b919050565b5f805f60608486031215612c70575f80fd5b8335612c7b81612aff565b92506020840135612c8b81612aff565b91506040840135612c9b81612c41565b809150509250925092565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612cdc57612cdc612ca6565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612d0a57612d0a612ca6565b604052919050565b80356001600160501b0381168114612c59575f80fd5b803562ffffff81168114612c59575f80fd5b803564ffffffffff81168114612c59575f80fd5b803561ffff81168114612c59575f80fd5b5f805f838503610120811215612d73575f80fd5b8435612d7e81612aff565b93506020850135612d8e81612aff565b925060e0603f1982011215612da1575f80fd5b50612daa612cba565b612db660408601612d12565b8152612dc460608601612d28565b6020820152612dd560808601612d3a565b6040820152612de660a08601612d3a565b6060820152612df760c08601612d3a565b6080820152612e0860e08601612d4e565b60a0820152612e1a6101008601612d4e565b60c0820152809150509250925092565b5f8083601f840112612e3a575f80fd5b5081356001600160401b03811115612e50575f80fd5b602083019150836020828501011115612e67575f80fd5b9250929050565b5f8060208385031215612e7f575f80fd5b82356001600160401b03811115612e94575f80fd5b612ea085828601612e2a565b90969095509350505050565b5f8083601f840112612ebc575f80fd5b5081356001600160401b03811115612ed2575f80fd5b6020830191508360208260051b8501011115612e67575f80fd5b5f8060208385031215612efd575f80fd5b82356001600160401b03811115612f12575f80fd5b612ea085828601612eac565b5f8060408385031215612f2f575f80fd5b8235612f3a81612aff565b91506020830135612c2081612aff565b5f805f8060408587031215612f5d575f80fd5b84356001600160401b0380821115612f73575f80fd5b612f7f88838901612eac565b90965094506020870135915080821115612f97575f80fd5b50612fa487828801612eac565b95989497509550505050565b5f60208284031215612fc0575f80fd5b813561256f81612aff565b5f805f60408486031215612fdd575f80fd5b8335612fe881612aff565b925060208401356001600160401b03811115613002575f80fd5b61300e86828701612e2a565b9497909650939450505050565b5f805f83850361014081121561302f575f80fd5b843561303a81612aff565b9350602085013561304a81612aff565b9250610100603f198201121561305e575f80fd5b506040840190509250925092565b5f6020828403121561307c575f80fd5b81356001600160401b03811115613091575f80fd5b8201610300818503121561256f575f80fd5b5f80604083850312156130b4575f80fd5b82356130bf81612aff565b91506020830135612c2081612c41565b5f805f80608085870312156130e2575f80fd5b84356130ed81612aff565b93506020858101356130fe81612aff565b93506040860135925060608601356001600160401b0380821115613120575f80fd5b818801915088601f830112613133575f80fd5b81358181111561314557613145612ca6565b613157601f8201601f19168501612ce2565b9150808252898482850101111561316c575f80fd5b80848401858401375f8482840101525080935050505092959194509250565b600181811c9082168061319f57607f821691505b602082108103612c3b57634e487b7160e01b5f52602260045260245ffd5b803565ffffffffffff81168114612c59575f80fd5b6001600160501b036131e382612d12565b1682526131f2602082016131bd565b65ffffffffffff80821660208501528061320e604085016131bd565b166040850152505061322260608201612d4e565b61ffff80821660608501528061323a60808501612d4e565b166080850152505060a081013561325081612c41565b80151560a0840152505050565b60c0810161083a82846131d2565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761083a5761083a61326b565b5f826132b057634e487b7160e01b5f52601260045260245ffd5b500490565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b5f808335601e198436030181126132f2575f80fd5b83016020810192503590506001600160401b03811115613310575f80fd5b803603821315612e67575f80fd5b5f6060830182358452602080840135601e1985360301811261333e575f80fd5b840181810190356001600160401b03811115613358575f80fd5b8060051b80360383131561336a575f80fd5b606084890152938190526080938701840193829088015f5b838110156133bc57898703607f1901825261339d83866132dd565b6133a88982846132b5565b985050509185019190850190600101613382565b5050505050506133cf60408401846132dd565b85830360408701526133e28382846132b5565b9695505050505050565b602081525f61256f602083018461331e565b6001600160601b0381168114611d01575f80fd5b5f60208284031215613422575f80fd5b813561256f816133fe565b813561343881612aff565b81546001600160a01b03199081166001600160a01b039290921691821783556020840135613465816133fe565b60a01b1617905550565b6001600160501b03815116825262ffffff6020820151166020830152604081015164ffffffffff8082166040850152806060840151166060850152806080840151166080850152505060a081015161ffff80821660a08501528060c08401511660c085015250505050565b6001600160a01b0383168152610100810161256f602083018461346f565b601f821115610926575f81815260208120601f850160051c8101602086101561351e5750805b601f850160051c820191505b81811015610a025782815560010161352a565b6001600160401b0383111561355457613554612ca6565b61356883613562835461318b565b836134f8565b5f601f841160018114613599575f85156135825750838201355b5f19600387901b1c1916600186901b178355610fb1565b5f83815260209020601f19861690835b828110156135c957868501358255602094850194600190920191016135a9565b50868210156135e5575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b8181038181111561083a5761083a61326b565b8082018082111561083a5761083a61326b565b634e487b7160e01b5f52603260045260245ffd5b5f600182016136425761364261326b565b5060010190565b602081525f6128e46020830184866132b5565b803563ffffffff81168114612c59575f80fd5b6001600160501b0361368082612d12565b16825261ffff61369260208301612d4e565b1660208301526136a4604082016131bd565b65ffffffffffff8082166040850152806136c0606085016131bd565b1660608501525050608081013560ff811681146136db575f80fd5b60ff1660808301526136ef60a0820161365c565b63ffffffff1660a083015261370660c08201612d4e565b61ffff1660c083015261371b60e08201612c4e565b80151560e0840152505050565b6001600160a01b0383168152610120810161256f602083018461366f565b5f808335601e1984360301811261375b575f80fd5b8301803591506001600160401b03821115613774575f80fd5b602001915036819003821315612e67575f80fd5b5f60208284031215613798575f80fd5b61256f826131bd565b6001600160a01b038316815260e0810161256f60208301846131d2565b6001600160a01b03841681526040602082018190525f906137e290830184866132b5565b95945050505050565b5f8235605e198336030181126137ff575f80fd5b9190910192915050565b6001600160a01b03831681526040602082018190525f906128e49083018461331e565b5f808335601e19843603018112613841575f80fd5b8301803591506001600160401b0382111561385a575f80fd5b6020019150600581901b3603821315612e67575f80fd5b6001600160a01b039384168152919092166020820152901515604082015260600190565b5f808335601e198436030181126138aa575f80fd5b8301803591506001600160401b038211156138c3575f80fd5b6020019150600881901b3603821315612e67575f80fd5b6001600160a01b0384811682528316602082015261014081016128e4604083018461366f565b5f6101408201905060018060a01b0380861683528085166020840152506001600160501b03835116604083015261ffff602084015116606083015265ffffffffffff6040840151166080830152606083015161396660a084018265ffffffffffff169052565b50608083015160ff811660c08401525060a083015163ffffffff811660e08401525060c083015161ffff81166101008401525060e08301518015156101208401525b50949350505050565b5f808335601e198436030181126139c6575f80fd5b8301803591506001600160401b038211156139df575f80fd5b602001915060e081023603821315612e67575f80fd5b6001600160a01b0384811682528316602082015261012081016001600160501b03613a1f84612d12565b16604083015262ffffff613a3560208501612d28565b166060830152613a4760408401612d3a565b64ffffffffff808216608085015280613a6260608701612d3a565b1660a085015280613a7560808701612d3a565b1660c08501525050613a8960a08401612d4e565b61ffff1660e0830152613a9e60c08401612d4e565b61ffff81166101008401526139a8565b6001600160a01b0384811682528316602082015261012081016128e4604083018461346f565b5f8351613ae5818460208801612a89565b835190830190613af9818360208801612a89565b64173539b7b760d91b9101908152600501949350505050565b5f60208284031215613b22575f80fd5b815161256f81612c41565b60208082528181018390525f908460408401835b86811015613b6f578235613b5481612aff565b6001600160a01b031682529183019190830190600101613b41565b509695505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f906133e290830184612aab565b5f60208284031215613bbc575f80fd5b815161256f81612a5956fea2646970667358221220346259dc6ce8797442917e67836cddb6aa0b7c15e9408b83ffbf6b37c753f0c564736f6c63430008150033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001044696e6f20546865204469616d6f6e640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034454440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000005ea00ac477b1030ce78506496e8c2de24bf5
Deployed Bytecode
0x608060405260043610610275575f3560e01c80636f8b44b01161014a578063a4830114116100be578063cb743ba811610078578063cb743ba814610762578063d5abeb0114610781578063e8a3d48514610795578063e985e9c5146107a9578063f2fde38b146107c8578063f9613d7f146107e7575f80fd5b8063a4830114146106c7578063ad2f852a146106e6578063b187bd2614610703578063b88d4fde1461071c578063c6ab67a31461072f578063c87b56dd14610743575f80fd5b8063840e15d41161010f578063840e15d4146105ff5780638da5cb5b14610639578063911f456b14610656578063938e3d7b1461067557806395d89b4114610694578063a22cb465146106a8575f80fd5b80636f8b44b01461056f57806370a082311461058e578063715018a6146105ad5780637a05bc82146105c15780637bc2be76146105e0575f80fd5b806342260b5d116101ec57806360c308b6116101a657806360c308b6146104c05780636352211e146104df57806364869dad146104fe57806366251b691461051d578063672434821461053c5780636c0360eb1461055b575f80fd5b806342260b5d1461040d57806342842e0e1461043157806344dae42c1461044457806348a4c10114610463578063511aa6441461048257806355f804b3146104a1575f80fd5b806318160ddd1161023d57806318160ddd146103395780631b73593c1461035d57806323b872dd1461037c5780632a55205a1461038f5780633680620d146103cd57806341f43434146103ec575f80fd5b806301ffc9a71461027957806306fdde03146102ad578063081812fc146102ce578063095ea7b314610305578063099b6bfa1461031a575b5f80fd5b348015610284575f80fd5b50610298610293366004612a6e565b6107fb565b60405190151581526020015b60405180910390f35b3480156102b8575f80fd5b506102c1610840565b6040516102a49190612ad6565b3480156102d9575f80fd5b506102ed6102e8366004612ae8565b6108d0565b6040516001600160a01b0390911681526020016102a4565b610318610313366004612b13565b610912565b005b348015610325575f80fd5b50610318610334366004612ae8565b61092b565b348015610344575f80fd5b506001545f54035f19015b6040519081526020016102a4565b348015610368575f80fd5b50610318610377366004612b3d565b61099c565b61031861038a366004612b7b565b610a0a565b34801561039a575f80fd5b506103ae6103a9366004612bb9565b610a35565b604080516001600160a01b0390931683526020830191909152016102a4565b3480156103d8575f80fd5b506103186103e7366004612bd9565b610a7a565b3480156103f7575f80fd5b506102ed6daaeb6d7670e522a718067333cd4e81565b348015610418575f80fd5b50600d54600160a01b90046001600160601b031661034f565b61031861043f366004612b7b565b610ab7565b34801561044f575f80fd5b5061031861045e366004612c2b565b610adc565b34801561046e575f80fd5b5061031861047d366004612c5e565b610bf1565b34801561048d575f80fd5b5061031861049c366004612d5f565b610c66565b3480156104ac575f80fd5b506103186104bb366004612e6e565b610ca5565b3480156104cb575f80fd5b506103186104da366004612eec565b610d18565b3480156104ea575f80fd5b506102ed6104f9366004612ae8565b610d2a565b348015610509575f80fd5b50610318610518366004612b13565b610d34565b348015610528575f80fd5b50610318610537366004612f1e565b610e15565b348015610547575f80fd5b50610318610556366004612f4a565b610e54565b348015610566575f80fd5b506102c1610fb8565b34801561057a575f80fd5b50610318610589366004612ae8565b610fc7565b348015610599575f80fd5b5061034f6105a8366004612fb0565b61102f565b3480156105b8575f80fd5b5061031861107b565b3480156105cc575f80fd5b506103186105db366004612fcb565b61108e565b3480156105eb575f80fd5b506103186105fa36600461301b565b6110cd565b34801561060a575f80fd5b5061061e610619366004612fb0565b61110c565b604080519384526020840192909252908201526060016102a4565b348015610644575f80fd5b506008546001600160a01b03166102ed565b348015610661575f80fd5b5061031861067036600461306c565b61114a565b348015610680575f80fd5b5061031861068f366004612e6e565b611d04565b34801561069f575f80fd5b506102c1611d4b565b3480156106b3575f80fd5b506103186106c23660046130a3565b611d5a565b3480156106d2575f80fd5b506103186106e1366004612bb9565b611d6e565b3480156106f1575f80fd5b50600d546001600160a01b03166102ed565b34801561070e575f80fd5b506011546102989060ff1681565b61031861072a3660046130cf565b611dac565b34801561073a575f80fd5b50600c5461034f565b34801561074e575f80fd5b506102c161075d366004612ae8565b611dd2565b34801561076d575f80fd5b5061031861077c366004612c5e565b611ea7565b34801561078c575f80fd5b5060095461034f565b3480156107a0575f80fd5b506102c1611eee565b3480156107b4575f80fd5b506102986107c3366004612f1e565b611efd565b3480156107d3575f80fd5b506103186107e2366004612fb0565b611f2a565b3480156107f2575f80fd5b50610318611fa0565b5f6001600160e01b03198216630c487f4760e11b148061082b57506001600160e01b03198216639c15441560e01b145b8061083a575061083a82611fbc565b92915050565b60606002805461084f9061318b565b80601f016020809104026020016040519081016040528092919081815260200182805461087b9061318b565b80156108c65780601f1061089d576101008083540402835291602001916108c6565b820191905f5260205f20905b8154815290600101906020018083116108a957829003601f168201915b5050505050905090565b5f6108da82611ffb565b6108f7576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b8161091c8161202d565b61092683836120e4565b505050565b610933612182565b5f545f1901156109565760405163e03264af60e01b815260040160405180910390fd5b600c80549082905560408051828152602081018490527f7c22004198bf87da0f0dab623c72e66ca1200f4454aa3b9ca30f436275428b7c91015b60405180910390a15050565b6109a4612182565b6109ad826121d1565b6040516301308e6560e01b81526001600160a01b038316906301308e65906109d990849060040161325d565b5f604051808303815f87803b1580156109f0575f80fd5b505af1158015610a02573d5f803e3d5ffd5b505050505050565b826001600160a01b0381163314610a2457610a243361202d565b610a2f84848461220e565b50505050565b600d80545f91829161271090610a5b90600160a01b90046001600160601b03168661327f565b610a659190613296565b90546001600160a01b03169590945092505050565b610a82612182565b610a8b826121d1565b60405163ebb4a55f60e01b81526001600160a01b0383169063ebb4a55f906109d99084906004016133ec565b826001600160a01b0381163314610ad157610ad13361202d565b610a2f84848461239a565b610ae4612182565b5f610af26020830183612fb0565b6001600160a01b031603610b1957604051631cc0baef60e01b815260040160405180910390fd5b612710610b2c6040830160208401613412565b6001600160601b03161115610b7557610b4b6040820160208301613412565b604051633cadbafb60e01b81526001600160601b0390911660048201526024015b60405180910390fd5b80600d610b82828261342d565b507ff21fccf4d64d86d532c4e4eb86c007b6ad57a460c27d724188625e755ec6cf6d9050610bb36020830183612fb0565b610bc36040840160208501613412565b604080516001600160a01b0390931683526001600160601b039091166020830152015b60405180910390a150565b610bf9612182565b610c02836121d1565b604051638e7d1e4360e01b81526001600160a01b0383811660048301528215156024830152841690638e7d1e43906044015b5f604051808303815f87803b158015610c4b575f80fd5b505af1158015610c5d573d5f803e3d5ffd5b50505050505050565b610c6e612182565b610c77836121d1565b6040516309a7002f60e31b81526001600160a01b03841690634d38017890610c3490859085906004016134da565b610cad612182565b600a610cba82848361353d565b506001545f54035f190115610d14577f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c600180610cf55f5490565b610cff91906135f7565b60408051928352602083019190915201610990565b5050565b610d206123b4565b610d14828261240e565b5f61083a82612521565b610d3c612591565b610d45336121d1565b60115460ff1615610da75760405162461bcd60e51b815260206004820152602660248201527f5075626c696320616e642077686974656c697374206d696e74696e67206973206044820152651c185d5cd95960d21b6064820152608401610b6c565b60095481610db65f545f190190565b610dc0919061360a565b1115610e015780610dd25f545f190190565b610ddc919061360a565b60095460405163384b48c560e21b815260048101929092526024820152604401610b6c565b610e0b82826125ea565b610d146001600e55565b610e1d612182565b610e26826121d1565b60405163024e71b760e31b81526001600160a01b0382811660048301528316906312738db8906024016109d9565b610e5c6123b4565b828114610edc5760405162461bcd60e51b815260206004820152604260248201527f426f74682074686520726563697069656e747320616e64207175616e7469746960448201527f65732061727261792073686f6c756420626520657175616c20696e206c656e676064820152610e8d60f31b608482015260a401610b6c565b5f5b83811015610fb157600954838383818110610efb57610efb61361d565b90506020020135610f0d5f545f190190565b610f17919061360a565b1115610f595760405162461bcd60e51b815260206004820152601160248201527045786365656473206d6178537570706c7960781b6044820152606401610b6c565b610fa1858583818110610f6e57610f6e61361d565b9050602002016020810190610f839190612fb0565b848484818110610f9557610f9561361d565b905060200201356125ea565b610faa81613631565b9050610ede565b5050505050565b6060610fc2612603565b905090565b610fcf612182565b6001600160401b03811115610ffa5760405163b43e913760e01b815260048101829052602401610b6c565b60098190556040518181527f7810bd47de260c3e9ee10061cf438099dd12256c79485f12f94dbccc981e806c90602001610be6565b5f6001600160a01b038216611057576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f908152600560205260409020546001600160401b031690565b6110836123b4565b61108c5f612612565b565b611096612182565b61109f836121d1565b60405163b957d0cb60e01b81526001600160a01b0384169063b957d0cb90610c349085908590600401613649565b6110d5612182565b6110de836121d1565b604051637ecd591560e11b81526001600160a01b0384169063fd9ab22a90610c349085908590600401613728565b6001600160a01b0381165f9081526005602052604080822054901c6001600160401b0316908061113d5f545f190190565b6009549395909450915050565b6111526123b4565b8035156111a6576040516306f8b44b60e41b8152813560048201523090636f8b44b0906024015f604051808303815f87803b15801561118f575f80fd5b505af11580156111a1573d5f803e3d5ffd5b505050505b6111b36020820182613746565b15905061121857306355f804b36111cd6020840184613746565b6040518363ffffffff1660e01b81526004016111ea929190613649565b5f604051808303815f87803b158015611201575f80fd5b505af1158015611213573d5f803e3d5ffd5b505050505b6112256040820182613746565b15905061128a573063938e3d7b61123f6040840184613746565b6040518363ffffffff1660e01b815260040161125c929190613649565b5f604051808303815f87803b158015611273575f80fd5b505af1158015611285573d5f803e3d5ffd5b505050505b6112aa61129d60e0830160c08401613788565b65ffffffffffff16151590565b6112bd61129d60c0840160a08501613788565b1760010361132a5730631b73593c6112db6080840160608501612fb0565b836080016040518363ffffffff1660e01b81526004016112fc9291906137a1565b5f604051808303815f87803b158015611313575f80fd5b505af1158015611325573d5f803e3d5ffd5b505050505b611338610140820182613746565b1590506113af5730637a05bc826113556080840160608501612fb0565b611363610140850185613746565b6040518463ffffffff1660e01b8152600401611381939291906137be565b5f604051808303815f87803b158015611398575f80fd5b505af11580156113aa573d5f803e3d5ffd5b505050505b5f6113be6101608301836137eb565b35146114335730633680620d6113da6080840160608501612fb0565b6113e86101608501856137eb565b6040518363ffffffff1660e01b8152600401611405929190613809565b5f604051808303815f87803b15801561141c575f80fd5b505af115801561142e573d5f803e3d5ffd5b505050505b5f6114466101a083016101808401612fb0565b6001600160a01b0316146114d857306366251b6961146a6080840160608501612fb0565b61147c6101a085016101808601612fb0565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044015f604051808303815f87803b1580156114c1575f80fd5b505af11580156114d3573d5f803e3d5ffd5b505050505b6101a081013515611534576040516304cdb5fd60e11b81526101a08201356004820152309063099b6bfa906024015f604051808303815f87803b15801561151d575f80fd5b505af115801561152f573d5f803e3d5ffd5b505050505b5f6115436101c083018361382c565b90501115611607575f5b61155b6101c083018361382c565b905081101561160557306348a4c10161157a6080850160608601612fb0565b6115886101c086018661382c565b858181106115985761159861361d565b90506020020160208101906115ad9190612fb0565b60016040518463ffffffff1660e01b81526004016115cd93929190613871565b5f604051808303815f87803b1580156115e4575f80fd5b505af11580156115f6573d5f803e3d5ffd5b5050505080600101905061154d565b505b5f6116166101e083018361382c565b905011156116d9575f5b61162e6101e083018361382c565b90508110156116d757306348a4c10161164d6080850160608601612fb0565b61165b6101e086018661382c565b8581811061166b5761166b61361d565b90506020020160208101906116809190612fb0565b5f6040518463ffffffff1660e01b815260040161169f93929190613871565b5f604051808303815f87803b1580156116b6575f80fd5b505af11580156116c8573d5f803e3d5ffd5b50505050806001019050611620565b505b5f6116e861020083018361382c565b905011156117ac575f5b61170061020083018361382c565b90508110156117aa573063cb743ba861171f6080850160608601612fb0565b61172d61020086018661382c565b8581811061173d5761173d61361d565b90506020020160208101906117529190612fb0565b60016040518463ffffffff1660e01b815260040161177293929190613871565b5f604051808303815f87803b158015611789575f80fd5b505af115801561179b573d5f803e3d5ffd5b505050508060010190506116f2565b505b5f6117bb61022083018361382c565b9050111561187e575f5b6117d361022083018361382c565b905081101561187c573063cb743ba86117f26080850160608601612fb0565b61180061022086018661382c565b858181106118105761181061361d565b90506020020160208101906118259190612fb0565b5f6040518463ffffffff1660e01b815260040161184493929190613871565b5f604051808303815f87803b15801561185b575f80fd5b505af115801561186d573d5f803e3d5ffd5b505050508060010190506117c5565b505b5f61188d610260830183613895565b905011156119b2576118a361024082018261382c565b90506118b3610260830183613895565b9050146118d35760405163b81aa63960e01b815260040160405180910390fd5b5f5b6118e3610260830183613895565b90508110156119b05730637bc2be766119026080850160608601612fb0565b61191061024086018661382c565b858181106119205761192061361d565b90506020020160208101906119359190612fb0565b611943610260870187613895565b868181106119535761195361361d565b905061010002016040518463ffffffff1660e01b8152600401611978939291906138da565b5f604051808303815f87803b15801561198f575f80fd5b505af11580156119a1573d5f803e3d5ffd5b505050508060010190506118d5565b505b5f6119c161028083018361382c565b90501115611ac5575f5b6119d961028083018361382c565b9050811015611ac35760408051610100810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e081019190915230637bc2be76611a386080860160608701612fb0565b611a4661028087018761382c565b86818110611a5657611a5661361d565b9050602002016020810190611a6b9190612fb0565b846040518463ffffffff1660e01b8152600401611a8a93929190613900565b5f604051808303815f87803b158015611aa1575f80fd5b505af1158015611ab3573d5f803e3d5ffd5b50505050816001019150506119cb565b505b5f611ad46102c08301836139b1565b90501115611bf857611aea6102a082018261382c565b9050611afa6102c08301836139b1565b905014611b1a576040516374ef6df760e01b815260040160405180910390fd5b5f5b611b2a6102c08301836139b1565b9050811015611bf6573063511aa644611b496080850160608601612fb0565b611b576102a086018661382c565b85818110611b6757611b6761361d565b9050602002016020810190611b7c9190612fb0565b611b8a6102c08701876139b1565b86818110611b9a57611b9a61361d565b905060e002016040518463ffffffff1660e01b8152600401611bbe939291906139f5565b5f604051808303815f87803b158015611bd5575f80fd5b505af1158015611be7573d5f803e3d5ffd5b50505050806001019050611b1c565b505b5f611c076102e083018361382c565b90501115611d01575f5b611c1f6102e083018361382c565b9050811015610d14576040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091523063511aa644611c766080860160608701612fb0565b611c846102e087018761382c565b86818110611c9457611c9461361d565b9050602002016020810190611ca99190612fb0565b846040518463ffffffff1660e01b8152600401611cc893929190613aae565b5f604051808303815f87803b158015611cdf575f80fd5b505af1158015611cf1573d5f803e3d5ffd5b5050505081600101915050611c11565b50565b611d0c612182565b600b611d1982848361353d565b507f905d981207a7d0b6c62cc46ab0be2a076d0298e4a86d0ab79882dbd01ac373788282604051610990929190613649565b60606003805461084f9061318b565b81611d648161202d565b6109268383612663565b611d76612182565b60408051838152602081018390527f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c9101610990565b836001600160a01b0381163314611dc657611dc63361202d565b610fb1858585856126ce565b6060611ddd82611ffb565b611dfa57604051630a14c4b560e41b815260040160405180910390fd5b5f611e03612603565b905080515f03611e2257505060408051602081019091525f8152919050565b604080518082019091526001808252602f60f81b602090920182905282518391611e4b916135f7565b81518110611e5b57611e5b61361d565b01602001516001600160f81b03191614611e755792915050565b80611e7f84612712565b604051602001611e90929190613ad4565b604051602081830303815290604052915050919050565b611eaf612182565b611eb8836121d1565b604051633f952e6560e11b81526001600160a01b0383811660048301528215156024830152841690637f2a5cca90604401610c34565b6060600b805461084f9061318b565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b611f326123b4565b6001600160a01b038116611f975760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b6c565b611d0181612612565b611fa86123b4565b6011805460ff19811660ff90911615179055565b5f6001600160e01b0319821663152a902d60e11b1480611fec5750632483248360e11b6001600160e01b03198316145b8061083a575061083a82612755565b5f8160011115801561200d57505f5482105b801561083a5750505f90815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b15611d0157604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015612098573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120bc9190613b12565b611d0157604051633b79c77360e21b81526001600160a01b0382166004820152602401610b6c565b5f6120ee82610d2a565b9050336001600160a01b038216146121275761210a8133611efd565b612127576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b3033146121b161219a6008546001600160a01b031690565b6001600160a01b0316336001600160a01b03161490565b175f0361108c57604051635fc483c560e01b815260040160405180910390fd5b6001600160a01b0381165f908152600f602052604090205460ff161515600114611d01576040516315e26ff360e01b815260040160405180910390fd5b5f61221882612521565b9050836001600160a01b0316816001600160a01b03161461224b5760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b038816909114176122975761227a8633611efd565b61229757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166122be57604051633a954ecd60e21b815260040160405180910390fd5b80156122c8575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b8416900361235457600184015f818152600460205260408120549003612352575f548114612352575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610a02565b61092683838360405180602001604052805f815250611dac565b6008546001600160a01b0316331461108c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b6c565b601054815f5b8281101561246e575f600f5f601084815481106124335761243361361d565b5f918252602080832091909101546001600160a01b031683528201929092526040019020805460ff1916911515919091179055600101612414565b505f5b818110156124d4576001600f5f8787858181106124905761249061361d565b90506020020160208101906124a59190612fb0565b6001600160a01b0316815260208101919091526040015f20805460ff1916911515919091179055600101612471565b506124e1601085856129e4565b507fbbd3b69c138de4d317d0bc4290282c4e1cbd1e58b579a5b4f114b598c237454d8484604051612513929190613b2d565b60405180910390a150505050565b5f8180600111612578575f54811015612578575f8181526004602052604081205490600160e01b82169003612576575b805f0361256f57505f19015f81815260046020526040902054612551565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6002600e54036125e35760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610b6c565b6002600e55565b610d14828260405180602001604052805f8152506127a2565b6060600a805461084f9061318b565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6126d9848484610a0a565b6001600160a01b0383163b15610a2f576126f584848484612804565b610a2f576040516368d2bf6b60e11b815260040160405180910390fd5b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a90048061272b5750819003601f19909101908152919050565b5f6301ffc9a760e01b6001600160e01b03198316148061278557506380ac58cd60e01b6001600160e01b03198316145b8061083a5750506001600160e01b031916635b5e139f60e01b1490565b6127ac83836128ec565b6001600160a01b0383163b15610926575f548281035b6127d45f868380600101945086612804565b6127f1576040516368d2bf6b60e11b815260040160405180910390fd5b8181106127c257815f5414610fb1575f80fd5b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290612838903390899088908890600401613b7a565b6020604051808303815f875af1925050508015612872575060408051601f3d908101601f1916820190925261286f91810190613bac565b60015b6128ce573d80801561289f576040519150601f19603f3d011682016040523d82523d5f602084013e6128a4565b606091505b5080515f036128c6576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b5f8054908290036129105760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146129bc5780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600101612986565b50815f036129dc57604051622e076360e81b815260040160405180910390fd5b5f5550505050565b828054828255905f5260205f20908101928215612a35579160200282015b82811115612a355781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190612a02565b50612a41929150612a45565b5090565b5b80821115612a41575f8155600101612a46565b6001600160e01b031981168114611d01575f80fd5b5f60208284031215612a7e575f80fd5b813561256f81612a59565b5f5b83811015612aa3578181015183820152602001612a8b565b50505f910152565b5f8151808452612ac2816020860160208601612a89565b601f01601f19169290920160200192915050565b602081525f61256f6020830184612aab565b5f60208284031215612af8575f80fd5b5035919050565b6001600160a01b0381168114611d01575f80fd5b5f8060408385031215612b24575f80fd5b8235612b2f81612aff565b946020939093013593505050565b5f8082840360e0811215612b4f575f80fd5b8335612b5a81612aff565b925060c0601f1982011215612b6d575f80fd5b506020830190509250929050565b5f805f60608486031215612b8d575f80fd5b8335612b9881612aff565b92506020840135612ba881612aff565b929592945050506040919091013590565b5f8060408385031215612bca575f80fd5b50508035926020909101359150565b5f8060408385031215612bea575f80fd5b8235612bf581612aff565b915060208301356001600160401b03811115612c0f575f80fd5b830160608186031215612c20575f80fd5b809150509250929050565b5f60408284031215612c3b575f80fd5b50919050565b8015158114611d01575f80fd5b8035612c5981612c41565b919050565b5f805f60608486031215612c70575f80fd5b8335612c7b81612aff565b92506020840135612c8b81612aff565b91506040840135612c9b81612c41565b809150509250925092565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715612cdc57612cdc612ca6565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612d0a57612d0a612ca6565b604052919050565b80356001600160501b0381168114612c59575f80fd5b803562ffffff81168114612c59575f80fd5b803564ffffffffff81168114612c59575f80fd5b803561ffff81168114612c59575f80fd5b5f805f838503610120811215612d73575f80fd5b8435612d7e81612aff565b93506020850135612d8e81612aff565b925060e0603f1982011215612da1575f80fd5b50612daa612cba565b612db660408601612d12565b8152612dc460608601612d28565b6020820152612dd560808601612d3a565b6040820152612de660a08601612d3a565b6060820152612df760c08601612d3a565b6080820152612e0860e08601612d4e565b60a0820152612e1a6101008601612d4e565b60c0820152809150509250925092565b5f8083601f840112612e3a575f80fd5b5081356001600160401b03811115612e50575f80fd5b602083019150836020828501011115612e67575f80fd5b9250929050565b5f8060208385031215612e7f575f80fd5b82356001600160401b03811115612e94575f80fd5b612ea085828601612e2a565b90969095509350505050565b5f8083601f840112612ebc575f80fd5b5081356001600160401b03811115612ed2575f80fd5b6020830191508360208260051b8501011115612e67575f80fd5b5f8060208385031215612efd575f80fd5b82356001600160401b03811115612f12575f80fd5b612ea085828601612eac565b5f8060408385031215612f2f575f80fd5b8235612f3a81612aff565b91506020830135612c2081612aff565b5f805f8060408587031215612f5d575f80fd5b84356001600160401b0380821115612f73575f80fd5b612f7f88838901612eac565b90965094506020870135915080821115612f97575f80fd5b50612fa487828801612eac565b95989497509550505050565b5f60208284031215612fc0575f80fd5b813561256f81612aff565b5f805f60408486031215612fdd575f80fd5b8335612fe881612aff565b925060208401356001600160401b03811115613002575f80fd5b61300e86828701612e2a565b9497909650939450505050565b5f805f83850361014081121561302f575f80fd5b843561303a81612aff565b9350602085013561304a81612aff565b9250610100603f198201121561305e575f80fd5b506040840190509250925092565b5f6020828403121561307c575f80fd5b81356001600160401b03811115613091575f80fd5b8201610300818503121561256f575f80fd5b5f80604083850312156130b4575f80fd5b82356130bf81612aff565b91506020830135612c2081612c41565b5f805f80608085870312156130e2575f80fd5b84356130ed81612aff565b93506020858101356130fe81612aff565b93506040860135925060608601356001600160401b0380821115613120575f80fd5b818801915088601f830112613133575f80fd5b81358181111561314557613145612ca6565b613157601f8201601f19168501612ce2565b9150808252898482850101111561316c575f80fd5b80848401858401375f8482840101525080935050505092959194509250565b600181811c9082168061319f57607f821691505b602082108103612c3b57634e487b7160e01b5f52602260045260245ffd5b803565ffffffffffff81168114612c59575f80fd5b6001600160501b036131e382612d12565b1682526131f2602082016131bd565b65ffffffffffff80821660208501528061320e604085016131bd565b166040850152505061322260608201612d4e565b61ffff80821660608501528061323a60808501612d4e565b166080850152505060a081013561325081612c41565b80151560a0840152505050565b60c0810161083a82846131d2565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761083a5761083a61326b565b5f826132b057634e487b7160e01b5f52601260045260245ffd5b500490565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b5f808335601e198436030181126132f2575f80fd5b83016020810192503590506001600160401b03811115613310575f80fd5b803603821315612e67575f80fd5b5f6060830182358452602080840135601e1985360301811261333e575f80fd5b840181810190356001600160401b03811115613358575f80fd5b8060051b80360383131561336a575f80fd5b606084890152938190526080938701840193829088015f5b838110156133bc57898703607f1901825261339d83866132dd565b6133a88982846132b5565b985050509185019190850190600101613382565b5050505050506133cf60408401846132dd565b85830360408701526133e28382846132b5565b9695505050505050565b602081525f61256f602083018461331e565b6001600160601b0381168114611d01575f80fd5b5f60208284031215613422575f80fd5b813561256f816133fe565b813561343881612aff565b81546001600160a01b03199081166001600160a01b039290921691821783556020840135613465816133fe565b60a01b1617905550565b6001600160501b03815116825262ffffff6020820151166020830152604081015164ffffffffff8082166040850152806060840151166060850152806080840151166080850152505060a081015161ffff80821660a08501528060c08401511660c085015250505050565b6001600160a01b0383168152610100810161256f602083018461346f565b601f821115610926575f81815260208120601f850160051c8101602086101561351e5750805b601f850160051c820191505b81811015610a025782815560010161352a565b6001600160401b0383111561355457613554612ca6565b61356883613562835461318b565b836134f8565b5f601f841160018114613599575f85156135825750838201355b5f19600387901b1c1916600186901b178355610fb1565b5f83815260209020601f19861690835b828110156135c957868501358255602094850194600190920191016135a9565b50868210156135e5575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b8181038181111561083a5761083a61326b565b8082018082111561083a5761083a61326b565b634e487b7160e01b5f52603260045260245ffd5b5f600182016136425761364261326b565b5060010190565b602081525f6128e46020830184866132b5565b803563ffffffff81168114612c59575f80fd5b6001600160501b0361368082612d12565b16825261ffff61369260208301612d4e565b1660208301526136a4604082016131bd565b65ffffffffffff8082166040850152806136c0606085016131bd565b1660608501525050608081013560ff811681146136db575f80fd5b60ff1660808301526136ef60a0820161365c565b63ffffffff1660a083015261370660c08201612d4e565b61ffff1660c083015261371b60e08201612c4e565b80151560e0840152505050565b6001600160a01b0383168152610120810161256f602083018461366f565b5f808335601e1984360301811261375b575f80fd5b8301803591506001600160401b03821115613774575f80fd5b602001915036819003821315612e67575f80fd5b5f60208284031215613798575f80fd5b61256f826131bd565b6001600160a01b038316815260e0810161256f60208301846131d2565b6001600160a01b03841681526040602082018190525f906137e290830184866132b5565b95945050505050565b5f8235605e198336030181126137ff575f80fd5b9190910192915050565b6001600160a01b03831681526040602082018190525f906128e49083018461331e565b5f808335601e19843603018112613841575f80fd5b8301803591506001600160401b0382111561385a575f80fd5b6020019150600581901b3603821315612e67575f80fd5b6001600160a01b039384168152919092166020820152901515604082015260600190565b5f808335601e198436030181126138aa575f80fd5b8301803591506001600160401b038211156138c3575f80fd5b6020019150600881901b3603821315612e67575f80fd5b6001600160a01b0384811682528316602082015261014081016128e4604083018461366f565b5f6101408201905060018060a01b0380861683528085166020840152506001600160501b03835116604083015261ffff602084015116606083015265ffffffffffff6040840151166080830152606083015161396660a084018265ffffffffffff169052565b50608083015160ff811660c08401525060a083015163ffffffff811660e08401525060c083015161ffff81166101008401525060e08301518015156101208401525b50949350505050565b5f808335601e198436030181126139c6575f80fd5b8301803591506001600160401b038211156139df575f80fd5b602001915060e081023603821315612e67575f80fd5b6001600160a01b0384811682528316602082015261012081016001600160501b03613a1f84612d12565b16604083015262ffffff613a3560208501612d28565b166060830152613a4760408401612d3a565b64ffffffffff808216608085015280613a6260608701612d3a565b1660a085015280613a7560808701612d3a565b1660c08501525050613a8960a08401612d4e565b61ffff1660e0830152613a9e60c08401612d4e565b61ffff81166101008401526139a8565b6001600160a01b0384811682528316602082015261012081016128e4604083018461346f565b5f8351613ae5818460208801612a89565b835190830190613af9818360208801612a89565b64173539b7b760d91b9101908152600501949350505050565b5f60208284031215613b22575f80fd5b815161256f81612c41565b60208082528181018390525f908460408401835b86811015613b6f578235613b5481612aff565b6001600160a01b031682529183019190830190600101613b41565b509695505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f906133e290830184612aab565b5f60208284031215613bbc575f80fd5b815161256f81612a5956fea2646970667358221220346259dc6ce8797442917e67836cddb6aa0b7c15e9408b83ffbf6b37c753f0c564736f6c63430008150033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001044696e6f20546865204469616d6f6e640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034454440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000005ea00ac477b1030ce78506496e8c2de24bf5
-----Decoded View---------------
Arg [0] : name (string): Dino The Diamond
Arg [1] : symbol (string): DTD
Arg [2] : allowedSeaDrop (address[]): 0x00005EA00Ac477B1030CE78506496e8C2dE24bf5
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [4] : 44696e6f20546865204469616d6f6e6400000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 4454440000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [8] : 00000000000000000000000000005ea00ac477b1030ce78506496e8c2de24bf5
Deployed Bytecode Sourcemap
127030:24857:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;142370:615;;;;;;;;;;-1:-1:-1;142370:615:0;;;;;:::i;:::-;;:::i;:::-;;;661:14:1;;654:22;636:41;;624:2;609:18;142370:615:0;;;;;;;;66899:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;73390:218::-;;;;;;;;;;-1:-1:-1;73390:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1793:32:1;;;1775:51;;1763:2;1748:18;73390:218:0;1629:203:1;144102:198:0;;;;;;:::i;:::-;;:::i;:::-;;121628:675;;;;;;;;;;-1:-1:-1;121628:675:0;;;;;:::i;:::-;;:::i;62650:323::-;;;;;;;;;;-1:-1:-1;130844:1:0;62924:12;62711:7;62908:13;:28;-1:-1:-1;;62908:46:0;62650:323;;;2624:25:1;;;2612:2;2597:18;62650:323:0;2478:177:1;134898:438:0;;;;;;;;;;-1:-1:-1;134898:438:0;;;;;:::i;:::-;;:::i;144769:206::-;;;;;;:::i;:::-;;:::i;125266:556::-;;;;;;;;;;-1:-1:-1;125266:556:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3978:32:1;;;3960:51;;4042:2;4027:18;;4020:34;;;;3933:18;125266:556:0;3786:274:1;135610:439:0;;;;;;;;;;-1:-1:-1;135610:439:0;;;;;:::i;:::-;;:::i;7770:143::-;;;;;;;;;;;;186:42;7770:143;;124657:111;;;;;;;;;;-1:-1:-1;124737:12:0;:23;-1:-1:-1;;;124737:23:0;;-1:-1:-1;;;;;124737:23:0;124657:111;;145071:214;;;;;;:::i;:::-;;:::i;122460:753::-;;;;;;;;;;-1:-1:-1;122460:753:0;;;;;:::i;:::-;;:::i;139100:465::-;;;;;;;;;;-1:-1:-1;139100:465:0;;;;;:::i;:::-;;:::i;140030:565::-;;;;;;;;;;-1:-1:-1;140030:565:0;;;;;:::i;:::-;;:::i;119060:397::-;;;;;;;;;;-1:-1:-1;119060:397:0;;;;;:::i;:::-;;:::i;129094:198::-;;;;;;;;;;-1:-1:-1;129094:198:0;;;;;:::i;:::-;;:::i;68292:152::-;;;;;;;;;;-1:-1:-1;68292:152:0;;;;;:::i;:::-;;:::i;133272:685::-;;;;;;;;;;-1:-1:-1;133272:685:0;;;;;:::i;:::-;;:::i;138301:430::-;;;;;;;;;;-1:-1:-1;138301:430:0;;;;;:::i;:::-;;:::i;134178:448::-;;;;;;;;;;-1:-1:-1;134178:448:0;;;;;:::i;:::-;;:::i;123296:102::-;;;;;;;;;;;;;:::i;120662:521::-;;;;;;;;;;-1:-1:-1;120662:521:0;;;;;:::i;:::-;;:::i;63834:233::-;;;;;;;;;;-1:-1:-1;63834:233:0;;;;;:::i;:::-;;:::i;46776:103::-;;;;;;;;;;;;;:::i;137578:410::-;;;;;;;;;;-1:-1:-1;137578:410:0;;;;;:::i;:::-;;:::i;136819:499::-;;;;;;;;;;-1:-1:-1;136819:499:0;;;;;:::i;:::-;;:::i;141844:370::-;;;;;;;;;;-1:-1:-1;141844:370:0;;;;;:::i;:::-;;:::i;:::-;;;;12599:25:1;;;12655:2;12640:18;;12633:34;;;;12683:18;;;12676:34;12587:2;12572:18;141844:370:0;12397:319:1;46128:87:0;;;;;;;;;;-1:-1:-1;46201:6:0;;-1:-1:-1;;;;;46201:6:0;46128:87;;146532:5352;;;;;;;;;;-1:-1:-1;146532:5352:0;;;;;:::i;:::-;;:::i;119604:354::-;;;;;;;;;;-1:-1:-1;119604:354:0;;;;;:::i;:::-;;:::i;67075:104::-;;;;;;;;;;;;;:::i;143367:208::-;;;;;;;;;;-1:-1:-1;143367:208:0;;;;;:::i;:::-;;:::i;120206:305::-;;;;;;;;;;-1:-1:-1;120206:305:0;;;;;:::i;:::-;;:::i;124456:111::-;;;;;;;;;;-1:-1:-1;124532:12:0;:27;-1:-1:-1;;;;;124532:27:0;124456:111;;127529:20;;;;;;;;;;-1:-1:-1;127529:20:0;;;;;;;;145923:247;;;;;;:::i;:::-;;:::i;124261:108::-;;;;;;;;;;-1:-1:-1;124346:15:0;;124261:108;;131192:653;;;;;;;;;;-1:-1:-1;131192:653:0;;;;;:::i;:::-;;:::i;140921:416::-;;;;;;;;;;-1:-1:-1;140921:416:0;;;;;:::i;:::-;;:::i;123918:87::-;;;;;;;;;;-1:-1:-1;123987:10:0;;123918:87;;123738:108;;;;;;;;;;;;;:::i;74339:164::-;;;;;;;;;;-1:-1:-1;74339:164:0;;;;;:::i;:::-;;:::i;47034:201::-;;;;;;;;;;-1:-1:-1;47034:201:0;;;;;:::i;:::-;;:::i;131975:84::-;;;;;;;;;;;;;:::i;142370:615::-;142533:4;-1:-1:-1;;;;;;142575:57:0;;-1:-1:-1;;;142575:57:0;;:136;;-1:-1:-1;;;;;;;142649:62:0;;-1:-1:-1;;;142649:62:0;142575:136;:402;;;;142941:36;142965:11;142941:23;:36::i;:::-;142555:422;142370:615;-1:-1:-1;;142370:615:0:o;66899:100::-;66953:13;66986:5;66979:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66899:100;:::o;73390:218::-;73466:7;73491:16;73499:7;73491;:16::i;:::-;73486:64;;73516:34;;-1:-1:-1;;;73516:34:0;;;;;;;;;;;73486:64;-1:-1:-1;73570:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;73570:30:0;;73390:218::o;144102:198::-;144234:8;9552:30;9573:8;9552:20;:30::i;:::-;144260:32:::1;144274:8;144284:7;144260:13;:32::i;:::-;144102:198:::0;;;:::o;121628:675::-;121770:18;:16;:18::i;:::-;121872:1;63317:13;-1:-1:-1;;63317:31:0;121855:18;121851:101;;121897:43;;-1:-1:-1;;;121897:43:0;;;;;;;;;;;121851:101;122071:15;;;122140:35;;;;122236:59;;;15366:25:1;;;15422:2;15407:18;;15400:34;;;122236:59:0;;15339:18:1;122236:59:0;;;;;;;;121691:612;121628:675;:::o;134898:438::-;135107:18;:16;:18::i;:::-;135181:32;135201:11;135181:19;:32::i;:::-;135278:50;;-1:-1:-1;;;135278:50:0;;-1:-1:-1;;;;;135278:38:0;;;;;:50;;135317:10;;135278:50;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;134898:438;;:::o;144769:206::-;144913:4;-1:-1:-1;;;;;9278:18:0;;9286:10;9278:18;9274:83;;9313:32;9334:10;9313:20;:32::i;:::-;144930:37:::1;144949:4;144955:2;144959:7;144930:18;:37::i;:::-;144769:206:::0;;;;:::o;125266:556::-;125531:12;125701:15;;125379:16;;;;125720:6;;125688:28;;-1:-1:-1;;;125701:15:0;;-1:-1:-1;;;;;125701:15:0;125688:10;:28;:::i;:::-;125687:39;;;;:::i;:::-;125795:19;;-1:-1:-1;;;;;125795:19:0;;125671:55;;-1:-1:-1;125266:556:0;-1:-1:-1;;;125266:556:0:o;135610:439::-;135824:18;:16;:18::i;:::-;135898:32;135918:11;135898:19;:32::i;:::-;135989:52;;-1:-1:-1;;;135989:52:0;;-1:-1:-1;;;;;135989:37:0;;;;;:52;;136027:13;;135989:52;;;:::i;145071:214::-;145219:4;-1:-1:-1;;;;;9278:18:0;;9286:10;9278:18;9274:83;;9313:32;9334:10;9313:20;:32::i;:::-;145236:41:::1;145259:4;145265:2;145269:7;145236:22;:41::i;122460:753::-:0;122602:18;:16;:18::i;:::-;122738:1;122704:22;;;;:7;:22;:::i;:::-;-1:-1:-1;;;;;122704:36:0;;122700:111;;122764:35;;-1:-1:-1;;;122764:35:0;;;;;;;;;;;122700:111;122915:6;122894:18;;;;;;;;:::i;:::-;-1:-1:-1;;;;;122894:27:0;;122890:112;;;122971:18;;;;;;;;:::i;:::-;122945:45;;-1:-1:-1;;;122945:45:0;;-1:-1:-1;;;;;20458:39:1;;;122945:45:0;;;20440:58:1;20413:18;;122945:45:0;;;;;;;;122890:112;123067:7;123052:12;:22;123067:7;123052:12;:22;:::i;:::-;-1:-1:-1;123143:62:0;;-1:-1:-1;123162:22:0;;;;:7;:22;:::i;:::-;123186:18;;;;;;;;:::i;:::-;123143:62;;;-1:-1:-1;;;;;21240:32:1;;;21222:51;;-1:-1:-1;;;;;21309:39:1;;;21304:2;21289:18;;21282:67;21195:18;123143:62:0;;;;;;;;122460:753;:::o;139100:465::-;139322:18;:16;:18::i;:::-;139396:32;139416:11;139396:19;:32::i;:::-;139487:70;;-1:-1:-1;;;139487:70:0;;-1:-1:-1;;;;;21546:32:1;;;139487:70:0;;;21528:51:1;21622:14;;21615:22;21595:18;;;21588:50;139487:47:0;;;;;21501:18:1;;139487:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;139100:465;;;:::o;140030:565::-;140310:18;:16;:18::i;:::-;140384:32;140404:11;140384:19;:32::i;:::-;140460:127;;-1:-1:-1;;;140460:127:0;;-1:-1:-1;;;;;140460:54:0;;;;;:127;;140529:6;;140550:26;;140460:127;;;:::i;119060:397::-;119205:18;:16;:18::i;:::-;119270:13;:26;119286:10;;119270:13;:26;:::i;:::-;-1:-1:-1;130844:1:0;62924:12;62711:7;62908:13;:28;-1:-1:-1;;62908:46:0;119356:18;119352:98;;119396:42;119416:1;119436;119419:14;62392:7;62419:13;;62337:103;119419:14;:18;;;;:::i;:::-;119396:42;;;15366:25:1;;;15422:2;15407:18;;15400:34;;;;15339:18;119396:42:0;15192:248:1;119352:98:0;119060:397;;:::o;129094:198::-;46014:13;:11;:13::i;:::-;129247:37:::1;129269:14;;129247:21;:37::i;68292:152::-:0;68364:7;68407:27;68426:7;68407:18;:27::i;133272:685::-;13468:21;:19;:21::i;:::-;133461:31:::1;133481:10;133461:19;:31::i;:::-;133513:8;::::0;::::1;;:17;133505:68;;;::::0;-1:-1:-1;;;133505:68:0;;25390:2:1;133505:68:0::1;::::0;::::1;25372:21:1::0;25429:2;25409:18;;;25402:30;25468:34;25448:18;;;25441:62;-1:-1:-1;;;25519:18:1;;;25512:36;25565:19;;133505:68:0::1;25188:402:1::0;133505:68:0::1;123987:10:::0;;133680:8:::1;133663:14;63126:7:::0;63317:13;-1:-1:-1;;63317:31:0;;63071:296;133663:14:::1;:25;;;;:::i;:::-;:39;133659:196;;;133790:8;133773:14;63126:7:::0;63317:13;-1:-1:-1;;63317:31:0;;63071:296;133773:14:::1;:25;;;;:::i;:::-;123987:10:::0;;133726:117:::1;::::0;-1:-1:-1;;;133726:117:0;;::::1;::::0;::::1;15366:25:1::0;;;;15407:18;;;15400:34;15339:18;;133726:117:0::1;15192:248:1::0;133659:196:0::1;133922:27;133932:6;133940:8;133922:9;:27::i;:::-;13512:20:::0;12906:1;14032:7;:22;13849:213;138301:430;138494:18;:16;:18::i;:::-;138568:32;138588:11;138568:19;:32::i;:::-;138660:63;;-1:-1:-1;;;138660:63:0;;-1:-1:-1;;;;;1793:32:1;;;138660:63:0;;;1775:51:1;138660:48:0;;;;;1748:18:1;;138660:63:0;1629:203:1;134178:448:0;46014:13;:11;:13::i;:::-;134295:38;;::::1;134287:117;;;::::0;-1:-1:-1;;;134287:117:0;;26180:2:1;134287:117:0::1;::::0;::::1;26162:21:1::0;26219:2;26199:18;;;26192:30;26258:34;26238:18;;;26231:62;26329:34;26309:18;;;26302:62;-1:-1:-1;;;26380:19:1;;;26373:33;26423:19;;134287:117:0::1;25978:470:1::0;134287:117:0::1;134420:9;134415:204;134435:21:::0;;::::1;134415:204;;;123987:10:::0;;134503::::1;;134514:1;134503:13;;;;;;;:::i;:::-;;;;;;;134486:14;63126:7:::0;63317:13;-1:-1:-1;;63317:31:0;;63071:296;134486:14:::1;:30;;;;:::i;:::-;:45;;134478:75;;;::::0;-1:-1:-1;;;134478:75:0;;26787:2:1;134478:75:0::1;::::0;::::1;26769:21:1::0;26826:2;26806:18;;;26799:30;-1:-1:-1;;;26845:18:1;;;26838:47;26902:18;;134478:75:0::1;26585:341:1::0;134478:75:0::1;134568:39;134578:10;;134589:1;134578:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;134593:10;;134604:1;134593:13;;;;;;;:::i;:::-;;;;;;;134568:9;:39::i;:::-;134458:3;::::0;::::1;:::i;:::-;;;134415:204;;;;134178:448:::0;;;;:::o;123296:102::-;123347:13;123380:10;:8;:10::i;:::-;123373:17;;123296:102;:::o;120662:521::-;120794:18;:16;:18::i;:::-;-1:-1:-1;;;;;120908:12:0;:24;120904:107;;;120956:43;;-1:-1:-1;;;120956:43:0;;;;;2624:25:1;;;2597:18;;120956:43:0;2478:177:1;120904:107:0;121059:10;:25;;;121145:30;;2624:25:1;;;121145:30:0;;2612:2:1;2597:18;121145:30:0;2478:177:1;63834:233:0;63906:7;-1:-1:-1;;;;;63930:19:0;;63926:60;;63958:28;;-1:-1:-1;;;63958:28:0;;;;;;;;;;;63926:60;-1:-1:-1;;;;;;64004:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;64004:55:0;;63834:233::o;46776:103::-;46014:13;:11;:13::i;:::-;46841:30:::1;46868:1;46841:18;:30::i;:::-;46776:103::o:0;137578:410::-;137784:18;:16;:18::i;:::-;137858:32;137878:11;137858:19;:32::i;:::-;137936:44;;-1:-1:-1;;;137936:44:0;;-1:-1:-1;;;;;137936:35:0;;;;;:44;;137972:7;;;;137936:44;;;:::i;136819:499::-;137074:18;:16;:18::i;:::-;137148:32;137168:11;137148:19;:32::i;:::-;137240:70;;-1:-1:-1;;;137240:70:0;;-1:-1:-1;;;;;137240:42:0;;;;;:70;;137283:15;;137300:9;;137240:70;;;:::i;141844:370::-;-1:-1:-1;;;;;64238:25:0;;141964:23;64238:25;;;:18;:25;;58131:2;64238:25;;;;:50;;-1:-1:-1;;;;;64237:82:0;;141964:23;142159:14;63126:7;63317:13;-1:-1:-1;;63317:31:0;;63071:296;142159:14;142196:10;;141844:370;;142138:35;;-1:-1:-1;141844:370:0;-1:-1:-1;;141844:370:0:o;146532:5352::-;46014:13;:11;:13::i;:::-;146651:16;::::1;:20:::0;146647:88:::1;;146688:35;::::0;-1:-1:-1;;;146688:35:0;;146706:16;::::1;146688:35;::::0;::::1;2624:25:1::0;146688:4:0::1;::::0;:17:::1;::::0;2597:18:1;;146688:35:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;146647:88;146755:14;;::::0;::::1;:6:::0;:14:::1;:::i;:::-;146749:33:::0;;-1:-1:-1;146745:97:0::1;;146799:4;:15;146815:14;;::::0;::::1;:6:::0;:14:::1;:::i;:::-;146799:31;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;146745:97;146862:18;;::::0;::::1;:6:::0;:18:::1;:::i;:::-;146856:37:::0;;-1:-1:-1;146852:109:0::1;;146910:4;:19;146930:18;;::::0;::::1;:6:::0;:18:::1;:::i;:::-;146910:39;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;146852:109;147048:37;147054:25;::::0;;;;;;::::1;:::i;:::-;:30;;::::0;::::1;126626:1:::0;126529:116;147048:37:::1;146989:39;146995:27;::::0;;;;;;::::1;:::i;146989:39::-;:96;147102:1;146989:114:::0;146971:231:::1;;147130:4;:21;147152:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;147172:6;:17;;147130:60;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;146971:231;147222:14;;::::0;::::1;:6:::0;:14:::1;:::i;:::-;147216:33:::0;;-1:-1:-1;147212:120:0::1;;147266:4;:18;147285;::::0;;;::::1;::::0;::::1;;:::i;:::-;147305:14;;::::0;::::1;:6:::0;:14:::1;:::i;:::-;147266:54;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;147212:120;147389:1;147346:20;;::::0;::::1;:6:::0;:20:::1;:::i;:::-;:31;:45;147342:140;;147408:4;:20;147429:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;147449:20;;::::0;::::1;:6:::0;:20:::1;:::i;:::-;147408:62;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;147342:140;147535:1;147496:27;::::0;;;::::1;::::0;::::1;;:::i;:::-;-1:-1:-1::0;;;;;147496:41:0::1;;147492:203;;147554:4;:31;147604:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;147641:27;::::0;;;::::1;::::0;::::1;;:::i;:::-;147554:129;::::0;-1:-1:-1;;;;;;147554:129:0::1;::::0;;;;;;-1:-1:-1;;;;;31455:15:1;;;147554:129:0::1;::::0;::::1;31437:34:1::0;31507:15;;31487:18;;;31480:43;31372:18;;147554:129:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;147492:203;147709:21;::::0;::::1;;:35:::0;147705:113:::1;;147761:45;::::0;-1:-1:-1;;;147761:45:0;;147784:21:::1;::::0;::::1;;147761:45;::::0;::::1;2624:25:1::0;147761:4:0::1;::::0;:22:::1;::::0;2597:18:1;;147761:45:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;147705:113;147869:1;147832:27;;::::0;::::1;:6:::0;:27:::1;:::i;:::-;:34;;:38;147828:411;;;147892:9;147887:341;147911:27;;::::0;::::1;:6:::0;:27:::1;:::i;:::-;:34;;147907:1;:38;147887:341;;;147968:4;:30;148021:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;148062:27;;::::0;::::1;:6:::0;:27:::1;:::i;:::-;148090:1;148062:30;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;148115:4;147968:170;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;148190:3;;;;;147887:341;;;;147828:411;148293:1;148253:30;;::::0;::::1;:6:::0;:30:::1;:::i;:::-;:37;;:41;148249:421;;;148316:9;148311:348;148335:30;;::::0;::::1;:6:::0;:30:::1;:::i;:::-;:37;;148331:1;:41;148311:348;;;148395:4;:30;148448:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;148489:30;;::::0;::::1;:6:::0;:30:::1;:::i;:::-;148520:1;148489:33;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;148545:5;148395:174;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;148621:3;;;;;148311:348;;;;148249:421;148714:1;148684:20;;::::0;::::1;:6:::0;:20:::1;:::i;:::-;:27;;:31;148680:376;;;148737:9;148732:313;148756:20;;::::0;::::1;:6:::0;:20:::1;:::i;:::-;:27;;148752:1;:31;148732:313;;;148806:4;:16;148845:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;148886:20;;::::0;::::1;:6:::0;:20:::1;:::i;:::-;148907:1;148886:23;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;148932:4;148806:149;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;149007:3;;;;;148732:313;;;;148680:376;149103:1;149070:23;;::::0;::::1;:6:::0;:23:::1;:::i;:::-;:30;;:34;149066:386;;;149126:9;149121:320;149145:23;;::::0;::::1;:6:::0;:23:::1;:::i;:::-;:30;;149141:1;:34;149121:320;;;149198:4;:16;149237:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;149278:23;;::::0;::::1;:6:::0;:23:::1;:::i;:::-;149302:1;149278:26;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;149327:5;149198:153;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;149403:3;;;;;149121:320;;;;149066:386;149503:1;149466:27;;::::0;::::1;:6:::0;:27:::1;:::i;:::-;:34;;:38;149462:647;;;149598:33;;::::0;::::1;:6:::0;:33:::1;:::i;:::-;:40:::0;-1:-1:-1;149543:27:0::1;;::::0;::::1;:6:::0;:27:::1;:::i;:::-;:34;;:95;149521:195;;149680:20;;-1:-1:-1::0;;;149680:20:0::1;;;;;;;;;;;149521:195;149735:9;149730:368;149754:27;;::::0;::::1;:6:::0;:27:::1;:::i;:::-;:34;;149750:1;:38;149730:368;;;149811:4;:25;149859:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;149900:33;;::::0;::::1;:6:::0;:33:::1;:::i;:::-;149934:1;149900:36;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;149959:27;;::::0;::::1;:6:::0;:27:::1;:::i;:::-;149987:1;149959:30;;;;;;;:::i;:::-;;;;;;149811:197;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;150060:3;;;;;149730:368;;;;149462:647;150176:1;150123:43;;::::0;::::1;:6:::0;:43:::1;:::i;:::-;:50;;:54;150119:566;;;150217:9;150194:480;150253:43;;::::0;::::1;:6:::0;:43:::1;:::i;:::-;:50;;150249:1;:54;150194:480;;;-1:-1:-1::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;150397:4:0::1;:25;150445:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;150486:43;;::::0;::::1;:6:::0;:43:::1;:::i;:::-;150530:1;150486:46;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;150555:10;150397:187;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;150636:3;;;;;150322:352;150194:480;;;;150119:566;150742:1;150699:33;;::::0;::::1;:6:::0;:33:::1;:::i;:::-;:40;;:44;150695:692;;;150843:14;;::::0;::::1;:6:::0;:14:::1;:::i;:::-;:21:::0;-1:-1:-1;150782:33:0::1;;::::0;::::1;:6:::0;:33:::1;:::i;:::-;:40;;:82;150760:179;;150906:17;;-1:-1:-1::0;;;150906:17:0::1;;;;;;;;;;;150760:179;150976:9;150953:423;151012:33;;::::0;::::1;:6:::0;:33:::1;:::i;:::-;:40;;151008:1;:44;150953:423;;;151090:4;:37;151150:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;151191:14;;::::0;::::1;:6:::0;:14:::1;:::i;:::-;151206:1;151191:17;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;151231:33;;::::0;::::1;:6:::0;:33:::1;:::i;:::-;151265:1;151231:36;;;;;;;:::i;:::-;;;;;;151090:196;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;151338:3;;;;;150953:423;;;;150695:692;151435:1;151401:24;;::::0;::::1;:6:::0;:24:::1;:::i;:::-;:31;;:35;151397:480;;;151458:9;151453:413;151477:24;;::::0;::::1;:6:::0;:24:::1;:::i;:::-;:31;;151473:1;:35;151453:413;;;-1:-1:-1::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;151595:4:0::1;:37;151655:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;151696:24;;::::0;::::1;:6:::0;:24:::1;:::i;:::-;151721:1;151696:27;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;151746:11;151595:181;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;151828:3;;;;;151512:354;151453:413;;151397:480;146532:5352:::0;:::o;119604:354::-;119757:18;:16;:18::i;:::-;119826:12;:29;119841:14;;119826:12;:29;:::i;:::-;;119916:34;119935:14;;119916:34;;;;;;;:::i;67075:104::-;67131:13;67164:7;67157:14;;;;;:::i;143367:208::-;143498:8;9552:30;9573:8;9552:20;:30::i;:::-;143524:43:::1;143548:8;143558;143524:23;:43::i;120206:305::-:0;120381:18;:16;:18::i;:::-;120460:43;;;15366:25:1;;;15422:2;15407:18;;15400:34;;;120460:43:0;;15339:18:1;120460:43:0;15192:248:1;145923:247:0;146098:4;-1:-1:-1;;;;;9278:18:0;;9286:10;9278:18;9274:83;;9313:32;9334:10;9313:20;:32::i;:::-;146115:47:::1;146138:4;146144:2;146148:7;146157:4;146115:22;:47::i;131192:653::-:0;131310:13;131346:16;131354:7;131346;:16::i;:::-;131341:59;;131371:29;;-1:-1:-1;;;131371:29:0;;;;;;;;;;;131341:59;131413:21;131437:10;:8;:10::i;:::-;131413:34;;131518:7;131512:21;131537:1;131512:26;131508:68;;-1:-1:-1;;131555:9:0;;;;;;;;;-1:-1:-1;131555:9:0;;;131192:653;-1:-1:-1;131192:653:0:o;131508:68::-;131700:10;;;;;;;;;;;;;-1:-1:-1;;;131700:10:0;;;;;;;131670:21;;;;:25;;;:::i;:::-;131655:41;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;;131655:41:0;:58;131651:105;;131737:7;131192:653;-1:-1:-1;;131192:653:0:o;131651:105::-;131799:7;131808:18;131818:7;131808:9;:18::i;:::-;131782:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;131768:69;;;131192:653;;;:::o;140921:416::-;141131:18;:16;:18::i;:::-;141205:32;141225:11;141205:19;:32::i;:::-;141280:49;;-1:-1:-1;;;141280:49:0;;-1:-1:-1;;;;;21546:32:1;;;141280:49:0;;;21528:51:1;21622:14;;21615:22;21595:18;;;21588:50;141280:33:0;;;;;21501:18:1;;141280:49:0;21360:284:1;123738:108:0;123793:13;123826:12;123819:19;;;;;:::i;74339:164::-;-1:-1:-1;;;;;74460:25:0;;;74436:4;74460:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;74339:164::o;47034:201::-;46014:13;:11;:13::i;:::-;-1:-1:-1;;;;;47123:22:0;::::1;47115:73;;;::::0;-1:-1:-1;;;47115:73:0;;37926:2:1;47115:73:0::1;::::0;::::1;37908:21:1::0;37965:2;37945:18;;;37938:30;38004:34;37984:18;;;37977:62;-1:-1:-1;;;38055:18:1;;;38048:36;38101:19;;47115:73:0::1;37724:402:1::0;47115:73:0::1;47199:28;47218:8;47199:18;:28::i;131975:84::-:0;46014:13;:11;:13::i;:::-;132043:8:::1;::::0;;-1:-1:-1;;132031:20:0;::::1;132043:8;::::0;;::::1;132042:9;132031:20;::::0;;131975:84::o;125978:346::-;126126:4;-1:-1:-1;;;;;;126168:41:0;;-1:-1:-1;;;126168:41:0;;:83;;-1:-1:-1;;;;;;;;;;126226:25:0;;;126168:83;:148;;;;126280:36;126304:11;126280:23;:36::i;74761:282::-;74826:4;74882:7;130844:1;74863:26;;:66;;;;;74916:13;;74906:7;:23;74863:66;:153;;;;-1:-1:-1;;74967:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;74967:44:0;:49;;74761:282::o;9695:647::-;186:42;9886:45;:49;9882:453;;10185:67;;-1:-1:-1;;;10185:67:0;;10236:4;10185:67;;;31437:34:1;-1:-1:-1;;;;;31507:15:1;;31487:18;;;31480:43;186:42:0;;10185;;31372:18:1;;10185:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;10180:144;;10280:28;;-1:-1:-1;;;10280:28:0;;-1:-1:-1;;;;;1793:32:1;;10280:28:0;;;1775:51:1;1748:18;;10280:28:0;1629:203:1;72823:408:0;72912:13;72928:16;72936:7;72928;:16::i;:::-;72912:32;-1:-1:-1;97156:10:0;-1:-1:-1;;;;;72961:28:0;;;72957:175;;73009:44;73026:5;97156:10;74339:164;:::i;73009:44::-;73004:128;;73081:35;;-1:-1:-1;;;73081:35:0;;;;;;;;;;;73004:128;73144:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;73144:35:0;-1:-1:-1;;;;;73144:35:0;;;;;;;;;73195:28;;73144:24;;73195:28;;;;;;;72901:330;72823:408;;:::o;118494:218::-;118624:4;118602:10;:27;118565:28;118585:7;46201:6;;-1:-1:-1;;;;;46201:6:0;;46128:87;118585:7;-1:-1:-1;;;;;118571:21:0;:10;-1:-1:-1;;;;;118571:21:0;;126626:1;126529:116;118565:28;:65;118647:1;118565:83;118547:158;;118682:11;;-1:-1:-1;;;118682:11:0;;;;;;;;;;;127835:170;-1:-1:-1;;;;;127910:24:0;;;;;;:15;:24;;;;;;;;:32;;:24;:32;127906:92;;127966:20;;-1:-1:-1;;;127966:20:0;;;;;;;;;;;77029:2825;77171:27;77201;77220:7;77201:18;:27::i;:::-;77171:57;;77286:4;-1:-1:-1;;;;;77245:45:0;77261:19;-1:-1:-1;;;;;77245:45:0;;77241:86;;77299:28;;-1:-1:-1;;;77299:28:0;;;;;;;;;;;77241:86;77341:27;76137:24;;;:15;:24;;;;;76365:26;;97156:10;75762:30;;;-1:-1:-1;;;;;75455:28:0;;75740:20;;;75737:56;77527:180;;77620:43;77637:4;97156:10;74339:164;:::i;77620:43::-;77615:92;;77672:35;;-1:-1:-1;;;77672:35:0;;;;;;;;;;;77615:92;-1:-1:-1;;;;;77724:16:0;;77720:52;;77749:23;;-1:-1:-1;;;77749:23:0;;;;;;;;;;;77720:52;77921:15;77918:160;;;78061:1;78040:19;78033:30;77918:160;-1:-1:-1;;;;;78458:24:0;;;;;;;:18;:24;;;;;;78456:26;;-1:-1:-1;;78456:26:0;;;78527:22;;;;;;;;;78525:24;;-1:-1:-1;78525:24:0;;;71681:11;71656:23;71652:41;71639:63;-1:-1:-1;;;71639:63:0;78820:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;79115:47:0;;:52;;79111:627;;79220:1;79210:11;;79188:19;79343:30;;;:17;:30;;;;;;:35;;79339:384;;79481:13;;79466:11;:28;79462:242;;79628:30;;;;:17;:30;;;;;:52;;;79462:242;79169:569;79111:627;79785:7;79781:2;-1:-1:-1;;;;;79766:27:0;79775:4;-1:-1:-1;;;;;79766:27:0;;;;;;;;;;;79804:42;144769:206;79950:193;80096:39;80113:4;80119:2;80123:7;80096:39;;;;;;;;;;;;:16;:39::i;46293:132::-;46201:6;;-1:-1:-1;;;;;46201:6:0;97156:10;46357:23;46349:68;;;;-1:-1:-1;;;46349:68:0;;38583:2:1;46349:68:0;;;38565:21:1;;;38602:18;;;38595:30;38661:34;38641:18;;;38634:62;38713:18;;46349:68:0;38381:356:1;129462:996:0;129656:25;:46;129744:14;129615:38;129813:200;129837:30;129833:1;:34;129813:200;;;129934:5;129886:15;:45;129902:25;129928:1;129902:28;;;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;129902:28:0;129886:45;;;;;;;;;;;;:53;;-1:-1:-1;;129886:53:0;;;;;;;;;;-1:-1:-1;129983:3:0;129813:200;;;;130093:9;130088:178;130112:20;130108:1;:24;130088:178;;;130188:4;130151:15;:34;130167:14;;130182:1;130167:17;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;130151:34:0;;;;;;;;;;;;-1:-1:-1;130151:34:0;:41;;-1:-1:-1;;130151:41:0;;;;;;;;;;-1:-1:-1;130236:3:0;130088:178;;;-1:-1:-1;130311:42:0;:25;130339:14;;130311:42;:::i;:::-;;130413:37;130435:14;;130413:37;;;;;;;:::i;:::-;;;;;;;;129537:921;;129462:996;;:::o;69447:1275::-;69514:7;69549;;130844:1;69598:23;69594:1061;;69651:13;;69644:4;:20;69640:1015;;;69689:14;69706:23;;;:17;:23;;;;;;;-1:-1:-1;;;69795:24:0;;:29;;69791:845;;70460:113;70467:6;70477:1;70467:11;70460:113;;-1:-1:-1;;;70538:6:0;70520:25;;;;:17;:25;;;;;;70460:113;;;70606:6;69447:1275;-1:-1:-1;;;69447:1275:0:o;69791:845::-;69666:989;69640:1015;70683:31;;-1:-1:-1;;;70683:31:0;;;;;;;;;;;13548:293;12950:1;13682:7;;:19;13674:63;;;;-1:-1:-1;;;13674:63:0;;39654:2:1;13674:63:0;;;39636:21:1;39693:2;39673:18;;;39666:30;39732:33;39712:18;;;39705:61;39783:18;;13674:63:0;39452:355:1;13674:63:0;12950:1;13815:7;:18;13548:293::o;90901:112::-;90978:27;90988:2;90992:8;90978:27;;;;;;;;;;;;:9;:27::i;123534:114::-;123594:13;123627;123620:20;;;;;:::i;47395:191::-;47488:6;;;-1:-1:-1;;;;;47505:17:0;;;-1:-1:-1;;;;;;47505:17:0;;;;;;;47538:40;;47488:6;;;47505:17;47488:6;;47538:40;;47469:16;;47538:40;47458:128;47395:191;:::o;73948:234::-;97156:10;74043:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;74043:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;74043:60:0;;;;;;;;;;74119:55;;636:41:1;;;74043:49:0;;97156:10;74119:55;;609:18:1;74119:55:0;;;;;;;73948:234;;:::o;80741:407::-;80916:31;80929:4;80935:2;80939:7;80916:12;:31::i;:::-;-1:-1:-1;;;;;80962:14:0;;;:19;80958:183;;81001:56;81032:4;81038:2;81042:7;81051:5;81001:30;:56::i;:::-;80996:145;;81085:40;;-1:-1:-1;;;81085:40:0;;;;;;;;;;;97276:1745;97341:17;97775:4;97768;97762:11;97758:22;97867:1;97861:4;97854:15;97942:4;97939:1;97935:12;97928:19;;;98024:1;98019:3;98012:14;98128:3;98367:5;98349:428;98415:1;98410:3;98406:11;98399:18;;98586:2;98580:4;98576:13;98572:2;98568:22;98563:3;98555:36;98680:2;98670:13;;98737:25;98349:428;98737:25;-1:-1:-1;98807:13:0;;;-1:-1:-1;;98922:14:0;;;98984:19;;;98922:14;97276:1745;-1:-1:-1;97276:1745:0:o;65997:639::-;66082:4;-1:-1:-1;;;;;;;;;66406:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;66483:25:0;;;66406:102;:179;;;-1:-1:-1;;;;;;;;66560:25:0;-1:-1:-1;;;66560:25:0;;65997:639::o;90128:689::-;90259:19;90265:2;90269:8;90259:5;:19::i;:::-;-1:-1:-1;;;;;90320:14:0;;;:19;90316:483;;90360:11;90374:13;90422:14;;;90455:233;90486:62;90525:1;90529:2;90533:7;;;;;;90542:5;90486:30;:62::i;:::-;90481:167;;90584:40;;-1:-1:-1;;;90584:40:0;;;;;;;;;;;90481:167;90683:3;90675:5;:11;90455:233;;90770:3;90753:13;;:20;90749:34;;90775:8;;;83232:716;83416:88;;-1:-1:-1;;;83416:88:0;;83395:4;;-1:-1:-1;;;;;83416:45:0;;;;;:88;;97156:10;;83483:4;;83489:7;;83498:5;;83416:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;83416:88:0;;;;;;;;-1:-1:-1;;83416:88:0;;;;;;;;;;;;:::i;:::-;;;83412:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83699:6;:13;83716:1;83699:18;83695:235;;83745:40;;-1:-1:-1;;;83745:40:0;;;;;;;;;;;83695:235;83888:6;83882:13;83873:6;83869:2;83865:15;83858:38;83412:529;-1:-1:-1;;;;;;83575:64:0;-1:-1:-1;;;83575:64:0;;-1:-1:-1;83412:529:0;83232:716;;;;;;:::o;84410:2966::-;84483:20;84506:13;;;84534;;;84530:44;;84556:18;;-1:-1:-1;;;84556:18:0;;;;;;;;;;;84530:44;-1:-1:-1;;;;;85062:22:0;;;;;;:18;:22;;;;58131:2;85062:22;;;:71;;85100:32;85088:45;;85062:71;;;85376:31;;;:17;:31;;;;;-1:-1:-1;72112:15:0;;72086:24;72082:46;71681:11;71656:23;71652:41;71649:52;71639:63;;85376:173;;85611:23;;;;85376:31;;85062:22;;86376:25;85062:22;;86229:335;86890:1;86876:12;86872:20;86830:346;86931:3;86922:7;86919:16;86830:346;;87149:7;87139:8;87136:1;87109:25;87106:1;87103;87098:59;86984:1;86971:15;86830:346;;;86834:77;87209:8;87221:1;87209:13;87205:45;;87231:19;;-1:-1:-1;;;87231:19:0;;;;;;;;;;;87205:45;87267:13;:19;-1:-1:-1;144102:198:0;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;688:250::-;773:1;783:113;797:6;794:1;791:13;783:113;;;873:11;;;867:18;854:11;;;847:39;819:2;812:10;783:113;;;-1:-1:-1;;930:1:1;912:16;;905:27;688:250::o;943:271::-;985:3;1023:5;1017:12;1050:6;1045:3;1038:19;1066:76;1135:6;1128:4;1123:3;1119:14;1112:4;1105:5;1101:16;1066:76;:::i;:::-;1196:2;1175:15;-1:-1:-1;;1171:29:1;1162:39;;;;1203:4;1158:50;;943:271;-1:-1:-1;;943:271:1:o;1219:220::-;1368:2;1357:9;1350:21;1331:4;1388:45;1429:2;1418:9;1414:18;1406:6;1388:45;:::i;1444:180::-;1503:6;1556:2;1544:9;1535:7;1531:23;1527:32;1524:52;;;1572:1;1569;1562:12;1524:52;-1:-1:-1;1595:23:1;;1444:180;-1:-1:-1;1444:180:1:o;1837:131::-;-1:-1:-1;;;;;1912:31:1;;1902:42;;1892:70;;1958:1;1955;1948:12;1973:315;2041:6;2049;2102:2;2090:9;2081:7;2077:23;2073:32;2070:52;;;2118:1;2115;2108:12;2070:52;2157:9;2144:23;2176:31;2201:5;2176:31;:::i;:::-;2226:5;2278:2;2263:18;;;;2250:32;;-1:-1:-1;;;1973:315:1:o;2660:407::-;2757:6;2765;2809:9;2800:7;2796:23;2839:3;2835:2;2831:12;2828:32;;;2856:1;2853;2846:12;2828:32;2895:9;2882:23;2914:31;2939:5;2914:31;:::i;:::-;2964:5;-1:-1:-1;3003:3:1;-1:-1:-1;;2985:16:1;;2981:26;2978:46;;;3020:1;3017;3010:12;2978:46;;3058:2;3047:9;3043:18;3033:28;;2660:407;;;;;:::o;3072:456::-;3149:6;3157;3165;3218:2;3206:9;3197:7;3193:23;3189:32;3186:52;;;3234:1;3231;3224:12;3186:52;3273:9;3260:23;3292:31;3317:5;3292:31;:::i;:::-;3342:5;-1:-1:-1;3399:2:1;3384:18;;3371:32;3412:33;3371:32;3412:33;:::i;:::-;3072:456;;3464:7;;-1:-1:-1;;;3518:2:1;3503:18;;;;3490:32;;3072:456::o;3533:248::-;3601:6;3609;3662:2;3650:9;3641:7;3637:23;3633:32;3630:52;;;3678:1;3675;3668:12;3630:52;-1:-1:-1;;3701:23:1;;;3771:2;3756:18;;;3743:32;;-1:-1:-1;3533:248:1:o;4065:526::-;4165:6;4173;4226:2;4214:9;4205:7;4201:23;4197:32;4194:52;;;4242:1;4239;4232:12;4194:52;4281:9;4268:23;4300:31;4325:5;4300:31;:::i;:::-;4350:5;-1:-1:-1;4406:2:1;4391:18;;4378:32;-1:-1:-1;;;;;4422:30:1;;4419:50;;;4465:1;4462;4455:12;4419:50;4488:22;;4544:2;4526:16;;;4522:25;4519:45;;;4560:1;4557;4550:12;4519:45;4583:2;4573:12;;;4065:526;;;;;:::o;4835:197::-;4925:6;4978:2;4966:9;4957:7;4953:23;4949:32;4946:52;;;4994:1;4991;4984:12;4946:52;-1:-1:-1;5017:9:1;4835:197;-1:-1:-1;4835:197:1:o;5037:118::-;5123:5;5116:13;5109:21;5102:5;5099:32;5089:60;;5145:1;5142;5135:12;5160:128;5225:20;;5254:28;5225:20;5254:28;:::i;:::-;5160:128;;;:::o;5293:523::-;5367:6;5375;5383;5436:2;5424:9;5415:7;5411:23;5407:32;5404:52;;;5452:1;5449;5442:12;5404:52;5491:9;5478:23;5510:31;5535:5;5510:31;:::i;:::-;5560:5;-1:-1:-1;5617:2:1;5602:18;;5589:32;5630:33;5589:32;5630:33;:::i;:::-;5682:7;-1:-1:-1;5741:2:1;5726:18;;5713:32;5754:30;5713:32;5754:30;:::i;:::-;5803:7;5793:17;;;5293:523;;;;;:::o;5821:127::-;5882:10;5877:3;5873:20;5870:1;5863:31;5913:4;5910:1;5903:15;5937:4;5934:1;5927:15;5953:253;6025:2;6019:9;6067:4;6055:17;;-1:-1:-1;;;;;6087:34:1;;6123:22;;;6084:62;6081:88;;;6149:18;;:::i;:::-;6185:2;6178:22;5953:253;:::o;6211:275::-;6282:2;6276:9;6347:2;6328:13;;-1:-1:-1;;6324:27:1;6312:40;;-1:-1:-1;;;;;6367:34:1;;6403:22;;;6364:62;6361:88;;;6429:18;;:::i;:::-;6465:2;6458:22;6211:275;;-1:-1:-1;6211:275:1:o;6491:175::-;6558:20;;-1:-1:-1;;;;;6607:34:1;;6597:45;;6587:73;;6656:1;6653;6646:12;6671:161;6738:20;;6798:8;6787:20;;6777:31;;6767:59;;6822:1;6819;6812:12;6837:165;6904:20;;6964:12;6953:24;;6943:35;;6933:63;;6992:1;6989;6982:12;7007:159;7074:20;;7134:6;7123:18;;7113:29;;7103:57;;7156:1;7153;7146:12;7171:1102;7291:6;7299;7307;7351:9;7342:7;7338:23;7381:3;7377:2;7373:12;7370:32;;;7398:1;7395;7388:12;7370:32;7437:9;7424:23;7456:31;7481:5;7456:31;:::i;:::-;7506:5;-1:-1:-1;7563:2:1;7548:18;;7535:32;7576:33;7535:32;7576:33;:::i;:::-;7628:7;-1:-1:-1;7669:4:1;-1:-1:-1;;7651:16:1;;7647:27;7644:47;;;7687:1;7684;7677:12;7644:47;;7715:22;;:::i;:::-;7762:37;7795:2;7784:9;7780:18;7762:37;:::i;:::-;7753:7;7746:54;7834:37;7867:2;7856:9;7852:18;7834:37;:::i;:::-;7829:2;7820:7;7816:16;7809:63;7906:38;7939:3;7928:9;7924:19;7906:38;:::i;:::-;7901:2;7892:7;7888:16;7881:64;7979:38;8012:3;8001:9;7997:19;7979:38;:::i;:::-;7974:2;7965:7;7961:16;7954:64;8053:38;8086:3;8075:9;8071:19;8053:38;:::i;:::-;8047:3;8038:7;8034:17;8027:65;8127:39;8160:4;8149:9;8145:20;8127:39;:::i;:::-;8121:3;8112:7;8108:17;8101:66;8202:38;8235:3;8224:9;8220:19;8202:38;:::i;:::-;8196:3;8187:7;8183:17;8176:65;8260:7;8250:17;;;7171:1102;;;;;:::o;8278:348::-;8330:8;8340:6;8394:3;8387:4;8379:6;8375:17;8371:27;8361:55;;8412:1;8409;8402:12;8361:55;-1:-1:-1;8435:20:1;;-1:-1:-1;;;;;8467:30:1;;8464:50;;;8510:1;8507;8500:12;8464:50;8547:4;8539:6;8535:17;8523:29;;8599:3;8592:4;8583:6;8575;8571:19;8567:30;8564:39;8561:59;;;8616:1;8613;8606:12;8561:59;8278:348;;;;;:::o;8631:411::-;8702:6;8710;8763:2;8751:9;8742:7;8738:23;8734:32;8731:52;;;8779:1;8776;8769:12;8731:52;8819:9;8806:23;-1:-1:-1;;;;;8844:6:1;8841:30;8838:50;;;8884:1;8881;8874:12;8838:50;8923:59;8974:7;8965:6;8954:9;8950:22;8923:59;:::i;:::-;9001:8;;8897:85;;-1:-1:-1;8631:411:1;-1:-1:-1;;;;8631:411:1:o;9047:367::-;9110:8;9120:6;9174:3;9167:4;9159:6;9155:17;9151:27;9141:55;;9192:1;9189;9182:12;9141:55;-1:-1:-1;9215:20:1;;-1:-1:-1;;;;;9247:30:1;;9244:50;;;9290:1;9287;9280:12;9244:50;9327:4;9319:6;9315:17;9303:29;;9387:3;9380:4;9370:6;9367:1;9363:14;9355:6;9351:27;9347:38;9344:47;9341:67;;;9404:1;9401;9394:12;9419:437;9505:6;9513;9566:2;9554:9;9545:7;9541:23;9537:32;9534:52;;;9582:1;9579;9572:12;9534:52;9622:9;9609:23;-1:-1:-1;;;;;9647:6:1;9644:30;9641:50;;;9687:1;9684;9677:12;9641:50;9726:70;9788:7;9779:6;9768:9;9764:22;9726:70;:::i;9861:388::-;9929:6;9937;9990:2;9978:9;9969:7;9965:23;9961:32;9958:52;;;10006:1;10003;9996:12;9958:52;10045:9;10032:23;10064:31;10089:5;10064:31;:::i;:::-;10114:5;-1:-1:-1;10171:2:1;10156:18;;10143:32;10184:33;10143:32;10184:33;:::i;10254:773::-;10376:6;10384;10392;10400;10453:2;10441:9;10432:7;10428:23;10424:32;10421:52;;;10469:1;10466;10459:12;10421:52;10509:9;10496:23;-1:-1:-1;;;;;10579:2:1;10571:6;10568:14;10565:34;;;10595:1;10592;10585:12;10565:34;10634:70;10696:7;10687:6;10676:9;10672:22;10634:70;:::i;:::-;10723:8;;-1:-1:-1;10608:96:1;-1:-1:-1;10811:2:1;10796:18;;10783:32;;-1:-1:-1;10827:16:1;;;10824:36;;;10856:1;10853;10846:12;10824:36;;10895:72;10959:7;10948:8;10937:9;10933:24;10895:72;:::i;:::-;10254:773;;;;-1:-1:-1;10986:8:1;-1:-1:-1;;;;10254:773:1:o;11032:247::-;11091:6;11144:2;11132:9;11123:7;11119:23;11115:32;11112:52;;;11160:1;11157;11150:12;11112:52;11199:9;11186:23;11218:31;11243:5;11218:31;:::i;11284:546::-;11364:6;11372;11380;11433:2;11421:9;11412:7;11408:23;11404:32;11401:52;;;11449:1;11446;11439:12;11401:52;11488:9;11475:23;11507:31;11532:5;11507:31;:::i;:::-;11557:5;-1:-1:-1;11613:2:1;11598:18;;11585:32;-1:-1:-1;;;;;11629:30:1;;11626:50;;;11672:1;11669;11662:12;11626:50;11711:59;11762:7;11753:6;11742:9;11738:22;11711:59;:::i;:::-;11284:546;;11789:8;;-1:-1:-1;11685:85:1;;-1:-1:-1;;;;11284:546:1:o;11835:557::-;11950:6;11958;11966;12010:9;12001:7;11997:23;12040:3;12036:2;12032:12;12029:32;;;12057:1;12054;12047:12;12029:32;12096:9;12083:23;12115:31;12140:5;12115:31;:::i;:::-;12165:5;-1:-1:-1;12222:2:1;12207:18;;12194:32;12235:33;12194:32;12235:33;:::i;:::-;12287:7;-1:-1:-1;12328:3:1;-1:-1:-1;;12310:16:1;;12306:26;12303:46;;;12345:1;12342;12335:12;12303:46;;12383:2;12372:9;12368:18;12358:28;;11835:557;;;;;:::o;12721:399::-;12819:6;12872:2;12860:9;12851:7;12847:23;12843:32;12840:52;;;12888:1;12885;12878:12;12840:52;12928:9;12915:23;-1:-1:-1;;;;;12953:6:1;12950:30;12947:50;;;12993:1;12990;12983:12;12947:50;13016:22;;13072:3;13054:16;;;13050:26;13047:46;;;13089:1;13086;13079:12;13125:382;13190:6;13198;13251:2;13239:9;13230:7;13226:23;13222:32;13219:52;;;13267:1;13264;13257:12;13219:52;13306:9;13293:23;13325:31;13350:5;13325:31;:::i;:::-;13375:5;-1:-1:-1;13432:2:1;13417:18;;13404:32;13445:30;13404:32;13445:30;:::i;13512:1108::-;13607:6;13615;13623;13631;13684:3;13672:9;13663:7;13659:23;13655:33;13652:53;;;13701:1;13698;13691:12;13652:53;13740:9;13727:23;13759:31;13784:5;13759:31;:::i;:::-;13809:5;-1:-1:-1;13833:2:1;13872:18;;;13859:32;13900:33;13859:32;13900:33;:::i;:::-;13952:7;-1:-1:-1;14006:2:1;13991:18;;13978:32;;-1:-1:-1;14061:2:1;14046:18;;14033:32;-1:-1:-1;;;;;14114:14:1;;;14111:34;;;14141:1;14138;14131:12;14111:34;14179:6;14168:9;14164:22;14154:32;;14224:7;14217:4;14213:2;14209:13;14205:27;14195:55;;14246:1;14243;14236:12;14195:55;14282:2;14269:16;14304:2;14300;14297:10;14294:36;;;14310:18;;:::i;:::-;14352:53;14395:2;14376:13;;-1:-1:-1;;14372:27:1;14368:36;;14352:53;:::i;:::-;14339:66;;14428:2;14421:5;14414:17;14468:7;14463:2;14458;14454;14450:11;14446:20;14443:33;14440:53;;;14489:1;14486;14479:12;14440:53;14544:2;14539;14535;14531:11;14526:2;14519:5;14515:14;14502:45;14588:1;14583:2;14578;14571:5;14567:14;14563:23;14556:34;;14609:5;14599:15;;;;;13512:1108;;;;;;;:::o;14807:380::-;14886:1;14882:12;;;;14929;;;14950:61;;15004:4;14996:6;14992:17;14982:27;;14950:61;15057:2;15049:6;15046:14;15026:18;15023:38;15020:161;;15103:10;15098:3;15094:20;15091:1;15084:31;15138:4;15135:1;15128:15;15166:4;15163:1;15156:15;15445:167;15512:20;;15572:14;15561:26;;15551:37;;15541:65;;15602:1;15599;15592:12;15815:746;-1:-1:-1;;;;;15904:24:1;15922:5;15904:24;:::i;:::-;15900:53;15895:3;15888:66;15983:35;16012:4;16005:5;16001:16;15983:35;:::i;:::-;16037:14;16101:2;16087:12;16083:21;16076:4;16071:3;16067:14;16060:45;16178:2;16141:35;16170:4;16163:5;16159:16;16141:35;:::i;:::-;16137:44;16130:4;16125:3;16121:14;16114:68;;;16213:35;16242:4;16235:5;16231:16;16213:35;:::i;:::-;16267:6;16325:2;16309:14;16305:23;16298:4;16293:3;16289:14;16282:47;16402:2;16365:35;16394:4;16387:5;16383:16;16365:35;:::i;:::-;16361:44;16354:4;16349:3;16345:14;16338:68;;;16454:4;16447:5;16443:16;16430:30;16469;16491:7;16469:30;:::i;:::-;16545:7;16538:15;16531:23;16524:4;16519:3;16515:14;16508:47;;15815:746;;:::o;16566:265::-;16756:3;16741:19;;16769:56;16745:9;16807:6;16769:56;:::i;16836:127::-;16897:10;16892:3;16888:20;16885:1;16878:31;16928:4;16925:1;16918:15;16952:4;16949:1;16942:15;16968:168;17041:9;;;17072;;17089:15;;;17083:22;;17069:37;17059:71;;17110:18;;:::i;17141:217::-;17181:1;17207;17197:132;;17251:10;17246:3;17242:20;17239:1;17232:31;17286:4;17283:1;17276:15;17314:4;17311:1;17304:15;17197:132;-1:-1:-1;17343:9:1;;17141:217::o;17363:267::-;17452:6;17447:3;17440:19;17504:6;17497:5;17490:4;17485:3;17481:14;17468:43;-1:-1:-1;17556:1:1;17531:16;;;17549:4;17527:27;;;17520:38;;;;17612:2;17591:15;;;-1:-1:-1;;17587:29:1;17578:39;;;17574:50;;17363:267::o;17635:501::-;17694:5;17701:6;17761:3;17748:17;17847:2;17843:7;17832:8;17816:14;17812:29;17808:43;17788:18;17784:68;17774:96;;17866:1;17863;17856:12;17774:96;17894:33;;17998:4;17985:18;;;-1:-1:-1;17946:21:1;;-1:-1:-1;;;;;;18015:30:1;;18012:50;;;18058:1;18055;18048:12;18012:50;18105:6;18089:14;18085:27;18078:5;18074:39;18071:59;;;18126:1;18123;18116:12;18141:1467;18206:3;18245:4;18240:3;18236:14;18284:5;18271:19;18266:3;18259:32;18310:4;18373:2;18366:5;18362:14;18349:28;18456:2;18452:7;18444:5;18428:14;18424:26;18420:40;18400:18;18396:65;18386:93;;18475:1;18472;18465:12;18386:93;18503:30;;18601:16;;;;18556:21;-1:-1:-1;;;;;18629:30:1;;18626:50;;;18672:1;18669;18662:12;18626:50;18702:6;18699:1;18695:14;18754:2;18738:14;18734:23;18725:7;18721:37;18718:57;;;18771:1;18768;18761:12;18718:57;18805:4;18791:12;;;18784:26;18845:20;;;;18892:3;18923:12;;;18919:22;;;18964:7;;18883:13;;18989:1;18999:377;19013:6;19010:1;19007:13;18999:377;;;19080:16;;;-1:-1:-1;;19076:31:1;19062:46;;19157:48;19198:6;19189:7;19157:48;:::i;:::-;19228:64;19285:6;19270:13;19255;19228:64;:::i;:::-;19218:74;-1:-1:-1;;;19315:15:1;;;;19352:14;;;;19035:1;19028:9;18999:377;;;19003:3;;;;;;19419:56;19469:4;19462:5;19458:16;19451:5;19419:56;:::i;:::-;19519:3;19511:6;19507:16;19500:4;19495:3;19491:14;19484:40;19540:62;19595:6;19581:12;19567;19540:62;:::i;:::-;19533:69;18141:1467;-1:-1:-1;;;;;;18141:1467:1:o;19613:285::-;19804:2;19793:9;19786:21;19767:4;19824:68;19888:2;19877:9;19873:18;19865:6;19824:68;:::i;19903:137::-;-1:-1:-1;;;;;19981:5:1;19977:38;19970:5;19967:49;19957:77;;20030:1;20027;20020:12;20045:245;20103:6;20156:2;20144:9;20135:7;20131:23;20127:32;20124:52;;;20172:1;20169;20162:12;20124:52;20211:9;20198:23;20230:30;20254:5;20230:30;:::i;20509:535::-;20682:5;20669:19;20697:33;20722:7;20697:33;:::i;:::-;20866:11;;-1:-1:-1;;;;;;20862:20:1;;;-1:-1:-1;;;;;20749:33:1;;;;20859:28;;;20846:42;;20936:2;20925:14;;20912:28;20949:32;20912:28;20949:32;:::i;:::-;21018:3;21014:17;21010:26;21003:34;20990:48;;-1:-1:-1;20509:535:1:o;21649:678::-;-1:-1:-1;;;;;21751:5:1;21745:12;21741:41;21736:3;21729:54;21844:8;21836:4;21829:5;21825:16;21819:23;21815:38;21808:4;21803:3;21799:14;21792:62;21900:4;21893:5;21889:16;21883:23;21925:12;21987:2;21973:12;21969:21;21962:4;21957:3;21953:14;21946:45;22052:2;22044:4;22037:5;22033:16;22027:23;22023:32;22016:4;22011:3;22007:14;22000:56;22117:2;22109:4;22102:5;22098:16;22092:23;22088:32;22081:4;22076:3;22072:14;22065:56;;;22169:4;22162:5;22158:16;22152:23;22194:6;22252:2;22236:14;22232:23;22225:4;22220:3;22216:14;22209:47;22317:2;22309:4;22302:5;22298:16;22292:23;22288:32;22281:4;22276:3;22272:14;22265:56;;;21649:678;;:::o;22332:399::-;-1:-1:-1;;;;;22611:32:1;;22593:51;;22580:3;22565:19;;22653:72;22721:2;22706:18;;22698:6;22653:72;:::i;22862:545::-;22964:2;22959:3;22956:11;22953:448;;;23000:1;23025:5;23021:2;23014:17;23070:4;23066:2;23056:19;23140:2;23128:10;23124:19;23121:1;23117:27;23111:4;23107:38;23176:4;23164:10;23161:20;23158:47;;;-1:-1:-1;23199:4:1;23158:47;23254:2;23249:3;23245:12;23242:1;23238:20;23232:4;23228:31;23218:41;;23309:82;23327:2;23320:5;23317:13;23309:82;;;23372:17;;;23353:1;23342:13;23309:82;;23583:1206;-1:-1:-1;;;;;23702:3:1;23699:27;23696:53;;;23729:18;;:::i;:::-;23758:94;23848:3;23808:38;23840:4;23834:11;23808:38;:::i;:::-;23802:4;23758:94;:::i;:::-;23878:1;23903:2;23898:3;23895:11;23920:1;23915:616;;;;24575:1;24592:3;24589:93;;;-1:-1:-1;24648:19:1;;;24635:33;24589:93;-1:-1:-1;;23540:1:1;23536:11;;;23532:24;23528:29;23518:40;23564:1;23560:11;;;23515:57;24695:78;;23888:895;;23915:616;22809:1;22802:14;;;22846:4;22833:18;;-1:-1:-1;;23951:17:1;;;24052:9;24074:229;24088:7;24085:1;24082:14;24074:229;;;24177:19;;;24164:33;24149:49;;24284:4;24269:20;;;;24237:1;24225:14;;;;24104:12;24074:229;;;24078:3;24331;24322:7;24319:16;24316:159;;;24455:1;24451:6;24445:3;24439;24436:1;24432:11;24428:21;24424:34;24420:39;24407:9;24402:3;24398:19;24385:33;24381:79;24373:6;24366:95;24316:159;;;24518:1;24512:3;24509:1;24505:11;24501:19;24495:4;24488:33;23888:895;;23583:1206;;;:::o;24794:128::-;24861:9;;;24882:11;;;24879:37;;;24896:18;;:::i;25595:125::-;25660:9;;;25681:10;;;25678:36;;;25694:18;;:::i;26453:127::-;26514:10;26509:3;26505:20;26502:1;26495:31;26545:4;26542:1;26535:15;26569:4;26566:1;26559:15;26931:135;26970:3;26991:17;;;26988:43;;27011:18;;:::i;:::-;-1:-1:-1;27058:1:1;27047:13;;26931:135::o;27071:247::-;27230:2;27219:9;27212:21;27193:4;27250:62;27308:2;27297:9;27293:18;27285:6;27277;27250:62;:::i;27403:163::-;27470:20;;27530:10;27519:22;;27509:33;;27499:61;;27556:1;27553;27546:12;27670:1003;-1:-1:-1;;;;;27768:24:1;27786:5;27768:24;:::i;:::-;27764:53;27759:3;27752:66;27891:6;27854:35;27883:4;27876:5;27872:16;27854:35;:::i;:::-;27850:48;27843:4;27838:3;27834:14;27827:72;27928:35;27957:4;27950:5;27946:16;27928:35;:::i;:::-;27982:14;28046:2;28032:12;28028:21;28021:4;28016:3;28012:14;28005:45;28123:2;28086:35;28115:4;28108:5;28104:16;28086:35;:::i;:::-;28082:44;28075:4;28070:3;28066:14;28059:68;;;28175:4;28168:5;28164:16;28151:30;28225:4;28216:7;28212:18;28203:7;28200:31;28190:59;;28245:1;28242;28235:12;28190:59;27390:4;27379:16;28293:4;28284:14;;27367:29;28330:35;28359:4;28348:16;;28330:35;:::i;:::-;27647:10;27636:22;28417:4;28408:14;;27624:35;28454;28483:4;28472:16;;28454:35;:::i;:::-;15796:6;15785:18;28541:4;28532:14;;15773:31;28578:33;28605:4;28594:16;;28578:33;:::i;:::-;470:13;;463:21;28661:4;28652:14;;451:34;144102:198:0;;;:::o;28678:389:1:-;-1:-1:-1;;;;;28945:32:1;;28927:51;;28914:3;28899:19;;28987:74;29057:2;29042:18;;29034:6;28987:74;:::i;29072:522::-;29150:4;29156:6;29216:11;29203:25;29310:2;29306:7;29295:8;29279:14;29275:29;29271:43;29251:18;29247:68;29237:96;;29329:1;29326;29319:12;29237:96;29356:33;;29408:20;;;-1:-1:-1;;;;;;29440:30:1;;29437:50;;;29483:1;29480;29473:12;29437:50;29516:4;29504:17;;-1:-1:-1;29547:14:1;29543:27;;;29533:38;;29530:58;;;29584:1;29581;29574:12;29599:184;29657:6;29710:2;29698:9;29689:7;29685:23;29681:32;29678:52;;;29726:1;29723;29716:12;29678:52;29749:28;29767:9;29749:28;:::i;29788:362::-;-1:-1:-1;;;;;30037:32:1;;30019:51;;30006:3;29991:19;;30079:65;30140:2;30125:18;;30117:6;30079:65;:::i;30155:344::-;-1:-1:-1;;;;;30342:32:1;;30324:51;;30411:2;30406;30391:18;;30384:30;;;-1:-1:-1;;30431:62:1;;30474:18;;30466:6;30458;30431:62;:::i;:::-;30423:70;30155:344;-1:-1:-1;;;;;30155:344:1:o;30504:329::-;30602:4;30660:11;30647:25;30754:2;30750:7;30739:8;30723:14;30719:29;30715:43;30695:18;30691:68;30681:96;;30773:1;30770;30763:12;30681:96;30794:33;;;;;30504:329;-1:-1:-1;;30504:329:1:o;30838:382::-;-1:-1:-1;;;;;31057:32:1;;31039:51;;31126:2;31121;31106:18;;31099:30;;;-1:-1:-1;;31146:68:1;;31195:18;;31187:6;31146:68;:::i;31534:545::-;31627:4;31633:6;31693:11;31680:25;31787:2;31783:7;31772:8;31756:14;31752:29;31748:43;31728:18;31724:68;31714:96;;31806:1;31803;31796:12;31714:96;31833:33;;31885:20;;;-1:-1:-1;;;;;;31917:30:1;;31914:50;;;31960:1;31957;31950:12;31914:50;31993:4;31981:17;;-1:-1:-1;32044:1:1;32040:14;;;32024;32020:35;32010:46;;32007:66;;;32069:1;32066;32059:12;32084:385;-1:-1:-1;;;;;32336:15:1;;;32318:34;;32388:15;;;;32383:2;32368:18;;32361:43;32447:14;;32440:22;32435:2;32420:18;;32413:50;32268:2;32253:18;;32084:385::o;32474:583::-;32605:4;32611:6;32671:11;32658:25;32765:2;32761:7;32750:8;32734:14;32730:29;32726:43;32706:18;32702:68;32692:96;;32784:1;32781;32774:12;32692:96;32811:33;;32863:20;;;-1:-1:-1;;;;;;32895:30:1;;32892:50;;;32938:1;32935;32928:12;32892:50;32971:4;32959:17;;-1:-1:-1;33022:1:1;33018:14;;;33002;32998:35;32988:46;;32985:66;;;33047:1;33044;33037:12;33062:490;-1:-1:-1;;;;;33395:15:1;;;33377:34;;33447:15;;33442:2;33427:18;;33420:43;33326:3;33311:19;;33472:74;33542:2;33527:18;;33519:6;33472:74;:::i;33557:1214::-;33777:4;33819:3;33808:9;33804:19;33796:27;;33859:1;33855;33850:3;33846:11;33842:19;33900:2;33892:6;33888:15;33877:9;33870:34;33952:2;33944:6;33940:15;33935:2;33924:9;33920:18;33913:43;;-1:-1:-1;;;;;34002:6:1;33996:13;33992:42;33987:2;33976:9;33972:18;33965:70;34099:6;34093:2;34085:6;34081:15;34075:22;34071:35;34066:2;34055:9;34051:18;34044:63;34172:14;34166:2;34158:6;34154:15;34148:22;34144:43;34138:3;34127:9;34123:19;34116:72;34235:2;34227:6;34223:15;34217:22;34248:52;34295:3;34284:9;34280:19;34266:12;15693:14;15682:26;15670:39;;15617:98;34248:52;-1:-1:-1;34349:3:1;34337:16;;34331:23;27390:4;27379:16;;34411:3;34396:19;;27367:29;-1:-1:-1;34465:3:1;34453:16;;34447:23;27647:10;27636:22;;34528:3;34513:19;;27624:35;-1:-1:-1;34582:3:1;34570:16;;34564:23;15796:6;15785:18;;34645:3;34630:19;;15773:31;-1:-1:-1;34699:3:1;34687:16;;34681:23;470:13;;463:21;34760:3;34745:19;;451:34;34713:52;;33557:1214;;;;;;:::o;34776:593::-;34914:4;34920:6;34980:11;34967:25;35074:2;35070:7;35059:8;35043:14;35039:29;35035:43;35015:18;35011:68;35001:96;;35093:1;35090;35083:12;35001:96;35120:33;;35172:20;;;-1:-1:-1;;;;;;35204:30:1;;35201:50;;;35247:1;35244;35237:12;35201:50;35280:4;35268:17;;-1:-1:-1;35339:4:1;35327:17;;35311:14;35307:38;35297:49;;35294:69;;;35359:1;35356;35349:12;35374:1172;-1:-1:-1;;;;;35721:15:1;;;35703:34;;35773:15;;35768:2;35753:18;;35746:43;35652:3;35637:19;;-1:-1:-1;;;;;35829:25:1;35847:6;35829:25;:::i;:::-;35825:54;35820:2;35809:9;35805:18;35798:82;35956:8;35920:34;35950:2;35942:6;35938:15;35920:34;:::i;:::-;35916:49;35911:2;35900:9;35896:18;35889:77;35995:34;36025:2;36017:6;36013:15;35995:34;:::i;:::-;36048:12;36115:2;36101:12;36097:21;36091:3;36080:9;36076:19;36069:50;36196:2;36160:34;36190:2;36182:6;36178:15;36160:34;:::i;:::-;36156:43;36150:3;36139:9;36135:19;36128:72;36278:2;36241:35;36271:3;36263:6;36259:16;36241:35;:::i;:::-;36237:44;36231:3;36220:9;36216:19;36209:73;;;36313:35;36343:3;36335:6;36331:16;36313:35;:::i;:::-;15796:6;15785:18;36406:3;36391:19;;15773:31;36442:35;36472:3;36460:16;;36442:35;:::i;:::-;15796:6;15785:18;;36535:3;36520:19;;15773:31;36486:54;15720:90;36551:500;-1:-1:-1;;;;;36896:15:1;;;36878:34;;36948:15;;36943:2;36928:18;;36921:43;36827:3;36812:19;;36973:72;37041:2;37026:18;;37018:6;36973:72;:::i;37056:663::-;37336:3;37374:6;37368:13;37390:66;37449:6;37444:3;37437:4;37429:6;37425:17;37390:66;:::i;:::-;37519:13;;37478:16;;;;37541:70;37519:13;37478:16;37588:4;37576:17;;37541:70;:::i;:::-;-1:-1:-1;;;37633:20:1;;37662:22;;;37711:1;37700:13;;37056:663;-1:-1:-1;;;;37056:663:1:o;38131:245::-;38198:6;38251:2;38239:9;38230:7;38226:23;38222:32;38219:52;;;38267:1;38264;38257:12;38219:52;38299:9;38293:16;38318:28;38340:5;38318:28;:::i;38742:705::-;38923:2;38975:21;;;38948:18;;;39031:22;;;38894:4;;39110:6;39084:2;39069:18;;38894:4;39144:277;39158:6;39155:1;39152:13;39144:277;;;39233:6;39220:20;39253:31;39278:5;39253:31;:::i;:::-;-1:-1:-1;;;;;39309:31:1;39297:44;;39396:15;;;;39361:12;;;;39337:1;39173:9;39144:277;;;-1:-1:-1;39438:3:1;38742:705;-1:-1:-1;;;;;;38742:705:1:o;39812:489::-;-1:-1:-1;;;;;40081:15:1;;;40063:34;;40133:15;;40128:2;40113:18;;40106:43;40180:2;40165:18;;40158:34;;;40228:3;40223:2;40208:18;;40201:31;;;40006:4;;40249:46;;40275:19;;40267:6;40249:46;:::i;40306:249::-;40375:6;40428:2;40416:9;40407:7;40403:23;40399:32;40396:52;;;40444:1;40441;40434:12;40396:52;40476:9;40470:16;40495:30;40519:5;40495:30;:::i
Swarm Source
ipfs://346259dc6ce8797442917e67836cddb6aa0b7c15e9408b83ffbf6b37c753f0c5
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.