More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 2,235 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Safe Transfer Fr... | 66655335 | 33 hrs ago | IN | 0 POL | 0.00437346 | ||||
Safe Transfer Fr... | 66626503 | 2 days ago | IN | 0 POL | 0.00186003 | ||||
Set Approval For... | 66551793 | 3 days ago | IN | 0 POL | 0.00178134 | ||||
Safe Transfer Fr... | 66530307 | 4 days ago | IN | 0 POL | 0.00377469 | ||||
Safe Transfer Fr... | 66521517 | 4 days ago | IN | 0 POL | 0.00598162 | ||||
Safe Transfer Fr... | 66470641 | 6 days ago | IN | 0 POL | 0.00186003 | ||||
Safe Transfer Fr... | 66464554 | 6 days ago | IN | 0 POL | 0.00186003 | ||||
Set Approval For... | 66462117 | 6 days ago | IN | 0 POL | 0.00178777 | ||||
Set Approval For... | 66438122 | 6 days ago | IN | 0 POL | 0.00184474 | ||||
Transfer From | 66386698 | 8 days ago | IN | 0 POL | 0.0212141 | ||||
Safe Transfer Fr... | 66367301 | 8 days ago | IN | 0 POL | 0.00151257 | ||||
Transfer From | 66331354 | 9 days ago | IN | 0 POL | 0.00127637 | ||||
Transfer From | 66303626 | 10 days ago | IN | 0 POL | 0.00125594 | ||||
Set Approval For... | 66300673 | 10 days ago | IN | 0 POL | 0.0025179 | ||||
Transfer From | 66280335 | 10 days ago | IN | 0 POL | 0.00125567 | ||||
Set Approval For... | 66272908 | 11 days ago | IN | 0 POL | 0.00379773 | ||||
Transfer From | 66272859 | 11 days ago | IN | 0 POL | 0.00265655 | ||||
Set Approval For... | 66265713 | 11 days ago | IN | 0 POL | 0.00499819 | ||||
Safe Transfer Fr... | 66255044 | 11 days ago | IN | 0 POL | 0.00544599 | ||||
Transfer From | 66237690 | 12 days ago | IN | 0 POL | 0.0012558 | ||||
Transfer From | 66237668 | 12 days ago | IN | 0 POL | 0.02100464 | ||||
Transfer From | 66237657 | 12 days ago | IN | 0 POL | 0.02100464 | ||||
Safe Transfer Fr... | 66232393 | 12 days ago | IN | 0 POL | 0.00134703 | ||||
Safe Transfer Fr... | 66214758 | 12 days ago | IN | 0 POL | 0.00528144 | ||||
Safe Transfer Fr... | 66214730 | 12 days ago | IN | 0 POL | 0.0042157 |
Loading...
Loading
Contract Name:
Buds
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2023-11-27 */ pragma solidity 0.8.17; 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 } 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 } struct MintParams { uint256 mintPrice; uint256 maxTotalMintableByWallet; uint256 startTime; uint256 endTime; uint256 dropStageIndex; // non-zero uint256 maxTokenSupplyForStage; uint256 feeBps; bool restrictFeeRecipients; } struct TokenGatedMintParams { address allowedNftToken; uint256[] allowedNftTokenIds; } struct AllowListData { bytes32 merkleRoot; string[] publicKeyURIs; string allowListURI; } 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 } address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E; address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6; interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } 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; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @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; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // 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); } abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } 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); } 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); } 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); } } } } abstract contract ReentrancyGuard { uint256 private locked = 1; modifier nonReentrant() virtual { require(locked == 1, "REENTRANCY"); locked = 2; _; locked = 1; } } abstract contract ConstructorInitializable { error AlreadyInitialized(); modifier onlyConstructor() { if (address(this).code.length != 0) { revert AlreadyInitialized(); } _; } } abstract contract TwoStepOwnable is ConstructorInitializable { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); address internal potentialOwner; event PotentialOwnerUpdated(address newPotentialAdministrator); error NewOwnerIsZeroAddress(); error NotNextOwner(); error OnlyOwner(); modifier onlyOwner() { _checkOwner(); _; } constructor() { _initialize(); } function _initialize() private onlyConstructor { _transferOwnership(msg.sender); } ///@notice Initiate ownership transfer to newPotentialOwner. Note: new owner will have to manually acceptOwnership ///@param newPotentialOwner address of potential new owner function transferOwnership(address newPotentialOwner) public virtual onlyOwner { if (newPotentialOwner == address(0)) { revert NewOwnerIsZeroAddress(); } potentialOwner = newPotentialOwner; emit PotentialOwnerUpdated(newPotentialOwner); } ///@notice Claim ownership of smart contract, after the current owner has initiated the process with transferOwnership function acceptOwnership() public virtual { address _potentialOwner = potentialOwner; if (msg.sender != _potentialOwner) { revert NotNextOwner(); } delete potentialOwner; emit PotentialOwnerUpdated(address(0)); _transferOwnership(_potentialOwner); } ///@notice cancel ownership transfer function cancelOwnershipTransfer() public virtual onlyOwner { delete potentialOwner; emit PotentialOwnerUpdated(address(0)); } function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (_owner != msg.sender) { revert OnlyOwner(); } } /** * @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`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } 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; } } 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 ); } contract GameOwner is TwoStepOwnable { mapping(address => bool) public gameRoles; function addGameRole(address _game) public onlyOwner { gameRoles[_game] = true; } function gameAddGameRole(address _game) public onlyGame { gameRoles[_game] = true; } function gameRemoveGameRole(address _game) public onlyGame { gameRoles[_game] = false; } function removeGameRole(address _game) public onlyOwner { gameRoles[_game] = false; } modifier onlyGame() { require(gameRoles[msg.sender] == true, "You are not the game"); _; } } 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 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 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 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 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) } } } 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); } abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } abstract contract DefaultOperatorFilterer is OperatorFilterer { /// @dev The constructor that is called when the contract is being deployed. constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {} } 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); } 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); } contract ERC721ContractMetadata is ERC721A, TwoStepOwnable, 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; /** * @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 } } } 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; } contract ERC721SeaDrop 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; /** * @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))); } /** * @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); // 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 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 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 override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public 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 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 Buds is ERC721SeaDrop, Pausable, GameOwner { error InvalidQueryRange(); constructor( string memory name, string memory symbol, address[] memory allowedSeaDrop ) ERC721SeaDrop(name, symbol, allowedSeaDrop) { addGameRole(msg.sender); } function isApprovedForAll( address owner, address operator ) public view virtual override returns (bool) { return gameRoles[operator] || super.isApprovedForAll(owner, operator); } function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual override { super._beforeTokenTransfers(from, to, startTokenId, quantity); require(!paused(), "Pausable: token transfer while paused"); } function pause() external onlyGame { _pause(); } function unpause() external onlyGame { _unpause(); } // ERC721AQueryable function explicitOwnershipOf( uint256 tokenId ) public view returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } function explicitOwnershipsOf( uint256[] calldata tokenIds ) external view returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[]( tokenIdsLength ); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for ( uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i ) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } function tokensOfOwner( address owner ) external view returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for ( uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i ) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } }
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":"AlreadyInitialized","type":"error"},{"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":[],"name":"InvalidQueryRange","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":"NewOwnerIsZeroAddress","type":"error"},{"inputs":[],"name":"NotNextOwner","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":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newPotentialAdministrator","type":"address"}],"name":"PotentialOwnerUpdated","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_game","type":"address"}],"name":"addGameRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cancelOwnershipTransfer","outputs":[],"stateMutability":"nonpayable","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":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_game","type":"address"}],"name":"gameAddGameRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_game","type":"address"}],"name":"gameRemoveGameRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"gameRoles","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenanceHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_game","type":"address"}],"name":"removeGameRole","outputs":[],"stateMutability":"nonpayable","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newPotentialOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","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
60806040526001600f553480156200001657600080fd5b5060405162004b6738038062004b678339810160408190526200003991620004c6565b828282733cc6cdda760b79bafa08df41ecfa224f810dceb660018484818160026200006583826200066c565b5060036200007482826200066c565b50506001600055506200008662000296565b50506daaeb6d7670e522a718067333cd4e3b15620001cd5780156200011b57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015620000fc57600080fd5b505af115801562000111573d6000803e3d6000fd5b50505050620001cd565b6001600160a01b038216156200016c5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620000e1565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001b357600080fd5b505af1158015620001c8573d6000803e3d6000fd5b505050505b5050805160005b818110156200023357600160106000858481518110620001f857620001f862000738565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055600101620001d4565b508151620002499060119060208501906200036f565b506040517fd7aca75208b9be5ffc04c6a01922020ffd62b55e68e502e317f5344960279af890600090a150506012805460ff19169055506200028d905033620002c3565b5050506200074e565b303b15620002b65760405162dc149f60e41b815260040160405180910390fd5b620002c133620002f1565b565b620002cd62000343565b6001600160a01b03166000908152601360205260409020805460ff19166001179055565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b03163314620002c157604051635fc483c560e01b815260040160405180910390fd5b828054828255906000526020600020908101928215620003c7579160200282015b82811115620003c757825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019062000390565b50620003d5929150620003d9565b5090565b5b80821115620003d55760008155600101620003da565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715620004315762000431620003f0565b604052919050565b600082601f8301126200044b57600080fd5b81516001600160401b03811115620004675762000467620003f0565b60206200047d601f8301601f1916820162000406565b82815285828487010111156200049257600080fd5b60005b83811015620004b257858101830151828201840152820162000495565b506000928101909101919091529392505050565b600080600060608486031215620004dc57600080fd5b83516001600160401b0380821115620004f457600080fd5b620005028783880162000439565b94506020915081860151818111156200051a57600080fd5b620005288882890162000439565b9450506040860151818111156200053e57600080fd5b8601601f810188136200055057600080fd5b805182811115620005655762000565620003f0565b8060051b92506200057884840162000406565b818152928201840192848101908a8511156200059357600080fd5b928501925b84841015620005cd57835192506001600160a01b0383168314620005bc5760008081fd5b828252928501929085019062000598565b8096505050505050509250925092565b600181811c90821680620005f257607f821691505b6020821081036200061357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200066757600081815260208120601f850160051c81016020861015620006425750805b601f850160051c820191505b8181101562000663578281556001016200064e565b5050505b505050565b81516001600160401b03811115620006885762000688620003f0565b620006a081620006998454620005dd565b8462000619565b602080601f831160018114620006d85760008415620006bf5750858301515b600019600386901b1c1916600185901b17855562000663565b600085815260208120601f198616915b828110156200070957888601518255948401946001909101908401620006e8565b5085821015620007285787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b614409806200075e6000396000f3fe608060405234801561001057600080fd5b50600436106103835760003560e01c80636c0360eb116101de57806395d89b411161010f578063c23dc68f116100ad578063d5abeb011161007c578063d5abeb01146107c3578063e8a3d485146107cb578063e985e9c5146107d3578063f2fde38b146107e657600080fd5b8063c23dc68f14610775578063c6ab67a314610795578063c87b56dd1461079d578063cb743ba8146107b057600080fd5b8063a4830114116100e9578063a48301141461072b578063ad2f852a1461073e578063b35f51ad1461074f578063b88d4fde1461076257600080fd5b806395d89b41146106fd57806399a2557a14610705578063a22cb4651461071857600080fd5b80637bc2be761161017c5780638462151c116101565780638462151c146106a65780638da5cb5b146106c6578063911f456b146106d7578063938e3d7b146106ea57600080fd5b80637bc2be761461065d578063840e15d4146106705780638456cb591461069e57600080fd5b8063715018a6116101b8578063715018a6146106275780637323b8fa1461062f57806379ba5097146106425780637a05bc821461064a57600080fd5b80636c0360eb146105f95780636f8b44b01461060157806370a082311461061457600080fd5b806341f43434116102b857806355f804b31161025657806360c308b61161023057806360c308b6146105ad5780636352211e146105c057806364869dad146105d357806366251b69146105e657600080fd5b806355f804b31461056f5780635bbb2177146105825780635c975abb146105a257600080fd5b806344dae42c1161029257806344dae42c1461051357806348a4c101146105265780634b354ecf14610539578063511aa6441461055c57600080fd5b806341f43434146104d357806342260b5d146104e857806342842e0e1461050057600080fd5b80631b73593c1161032557806323b872dd116102ff57806323b872dd146104735780632a55205a146104865780633680620d146104b85780633f4ba83a146104cb57600080fd5b80631b73593c1461044557806323452b9c146104585780632348c8321461046057600080fd5b8063095ea7b311610361578063095ea7b3146103f0578063099b6bfa1461040557806318160ddd1461041857806319892b511461043257600080fd5b806301ffc9a71461038857806306fdde03146103b0578063081812fc146103c5575b600080fd5b61039b610396366004613158565b6107f9565b60405190151581526020015b60405180910390f35b6103b861083f565b6040516103a791906131c5565b6103d86103d33660046131d8565b6108d1565b6040516001600160a01b0390911681526020016103a7565b6104036103fe366004613206565b610915565b005b6104036104133660046131d8565b61092e565b60015460005403600019015b6040519081526020016103a7565b610403610440366004613232565b6109a1565b61040361045336600461324f565b6109ca565b610403610a3d565b61040361046e366004613232565b610a8c565b610403610481366004613290565b610aed565b6104996104943660046132d1565b610b18565b604080516001600160a01b0390931683526020830191909152016103a7565b6104036104c63660046132f3565b610b5e565b610403610b9b565b6103d86daaeb6d7670e522a718067333cd4e81565b600e54600160a01b90046001600160601b0316610424565b61040361050e366004613290565b610bd9565b610403610521366004613349565b610bfe565b61040361053436600461337f565b610d0f565b61039b610547366004613232565b60136020526000908152604090205460ff1681565b61040361056a366004613489565b610d89565b61040361057d3660046135a0565b610dc8565b610595610590366004613625565b610e3e565b6040516103a79190613696565b60125460ff1661039b565b6104036105bb366004613625565b610f09565b6103d86105ce3660046131d8565b610f1b565b6104036105e1366004613206565b610f26565b6104036105f43660046136d8565b610fe4565b6103b8611023565b61040361060f3660046131d8565b611032565b610424610622366004613232565b61109a565b6104036110e8565b61040361063d366004613232565b6110fa565b610403611102565b610403610658366004613706565b61117e565b61040361066b36600461375a565b6111bd565b61068361067e366004613232565b6111fc565b604080519384526020840192909252908201526060016103a7565b61040361123d565b6106b96106b4366004613232565b611279565b6040516103a791906137af565b6008546001600160a01b03166103d8565b6104036106e53660046137e7565b611381565b6104036106f83660046135a0565b611f9e565b6103b8611fe5565b6106b9610713366004613822565b611ff4565b610403610726366004613857565b61217b565b6104036107393660046132d1565b61218f565b600e546001600160a01b03166103d8565b61040361075d366004613232565b6121cd565b610403610770366004613885565b612201565b6107886107833660046131d8565b61222e565b6040516103a79190613948565b600d54610424565b6103b86107ab3660046131d8565b6122b6565b6104036107be36600461337f565b61238e565b600a54610424565b6103b86123d5565b61039b6107e13660046136d8565b6123e4565b6104036107f4366004613232565b612434565b60006001600160e01b03198216630c487f4760e11b148061082a57506001600160e01b03198216639c15441560e01b145b806108395750610839826124b1565b92915050565b60606002805461084e90613956565b80601f016020809104026020016040519081016040528092919081815260200182805461087a90613956565b80156108c75780601f1061089c576101008083540402835291602001916108c7565b820191906000526020600020905b8154815290600101906020018083116108aa57829003601f168201915b5050505050905090565b60006108dc826124f1565b6108f9576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b8161091f81612526565b61092983836125df565b505050565b61093661267f565b600054600019011561095b5760405163e03264af60e01b815260040160405180910390fd5b600d80549082905560408051828152602081018490527f7c22004198bf87da0f0dab623c72e66ca1200f4454aa3b9ca30f436275428b7c91015b60405180910390a15050565b6109a96126cf565b6001600160a01b03166000908152601360205260409020805460ff19169055565b6109d261267f565b6109db826126fa565b6040516301308e6560e01b81526001600160a01b038316906301308e6590610a07908490600401613a2b565b600060405180830381600087803b158015610a2157600080fd5b505af1158015610a35573d6000803e3d6000fd5b505050505050565b610a456126cf565b600980546001600160a01b0319169055604051600081527f11a3cf439fb225bfe74225716b6774765670ec1060e3796802e62139d69974da906020015b60405180910390a1565b3360009081526013602052604090205460ff161515600114610ac95760405162461bcd60e51b8152600401610ac090613a39565b60405180910390fd5b6001600160a01b03166000908152601360205260409020805460ff19166001179055565b826001600160a01b0381163314610b0757610b0733612526565b610b12848484612738565b50505050565b600e8054600091829161271090610b3f90600160a01b90046001600160601b031686613a7d565b610b499190613a94565b90546001600160a01b03169590945092505050565b610b6661267f565b610b6f826126fa565b60405163ebb4a55f60e01b81526001600160a01b0383169063ebb4a55f90610a07908490600401613bf7565b3360009081526013602052604090205460ff161515600114610bcf5760405162461bcd60e51b8152600401610ac090613a39565b610bd76128da565b565b826001600160a01b0381163314610bf357610bf333612526565b610b12848484612927565b610c0661267f565b6000610c156020830183613232565b6001600160a01b031603610c3c57604051631cc0baef60e01b815260040160405180910390fd5b612710610c4f6040830160208401613c1f565b6001600160601b03161115610c9357610c6e6040820160208301613c1f565b604051633cadbafb60e01b81526001600160601b039091166004820152602401610ac0565b80600e610ca08282613c3c565b507ff21fccf4d64d86d532c4e4eb86c007b6ad57a460c27d724188625e755ec6cf6d9050610cd16020830183613232565b610ce16040840160208501613c1f565b604080516001600160a01b0390931683526001600160601b039091166020830152015b60405180910390a150565b610d1761267f565b610d20836126fa565b604051638e7d1e4360e01b81526001600160a01b0383811660048301528215156024830152841690638e7d1e43906044015b600060405180830381600087803b158015610d6c57600080fd5b505af1158015610d80573d6000803e3d6000fd5b50505050505050565b610d9161267f565b610d9a836126fa565b6040516309a7002f60e31b81526001600160a01b03841690634d38017890610d529085908590600401613ce9565b610dd061267f565b600b610ddd828483613d4d565b50600154600054036000190115610e3a577f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c600180610e1b60005490565b610e259190613e0c565b60408051928352602083019190915201610995565b5050565b6060816000816001600160401b03811115610e5b57610e5b6133ca565b604051908082528060200260200182016040528015610ead57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610e795790505b50905060005b828114610f0057610edb868683818110610ecf57610ecf613e1f565b9050602002013561222e565b828281518110610eed57610eed613e1f565b6020908102919091010152600101610eb3565b50949350505050565b610f116126cf565b610e3a8282612942565b600061083982612a5c565b600f54600114610f655760405162461bcd60e51b815260206004820152600a6024820152695245454e5452414e435960b01b6044820152606401610ac0565b6002600f55610f73336126fa565b600a5481610f846000546000190190565b610f8e9190613e35565b1115610fd15780610fa26000546000190190565b610fac9190613e35565b600a5460405163384b48c560e21b815260048101929092526024820152604401610ac0565b610fdb8282612acb565b50506001600f55565b610fec61267f565b610ff5826126fa565b60405163024e71b760e31b81526001600160a01b0382811660048301528316906312738db890602401610a07565b606061102d612ae5565b905090565b61103a61267f565b6001600160401b038111156110655760405163b43e913760e01b815260048101829052602401610ac0565b600a8190556040518181527f7810bd47de260c3e9ee10061cf438099dd12256c79485f12f94dbccc981e806c90602001610d04565b60006001600160a01b0382166110c3576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6110f06126cf565b610bd76000612af4565b610ac96126cf565b6009546001600160a01b031633811461112e57604051636b7584e760e11b815260040160405180910390fd5b600980546001600160a01b0319169055604051600081527f11a3cf439fb225bfe74225716b6774765670ec1060e3796802e62139d69974da9060200160405180910390a161117b81612af4565b50565b61118661267f565b61118f836126fa565b60405163b957d0cb60e01b81526001600160a01b0384169063b957d0cb90610d529085908590600401613e48565b6111c561267f565b6111ce836126fa565b604051637ecd591560e11b81526001600160a01b0384169063fd9ab22a90610d529085908590600401613f2a565b6001600160a01b03811660009081526005602052604080822054901c6001600160401b031690806112306000546000190190565b600a549395909450915050565b3360009081526013602052604090205460ff1615156001146112715760405162461bcd60e51b8152600401610ac090613a39565b610bd7612b46565b606060008060006112898561109a565b90506000816001600160401b038111156112a5576112a56133ca565b6040519080825280602002602001820160405280156112ce578160200160208202803683370190505b5090506112fb60408051608081018252600080825260208201819052918101829052606081019190915290565b60015b8386146113755761130e81612b83565b9150816040015161136d5781516001600160a01b03161561132e57815194505b876001600160a01b0316856001600160a01b03160361136d578083878060010198508151811061136057611360613e1f565b6020026020010181815250505b6001016112fe565b50909695505050505050565b6113896126cf565b8035156113e2576040516306f8b44b60e41b8152813560048201523090636f8b44b090602401600060405180830381600087803b1580156113c957600080fd5b505af11580156113dd573d6000803e3d6000fd5b505050505b6113ef6020820182613f48565b15905061145957306355f804b36114096020840184613f48565b6040518363ffffffff1660e01b8152600401611426929190613e48565b600060405180830381600087803b15801561144057600080fd5b505af1158015611454573d6000803e3d6000fd5b505050505b6114666040820182613f48565b1590506114d0573063938e3d7b6114806040840184613f48565b6040518363ffffffff1660e01b815260040161149d929190613e48565b600060405180830381600087803b1580156114b757600080fd5b505af11580156114cb573d6000803e3d6000fd5b505050505b6114f06114e360e0830160c08401613f8e565b65ffffffffffff16151590565b6115036114e360c0840160a08501613f8e565b176001036115755730631b73593c6115216080840160608501613232565b836080016040518363ffffffff1660e01b8152600401611542929190613fa9565b600060405180830381600087803b15801561155c57600080fd5b505af1158015611570573d6000803e3d6000fd5b505050505b611583610140820182613f48565b1590506115ff5730637a05bc826115a06080840160608501613232565b6115ae610140850185613f48565b6040518463ffffffff1660e01b81526004016115cc93929190613fc6565b600060405180830381600087803b1580156115e657600080fd5b505af11580156115fa573d6000803e3d6000fd5b505050505b600061160f610160830183613ff4565b35146116895730633680620d61162b6080840160608501613232565b611639610160850185613ff4565b6040518363ffffffff1660e01b8152600401611656929190614014565b600060405180830381600087803b15801561167057600080fd5b505af1158015611684573d6000803e3d6000fd5b505050505b600061169d6101a083016101808401613232565b6001600160a01b03161461173457306366251b696116c16080840160608501613232565b6116d36101a085016101808601613232565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401600060405180830381600087803b15801561171b57600080fd5b505af115801561172f573d6000803e3d6000fd5b505050505b6101a081013515611795576040516304cdb5fd60e11b81526101a08201356004820152309063099b6bfa90602401600060405180830381600087803b15801561177c57600080fd5b505af1158015611790573d6000803e3d6000fd5b505050505b60006117a56101c0830183614038565b9050111561186f5760005b6117be6101c0830183614038565b905081101561186d57306348a4c1016117dd6080850160608601613232565b6117eb6101c0860186614038565b858181106117fb576117fb613e1f565b90506020020160208101906118109190613232565b60016040518463ffffffff1660e01b815260040161183093929190614081565b600060405180830381600087803b15801561184a57600080fd5b505af115801561185e573d6000803e3d6000fd5b505050508060010190506117b0565b505b600061187f6101e0830183614038565b905011156119495760005b6118986101e0830183614038565b905081101561194757306348a4c1016118b76080850160608601613232565b6118c56101e0860186614038565b858181106118d5576118d5613e1f565b90506020020160208101906118ea9190613232565b60006040518463ffffffff1660e01b815260040161190a93929190614081565b600060405180830381600087803b15801561192457600080fd5b505af1158015611938573d6000803e3d6000fd5b5050505080600101905061188a565b505b6000611959610200830183614038565b90501115611a235760005b611972610200830183614038565b9050811015611a21573063cb743ba86119916080850160608601613232565b61199f610200860186614038565b858181106119af576119af613e1f565b90506020020160208101906119c49190613232565b60016040518463ffffffff1660e01b81526004016119e493929190614081565b600060405180830381600087803b1580156119fe57600080fd5b505af1158015611a12573d6000803e3d6000fd5b50505050806001019050611964565b505b6000611a33610220830183614038565b90501115611afd5760005b611a4c610220830183614038565b9050811015611afb573063cb743ba8611a6b6080850160608601613232565b611a79610220860186614038565b85818110611a8957611a89613e1f565b9050602002016020810190611a9e9190613232565b60006040518463ffffffff1660e01b8152600401611abe93929190614081565b600060405180830381600087803b158015611ad857600080fd5b505af1158015611aec573d6000803e3d6000fd5b50505050806001019050611a3e565b505b6000611b0d6102608301836140a5565b90501115611c3857611b23610240820182614038565b9050611b336102608301836140a5565b905014611b535760405163b81aa63960e01b815260040160405180910390fd5b60005b611b646102608301836140a5565b9050811015611c365730637bc2be76611b836080850160608601613232565b611b91610240860186614038565b85818110611ba157611ba1613e1f565b9050602002016020810190611bb69190613232565b611bc46102608701876140a5565b86818110611bd457611bd4613e1f565b905061010002016040518463ffffffff1660e01b8152600401611bf9939291906140ee565b600060405180830381600087803b158015611c1357600080fd5b505af1158015611c27573d6000803e3d6000fd5b50505050806001019050611b56565b505b6000611c48610280830183614038565b90501115611d535760005b611c61610280830183614038565b9050811015611d51576040805161010081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e081019190915230637bc2be76611cc16080860160608701613232565b611ccf610280870187614038565b86818110611cdf57611cdf613e1f565b9050602002016020810190611cf49190613232565b846040518463ffffffff1660e01b8152600401611d1393929190614114565b600060405180830381600087803b158015611d2d57600080fd5b505af1158015611d41573d6000803e3d6000fd5b5050505081600101915050611c53565b505b6000611d636102c08301836141c2565b90501115611e8d57611d796102a0820182614038565b9050611d896102c08301836141c2565b905014611da9576040516374ef6df760e01b815260040160405180910390fd5b60005b611dba6102c08301836141c2565b9050811015611e8b573063511aa644611dd96080850160608601613232565b611de76102a0860186614038565b85818110611df757611df7613e1f565b9050602002016020810190611e0c9190613232565b611e1a6102c08701876141c2565b86818110611e2a57611e2a613e1f565b905060e002016040518463ffffffff1660e01b8152600401611e4e9392919061420a565b600060405180830381600087803b158015611e6857600080fd5b505af1158015611e7c573d6000803e3d6000fd5b50505050806001019050611dac565b505b6000611e9d6102e0830183614038565b9050111561117b5760005b611eb66102e0830183614038565b9050811015610e3a576040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091523063511aa644611f0e6080860160608701613232565b611f1c6102e0870187614038565b86818110611f2c57611f2c613e1f565b9050602002016020810190611f419190613232565b846040518463ffffffff1660e01b8152600401611f60939291906142c3565b600060405180830381600087803b158015611f7a57600080fd5b505af1158015611f8e573d6000803e3d6000fd5b5050505081600101915050611ea8565b611fa661267f565b600c611fb3828483613d4d565b507f905d981207a7d0b6c62cc46ab0be2a076d0298e4a86d0ab79882dbd01ac373788282604051610995929190613e48565b60606003805461084e90613956565b606081831061201657604051631960ccad60e11b815260040160405180910390fd5b60008061202260005490565b9050600185101561203257600194505b8084111561203e578093505b60006120498761109a565b9050848610156120685785850381811015612062578091505b5061206c565b5060005b6000816001600160401b03811115612086576120866133ca565b6040519080825280602002602001820160405280156120af578160200160208202803683370190505b509050816000036120c557935061217492505050565b60006120d08861222e565b9050600081604001516120e1575080515b885b8881141580156120f35750848714155b156121685761210181612b83565b925082604001516121605782516001600160a01b03161561212157825191505b8a6001600160a01b0316826001600160a01b031603612160578084888060010199508151811061215357612153613e1f565b6020026020010181815250505b6001016120e3565b50505092835250909150505b9392505050565b8161218581612526565b6109298383612bbf565b61219761267f565b60408051838152602081018390527f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c9101610995565b3360009081526013602052604090205460ff1615156001146109a95760405162461bcd60e51b8152600401610ac090613a39565b836001600160a01b038116331461221b5761221b33612526565b61222785858585612c2b565b5050505050565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061228757506000548310155b156122925792915050565b61229b83612b83565b90508060400151156122ad5792915050565b61217483612c6f565b60606122c1826124f1565b6122de57604051630a14c4b560e41b815260040160405180910390fd5b60006122e8612ae5565b90508051600003612309575050604080516020810190915260008152919050565b604080518082019091526001808252602f60f81b60209092018290528251839161233291613e0c565b8151811061234257612342613e1f565b01602001516001600160f81b0319161461235c5792915050565b8061236684612ca4565b6040516020016123779291906142e9565b604051602081830303815290604052915050919050565b61239661267f565b61239f836126fa565b604051633f952e6560e11b81526001600160a01b0383811660048301528215156024830152841690637f2a5cca90604401610d52565b6060600c805461084e90613956565b6001600160a01b03811660009081526013602052604081205460ff168061217457506001600160a01b0380841660009081526007602090815260408083209386168352929052205460ff16612174565b61243c6126cf565b6001600160a01b03811661246357604051633a247dd760e11b815260040160405180910390fd5b600980546001600160a01b0319166001600160a01b0383169081179091556040519081527f11a3cf439fb225bfe74225716b6774765670ec1060e3796802e62139d69974da90602001610d04565b60006001600160e01b0319821663152a902d60e11b14806124e25750632483248360e11b6001600160e01b03198316145b80610839575061083982612ce8565b600081600111158015612505575060005482105b8015610839575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b1561117b57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015612593573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125b79190614318565b61117b57604051633b79c77360e21b81526001600160a01b0382166004820152602401610ac0565b60006125ea82610f1b565b9050336001600160a01b038216146126235761260681336123e4565b612623576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b3033146126ae6126976008546001600160a01b031690565b6001600160a01b0316336001600160a01b03161490565b17600003610bd757604051635fc483c560e01b815260040160405180910390fd5b6008546001600160a01b03163314610bd757604051635fc483c560e01b815260040160405180910390fd5b6001600160a01b03811660009081526010602052604090205460ff16151560011461117b576040516315e26ff360e01b815260040160405180910390fd5b600061274382612a5c565b9050836001600160a01b0316816001600160a01b0316146127765760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176127c3576127a686336123e4565b6127c357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166127ea57604051633a954ecd60e21b815260040160405180910390fd5b6127f78686866001612d36565b801561280257600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003612894576001840160008181526004602052604081205490036128925760005481146128925760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610a35565b6128e2612d97565b6012805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b039091168152602001610a82565b61092983838360405180602001604052806000815250612201565b6011548160005b828110156129a6576000601060006011848154811061296a5761296a613e1f565b6000918252602080832091909101546001600160a01b031683528201929092526040019020805460ff1916911515919091179055600101612949565b5060005b81811015612a0f576001601060008787858181106129ca576129ca613e1f565b90506020020160208101906129df9190613232565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790556001016129aa565b50612a1c601185856130ca565b507fbbd3b69c138de4d317d0bc4290282c4e1cbd1e58b579a5b4f114b598c237454d8484604051612a4e929190614335565b60405180910390a150505050565b60008180600111612ab257600054811015612ab25760008181526004602052604081205490600160e01b82169003612ab0575b80600003612174575060001901600081815260046020526040902054612a8f565b505b604051636f96cda160e11b815260040160405180910390fd5b610e3a828260405180602001604052806000815250612de0565b6060600b805461084e90613956565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612b4e612e46565b6012805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861290f3390565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461083990612e8c565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b612c36848484610aed565b6001600160a01b0383163b15610b1257612c5284848484612ed3565b610b12576040516368d2bf6b60e11b815260040160405180910390fd5b604080516080810182526000808252602082018190529181018290526060810191909152610839612c9f83612a5c565b612e8c565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480612cbe5750819003601f19909101908152919050565b60006301ffc9a760e01b6001600160e01b031983161480612d1957506380ac58cd60e01b6001600160e01b03198316145b806108395750506001600160e01b031916635b5e139f60e01b1490565b60125460ff1615610b125760405162461bcd60e51b815260206004820152602560248201527f5061757361626c653a20746f6b656e207472616e73666572207768696c652070604482015264185d5cd95960da1b6064820152608401610ac0565b60125460ff16610bd75760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610ac0565b612dea8383612fbf565b6001600160a01b0383163b15610929576000548281035b612e146000868380600101945086612ed3565b612e31576040516368d2bf6b60e11b815260040160405180910390fd5b818110612e0157816000541461222757600080fd5b60125460ff1615610bd75760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610ac0565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612f08903390899088908890600401614383565b6020604051808303816000875af1925050508015612f43575060408051601f3d908101601f19168201909252612f40918101906143b6565b60015b612fa1573d808015612f71576040519150601f19603f3d011682016040523d82523d6000602084013e612f76565b606091505b508051600003612f99576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6000805490829003612fe45760405163b562e8dd60e01b815260040160405180910390fd5b612ff16000848385612d36565b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146130a057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101613068565b50816000036130c157604051622e076360e81b815260040160405180910390fd5b60005550505050565b82805482825590600052602060002090810192821561311d579160200282015b8281111561311d5781546001600160a01b0319166001600160a01b038435161782556020909201916001909101906130ea565b5061312992915061312d565b5090565b5b80821115613129576000815560010161312e565b6001600160e01b03198116811461117b57600080fd5b60006020828403121561316a57600080fd5b813561217481613142565b60005b83811015613190578181015183820152602001613178565b50506000910152565b600081518084526131b1816020860160208601613175565b601f01601f19169290920160200192915050565b6020815260006121746020830184613199565b6000602082840312156131ea57600080fd5b5035919050565b6001600160a01b038116811461117b57600080fd5b6000806040838503121561321957600080fd5b8235613224816131f1565b946020939093013593505050565b60006020828403121561324457600080fd5b8135612174816131f1565b60008082840360e081121561326357600080fd5b833561326e816131f1565b925060c0601f198201121561328257600080fd5b506020830190509250929050565b6000806000606084860312156132a557600080fd5b83356132b0816131f1565b925060208401356132c0816131f1565b929592945050506040919091013590565b600080604083850312156132e457600080fd5b50508035926020909101359150565b6000806040838503121561330657600080fd5b8235613311816131f1565b915060208301356001600160401b0381111561332c57600080fd5b83016060818603121561333e57600080fd5b809150509250929050565b60006040828403121561335b57600080fd5b50919050565b801515811461117b57600080fd5b803561337a81613361565b919050565b60008060006060848603121561339457600080fd5b833561339f816131f1565b925060208401356133af816131f1565b915060408401356133bf81613361565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715613402576134026133ca565b60405290565b604051601f8201601f191681016001600160401b0381118282101715613430576134306133ca565b604052919050565b80356001600160501b038116811461337a57600080fd5b803562ffffff8116811461337a57600080fd5b803564ffffffffff8116811461337a57600080fd5b803561ffff8116811461337a57600080fd5b60008060008385036101208112156134a057600080fd5b84356134ab816131f1565b935060208501356134bb816131f1565b925060e0603f19820112156134cf57600080fd5b506134d86133e0565b6134e460408601613438565b81526134f26060860161344f565b602082015261350360808601613462565b604082015261351460a08601613462565b606082015261352560c08601613462565b608082015261353660e08601613477565b60a08201526135486101008601613477565b60c0820152809150509250925092565b60008083601f84011261356a57600080fd5b5081356001600160401b0381111561358157600080fd5b60208301915083602082850101111561359957600080fd5b9250929050565b600080602083850312156135b357600080fd5b82356001600160401b038111156135c957600080fd5b6135d585828601613558565b90969095509350505050565b60008083601f8401126135f357600080fd5b5081356001600160401b0381111561360a57600080fd5b6020830191508360208260051b850101111561359957600080fd5b6000806020838503121561363857600080fd5b82356001600160401b0381111561364e57600080fd5b6135d5858286016135e1565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015611375576136c583855161365a565b92840192608092909201916001016136b2565b600080604083850312156136eb57600080fd5b82356136f6816131f1565b9150602083013561333e816131f1565b60008060006040848603121561371b57600080fd5b8335613726816131f1565b925060208401356001600160401b0381111561374157600080fd5b61374d86828701613558565b9497909650939450505050565b600080600083850361014081121561377157600080fd5b843561377c816131f1565b9350602085013561378c816131f1565b9250610100603f19820112156137a157600080fd5b506040840190509250925092565b6020808252825182820181905260009190848201906040850190845b81811015611375578351835292840192918401916001016137cb565b6000602082840312156137f957600080fd5b81356001600160401b0381111561380f57600080fd5b8201610300818503121561217457600080fd5b60008060006060848603121561383757600080fd5b8335613842816131f1565b95602085013595506040909401359392505050565b6000806040838503121561386a57600080fd5b8235613875816131f1565b9150602083013561333e81613361565b6000806000806080858703121561389b57600080fd5b84356138a6816131f1565b93506020858101356138b7816131f1565b93506040860135925060608601356001600160401b03808211156138da57600080fd5b818801915088601f8301126138ee57600080fd5b813581811115613900576139006133ca565b613912601f8201601f19168501613408565b9150808252898482850101111561392857600080fd5b808484018584013760008482840101525080935050505092959194509250565b60808101610839828461365a565b600181811c9082168061396a57607f821691505b60208210810361335b57634e487b7160e01b600052602260045260246000fd5b803565ffffffffffff8116811461337a57600080fd5b6001600160501b036139b182613438565b1682526139c06020820161398a565b65ffffffffffff8082166020850152806139dc6040850161398a565b16604085015250506139f060608201613477565b61ffff808216606085015280613a0860808501613477565b166080850152505060a0810135613a1e81613361565b80151560a0840152505050565b60c0810161083982846139a0565b602080825260149082015273596f7520617265206e6f74207468652067616d6560601b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761083957610839613a67565b600082613ab157634e487b7160e01b600052601260045260246000fd5b500490565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6000808335601e19843603018112613af657600080fd5b83016020810192503590506001600160401b03811115613b1557600080fd5b80360382131561359957600080fd5b60006060830182358452602080840135601e19853603018112613b4657600080fd5b840181810190356001600160401b03811115613b6157600080fd5b8060051b803603831315613b7457600080fd5b6060848901529381905260809387018401938290880160005b83811015613bc757898703607f19018252613ba88386613adf565b613bb3898284613ab6565b985050509185019190850190600101613b8d565b505050505050613bda6040840184613adf565b8583036040870152613bed838284613ab6565b9695505050505050565b6020815260006121746020830184613b24565b6001600160601b038116811461117b57600080fd5b600060208284031215613c3157600080fd5b813561217481613c0a565b8135613c47816131f1565b81546001600160a01b03199081166001600160a01b039290921691821783556020840135613c7481613c0a565b60a01b1617905550565b6001600160501b03815116825262ffffff6020820151166020830152604081015164ffffffffff8082166040850152806060840151166060850152806080840151166080850152505060a081015161ffff80821660a08501528060c08401511660c085015250505050565b6001600160a01b038316815261010081016121746020830184613c7e565b601f82111561092957600081815260208120601f850160051c81016020861015613d2e5750805b601f850160051c820191505b81811015610a3557828155600101613d3a565b6001600160401b03831115613d6457613d646133ca565b613d7883613d728354613956565b83613d07565b6000601f841160018114613dac5760008515613d945750838201355b600019600387901b1c1916600186901b178355612227565b600083815260209020601f19861690835b82811015613ddd5786850135825560209485019460019092019101613dbd565b5086821015613dfa5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b8181038181111561083957610839613a67565b634e487b7160e01b600052603260045260246000fd5b8082018082111561083957610839613a67565b602081526000612fb7602083018486613ab6565b803563ffffffff8116811461337a57600080fd5b6001600160501b03613e8182613438565b16825261ffff613e9360208301613477565b166020830152613ea56040820161398a565b65ffffffffffff808216604085015280613ec16060850161398a565b1660608501525050608081013560ff81168114613edd57600080fd5b60ff166080830152613ef160a08201613e5c565b63ffffffff1660a0830152613f0860c08201613477565b61ffff1660c0830152613f1d60e0820161336f565b80151560e0840152505050565b6001600160a01b038316815261012081016121746020830184613e70565b6000808335601e19843603018112613f5f57600080fd5b8301803591506001600160401b03821115613f7957600080fd5b60200191503681900382131561359957600080fd5b600060208284031215613fa057600080fd5b6121748261398a565b6001600160a01b038316815260e0810161217460208301846139a0565b6001600160a01b0384168152604060208201819052600090613feb9083018486613ab6565b95945050505050565b60008235605e1983360301811261400a57600080fd5b9190910192915050565b6001600160a01b0383168152604060208201819052600090612fb790830184613b24565b6000808335601e1984360301811261404f57600080fd5b8301803591506001600160401b0382111561406957600080fd5b6020019150600581901b360382131561359957600080fd5b6001600160a01b039384168152919092166020820152901515604082015260600190565b6000808335601e198436030181126140bc57600080fd5b8301803591506001600160401b038211156140d657600080fd5b6020019150600881901b360382131561359957600080fd5b6001600160a01b038481168252831660208201526101408101612fb76040830184613e70565b60006101408201905060018060a01b0380861683528085166020840152506001600160501b03835116604083015261ffff602084015116606083015265ffffffffffff6040840151166080830152606083015161417b60a084018265ffffffffffff169052565b50608083015160ff1660c08381019190915260a084015163ffffffff1660e0808501919091529084015161ffff166101008401529092015115156101209091015292915050565b6000808335601e198436030181126141d957600080fd5b8301803591506001600160401b038211156141f357600080fd5b602001915060e08102360382131561359957600080fd5b6001600160a01b0384811682528316602082015261012081016001600160501b0361423484613438565b16604083015262ffffff61424a6020850161344f565b16606083015261425c60408401613462565b64ffffffffff80821660808501528061427760608701613462565b1660a08501528061428a60808701613462565b1660c0850152505061429e60a08401613477565b61ffff1660e08301526142b360c08401613477565b61ffff8116610100840152610f00565b6001600160a01b038481168252831660208201526101208101612fb76040830184613c7e565b600083516142fb818460208801613175565b83519083019061430f818360208801613175565b01949350505050565b60006020828403121561432a57600080fd5b815161217481613361565b60208082528181018390526000908460408401835b8681101561437857823561435d816131f1565b6001600160a01b03168252918301919083019060010161434a565b509695505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613bed90830184613199565b6000602082840312156143c857600080fd5b81516121748161314256fea2646970667358221220b58b8572fd39250ffb95f0d58025b49fdebe5eec53b0bde5edda1053e025847d64736f6c63430008110033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001353756e666c6f776572204c616e6420427564730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034255440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000005ea00ac477b1030ce78506496e8c2de24bf5
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106103835760003560e01c80636c0360eb116101de57806395d89b411161010f578063c23dc68f116100ad578063d5abeb011161007c578063d5abeb01146107c3578063e8a3d485146107cb578063e985e9c5146107d3578063f2fde38b146107e657600080fd5b8063c23dc68f14610775578063c6ab67a314610795578063c87b56dd1461079d578063cb743ba8146107b057600080fd5b8063a4830114116100e9578063a48301141461072b578063ad2f852a1461073e578063b35f51ad1461074f578063b88d4fde1461076257600080fd5b806395d89b41146106fd57806399a2557a14610705578063a22cb4651461071857600080fd5b80637bc2be761161017c5780638462151c116101565780638462151c146106a65780638da5cb5b146106c6578063911f456b146106d7578063938e3d7b146106ea57600080fd5b80637bc2be761461065d578063840e15d4146106705780638456cb591461069e57600080fd5b8063715018a6116101b8578063715018a6146106275780637323b8fa1461062f57806379ba5097146106425780637a05bc821461064a57600080fd5b80636c0360eb146105f95780636f8b44b01461060157806370a082311461061457600080fd5b806341f43434116102b857806355f804b31161025657806360c308b61161023057806360c308b6146105ad5780636352211e146105c057806364869dad146105d357806366251b69146105e657600080fd5b806355f804b31461056f5780635bbb2177146105825780635c975abb146105a257600080fd5b806344dae42c1161029257806344dae42c1461051357806348a4c101146105265780634b354ecf14610539578063511aa6441461055c57600080fd5b806341f43434146104d357806342260b5d146104e857806342842e0e1461050057600080fd5b80631b73593c1161032557806323b872dd116102ff57806323b872dd146104735780632a55205a146104865780633680620d146104b85780633f4ba83a146104cb57600080fd5b80631b73593c1461044557806323452b9c146104585780632348c8321461046057600080fd5b8063095ea7b311610361578063095ea7b3146103f0578063099b6bfa1461040557806318160ddd1461041857806319892b511461043257600080fd5b806301ffc9a71461038857806306fdde03146103b0578063081812fc146103c5575b600080fd5b61039b610396366004613158565b6107f9565b60405190151581526020015b60405180910390f35b6103b861083f565b6040516103a791906131c5565b6103d86103d33660046131d8565b6108d1565b6040516001600160a01b0390911681526020016103a7565b6104036103fe366004613206565b610915565b005b6104036104133660046131d8565b61092e565b60015460005403600019015b6040519081526020016103a7565b610403610440366004613232565b6109a1565b61040361045336600461324f565b6109ca565b610403610a3d565b61040361046e366004613232565b610a8c565b610403610481366004613290565b610aed565b6104996104943660046132d1565b610b18565b604080516001600160a01b0390931683526020830191909152016103a7565b6104036104c63660046132f3565b610b5e565b610403610b9b565b6103d86daaeb6d7670e522a718067333cd4e81565b600e54600160a01b90046001600160601b0316610424565b61040361050e366004613290565b610bd9565b610403610521366004613349565b610bfe565b61040361053436600461337f565b610d0f565b61039b610547366004613232565b60136020526000908152604090205460ff1681565b61040361056a366004613489565b610d89565b61040361057d3660046135a0565b610dc8565b610595610590366004613625565b610e3e565b6040516103a79190613696565b60125460ff1661039b565b6104036105bb366004613625565b610f09565b6103d86105ce3660046131d8565b610f1b565b6104036105e1366004613206565b610f26565b6104036105f43660046136d8565b610fe4565b6103b8611023565b61040361060f3660046131d8565b611032565b610424610622366004613232565b61109a565b6104036110e8565b61040361063d366004613232565b6110fa565b610403611102565b610403610658366004613706565b61117e565b61040361066b36600461375a565b6111bd565b61068361067e366004613232565b6111fc565b604080519384526020840192909252908201526060016103a7565b61040361123d565b6106b96106b4366004613232565b611279565b6040516103a791906137af565b6008546001600160a01b03166103d8565b6104036106e53660046137e7565b611381565b6104036106f83660046135a0565b611f9e565b6103b8611fe5565b6106b9610713366004613822565b611ff4565b610403610726366004613857565b61217b565b6104036107393660046132d1565b61218f565b600e546001600160a01b03166103d8565b61040361075d366004613232565b6121cd565b610403610770366004613885565b612201565b6107886107833660046131d8565b61222e565b6040516103a79190613948565b600d54610424565b6103b86107ab3660046131d8565b6122b6565b6104036107be36600461337f565b61238e565b600a54610424565b6103b86123d5565b61039b6107e13660046136d8565b6123e4565b6104036107f4366004613232565b612434565b60006001600160e01b03198216630c487f4760e11b148061082a57506001600160e01b03198216639c15441560e01b145b806108395750610839826124b1565b92915050565b60606002805461084e90613956565b80601f016020809104026020016040519081016040528092919081815260200182805461087a90613956565b80156108c75780601f1061089c576101008083540402835291602001916108c7565b820191906000526020600020905b8154815290600101906020018083116108aa57829003601f168201915b5050505050905090565b60006108dc826124f1565b6108f9576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b8161091f81612526565b61092983836125df565b505050565b61093661267f565b600054600019011561095b5760405163e03264af60e01b815260040160405180910390fd5b600d80549082905560408051828152602081018490527f7c22004198bf87da0f0dab623c72e66ca1200f4454aa3b9ca30f436275428b7c91015b60405180910390a15050565b6109a96126cf565b6001600160a01b03166000908152601360205260409020805460ff19169055565b6109d261267f565b6109db826126fa565b6040516301308e6560e01b81526001600160a01b038316906301308e6590610a07908490600401613a2b565b600060405180830381600087803b158015610a2157600080fd5b505af1158015610a35573d6000803e3d6000fd5b505050505050565b610a456126cf565b600980546001600160a01b0319169055604051600081527f11a3cf439fb225bfe74225716b6774765670ec1060e3796802e62139d69974da906020015b60405180910390a1565b3360009081526013602052604090205460ff161515600114610ac95760405162461bcd60e51b8152600401610ac090613a39565b60405180910390fd5b6001600160a01b03166000908152601360205260409020805460ff19166001179055565b826001600160a01b0381163314610b0757610b0733612526565b610b12848484612738565b50505050565b600e8054600091829161271090610b3f90600160a01b90046001600160601b031686613a7d565b610b499190613a94565b90546001600160a01b03169590945092505050565b610b6661267f565b610b6f826126fa565b60405163ebb4a55f60e01b81526001600160a01b0383169063ebb4a55f90610a07908490600401613bf7565b3360009081526013602052604090205460ff161515600114610bcf5760405162461bcd60e51b8152600401610ac090613a39565b610bd76128da565b565b826001600160a01b0381163314610bf357610bf333612526565b610b12848484612927565b610c0661267f565b6000610c156020830183613232565b6001600160a01b031603610c3c57604051631cc0baef60e01b815260040160405180910390fd5b612710610c4f6040830160208401613c1f565b6001600160601b03161115610c9357610c6e6040820160208301613c1f565b604051633cadbafb60e01b81526001600160601b039091166004820152602401610ac0565b80600e610ca08282613c3c565b507ff21fccf4d64d86d532c4e4eb86c007b6ad57a460c27d724188625e755ec6cf6d9050610cd16020830183613232565b610ce16040840160208501613c1f565b604080516001600160a01b0390931683526001600160601b039091166020830152015b60405180910390a150565b610d1761267f565b610d20836126fa565b604051638e7d1e4360e01b81526001600160a01b0383811660048301528215156024830152841690638e7d1e43906044015b600060405180830381600087803b158015610d6c57600080fd5b505af1158015610d80573d6000803e3d6000fd5b50505050505050565b610d9161267f565b610d9a836126fa565b6040516309a7002f60e31b81526001600160a01b03841690634d38017890610d529085908590600401613ce9565b610dd061267f565b600b610ddd828483613d4d565b50600154600054036000190115610e3a577f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c600180610e1b60005490565b610e259190613e0c565b60408051928352602083019190915201610995565b5050565b6060816000816001600160401b03811115610e5b57610e5b6133ca565b604051908082528060200260200182016040528015610ead57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610e795790505b50905060005b828114610f0057610edb868683818110610ecf57610ecf613e1f565b9050602002013561222e565b828281518110610eed57610eed613e1f565b6020908102919091010152600101610eb3565b50949350505050565b610f116126cf565b610e3a8282612942565b600061083982612a5c565b600f54600114610f655760405162461bcd60e51b815260206004820152600a6024820152695245454e5452414e435960b01b6044820152606401610ac0565b6002600f55610f73336126fa565b600a5481610f846000546000190190565b610f8e9190613e35565b1115610fd15780610fa26000546000190190565b610fac9190613e35565b600a5460405163384b48c560e21b815260048101929092526024820152604401610ac0565b610fdb8282612acb565b50506001600f55565b610fec61267f565b610ff5826126fa565b60405163024e71b760e31b81526001600160a01b0382811660048301528316906312738db890602401610a07565b606061102d612ae5565b905090565b61103a61267f565b6001600160401b038111156110655760405163b43e913760e01b815260048101829052602401610ac0565b600a8190556040518181527f7810bd47de260c3e9ee10061cf438099dd12256c79485f12f94dbccc981e806c90602001610d04565b60006001600160a01b0382166110c3576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6110f06126cf565b610bd76000612af4565b610ac96126cf565b6009546001600160a01b031633811461112e57604051636b7584e760e11b815260040160405180910390fd5b600980546001600160a01b0319169055604051600081527f11a3cf439fb225bfe74225716b6774765670ec1060e3796802e62139d69974da9060200160405180910390a161117b81612af4565b50565b61118661267f565b61118f836126fa565b60405163b957d0cb60e01b81526001600160a01b0384169063b957d0cb90610d529085908590600401613e48565b6111c561267f565b6111ce836126fa565b604051637ecd591560e11b81526001600160a01b0384169063fd9ab22a90610d529085908590600401613f2a565b6001600160a01b03811660009081526005602052604080822054901c6001600160401b031690806112306000546000190190565b600a549395909450915050565b3360009081526013602052604090205460ff1615156001146112715760405162461bcd60e51b8152600401610ac090613a39565b610bd7612b46565b606060008060006112898561109a565b90506000816001600160401b038111156112a5576112a56133ca565b6040519080825280602002602001820160405280156112ce578160200160208202803683370190505b5090506112fb60408051608081018252600080825260208201819052918101829052606081019190915290565b60015b8386146113755761130e81612b83565b9150816040015161136d5781516001600160a01b03161561132e57815194505b876001600160a01b0316856001600160a01b03160361136d578083878060010198508151811061136057611360613e1f565b6020026020010181815250505b6001016112fe565b50909695505050505050565b6113896126cf565b8035156113e2576040516306f8b44b60e41b8152813560048201523090636f8b44b090602401600060405180830381600087803b1580156113c957600080fd5b505af11580156113dd573d6000803e3d6000fd5b505050505b6113ef6020820182613f48565b15905061145957306355f804b36114096020840184613f48565b6040518363ffffffff1660e01b8152600401611426929190613e48565b600060405180830381600087803b15801561144057600080fd5b505af1158015611454573d6000803e3d6000fd5b505050505b6114666040820182613f48565b1590506114d0573063938e3d7b6114806040840184613f48565b6040518363ffffffff1660e01b815260040161149d929190613e48565b600060405180830381600087803b1580156114b757600080fd5b505af11580156114cb573d6000803e3d6000fd5b505050505b6114f06114e360e0830160c08401613f8e565b65ffffffffffff16151590565b6115036114e360c0840160a08501613f8e565b176001036115755730631b73593c6115216080840160608501613232565b836080016040518363ffffffff1660e01b8152600401611542929190613fa9565b600060405180830381600087803b15801561155c57600080fd5b505af1158015611570573d6000803e3d6000fd5b505050505b611583610140820182613f48565b1590506115ff5730637a05bc826115a06080840160608501613232565b6115ae610140850185613f48565b6040518463ffffffff1660e01b81526004016115cc93929190613fc6565b600060405180830381600087803b1580156115e657600080fd5b505af11580156115fa573d6000803e3d6000fd5b505050505b600061160f610160830183613ff4565b35146116895730633680620d61162b6080840160608501613232565b611639610160850185613ff4565b6040518363ffffffff1660e01b8152600401611656929190614014565b600060405180830381600087803b15801561167057600080fd5b505af1158015611684573d6000803e3d6000fd5b505050505b600061169d6101a083016101808401613232565b6001600160a01b03161461173457306366251b696116c16080840160608501613232565b6116d36101a085016101808601613232565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401600060405180830381600087803b15801561171b57600080fd5b505af115801561172f573d6000803e3d6000fd5b505050505b6101a081013515611795576040516304cdb5fd60e11b81526101a08201356004820152309063099b6bfa90602401600060405180830381600087803b15801561177c57600080fd5b505af1158015611790573d6000803e3d6000fd5b505050505b60006117a56101c0830183614038565b9050111561186f5760005b6117be6101c0830183614038565b905081101561186d57306348a4c1016117dd6080850160608601613232565b6117eb6101c0860186614038565b858181106117fb576117fb613e1f565b90506020020160208101906118109190613232565b60016040518463ffffffff1660e01b815260040161183093929190614081565b600060405180830381600087803b15801561184a57600080fd5b505af115801561185e573d6000803e3d6000fd5b505050508060010190506117b0565b505b600061187f6101e0830183614038565b905011156119495760005b6118986101e0830183614038565b905081101561194757306348a4c1016118b76080850160608601613232565b6118c56101e0860186614038565b858181106118d5576118d5613e1f565b90506020020160208101906118ea9190613232565b60006040518463ffffffff1660e01b815260040161190a93929190614081565b600060405180830381600087803b15801561192457600080fd5b505af1158015611938573d6000803e3d6000fd5b5050505080600101905061188a565b505b6000611959610200830183614038565b90501115611a235760005b611972610200830183614038565b9050811015611a21573063cb743ba86119916080850160608601613232565b61199f610200860186614038565b858181106119af576119af613e1f565b90506020020160208101906119c49190613232565b60016040518463ffffffff1660e01b81526004016119e493929190614081565b600060405180830381600087803b1580156119fe57600080fd5b505af1158015611a12573d6000803e3d6000fd5b50505050806001019050611964565b505b6000611a33610220830183614038565b90501115611afd5760005b611a4c610220830183614038565b9050811015611afb573063cb743ba8611a6b6080850160608601613232565b611a79610220860186614038565b85818110611a8957611a89613e1f565b9050602002016020810190611a9e9190613232565b60006040518463ffffffff1660e01b8152600401611abe93929190614081565b600060405180830381600087803b158015611ad857600080fd5b505af1158015611aec573d6000803e3d6000fd5b50505050806001019050611a3e565b505b6000611b0d6102608301836140a5565b90501115611c3857611b23610240820182614038565b9050611b336102608301836140a5565b905014611b535760405163b81aa63960e01b815260040160405180910390fd5b60005b611b646102608301836140a5565b9050811015611c365730637bc2be76611b836080850160608601613232565b611b91610240860186614038565b85818110611ba157611ba1613e1f565b9050602002016020810190611bb69190613232565b611bc46102608701876140a5565b86818110611bd457611bd4613e1f565b905061010002016040518463ffffffff1660e01b8152600401611bf9939291906140ee565b600060405180830381600087803b158015611c1357600080fd5b505af1158015611c27573d6000803e3d6000fd5b50505050806001019050611b56565b505b6000611c48610280830183614038565b90501115611d535760005b611c61610280830183614038565b9050811015611d51576040805161010081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e081019190915230637bc2be76611cc16080860160608701613232565b611ccf610280870187614038565b86818110611cdf57611cdf613e1f565b9050602002016020810190611cf49190613232565b846040518463ffffffff1660e01b8152600401611d1393929190614114565b600060405180830381600087803b158015611d2d57600080fd5b505af1158015611d41573d6000803e3d6000fd5b5050505081600101915050611c53565b505b6000611d636102c08301836141c2565b90501115611e8d57611d796102a0820182614038565b9050611d896102c08301836141c2565b905014611da9576040516374ef6df760e01b815260040160405180910390fd5b60005b611dba6102c08301836141c2565b9050811015611e8b573063511aa644611dd96080850160608601613232565b611de76102a0860186614038565b85818110611df757611df7613e1f565b9050602002016020810190611e0c9190613232565b611e1a6102c08701876141c2565b86818110611e2a57611e2a613e1f565b905060e002016040518463ffffffff1660e01b8152600401611e4e9392919061420a565b600060405180830381600087803b158015611e6857600080fd5b505af1158015611e7c573d6000803e3d6000fd5b50505050806001019050611dac565b505b6000611e9d6102e0830183614038565b9050111561117b5760005b611eb66102e0830183614038565b9050811015610e3a576040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091523063511aa644611f0e6080860160608701613232565b611f1c6102e0870187614038565b86818110611f2c57611f2c613e1f565b9050602002016020810190611f419190613232565b846040518463ffffffff1660e01b8152600401611f60939291906142c3565b600060405180830381600087803b158015611f7a57600080fd5b505af1158015611f8e573d6000803e3d6000fd5b5050505081600101915050611ea8565b611fa661267f565b600c611fb3828483613d4d565b507f905d981207a7d0b6c62cc46ab0be2a076d0298e4a86d0ab79882dbd01ac373788282604051610995929190613e48565b60606003805461084e90613956565b606081831061201657604051631960ccad60e11b815260040160405180910390fd5b60008061202260005490565b9050600185101561203257600194505b8084111561203e578093505b60006120498761109a565b9050848610156120685785850381811015612062578091505b5061206c565b5060005b6000816001600160401b03811115612086576120866133ca565b6040519080825280602002602001820160405280156120af578160200160208202803683370190505b509050816000036120c557935061217492505050565b60006120d08861222e565b9050600081604001516120e1575080515b885b8881141580156120f35750848714155b156121685761210181612b83565b925082604001516121605782516001600160a01b03161561212157825191505b8a6001600160a01b0316826001600160a01b031603612160578084888060010199508151811061215357612153613e1f565b6020026020010181815250505b6001016120e3565b50505092835250909150505b9392505050565b8161218581612526565b6109298383612bbf565b61219761267f565b60408051838152602081018390527f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c9101610995565b3360009081526013602052604090205460ff1615156001146109a95760405162461bcd60e51b8152600401610ac090613a39565b836001600160a01b038116331461221b5761221b33612526565b61222785858585612c2b565b5050505050565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061228757506000548310155b156122925792915050565b61229b83612b83565b90508060400151156122ad5792915050565b61217483612c6f565b60606122c1826124f1565b6122de57604051630a14c4b560e41b815260040160405180910390fd5b60006122e8612ae5565b90508051600003612309575050604080516020810190915260008152919050565b604080518082019091526001808252602f60f81b60209092018290528251839161233291613e0c565b8151811061234257612342613e1f565b01602001516001600160f81b0319161461235c5792915050565b8061236684612ca4565b6040516020016123779291906142e9565b604051602081830303815290604052915050919050565b61239661267f565b61239f836126fa565b604051633f952e6560e11b81526001600160a01b0383811660048301528215156024830152841690637f2a5cca90604401610d52565b6060600c805461084e90613956565b6001600160a01b03811660009081526013602052604081205460ff168061217457506001600160a01b0380841660009081526007602090815260408083209386168352929052205460ff16612174565b61243c6126cf565b6001600160a01b03811661246357604051633a247dd760e11b815260040160405180910390fd5b600980546001600160a01b0319166001600160a01b0383169081179091556040519081527f11a3cf439fb225bfe74225716b6774765670ec1060e3796802e62139d69974da90602001610d04565b60006001600160e01b0319821663152a902d60e11b14806124e25750632483248360e11b6001600160e01b03198316145b80610839575061083982612ce8565b600081600111158015612505575060005482105b8015610839575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b1561117b57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015612593573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125b79190614318565b61117b57604051633b79c77360e21b81526001600160a01b0382166004820152602401610ac0565b60006125ea82610f1b565b9050336001600160a01b038216146126235761260681336123e4565b612623576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b3033146126ae6126976008546001600160a01b031690565b6001600160a01b0316336001600160a01b03161490565b17600003610bd757604051635fc483c560e01b815260040160405180910390fd5b6008546001600160a01b03163314610bd757604051635fc483c560e01b815260040160405180910390fd5b6001600160a01b03811660009081526010602052604090205460ff16151560011461117b576040516315e26ff360e01b815260040160405180910390fd5b600061274382612a5c565b9050836001600160a01b0316816001600160a01b0316146127765760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176127c3576127a686336123e4565b6127c357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166127ea57604051633a954ecd60e21b815260040160405180910390fd5b6127f78686866001612d36565b801561280257600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003612894576001840160008181526004602052604081205490036128925760005481146128925760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610a35565b6128e2612d97565b6012805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b039091168152602001610a82565b61092983838360405180602001604052806000815250612201565b6011548160005b828110156129a6576000601060006011848154811061296a5761296a613e1f565b6000918252602080832091909101546001600160a01b031683528201929092526040019020805460ff1916911515919091179055600101612949565b5060005b81811015612a0f576001601060008787858181106129ca576129ca613e1f565b90506020020160208101906129df9190613232565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790556001016129aa565b50612a1c601185856130ca565b507fbbd3b69c138de4d317d0bc4290282c4e1cbd1e58b579a5b4f114b598c237454d8484604051612a4e929190614335565b60405180910390a150505050565b60008180600111612ab257600054811015612ab25760008181526004602052604081205490600160e01b82169003612ab0575b80600003612174575060001901600081815260046020526040902054612a8f565b505b604051636f96cda160e11b815260040160405180910390fd5b610e3a828260405180602001604052806000815250612de0565b6060600b805461084e90613956565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612b4e612e46565b6012805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861290f3390565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461083990612e8c565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b612c36848484610aed565b6001600160a01b0383163b15610b1257612c5284848484612ed3565b610b12576040516368d2bf6b60e11b815260040160405180910390fd5b604080516080810182526000808252602082018190529181018290526060810191909152610839612c9f83612a5c565b612e8c565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480612cbe5750819003601f19909101908152919050565b60006301ffc9a760e01b6001600160e01b031983161480612d1957506380ac58cd60e01b6001600160e01b03198316145b806108395750506001600160e01b031916635b5e139f60e01b1490565b60125460ff1615610b125760405162461bcd60e51b815260206004820152602560248201527f5061757361626c653a20746f6b656e207472616e73666572207768696c652070604482015264185d5cd95960da1b6064820152608401610ac0565b60125460ff16610bd75760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610ac0565b612dea8383612fbf565b6001600160a01b0383163b15610929576000548281035b612e146000868380600101945086612ed3565b612e31576040516368d2bf6b60e11b815260040160405180910390fd5b818110612e0157816000541461222757600080fd5b60125460ff1615610bd75760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610ac0565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612f08903390899088908890600401614383565b6020604051808303816000875af1925050508015612f43575060408051601f3d908101601f19168201909252612f40918101906143b6565b60015b612fa1573d808015612f71576040519150601f19603f3d011682016040523d82523d6000602084013e612f76565b606091505b508051600003612f99576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6000805490829003612fe45760405163b562e8dd60e01b815260040160405180910390fd5b612ff16000848385612d36565b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146130a057808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101613068565b50816000036130c157604051622e076360e81b815260040160405180910390fd5b60005550505050565b82805482825590600052602060002090810192821561311d579160200282015b8281111561311d5781546001600160a01b0319166001600160a01b038435161782556020909201916001909101906130ea565b5061312992915061312d565b5090565b5b80821115613129576000815560010161312e565b6001600160e01b03198116811461117b57600080fd5b60006020828403121561316a57600080fd5b813561217481613142565b60005b83811015613190578181015183820152602001613178565b50506000910152565b600081518084526131b1816020860160208601613175565b601f01601f19169290920160200192915050565b6020815260006121746020830184613199565b6000602082840312156131ea57600080fd5b5035919050565b6001600160a01b038116811461117b57600080fd5b6000806040838503121561321957600080fd5b8235613224816131f1565b946020939093013593505050565b60006020828403121561324457600080fd5b8135612174816131f1565b60008082840360e081121561326357600080fd5b833561326e816131f1565b925060c0601f198201121561328257600080fd5b506020830190509250929050565b6000806000606084860312156132a557600080fd5b83356132b0816131f1565b925060208401356132c0816131f1565b929592945050506040919091013590565b600080604083850312156132e457600080fd5b50508035926020909101359150565b6000806040838503121561330657600080fd5b8235613311816131f1565b915060208301356001600160401b0381111561332c57600080fd5b83016060818603121561333e57600080fd5b809150509250929050565b60006040828403121561335b57600080fd5b50919050565b801515811461117b57600080fd5b803561337a81613361565b919050565b60008060006060848603121561339457600080fd5b833561339f816131f1565b925060208401356133af816131f1565b915060408401356133bf81613361565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715613402576134026133ca565b60405290565b604051601f8201601f191681016001600160401b0381118282101715613430576134306133ca565b604052919050565b80356001600160501b038116811461337a57600080fd5b803562ffffff8116811461337a57600080fd5b803564ffffffffff8116811461337a57600080fd5b803561ffff8116811461337a57600080fd5b60008060008385036101208112156134a057600080fd5b84356134ab816131f1565b935060208501356134bb816131f1565b925060e0603f19820112156134cf57600080fd5b506134d86133e0565b6134e460408601613438565b81526134f26060860161344f565b602082015261350360808601613462565b604082015261351460a08601613462565b606082015261352560c08601613462565b608082015261353660e08601613477565b60a08201526135486101008601613477565b60c0820152809150509250925092565b60008083601f84011261356a57600080fd5b5081356001600160401b0381111561358157600080fd5b60208301915083602082850101111561359957600080fd5b9250929050565b600080602083850312156135b357600080fd5b82356001600160401b038111156135c957600080fd5b6135d585828601613558565b90969095509350505050565b60008083601f8401126135f357600080fd5b5081356001600160401b0381111561360a57600080fd5b6020830191508360208260051b850101111561359957600080fd5b6000806020838503121561363857600080fd5b82356001600160401b0381111561364e57600080fd5b6135d5858286016135e1565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015611375576136c583855161365a565b92840192608092909201916001016136b2565b600080604083850312156136eb57600080fd5b82356136f6816131f1565b9150602083013561333e816131f1565b60008060006040848603121561371b57600080fd5b8335613726816131f1565b925060208401356001600160401b0381111561374157600080fd5b61374d86828701613558565b9497909650939450505050565b600080600083850361014081121561377157600080fd5b843561377c816131f1565b9350602085013561378c816131f1565b9250610100603f19820112156137a157600080fd5b506040840190509250925092565b6020808252825182820181905260009190848201906040850190845b81811015611375578351835292840192918401916001016137cb565b6000602082840312156137f957600080fd5b81356001600160401b0381111561380f57600080fd5b8201610300818503121561217457600080fd5b60008060006060848603121561383757600080fd5b8335613842816131f1565b95602085013595506040909401359392505050565b6000806040838503121561386a57600080fd5b8235613875816131f1565b9150602083013561333e81613361565b6000806000806080858703121561389b57600080fd5b84356138a6816131f1565b93506020858101356138b7816131f1565b93506040860135925060608601356001600160401b03808211156138da57600080fd5b818801915088601f8301126138ee57600080fd5b813581811115613900576139006133ca565b613912601f8201601f19168501613408565b9150808252898482850101111561392857600080fd5b808484018584013760008482840101525080935050505092959194509250565b60808101610839828461365a565b600181811c9082168061396a57607f821691505b60208210810361335b57634e487b7160e01b600052602260045260246000fd5b803565ffffffffffff8116811461337a57600080fd5b6001600160501b036139b182613438565b1682526139c06020820161398a565b65ffffffffffff8082166020850152806139dc6040850161398a565b16604085015250506139f060608201613477565b61ffff808216606085015280613a0860808501613477565b166080850152505060a0810135613a1e81613361565b80151560a0840152505050565b60c0810161083982846139a0565b602080825260149082015273596f7520617265206e6f74207468652067616d6560601b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761083957610839613a67565b600082613ab157634e487b7160e01b600052601260045260246000fd5b500490565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6000808335601e19843603018112613af657600080fd5b83016020810192503590506001600160401b03811115613b1557600080fd5b80360382131561359957600080fd5b60006060830182358452602080840135601e19853603018112613b4657600080fd5b840181810190356001600160401b03811115613b6157600080fd5b8060051b803603831315613b7457600080fd5b6060848901529381905260809387018401938290880160005b83811015613bc757898703607f19018252613ba88386613adf565b613bb3898284613ab6565b985050509185019190850190600101613b8d565b505050505050613bda6040840184613adf565b8583036040870152613bed838284613ab6565b9695505050505050565b6020815260006121746020830184613b24565b6001600160601b038116811461117b57600080fd5b600060208284031215613c3157600080fd5b813561217481613c0a565b8135613c47816131f1565b81546001600160a01b03199081166001600160a01b039290921691821783556020840135613c7481613c0a565b60a01b1617905550565b6001600160501b03815116825262ffffff6020820151166020830152604081015164ffffffffff8082166040850152806060840151166060850152806080840151166080850152505060a081015161ffff80821660a08501528060c08401511660c085015250505050565b6001600160a01b038316815261010081016121746020830184613c7e565b601f82111561092957600081815260208120601f850160051c81016020861015613d2e5750805b601f850160051c820191505b81811015610a3557828155600101613d3a565b6001600160401b03831115613d6457613d646133ca565b613d7883613d728354613956565b83613d07565b6000601f841160018114613dac5760008515613d945750838201355b600019600387901b1c1916600186901b178355612227565b600083815260209020601f19861690835b82811015613ddd5786850135825560209485019460019092019101613dbd565b5086821015613dfa5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b8181038181111561083957610839613a67565b634e487b7160e01b600052603260045260246000fd5b8082018082111561083957610839613a67565b602081526000612fb7602083018486613ab6565b803563ffffffff8116811461337a57600080fd5b6001600160501b03613e8182613438565b16825261ffff613e9360208301613477565b166020830152613ea56040820161398a565b65ffffffffffff808216604085015280613ec16060850161398a565b1660608501525050608081013560ff81168114613edd57600080fd5b60ff166080830152613ef160a08201613e5c565b63ffffffff1660a0830152613f0860c08201613477565b61ffff1660c0830152613f1d60e0820161336f565b80151560e0840152505050565b6001600160a01b038316815261012081016121746020830184613e70565b6000808335601e19843603018112613f5f57600080fd5b8301803591506001600160401b03821115613f7957600080fd5b60200191503681900382131561359957600080fd5b600060208284031215613fa057600080fd5b6121748261398a565b6001600160a01b038316815260e0810161217460208301846139a0565b6001600160a01b0384168152604060208201819052600090613feb9083018486613ab6565b95945050505050565b60008235605e1983360301811261400a57600080fd5b9190910192915050565b6001600160a01b0383168152604060208201819052600090612fb790830184613b24565b6000808335601e1984360301811261404f57600080fd5b8301803591506001600160401b0382111561406957600080fd5b6020019150600581901b360382131561359957600080fd5b6001600160a01b039384168152919092166020820152901515604082015260600190565b6000808335601e198436030181126140bc57600080fd5b8301803591506001600160401b038211156140d657600080fd5b6020019150600881901b360382131561359957600080fd5b6001600160a01b038481168252831660208201526101408101612fb76040830184613e70565b60006101408201905060018060a01b0380861683528085166020840152506001600160501b03835116604083015261ffff602084015116606083015265ffffffffffff6040840151166080830152606083015161417b60a084018265ffffffffffff169052565b50608083015160ff1660c08381019190915260a084015163ffffffff1660e0808501919091529084015161ffff166101008401529092015115156101209091015292915050565b6000808335601e198436030181126141d957600080fd5b8301803591506001600160401b038211156141f357600080fd5b602001915060e08102360382131561359957600080fd5b6001600160a01b0384811682528316602082015261012081016001600160501b0361423484613438565b16604083015262ffffff61424a6020850161344f565b16606083015261425c60408401613462565b64ffffffffff80821660808501528061427760608701613462565b1660a08501528061428a60808701613462565b1660c0850152505061429e60a08401613477565b61ffff1660e08301526142b360c08401613477565b61ffff8116610100840152610f00565b6001600160a01b038481168252831660208201526101208101612fb76040830184613c7e565b600083516142fb818460208801613175565b83519083019061430f818360208801613175565b01949350505050565b60006020828403121561432a57600080fd5b815161217481613361565b60208082528181018390526000908460408401835b8681101561437857823561435d816131f1565b6001600160a01b03168252918301919083019060010161434a565b509695505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613bed90830184613199565b6000602082840312156143c857600080fd5b81516121748161314256fea2646970667358221220b58b8572fd39250ffb95f0d58025b49fdebe5eec53b0bde5edda1053e025847d64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001353756e666c6f776572204c616e6420427564730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034255440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000005ea00ac477b1030ce78506496e8c2de24bf5
-----Decoded View---------------
Arg [0] : name (string): Sunflower Land Buds
Arg [1] : symbol (string): BUD
Arg [2] : allowedSeaDrop (address[]): 0x00005EA00Ac477B1030CE78506496e8C2dE24bf5
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [4] : 53756e666c6f776572204c616e64204275647300000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 4255440000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [8] : 00000000000000000000000000005ea00ac477b1030ce78506496e8c2de24bf5
Deployed Bytecode Sourcemap
135627:5517:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;126141:615;;;;;;:::i;:::-;;:::i;:::-;;;661:14:1;;654:22;636:41;;624:2;609:18;126141:615:0;;;;;;;;45220:100;;;:::i;:::-;;;;;;;:::i;51703:218::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1793:32:1;;;1775:51;;1763:2;1748:18;51703:218:0;1629:203:1;127873:189:0;;;;;;:::i;:::-;;:::i;:::-;;100166:675;;;;;;:::i;:::-;;:::i;40971:323::-;115588:1;41245:12;41032:7;41229:13;:28;-1:-1:-1;;41229:46:0;40971:323;;;2624:25:1;;;2612:2;2597:18;40971:323:0;2478:177:1;35611:99:0;;;;;;:::i;:::-;;:::i;118669:438::-;;;;;;:::i;:::-;;:::i;22604:149::-;;;:::i;35395:98::-;;;;;;:::i;:::-;;:::i;128531:197::-;;;;;;:::i;:::-;;:::i;103804:556::-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4229:32:1;;;4211:51;;4293:2;4278:18;;4271:34;;;;4184:18;103804:556:0;4037:274:1;119381:439:0;;;;;;:::i;:::-;;:::i;136555:66::-;;;:::i;17900:143::-;;1593:42;17900:143;;103195:111;103275:12;:23;-1:-1:-1;;;103275:23:0;;-1:-1:-1;;;;;103275:23:0;103195:111;;128824:205;;;;;;:::i;:::-;;:::i;100998:753::-;;;;;;:::i;:::-;;:::i;122871:465::-;;;;;;:::i;:::-;;:::i;35242:41::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;123801:565;;;;;;:::i;:::-;;:::i;97585:397::-;;;;;;:::i;:::-;;:::i;137089:509::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;78809:86::-;78880:7;;;;78809:86;;113838:198;;;;;;:::i;:::-;;:::i;46613:152::-;;;;;;:::i;:::-;;:::i;117793:604::-;;;;;;:::i;:::-;;:::i;122072:430::-;;;;;;:::i;:::-;;:::i;101834:102::-;;;:::i;99198:523::-;;;;;;:::i;:::-;;:::i;42155:233::-;;;;;;:::i;:::-;;:::i;23411:103::-;;;:::i;35292:95::-;;;;;;:::i;:::-;;:::i;22233:321::-;;;:::i;121349:410::-;;;;;;:::i;:::-;;:::i;120590:499::-;;;;;;:::i;:::-;;:::i;125615:370::-;;;;;;:::i;:::-;;:::i;:::-;;;;13340:25:1;;;13396:2;13381:18;;13374:34;;;;13424:18;;;13417:34;13328:2;13313:18;125615:370:0;13138:319:1;136485:62:0;;;:::i;140176:965::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;22761:87::-;22834:6;;-1:-1:-1;;;;;22834:6:0;22761:87;;130268:5352;;;;;;:::i;:::-;;:::i;98129:354::-;;;;;;:::i;:::-;;:::i;45396:104::-;;;:::i;137606:2562::-;;;;;;:::i;:::-;;:::i;127138:208::-;;;;;;:::i;:::-;;:::i;98731:316::-;;;;;;:::i;:::-;;:::i;102994:111::-;103070:12;:27;-1:-1:-1;;;;;103070:27:0;102994:111;;35501:102;;;;;;:::i;:::-;;:::i;129667:239::-;;;;;;:::i;:::-;;:::i;136654:427::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;102799:108::-;102884:15;;102799:108;;115936:644;;;;;;:::i;:::-;;:::i;124692:416::-;;;;;;:::i;:::-;;:::i;102456:87::-;102525:10;;102456:87;;102276:108;;;:::i;135935:216::-;;;;;;:::i;:::-;;:::i;21777:324::-;;;;;;:::i;:::-;;:::i;126141:615::-;126304:4;-1:-1:-1;;;;;;126346:57:0;;-1:-1:-1;;;126346:57:0;;:136;;-1:-1:-1;;;;;;;126420:62:0;;-1:-1:-1;;;126420:62:0;126346:136;:402;;;;126712:36;126736:11;126712:23;:36::i;:::-;126326:422;126141:615;-1:-1:-1;;126141:615:0:o;45220:100::-;45274:13;45307:5;45300:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45220:100;:::o;51703:218::-;51779:7;51804:16;51812:7;51804;:16::i;:::-;51799:64;;51829:34;;-1:-1:-1;;;51829:34:0;;;;;;;;;;;51799:64;-1:-1:-1;51883:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;51883:30:0;;51703:218::o;127873:189::-;127996:8;19682:30;19703:8;19682:20;:30::i;:::-;128022:32:::1;128036:8;128046:7;128022:13;:32::i;:::-;127873:189:::0;;;:::o;100166:675::-;100308:18;:16;:18::i;:::-;100410:1;41638:13;-1:-1:-1;;41638:31:0;100393:18;100389:101;;100435:43;;-1:-1:-1;;;100435:43:0;;;;;;;;;;;100389:101;100609:15;;;100678:35;;;;100774:59;;;17403:25:1;;;17459:2;17444:18;;17437:34;;;100774:59:0;;17376:18:1;100774:59:0;;;;;;;;100229:612;100166:675;:::o;35611:99::-;21394:13;:11;:13::i;:::-;-1:-1:-1;;;;;35678:16:0::1;35697:5;35678:16:::0;;;:9:::1;:16;::::0;;;;:24;;-1:-1:-1;;35678:24:0::1;::::0;;35611:99::o;118669:438::-;118878:18;:16;:18::i;:::-;118952:32;118972:11;118952:19;:32::i;:::-;119049:50;;-1:-1:-1;;;119049:50:0;;-1:-1:-1;;;;;119049:38:0;;;;;:50;;119088:10;;119049:50;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;118669:438;;:::o;22604:149::-;21394:13;:11;:13::i;:::-;22682:14:::1;22675:21:::0;;-1:-1:-1;;;;;;22675:21:0::1;::::0;;22712:33:::1;::::0;-1:-1:-1;1775:51:1;;22712:33:0::1;::::0;1763:2:1;1748:18;22712:33:0::1;;;;;;;;22604:149::o:0;35395:98::-;35767:10;35757:21;;;;:9;:21;;;;;;;;:29;;:21;:29;35749:62;;;;-1:-1:-1;;;35749:62:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;35462:16:0::1;;::::0;;;:9:::1;:16;::::0;;;;:23;;-1:-1:-1;;35462:23:0::1;35481:4;35462:23;::::0;;35395:98::o;128531:197::-;128666:4;-1:-1:-1;;;;;19408:18:0;;19416:10;19408:18;19404:83;;19443:32;19464:10;19443:20;:32::i;:::-;128683:37:::1;128702:4;128708:2;128712:7;128683:18;:37::i;:::-;128531:197:::0;;;;:::o;103804:556::-;104069:12;104239:15;;103917:16;;;;104258:6;;104226:28;;-1:-1:-1;;;104239:15:0;;-1:-1:-1;;;;;104239:15:0;104226:10;:28;:::i;:::-;104225:39;;;;:::i;:::-;104333:19;;-1:-1:-1;;;;;104333:19:0;;104209:55;;-1:-1:-1;103804:556:0;-1:-1:-1;;;103804:556:0:o;119381:439::-;119595:18;:16;:18::i;:::-;119669:32;119689:11;119669:19;:32::i;:::-;119760:52;;-1:-1:-1;;;119760:52:0;;-1:-1:-1;;;;;119760:37:0;;;;;:52;;119798:13;;119760:52;;;:::i;136555:66::-;35767:10;35757:21;;;;:9;:21;;;;;;;;:29;;:21;:29;35749:62;;;;-1:-1:-1;;;35749:62:0;;;;;;;:::i;:::-;136603:10:::1;:8;:10::i;:::-;136555:66::o:0;128824:205::-;128963:4;-1:-1:-1;;;;;19408:18:0;;19416:10;19408:18;19404:83;;19443:32;19464:10;19443:20;:32::i;:::-;128980:41:::1;129003:4;129009:2;129013:7;128980:22;:41::i;100998:753::-:0;101140:18;:16;:18::i;:::-;101276:1;101242:22;;;;:7;:22;:::i;:::-;-1:-1:-1;;;;;101242:36:0;;101238:111;;101302:35;;-1:-1:-1;;;101302:35:0;;;;;;;;;;;101238:111;101453:6;101432:18;;;;;;;;:::i;:::-;-1:-1:-1;;;;;101432:27:0;;101428:112;;;101509:18;;;;;;;;:::i;:::-;101483:45;;-1:-1:-1;;;101483:45:0;;-1:-1:-1;;;;;22840:39:1;;;101483:45:0;;;22822:58:1;22795:18;;101483:45:0;22677:209:1;101428:112:0;101605:7;101590:12;:22;101605:7;101590:12;:22;:::i;:::-;-1:-1:-1;101681:62:0;;-1:-1:-1;101700:22:0;;;;:7;:22;:::i;:::-;101724:18;;;;;;;;:::i;:::-;101681:62;;;-1:-1:-1;;;;;23622:32:1;;;23604:51;;-1:-1:-1;;;;;23691:39:1;;;23686:2;23671:18;;23664:67;23577:18;101681:62:0;;;;;;;;100998:753;:::o;122871:465::-;123093:18;:16;:18::i;:::-;123167:32;123187:11;123167:19;:32::i;:::-;123258:70;;-1:-1:-1;;;123258:70:0;;-1:-1:-1;;;;;23928:32:1;;;123258:70:0;;;23910:51:1;24004:14;;23997:22;23977:18;;;23970:50;123258:47:0;;;;;23883:18:1;;123258:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;122871:465;;;:::o;123801:565::-;124081:18;:16;:18::i;:::-;124155:32;124175:11;124155:19;:32::i;:::-;124231:127;;-1:-1:-1;;;124231:127:0;;-1:-1:-1;;;;;124231:54:0;;;;;:127;;124300:6;;124321:26;;124231:127;;;:::i;97585:397::-;97730:18;:16;:18::i;:::-;97795:13;:26;97811:10;;97795:13;:26;:::i;:::-;-1:-1:-1;115588:1:0;41245:12;41032:7;41229:13;:28;-1:-1:-1;;41229:46:0;97881:18;97877:98;;97921:42;97941:1;97961;97944:14;40713:7;40740:13;;40658:103;97944:14;:18;;;;:::i;:::-;97921:42;;;17403:25:1;;;17459:2;17444:18;;17437:34;;;;17376:18;97921:42:0;17229:248:1;97877:98:0;97585:397;;:::o;137089:509::-;137187:23;137273:8;137248:22;137273:8;-1:-1:-1;;;;;137340:68:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;137340:68:0;;-1:-1:-1;;137340:68:0;;;;;;;;;;;;137303:105;;137428:9;137423:125;137444:14;137439:1;:19;137423:125;;137500:32;137520:8;;137529:1;137520:11;;;;;;;:::i;:::-;;;;;;;137500:19;:32::i;:::-;137484:10;137495:1;137484:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;137460:3;;137423:125;;;-1:-1:-1;137569:10:0;137089:509;-1:-1:-1;;;;137089:509:0:o;113838:198::-;21394:13;:11;:13::i;:::-;113991:37:::1;114013:14;;113991:21;:37::i;46613:152::-:0;46685:7;46728:27;46747:7;46728:18;:27::i;117793:604::-;20606:6;;20616:1;20606:11;20598:34;;;;-1:-1:-1;;;20598:34:0;;27902:2:1;20598:34:0;;;27884:21:1;27941:2;27921:18;;;27914:30;-1:-1:-1;;;27960:18:1;;;27953:40;28010:18;;20598:34:0;27700:334:1;20598:34:0;20654:1;20645:6;:10;117982:31:::1;118002:10;117982:19;:31::i;:::-;102525:10:::0;;118120:8:::1;118103:14;41447:7:::0;41638:13;-1:-1:-1;;41638:31:0;;41392:296;118103:14:::1;:25;;;;:::i;:::-;:39;118099:196;;;118230:8;118213:14;41447:7:::0;41638:13;-1:-1:-1;;41638:31:0;;41392:296;118213:14:::1;:25;;;;:::i;:::-;102525:10:::0;;118166:117:::1;::::0;-1:-1:-1;;;118166:117:0;;::::1;::::0;::::1;17403:25:1::0;;;;17444:18;;;17437:34;17376:18;;118166:117:0::1;17229:248:1::0;118099:196:0::1;118362:27;118372:6;118380:8;118362:9;:27::i;:::-;-1:-1:-1::0;;20691:1:0;20682:6;:10;117793:604::o;122072:430::-;122265:18;:16;:18::i;:::-;122339:32;122359:11;122339:19;:32::i;:::-;122431:63;;-1:-1:-1;;;122431:63:0;;-1:-1:-1;;;;;1793:32:1;;;122431:63:0;;;1775:51:1;122431:48:0;;;;;1748:18:1;;122431:63:0;1629:203:1;101834:102:0;101885:13;101918:10;:8;:10::i;:::-;101911:17;;101834:102;:::o;99198:523::-;99330:18;:16;:18::i;:::-;-1:-1:-1;;;;;99444:12:0;:26;99440:109;;;99494:43;;-1:-1:-1;;;99494:43:0;;;;;2624:25:1;;;2597:18;;99494:43:0;2478:177:1;99440:109:0;99597:10;:25;;;99683:30;;2624:25:1;;;99683:30:0;;2612:2:1;2597:18;99683:30:0;2478:177:1;42155:233:0;42227:7;-1:-1:-1;;;;;42251:19:0;;42247:60;;42279:28;;-1:-1:-1;;;42279:28:0;;;;;;;;;;;42247:60;-1:-1:-1;;;;;;42325:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;42325:55:0;;42155:233::o;23411:103::-;21394:13;:11;:13::i;:::-;23476:30:::1;23503:1;23476:18;:30::i;35292:95::-:0;21394:13;:11;:13::i;22233:321::-;22312:14;;-1:-1:-1;;;;;22312:14:0;22341:10;:29;;22337:83;;22394:14;;-1:-1:-1;;;22394:14:0;;;;;;;;;;;22337:83;22437:14;22430:21;;-1:-1:-1;;;;;;22430:21:0;;;22467:33;;-1:-1:-1;1775:51:1;;22467:33:0;;1763:2:1;1748:18;22467:33:0;;;;;;;22511:35;22530:15;22511:18;:35::i;:::-;22275:279;22233:321::o;121349:410::-;121555:18;:16;:18::i;:::-;121629:32;121649:11;121629:19;:32::i;:::-;121707:44;;-1:-1:-1;;;121707:44:0;;-1:-1:-1;;;;;121707:35:0;;;;;:44;;121743:7;;;;121707:44;;;:::i;120590:499::-;120845:18;:16;:18::i;:::-;120919:32;120939:11;120919:19;:32::i;:::-;121011:70;;-1:-1:-1;;;121011:70:0;;-1:-1:-1;;;;;121011:42:0;;;;;:70;;121054:15;;121071:9;;121011:70;;;:::i;125615:370::-;-1:-1:-1;;;;;42559:25:0;;125735:23;42559:25;;;:18;:25;;36452:2;42559:25;;;;:50;;-1:-1:-1;;;;;42558:82:0;;125735:23;125930:14;41447:7;41638:13;-1:-1:-1;;41638:31:0;;41392:296;125930:14;125967:10;;125615:370;;125909:35;;-1:-1:-1;125615:370:0;-1:-1:-1;;125615:370:0:o;136485:62::-;35767:10;35757:21;;;;:9;:21;;;;;;;;:29;;:21;:29;35749:62;;;;-1:-1:-1;;;35749:62:0;;;;;;;:::i;:::-;136531:8:::1;:6;:8::i;140176:965::-:0;140253:16;140307:19;140341:25;140381:22;140406:16;140416:5;140406:9;:16::i;:::-;140381:41;;140437:25;140479:14;-1:-1:-1;;;;;140465:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;140465:29:0;;140437:57;;140509:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;140509:31:0;115588:1;140555:538;140639:14;140624:11;:29;140555:538;;140722:15;140735:1;140722:12;:15::i;:::-;140710:27;;140760:9;:16;;;140801:8;140756:73;140851:14;;-1:-1:-1;;;;;140851:28:0;;140847:111;;140924:14;;;-1:-1:-1;140847:111:0;141001:5;-1:-1:-1;;;;;140980:26:0;:17;-1:-1:-1;;;;;140980:26:0;;140976:102;;141057:1;141031:8;141040:13;;;;;;141031:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;140976:102;140672:3;;140555:538;;;-1:-1:-1;141114:8:0;;140176:965;-1:-1:-1;;;;;;140176:965:0:o;130268:5352::-;21394:13;:11;:13::i;:::-;130387:16;::::1;:20:::0;130383:88:::1;;130424:35;::::0;-1:-1:-1;;;130424:35:0;;130442:16;::::1;130424:35;::::0;::::1;2624:25:1::0;130424:4:0::1;::::0;:17:::1;::::0;2597:18:1;;130424:35:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;130383:88;130491:14;;::::0;::::1;:6:::0;:14:::1;:::i;:::-;130485:33:::0;;-1:-1:-1;130481:97:0::1;;130535:4;:15;130551:14;;::::0;::::1;:6:::0;:14:::1;:::i;:::-;130535:31;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;130481:97;130598:18;;::::0;::::1;:6:::0;:18:::1;:::i;:::-;130592:37:::0;;-1:-1:-1;130588:109:0::1;;130646:4;:19;130666:18;;::::0;::::1;:6:::0;:18:::1;:::i;:::-;130646:39;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;130588:109;130784:37;130790:25;::::0;;;;;;::::1;:::i;:::-;:30;;::::0;::::1;105130:1:::0;105033:116;130784:37:::1;130725:39;130731:27;::::0;;;;;;::::1;:::i;130725:39::-;:96;130838:1;130725:114:::0;130707:231:::1;;130866:4;:21;130888:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;130908:6;:17;;130866:60;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;130707:231;130958:14;;::::0;::::1;:6:::0;:14:::1;:::i;:::-;130952:33:::0;;-1:-1:-1;130948:120:0::1;;131002:4;:18;131021;::::0;;;::::1;::::0;::::1;;:::i;:::-;131041:14;;::::0;::::1;:6:::0;:14:::1;:::i;:::-;131002:54;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;130948:120;131125:1;131082:20;;::::0;::::1;:6:::0;:20:::1;:::i;:::-;:31;:45;131078:140;;131144:4;:20;131165:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;131185:20;;::::0;::::1;:6:::0;:20:::1;:::i;:::-;131144:62;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;131078:140;131271:1;131232:27;::::0;;;::::1;::::0;::::1;;:::i;:::-;-1:-1:-1::0;;;;;131232:41:0::1;;131228:203;;131290:4;:31;131340:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;131377:27;::::0;;;::::1;::::0;::::1;;:::i;:::-;131290:129;::::0;-1:-1:-1;;;;;;131290:129:0::1;::::0;;;;;;-1:-1:-1;;;;;32799:15:1;;;131290:129:0::1;::::0;::::1;32781:34:1::0;32851:15;;32831:18;;;32824:43;32716:18;;131290:129:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;131228:203;131445:21;::::0;::::1;;:35:::0;131441:113:::1;;131497:45;::::0;-1:-1:-1;;;131497:45:0;;131520:21:::1;::::0;::::1;;131497:45;::::0;::::1;2624:25:1::0;131497:4:0::1;::::0;:22:::1;::::0;2597:18:1;;131497:45:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;131441:113;131605:1;131568:27;;::::0;::::1;:6:::0;:27:::1;:::i;:::-;:34;;:38;131564:411;;;131628:9;131623:341;131647:27;;::::0;::::1;:6:::0;:27:::1;:::i;:::-;:34;;131643:1;:38;131623:341;;;131704:4;:30;131757:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;131798:27;;::::0;::::1;:6:::0;:27:::1;:::i;:::-;131826:1;131798:30;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;131851:4;131704:170;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;131926:3;;;;;131623:341;;;;131564:411;132029:1;131989:30;;::::0;::::1;:6:::0;:30:::1;:::i;:::-;:37;;:41;131985:421;;;132052:9;132047:348;132071:30;;::::0;::::1;:6:::0;:30:::1;:::i;:::-;:37;;132067:1;:41;132047:348;;;132131:4;:30;132184:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;132225:30;;::::0;::::1;:6:::0;:30:::1;:::i;:::-;132256:1;132225:33;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;132281:5;132131:174;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;132357:3;;;;;132047:348;;;;131985:421;132450:1;132420:20;;::::0;::::1;:6:::0;:20:::1;:::i;:::-;:27;;:31;132416:376;;;132473:9;132468:313;132492:20;;::::0;::::1;:6:::0;:20:::1;:::i;:::-;:27;;132488:1;:31;132468:313;;;132542:4;:16;132581:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;132622:20;;::::0;::::1;:6:::0;:20:::1;:::i;:::-;132643:1;132622:23;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;132668:4;132542:149;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;132743:3;;;;;132468:313;;;;132416:376;132839:1;132806:23;;::::0;::::1;:6:::0;:23:::1;:::i;:::-;:30;;:34;132802:386;;;132862:9;132857:320;132881:23;;::::0;::::1;:6:::0;:23:::1;:::i;:::-;:30;;132877:1;:34;132857:320;;;132934:4;:16;132973:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;133014:23;;::::0;::::1;:6:::0;:23:::1;:::i;:::-;133038:1;133014:26;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;133063:5;132934:153;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;133139:3;;;;;132857:320;;;;132802:386;133239:1;133202:27;;::::0;::::1;:6:::0;:27:::1;:::i;:::-;:34;;:38;133198:647;;;133334:33;;::::0;::::1;:6:::0;:33:::1;:::i;:::-;:40:::0;-1:-1:-1;133279:27:0::1;;::::0;::::1;:6:::0;:27:::1;:::i;:::-;:34;;:95;133257:195;;133416:20;;-1:-1:-1::0;;;133416:20:0::1;;;;;;;;;;;133257:195;133471:9;133466:368;133490:27;;::::0;::::1;:6:::0;:27:::1;:::i;:::-;:34;;133486:1;:38;133466:368;;;133547:4;:25;133595:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;133636:33;;::::0;::::1;:6:::0;:33:::1;:::i;:::-;133670:1;133636:36;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;133695:27;;::::0;::::1;:6:::0;:27:::1;:::i;:::-;133723:1;133695:30;;;;;;;:::i;:::-;;;;;;133547:197;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;133796:3;;;;;133466:368;;;;133198:647;133912:1;133859:43;;::::0;::::1;:6:::0;:43:::1;:::i;:::-;:50;;:54;133855:566;;;133953:9;133930:480;133989:43;;::::0;::::1;:6:::0;:43:::1;:::i;:::-;:50;;133985:1;:54;133930:480;;;-1:-1:-1::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;134133:4:0::1;:25;134181:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;134222:43;;::::0;::::1;:6:::0;:43:::1;:::i;:::-;134266:1;134222:46;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;134291:10;134133:187;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;134372:3;;;;;134058:352;133930:480;;;;133855:566;134478:1;134435:33;;::::0;::::1;:6:::0;:33:::1;:::i;:::-;:40;;:44;134431:692;;;134579:14;;::::0;::::1;:6:::0;:14:::1;:::i;:::-;:21:::0;-1:-1:-1;134518:33:0::1;;::::0;::::1;:6:::0;:33:::1;:::i;:::-;:40;;:82;134496:179;;134642:17;;-1:-1:-1::0;;;134642:17:0::1;;;;;;;;;;;134496:179;134712:9;134689:423;134748:33;;::::0;::::1;:6:::0;:33:::1;:::i;:::-;:40;;134744:1;:44;134689:423;;;134826:4;:37;134886:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;134927:14;;::::0;::::1;:6:::0;:14:::1;:::i;:::-;134942:1;134927:17;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;134967:33;;::::0;::::1;:6:::0;:33:::1;:::i;:::-;135001:1;134967:36;;;;;;;:::i;:::-;;;;;;134826:196;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;135074:3;;;;;134689:423;;;;134431:692;135171:1;135137:24;;::::0;::::1;:6:::0;:24:::1;:::i;:::-;:31;;:35;135133:480;;;135194:9;135189:413;135213:24;;::::0;::::1;:6:::0;:24:::1;:::i;:::-;:31;;135209:1;:35;135189:413;;;-1:-1:-1::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;135331:4:0::1;:37;135391:18;::::0;;;::::1;::::0;::::1;;:::i;:::-;135432:24;;::::0;::::1;:6:::0;:24:::1;:::i;:::-;135457:1;135432:27;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;135482:11;135331:181;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;135564:3;;;;;135248:354;135189:413;;98129:354:::0;98282:18;:16;:18::i;:::-;98351:12;:29;98366:14;;98351:12;:29;:::i;:::-;;98441:34;98460:14;;98441:34;;;;;;;:::i;45396:104::-;45452:13;45485:7;45478:14;;;;;:::i;137606:2562::-;137732:16;137799:4;137790:5;:13;137786:45;;137812:19;;-1:-1:-1;;;137812:19:0;;;;;;;;;;;137786:45;137846:19;137880:17;137900:14;40713:7;40740:13;;40658:103;137900:14;137880:34;-1:-1:-1;115588:1:0;137992:5;:23;137988:87;;;115588:1;138036:23;;137988:87;138151:9;138144:4;:16;138140:73;;;138188:9;138181:16;;138140:73;138227:25;138255:16;138265:5;138255:9;:16::i;:::-;138227:44;;138449:4;138441:5;:12;138437:278;;;138496:12;;;138531:31;;;138527:111;;;138607:11;138587:31;;138527:111;138455:198;138437:278;;;-1:-1:-1;138698:1:0;138437:278;138729:25;138771:17;-1:-1:-1;;;;;138757:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;138757:32:0;;138729:60;;138808:17;138829:1;138808:22;138804:78;;138858:8;-1:-1:-1;138851:15:0;;-1:-1:-1;;;138851:15:0;138804:78;139026:31;139060:26;139080:5;139060:19;:26::i;:::-;139026:60;;139101:25;139346:9;:16;;;139341:92;;-1:-1:-1;139403:14:0;;139341:92;139482:5;139447:544;139511:4;139506:1;:9;;:45;;;;;139534:17;139519:11;:32;;139506:45;139447:544;;;139620:15;139633:1;139620:12;:15::i;:::-;139608:27;;139658:9;:16;;;139699:8;139654:73;139749:14;;-1:-1:-1;;;;;139749:28:0;;139745:111;;139822:14;;;-1:-1:-1;139745:111:0;139899:5;-1:-1:-1;;;;;139878:26:0;:17;-1:-1:-1;;;;;139878:26:0;;139874:102;;139955:1;139929:8;139938:13;;;;;;139929:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;139874:102;139570:3;;139447:544;;;-1:-1:-1;;;140076:29:0;;;-1:-1:-1;140083:8:0;;-1:-1:-1;;137606:2562:0;;;;;;:::o;127138:208::-;127269:8;19682:30;19703:8;19682:20;:30::i;:::-;127295:43:::1;127319:8;127329;127295:23;:43::i;98731:316::-:0;98917:18;:16;:18::i;:::-;98996:43;;;17403:25:1;;;17459:2;17444:18;;17437:34;;;98996:43:0;;17376:18:1;98996:43:0;17229:248:1;35501:102:0;35767:10;35757:21;;;;:9;:21;;;;;;;;:29;;:21;:29;35749:62;;;;-1:-1:-1;;;35749:62:0;;;;;;;:::i;129667:239::-;129834:4;-1:-1:-1;;;;;19408:18:0;;19416:10;19408:18;19404:83;;19443:32;19464:10;19443:20;:32::i;:::-;129851:47:::1;129874:4;129880:2;129884:7;129893:4;129851:22;:47::i;:::-;129667:239:::0;;;;;:::o;136654:427::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;115588:1:0;136817:7;:25;:54;;;-1:-1:-1;40713:7:0;40740:13;136846:7;:25;;136817:54;136813:103;;;136895:9;136654:427;-1:-1:-1;;136654:427:0:o;136813:103::-;136938:21;136951:7;136938:12;:21::i;:::-;136926:33;;136974:9;:16;;;136970:65;;;137014:9;136654:427;-1:-1:-1;;136654:427:0:o;136970:65::-;137052:21;137065:7;137052:12;:21::i;115936:644::-;116054:13;116090:16;116098:7;116090;:16::i;:::-;116085:59;;116115:29;;-1:-1:-1;;;116115:29:0;;;;;;;;;;;116085:59;116157:21;116181:10;:8;:10::i;:::-;116157:34;;116262:7;116256:21;116281:1;116256:26;116252:68;;-1:-1:-1;;116299:9:0;;;;;;;;;-1:-1:-1;116299:9:0;;;115936:644;-1:-1:-1;115936:644:0:o;116252:68::-;116444:10;;;;;;;;;;;;;-1:-1:-1;;;116444:10:0;;;;;;;116414:21;;;;:25;;;:::i;:::-;116399:41;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;;116399:41:0;:58;116395:105;;116481:7;115936:644;-1:-1:-1;;115936:644:0:o;116395:105::-;116543:7;116552:18;116562:7;116552:9;:18::i;:::-;116526:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;116512:60;;;115936:644;;;:::o;124692:416::-;124902:18;:16;:18::i;:::-;124976:32;124996:11;124976:19;:32::i;:::-;125051:49;;-1:-1:-1;;;125051:49:0;;-1:-1:-1;;;;;23928:32:1;;;125051:49:0;;;23910:51:1;24004:14;;23997:22;23977:18;;;23970:50;125051:33:0;;;;;23883:18:1;;125051:49:0;23742:284:1;102276:108:0;102331:13;102364:12;102357:19;;;;;:::i;135935:216::-;-1:-1:-1;;;;;136081:19:0;;136057:4;136081:19;;;:9;:19;;;;;;;;;:62;;-1:-1:-1;;;;;;52773:25:0;;;52749:4;52773:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;136104:39;52652:164;21777:324;21394:13;:11;:13::i;:::-;-1:-1:-1;;;;;21903:31:0;::::1;21899:94;;21958:23;;-1:-1:-1::0;;;21958:23:0::1;;;;;;;;;;;21899:94;22003:14;:34:::0;;-1:-1:-1;;;;;;22003:34:0::1;-1:-1:-1::0;;;;;22003:34:0;::::1;::::0;;::::1;::::0;;;22053:40:::1;::::0;1775:51:1;;;22053:40:0::1;::::0;1763:2:1;1748:18;22053:40:0::1;1629:203:1::0;104516:312:0;104635:4;-1:-1:-1;;;;;;104672:41:0;;-1:-1:-1;;;104672:41:0;;:83;;-1:-1:-1;;;;;;;;;;104730:25:0;;;104672:83;:148;;;;104784:36;104808:11;104784:23;:36::i;53074:282::-;53139:4;53195:7;115588:1;53176:26;;:66;;;;;53229:13;;53219:7;:23;53176:66;:153;;;;-1:-1:-1;;53280:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;53280:44:0;:49;;53074:282::o;19825:647::-;1593:42;20016:45;:49;20012:453;;20315:67;;-1:-1:-1;;;20315:67:0;;20366:4;20315:67;;;32781:34:1;-1:-1:-1;;;;;32851:15:1;;32831:18;;;32824:43;1593:42:0;;20315;;32716:18:1;;20315:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;20310:144;;20410:28;;-1:-1:-1;;;20410:28:0;;-1:-1:-1;;;;;1793:32:1;;20410:28:0;;;1775:51:1;1748:18;;20410:28:0;1629:203:1;51144:400:0;51225:13;51241:16;51249:7;51241;:16::i;:::-;51225:32;-1:-1:-1;75445:10:0;-1:-1:-1;;;;;51274:28:0;;;51270:175;;51322:44;51339:5;75445:10;135935:216;:::i;51322:44::-;51317:128;;51394:35;;-1:-1:-1;;;51394:35:0;;;;;;;;;;;51317:128;51457:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;51457:35:0;-1:-1:-1;;;;;51457:35:0;;;;;;;;;51508:28;;51457:24;;51508:28;;;;;;;51214:330;51144:400;;:::o;97008:218::-;97138:4;97116:10;:27;97079:28;97099:7;22834:6;;-1:-1:-1;;;;;22834:6:0;;22761:87;97099:7;-1:-1:-1;;;;;97085:21:0;:10;-1:-1:-1;;;;;97085:21:0;;105130:1;105033:116;97079:28;:65;97161:1;97079:83;97061:158;;97196:11;;-1:-1:-1;;;97196:11:0;;;;;;;;;;;22926:134;22986:6;;-1:-1:-1;;;;;22986:6:0;22996:10;22986:20;22982:71;;23030:11;;-1:-1:-1;;;23030:11:0;;;;;;;;;;;112579:170;-1:-1:-1;;;;;112654:24:0;;;;;;:15;:24;;;;;;;;:32;;:24;:32;112650:92;;112710:20;;-1:-1:-1;;;112710:20:0;;;;;;;;;;;55342:2817;55476:27;55506;55525:7;55506:18;:27::i;:::-;55476:57;;55591:4;-1:-1:-1;;;;;55550:45:0;55566:19;-1:-1:-1;;;;;55550:45:0;;55546:86;;55604:28;;-1:-1:-1;;;55604:28:0;;;;;;;;;;;55546:86;55646:27;54450:24;;;:15;:24;;;;;54678:26;;75445:10;54075:30;;;-1:-1:-1;;;;;53768:28:0;;54053:20;;;54050:56;55832:180;;55925:43;55942:4;75445:10;135935:216;:::i;55925:43::-;55920:92;;55977:35;;-1:-1:-1;;;55977:35:0;;;;;;;;;;;55920:92;-1:-1:-1;;;;;56029:16:0;;56025:52;;56054:23;;-1:-1:-1;;;56054:23:0;;;;;;;;;;;56025:52;56090:43;56112:4;56118:2;56122:7;56131:1;56090:21;:43::i;:::-;56226:15;56223:160;;;56366:1;56345:19;56338:30;56223:160;-1:-1:-1;;;;;56763:24:0;;;;;;;:18;:24;;;;;;56761:26;;-1:-1:-1;;56761:26:0;;;56832:22;;;;;;;;;56830:24;;-1:-1:-1;56830:24:0;;;50002:11;49977:23;49973:41;49960:63;-1:-1:-1;;;49960:63:0;57125:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;57420:47:0;;:52;;57416:627;;57525:1;57515:11;;57493:19;57648:30;;;:17;:30;;;;;;:35;;57644:384;;57786:13;;57771:11;:28;57767:242;;57933:30;;;;:17;:30;;;;;:52;;;57767:242;57474:569;57416:627;58090:7;58086:2;-1:-1:-1;;;;;58071:27:0;58080:4;-1:-1:-1;;;;;58071:27:0;;;;;;;;;;;58109:42;128531:197;79664:120;78673:16;:14;:16::i;:::-;79723:7:::1;:15:::0;;-1:-1:-1;;79723:15:0::1;::::0;;79754:22:::1;75445:10:::0;79763:12:::1;79754:22;::::0;-1:-1:-1;;;;;1793:32:1;;;1775:51;;1763:2;1748:18;79754:22:0::1;1629:203:1::0;58255:185:0;58393:39;58410:4;58416:2;58420:7;58393:39;;;;;;;;;;;;:16;:39::i;114206:996::-;114400:25;:46;114488:14;114359:38;114557:200;114581:30;114577:1;:34;114557:200;;;114678:5;114630:15;:45;114646:25;114672:1;114646:28;;;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;114646:28:0;114630:45;;;;;;;;;;;;:53;;-1:-1:-1;;114630:53:0;;;;;;;;;;-1:-1:-1;114727:3:0;114557:200;;;;114837:9;114832:178;114856:20;114852:1;:24;114832:178;;;114932:4;114895:15;:34;114911:14;;114926:1;114911:17;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;114895:34:0;;;;;;;;;;;;-1:-1:-1;114895:34:0;:41;;-1:-1:-1;;114895:41:0;;;;;;;;;;-1:-1:-1;114980:3:0;114832:178;;;-1:-1:-1;115055:42:0;:25;115083:14;;115055:42;:::i;:::-;;115157:37;115179:14;;115157:37;;;;;;;:::i;:::-;;;;;;;;114281:921;;114206:996;;:::o;47768:1275::-;47835:7;47870;;115588:1;47919:23;47915:1061;;47972:13;;47965:4;:20;47961:1015;;;48010:14;48027:23;;;:17;:23;;;;;;;-1:-1:-1;;;48116:24:0;;:29;;48112:845;;48781:113;48788:6;48798:1;48788:11;48781:113;;-1:-1:-1;;;48859:6:0;48841:25;;;;:17;:25;;;;;;48781:113;;48112:845;47987:989;47961:1015;49004:31;;-1:-1:-1;;;49004:31:0;;;;;;;;;;;69190:112;69267:27;69277:2;69281:8;69267:27;;;;;;;;;;;;:9;:27::i;102072:114::-;102132:13;102165;102158:20;;;;;:::i;23674:191::-;23767:6;;;-1:-1:-1;;;;;23784:17:0;;;-1:-1:-1;;;;;;23784:17:0;;;;;;;23817:40;;23767:6;;;23784:17;23767:6;;23817:40;;23748:16;;23817:40;23737:128;23674:191;:::o;79405:118::-;78414:19;:17;:19::i;:::-;79465:7:::1;:14:::0;;-1:-1:-1;;79465:14:0::1;79475:4;79465:14;::::0;;79495:20:::1;79502:12;75445:10:::0;;75358:105;47216:161;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47344:24:0;;;;:17;:24;;;;;;47325:44;;:18;:44::i;52261:234::-;75445:10;52356:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;52356:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;52356:60:0;;;;;;;;;;52432:55;;636:41:1;;;52356:49:0;;75445:10;52432:55;;609:18:1;52432:55:0;;;;;;;52261:234;;:::o;59038:399::-;59205:31;59218:4;59224:2;59228:7;59205:12;:31::i;:::-;-1:-1:-1;;;;;59251:14:0;;;:19;59247:183;;59290:56;59321:4;59327:2;59331:7;59340:5;59290:30;:56::i;:::-;59285:145;;59374:40;;-1:-1:-1;;;59374:40:0;;;;;;;;;;;46954:166;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47065:47:0;47084:27;47103:7;47084:18;:27::i;:::-;47065:18;:47::i;75565:1745::-;75630:17;76064:4;76057;76051:11;76047:22;76156:1;76150:4;76143:15;76231:4;76228:1;76224:12;76217:19;;;76313:1;76308:3;76301:14;76417:3;76656:5;76638:428;76704:1;76699:3;76695:11;76688:18;;76875:2;76869:4;76865:13;76861:2;76857:22;76852:3;76844:36;76969:2;76959:13;;77026:25;76638:428;77026:25;-1:-1:-1;77096:13:0;;;-1:-1:-1;;77211:14:0;;;77273:19;;;77211:14;75565:1745;-1:-1:-1;75565:1745:0:o;44318:639::-;44403:4;-1:-1:-1;;;;;;;;;44727:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;44804:25:0;;;44727:102;:179;;;-1:-1:-1;;;;;;;;44881:25:0;-1:-1:-1;;;44881:25:0;;44318:639::o;136159:318::-;78880:7;;;;136418:9;136410:59;;;;-1:-1:-1;;;136410:59:0;;40053:2:1;136410:59:0;;;40035:21:1;40092:2;40072:18;;;40065:30;40131:34;40111:18;;;40104:62;-1:-1:-1;;;40182:18:1;;;40175:35;40227:19;;136410:59:0;39851:401:1;79153:108:0;78880:7;;;;79212:41;;;;-1:-1:-1;;;79212:41:0;;40459:2:1;79212:41:0;;;40441:21:1;40498:2;40478:18;;;40471:30;-1:-1:-1;;;40517:18:1;;;40510:50;40577:18;;79212:41:0;40257:344:1;68417:689:0;68548:19;68554:2;68558:8;68548:5;:19::i;:::-;-1:-1:-1;;;;;68609:14:0;;;:19;68605:483;;68649:11;68663:13;68711:14;;;68744:233;68775:62;68814:1;68818:2;68822:7;;;;;;68831:5;68775:30;:62::i;:::-;68770:167;;68873:40;;-1:-1:-1;;;68873:40:0;;;;;;;;;;;68770:167;68972:3;68964:5;:11;68744:233;;69059:3;69042:13;;:20;69038:34;;69064:8;;;78968:108;78880:7;;;;79038:9;79030:38;;;;-1:-1:-1;;;79030:38:0;;40808:2:1;79030:38:0;;;40790:21:1;40847:2;40827:18;;;40820:30;-1:-1:-1;;;40866:18:1;;;40859:46;40922:18;;79030:38:0;40606:340:1;49142:366:0;-1:-1:-1;;;;;;;;;;;;;49252:41:0;;;;36973:3;49338:33;;;-1:-1:-1;;;;;49304:68:0;-1:-1:-1;;;49304:68:0;-1:-1:-1;;;49402:24:0;;:29;;-1:-1:-1;;;49383:48:0;;;;37494:3;49471:28;;;;-1:-1:-1;;;49442:58:0;-1:-1:-1;49142:366:0:o;61521:716::-;61705:88;;-1:-1:-1;;;61705:88:0;;61684:4;;-1:-1:-1;;;;;61705:45:0;;;;;:88;;75445:10;;61772:4;;61778:7;;61787:5;;61705:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61705:88:0;;;;;;;;-1:-1:-1;;61705:88:0;;;;;;;;;;;;:::i;:::-;;;61701:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61988:6;:13;62005:1;61988:18;61984:235;;62034:40;;-1:-1:-1;;;62034:40:0;;;;;;;;;;;61984:235;62177:6;62171:13;62162:6;62158:2;62154:15;62147:38;61701:529;-1:-1:-1;;;;;;61864:64:0;-1:-1:-1;;;61864:64:0;;-1:-1:-1;61701:529:0;61521:716;;;;;;:::o;62699:2966::-;62772:20;62795:13;;;62823;;;62819:44;;62845:18;;-1:-1:-1;;;62845:18:0;;;;;;;;;;;62819:44;62876:61;62906:1;62910:2;62914:12;62928:8;62876:21;:61::i;:::-;-1:-1:-1;;;;;63351:22:0;;;;;;:18;:22;;;;36452:2;63351:22;;;:71;;63389:32;63377:45;;63351:71;;;63665:31;;;:17;:31;;;;;-1:-1:-1;50433:15:0;;50407:24;50403:46;50002:11;49977:23;49973:41;49970:52;49960:63;;63665:173;;63900:23;;;;63665:31;;63351:22;;64665:25;63351:22;;64518:335;65179:1;65165:12;65161:20;65119:346;65220:3;65211:7;65208:16;65119:346;;65438:7;65428:8;65425:1;65398:25;65395:1;65392;65387:59;65273:1;65260:15;65119:346;;;65123:77;65498:8;65510:1;65498:13;65494:45;;65520:19;;-1:-1:-1;;;65520:19:0;;;;;;;;;;;65494:45;65556:13;:19;-1:-1:-1;127873:189: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:247::-;2719:6;2772:2;2760:9;2751:7;2747:23;2743:32;2740:52;;;2788:1;2785;2778:12;2740:52;2827:9;2814:23;2846:31;2871:5;2846:31;:::i;2912:406::-;3008:6;3016;3060:9;3051:7;3047:23;3090:3;3086:2;3082:12;3079:32;;;3107:1;3104;3097:12;3079:32;3146:9;3133:23;3165:31;3190:5;3165:31;:::i;:::-;3215:5;-1:-1:-1;3254:3:1;-1:-1:-1;;3236:16:1;;3232:26;3229:46;;;3271:1;3268;3261:12;3229:46;;3309:2;3298:9;3294:18;3284:28;;2912:406;;;;;:::o;3323:456::-;3400:6;3408;3416;3469:2;3457:9;3448:7;3444:23;3440:32;3437:52;;;3485:1;3482;3475:12;3437:52;3524:9;3511:23;3543:31;3568:5;3543:31;:::i;:::-;3593:5;-1:-1:-1;3650:2:1;3635:18;;3622:32;3663:33;3622:32;3663:33;:::i;:::-;3323:456;;3715:7;;-1:-1:-1;;;3769:2:1;3754:18;;;;3741:32;;3323:456::o;3784:248::-;3852:6;3860;3913:2;3901:9;3892:7;3888:23;3884:32;3881:52;;;3929:1;3926;3919:12;3881:52;-1:-1:-1;;3952:23:1;;;4022:2;4007:18;;;3994:32;;-1:-1:-1;3784:248:1:o;4316:525::-;4415:6;4423;4476:2;4464:9;4455:7;4451:23;4447:32;4444:52;;;4492:1;4489;4482:12;4444:52;4531:9;4518:23;4550:31;4575:5;4550:31;:::i;:::-;4600:5;-1:-1:-1;4656:2:1;4641:18;;4628:32;-1:-1:-1;;;;;4672:30:1;;4669:50;;;4715:1;4712;4705:12;4669:50;4738:22;;4794:2;4776:16;;;4772:25;4769:45;;;4810:1;4807;4800:12;4769:45;4833:2;4823:12;;;4316:525;;;;;:::o;5085:197::-;5175:6;5228:2;5216:9;5207:7;5203:23;5199:32;5196:52;;;5244:1;5241;5234:12;5196:52;-1:-1:-1;5267:9:1;5085:197;-1:-1:-1;5085:197:1:o;5287:118::-;5373:5;5366:13;5359:21;5352:5;5349:32;5339:60;;5395:1;5392;5385:12;5410:128;5475:20;;5504:28;5475:20;5504:28;:::i;:::-;5410:128;;;:::o;5543:523::-;5617:6;5625;5633;5686:2;5674:9;5665:7;5661:23;5657:32;5654:52;;;5702:1;5699;5692:12;5654:52;5741:9;5728:23;5760:31;5785:5;5760:31;:::i;:::-;5810:5;-1:-1:-1;5867:2:1;5852:18;;5839:32;5880:33;5839:32;5880:33;:::i;:::-;5932:7;-1:-1:-1;5991:2:1;5976:18;;5963:32;6004:30;5963:32;6004:30;:::i;:::-;6053:7;6043:17;;;5543:523;;;;;:::o;6071:127::-;6132:10;6127:3;6123:20;6120:1;6113:31;6163:4;6160:1;6153:15;6187:4;6184:1;6177:15;6203:253;6275:2;6269:9;6317:4;6305:17;;-1:-1:-1;;;;;6337:34:1;;6373:22;;;6334:62;6331:88;;;6399:18;;:::i;:::-;6435:2;6428:22;6203:253;:::o;6461:275::-;6532:2;6526:9;6597:2;6578:13;;-1:-1:-1;;6574:27:1;6562:40;;-1:-1:-1;;;;;6617:34:1;;6653:22;;;6614:62;6611:88;;;6679:18;;:::i;:::-;6715:2;6708:22;6461:275;;-1:-1:-1;6461:275:1:o;6741:175::-;6808:20;;-1:-1:-1;;;;;6857:34:1;;6847:45;;6837:73;;6906:1;6903;6896:12;6921:161;6988:20;;7048:8;7037:20;;7027:31;;7017:59;;7072:1;7069;7062:12;7087:165;7154:20;;7214:12;7203:24;;7193:35;;7183:63;;7242:1;7239;7232:12;7257:159;7324:20;;7384:6;7373:18;;7363:29;;7353:57;;7406:1;7403;7396:12;7421:1101;7540:6;7548;7556;7600:9;7591:7;7587:23;7630:3;7626:2;7622:12;7619:32;;;7647:1;7644;7637:12;7619:32;7686:9;7673:23;7705:31;7730:5;7705:31;:::i;:::-;7755:5;-1:-1:-1;7812:2:1;7797:18;;7784:32;7825:33;7784:32;7825:33;:::i;:::-;7877:7;-1:-1:-1;7918:4:1;-1:-1:-1;;7900:16:1;;7896:27;7893:47;;;7936:1;7933;7926:12;7893:47;;7964:22;;:::i;:::-;8011:37;8044:2;8033:9;8029:18;8011:37;:::i;:::-;8002:7;7995:54;8083:37;8116:2;8105:9;8101:18;8083:37;:::i;:::-;8078:2;8069:7;8065:16;8058:63;8155:38;8188:3;8177:9;8173:19;8155:38;:::i;:::-;8150:2;8141:7;8137:16;8130:64;8228:38;8261:3;8250:9;8246:19;8228:38;:::i;:::-;8223:2;8214:7;8210:16;8203:64;8302:38;8335:3;8324:9;8320:19;8302:38;:::i;:::-;8296:3;8287:7;8283:17;8276:65;8376:39;8409:4;8398:9;8394:20;8376:39;:::i;:::-;8370:3;8361:7;8357:17;8350:66;8451:38;8484:3;8473:9;8469:19;8451:38;:::i;:::-;8445:3;8436:7;8432:17;8425:65;8509:7;8499:17;;;7421:1101;;;;;:::o;8527:348::-;8579:8;8589:6;8643:3;8636:4;8628:6;8624:17;8620:27;8610:55;;8661:1;8658;8651:12;8610:55;-1:-1:-1;8684:20:1;;-1:-1:-1;;;;;8716:30:1;;8713:50;;;8759:1;8756;8749:12;8713:50;8796:4;8788:6;8784:17;8772:29;;8848:3;8841:4;8832:6;8824;8820:19;8816:30;8813:39;8810:59;;;8865:1;8862;8855:12;8810:59;8527:348;;;;;:::o;8880:411::-;8951:6;8959;9012:2;9000:9;8991:7;8987:23;8983:32;8980:52;;;9028:1;9025;9018:12;8980:52;9068:9;9055:23;-1:-1:-1;;;;;9093:6:1;9090:30;9087:50;;;9133:1;9130;9123:12;9087:50;9172:59;9223:7;9214:6;9203:9;9199:22;9172:59;:::i;:::-;9250:8;;9146:85;;-1:-1:-1;8880:411:1;-1:-1:-1;;;;8880:411:1:o;9296:367::-;9359:8;9369:6;9423:3;9416:4;9408:6;9404:17;9400:27;9390:55;;9441:1;9438;9431:12;9390:55;-1:-1:-1;9464:20:1;;-1:-1:-1;;;;;9496:30:1;;9493:50;;;9539:1;9536;9529:12;9493:50;9576:4;9568:6;9564:17;9552:29;;9636:3;9629:4;9619:6;9616:1;9612:14;9604:6;9600:27;9596:38;9593:47;9590:67;;;9653:1;9650;9643:12;9668:437;9754:6;9762;9815:2;9803:9;9794:7;9790:23;9786:32;9783:52;;;9831:1;9828;9821:12;9783:52;9871:9;9858:23;-1:-1:-1;;;;;9896:6:1;9893:30;9890:50;;;9936:1;9933;9926:12;9890:50;9975:70;10037:7;10028:6;10017:9;10013:22;9975:70;:::i;10110:349::-;10194:12;;-1:-1:-1;;;;;10190:38:1;10178:51;;10282:4;10271:16;;;10265:23;-1:-1:-1;;;;;10261:48:1;10245:14;;;10238:72;10373:4;10362:16;;;10356:23;10349:31;10342:39;10326:14;;;10319:63;10435:4;10424:16;;;10418:23;10443:8;10414:38;10398:14;;10391:62;10110:349::o;10464:722::-;10697:2;10749:21;;;10819:13;;10722:18;;;10841:22;;;10668:4;;10697:2;10920:15;;;;10894:2;10879:18;;;10668:4;10963:197;10977:6;10974:1;10971:13;10963:197;;;11026:52;11074:3;11065:6;11059:13;11026:52;:::i;:::-;11135:15;;;;11107:4;11098:14;;;;;10999:1;10992:9;10963:197;;11633:388;11701:6;11709;11762:2;11750:9;11741:7;11737:23;11733:32;11730:52;;;11778:1;11775;11768:12;11730:52;11817:9;11804:23;11836:31;11861:5;11836:31;:::i;:::-;11886:5;-1:-1:-1;11943:2:1;11928:18;;11915:32;11956:33;11915:32;11956:33;:::i;12026:546::-;12106:6;12114;12122;12175:2;12163:9;12154:7;12150:23;12146:32;12143:52;;;12191:1;12188;12181:12;12143:52;12230:9;12217:23;12249:31;12274:5;12249:31;:::i;:::-;12299:5;-1:-1:-1;12355:2:1;12340:18;;12327:32;-1:-1:-1;;;;;12371:30:1;;12368:50;;;12414:1;12411;12404:12;12368:50;12453:59;12504:7;12495:6;12484:9;12480:22;12453:59;:::i;:::-;12026:546;;12531:8;;-1:-1:-1;12427:85:1;;-1:-1:-1;;;;12026:546:1:o;12577:556::-;12691:6;12699;12707;12751:9;12742:7;12738:23;12781:3;12777:2;12773:12;12770:32;;;12798:1;12795;12788:12;12770:32;12837:9;12824:23;12856:31;12881:5;12856:31;:::i;:::-;12906:5;-1:-1:-1;12963:2:1;12948:18;;12935:32;12976:33;12935:32;12976:33;:::i;:::-;13028:7;-1:-1:-1;13069:3:1;-1:-1:-1;;13051:16:1;;13047:26;13044:46;;;13086:1;13083;13076:12;13044:46;;13124:2;13113:9;13109:18;13099:28;;12577:556;;;;;:::o;13462:632::-;13633:2;13685:21;;;13755:13;;13658:18;;;13777:22;;;13604:4;;13633:2;13856:15;;;;13830:2;13815:18;;;13604:4;13899:169;13913:6;13910:1;13907:13;13899:169;;;13974:13;;13962:26;;14043:15;;;;14008:12;;;;13935:1;13928:9;13899:169;;14099:399;14197:6;14250:2;14238:9;14229:7;14225:23;14221:32;14218:52;;;14266:1;14263;14256:12;14218:52;14306:9;14293:23;-1:-1:-1;;;;;14331:6:1;14328:30;14325:50;;;14371:1;14368;14361:12;14325:50;14394:22;;14450:3;14432:16;;;14428:26;14425:46;;;14467:1;14464;14457:12;14503:383;14580:6;14588;14596;14649:2;14637:9;14628:7;14624:23;14620:32;14617:52;;;14665:1;14662;14655:12;14617:52;14704:9;14691:23;14723:31;14748:5;14723:31;:::i;:::-;14773:5;14825:2;14810:18;;14797:32;;-1:-1:-1;14876:2:1;14861:18;;;14848:32;;14503:383;-1:-1:-1;;;14503:383:1:o;14891:382::-;14956:6;14964;15017:2;15005:9;14996:7;14992:23;14988:32;14985:52;;;15033:1;15030;15023:12;14985:52;15072:9;15059:23;15091:31;15116:5;15091:31;:::i;:::-;15141:5;-1:-1:-1;15198:2:1;15183:18;;15170:32;15211:30;15170:32;15211:30;:::i;15278:1108::-;15373:6;15381;15389;15397;15450:3;15438:9;15429:7;15425:23;15421:33;15418:53;;;15467:1;15464;15457:12;15418:53;15506:9;15493:23;15525:31;15550:5;15525:31;:::i;:::-;15575:5;-1:-1:-1;15599:2:1;15638:18;;;15625:32;15666:33;15625:32;15666:33;:::i;:::-;15718:7;-1:-1:-1;15772:2:1;15757:18;;15744:32;;-1:-1:-1;15827:2:1;15812:18;;15799:32;-1:-1:-1;;;;;15880:14:1;;;15877:34;;;15907:1;15904;15897:12;15877:34;15945:6;15934:9;15930:22;15920:32;;15990:7;15983:4;15979:2;15975:13;15971:27;15961:55;;16012:1;16009;16002:12;15961:55;16048:2;16035:16;16070:2;16066;16063:10;16060:36;;;16076:18;;:::i;:::-;16118:53;16161:2;16142:13;;-1:-1:-1;;16138:27:1;16134:36;;16118:53;:::i;:::-;16105:66;;16194:2;16187:5;16180:17;16234:7;16229:2;16224;16220;16216:11;16212:20;16209:33;16206:53;;;16255:1;16252;16245:12;16206:53;16310:2;16305;16301;16297:11;16292:2;16285:5;16281:14;16268:45;16354:1;16349:2;16344;16337:5;16333:14;16329:23;16322:34;;16375:5;16365:15;;;;;15278:1108;;;;;;;:::o;16391:266::-;16587:3;16572:19;;16600:51;16576:9;16633:6;16600:51;:::i;16844:380::-;16923:1;16919:12;;;;16966;;;16987:61;;17041:4;17033:6;17029:17;17019:27;;16987:61;17094:2;17086:6;17083:14;17063:18;17060:38;17057:161;;17140:10;17135:3;17131:20;17128:1;17121:31;17175:4;17172:1;17165:15;17203:4;17200:1;17193:15;17482:167;17549:20;;17609:14;17598:26;;17588:37;;17578:65;;17639:1;17636;17629:12;17852:746;-1:-1:-1;;;;;17941:24:1;17959:5;17941:24;:::i;:::-;17937:53;17932:3;17925:66;18020:35;18049:4;18042:5;18038:16;18020:35;:::i;:::-;18074:14;18138:2;18124:12;18120:21;18113:4;18108:3;18104:14;18097:45;18215:2;18178:35;18207:4;18200:5;18196:16;18178:35;:::i;:::-;18174:44;18167:4;18162:3;18158:14;18151:68;;;18250:35;18279:4;18272:5;18268:16;18250:35;:::i;:::-;18304:6;18362:2;18346:14;18342:23;18335:4;18330:3;18326:14;18319:47;18439:2;18402:35;18431:4;18424:5;18420:16;18402:35;:::i;:::-;18398:44;18391:4;18386:3;18382:14;18375:68;;;18491:4;18484:5;18480:16;18467:30;18506;18528:7;18506:30;:::i;:::-;18582:7;18575:15;18568:23;18561:4;18556:3;18552:14;18545:47;;17852:746;;:::o;18603:263::-;18791:3;18776:19;;18804:56;18780:9;18842:6;18804:56;:::i;18871:344::-;19073:2;19055:21;;;19112:2;19092:18;;;19085:30;-1:-1:-1;;;19146:2:1;19131:18;;19124:50;19206:2;19191:18;;18871:344::o;19220:127::-;19281:10;19276:3;19272:20;19269:1;19262:31;19312:4;19309:1;19302:15;19336:4;19333:1;19326:15;19352:168;19425:9;;;19456;;19473:15;;;19467:22;;19453:37;19443:71;;19494:18;;:::i;19525:217::-;19565:1;19591;19581:132;;19635:10;19630:3;19626:20;19623:1;19616:31;19670:4;19667:1;19660:15;19698:4;19695:1;19688:15;19581:132;-1:-1:-1;19727:9:1;;19525:217::o;19747:267::-;19836:6;19831:3;19824:19;19888:6;19881:5;19874:4;19869:3;19865:14;19852:43;-1:-1:-1;19940:1:1;19915:16;;;19933:4;19911:27;;;19904:38;;;;19996:2;19975:15;;;-1:-1:-1;;19971:29:1;19962:39;;;19958:50;;19747:267::o;20019:501::-;20078:5;20085:6;20145:3;20132:17;20231:2;20227:7;20216:8;20200:14;20196:29;20192:43;20172:18;20168:68;20158:96;;20250:1;20247;20240:12;20158:96;20278:33;;20382:4;20369:18;;;-1:-1:-1;20330:21:1;;-1:-1:-1;;;;;;20399:30:1;;20396:50;;;20442:1;20439;20432:12;20396:50;20489:6;20473:14;20469:27;20462:5;20458:39;20455:59;;;20510:1;20507;20500:12;20525:1467;20590:3;20629:4;20624:3;20620:14;20668:5;20655:19;20650:3;20643:32;20694:4;20757:2;20750:5;20746:14;20733:28;20840:2;20836:7;20828:5;20812:14;20808:26;20804:40;20784:18;20780:65;20770:93;;20859:1;20856;20849:12;20770:93;20887:30;;20985:16;;;;20940:21;-1:-1:-1;;;;;21013:30:1;;21010:50;;;21056:1;21053;21046:12;21010:50;21086:6;21083:1;21079:14;21138:2;21122:14;21118:23;21109:7;21105:37;21102:57;;;21155:1;21152;21145:12;21102:57;21189:4;21175:12;;;21168:26;21229:20;;;;21276:3;21307:12;;;21303:22;;;21348:7;;21267:13;;21373:1;21383:377;21397:6;21394:1;21391:13;21383:377;;;21464:16;;;-1:-1:-1;;21460:31:1;21446:46;;21541:48;21582:6;21573:7;21541:48;:::i;:::-;21612:64;21669:6;21654:13;21639;21612:64;:::i;:::-;21602:74;-1:-1:-1;;;21699:15:1;;;;21736:14;;;;21419:1;21412:9;21383:377;;;21387:3;;;;;;21803:56;21853:4;21846:5;21842:16;21835:5;21803:56;:::i;:::-;21903:3;21895:6;21891:16;21884:4;21879:3;21875:14;21868:40;21924:62;21979:6;21965:12;21951;21924:62;:::i;:::-;21917:69;20525:1467;-1:-1:-1;;;;;;20525:1467:1:o;21997:283::-;22186:2;22175:9;22168:21;22149:4;22206:68;22270:2;22259:9;22255:18;22247:6;22206:68;:::i;22285:137::-;-1:-1:-1;;;;;22363:5:1;22359:38;22352:5;22349:49;22339:77;;22412:1;22409;22402:12;22427:245;22485:6;22538:2;22526:9;22517:7;22513:23;22509:32;22506:52;;;22554:1;22551;22544:12;22506:52;22593:9;22580:23;22612:30;22636:5;22612:30;:::i;22891:535::-;23064:5;23051:19;23079:33;23104:7;23079:33;:::i;:::-;23248:11;;-1:-1:-1;;;;;;23244:20:1;;;-1:-1:-1;;;;;23131:33:1;;;;23241:28;;;23228:42;;23318:2;23307:14;;23294:28;23331:32;23294:28;23331:32;:::i;:::-;23400:3;23396:17;23392:26;23385:34;23372:48;;-1:-1:-1;22891:535:1:o;24031:678::-;-1:-1:-1;;;;;24133:5:1;24127:12;24123:41;24118:3;24111:54;24226:8;24218:4;24211:5;24207:16;24201:23;24197:38;24190:4;24185:3;24181:14;24174:62;24282:4;24275:5;24271:16;24265:23;24307:12;24369:2;24355:12;24351:21;24344:4;24339:3;24335:14;24328:45;24434:2;24426:4;24419:5;24415:16;24409:23;24405:32;24398:4;24393:3;24389:14;24382:56;24499:2;24491:4;24484:5;24480:16;24474:23;24470:32;24463:4;24458:3;24454:14;24447:56;;;24551:4;24544:5;24540:16;24534:23;24576:6;24634:2;24618:14;24614:23;24607:4;24602:3;24598:14;24591:47;24699:2;24691:4;24684:5;24680:16;24674:23;24670:32;24663:4;24658:3;24654:14;24647:56;;;24031:678;;:::o;24714:397::-;-1:-1:-1;;;;;24991:32:1;;24973:51;;24960:3;24945:19;;25033:72;25101:2;25086:18;;25078:6;25033:72;:::i;25242:545::-;25344:2;25339:3;25336:11;25333:448;;;25380:1;25405:5;25401:2;25394:17;25450:4;25446:2;25436:19;25520:2;25508:10;25504:19;25501:1;25497:27;25491:4;25487:38;25556:4;25544:10;25541:20;25538:47;;;-1:-1:-1;25579:4:1;25538:47;25634:2;25629:3;25625:12;25622:1;25618:20;25612:4;25608:31;25598:41;;25689:82;25707:2;25700:5;25697:13;25689:82;;;25752:17;;;25733:1;25722:13;25689:82;;25963:1206;-1:-1:-1;;;;;26082:3:1;26079:27;26076:53;;;26109:18;;:::i;:::-;26138:94;26228:3;26188:38;26220:4;26214:11;26188:38;:::i;:::-;26182:4;26138:94;:::i;:::-;26258:1;26283:2;26278:3;26275:11;26300:1;26295:616;;;;26955:1;26972:3;26969:93;;;-1:-1:-1;27028:19:1;;;27015:33;26969:93;-1:-1:-1;;25920:1:1;25916:11;;;25912:24;25908:29;25898:40;25944:1;25940:11;;;25895:57;27075:78;;26268:895;;26295:616;25189:1;25182:14;;;25226:4;25213:18;;-1:-1:-1;;26331:17:1;;;26432:9;26454:229;26468:7;26465:1;26462:14;26454:229;;;26557:19;;;26544:33;26529:49;;26664:4;26649:20;;;;26617:1;26605:14;;;;26484:12;26454:229;;;26458:3;26711;26702:7;26699:16;26696:159;;;26835:1;26831:6;26825:3;26819;26816:1;26812:11;26808:21;26804:34;26800:39;26787:9;26782:3;26778:19;26765:33;26761:79;26753:6;26746:95;26696:159;;;26898:1;26892:3;26889:1;26885:11;26881:19;26875:4;26868:33;26268:895;;25963:1206;;;:::o;27174:128::-;27241:9;;;27262:11;;;27259:37;;;27276:18;;:::i;27568:127::-;27629:10;27624:3;27620:20;27617:1;27610:31;27660:4;27657:1;27650:15;27684:4;27681:1;27674:15;28039:125;28104:9;;;28125:10;;;28122:36;;;28138:18;;:::i;28422:247::-;28581:2;28570:9;28563:21;28544:4;28601:62;28659:2;28648:9;28644:18;28636:6;28628;28601:62;:::i;28754:163::-;28821:20;;28881:10;28870:22;;28860:33;;28850:61;;28907:1;28904;28897:12;29021:1003;-1:-1:-1;;;;;29119:24:1;29137:5;29119:24;:::i;:::-;29115:53;29110:3;29103:66;29242:6;29205:35;29234:4;29227:5;29223:16;29205:35;:::i;:::-;29201:48;29194:4;29189:3;29185:14;29178:72;29279:35;29308:4;29301:5;29297:16;29279:35;:::i;:::-;29333:14;29397:2;29383:12;29379:21;29372:4;29367:3;29363:14;29356:45;29474:2;29437:35;29466:4;29459:5;29455:16;29437:35;:::i;:::-;29433:44;29426:4;29421:3;29417:14;29410:68;;;29526:4;29519:5;29515:16;29502:30;29576:4;29567:7;29563:18;29554:7;29551:31;29541:59;;29596:1;29593;29586:12;29541:59;28741:4;28730:16;29644:4;29635:14;;28718:29;29681:35;29710:4;29699:16;;29681:35;:::i;:::-;28998:10;28987:22;29768:4;29759:14;;28975:35;29805;29834:4;29823:16;;29805:35;:::i;:::-;17833:6;17822:18;29892:4;29883:14;;17810:31;29929:33;29956:4;29945:16;;29929:33;:::i;:::-;470:13;;463:21;30012:4;30003:14;;451:34;127873:189:0;;;:::o;30029:387:1:-;-1:-1:-1;;;;;30294:32:1;;30276:51;;30263:3;30248:19;;30336:74;30406:2;30391:18;;30383:6;30336:74;:::i;30421:522::-;30499:4;30505:6;30565:11;30552:25;30659:2;30655:7;30644:8;30628:14;30624:29;30620:43;30600:18;30596:68;30586:96;;30678:1;30675;30668:12;30586:96;30705:33;;30757:20;;;-1:-1:-1;;;;;;30789:30:1;;30786:50;;;30832:1;30829;30822:12;30786:50;30865:4;30853:17;;-1:-1:-1;30896:14:1;30892:27;;;30882:38;;30879:58;;;30933:1;30930;30923:12;30948:184;31006:6;31059:2;31047:9;31038:7;31034:23;31030:32;31027:52;;;31075:1;31072;31065:12;31027:52;31098:28;31116:9;31098:28;:::i;31137:360::-;-1:-1:-1;;;;;31384:32:1;;31366:51;;31353:3;31338:19;;31426:65;31487:2;31472:18;;31464:6;31426:65;:::i;31502:344::-;-1:-1:-1;;;;;31689:32:1;;31671:51;;31758:2;31753;31738:18;;31731:30;;;-1:-1:-1;;31778:62:1;;31821:18;;31813:6;31805;31778:62;:::i;:::-;31770:70;31502:344;-1:-1:-1;;;;;31502:344:1:o;31851:328::-;31948:4;32006:11;31993:25;32100:2;32096:7;32085:8;32069:14;32065:29;32061:43;32041:18;32037:68;32027:96;;32119:1;32116;32109:12;32027:96;32140:33;;;;;31851:328;-1:-1:-1;;31851:328:1:o;32184:380::-;-1:-1:-1;;;;;32401:32:1;;32383:51;;32470:2;32465;32450:18;;32443:30;;;-1:-1:-1;;32490:68:1;;32539:18;;32531:6;32490:68;:::i;32878:545::-;32971:4;32977:6;33037:11;33024:25;33131:2;33127:7;33116:8;33100:14;33096:29;33092:43;33072:18;33068:68;33058:96;;33150:1;33147;33140:12;33058:96;33177:33;;33229:20;;;-1:-1:-1;;;;;;33261:30:1;;33258:50;;;33304:1;33301;33294:12;33258:50;33337:4;33325:17;;-1:-1:-1;33388:1:1;33384:14;;;33368;33364:35;33354:46;;33351:66;;;33413:1;33410;33403:12;33428:385;-1:-1:-1;;;;;33680:15:1;;;33662:34;;33732:15;;;;33727:2;33712:18;;33705:43;33791:14;;33784:22;33779:2;33764:18;;33757:50;33612:2;33597:18;;33428:385::o;33818:582::-;33948:4;33954:6;34014:11;34001:25;34108:2;34104:7;34093:8;34077:14;34073:29;34069:43;34049:18;34045:68;34035:96;;34127:1;34124;34117:12;34035:96;34154:33;;34206:20;;;-1:-1:-1;;;;;;34238:30:1;;34235:50;;;34281:1;34278;34271:12;34235:50;34314:4;34302:17;;-1:-1:-1;34365:1:1;34361:14;;;34345;34341:35;34331:46;;34328:66;;;34390:1;34387;34380:12;34405:488;-1:-1:-1;;;;;34736:15:1;;;34718:34;;34788:15;;34783:2;34768:18;;34761:43;34667:3;34652:19;;34813:74;34883:2;34868:18;;34860:6;34813:74;:::i;34898:1212::-;35116:4;35158:3;35147:9;35143:19;35135:27;;35198:1;35194;35189:3;35185:11;35181:19;35239:2;35231:6;35227:15;35216:9;35209:34;35291:2;35283:6;35279:15;35274:2;35263:9;35259:18;35252:43;;-1:-1:-1;;;;;35341:6:1;35335:13;35331:42;35326:2;35315:9;35311:18;35304:70;35438:6;35432:2;35424:6;35420:15;35414:22;35410:35;35405:2;35394:9;35390:18;35383:63;35511:14;35505:2;35497:6;35493:15;35487:22;35483:43;35477:3;35466:9;35462:19;35455:72;35574:2;35566:6;35562:15;35556:22;35587:52;35634:3;35623:9;35619:19;35605:12;17730:14;17719:26;17707:39;;17654:98;35587:52;-1:-1:-1;35688:3:1;35676:16;;35670:23;28741:4;28730:16;35750:3;35735:19;;;28718:29;;;;35804:3;35792:16;;35786:23;28998:10;28987:22;35867:3;35852:19;;;28975:35;;;;35909:16;;;35903:23;17833:6;17822:18;35984:3;35969:19;;17810:31;36026:16;;;36020:23;470:13;463:21;36099:3;36084:19;;;451:34;34898:1212;;-1:-1:-1;;34898:1212:1:o;36115:592::-;36252:4;36258:6;36318:11;36305:25;36412:2;36408:7;36397:8;36381:14;36377:29;36373:43;36353:18;36349:68;36339:96;;36431:1;36428;36421:12;36339:96;36458:33;;36510:20;;;-1:-1:-1;;;;;;36542:30:1;;36539:50;;;36585:1;36582;36575:12;36539:50;36618:4;36606:17;;-1:-1:-1;36677:4:1;36665:17;;36649:14;36645:38;36635:49;;36632:69;;;36697:1;36694;36687:12;36712:1170;-1:-1:-1;;;;;37057:15:1;;;37039:34;;37109:15;;37104:2;37089:18;;37082:43;36988:3;36973:19;;-1:-1:-1;;;;;37165:25:1;37183:6;37165:25;:::i;:::-;37161:54;37156:2;37145:9;37141:18;37134:82;37292:8;37256:34;37286:2;37278:6;37274:15;37256:34;:::i;:::-;37252:49;37247:2;37236:9;37232:18;37225:77;37331:34;37361:2;37353:6;37349:15;37331:34;:::i;:::-;37384:12;37451:2;37437:12;37433:21;37427:3;37416:9;37412:19;37405:50;37532:2;37496:34;37526:2;37518:6;37514:15;37496:34;:::i;:::-;37492:43;37486:3;37475:9;37471:19;37464:72;37614:2;37577:35;37607:3;37599:6;37595:16;37577:35;:::i;:::-;37573:44;37567:3;37556:9;37552:19;37545:73;;;37649:35;37679:3;37671:6;37667:16;37649:35;:::i;:::-;17833:6;17822:18;37742:3;37727:19;;17810:31;37778:35;37808:3;37796:16;;37778:35;:::i;:::-;17833:6;17822:18;;37871:3;37856:19;;17810:31;37822:54;17757:90;37887:498;-1:-1:-1;;;;;38230:15:1;;;38212:34;;38282:15;;38277:2;38262:18;;38255:43;38161:3;38146:19;;38307:72;38375:2;38360:18;;38352:6;38307:72;:::i;38390:496::-;38569:3;38607:6;38601:13;38623:66;38682:6;38677:3;38670:4;38662:6;38658:17;38623:66;:::i;:::-;38752:13;;38711:16;;;;38774:70;38752:13;38711:16;38821:4;38809:17;;38774:70;:::i;:::-;38860:20;;38390:496;-1:-1:-1;;;;38390:496:1:o;38891:245::-;38958:6;39011:2;38999:9;38990:7;38986:23;38982:32;38979:52;;;39027:1;39024;39017:12;38979:52;39059:9;39053:16;39078:28;39100:5;39078:28;:::i;39141:705::-;39322:2;39374:21;;;39347:18;;;39430:22;;;39293:4;;39509:6;39483:2;39468:18;;39293:4;39543:277;39557:6;39554:1;39551:13;39543:277;;;39632:6;39619:20;39652:31;39677:5;39652:31;:::i;:::-;-1:-1:-1;;;;;39708:31:1;39696:44;;39795:15;;;;39760:12;;;;39736:1;39572:9;39543:277;;;-1:-1:-1;39837:3:1;39141:705;-1:-1:-1;;;;;;39141:705:1:o;40951:489::-;-1:-1:-1;;;;;41220:15:1;;;41202:34;;41272:15;;41267:2;41252:18;;41245:43;41319:2;41304:18;;41297:34;;;41367:3;41362:2;41347:18;;41340:31;;;41145:4;;41388:46;;41414:19;;41406:6;41388:46;:::i;41445:249::-;41514:6;41567:2;41555:9;41546:7;41542:23;41538:32;41535:52;;;41583:1;41580;41573:12;41535:52;41615:9;41609:16;41634:30;41658:5;41634:30;:::i
Swarm Source
ipfs://b58b8572fd39250ffb95f0d58025b49fdebe5eec53b0bde5edda1053e025847d
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.