Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
RascalsOfTheWild
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.18; import { ERC721PsiUpgradeable as ERC721, StringsUpgradeable } from "./base/ERC721PsiUpgradeable.sol"; import { OwnableUpgradeable } from "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import { MerkleProofUpgradeable } from "@openzeppelin/contracts-upgradeable/utils/cryptography/MerkleProofUpgradeable.sol"; import { ReentrancyGuardUpgradeable } from "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol"; import { ERC2981Upgradeable } from "@openzeppelin/contracts-upgradeable/token/common/ERC2981Upgradeable.sol"; import { DefaultOperatorFiltererUpgradeable } from "operator-filter-registry/src/upgradeable/DefaultOperatorFiltererUpgradeable.sol"; import { IROTW } from "./interfaces/IROTW.sol"; contract RascalsOfTheWild is IROTW, ERC721, ERC2981Upgradeable, DefaultOperatorFiltererUpgradeable, OwnableUpgradeable, ReentrancyGuardUpgradeable { using StringsUpgradeable for uint256; /** * @dev The root of the MerkleTree */ bytes32 public merkleRoot; /** * @dev URI that is returned prior to collection reveal */ string public hiddenMetadataUri; /** * @dev URI that is returned with contract metadata */ string public contractMetaURI; /** * @dev Cost in ETH of each Rascal minted with {mintPublic} */ uint256 public costPub; /** * @dev Cost in ETH of each Rascal minted with {mintWhitelist} */ uint256 public costWL; /** * @dev The Max Supply of Rascals */ uint256 public constant MAX_SUPPLY = 7777; /** * @dev The total number of Rascals allocated to {mintWhitelist} */ uint256 public supplyWL; /** * @dev The total number of Rascals allocated to {mintPublic} and {mintForAddress} */ uint256 public supplyPub; /** * @dev The number of Rascals minted with {mintWhitelist} */ uint256 public mintedWL; /** * @dev The number of Rascals minted with {mintPublic} and {mintForAddress} */ uint256 public mintedPub; /** * @dev The maximum amount of Rascals that each user can mint with {mintPublic} */ uint256 public maxMintAmountPerWallet; /** * @dev The number of seconds that Rascals are locked after minting with {mintWhitelist} */ uint256 public wlLockTime; /** * @dev The unix timestamp that public minting begins */ uint80 public publicMintStart; /** * @dev The unix timestamp that whitelist minting begins */ uint80 public whitelistMintStart; /** * @dev Whether the Rascal collection is revealed */ bool public revealed; /** * @dev Timestamp for when a Rascal minted on whitelist is unlocked. * _tokenId tokenId to retrieve unlock time for. * @return _unlockTime The unix timestamp that the tokenId is unlocked and available to transfer. */ mapping(uint256 _tokenId => uint256 _unlockTime) public tokenLock; // Mapping from token ID to lock approved address mapping(uint256 => address) private _lockApprovals; // Mapping from owner to lock operator approvals mapping(address => mapping(address => bool)) private _lockOperatorApprovals; /** * @dev The address that royalties and mint fees are sent to */ address public royaltyDest; /** * @dev Whether new Rascals that are minted with {mintWhitelist} should be restricted */ bool public wlTokensRestricted; /** * @dev Whether strict enforcement of `maxMintAmountPerWallet` is enabled */ bool private strictLimitEnforced; /** * @dev The URI prefix to prepend to the tokenId */ string private uriPrefix; /** * @dev The URI suffic to append to the tokenId */ string private uriSuffix; /** * @dev The array of ``tokenId``'s that are waiting for the `Locked` event to be emitted */ uint256[] private tokensToLock; /** * @dev Throws if mint can not be completed due to supply or maxMint */ modifier mintCompliance(uint256 _mintAmount) { require(totalSupply() + _mintAmount <= MAX_SUPPLY, "Max supply exceeded!"); require(mintedPub + _mintAmount <= supplyPub, "Public supply exceeded!"); require( _mintAmount > 0 && (strictLimitEnforced ? balanceOf(msg.sender) : uint256(0)) + _mintAmount <= maxMintAmountPerWallet, "Invalid mint amount!" ); _; } /** * @dev Throws if mint can not be completed due to supply */ modifier wlMintCompliance(uint256 _mintAmount) { require(totalSupply() + _mintAmount <= MAX_SUPPLY, "Max supply exceeded!"); require(mintedWL + _mintAmount <= supplyWL, "Whitelist supply exceeded!"); _; } /** * @dev Throws if msg.value is not adequate */ modifier mintPriceCompliance(uint256 _mintAmount, bool _wlMint) { require( msg.value == (_wlMint ? costWL : costPub) * _mintAmount, "Incorrect payment amount" ); _; } constructor() { _disableInitializers(); } /** * @notice Initializes the contract by setting all initial variables. * @dev Only callable once by initializer. */ function initialize( bytes32 _merkleRoot, address _multiSig, address _royaltyDest, uint256 _mintCostWL, uint256 _mintCostPub, string memory _hiddenMetadataUri, string memory _contractMetaURI, uint80 _wlStart, uint80 _pubStart ) external initializer { __DefaultOperatorFilterer_init(); __ERC721Psi_init("Rascals of the Wild", "ROTW"); __ReentrancyGuard_init(); __Ownable_init(); _transferOwnership(_multiSig); maxMintAmountPerWallet = 100; strictLimitEnforced = false; merkleRoot = _merkleRoot; costWL = _mintCostWL; costPub = _mintCostPub; uriSuffix = ".json"; hiddenMetadataUri = _hiddenMetadataUri; contractMetaURI = _contractMetaURI; whitelistMintStart = _wlStart; publicMintStart = _pubStart; royaltyDest = _royaltyDest; supplyWL = 1000; supplyPub = 6777; wlLockTime = 5 days; wlTokensRestricted = true; _setDefaultRoyalty(_royaltyDest, 500); } function mintWhitelist(uint256 _mintAmount, bytes32[] calldata _merkleProof, uint256 _wlSpots) external payable override wlMintCompliance(_mintAmount) mintPriceCompliance(_mintAmount, true) nonReentrant { // Verify whitelist requirements require(block.timestamp >= whitelistMintStart, "Whitelist sale not enabled!"); bytes32 leaf = keccak256(bytes.concat(keccak256(abi.encode(msg.sender, _wlSpots)))); require( MerkleProofUpgradeable.verify(_merkleProof, merkleRoot, leaf), "Invalid proof!" ); mintedWL += _mintAmount; uint256 firstToken = _nextTokenId(); uint256 stopToken = firstToken + _mintAmount; _safeMint(msg.sender, _mintAmount); if (wlTokensRestricted) { if (tokensToLock.length > 0) { _processLockEvents(); } uint256 unlockTime = block.timestamp + wlLockTime; for (uint i = firstToken; i < stopToken; i++) { tokenLock[i] = unlockTime; // emit Locked(i); tokensToLock.push(i); } } emit MintedWhitelist(msg.sender, _mintAmount, _wlSpots); } function mintPublic(uint256 _mintAmount) external payable override mintCompliance(_mintAmount) mintPriceCompliance(_mintAmount, false) nonReentrant { require(block.timestamp >= publicMintStart, "Public minting not active."); if (wlTokensRestricted && tokensToLock.length > 0) { _processLockEvents(); } mintedPub += _mintAmount; _safeMint(msg.sender, _mintAmount); emit MintedPublic(msg.sender, _mintAmount); } function mintForAddress(uint256 _mintAmount, address _receiver) external override mintCompliance(_mintAmount) onlyOwner nonReentrant { if (wlTokensRestricted && tokensToLock.length > 0) { _processLockEvents(); } mintedPub += _mintAmount; _safeMint(_receiver, _mintAmount); emit MintedFor(_receiver, _mintAmount); } function unlockRascals(uint256[] calldata _tokenIds) external override nonReentrant { for (uint i = 0; i < _tokenIds.length; i++) { require(tokenLock[_tokenIds[i]] <= block.timestamp, "Too soon to unlock"); delete tokenLock[_tokenIds[i]]; emit Unlocked(_tokenIds[i]); } } function processLockEvents() external override nonReentrant { require(tokensToLock.length > 0, "Nothing to emit"); _processLockEvents(); } function setWLRestrictions(bool _active, uint256 _lockTime) external override onlyOwner { wlTokensRestricted = _active; wlLockTime = _lockTime; } function overrideTokenLock(uint256 _tokenId, uint256 _newUnlockTime) external override onlyOwner { require(_newUnlockTime < tokenLock[_tokenId], "Can not extend lock time"); tokenLock[_tokenId] = _newUnlockTime; emit TokenLockUpdated(_tokenId, _newUnlockTime); } function clearTokenLocks(uint256[] calldata _tokenIds) external override onlyOwner { for (uint i = 0; i < _tokenIds.length; i++) { delete tokenLock[_tokenIds[i]]; emit Unlocked(_tokenIds[i]); } } function setDefaultRoyalty(address _receiver, uint96 _feeNumerator) external override onlyOwner { _setDefaultRoyalty(_receiver, _feeNumerator); royaltyDest = _receiver; emit DefaultRoyaltySet(_receiver, _feeNumerator, 10000); } function setUriPrefix(string memory _uriPrefix, bool _reveal) external override onlyOwner { uriPrefix = _uriPrefix; if (_reveal) { revealed = _reveal; emit NFTsRevealed(_reveal, block.timestamp); } if (revealed) { emit BatchMetadataUpdate(1, type(uint256).max); } } function setUriSuffix(string memory _uriSuffix) external override onlyOwner { uriSuffix = _uriSuffix; if (revealed) { emit BatchMetadataUpdate(1, type(uint256).max); } } function setHiddenMetadataUri(string memory _hiddenMetadataUri) external override onlyOwner { hiddenMetadataUri = _hiddenMetadataUri; if (!revealed) { emit BatchMetadataUpdate(1, type(uint256).max); } } function setRevealed(bool _flag) external override onlyOwner { revealed = _flag; emit NFTsRevealed(_flag, block.timestamp); if (revealed) { emit BatchMetadataUpdate(1, type(uint256).max); } } function setMerkleRoot(bytes32 _merkleRoot) external override onlyOwner { merkleRoot = _merkleRoot; } function setMaxMintAmountPerWallet(uint256 _maxMintAmountPerWallet, bool _strictLimitEnforced) external override onlyOwner { maxMintAmountPerWallet = _maxMintAmountPerWallet; strictLimitEnforced = _strictLimitEnforced; } function setCostPublic(uint256 _costPub) external override onlyOwner { costPub = _costPub; } function setCostWhitelist(uint256 _costWL) external override onlyOwner { costWL = _costWL; } function setMintStartTimes(uint80 _wlStartTime, uint80 _pubStartTime) external override onlyOwner { whitelistMintStart = _wlStartTime; publicMintStart = _pubStartTime; emit MintStartTimesSet(_wlStartTime, _pubStartTime); } function setMintAllocations(uint256 _allocWL, uint256 _allocPub) external override onlyOwner { require(_allocWL + _allocPub == MAX_SUPPLY, "Must allocate full supply"); require(_allocWL >= mintedWL && _allocPub >= mintedPub, "Can not set values less than already minted."); supplyWL = _allocWL; supplyPub = _allocPub; } function setPaused() external override onlyOwner { publicMintStart = type(uint80).max; whitelistMintStart = type(uint80).max; emit MintingPaused(block.timestamp); } function withdrawETH() external override onlyOwner nonReentrant { (bool success, ) = royaltyDest.call{value: address(this).balance}(""); require(success, "Transfer failed"); } function getLockStatus( uint256[] memory _tokenIds ) external view override returns ( uint256[] memory _checkedTokens, bool[] memory _isLocked, uint256[] memory _lockExpiration ) { uint length = _tokenIds.length; _isLocked = new bool[](length); _lockExpiration = new uint256[](length); for (uint i = 0; i < length; i++) { _isLocked[i] = tokenLock[_tokenIds[i]] > block.timestamp ? true : false; _lockExpiration[i] = tokenLock[_tokenIds[i]]; } return (_tokenIds, _isLocked, _lockExpiration); } function getPendingLockLength() external view override returns (uint256 length) { return tokensToLock.length; } /** * @inheritdoc ERC721 */ function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } /** * @inheritdoc ERC721 */ function approve(address operator, uint256 tokenId) public override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } /** * @inheritdoc ERC721 */ function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } /** * @inheritdoc ERC721 */ function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } /** * @inheritdoc ERC721 */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } /** * @notice Get the URI for a given `tokenId` * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. * @param _tokenId The tokenId to get the URI for * @return The URI with token metadata */ function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require( _exists(_tokenId), "ERC721: nonexistent token" ); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked( currentBaseURI, _tokenId.toString(), uriSuffix )) : ""; } /** * @notice Get the URI for contract metadata. * @dev Returns the Uniform Resource Identifier (URI) for the contract. * @return The URI with contract metadata */ function contractURI() public view returns (string memory) { return contractMetaURI; } /** * @inheritdoc ERC721 */ function supportsInterface( bytes4 interfaceId ) public view virtual override(ERC2981Upgradeable, ERC721) returns (bool) { return ERC2981Upgradeable.supportsInterface(interfaceId) || ERC721.supportsInterface(interfaceId); } /** * @dev See {ERC721-_beforeTokenTransfers}. * * Requirements: * * - the `tokenId` must not be locked or lock expired. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual override { super._beforeTokenTransfers(from, to, startTokenId, quantity); require(tokenLock[startTokenId] <= block.timestamp, "Token transfer while locked"); } function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual override { super._afterTokenTransfers(from, to, startTokenId, quantity); // Remove the lock from the token if needed. if (tokenLock[startTokenId] > 0) { delete tokenLock[startTokenId]; emit Unlocked(startTokenId); } } function _processLockEvents() internal { uint length = tokensToLock.length; for (uint i = length; i > 0; i--) { emit Locked(tokensToLock[i - 1]); tokensToLock.pop(); } } /** * @inheritdoc ERC721 */ function _baseURI() internal view virtual override returns (string memory) { if (revealed == false) { return hiddenMetadataUri; } return uriPrefix; } /** * @inheritdoc ERC721 */ function _startTokenId() internal pure override returns (uint256) { return 1; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.18; interface IROTW { /** * @dev Emitted when `minter` mints `numberMinted` tokens using their `numberWLSpots` in {mintWhitelist}. */ event MintedWhitelist(address minter, uint256 numberMinted, uint256 numberWLSpots); /** * @dev Emitted when `minter` mints `numberMinted` tokens in {mintPublic}. */ event MintedPublic(address minter, uint256 numberMinted); /** * @dev Emitted when `receiver` is minted `numberMinted` tokens in {mintForAddress}. */ event MintedFor(address receiver, uint256 numberMinted); /** * @dev Emitted when `owner` updates `royaltyReceiver` and `royaltyNumerator`. Also provides `royaltyDenomintator` which is constant. */ event DefaultRoyaltySet(address royaltyReceiver, uint96 royaltyNumerator, uint96 royaltyDenomintator); /** * @dev Emitted when `owner` sets collection as revealed. */ event NFTsRevealed(bool areRevealed, uint256 timestamp); /** * @dev Emitted when `owner` sets collection as revealed or updates `uriPrefix`. */ event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId); /** * @dev Emitted when `owner` updates `whitelistStart` and `publicStart`. Values are Unix timestamps. */ event MintStartTimesSet(uint80 whitelistStart, uint80 publicStart); /** * @dev Emitted when `owner` pauses minting at `timestamp`. */ event MintingPaused(uint256 timestamp); /** * @dev Emitted when `owner` updates tokenLock for `tokenId` to unlock at `newUnlockTime`. */ event TokenLockUpdated(uint256 tokenId, uint256 newUnlockTime); /** * @dev Emitted when `tokenId` is locked. */ event Locked(uint256 tokenId); /** * @dev Emitted when `tokenId` is unlocked. */ event Unlocked(uint256 tokenId); /** * @notice Mint Rascals to a whitelisted caller * @dev Uses a merkle proof to verify whitelist eligibility of caller. msg.value must be equal to _mintAmount * costWL * @param _mintAmount The number of Rascals to mint to the caller * @param _merkleProof The proof to verify the caller's whitelist eligibility * @param _wlSpots The number of whitelist spots that the caller has been granted */ function mintWhitelist( uint256 _mintAmount, bytes32[] calldata _merkleProof, uint256 _wlSpots ) external payable; /** * @notice Mint Rascals to a caller * @dev msg.value must be equal to _mintAmount * costPub * @param _mintAmount The number of Rascals to mint to the caller */ function mintPublic(uint256 _mintAmount) external payable; /** * @notice Mint Rascals to a provided address * @dev Only callable by `owner` * @param _mintAmount The number of Rascals to mint * @param _receiver The address to mint Rascals to */ function mintForAddress(uint256 _mintAmount, address _receiver) external; /** * @notice Emits `Unlocked` events for provided array of `_tokenIds` * @dev Callable by anyone as access to transfer is not granted by this function * @param _tokenIds The ``tokenId``'s to unlock */ function unlockRascals(uint256[] calldata _tokenIds) external; /** * @notice Emit pending `Locked` events * @dev Emits `Locked` events for all whitelist minted NFTs that have not been emitted already */ function processLockEvents() external; /** * @notice Update the restrictions for addresses that mint using {mintWhitelist}. * @dev Only callable by `owner`. * @param _active Whether wlTokensRestricted should be set as active. * @param _lockTime the number of seconds that newly minted Rascals from {mintWhitelist} should be locked. */ function setWLRestrictions(bool _active, uint256 _lockTime) external; /** * @notice Allows owner to override a tokenLock for a given tokenId. Can only be used to shorten an already established lockTime. * @dev Only callable by `owner` * @param _tokenId The tokenId to override * @param _newUnlockTime The unix timestamp that the tokenId will unlock at. */ function overrideTokenLock(uint256 _tokenId, uint256 _newUnlockTime) external; /** * @notice Allows owner to immediately unlock an array of tokenIds. * @dev Only callable by `owner` * @param _tokenIds The array of tokenIds to clear the lock for. */ function clearTokenLocks(uint256[] calldata _tokenIds) external; /** * @notice Allows `owner` to update the default royalty parameters. * @dev Only callable by `owner` * @param _receiver The address that royalties are sent to. * @param _feeNumerator The roaylty percentage in BPS. (ie: 500 = 5%) */ function setDefaultRoyalty(address _receiver, uint96 _feeNumerator) external; /** * @notice Allows `owner` to update the prefix of the `tokenURI` string * @dev Only callable by `owner` * @param _uriPrefix The start of the `tokenURI` string * @param _reveal SHould reveal on update, will not set to false if already revealed. */ function setUriPrefix(string memory _uriPrefix, bool _reveal) external; /** * @notice Allows `owner` to update the suffix to append to the `tokenURI` string (if needed) * @dev Only callable by `owner` * @param _uriSuffix The string to append after the tokenId (ie: '.json') */ function setUriSuffix(string memory _uriSuffix) external; /** * @notice Allows `owner` to update the URI that is returned for all Rascals while `revealed` is `false`. * @dev Only callable by `owner` * @param _hiddenMetadataUri The URI to return before collection is revealed. */ function setHiddenMetadataUri(string memory _hiddenMetadataUri) external; /** * @notice Sets the full collection of Rascals as revealed. * @dev Only callable by `owner` * @param _flag Whether all Rascals are revealed. */ function setRevealed(bool _flag) external; /** * @notice Allows `owner` to update the MerkleRoot if the whitelist is updated * @dev Only callable by `owner` * @param _merkleRoot The root to use for MerkleTree verification. */ function setMerkleRoot(bytes32 _merkleRoot) external; /** * @notice Allows `owner` to update the max amount of Rascals that each user can mint. * @dev Only callable by `owner`. Set _strictLimitEnforced if gas cost to check {balanceOf} becomes unacceptable. * @param _maxMintAmountPerWallet The maximum number of Rascals each user is allowed to mint using {mintPublic}. * @param _strictLimitEnforced Whether strict limit should be enforced. */ function setMaxMintAmountPerWallet(uint256 _maxMintAmountPerWallet, bool _strictLimitEnforced) external; /** * @notice Allows `owner` to update the amount of ETH needed to mint each Rascal using {mintPublic} * @dev Only callable by `owner` * @param _costPub Amount of ETH needed to mint a Rascal */ function setCostPublic(uint256 _costPub) external; /** * @notice Allows `owner` to update the amount of ETH needed to mint each Rascal using {mintWhitelist} * @dev Only callable by `owner` * @param _costWL Amount of ETH needed to mint a Rascal */ function setCostWhitelist(uint256 _costWL) external; /** * @notice Allows `owner` to update the mint start times * @dev Only callable by `owner`. All times are unix timestamps. * @param _wlStartTime Unix timestamp for start of whitelist minting * @param _pubStartTime Unix timestamp for start of public minting */ function setMintStartTimes(uint80 _wlStartTime, uint80 _pubStartTime) external; /** * @notice Allows `owner` to update number of Rascals allocated to public and whitelist presales * @dev Only callable by `owner`. * * Requirements: * * - `_allocWL` + `_allocPub` must equal `MAX_SUPPLY`. * - `_allocWL` must be greater than or equal to mintedWL. * - `_allocPub` must be greater than or equal to mintedPub. * * @param _allocWL Unix timestamp for start of whitelist minting * @param _allocPub Unix timestamp for start of public minting */ function setMintAllocations(uint256 _allocWL, uint256 _allocPub) external; /** * @notice Allows `owner` to pause minting in case of emergency. * @dev Only callable by `owner`. Only to be used in case of emergency. */ function setPaused() external; /** * @notice Allows `owner` to withdraw ETH that was collected from users minting * @dev Only callable by `owner`. All ETH is sent to `royaltyDest` */ function withdrawETH() external; /** * @notice Retrieve lock status for provided `_tokenIds` * @dev Retrieve lock status for provided `_tokenIds` * @param _tokenIds The array of ``tokenId``'s to retrieve the status of. * @return _checkedTokens The array of ``tokenId``'s checked * @return _isLocked Whether the `tokenIds[i]` is locked * @return _lockExpiration The lock expiration timestamp for the `tokenIds[i]` */ function getLockStatus( uint256[] memory _tokenIds ) external view returns ( uint256[] memory _checkedTokens, bool[] memory _isLocked, uint256[] memory _lockExpiration ); /** * @notice Get the number of tokens pending a `Locked` event emission. * @dev Get the length of the `tokensToLock` array. * @return length The number of tokens pending the `Locked` event. */ function getPendingLockLength() external view returns (uint256 length); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {OperatorFiltererUpgradeable} from "./OperatorFiltererUpgradeable.sol"; import {CANONICAL_CORI_SUBSCRIPTION} from "../lib/Constants.sol"; /** * @title DefaultOperatorFiltererUpgradeable * @notice Inherits from OperatorFiltererUpgradeable and automatically subscribes to the default OpenSea subscription * when the init function is called. */ abstract contract DefaultOperatorFiltererUpgradeable is OperatorFiltererUpgradeable { /// @dev The upgradeable initialize function that should be called when the contract is being deployed. function __DefaultOperatorFilterer_init() internal onlyInitializing { OperatorFiltererUpgradeable.__OperatorFilterer_init(CANONICAL_CORI_SUBSCRIPTION, true); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981Upgradeable.sol"; import "../../utils/introspection/ERC165Upgradeable.sol"; import "../../proxy/utils/Initializable.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981Upgradeable is Initializable, IERC2981Upgradeable, ERC165Upgradeable { function __ERC2981_init() internal onlyInitializing { } function __ERC2981_init_unchained() internal onlyInitializing { } struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165Upgradeable, ERC165Upgradeable) returns (bool) { return interfaceId == type(IERC2981Upgradeable).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981Upgradeable */ function royaltyInfo(uint256 tokenId, uint256 salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[48] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; import "../proxy/utils/Initializable.sol"; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuardUpgradeable is Initializable { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; function __ReentrancyGuard_init() internal onlyInitializing { __ReentrancyGuard_init_unchained(); } function __ReentrancyGuard_init_unchained() internal onlyInitializing { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.2) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProofUpgradeable { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proofLen - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { require(proofPos == proofLen, "MerkleProof: invalid multiproof"); unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proofLen - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { require(proofPos == proofLen, "MerkleProof: invalid multiproof"); unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/ContextUpgradeable.sol"; import "../proxy/utils/Initializable.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract OwnableUpgradeable is Initializable, ContextUpgradeable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal onlyInitializing { __Ownable_init_unchained(); } function __Ownable_init_unchained() internal onlyInitializing { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; }
// SPDX-License-Identifier: MIT /** ______ _____ _____ ______ ___ __ _ _ _ | ____| __ \ / ____|____ |__ \/_ | || || | | |__ | |__) | | / / ) || | \| |/ | | __| | _ /| | / / / / | |\_ _/ | |____| | \ \| |____ / / / /_ | | | | |______|_| \_\\_____|/_/ |____||_| |_| - github: https://github.com/estarriolvetch/ERC721Psi - npm: https://www.npmjs.com/package/erc721psi */ pragma solidity ^0.8.15; import { IERC721Upgradeable } from "@openzeppelin/contracts-upgradeable/token/ERC721/IERC721Upgradeable.sol"; import { IERC721Receiver } from "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import { IERC721MetadataUpgradeable } from "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/IERC721MetadataUpgradeable.sol"; import { IERC721EnumerableUpgradeable } from "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/IERC721EnumerableUpgradeable.sol"; import { ContextUpgradeable } from "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol"; import { StringsUpgradeable } from "@openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol"; import { ERC165Upgradeable, IERC165Upgradeable } from "@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol"; import { AddressUpgradeable } from "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol"; import { Initializable } from "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import { BitMaps } from "solidity-bits/contracts/BitMaps.sol"; contract ERC721PsiUpgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC721Upgradeable, IERC721MetadataUpgradeable { using AddressUpgradeable for address; using StringsUpgradeable for uint256; using BitMaps for BitMaps.BitMap; BitMaps.BitMap private _batchHead; string private _name; string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) internal _owners; uint256 private _currentIndex; mapping(uint256 => address) private _tokenApprovals; mapping(address => mapping(address => bool)) private _operatorApprovals; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ function __ERC721Psi_init(string memory name_, string memory symbol_) internal onlyInitializing { __ERC721Psi_init_unchained(name_, symbol_); } function __ERC721Psi_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { // It will become modifiable in the future versions return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { return _currentIndex - _startTokenId(); } /** * @inheritdoc IERC165Upgradeable */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165Upgradeable, IERC165Upgradeable) returns (bool) { return interfaceId == type(IERC721Upgradeable).interfaceId || interfaceId == type(IERC721MetadataUpgradeable).interfaceId || interfaceId == type(IERC721EnumerableUpgradeable).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC721Upgradeable */ function balanceOf(address owner) public view virtual override returns (uint) { require(owner != address(0), "ERC721Psi: balance query for the zero address"); uint count; for( uint i = _startTokenId(); i < _nextTokenId(); ++i ){ if(_exists(i)){ if( owner == ownerOf(i)){ ++count; } } } return count; } /** * @inheritdoc IERC721Upgradeable */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { (address owner, ) = _ownerAndBatchHeadOf(tokenId); return owner; } function _ownerAndBatchHeadOf(uint256 tokenId) internal view returns (address owner, uint256 tokenIdBatchHead){ require(_exists(tokenId), "ERC721Psi: owner query for nonexistent token"); tokenIdBatchHead = _getBatchHead(tokenId); owner = _owners[tokenIdBatchHead]; } /** * @inheritdoc IERC721MetadataUpgradeable */ function name() public view virtual override returns (string memory) { return _name; } /** * @inheritdoc IERC721MetadataUpgradeable */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @inheritdoc IERC721MetadataUpgradeable */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Psi: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @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, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @inheritdoc IERC721Upgradeable */ function approve(address to, uint256 tokenId) public virtual override { address owner = ownerOf(tokenId); require(to != owner, "ERC721Psi: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721Psi: approve not owner nor approved for all" ); _approve(to, tokenId); } /** * @inheritdoc IERC721Upgradeable */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require( _exists(tokenId), "ERC721Psi: approved query for nonexistent token" ); return _tokenApprovals[tokenId]; } /** * @inheritdoc IERC721Upgradeable * @notice Set a spender as approved or unapproved to transfer tokens on behalf of owner. * @param operator The address to set as approved or unapproved. * @param approved Whether to set operator as approved or unapproved. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721Psi: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @inheritdoc IERC721Upgradeable */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @inheritdoc IERC721Upgradeable */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721Psi: transfer caller is not owner nor approved" ); _transfer(from, to, tokenId); } /** * @inheritdoc IERC721Upgradeable */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @inheritdoc IERC721Upgradeable */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721Psi: transfer caller is not owner nor approved" ); _safeTransfer(from, to, tokenId, _data); } /** * @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. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, 1,_data), "ERC721Psi: transfer to non ERC721Receiver implementer" ); } /** * @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 (`_mint`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return tokenId < _nextTokenId(); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require( _exists(tokenId), "ERC721Psi: operator query for nonexistent token" ); address owner = ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @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. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ""); } function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { uint256 startTokenId = _nextTokenId(); _mint(to, quantity); require( _checkOnERC721Received(address(0), to, startTokenId, quantity, _data), "ERC721Psi: transfer to non ERC721Receiver implementer" ); } function _mint( address to, uint256 quantity ) internal virtual { uint256 nextTokenId = _nextTokenId(); require(quantity > 0, "ERC721Psi: quantity must be greater 0"); require(to != address(0), "ERC721Psi: mint to the zero address"); _beforeTokenTransfers(address(0), to, nextTokenId, quantity); _currentIndex += quantity; _owners[nextTokenId] = to; _batchHead.set(nextTokenId); uint256 toMasked; uint256 end = nextTokenId + 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`. nextTokenId // `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(nextTokenId, 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) } } _afterTokenTransfers(address(0), to, nextTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { (address owner, uint256 tokenIdBatchHead) = _ownerAndBatchHeadOf(tokenId); require( owner == from, "ERC721Psi: transfer of token that is not own" ); require(to != address(0), "ERC721Psi: transfer to the zero address"); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId); uint256 nextTokenId = tokenId + 1; if(!_batchHead.get(nextTokenId) && nextTokenId < _nextTokenId() ) { _owners[nextTokenId] = from; _batchHead.set(nextTokenId); } _owners[tokenId] = to; if(tokenId != tokenIdBatchHead) { _batchHead.set(tokenId); } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param startTokenId uint256 the first ID of the tokens to be transferred * @param quantity uint256 amount of the tokens to be transfered. * @param _data bytes optional data to send along with the call * @return r bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 startTokenId, uint256 quantity, bytes memory _data ) private returns (bool r) { if (to.isContract()) { r = true; for(uint256 tokenId = startTokenId; tokenId < startTokenId + quantity; tokenId++){ try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { r = r && retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721Psi: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } return r; } else { return true; } } function _getBatchHead(uint256 tokenId) internal view returns (uint256 tokenIdBatchHead) { tokenIdBatchHead = _batchHead.scanForward(tokenId); } function totalSupply() public virtual view returns (uint256) { return _totalMinted(); } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * This function is compatiable with ERC721AQueryable. */ function tokensOfOwner(address owner) external view virtual returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { if (_exists(i)) { if (ownerOf(i) == owner) { tokenIds[tokenIdsIdx++] = i; } } } return tokenIds; } } /** * @dev Hook that is called before a set of serially-ordered tokenIds are about to be transferred. Includes minting. * * 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`. */ 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. * * 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` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E; address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "../IOperatorFilterRegistry.sol"; import {Initializable} from "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; /** * @title OperatorFiltererUpgradeable * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry when the init function is called. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFiltererUpgradeable is Initializable { /// @notice Emitted when an operator is not allowed. error OperatorNotAllowed(address operator); IOperatorFilterRegistry constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); /// @dev The upgradeable initialize function that should be called when the contract is being upgraded. function __OperatorFilterer_init(address subscriptionOrRegistrantToCopy, bool subscribe) internal onlyInitializing { // 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 (!OPERATOR_FILTER_REGISTRY.isRegistered(address(this))) { 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 modifier to check if the 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 modifier to check if the operator approval is allowed. */ modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } /** * @dev A helper function to check if the 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 or // upgraded contracts may specify their own OperatorFilterRegistry implementations, which may behave // differently if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } }
// SPDX-License-Identifier: MIT /** _____ ___ ___ __ ____ _ __ / ___/____ / (_)___/ (_) /___ __ / __ )(_) /______ \__ \/ __ \/ / / __ / / __/ / / / / __ / / __/ ___/ ___/ / /_/ / / / /_/ / / /_/ /_/ / / /_/ / / /_(__ ) /____/\____/_/_/\__,_/_/\__/\__, / /_____/_/\__/____/ /____/ - npm: https://www.npmjs.com/package/solidity-bits - github: https://github.com/estarriolvetch/solidity-bits */ pragma solidity ^0.8.0; import "./BitScan.sol"; import "./Popcount.sol"; /** * @dev This Library is a modified version of Openzeppelin's BitMaps library with extra features. * * 1. Functions of finding the index of the closest set bit from a given index are added. * The indexing of each bucket is modifed to count from the MSB to the LSB instead of from the LSB to the MSB. * The modification of indexing makes finding the closest previous set bit more efficient in gas usage. * 2. Setting and unsetting the bitmap consecutively. * 3. Accounting number of set bits within a given range. * */ /** * @dev Library for managing uint256 to bool mapping in a compact and efficient way, providing the keys are sequential. * Largelly inspired by Uniswap's https://github.com/Uniswap/merkle-distributor/blob/master/contracts/MerkleDistributor.sol[merkle-distributor]. */ library BitMaps { using BitScan for uint256; uint256 private constant MASK_INDEX_ZERO = (1 << 255); uint256 private constant MASK_FULL = type(uint256).max; struct BitMap { mapping(uint256 => uint256) _data; } /** * @dev Returns whether the bit at `index` is set. */ function get(BitMap storage bitmap, uint256 index) internal view returns (bool) { uint256 bucket = index >> 8; uint256 mask = MASK_INDEX_ZERO >> (index & 0xff); return bitmap._data[bucket] & mask != 0; } /** * @dev Sets the bit at `index` to the boolean `value`. */ function setTo( BitMap storage bitmap, uint256 index, bool value ) internal { if (value) { set(bitmap, index); } else { unset(bitmap, index); } } /** * @dev Sets the bit at `index`. */ function set(BitMap storage bitmap, uint256 index) internal { uint256 bucket = index >> 8; uint256 mask = MASK_INDEX_ZERO >> (index & 0xff); bitmap._data[bucket] |= mask; } /** * @dev Unsets the bit at `index`. */ function unset(BitMap storage bitmap, uint256 index) internal { uint256 bucket = index >> 8; uint256 mask = MASK_INDEX_ZERO >> (index & 0xff); bitmap._data[bucket] &= ~mask; } /** * @dev Consecutively sets `amount` of bits starting from the bit at `startIndex`. */ function setBatch(BitMap storage bitmap, uint256 startIndex, uint256 amount) internal { uint256 bucket = startIndex >> 8; uint256 bucketStartIndex = (startIndex & 0xff); unchecked { if(bucketStartIndex + amount < 256) { bitmap._data[bucket] |= MASK_FULL << (256 - amount) >> bucketStartIndex; } else { bitmap._data[bucket] |= MASK_FULL >> bucketStartIndex; amount -= (256 - bucketStartIndex); bucket++; while(amount > 256) { bitmap._data[bucket] = MASK_FULL; amount -= 256; bucket++; } bitmap._data[bucket] |= MASK_FULL << (256 - amount); } } } /** * @dev Consecutively unsets `amount` of bits starting from the bit at `startIndex`. */ function unsetBatch(BitMap storage bitmap, uint256 startIndex, uint256 amount) internal { uint256 bucket = startIndex >> 8; uint256 bucketStartIndex = (startIndex & 0xff); unchecked { if(bucketStartIndex + amount < 256) { bitmap._data[bucket] &= ~(MASK_FULL << (256 - amount) >> bucketStartIndex); } else { bitmap._data[bucket] &= ~(MASK_FULL >> bucketStartIndex); amount -= (256 - bucketStartIndex); bucket++; while(amount > 256) { bitmap._data[bucket] = 0; amount -= 256; bucket++; } bitmap._data[bucket] &= ~(MASK_FULL << (256 - amount)); } } } /** * @dev Returns number of set bits within a range. */ function popcountA(BitMap storage bitmap, uint256 startIndex, uint256 amount) internal view returns(uint256 count) { uint256 bucket = startIndex >> 8; uint256 bucketStartIndex = (startIndex & 0xff); unchecked { if(bucketStartIndex + amount < 256) { count += Popcount.popcount256A( bitmap._data[bucket] & (MASK_FULL << (256 - amount) >> bucketStartIndex) ); } else { count += Popcount.popcount256A( bitmap._data[bucket] & (MASK_FULL >> bucketStartIndex) ); amount -= (256 - bucketStartIndex); bucket++; while(amount > 256) { count += Popcount.popcount256A(bitmap._data[bucket]); amount -= 256; bucket++; } count += Popcount.popcount256A( bitmap._data[bucket] & (MASK_FULL << (256 - amount)) ); } } } /** * @dev Returns number of set bits within a range. */ function popcountB(BitMap storage bitmap, uint256 startIndex, uint256 amount) internal view returns(uint256 count) { uint256 bucket = startIndex >> 8; uint256 bucketStartIndex = (startIndex & 0xff); unchecked { if(bucketStartIndex + amount < 256) { count += Popcount.popcount256B( bitmap._data[bucket] & (MASK_FULL << (256 - amount) >> bucketStartIndex) ); } else { count += Popcount.popcount256B( bitmap._data[bucket] & (MASK_FULL >> bucketStartIndex) ); amount -= (256 - bucketStartIndex); bucket++; while(amount > 256) { count += Popcount.popcount256B(bitmap._data[bucket]); amount -= 256; bucket++; } count += Popcount.popcount256B( bitmap._data[bucket] & (MASK_FULL << (256 - amount)) ); } } } /** * @dev Find the closest index of the set bit before `index`. */ function scanForward(BitMap storage bitmap, uint256 index) internal view returns (uint256 setBitIndex) { uint256 bucket = index >> 8; // index within the bucket uint256 bucketIndex = (index & 0xff); // load a bitboard from the bitmap. uint256 bb = bitmap._data[bucket]; // offset the bitboard to scan from `bucketIndex`. bb = bb >> (0xff ^ bucketIndex); // bb >> (255 - bucketIndex) if(bb > 0) { unchecked { setBitIndex = (bucket << 8) | (bucketIndex - bb.bitScanForward256()); } } else { while(true) { require(bucket > 0, "BitMaps: The set bit before the index doesn't exist."); unchecked { bucket--; } // No offset. Always scan from the least significiant bit now. bb = bitmap._data[bucket]; if(bb > 0) { unchecked { setBitIndex = (bucket << 8) | (255 - bb.bitScanForward256()); break; } } } } } function getBucket(BitMap storage bitmap, uint256 bucket) internal view returns (uint256) { return bitmap._data[bucket]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/Initializable.sol) pragma solidity ^0.8.2; import "../../utils/AddressUpgradeable.sol"; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in * case an upgrade adds a module that needs to be initialized. * * For example: * * [.hljs-theme-light.nopadding] * ```solidity * contract MyToken is ERC20Upgradeable { * function initialize() initializer public { * __ERC20_init("MyToken", "MTK"); * } * } * * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable { * function initializeV2() reinitializer(2) public { * __ERC20Permit_init("MyToken"); * } * } * ``` * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() { * _disableInitializers(); * } * ``` * ==== */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. * @custom:oz-retyped-from bool */ uint8 private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Triggered when the contract has been initialized or reinitialized. */ event Initialized(uint8 version); /** * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope, * `onlyInitializing` functions can be used to initialize parent contracts. * * Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a * constructor. * * Emits an {Initialized} event. */ modifier initializer() { bool isTopLevelCall = !_initializing; require( (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1), "Initializable: contract is already initialized" ); _initialized = 1; if (isTopLevelCall) { _initializing = true; } _; if (isTopLevelCall) { _initializing = false; emit Initialized(1); } } /** * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be * used to initialize parent contracts. * * A reinitializer may be used after the original initialization step. This is essential to configure modules that * are added through upgrades and that require initialization. * * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer` * cannot be nested. If one is invoked in the context of another, execution will revert. * * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in * a contract, executing them in the right order is up to the developer or operator. * * WARNING: setting the version to 255 will prevent any future reinitialization. * * Emits an {Initialized} event. */ modifier reinitializer(uint8 version) { require(!_initializing && _initialized < version, "Initializable: contract is already initialized"); _initialized = version; _initializing = true; _; _initializing = false; emit Initialized(version); } /** * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the * {initializer} and {reinitializer} modifiers, directly or indirectly. */ modifier onlyInitializing() { require(_initializing, "Initializable: contract is not initializing"); _; } /** * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call. * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized * to any version. It is recommended to use this to lock implementation contracts that are designed to be called * through proxies. * * Emits an {Initialized} event the first time it is successfully executed. */ function _disableInitializers() internal virtual { require(!_initializing, "Initializable: contract is initializing"); if (_initialized != type(uint8).max) { _initialized = type(uint8).max; emit Initialized(type(uint8).max); } } /** * @dev Returns the highest version that has been initialized. See {reinitializer}. */ function _getInitializedVersion() internal view returns (uint8) { return _initialized; } /** * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}. */ function _isInitializing() internal view returns (bool) { return _initializing; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165Upgradeable.sol"; import "../../proxy/utils/Initializable.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165Upgradeable is Initializable, IERC165Upgradeable { function __ERC165_init() internal onlyInitializing { } function __ERC165_init_unchained() internal onlyInitializing { } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165Upgradeable).interfaceId; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/MathUpgradeable.sol"; import "./math/SignedMathUpgradeable.sol"; /** * @dev String operations. */ library StringsUpgradeable { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = MathUpgradeable.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMathUpgradeable.abs(value)))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, MathUpgradeable.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return keccak256(bytes(a)) == keccak256(bytes(b)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; import "../proxy/utils/Initializable.sol"; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract ContextUpgradeable is Initializable { function __Context_init() internal onlyInitializing { } function __Context_init_unchained() internal onlyInitializing { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721Upgradeable.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721EnumerableUpgradeable is IERC721Upgradeable { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721Upgradeable.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721MetadataUpgradeable is IERC721Upgradeable { /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165Upgradeable.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721Upgradeable is IERC165Upgradeable { /** * @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`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; /** * @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 have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165Upgradeable.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981Upgradeable is IERC165Upgradeable { /** * @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); }
// SPDX-License-Identifier: MIT /** _____ ___ ___ __ ____ _ __ / ___/____ / (_)___/ (_) /___ __ / __ )(_) /______ \__ \/ __ \/ / / __ / / __/ / / / / __ / / __/ ___/ ___/ / /_/ / / / /_/ / / /_/ /_/ / / /_/ / / /_(__ ) /____/\____/_/_/\__,_/_/\__/\__, / /_____/_/\__/____/ /____/ - npm: https://www.npmjs.com/package/solidity-bits - github: https://github.com/estarriolvetch/solidity-bits */ pragma solidity ^0.8.0; library Popcount { uint256 private constant m1 = 0x5555555555555555555555555555555555555555555555555555555555555555; uint256 private constant m2 = 0x3333333333333333333333333333333333333333333333333333333333333333; uint256 private constant m4 = 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f; uint256 private constant h01 = 0x0101010101010101010101010101010101010101010101010101010101010101; function popcount256A(uint256 x) internal pure returns (uint256 count) { unchecked{ for (count=0; x!=0; count++) x &= x - 1; } } function popcount256B(uint256 x) internal pure returns (uint256) { if (x == type(uint256).max) { return 256; } unchecked { x -= (x >> 1) & m1; //put count of each 2 bits into those 2 bits x = (x & m2) + ((x >> 2) & m2); //put count of each 4 bits into those 4 bits x = (x + (x >> 4)) & m4; //put count of each 8 bits into those 8 bits x = (x * h01) >> 248; //returns left 8 bits of x + (x<<8) + (x<<16) + (x<<24) + ... } return x; } }
// SPDX-License-Identifier: MIT /** _____ ___ ___ __ ____ _ __ / ___/____ / (_)___/ (_) /___ __ / __ )(_) /______ \__ \/ __ \/ / / __ / / __/ / / / / __ / / __/ ___/ ___/ / /_/ / / / /_/ / / /_/ /_/ / / /_/ / / /_(__ ) /____/\____/_/_/\__,_/_/\__/\__, / /_____/_/\__/____/ /____/ - npm: https://www.npmjs.com/package/solidity-bits - github: https://github.com/estarriolvetch/solidity-bits */ pragma solidity ^0.8.0; library BitScan { uint256 constant private DEBRUIJN_256 = 0x818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff; bytes constant private LOOKUP_TABLE_256 = hex"0001020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7506264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c9071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee30e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf7ff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c816365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f6fe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf5fd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f8"; /** @dev Isolate the least significant set bit. */ function isolateLS1B256(uint256 bb) pure internal returns (uint256) { require(bb > 0); unchecked { return bb & (0 - bb); } } /** @dev Isolate the most significant set bit. */ function isolateMS1B256(uint256 bb) pure internal returns (uint256) { require(bb > 0); unchecked { bb |= bb >> 128; bb |= bb >> 64; bb |= bb >> 32; bb |= bb >> 16; bb |= bb >> 8; bb |= bb >> 4; bb |= bb >> 2; bb |= bb >> 1; return (bb >> 1) + 1; } } /** @dev Find the index of the lest significant set bit. (trailing zero count) */ function bitScanForward256(uint256 bb) pure internal returns (uint8) { unchecked { return uint8(LOOKUP_TABLE_256[(isolateLS1B256(bb) * DEBRUIJN_256) >> 248]); } } /** @dev Find the index of the most significant set bit. */ function bitScanReverse256(uint256 bb) pure internal returns (uint8) { unchecked { return 255 - uint8(LOOKUP_TABLE_256[((isolateMS1B256(bb) * DEBRUIJN_256) >> 248)]); } } function log2(uint256 bb) pure internal returns (uint8) { unchecked { return uint8(LOOKUP_TABLE_256[(isolateMS1B256(bb) * DEBRUIJN_256) >> 248]); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IOperatorFilterRegistry { /** * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns * true if supplied registrant address is not registered. */ function isOperatorAllowed(address registrant, address operator) external view returns (bool); /** * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner. */ function register(address registrant) external; /** * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes. */ function registerAndSubscribe(address registrant, address subscription) external; /** * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another * address without subscribing. */ function registerAndCopyEntries(address registrant, address registrantToCopy) external; /** * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner. * Note that this does not remove any filtered addresses or codeHashes. * Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes. */ function unregister(address addr) external; /** * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered. */ function updateOperator(address registrant, address operator, bool filtered) external; /** * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates. */ function updateOperators(address registrant, address[] calldata operators, bool filtered) external; /** * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered. */ function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; /** * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates. */ function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; /** * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous * subscription if present. * Note that accounts with subscriptions may go on to subscribe to other accounts - in this case, * subscriptions will not be forwarded. Instead the former subscription's existing entries will still be * used. */ function subscribe(address registrant, address registrantToSubscribe) external; /** * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes. */ function unsubscribe(address registrant, bool copyExistingEntries) external; /** * @notice Get the subscription address of a given registrant, if any. */ function subscriptionOf(address addr) external returns (address registrant); /** * @notice Get the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscribers(address registrant) external returns (address[] memory); /** * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscriberAt(address registrant, uint256 index) external returns (address); /** * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr. */ function copyEntriesOf(address registrant, address registrantToCopy) external; /** * @notice Returns true if operator is filtered by a given address or its subscription. */ function isOperatorFiltered(address registrant, address operator) external returns (bool); /** * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription. */ function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); /** * @notice Returns true if a codeHash is filtered by a given address or its subscription. */ function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); /** * @notice Returns a list of filtered operators for a given address or its subscription. */ function filteredOperators(address addr) external returns (address[] memory); /** * @notice Returns the set of filtered codeHashes for a given address or its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashes(address addr) external returns (bytes32[] memory); /** * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredOperatorAt(address registrant, uint256 index) external returns (address); /** * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); /** * @notice Returns true if an address has registered */ function isRegistered(address addr) external returns (bool); /** * @dev Convenience method to compute the code hash of an arbitrary contract */ function codeHashOf(address addr) external returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165Upgradeable { /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.0; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMathUpgradeable { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library MathUpgradeable { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } }
{ "optimizer": { "enabled": true, "runs": 99999 }, "viaIR": true, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_toTokenId","type":"uint256"}],"name":"BatchMetadataUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"royaltyReceiver","type":"address"},{"indexed":false,"internalType":"uint96","name":"royaltyNumerator","type":"uint96"},{"indexed":false,"internalType":"uint96","name":"royaltyDenomintator","type":"uint96"}],"name":"DefaultRoyaltySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Locked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint80","name":"whitelistStart","type":"uint80"},{"indexed":false,"internalType":"uint80","name":"publicStart","type":"uint80"}],"name":"MintStartTimesSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"numberMinted","type":"uint256"}],"name":"MintedFor","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"numberMinted","type":"uint256"}],"name":"MintedPublic","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"numberMinted","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"numberWLSpots","type":"uint256"}],"name":"MintedWhitelist","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"MintingPaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"areRevealed","type":"bool"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"NFTsRevealed","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":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newUnlockTime","type":"uint256"}],"name":"TokenLockUpdated","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":"uint256","name":"tokenId","type":"uint256"}],"name":"Unlocked","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"clearTokenLocks","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractMetaURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"costPub","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"costWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"getLockStatus","outputs":[{"internalType":"uint256[]","name":"_checkedTokens","type":"uint256[]"},{"internalType":"bool[]","name":"_isLocked","type":"bool[]"},{"internalType":"uint256[]","name":"_lockExpiration","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPendingLockLength","outputs":[{"internalType":"uint256","name":"length","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"address","name":"_multiSig","type":"address"},{"internalType":"address","name":"_royaltyDest","type":"address"},{"internalType":"uint256","name":"_mintCostWL","type":"uint256"},{"internalType":"uint256","name":"_mintCostPub","type":"uint256"},{"internalType":"string","name":"_hiddenMetadataUri","type":"string"},{"internalType":"string","name":"_contractMetaURI","type":"string"},{"internalType":"uint80","name":"_wlStart","type":"uint80"},{"internalType":"uint80","name":"_pubStart","type":"uint80"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","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":"maxMintAmountPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_wlSpots","type":"uint256"}],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintedPub","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintedWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_newUnlockTime","type":"uint256"}],"name":"overrideTokenLock","outputs":[],"stateMutability":"nonpayable","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":"processLockEvents","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"publicMintStart","outputs":[{"internalType":"uint80","name":"","type":"uint80"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyDest","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":"uint256","name":"_costPub","type":"uint256"}],"name":"setCostPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_costWL","type":"uint256"}],"name":"setCostWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerWallet","type":"uint256"},{"internalType":"bool","name":"_strictLimitEnforced","type":"bool"}],"name":"setMaxMintAmountPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocWL","type":"uint256"},{"internalType":"uint256","name":"_allocPub","type":"uint256"}],"name":"setMintAllocations","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint80","name":"_wlStartTime","type":"uint80"},{"internalType":"uint80","name":"_pubStartTime","type":"uint80"}],"name":"setMintStartTimes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_flag","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"},{"internalType":"bool","name":"_reveal","type":"bool"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_active","type":"bool"},{"internalType":"uint256","name":"_lockTime","type":"uint256"}],"name":"setWLRestrictions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supplyPub","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"supplyWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenLock","outputs":[{"internalType":"uint256","name":"_unlockTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","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":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"unlockRascals","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistMintStart","outputs":[{"internalType":"uint80","name":"","type":"uint80"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlLockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlTokensRestricted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60808060405234620000c6576000549060ff8260081c1662000074575060ff8082160362000038575b604051615e659081620000cc8239f35b60ff90811916176000557f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498602060405160ff8152a13862000028565b62461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b6064820152608490fd5b600080fdfe6080604052600436101561001257600080fd5b60003560e01c806301ffc9a7146103f257806304634d8d146103ed57806306afd592146103e857806306fdde03146103e3578063075692ab146103de578063081812fc146103d957806308a27d87146103d4578063095ea7b3146103cf5780630c8a8c05146103ca5780631205b07f146103c5578063121c93ca146103c05780631637654a146103bb578063163986b0146103b657806316ba10e0146103b157806318160ddd146103ac5780631e6c689f146103a757806320be8c89146103a257806323b872dd1461039d578063286028b4146103985780632a55205a146103935780632aa0ca0b1461038e5780632eb4a7ab146103895780632f9a7c581461038457806332a989e91461037f57806332cb6b0c1461037a57806337a66d851461037557806342842e0e146103705780634c322b151461036b5780634fdd43cb146103665780635183022714610361578063556c4e48146102e95780636352211e1461035c57806370a0823114610357578063715018a614610352578063798842691461034d5780637cb64759146103485780637ed07e22146103435780638462151c1461033e5780638b9a3764146103395780638cfec4c0146103345780638da5cb5b1461032f57806395d89b411461032a578063a22cb46514610325578063a45ba8e714610320578063a7e829481461031b578063a8d144cd14610316578063b6eff87014610311578063b88d4fde1461030c578063bc951b9114610307578063bcc295a114610302578063c3fbfbcf146102fd578063c87b56dd146102f8578063e086e5ec146102f3578063e0a80853146102ee578063e8a3d485146102e9578063e985e9c5146102e4578063efbd73f4146102df578063efd0cbf9146102da578063f1ec7dc7146102d5578063f2fde38b146102d0578063f4bb77ca146102cb5763fdda3391146102c657600080fd5b612ae8565b612a02565b612938565b612864565b6127bc565b612702565b612686565b611b8a565b612582565b6124ca565b6123cd565b6123a6565b612387565b612368565b6122df565b612266565b61219c565b61217d565b612161565b612019565b611f72565b611f3e565b611f13565b611e84565b611de3565b611dc4565b611da2565b611d75565b611cf4565b611cd1565b611c94565b611a2f565b6118bd565b611824565b6116ec565b611668565b61164b565b611564565b611542565b611523565b6114a1565b6113d7565b6113b8565b611363565b611202565b611183565b611160565b610ff5565b610fab565b610f33565b610f11565b610c88565b610c49565b610af2565b610ad3565b610a97565b6109fa565b61075a565b6106c1565b61050b565b610426565b7fffffffff0000000000000000000000000000000000000000000000000000000081160361042157565b600080fd5b34610421576020600319360112610421576020600435610445816103f7565b7f2a55205a000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008216149081156104b4575b81156104a4575b506040519015158152f35b6104ae9150614948565b38610499565b90506104bf81614948565b90610492565b6004359073ffffffffffffffffffffffffffffffffffffffff8216820361042157565b6024359073ffffffffffffffffffffffffffffffffffffffff8216820361042157565b34610421576040600319360112610421576105246104c5565b602435906bffffffffffffffffffffffff821680920361042157610546612b16565b61271091828111610632577f730a818963b62f9ae752ce2533b813ba9efe03d0042c1db46072f937b1af09c69273ffffffffffffffffffffffffffffffffffffffff60609316916105988315156138b9565b6105f46040516105a78161088c565b84815260200182905260a082901b7fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff851617606c55565b610111837fffffffffffffffffffffffff000000000000000000000000000000000000000082541617905560405192835260208301526040820152a1005b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152fd5b600091031261042157565b3461042157600060031936011261042157602061010654604051908152f35b60005b8381106106f35750506000910152565b81810151838201526020016106e3565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f60209361073f815180928187528780880191016106e0565b0116010190565b906020610757928181520190610703565b90565b346104215760008060031936011261085a57604051908060665461077d81611a56565b8085529160019180831690811561081257506001146107b7575b6107b3856107a7818703826108fa565b60405191829182610746565b0390f35b9250606683527f46501879b8ca8525e8c2fd519e2fbfcfa2ebea26501294aa02cbfcfb12e943545b8284106107fa5750505081016020016107a7826107b3610797565b805460208587018101919091529093019281016107df565b8695506107b3969350602092506107a79491507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001682840152151560051b8201019293610797565b80fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040810190811067ffffffffffffffff8211176108a857604052565b61085d565b67ffffffffffffffff81116108a857604052565b6020810190811067ffffffffffffffff8211176108a857604052565b610120810190811067ffffffffffffffff8211176108a857604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176108a857604052565b67ffffffffffffffff81116108a857601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b9291926109818261093b565b9161098f60405193846108fa565b829481845281830111610421578281602093846000960137010152565b9080601f830112156104215781602061075793359101610975565b60e4359069ffffffffffffffffffff8216820361042157565b610104359069ffffffffffffffffffff8216820361042157565b346104215761012060031936011261042157610a146104e8565b6044359073ffffffffffffffffffffffffffffffffffffffff821682036104215767ffffffffffffffff9160a43583811161042157610a579036906004016109ac565b60c43593841161042157610a72610a959436906004016109ac565b90610a7b6109c7565b92610a846109e0565b946084359160643591600435612c77565b005b34610421576020600319360112610421576020610ab5600435614d49565b73ffffffffffffffffffffffffffffffffffffffff60405191168152f35b3461042157600060031936011261042157602061011454604051908152f35b3461042157604060031936011261042157610b0b6104c5565b602435610b1782615afd565b610b2081614b28565b509173ffffffffffffffffffffffffffffffffffffffff8084168091831614610bc657610a9593610b5b913314908115610b60575b50614cbe565b61569c565b610bc09150610bb990610b94339173ffffffffffffffffffffffffffffffffffffffff16600052606b602052604060002090565b9073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b5460ff1690565b38610b55565b60846040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732315073693a20617070726f76616c20746f2063757272656e74206f60448201527f776e6572000000000000000000000000000000000000000000000000000000006064820152fd5b3461042157600060031936011261042157602073ffffffffffffffffffffffffffffffffffffffff6101115416604051908152f35b8015150361042157565b346104215760406003193601126104215767ffffffffffffffff60043581811161042157610cba9036906004016109ac565b9060243590610cc882610c7e565b610cd0612b16565b82519081116108a85761011290610cf081610ceb8454611a56565b612ec5565b602080601f8311600114610e4c575081908495600092610e41575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c19161790555b610db3575b5061010d5460a01c60ff165b610d5457005b7f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c60405180610dae81907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60206040840193600181520152565b0390a1005b61010d80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1682151560a01b74ff0000000000000000000000000000000000000000161790557f065a37dd451b30bda7bb1e45274b4f85715773fc9e0e4a7d3cefb29dd0ba421e90610e389060408051911515825242602083015290918291820190565b0390a138610d42565b015190503880610d0b565b61011260005291947fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe086167fe015f902c527607628f7649074b24d3efd1151f9f546ce1aecf38852c06da883936000905b828210610ef957505091600193918787989410610ec2575b505050811b019055610d3d565b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88460031b161c19169055388080610eb5565b80600186978294978701518155019601940190610e9d565b3461042157602060031936011261042157610f2a612b16565b60043561010655005b3461042157604060031936011261042157600435610f5081610c7e565b610f58612b16565b61011180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1691151560a01b74ff00000000000000000000000000000000000000001691909117905560243561010c55005b3461042157600060031936011261042157602061010c54604051908152f35b6020600319820112610421576004359067ffffffffffffffff821161042157610757916004016109ac565b346104215761100336610fca565b61100b612b16565b805167ffffffffffffffff81116108a857610113906110338161102e8454611a56565b612f27565b602080601f8311600114611099575081929360009261108e575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c19161790555b61010d5460a01c60ff16610d4e565b01519050388061104d565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08316946110eb6101136000527f1af827780c8eead77dc5a11451291f18043aa94313f832de8f85d1d7264809cc90565b926000905b878210611148575050836001959610611111575b505050811b01905561107f565b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88460031b161c19169055388080611104565b806001859682949686015181550195019301906110f0565b3461042157600060031936011261042157602061117b615ab8565b604051908152f35b3461042157600060031936011261042157602061010a54604051908152f35b9181601f840112156104215782359167ffffffffffffffff8311610421576020808501948460051b01011161042157565b6020600319820112610421576004359067ffffffffffffffff8211610421576111fe916004016111a2565b9091565b3461042157611210366111d3565b611218613ded565b60005b81811061122c57610a95600160d055565b611237818385614159565b35600052602061010e8152604090428260002054116112c55750907ff27b6ce5b2f5e68ddb2fd95a8a909d4ecf1daaac270935fff052feacb24f18426112b86112c093600061129c61128a86898b614159565b3560005261010e602052604060002090565b556112a8848789614159565b9051903581529081906020820190565b0390a1613d3f565b61121b565b60649151907f08c379a00000000000000000000000000000000000000000000000000000000082526004820152601260248201527f546f6f20736f6f6e20746f20756e6c6f636b00000000000000000000000000006044820152fd5b60031960609101126104215773ffffffffffffffffffffffffffffffffffffffff90600435828116810361042157916024359081168103610421579060443590565b3461042157610a9561137436611321565b913373ffffffffffffffffffffffffffffffffffffffff8216036113aa575b6113a56113a08433614f19565b614dfe565b6153f1565b6113b333615afd565b611393565b3461042157600060031936011261042157602061010854604051908152f35b3461042157604060031936011261042157600435600052606d6020526040600020604051906114058261088c565b549073ffffffffffffffffffffffffffffffffffffffff908183169283825260a01c60208201529115611491575b61145c6114546bffffffffffffffffffffffff602085015116602435612c64565b612710900490565b9151166107b3604051928392836020909392919373ffffffffffffffffffffffffffffffffffffffff60408201951681520152565b905061149b612c02565b90611433565b34610421576114af366111d3565b906114b8612b16565b60005b8281106114c457005b806114d361151e928585614159565b356000527ff27b6ce5b2f5e68ddb2fd95a8a909d4ecf1daaac270935fff052feacb24f1842602061010e81526040600081812055611512848888614159565b359051908152a1613d3f565b6114bb565b3461042157600060031936011261042157602061010254604051908152f35b346104215760206003193601126104215761155b612b16565b60043561010555005b3461042157604060031936011261042157602435600435611583612b16565b60009181835261010e918260205260408420548210156115ed577f1a79385e75a564007179c9299552e46b7a0348aa0258de4f92f1cc651174477d928185526020528160408520556115e76040519283928360209093929193604081019481520152565b0390a180f35b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f43616e206e6f7420657874656e64206c6f636b2074696d6500000000000000006044820152fd5b34610421576000600319360112610421576020604051611e618152f35b3461042157600060031936011261042157611681612b16565b61010d73ffffffffffffffffffffffffffffffffffffffff7fffffffffffffffffffffffff00000000000000000000000000000000000000008254161790557f38d4174e7163889d8e9bd4aa2078c460fd3a1964ad51aef8de1467ee4b29ae116020604051428152a1005b3461042157610a9561175561170036611321565b903373ffffffffffffffffffffffffffffffffffffffff841614159283611768575b6040519361172f856108c1565b6000855261175a575b6117456113a08433614f19565b6117508383836153f1565b6157cf565b614e89565b61176333615afd565b611738565b61177133615afd565b611722565b67ffffffffffffffff81116108a85760051b60200190565b90815180825260208080930193019160005b8281106117ae575050505090565b8351855293810193928101926001016117a0565b9392906117d79060608652606086019061178e565b936020948181038683015285808551928381520194019060005b81811061180e57505050610757939450604081840391015261178e565b82511515865294870194918701916001016117f1565b34610421576020806003193601126104215760043567ffffffffffffffff811161042157366023820112156104215780600401359061186282611776565b9161187060405193846108fa565b80835260248484019160051b8301019136831161042157602401905b8282106118ae576107b361189f85614273565b604093919351938493846117c2565b8135815290840190840161188c565b34610421576118cb36610fca565b6118d3612b16565b805167ffffffffffffffff81116108a857610103906118fb816118f68454611a56565b612f7e565b602080601f8311600114611968575081929360009261195d575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c19161790555b61010d54610d4e9060a01c60ff161590565b1590565b015190503880611915565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08316946119ba6101036000527f02c297ab74aad0aede3a1895c857b1f2c71e6a203feb727bec95ac752998cb7890565b926000905b878210611a175750508360019596106119e0575b505050811b019055611947565b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88460031b161c191690553880806119d3565b806001859682949686015181550195019301906119bf565b3461042157600060031936011261042157602060ff61010d5460a01c166040519015158152f35b90600182811c92168015611a9f575b6020831014611a7057565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b91607f1691611a65565b60405190600082610103918254611abf81611a56565b80845293600191808316908115611b475750600114611ae9575b5050611ae7925003836108fa565b565b600090815291507f02c297ab74aad0aede3a1895c857b1f2c71e6a203feb727bec95ac752998cb785b848310611b2c5750611ae793505081016020013880611ad9565b81935090816020925483858a01015201910190918592611b12565b905060209350611ae79592507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0091501682840152151560051b8201013880611ad9565b346104215760008060031936011261085a57604051908061010490815490611bb182611a56565b80865292600192808416908115611c495750600114611bef575b6107b386611bdb818803826108fa565b604051918291602083526020830190610703565b815292507f4c0be60200faa20559308cb7b5a1bb3255c16cb1cab91f525b5ae7a03d02fabe5b828410611c31575050508101602001611bdb826107b338611bcb565b80546020858701810191909152909301928101611c15565b8796506107b397945060209350611bdb9592507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0091501682840152151560051b820101929338611bcb565b34610421576020600319360112610421576020611cb2600435614b28565b5073ffffffffffffffffffffffffffffffffffffffff60405191168152f35b3461042157602060031936011261042157602061117b611cef6104c5565b614a21565b346104215760008060031936011261085a57611d0e612b16565b8073ffffffffffffffffffffffffffffffffffffffff609e547fffffffffffffffffffffffff00000000000000000000000000000000000000008116609e55167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b346104215760206003193601126104215760043560005261010e6020526020604060002054604051908152f35b3461042157602060031936011261042157611dbb612b16565b60043561010255005b3461042157600060031936011261042157602061010954604051908152f35b3461042157602060031936011261042157611dfc6104c5565b6000611e0782614a21565b611e1081614224565b9160019384606954905b848403611e3757604051602080825281906107b39082018961178e565b8082889210611e47575b01611e1a565b611e5081614b28565b5073ffffffffffffffffffffffffffffffffffffffff808616911603611e415780611e7e8387019689613eb9565b52611e41565b3461042157600060031936011261042157611e9d613ded565b6101145415611eb557611eae6145d2565b600160d055005b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4e6f7468696e6720746f20656d697400000000000000000000000000000000006044820152fd5b3461042157600060031936011261042157602069ffffffffffffffffffff61010d5416604051908152f35b3461042157600060031936011261042157602073ffffffffffffffffffffffffffffffffffffffff609e5416604051908152f35b346104215760008060031936011261085a576040519080606754611f9581611a56565b808552916001918083169081156108125750600114611fbe576107b3856107a7818703826108fa565b9250606783527f9787eeb91fe3101235e4a76063c7023ecb40f923f97916639c598592fa30d6ae5b8284106120015750505081016020016107a7826107b3610797565b80546020858701810191909152909301928101611fe6565b34610421576040600319360112610421576120326104c5565b60243561203e81610c7e565b61204782615afd565b73ffffffffffffffffffffffffffffffffffffffff82169133831461210357816120a16120d19233600052606b60205260406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b9060ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0083541691151516179055565b604051901515815233907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190602090a3005b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732315073693a20617070726f766520746f2063616c6c6572000000006044820152fd5b34610421576000600319360112610421576107b3611bdb611aa9565b3461042157600060031936011261042157602061010554604051908152f35b34610421576040600319360112610421576004356024356121bb612b16565b80820180831161226157611e6103612203576121f0610a959261010954811015806121f6575b6121ea90614169565b61010755565b61010855565b5061010a548310156121e1565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4d75737420616c6c6f636174652066756c6c20737570706c79000000000000006044820152fd5b612c35565b346104215760406003193601126104215760243561228381610c7e565b61228b612b16565b60043561010b5561011180547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1691151560a81b75ff00000000000000000000000000000000000000000016919091179055005b34610421576080600319360112610421576122f86104c5565b6123006104e8565b906064359060443567ffffffffffffffff8311610421573660238401121561042157610a959361233d611755943690602481600401359101610975565b923373ffffffffffffffffffffffffffffffffffffffff82160361175a576117456113a08433614f19565b3461042157600060031936011261042157602061010b54604051908152f35b3461042157600060031936011261042157602061010754604051908152f35b3461042157600060031936011261042157602060ff6101115460a01c166040519015158152f35b346104215760206003193601126104215760043560695481101561246c576123f36146e0565b80511561245a576107a76124239161242e6124296124136107b396614464565b6040519586946020860190614348565b90614348565b61435f565b037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081018352826108fa565b50506107b3612467612e29565b6107a7565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a206e6f6e6578697374656e7420746f6b656e000000000000006044820152fd5b346104215760008060031936011261085a576124e4612b16565b6124ec613ded565b8080808073ffffffffffffffffffffffffffffffffffffffff610111541647905af16125166141f4565b501561252457600160d05580f35b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f5472616e73666572206661696c656400000000000000000000000000000000006044820152fd5b346104215760206003193601126104215760ff6004356125a181610c7e565b6125a9612b16565b61010d80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1691151560a081901b74ff00000000000000000000000000000000000000001692909217908190556040805192835242602084015290917f065a37dd451b30bda7bb1e45274b4f85715773fc9e0e4a7d3cefb29dd0ba421e9190a160a01c1661263457005b7f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c60408051600181527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6020820152a1005b3461042157604060031936011261042157602060ff6126f66126a66104c5565b73ffffffffffffffffffffffffffffffffffffffff6126c36104e8565b9116600052606b845260406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b54166040519015158152f35b346104215760406003193601126104215760043561271e6104e8565b612726615ab8565b82810180911161226157611e6161273e9111156139ad565b61010a54918083018093116122615761275f610a9593610108541015613ecd565b80151580612776575b61277190613f32565b6140af565b508060ff6101115460a81c166000906000146127af57506127a26127719161279d33614a21565b6139a0565b61010b5410159050612768565b612771916127a2916139a0565b6020600319360112610421576004356127d3615ab8565b81810180911161226157611e616127eb9111156139ad565b61010a54908082018092116122615761280c610a9592610108541015613ecd565b80151580612823575b61281e90613f32565b613f97565b508060ff6101115460a81c16600090600014612857575061284a61281e9161279d33614a21565b61010b5410159050612815565b61281e9161284a916139a0565b60606003193601126104215760043560243567ffffffffffffffff8111610421576128939036906004016111a2565b61289e929192615ab8565b82810180911161226157611e616128b69111156139ad565b610109548281018091116122615761010754106128da57610a959260443592613a77565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f57686974656c69737420737570706c79206578636565646564210000000000006044820152fd5b34610421576020600319360112610421576129516104c5565b612959612b16565b73ffffffffffffffffffffffffffffffffffffffff81161561297e57610a9590612b95565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b346104215760406003193601126104215769ffffffffffffffffffff60043581811680820361042157602435928316809303610421577fe391e8dc0585b33caa09ae7053660247eebb0622d34c3d069448827f541f3dc792612ab0604093612a68612b16565b61010d907fffffffffffffffffffffffff00000000000000000000ffffffffffffffffffff73ffffffffffffffffffff0000000000000000000083549260501b169116179055565b61010d817fffffffffffffffffffffffffffffffffffffffffffff0000000000000000000082541617905582519182526020820152a1005b3461042157600060031936011261042157602069ffffffffffffffffffff61010d5460501c16604051908152f35b73ffffffffffffffffffffffffffffffffffffffff609e54163303612b3757565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b609e549073ffffffffffffffffffffffffffffffffffffffff80911691827fffffffffffffffffffffffff0000000000000000000000000000000000000000821617609e55167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3565b60405190612c0f8261088c565b606c5473ffffffffffffffffffffffffffffffffffffffff8116835260a01c6020830152565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8181029291811591840414171561226157565b96949290979593916000549860ff8a60081c1615809a819b612e1b575b8115612dfb575b5015612d7757612cdf988a612cd660017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff006000541617600055565b612d41576134e6565b612ce557565b612d127fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff60005416600055565b604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249890602090a1565b612d726101007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff6000541617600055565b6134e6565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152fd5b303b15915081612e0d575b5038612c9b565b6001915060ff161438612e06565b600160ff8216109150612c94565b60405190612e36826108c1565b60008252565b60405190612e498261088c565b601382527f52617363616c73206f66207468652057696c64000000000000000000000000006020830152565b60405190612e828261088c565b600482527f524f5457000000000000000000000000000000000000000000000000000000006020830152565b818110612eb9575050565b60008155600101612eae565b90601f8211612ed2575050565b611ae7916101126000527fe015f902c527607628f7649074b24d3efd1151f9f546ce1aecf38852c06da883906020601f840160051c83019310612f1d575b601f0160051c0190612eae565b9091508190612f10565b90601f8211612f34575050565b611ae7916101136000527f1af827780c8eead77dc5a11451291f18043aa94313f832de8f85d1d7264809cc906020601f840160051c83019310612f1d57601f0160051c0190612eae565b90601f8211612f8b575050565b611ae7916101036000527f02c297ab74aad0aede3a1895c857b1f2c71e6a203feb727bec95ac752998cb78906020601f840160051c83019310612f1d57601f0160051c0190612eae565b90601f8211612fe2575050565b611ae79160666000527f46501879b8ca8525e8c2fd519e2fbfcfa2ebea26501294aa02cbfcfb12e94354906020601f840160051c83019310612f1d57601f0160051c0190612eae565b90601f8211613038575050565b611ae7916101046000527f4c0be60200faa20559308cb7b5a1bb3255c16cb1cab91f525b5ae7a03d02fabe906020601f840160051c83019310612f1d57601f0160051c0190612eae565b90601f821161308f575050565b611ae79160676000527f9787eeb91fe3101235e4a76063c7023ecb40f923f97916639c598592fa30d6ae906020601f840160051c83019310612f1d57601f0160051c0190612eae565b6101136130e58154611a56565b601f8111613114575b507f2e6a736f6e00000000000000000000000000000000000000000000000000000a9055565b6000828152601f7f1af827780c8eead77dc5a11451291f18043aa94313f832de8f85d1d7264809cc920160051c8201915b8281106131535750506130ee565b818155600101613145565b90815167ffffffffffffffff81116108a85761010390613182816118f68454611a56565b602080601f83116001146131db5750819293946000926131d0575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c1916179055565b01519050388061319d565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe083169561322d6101036000527f02c297ab74aad0aede3a1895c857b1f2c71e6a203feb727bec95ac752998cb7890565b926000905b88821061328857505083600195969710613251575b505050811b019055565b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88460031b161c19169055388080613247565b80600185968294968601518155019501930190613232565b90815167ffffffffffffffff81116108a857610104906132c9816132c48454611a56565b61302b565b602080601f83116001146133165750819293946000926131d05750507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c1916179055565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08316956133686101046000527f4c0be60200faa20559308cb7b5a1bb3255c16cb1cab91f525b5ae7a03d02fabe90565b926000905b88821061338b5750508360019596971061325157505050811b019055565b8060018596829496860151815501950193019061336d565b90815167ffffffffffffffff81116108a8576133c9816133c4606754611a56565b613082565b602080601f83116001146134225750819293600092613417575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c191617606755565b0151905038806133e3565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe083169461347360676000527f9787eeb91fe3101235e4a76063c7023ecb40f923f97916639c598592fa30d6ae90565b926000905b8782106134ce575050836001959610613497575b505050811b01606755565b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88460031b161c1916905538808061348c565b80600185968294968601518155019501930190613478565b90979593979694929196600061350b60ff825460081c16613506816137f4565b6137f4565b6daaeb6d7670e522a718067333cd4e90813b6136bb575b505061360b9695936135c0611ae79a6135ba612a68966135b46135d29a976135756135cd98613560613552612e3c565b61355a612e75565b906147d5565b61356861389d565b61357061387f565b612b95565b613580606461010b55565b6135ae6101117fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff8154169055565b61010255565b61010655565b61010555565b6135c86130d8565b61315e565b6132a0565b69ffffffffffffffffffff61010d91167fffffffffffffffffffffffffffffffffffffffffffff00000000000000000000825416179055565b61011180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83161790556136586103e861010755565b613664611a7961010855565b6136716206978061010c55565b6136b6610111740100000000000000000000000000000000000000007fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff825416179055565b61391e565b6040517fc3c5a54700000000000000000000000000000000000000000000000000000000815230600482015260208160248185875af19081156137c15782916137c6575b50613522578194969392989795913b1561085a576040517f7d3e3dbe000000000000000000000000000000000000000000000000000000008152306004820152733cc6cdda760b79bafa08df41ecfa224f810dceb66024820152948590604490829084905af180156137c157611ae79a6135ba6135d2986135b46135cd9661357561360b9e612a689b6135c0986137a8575b50985050979a50509650509a508195979850613522565b806137b56137bb926108ad565b806106b6565b38613791565b6157c3565b6137e7915060203d81116137ed575b6137df81836108fa565b810190615ae8565b386136ff565b503d6137d5565b156137fb57565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152fd5b61389460ff60005460081c16613506816137f4565b611ae733612b95565b6138b260ff60005460081c16613506816137f4565b600160d055565b156138c057565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152fd5b73ffffffffffffffffffffffffffffffffffffffff611ae791166139438115156138b9565b604051906139508261088c565b8082526101f460209092019190915273ffffffffffffffffffffffffffffffffffffffff167501f4000000000000000000000000000000000000000017606c55565b906001820180921161226157565b9190820180921161226157565b156139b457565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4d617820737570706c79206578636565646564210000000000000000000000006044820152fd5b15613a1957565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f496e636f7272656374207061796d656e7420616d6f756e7400000000000000006044820152fd5b939291613b2591613b2091613a99613a928861010654612c64565b3414613a12565b613aa1613ded565b613ad8613ad0613ac161010d5469ffffffffffffffffffff9060501c1690565b69ffffffffffffffffffff1690565b421015613c10565b604080513360208201908152918101879052613b1b91613b0791613aff816060810161242e565b519020613c75565b602081519101209261010254923691613c8c565b613e5c565b613cda565b613b3b613b3584610109546139a0565b61010955565b60695492613b4981856139a0565b613b538233615034565b6101115460a01c60ff16613bb0575b506040805133815260208101929092528101919091529091507f51fc157cbceafe43ec04a2cb1b6a6971c161b39e4303775c6df1ce5843a7e6fa9080606081015b0390a1611ae7600160d055565b61011454613c03575b613bc661010c54426139a0565b945b818110613bd55750613b62565b8086613bef613bfe9360005261010e602052604060002090565b55613bf981613d9b565b613d3f565b613bc8565b613c0b6145d2565b613bb9565b15613c1757565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f57686974656c6973742073616c65206e6f7420656e61626c65642100000000006044820152fd5b9060405191602083015260208252611ae78261088c565b9291613c9782611776565b91613ca560405193846108fa565b829481845260208094019160051b810192831161042157905b828210613ccb5750505050565b81358152908301908301613cbe565b15613ce157565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f496e76616c69642070726f6f66210000000000000000000000000000000000006044820152fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146122615760010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b610114805490680100000000000000008210156108a85760018201808255821015613de8576000527f7bcceeb45a7fc3e9ab41757c29868f6027a0954a5b36f3d0216dd22b389c2f050155565b613d6c565b600260d05414613dfe57600260d055565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152fd5b929091906000915b8451831015613eb157613e778386613eb9565b5190600082821015613e9f5750600052602052613e9960406000205b92613d3f565b91613e64565b604091613e9993825260205220613e93565b915092501490565b8051821015613de85760209160051b010190565b15613ed457565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f5075626c696320737570706c79206578636565646564210000000000000000006044820152fd5b15613f3957565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e74210000000000000000000000006044820152fd5b613fa7613a928261010554612c64565b613faf613ded565b69ffffffffffffffffffff61010d5416421061405157610111547f2b9b5f231350be1ad74fdc2e455baf61e5cecc08206b88e31158e38214462bd791613ba39160a01c60ff1680614045575b614038575b6140166140108261010a546139a0565b61010a55565b6140208133615034565b60408051338152602081019290925290918291820190565b6140406145d2565b614000565b50610114541515613ffb565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f5075626c6963206d696e74696e67206e6f74206163746976652e0000000000006044820152fd5b6140b7612b16565b6140bf613ded565b60ff6101115460a01c168061414d575b614140575b61010a918254828101809111612261577f806cd60f2e685a1e396a8baa63258d7a53ee827529ff0b205284da9c8e19e2e193556141118282615034565b6040805173ffffffffffffffffffffffffffffffffffffffff9290921682526020820192909252a1600160d055565b6141486145d2565b6140d4565b506101145415156140cf565b9190811015613de85760051b0190565b1561417057565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f43616e206e6f74207365742076616c756573206c657373207468616e20616c7260448201527f65616479206d696e7465642e00000000000000000000000000000000000000006064820152fd5b3d1561421f573d906142058261093b565b9161421360405193846108fa565b82523d6000602084013e565b606090565b9061422e82611776565b61423b60405191826108fa565b8281527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe06142698294611776565b0190602036910137565b9081519061428082611776565b9261428e60405194856108fa565b8284527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe06142bb84611776565b013660208601376142cb83614224565b9260005b8181106142dd575050929190565b61433e90426143016142ef8387613eb9565b5160005261010e602052604060002090565b5411600090600014614343575060015b61431b8289613eb9565b901515905261432d6142ef8286613eb9565b546143388288613eb9565b52613d3f565b6142cf565b614311565b9061435b602092828151948592016106e0565b0190565b9060009161011390815461437281611a56565b926001918083169081156143e6575060011461438f575b50505050565b9091929394506000527f1af827780c8eead77dc5a11451291f18043aa94313f832de8f85d1d7264809cc906000915b8483106143d357505050019038808080614389565b81816020925485870152019201916143be565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016845250505081151590910201915038808080614389565b906144298261093b565b61443660405191826108fa565b8281527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0614269829461093b565b806000917a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000808210156145c4575b506d04ee2d6d415b85acef8100000000808310156145b5575b50662386f26fc10000808310156145a6575b506305f5e10080831015614597575b5061271080831015614588575b506064821015614578575b600a8092101561456e575b6001908160216144fb82870161441f565b95860101905b61450d575b5050505090565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff849101917f30313233343536373839616263646566000000000000000000000000000000008282061a83530491821561456957919082614501565b614506565b91600101916144ea565b91906064600291049101916144df565b600491939204910191386144d4565b600891939204910191386144c7565b601091939204910191386144b8565b602091939204910191386144a6565b60409350810491503861448d565b6101148054805b6145e1575050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8082019082821161226157835480921015613de8576000908482527f7bcceeb45a7fc3e9ab41757c29868f6027a0954a5b36f3d0216dd22b389c2f04907f032bc66be43dbccb7487781d168eb7bda224628a3b2c3388bdf69b532a3a1611602083870154604051908152a183156146b35783019280841015613de857858352015582558015612261577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01806145d9565b6024837f4e487b710000000000000000000000000000000000000000000000000000000081526031600452fd5b60ff61010d5460a01c16156147cd5760405160008161011291825461470481611a56565b8084529360019180831690811561478a575060011461472c575b5050610757925003826108fa565b600090815291507fe015f902c527607628f7649074b24d3efd1151f9f546ce1aecf38852c06da8835b84831061476f57506107579350508101602001388061471e565b81935090816020925483858901015201910190918492614755565b9050602093506107579592507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0091501682840152151560051b820101388061471e565b610757611aa9565b906147eb60ff60005460081c16613506816137f4565b815167ffffffffffffffff81116108a8576148108161480b606654611a56565b612fd5565b602080601f8311600114614879575081906148649460009261486e575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c1916176066556133a3565b611ae76001606955565b01519050388061482d565b9192937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe084166148cb60666000527f46501879b8ca8525e8c2fd519e2fbfcfa2ebea26501294aa02cbfcfb12e9435490565b936000905b828210614930575050916001939185614864979694106148f9575b505050811b016066556133a3565b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88460031b161c191690553880806148eb565b806001869782949787015181550196019401906148d0565b7fffffffff00000000000000000000000000000000000000000000000000000000167f80ac58cd0000000000000000000000000000000000000000000000000000000081149081156149f7575b81156149cd575b81156149a6575090565b7f01ffc9a70000000000000000000000000000000000000000000000000000000091501490565b7f780e9d63000000000000000000000000000000000000000000000000000000008114915061499c565b7f5b5e139f0000000000000000000000000000000000000000000000000000000081149150614995565b73ffffffffffffffffffffffffffffffffffffffff8091168015614aa4576000906001928380606954915b614a5a575b50505050905090565b8181108015614a9e57614a77575b614a7190613d3f565b85614a4c565b82614a8182614b28565b50168403614a685793614a96614a7191613d3f565b949050614a68565b50614a51565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f4552433732315073693a2062616c616e636520717565727920666f722074686560448201527f207a65726f2061646472657373000000000000000000000000000000000000006064820152fd5b606954811015614c3a57600090600891604060ff83851c931691838152606560205220548160ff181c801515600014614ba757614b67614b6d91615c84565b60ff1690565b9003911b175b614ba4614b8a826000526068602052604060002090565b5473ffffffffffffffffffffffffffffffffffffffff1690565b91565b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905b614bd7811515615be8565b01614bec816000526065602052604060002090565b5480614c1a57507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90614bcc565b614b67614c29614c3292615c84565b60ff9081031690565b911b17614b73565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732315073693a206f776e657220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152fd5b15614cc557565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732315073693a20617070726f7665206e6f74206f776e6572206e6f7260448201527f20617070726f76656420666f7220616c6c0000000000000000000000000000006064820152fd5b606954811015614d7a57600052606a60205273ffffffffffffffffffffffffffffffffffffffff6040600020541690565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4552433732315073693a20617070726f76656420717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152fd5b15614e0557565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4552433732315073693a207472616e736665722063616c6c6572206973206e6f60448201527f74206f776e6572206e6f7220617070726f7665640000000000000000000000006064820152fd5b15614e9057565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260448201527f31526563656976657220696d706c656d656e74657200000000000000000000006064820152608490fd5b0390fd5b606954821015614fb057614f2c82614b28565b5073ffffffffffffffffffffffffffffffffffffffff808316908083168214948515614f98575b5050508215614f6157505090565b60ff925090610b94614f939273ffffffffffffffffffffffffffffffffffffffff16600052606b602052604060002090565b541690565b614fa59192939550614d49565b161491388080614f53565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4552433732315073693a206f70657261746f7220717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152fd5b9060405191615042836108c1565b6000908184526069549183156151985773ffffffffffffffffffffffffffffffffffffffff821661507481151561521c565b61507d846152a7565b61508f61508a86866139a0565b606955565b6150e7836150a7866000526068602052604060002090565b9073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055565b615129848060081c60005260656020527f800000000000000000000000000000000000000000000000000000000000000060ff604060002092161c8154179055565b61513385856139a0565b907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92858282868180a46001938487015b84810361518957505050505050918161175593615184611ae7969461531c565b6159b9565b8086918585858180a401615164565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4552433732315073693a207175616e74697479206d757374206265206772656160448201527f74657220300000000000000000000000000000000000000000000000000000006064820152fd5b1561522357565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f4552433732315073693a206d696e7420746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152fd5b60005261010e60205260406000205442106152be57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f546f6b656e207472616e73666572207768696c65206c6f636b656400000000006044820152fd5b8060005261010e60205260406000208054615335575050565b7ff27b6ce5b2f5e68ddb2fd95a8a909d4ecf1daaac270935fff052feacb24f184291600060209255604051908152a1565b1561536d57565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f4552433732315073693a207472616e7366657220746f20746865207a65726f2060448201527f61646472657373000000000000000000000000000000000000000000000000006064820152fd5b91906153fc82614b28565b73ffffffffffffffffffffffffffffffffffffffff94918583169190861682900361559c576154b984611ae79787961694615438861515615366565b615441876152a7565b61544a87615620565b61545387613992565b6154986119598260ff7f8000000000000000000000000000000000000000000000000000000000000000918060081c6000526065602052161c60406000205416151590565b80615591575b615531575b50506150a7866000526068602052604060002090565b83036154ea575b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a461531c565b61552c838060081c60005260656020527f800000000000000000000000000000000000000000000000000000000000000060ff604060002092161c8154179055565b6154c0565b61554c61558a926150a7836000526068602052604060002090565b8060081c60005260656020527f800000000000000000000000000000000000000000000000000000000000000060ff604060002092161c8154179055565b38806154a3565b50606954811061549e565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732315073693a207472616e73666572206f6620746f6b656e2074686160448201527f74206973206e6f74206f776e00000000000000000000000000000000000000006064820152fd5b80600052606a60205260406000207fffffffffffffffffffffffff00000000000000000000000000000000000000008154169055600073ffffffffffffffffffffffffffffffffffffffff61567483614b28565b50167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258280a4565b81600052606a6020526156ee8160406000209073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055565b6156f782614b28565b5073ffffffffffffffffffffffffffffffffffffffff91821691167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600080a4565b908160209103126104215751610757816103f7565b610757939273ffffffffffffffffffffffffffffffffffffffff6080931682526000602083015260408201528160608201520190610703565b9092610757949360809373ffffffffffffffffffffffffffffffffffffffff809216845216602083015260408201528160608201520190610703565b6040513d6000823e3d90fd5b919290803b156159b05790929160019081948285935b6157f3575b50505050505090565b6158008697989596613992565b8410156159a7576040958651977f150b7a0200000000000000000000000000000000000000000000000000000000998a8a5260209a8b60049b808d898c8c339385019361584c94615787565b03908281600093818573ffffffffffffffffffffffffffffffffffffffff8c165af1919282615978575b5050615921578c8c8c6158876141f4565b8051938461591b57614f158484519182917f08c379a0000000000000000000000000000000000000000000000000000000008352820160809060208152603560208201527f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260408201527f31526563656976657220696d706c656d656e746572000000000000000000000060608201520190565b84925001fd5b91939699509194979a50615940939699508261594c575b505096613d3f565b928095929491956157e5565b7fffffffff00000000000000000000000000000000000000000000000000000000161490503880615938565b615998929350803d106159a0575b61599081836108fa565b810190615739565b90388e615876565b503d615986565b849796506157ea565b50505050600190565b909290803b156159b05792919060018091819585935b6159dc5750505050505090565b6159ea8587989996976139a0565b8410156159a7576040958651977f150b7a0200000000000000000000000000000000000000000000000000000000998a8a5260209a8b60049b808d898c3392840192615a359361574e565b03908281600093818573ffffffffffffffffffffffffffffffffffffffff8d165af1919282615a99575b5050615a70578c8c8c6158876141f4565b91939699509194979a50615a8e939699508261594c57505096613d3f565b9285929491956159cf565b615ab0929350803d106159a05761599081836108fa565b90388e615a5f565b6069547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81019081116122615790565b90816020910312610421575161075781610c7e565b6daaeb6d7670e522a718067333cd4e803b615b16575050565b6020604491604051928380927fc617113400000000000000000000000000000000000000000000000000000000825230600483015273ffffffffffffffffffffffffffffffffffffffff871660248301525afa9081156137c157600091615bca575b5015615b815750565b6040517fede71dcc00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff919091166004820152602490fd5b615be2915060203d81116137ed576137df81836108fa565b38615b78565b15615bef57565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4269744d6170733a205468652073657420626974206265666f7265207468652060448201527f696e64657820646f65736e27742065786973742e0000000000000000000000006064820152fd5b908151811015613de8570160200190565b604051615c90816108dd565b7ffd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f86101008083527e01020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7560208401527f06264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c960408401527f071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee360608401527f0e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf760808401527fff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c860a08401527f16365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f660c08401527ffe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf560e0840152820152811561042157615e03615e29917e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff8461075795600003160260f81c90615c73565b517fff000000000000000000000000000000000000000000000000000000000000001690565b60f81c9056fea26469706673582212200b6cc2e667a90f023da00ff6e26e02add31d8e4cbd8f96004e07f6e015d6681264736f6c63430008120033
Deployed Bytecode
0x6080604052600436101561001257600080fd5b60003560e01c806301ffc9a7146103f257806304634d8d146103ed57806306afd592146103e857806306fdde03146103e3578063075692ab146103de578063081812fc146103d957806308a27d87146103d4578063095ea7b3146103cf5780630c8a8c05146103ca5780631205b07f146103c5578063121c93ca146103c05780631637654a146103bb578063163986b0146103b657806316ba10e0146103b157806318160ddd146103ac5780631e6c689f146103a757806320be8c89146103a257806323b872dd1461039d578063286028b4146103985780632a55205a146103935780632aa0ca0b1461038e5780632eb4a7ab146103895780632f9a7c581461038457806332a989e91461037f57806332cb6b0c1461037a57806337a66d851461037557806342842e0e146103705780634c322b151461036b5780634fdd43cb146103665780635183022714610361578063556c4e48146102e95780636352211e1461035c57806370a0823114610357578063715018a614610352578063798842691461034d5780637cb64759146103485780637ed07e22146103435780638462151c1461033e5780638b9a3764146103395780638cfec4c0146103345780638da5cb5b1461032f57806395d89b411461032a578063a22cb46514610325578063a45ba8e714610320578063a7e829481461031b578063a8d144cd14610316578063b6eff87014610311578063b88d4fde1461030c578063bc951b9114610307578063bcc295a114610302578063c3fbfbcf146102fd578063c87b56dd146102f8578063e086e5ec146102f3578063e0a80853146102ee578063e8a3d485146102e9578063e985e9c5146102e4578063efbd73f4146102df578063efd0cbf9146102da578063f1ec7dc7146102d5578063f2fde38b146102d0578063f4bb77ca146102cb5763fdda3391146102c657600080fd5b612ae8565b612a02565b612938565b612864565b6127bc565b612702565b612686565b611b8a565b612582565b6124ca565b6123cd565b6123a6565b612387565b612368565b6122df565b612266565b61219c565b61217d565b612161565b612019565b611f72565b611f3e565b611f13565b611e84565b611de3565b611dc4565b611da2565b611d75565b611cf4565b611cd1565b611c94565b611a2f565b6118bd565b611824565b6116ec565b611668565b61164b565b611564565b611542565b611523565b6114a1565b6113d7565b6113b8565b611363565b611202565b611183565b611160565b610ff5565b610fab565b610f33565b610f11565b610c88565b610c49565b610af2565b610ad3565b610a97565b6109fa565b61075a565b6106c1565b61050b565b610426565b7fffffffff0000000000000000000000000000000000000000000000000000000081160361042157565b600080fd5b34610421576020600319360112610421576020600435610445816103f7565b7f2a55205a000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008216149081156104b4575b81156104a4575b506040519015158152f35b6104ae9150614948565b38610499565b90506104bf81614948565b90610492565b6004359073ffffffffffffffffffffffffffffffffffffffff8216820361042157565b6024359073ffffffffffffffffffffffffffffffffffffffff8216820361042157565b34610421576040600319360112610421576105246104c5565b602435906bffffffffffffffffffffffff821680920361042157610546612b16565b61271091828111610632577f730a818963b62f9ae752ce2533b813ba9efe03d0042c1db46072f937b1af09c69273ffffffffffffffffffffffffffffffffffffffff60609316916105988315156138b9565b6105f46040516105a78161088c565b84815260200182905260a082901b7fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff851617606c55565b610111837fffffffffffffffffffffffff000000000000000000000000000000000000000082541617905560405192835260208301526040820152a1005b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152fd5b600091031261042157565b3461042157600060031936011261042157602061010654604051908152f35b60005b8381106106f35750506000910152565b81810151838201526020016106e3565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f60209361073f815180928187528780880191016106e0565b0116010190565b906020610757928181520190610703565b90565b346104215760008060031936011261085a57604051908060665461077d81611a56565b8085529160019180831690811561081257506001146107b7575b6107b3856107a7818703826108fa565b60405191829182610746565b0390f35b9250606683527f46501879b8ca8525e8c2fd519e2fbfcfa2ebea26501294aa02cbfcfb12e943545b8284106107fa5750505081016020016107a7826107b3610797565b805460208587018101919091529093019281016107df565b8695506107b3969350602092506107a79491507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001682840152151560051b8201019293610797565b80fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040810190811067ffffffffffffffff8211176108a857604052565b61085d565b67ffffffffffffffff81116108a857604052565b6020810190811067ffffffffffffffff8211176108a857604052565b610120810190811067ffffffffffffffff8211176108a857604052565b90601f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0910116810190811067ffffffffffffffff8211176108a857604052565b67ffffffffffffffff81116108a857601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b9291926109818261093b565b9161098f60405193846108fa565b829481845281830111610421578281602093846000960137010152565b9080601f830112156104215781602061075793359101610975565b60e4359069ffffffffffffffffffff8216820361042157565b610104359069ffffffffffffffffffff8216820361042157565b346104215761012060031936011261042157610a146104e8565b6044359073ffffffffffffffffffffffffffffffffffffffff821682036104215767ffffffffffffffff9160a43583811161042157610a579036906004016109ac565b60c43593841161042157610a72610a959436906004016109ac565b90610a7b6109c7565b92610a846109e0565b946084359160643591600435612c77565b005b34610421576020600319360112610421576020610ab5600435614d49565b73ffffffffffffffffffffffffffffffffffffffff60405191168152f35b3461042157600060031936011261042157602061011454604051908152f35b3461042157604060031936011261042157610b0b6104c5565b602435610b1782615afd565b610b2081614b28565b509173ffffffffffffffffffffffffffffffffffffffff8084168091831614610bc657610a9593610b5b913314908115610b60575b50614cbe565b61569c565b610bc09150610bb990610b94339173ffffffffffffffffffffffffffffffffffffffff16600052606b602052604060002090565b9073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b5460ff1690565b38610b55565b60846040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732315073693a20617070726f76616c20746f2063757272656e74206f60448201527f776e6572000000000000000000000000000000000000000000000000000000006064820152fd5b3461042157600060031936011261042157602073ffffffffffffffffffffffffffffffffffffffff6101115416604051908152f35b8015150361042157565b346104215760406003193601126104215767ffffffffffffffff60043581811161042157610cba9036906004016109ac565b9060243590610cc882610c7e565b610cd0612b16565b82519081116108a85761011290610cf081610ceb8454611a56565b612ec5565b602080601f8311600114610e4c575081908495600092610e41575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c19161790555b610db3575b5061010d5460a01c60ff165b610d5457005b7f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c60405180610dae81907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60206040840193600181520152565b0390a1005b61010d80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1682151560a01b74ff0000000000000000000000000000000000000000161790557f065a37dd451b30bda7bb1e45274b4f85715773fc9e0e4a7d3cefb29dd0ba421e90610e389060408051911515825242602083015290918291820190565b0390a138610d42565b015190503880610d0b565b61011260005291947fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe086167fe015f902c527607628f7649074b24d3efd1151f9f546ce1aecf38852c06da883936000905b828210610ef957505091600193918787989410610ec2575b505050811b019055610d3d565b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88460031b161c19169055388080610eb5565b80600186978294978701518155019601940190610e9d565b3461042157602060031936011261042157610f2a612b16565b60043561010655005b3461042157604060031936011261042157600435610f5081610c7e565b610f58612b16565b61011180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1691151560a01b74ff00000000000000000000000000000000000000001691909117905560243561010c55005b3461042157600060031936011261042157602061010c54604051908152f35b6020600319820112610421576004359067ffffffffffffffff821161042157610757916004016109ac565b346104215761100336610fca565b61100b612b16565b805167ffffffffffffffff81116108a857610113906110338161102e8454611a56565b612f27565b602080601f8311600114611099575081929360009261108e575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c19161790555b61010d5460a01c60ff16610d4e565b01519050388061104d565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08316946110eb6101136000527f1af827780c8eead77dc5a11451291f18043aa94313f832de8f85d1d7264809cc90565b926000905b878210611148575050836001959610611111575b505050811b01905561107f565b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88460031b161c19169055388080611104565b806001859682949686015181550195019301906110f0565b3461042157600060031936011261042157602061117b615ab8565b604051908152f35b3461042157600060031936011261042157602061010a54604051908152f35b9181601f840112156104215782359167ffffffffffffffff8311610421576020808501948460051b01011161042157565b6020600319820112610421576004359067ffffffffffffffff8211610421576111fe916004016111a2565b9091565b3461042157611210366111d3565b611218613ded565b60005b81811061122c57610a95600160d055565b611237818385614159565b35600052602061010e8152604090428260002054116112c55750907ff27b6ce5b2f5e68ddb2fd95a8a909d4ecf1daaac270935fff052feacb24f18426112b86112c093600061129c61128a86898b614159565b3560005261010e602052604060002090565b556112a8848789614159565b9051903581529081906020820190565b0390a1613d3f565b61121b565b60649151907f08c379a00000000000000000000000000000000000000000000000000000000082526004820152601260248201527f546f6f20736f6f6e20746f20756e6c6f636b00000000000000000000000000006044820152fd5b60031960609101126104215773ffffffffffffffffffffffffffffffffffffffff90600435828116810361042157916024359081168103610421579060443590565b3461042157610a9561137436611321565b913373ffffffffffffffffffffffffffffffffffffffff8216036113aa575b6113a56113a08433614f19565b614dfe565b6153f1565b6113b333615afd565b611393565b3461042157600060031936011261042157602061010854604051908152f35b3461042157604060031936011261042157600435600052606d6020526040600020604051906114058261088c565b549073ffffffffffffffffffffffffffffffffffffffff908183169283825260a01c60208201529115611491575b61145c6114546bffffffffffffffffffffffff602085015116602435612c64565b612710900490565b9151166107b3604051928392836020909392919373ffffffffffffffffffffffffffffffffffffffff60408201951681520152565b905061149b612c02565b90611433565b34610421576114af366111d3565b906114b8612b16565b60005b8281106114c457005b806114d361151e928585614159565b356000527ff27b6ce5b2f5e68ddb2fd95a8a909d4ecf1daaac270935fff052feacb24f1842602061010e81526040600081812055611512848888614159565b359051908152a1613d3f565b6114bb565b3461042157600060031936011261042157602061010254604051908152f35b346104215760206003193601126104215761155b612b16565b60043561010555005b3461042157604060031936011261042157602435600435611583612b16565b60009181835261010e918260205260408420548210156115ed577f1a79385e75a564007179c9299552e46b7a0348aa0258de4f92f1cc651174477d928185526020528160408520556115e76040519283928360209093929193604081019481520152565b0390a180f35b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f43616e206e6f7420657874656e64206c6f636b2074696d6500000000000000006044820152fd5b34610421576000600319360112610421576020604051611e618152f35b3461042157600060031936011261042157611681612b16565b61010d73ffffffffffffffffffffffffffffffffffffffff7fffffffffffffffffffffffff00000000000000000000000000000000000000008254161790557f38d4174e7163889d8e9bd4aa2078c460fd3a1964ad51aef8de1467ee4b29ae116020604051428152a1005b3461042157610a9561175561170036611321565b903373ffffffffffffffffffffffffffffffffffffffff841614159283611768575b6040519361172f856108c1565b6000855261175a575b6117456113a08433614f19565b6117508383836153f1565b6157cf565b614e89565b61176333615afd565b611738565b61177133615afd565b611722565b67ffffffffffffffff81116108a85760051b60200190565b90815180825260208080930193019160005b8281106117ae575050505090565b8351855293810193928101926001016117a0565b9392906117d79060608652606086019061178e565b936020948181038683015285808551928381520194019060005b81811061180e57505050610757939450604081840391015261178e565b82511515865294870194918701916001016117f1565b34610421576020806003193601126104215760043567ffffffffffffffff811161042157366023820112156104215780600401359061186282611776565b9161187060405193846108fa565b80835260248484019160051b8301019136831161042157602401905b8282106118ae576107b361189f85614273565b604093919351938493846117c2565b8135815290840190840161188c565b34610421576118cb36610fca565b6118d3612b16565b805167ffffffffffffffff81116108a857610103906118fb816118f68454611a56565b612f7e565b602080601f8311600114611968575081929360009261195d575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c19161790555b61010d54610d4e9060a01c60ff161590565b1590565b015190503880611915565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08316946119ba6101036000527f02c297ab74aad0aede3a1895c857b1f2c71e6a203feb727bec95ac752998cb7890565b926000905b878210611a175750508360019596106119e0575b505050811b019055611947565b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88460031b161c191690553880806119d3565b806001859682949686015181550195019301906119bf565b3461042157600060031936011261042157602060ff61010d5460a01c166040519015158152f35b90600182811c92168015611a9f575b6020831014611a7057565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b91607f1691611a65565b60405190600082610103918254611abf81611a56565b80845293600191808316908115611b475750600114611ae9575b5050611ae7925003836108fa565b565b600090815291507f02c297ab74aad0aede3a1895c857b1f2c71e6a203feb727bec95ac752998cb785b848310611b2c5750611ae793505081016020013880611ad9565b81935090816020925483858a01015201910190918592611b12565b905060209350611ae79592507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0091501682840152151560051b8201013880611ad9565b346104215760008060031936011261085a57604051908061010490815490611bb182611a56565b80865292600192808416908115611c495750600114611bef575b6107b386611bdb818803826108fa565b604051918291602083526020830190610703565b815292507f4c0be60200faa20559308cb7b5a1bb3255c16cb1cab91f525b5ae7a03d02fabe5b828410611c31575050508101602001611bdb826107b338611bcb565b80546020858701810191909152909301928101611c15565b8796506107b397945060209350611bdb9592507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0091501682840152151560051b820101929338611bcb565b34610421576020600319360112610421576020611cb2600435614b28565b5073ffffffffffffffffffffffffffffffffffffffff60405191168152f35b3461042157602060031936011261042157602061117b611cef6104c5565b614a21565b346104215760008060031936011261085a57611d0e612b16565b8073ffffffffffffffffffffffffffffffffffffffff609e547fffffffffffffffffffffffff00000000000000000000000000000000000000008116609e55167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b346104215760206003193601126104215760043560005261010e6020526020604060002054604051908152f35b3461042157602060031936011261042157611dbb612b16565b60043561010255005b3461042157600060031936011261042157602061010954604051908152f35b3461042157602060031936011261042157611dfc6104c5565b6000611e0782614a21565b611e1081614224565b9160019384606954905b848403611e3757604051602080825281906107b39082018961178e565b8082889210611e47575b01611e1a565b611e5081614b28565b5073ffffffffffffffffffffffffffffffffffffffff808616911603611e415780611e7e8387019689613eb9565b52611e41565b3461042157600060031936011261042157611e9d613ded565b6101145415611eb557611eae6145d2565b600160d055005b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4e6f7468696e6720746f20656d697400000000000000000000000000000000006044820152fd5b3461042157600060031936011261042157602069ffffffffffffffffffff61010d5416604051908152f35b3461042157600060031936011261042157602073ffffffffffffffffffffffffffffffffffffffff609e5416604051908152f35b346104215760008060031936011261085a576040519080606754611f9581611a56565b808552916001918083169081156108125750600114611fbe576107b3856107a7818703826108fa565b9250606783527f9787eeb91fe3101235e4a76063c7023ecb40f923f97916639c598592fa30d6ae5b8284106120015750505081016020016107a7826107b3610797565b80546020858701810191909152909301928101611fe6565b34610421576040600319360112610421576120326104c5565b60243561203e81610c7e565b61204782615afd565b73ffffffffffffffffffffffffffffffffffffffff82169133831461210357816120a16120d19233600052606b60205260406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b9060ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0083541691151516179055565b604051901515815233907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190602090a3005b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732315073693a20617070726f766520746f2063616c6c6572000000006044820152fd5b34610421576000600319360112610421576107b3611bdb611aa9565b3461042157600060031936011261042157602061010554604051908152f35b34610421576040600319360112610421576004356024356121bb612b16565b80820180831161226157611e6103612203576121f0610a959261010954811015806121f6575b6121ea90614169565b61010755565b61010855565b5061010a548310156121e1565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4d75737420616c6c6f636174652066756c6c20737570706c79000000000000006044820152fd5b612c35565b346104215760406003193601126104215760243561228381610c7e565b61228b612b16565b60043561010b5561011180547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1691151560a81b75ff00000000000000000000000000000000000000000016919091179055005b34610421576080600319360112610421576122f86104c5565b6123006104e8565b906064359060443567ffffffffffffffff8311610421573660238401121561042157610a959361233d611755943690602481600401359101610975565b923373ffffffffffffffffffffffffffffffffffffffff82160361175a576117456113a08433614f19565b3461042157600060031936011261042157602061010b54604051908152f35b3461042157600060031936011261042157602061010754604051908152f35b3461042157600060031936011261042157602060ff6101115460a01c166040519015158152f35b346104215760206003193601126104215760043560695481101561246c576123f36146e0565b80511561245a576107a76124239161242e6124296124136107b396614464565b6040519586946020860190614348565b90614348565b61435f565b037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081018352826108fa565b50506107b3612467612e29565b6107a7565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a206e6f6e6578697374656e7420746f6b656e000000000000006044820152fd5b346104215760008060031936011261085a576124e4612b16565b6124ec613ded565b8080808073ffffffffffffffffffffffffffffffffffffffff610111541647905af16125166141f4565b501561252457600160d05580f35b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f5472616e73666572206661696c656400000000000000000000000000000000006044820152fd5b346104215760206003193601126104215760ff6004356125a181610c7e565b6125a9612b16565b61010d80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1691151560a081901b74ff00000000000000000000000000000000000000001692909217908190556040805192835242602084015290917f065a37dd451b30bda7bb1e45274b4f85715773fc9e0e4a7d3cefb29dd0ba421e9190a160a01c1661263457005b7f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c60408051600181527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6020820152a1005b3461042157604060031936011261042157602060ff6126f66126a66104c5565b73ffffffffffffffffffffffffffffffffffffffff6126c36104e8565b9116600052606b845260406000209073ffffffffffffffffffffffffffffffffffffffff16600052602052604060002090565b54166040519015158152f35b346104215760406003193601126104215760043561271e6104e8565b612726615ab8565b82810180911161226157611e6161273e9111156139ad565b61010a54918083018093116122615761275f610a9593610108541015613ecd565b80151580612776575b61277190613f32565b6140af565b508060ff6101115460a81c166000906000146127af57506127a26127719161279d33614a21565b6139a0565b61010b5410159050612768565b612771916127a2916139a0565b6020600319360112610421576004356127d3615ab8565b81810180911161226157611e616127eb9111156139ad565b61010a54908082018092116122615761280c610a9592610108541015613ecd565b80151580612823575b61281e90613f32565b613f97565b508060ff6101115460a81c16600090600014612857575061284a61281e9161279d33614a21565b61010b5410159050612815565b61281e9161284a916139a0565b60606003193601126104215760043560243567ffffffffffffffff8111610421576128939036906004016111a2565b61289e929192615ab8565b82810180911161226157611e616128b69111156139ad565b610109548281018091116122615761010754106128da57610a959260443592613a77565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f57686974656c69737420737570706c79206578636565646564210000000000006044820152fd5b34610421576020600319360112610421576129516104c5565b612959612b16565b73ffffffffffffffffffffffffffffffffffffffff81161561297e57610a9590612b95565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b346104215760406003193601126104215769ffffffffffffffffffff60043581811680820361042157602435928316809303610421577fe391e8dc0585b33caa09ae7053660247eebb0622d34c3d069448827f541f3dc792612ab0604093612a68612b16565b61010d907fffffffffffffffffffffffff00000000000000000000ffffffffffffffffffff73ffffffffffffffffffff0000000000000000000083549260501b169116179055565b61010d817fffffffffffffffffffffffffffffffffffffffffffff0000000000000000000082541617905582519182526020820152a1005b3461042157600060031936011261042157602069ffffffffffffffffffff61010d5460501c16604051908152f35b73ffffffffffffffffffffffffffffffffffffffff609e54163303612b3757565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b609e549073ffffffffffffffffffffffffffffffffffffffff80911691827fffffffffffffffffffffffff0000000000000000000000000000000000000000821617609e55167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3565b60405190612c0f8261088c565b606c5473ffffffffffffffffffffffffffffffffffffffff8116835260a01c6020830152565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8181029291811591840414171561226157565b96949290979593916000549860ff8a60081c1615809a819b612e1b575b8115612dfb575b5015612d7757612cdf988a612cd660017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff006000541617600055565b612d41576134e6565b612ce557565b612d127fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff60005416600055565b604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249890602090a1565b612d726101007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff6000541617600055565b6134e6565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152fd5b303b15915081612e0d575b5038612c9b565b6001915060ff161438612e06565b600160ff8216109150612c94565b60405190612e36826108c1565b60008252565b60405190612e498261088c565b601382527f52617363616c73206f66207468652057696c64000000000000000000000000006020830152565b60405190612e828261088c565b600482527f524f5457000000000000000000000000000000000000000000000000000000006020830152565b818110612eb9575050565b60008155600101612eae565b90601f8211612ed2575050565b611ae7916101126000527fe015f902c527607628f7649074b24d3efd1151f9f546ce1aecf38852c06da883906020601f840160051c83019310612f1d575b601f0160051c0190612eae565b9091508190612f10565b90601f8211612f34575050565b611ae7916101136000527f1af827780c8eead77dc5a11451291f18043aa94313f832de8f85d1d7264809cc906020601f840160051c83019310612f1d57601f0160051c0190612eae565b90601f8211612f8b575050565b611ae7916101036000527f02c297ab74aad0aede3a1895c857b1f2c71e6a203feb727bec95ac752998cb78906020601f840160051c83019310612f1d57601f0160051c0190612eae565b90601f8211612fe2575050565b611ae79160666000527f46501879b8ca8525e8c2fd519e2fbfcfa2ebea26501294aa02cbfcfb12e94354906020601f840160051c83019310612f1d57601f0160051c0190612eae565b90601f8211613038575050565b611ae7916101046000527f4c0be60200faa20559308cb7b5a1bb3255c16cb1cab91f525b5ae7a03d02fabe906020601f840160051c83019310612f1d57601f0160051c0190612eae565b90601f821161308f575050565b611ae79160676000527f9787eeb91fe3101235e4a76063c7023ecb40f923f97916639c598592fa30d6ae906020601f840160051c83019310612f1d57601f0160051c0190612eae565b6101136130e58154611a56565b601f8111613114575b507f2e6a736f6e00000000000000000000000000000000000000000000000000000a9055565b6000828152601f7f1af827780c8eead77dc5a11451291f18043aa94313f832de8f85d1d7264809cc920160051c8201915b8281106131535750506130ee565b818155600101613145565b90815167ffffffffffffffff81116108a85761010390613182816118f68454611a56565b602080601f83116001146131db5750819293946000926131d0575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c1916179055565b01519050388061319d565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe083169561322d6101036000527f02c297ab74aad0aede3a1895c857b1f2c71e6a203feb727bec95ac752998cb7890565b926000905b88821061328857505083600195969710613251575b505050811b019055565b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88460031b161c19169055388080613247565b80600185968294968601518155019501930190613232565b90815167ffffffffffffffff81116108a857610104906132c9816132c48454611a56565b61302b565b602080601f83116001146133165750819293946000926131d05750507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c1916179055565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08316956133686101046000527f4c0be60200faa20559308cb7b5a1bb3255c16cb1cab91f525b5ae7a03d02fabe90565b926000905b88821061338b5750508360019596971061325157505050811b019055565b8060018596829496860151815501950193019061336d565b90815167ffffffffffffffff81116108a8576133c9816133c4606754611a56565b613082565b602080601f83116001146134225750819293600092613417575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c191617606755565b0151905038806133e3565b907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe083169461347360676000527f9787eeb91fe3101235e4a76063c7023ecb40f923f97916639c598592fa30d6ae90565b926000905b8782106134ce575050836001959610613497575b505050811b01606755565b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88460031b161c1916905538808061348c565b80600185968294968601518155019501930190613478565b90979593979694929196600061350b60ff825460081c16613506816137f4565b6137f4565b6daaeb6d7670e522a718067333cd4e90813b6136bb575b505061360b9695936135c0611ae79a6135ba612a68966135b46135d29a976135756135cd98613560613552612e3c565b61355a612e75565b906147d5565b61356861389d565b61357061387f565b612b95565b613580606461010b55565b6135ae6101117fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff8154169055565b61010255565b61010655565b61010555565b6135c86130d8565b61315e565b6132a0565b69ffffffffffffffffffff61010d91167fffffffffffffffffffffffffffffffffffffffffffff00000000000000000000825416179055565b61011180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83161790556136586103e861010755565b613664611a7961010855565b6136716206978061010c55565b6136b6610111740100000000000000000000000000000000000000007fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff825416179055565b61391e565b6040517fc3c5a54700000000000000000000000000000000000000000000000000000000815230600482015260208160248185875af19081156137c15782916137c6575b50613522578194969392989795913b1561085a576040517f7d3e3dbe000000000000000000000000000000000000000000000000000000008152306004820152733cc6cdda760b79bafa08df41ecfa224f810dceb66024820152948590604490829084905af180156137c157611ae79a6135ba6135d2986135b46135cd9661357561360b9e612a689b6135c0986137a8575b50985050979a50509650509a508195979850613522565b806137b56137bb926108ad565b806106b6565b38613791565b6157c3565b6137e7915060203d81116137ed575b6137df81836108fa565b810190615ae8565b386136ff565b503d6137d5565b156137fb57565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152fd5b61389460ff60005460081c16613506816137f4565b611ae733612b95565b6138b260ff60005460081c16613506816137f4565b600160d055565b156138c057565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152fd5b73ffffffffffffffffffffffffffffffffffffffff611ae791166139438115156138b9565b604051906139508261088c565b8082526101f460209092019190915273ffffffffffffffffffffffffffffffffffffffff167501f4000000000000000000000000000000000000000017606c55565b906001820180921161226157565b9190820180921161226157565b156139b457565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4d617820737570706c79206578636565646564210000000000000000000000006044820152fd5b15613a1957565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f496e636f7272656374207061796d656e7420616d6f756e7400000000000000006044820152fd5b939291613b2591613b2091613a99613a928861010654612c64565b3414613a12565b613aa1613ded565b613ad8613ad0613ac161010d5469ffffffffffffffffffff9060501c1690565b69ffffffffffffffffffff1690565b421015613c10565b604080513360208201908152918101879052613b1b91613b0791613aff816060810161242e565b519020613c75565b602081519101209261010254923691613c8c565b613e5c565b613cda565b613b3b613b3584610109546139a0565b61010955565b60695492613b4981856139a0565b613b538233615034565b6101115460a01c60ff16613bb0575b506040805133815260208101929092528101919091529091507f51fc157cbceafe43ec04a2cb1b6a6971c161b39e4303775c6df1ce5843a7e6fa9080606081015b0390a1611ae7600160d055565b61011454613c03575b613bc661010c54426139a0565b945b818110613bd55750613b62565b8086613bef613bfe9360005261010e602052604060002090565b55613bf981613d9b565b613d3f565b613bc8565b613c0b6145d2565b613bb9565b15613c1757565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f57686974656c6973742073616c65206e6f7420656e61626c65642100000000006044820152fd5b9060405191602083015260208252611ae78261088c565b9291613c9782611776565b91613ca560405193846108fa565b829481845260208094019160051b810192831161042157905b828210613ccb5750505050565b81358152908301908301613cbe565b15613ce157565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f496e76616c69642070726f6f66210000000000000000000000000000000000006044820152fd5b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146122615760010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b610114805490680100000000000000008210156108a85760018201808255821015613de8576000527f7bcceeb45a7fc3e9ab41757c29868f6027a0954a5b36f3d0216dd22b389c2f050155565b613d6c565b600260d05414613dfe57600260d055565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152fd5b929091906000915b8451831015613eb157613e778386613eb9565b5190600082821015613e9f5750600052602052613e9960406000205b92613d3f565b91613e64565b604091613e9993825260205220613e93565b915092501490565b8051821015613de85760209160051b010190565b15613ed457565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f5075626c696320737570706c79206578636565646564210000000000000000006044820152fd5b15613f3957565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e74210000000000000000000000006044820152fd5b613fa7613a928261010554612c64565b613faf613ded565b69ffffffffffffffffffff61010d5416421061405157610111547f2b9b5f231350be1ad74fdc2e455baf61e5cecc08206b88e31158e38214462bd791613ba39160a01c60ff1680614045575b614038575b6140166140108261010a546139a0565b61010a55565b6140208133615034565b60408051338152602081019290925290918291820190565b6140406145d2565b614000565b50610114541515613ffb565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f5075626c6963206d696e74696e67206e6f74206163746976652e0000000000006044820152fd5b6140b7612b16565b6140bf613ded565b60ff6101115460a01c168061414d575b614140575b61010a918254828101809111612261577f806cd60f2e685a1e396a8baa63258d7a53ee827529ff0b205284da9c8e19e2e193556141118282615034565b6040805173ffffffffffffffffffffffffffffffffffffffff9290921682526020820192909252a1600160d055565b6141486145d2565b6140d4565b506101145415156140cf565b9190811015613de85760051b0190565b1561417057565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f43616e206e6f74207365742076616c756573206c657373207468616e20616c7260448201527f65616479206d696e7465642e00000000000000000000000000000000000000006064820152fd5b3d1561421f573d906142058261093b565b9161421360405193846108fa565b82523d6000602084013e565b606090565b9061422e82611776565b61423b60405191826108fa565b8281527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe06142698294611776565b0190602036910137565b9081519061428082611776565b9261428e60405194856108fa565b8284527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe06142bb84611776565b013660208601376142cb83614224565b9260005b8181106142dd575050929190565b61433e90426143016142ef8387613eb9565b5160005261010e602052604060002090565b5411600090600014614343575060015b61431b8289613eb9565b901515905261432d6142ef8286613eb9565b546143388288613eb9565b52613d3f565b6142cf565b614311565b9061435b602092828151948592016106e0565b0190565b9060009161011390815461437281611a56565b926001918083169081156143e6575060011461438f575b50505050565b9091929394506000527f1af827780c8eead77dc5a11451291f18043aa94313f832de8f85d1d7264809cc906000915b8483106143d357505050019038808080614389565b81816020925485870152019201916143be565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016845250505081151590910201915038808080614389565b906144298261093b565b61443660405191826108fa565b8281527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0614269829461093b565b806000917a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000808210156145c4575b506d04ee2d6d415b85acef8100000000808310156145b5575b50662386f26fc10000808310156145a6575b506305f5e10080831015614597575b5061271080831015614588575b506064821015614578575b600a8092101561456e575b6001908160216144fb82870161441f565b95860101905b61450d575b5050505090565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff849101917f30313233343536373839616263646566000000000000000000000000000000008282061a83530491821561456957919082614501565b614506565b91600101916144ea565b91906064600291049101916144df565b600491939204910191386144d4565b600891939204910191386144c7565b601091939204910191386144b8565b602091939204910191386144a6565b60409350810491503861448d565b6101148054805b6145e1575050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8082019082821161226157835480921015613de8576000908482527f7bcceeb45a7fc3e9ab41757c29868f6027a0954a5b36f3d0216dd22b389c2f04907f032bc66be43dbccb7487781d168eb7bda224628a3b2c3388bdf69b532a3a1611602083870154604051908152a183156146b35783019280841015613de857858352015582558015612261577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01806145d9565b6024837f4e487b710000000000000000000000000000000000000000000000000000000081526031600452fd5b60ff61010d5460a01c16156147cd5760405160008161011291825461470481611a56565b8084529360019180831690811561478a575060011461472c575b5050610757925003826108fa565b600090815291507fe015f902c527607628f7649074b24d3efd1151f9f546ce1aecf38852c06da8835b84831061476f57506107579350508101602001388061471e565b81935090816020925483858901015201910190918492614755565b9050602093506107579592507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0091501682840152151560051b820101388061471e565b610757611aa9565b906147eb60ff60005460081c16613506816137f4565b815167ffffffffffffffff81116108a8576148108161480b606654611a56565b612fd5565b602080601f8311600114614879575081906148649460009261486e575b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8260011b9260031b1c1916176066556133a3565b611ae76001606955565b01519050388061482d565b9192937fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe084166148cb60666000527f46501879b8ca8525e8c2fd519e2fbfcfa2ebea26501294aa02cbfcfb12e9435490565b936000905b828210614930575050916001939185614864979694106148f9575b505050811b016066556133a3565b01517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60f88460031b161c191690553880806148eb565b806001869782949787015181550196019401906148d0565b7fffffffff00000000000000000000000000000000000000000000000000000000167f80ac58cd0000000000000000000000000000000000000000000000000000000081149081156149f7575b81156149cd575b81156149a6575090565b7f01ffc9a70000000000000000000000000000000000000000000000000000000091501490565b7f780e9d63000000000000000000000000000000000000000000000000000000008114915061499c565b7f5b5e139f0000000000000000000000000000000000000000000000000000000081149150614995565b73ffffffffffffffffffffffffffffffffffffffff8091168015614aa4576000906001928380606954915b614a5a575b50505050905090565b8181108015614a9e57614a77575b614a7190613d3f565b85614a4c565b82614a8182614b28565b50168403614a685793614a96614a7191613d3f565b949050614a68565b50614a51565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602d60248201527f4552433732315073693a2062616c616e636520717565727920666f722074686560448201527f207a65726f2061646472657373000000000000000000000000000000000000006064820152fd5b606954811015614c3a57600090600891604060ff83851c931691838152606560205220548160ff181c801515600014614ba757614b67614b6d91615c84565b60ff1690565b9003911b175b614ba4614b8a826000526068602052604060002090565b5473ffffffffffffffffffffffffffffffffffffffff1690565b91565b50507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff905b614bd7811515615be8565b01614bec816000526065602052604060002090565b5480614c1a57507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90614bcc565b614b67614c29614c3292615c84565b60ff9081031690565b911b17614b73565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732315073693a206f776e657220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152fd5b15614cc557565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732315073693a20617070726f7665206e6f74206f776e6572206e6f7260448201527f20617070726f76656420666f7220616c6c0000000000000000000000000000006064820152fd5b606954811015614d7a57600052606a60205273ffffffffffffffffffffffffffffffffffffffff6040600020541690565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4552433732315073693a20617070726f76656420717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152fd5b15614e0557565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4552433732315073693a207472616e736665722063616c6c6572206973206e6f60448201527f74206f776e6572206e6f7220617070726f7665640000000000000000000000006064820152fd5b15614e9057565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603560248201527f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260448201527f31526563656976657220696d706c656d656e74657200000000000000000000006064820152608490fd5b0390fd5b606954821015614fb057614f2c82614b28565b5073ffffffffffffffffffffffffffffffffffffffff808316908083168214948515614f98575b5050508215614f6157505090565b60ff925090610b94614f939273ffffffffffffffffffffffffffffffffffffffff16600052606b602052604060002090565b541690565b614fa59192939550614d49565b161491388080614f53565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4552433732315073693a206f70657261746f7220717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152fd5b9060405191615042836108c1565b6000908184526069549183156151985773ffffffffffffffffffffffffffffffffffffffff821661507481151561521c565b61507d846152a7565b61508f61508a86866139a0565b606955565b6150e7836150a7866000526068602052604060002090565b9073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055565b615129848060081c60005260656020527f800000000000000000000000000000000000000000000000000000000000000060ff604060002092161c8154179055565b61513385856139a0565b907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92858282868180a46001938487015b84810361518957505050505050918161175593615184611ae7969461531c565b6159b9565b8086918585858180a401615164565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4552433732315073693a207175616e74697479206d757374206265206772656160448201527f74657220300000000000000000000000000000000000000000000000000000006064820152fd5b1561522357565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f4552433732315073693a206d696e7420746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152fd5b60005261010e60205260406000205442106152be57565b60646040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f546f6b656e207472616e73666572207768696c65206c6f636b656400000000006044820152fd5b8060005261010e60205260406000208054615335575050565b7ff27b6ce5b2f5e68ddb2fd95a8a909d4ecf1daaac270935fff052feacb24f184291600060209255604051908152a1565b1561536d57565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f4552433732315073693a207472616e7366657220746f20746865207a65726f2060448201527f61646472657373000000000000000000000000000000000000000000000000006064820152fd5b91906153fc82614b28565b73ffffffffffffffffffffffffffffffffffffffff94918583169190861682900361559c576154b984611ae79787961694615438861515615366565b615441876152a7565b61544a87615620565b61545387613992565b6154986119598260ff7f8000000000000000000000000000000000000000000000000000000000000000918060081c6000526065602052161c60406000205416151590565b80615591575b615531575b50506150a7866000526068602052604060002090565b83036154ea575b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a461531c565b61552c838060081c60005260656020527f800000000000000000000000000000000000000000000000000000000000000060ff604060002092161c8154179055565b6154c0565b61554c61558a926150a7836000526068602052604060002090565b8060081c60005260656020527f800000000000000000000000000000000000000000000000000000000000000060ff604060002092161c8154179055565b38806154a3565b50606954811061549e565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732315073693a207472616e73666572206f6620746f6b656e2074686160448201527f74206973206e6f74206f776e00000000000000000000000000000000000000006064820152fd5b80600052606a60205260406000207fffffffffffffffffffffffff00000000000000000000000000000000000000008154169055600073ffffffffffffffffffffffffffffffffffffffff61567483614b28565b50167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258280a4565b81600052606a6020526156ee8160406000209073ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055565b6156f782614b28565b5073ffffffffffffffffffffffffffffffffffffffff91821691167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600080a4565b908160209103126104215751610757816103f7565b610757939273ffffffffffffffffffffffffffffffffffffffff6080931682526000602083015260408201528160608201520190610703565b9092610757949360809373ffffffffffffffffffffffffffffffffffffffff809216845216602083015260408201528160608201520190610703565b6040513d6000823e3d90fd5b919290803b156159b05790929160019081948285935b6157f3575b50505050505090565b6158008697989596613992565b8410156159a7576040958651977f150b7a0200000000000000000000000000000000000000000000000000000000998a8a5260209a8b60049b808d898c8c339385019361584c94615787565b03908281600093818573ffffffffffffffffffffffffffffffffffffffff8c165af1919282615978575b5050615921578c8c8c6158876141f4565b8051938461591b57614f158484519182917f08c379a0000000000000000000000000000000000000000000000000000000008352820160809060208152603560208201527f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260408201527f31526563656976657220696d706c656d656e746572000000000000000000000060608201520190565b84925001fd5b91939699509194979a50615940939699508261594c575b505096613d3f565b928095929491956157e5565b7fffffffff00000000000000000000000000000000000000000000000000000000161490503880615938565b615998929350803d106159a0575b61599081836108fa565b810190615739565b90388e615876565b503d615986565b849796506157ea565b50505050600190565b909290803b156159b05792919060018091819585935b6159dc5750505050505090565b6159ea8587989996976139a0565b8410156159a7576040958651977f150b7a0200000000000000000000000000000000000000000000000000000000998a8a5260209a8b60049b808d898c3392840192615a359361574e565b03908281600093818573ffffffffffffffffffffffffffffffffffffffff8d165af1919282615a99575b5050615a70578c8c8c6158876141f4565b91939699509194979a50615a8e939699508261594c57505096613d3f565b9285929491956159cf565b615ab0929350803d106159a05761599081836108fa565b90388e615a5f565b6069547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81019081116122615790565b90816020910312610421575161075781610c7e565b6daaeb6d7670e522a718067333cd4e803b615b16575050565b6020604491604051928380927fc617113400000000000000000000000000000000000000000000000000000000825230600483015273ffffffffffffffffffffffffffffffffffffffff871660248301525afa9081156137c157600091615bca575b5015615b815750565b6040517fede71dcc00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff919091166004820152602490fd5b615be2915060203d81116137ed576137df81836108fa565b38615b78565b15615bef57565b60846040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f4269744d6170733a205468652073657420626974206265666f7265207468652060448201527f696e64657820646f65736e27742065786973742e0000000000000000000000006064820152fd5b908151811015613de8570160200190565b604051615c90816108dd565b7ffd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f86101008083527e01020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7560208401527f06264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c960408401527f071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee360608401527f0e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf760808401527fff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c860a08401527f16365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f660c08401527ffe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf560e0840152820152811561042157615e03615e29917e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff8461075795600003160260f81c90615c73565b517fff000000000000000000000000000000000000000000000000000000000000001690565b60f81c9056fea26469706673582212200b6cc2e667a90f023da00ff6e26e02add31d8e4cbd8f96004e07f6e015d6681264736f6c63430008120033
Deployed Bytecode Sourcemap
832:16773:17:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;;;;;;:::o;:::-;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;;;;;:::i;:::-;1825:37:7;832:16773:17;;;1810:52:7;:92;;;;;832:16773:17;16062:102;;;;832:16773;;;;;;;;;;16062:102;16127:37;;;;:::i;:::-;16062:102;;;1810:92:7;1866:36;;;;;:::i;:::-;1810:92;;;832:16773:17;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;-1:-1:-1;;832:16773:17;;;;;;;:::i;:::-;;;;;;;;;;;;1303:62:0;;:::i;:::-;2756:5:7;3131:33;;;;832:16773:17;;10165:50;832:16773;;;;;3229:22:7;3221:60;3229:22;;;3221:60;:::i;:::-;832:16773:17;;;;;;:::i;:::-;;;;3314:35:7;;832:16773:17;;;;;;;;;;;;;3292:57:7;832:16773:17;;;10127:23;832:16773;;;;;;;;;;;;;3314:35:7;832:16773:17;;;;;;;10165:50;832:16773;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;-1:-1:-1;;832:16773:17;;;;;;1567:21;832:16773;;;;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::o;:::-;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;-1:-1:-1;;832:16773:17;;;;;;;;;5571:5:18;832:16773:17;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;5571:5:18;832:16773:17;;;;;;;;;-1:-1:-1;;;832:16773:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;832:16773:17;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;:::o;:::-;;;;;-1:-1:-1;;832:16773:17;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;5444:1096;832:16773;;;;;;:::i;:::-;;;;:::i;:::-;;;;:::i;:::-;;;;;;;;;;5444:1096;:::i;:::-;832:16773;;;;;;-1:-1:-1;;832:16773:17;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;13665:12;832:16773;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;:::i;:::-;;;2941:8:23;;;:::i;:::-;5059:29:18;;;:::i;:::-;832:16773:17;;;;;;;;;;6669:11:18;832:16773:17;;6914:7:18;929:10:9;6732:158:18;929:10:9;;6753:21:18;:62;;;;;832:16773:17;6732:158:18;;:::i;:::-;6914:7;:::i;6753:62::-;8129:35;929:10:9;;8129:35:18;929:10:9;8129:25:18;929:10:9;8129:25:18;832:16773:17;;;;8129:18:18;832:16773:17;;;;;;;8129:25:18;832:16773:17;;;;;;;;;;;;8129:35:18;832:16773:17;;;;;8129:35:18;6753:62;;;832:16773:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;3454:26;832:16773;;;;;;;;;;;;;;;:::o;:::-;;;;;-1:-1:-1;;832:16773:17;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;1303:62:0;;:::i;:::-;832:16773:17;;;;;;;10328:22;832:16773;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;832:16773:17;;;;;;;;;;;;;;;;;;;;10360:113;;832:16773;-1:-1:-1;10486:8:17;832:16773;;;;;;10482:85;;832:16773;10482:85;10515:41;832:16773;;10515:41;;;832:16773;10538:17;832:16773;;;;;10535:1;832:16773;;;;;10515:41;;;;832:16773;10360:113;10387:18;832:16773;;;;;;;;;;;;;;10424:38;;;;832:16773;;;;;;;;10446:15;832:16773;;;;;;;;;;;;10424:38;;;;10360:113;;;832:16773;;;;-1:-1:-1;832:16773:17;;;;;10328:22;832:16773;;;;;;;;;-1:-1:-1;832:16773:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;1303:62:0;;:::i;:::-;832:16773:17;;11899:16;832:16773;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;;;;:::i;:::-;1303:62:0;;:::i;:::-;9352:28:17;832:16773;;;;;;;;;;;;;;;;;;;9390:22;832:16773;;;;;;;-1:-1:-1;;832:16773:17;;;;;;2454:25;832:16773;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;1303:62:0;;:::i;:::-;832:16773:17;;;;;;;10665:22;832:16773;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10701:8;832:16773;;;;;;;;;;;-1:-1:-1;832:16773:17;;;;;;;;;;;10665:22;832:16773;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;17815:14:18;;:::i;:::-;832:16773:17;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;2166:24;832:16773;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;-1:-1:-1;;832:16773:17;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;2471:103:3;;:::i;:::-;8865:1:17;8868:20;;;;;;2536:1:3;1787;2065:22;832:16773:17;1985:109:3;8890:3:17;8927:12;;;;;:::i;:::-;832:16773;8865:1;832:16773;;8917:9;832:16773;;;8944:15;;832:16773;8865:1;832:16773;;8917:42;832:16773;;9013:12;;9045:22;;8890:3;9013:12;8865:1;9003:23;9013:12;;;;;:::i;:::-;832:16773;;;8917:9;832:16773;;;;;;;9003:23;832:16773;9054:12;;;;;:::i;:::-;832:16773;;;;;;;;;;;;;;9045:22;;;;8890:3;:::i;:::-;8856:10;;832:16773;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;8583:7:18;832:16773:17;;;:::i;:::-;2663:10:23;;832:16773:17;;;2655:18:23;2651:81;;832:16773:17;8412:140:18;8433:41;2663:10:23;;8433:41:18;:::i;:::-;8412:140;:::i;:::-;8583:7;:::i;2651:81:23:-;2710:10;2663;2710;:::i;:::-;2651:81;;832:16773:17;;;;;-1:-1:-1;;832:16773:17;;;;;;1927:24;832:16773;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;-1:-1:-1;832:16773:17;2122:17:7;832:16773:17;;;-1:-1:-1;832:16773:17;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;2163:30:7;;2159:90;;832:16773:17;2283:57:7;2284:35;832:16773:17;;2296:23:7;;832:16773:17;;;;2284:35:7;:::i;:::-;832:16773:17;;;;;2283:57:7;832:16773:17;;;;;;;;;;;;;;;;;;;;;;;;;;;2159:90:7;832:16773:17;;;;:::i;:::-;2159:90:7;;;832:16773:17;;;;;;;:::i;:::-;1303:62:0;;;:::i;:::-;9829:1:17;9832:20;;;;;;832:16773;9854:3;9890:12;;9854:3;9890:12;;;;:::i;:::-;832:16773;9829:1;832:16773;9922:22;832:16773;9880:9;832:16773;;;9829:1;832:16773;;;;9931:12;;;;;:::i;:::-;832:16773;;;;;;9922:22;9854:3;:::i;:::-;9820:10;;832:16773;;;;;-1:-1:-1;;832:16773:17;;;;;;1113:25;832:16773;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;1303:62:0;;:::i;:::-;832:16773:17;;11787:18;832:16773;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;;;1303:62:0;;:::i;:::-;-1:-1:-1;832:16773:17;;;;9557:9;832:16773;;;;;;;;9540:36;;832:16773;;;9667:42;832:16773;;;;;;;;;;;9667:42;832:16773;;9667:42;;;;832:16773;;;;;;;;;;;;;;;9667:42;;;;832:16773;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;;1690:4;832:16773;;;;;;;;-1:-1:-1;;832:16773:17;;;;;1303:62:0;;:::i;:::-;12605:34:17;832:16773;;;;;;;;12710:30;832:16773;;;12724:15;832:16773;;12710:30;832:16773;;;;;10305:150:18;10326:50;832:16773:17;;;:::i;:::-;2663:10:23;;832:16773:17;;;2655:18:23;;2651:81;;;;832:16773:17;;;;;;;:::i;:::-;;;;2651:81:23;;832:16773:17;9058:140:18;9079:41;2663:10:23;;9079:41:18;:::i;9058:140::-;10287:7;;;;;:::i;:::-;10326:50;:::i;:::-;10305:150;:::i;2651:81:23:-;2710:10;2663;2710;:::i;:::-;2651:81;;;2710:10;2663;2710;:::i;:::-;2651:81;;832:16773:17;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;-1:-1:-1;832:16773:17;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;1303:62:0;;:::i;:::-;832:16773:17;;;;;;;10924:38;832:16773;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10977:8;832:16773;10976:9;;832:16773;;;;10976:9;;832:16773;;10976:9;;832:16773;;;;;-1:-1:-1;832:16773:17;;;;;;;;;;;10924:38;832:16773;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;2790:20;832:16773;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1225:31:17;;832:16773;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:::o;:::-;-1:-1:-1;832:16773:17;;;-1:-1:-1;;832:16773:17;;;;;;;-1:-1:-1;832:16773:17;;-1:-1:-1;;832:16773:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;;;1335:29;832:16773;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;832:16773:17;;;;;;;-1:-1:-1;;;832:16773:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;5059:29:18;832:16773:17;;5059:29:18;:::i;:::-;832:16773:17;;;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;-1:-1:-1;;832:16773:17;;;;;1303:62:0;;:::i;:::-;832:16773:17;;2758:6:0;832:16773:17;;;;2758:6:0;832:16773:17;;2806:40:0;;;;832:16773:17;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;-1:-1:-1;832:16773:17;3067:65;832:16773;;;;-1:-1:-1;832:16773:17;;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;1303:62:0;;:::i;:::-;832:16773:17;;11397:24;832:16773;;;;;;;-1:-1:-1;;832:16773:17;;;;;;2040:23;832:16773;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;:::i;:::-;-1:-1:-1;18301:16:18;;;:::i;:::-;18359:29;;;:::i;:::-;18407:27;17595:1:17;18407:27:18;;3554:13;832:16773:17;18402:259:18;18436:29;;;;;;832:16773:17;;;;;;;;;;;;;;:::i;18467:3:18:-;10796:24;;;;;18490:157;;18467:3;832:16773:17;18407:27:18;;18490:157;5059:29;;;:::i;:::-;832:16773:17;;;;;;;18532:19:18;18490:157;18528:101;18588:13;18579:27;18588:13;;832:16773:17;18579:27:18;;;:::i;:::-;832:16773:17;18490:157:18;;832:16773:17;;;;;-1:-1:-1;;832:16773:17;;;;;2471:103:3;;:::i;:::-;9168:12:17;832:16773;9168:23;832:16773;;9160:51;;:::i;:::-;1787:1:3;2065:22;832:16773:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;2560:29;832:16773;;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;1513:6:0;832:16773:17;;;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;;;5739:7:18;832:16773:17;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;5739:7:18;832:16773:17;;;;;;;;;-1:-1:-1;;;832:16773:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;:::i;:::-;;;;;;:::i;:::-;2941:8:23;;;:::i;:::-;832:16773:17;;;929:10:9;;7714:24:18;;832:16773:17;;929:10:9;7782:42:18;:53;929:10:9;;-1:-1:-1;832:16773:17;7782:18:18;832:16773:17;;;-1:-1:-1;832:16773:17;;;;;;;;;;;;;7782:42:18;832:16773:17;;;;;;;;;;;;;;7782:53:18;832:16773:17;;;;;;;929:10:9;;7850:48:18;;832:16773:17;;7850:48:18;832:16773:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;832:16773:17;;;;;;1451:22;832:16773;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;;;1303:62:0;;:::i;:::-;832:16773:17;;;;;;;;1690:4;12296:34;832:16773;;12483:19;12512:21;832:16773;12390:8;832:16773;12378:20;;;:46;;;832:16773;12370:103;;;:::i;:::-;12483:19;832:16773;;12483:19;12512:21;832:16773;;12378:46;-1:-1:-1;12415:9:17;832:16773;12402:22;;;12378:46;;832:16773;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;832:16773:17;;;;;;;;;;:::i;:::-;1303:62:0;;:::i;:::-;832:16773:17;;11595:48;832:16773;11653:42;832:16773;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;10305:150:18;832:16773:17;;10326:50:18;832:16773:17;;;;;;;;;;;:::i;:::-;2663:10:23;;832:16773:17;;;2655:18:23;2651:81;;9058:140:18;9079:41;2663:10:23;;9079:41:18;:::i;832:16773:17:-;;;;;-1:-1:-1;;832:16773:17;;;;;;2297:37;832:16773;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;1790:23;832:16773;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;3593:30;832:16773;;;;;;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;3554:13:18;832:16773:17;10796:24:18;;832:16773:17;;;15336:10;;:::i;:::-;832:16773;;15363:32;:189;;15418:128;832:16773;15485:19;832:16773;;15485:19;832:16773;15485:19;;:::i;:::-;832:16773;;15418:128;;;832:16773;15418:128;;832:16773;;:::i;:::-;;;:::i;:::-;;:::i;:::-;15418:128;;;;;;;;:::i;15363:189::-;832:16773;;;;;:::i;:::-;15363:189;;832:16773;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;1303:62:0;;:::i;:::-;2471:103:3;;:::i;:::-;832:16773:17;;;;;12846:11;832:16773;;12870:21;12846:50;;;;;:::i;:::-;;832:16773;;;1787:1:3;2065:22;832:16773:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;;;;;:::i;:::-;1303:62:0;;:::i;:::-;11141:16:17;832:16773;;;;;;;;;;;;;;;;;;;;;;;;;;;11192:15;832:16773;;;;;;11172:36;;832:16773;11172:36;832:16773;;;11218:85;;832:16773;11218:85;11251:41;832:16773;;;11271:1;832:16773;;11274:17;832:16773;;;;11251:41;832:16773;;;;;;-1:-1:-1;;832:16773:17;;;;;;;8129:35:18;832:16773:17;;:::i;:::-;;;;:::i;:::-;;;-1:-1:-1;832:16773:17;8129:18:18;832:16773:17;;;-1:-1:-1;832:16773:17;;;;;;;;;;;;;8129:35:18;832:16773:17;;;;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;;;:::i;:::-;17815:14:18;;:::i;:::-;832:16773:17;;;;;;;;1690:4;4256:74;4264:41;;;4256:74;:::i;:::-;4348:9;832:16773;;;;;;;;;;4340:72;4629:1;832:16773;4375:9;832:16773;-1:-1:-1;4348:36:17;4340:72;:::i;:::-;4443:15;;;:130;;;832:16773;4422:197;;;:::i;:::-;4629:1;:::i;4443:130::-;832:16773;;;4476:19;832:16773;;;;-1:-1:-1;4476:56:17;;;;;4508:10;4475:72;4422:197;4508:10;4498:21;4508:10;4498:21;:::i;:::-;4475:72;:::i;:::-;4551:22;832:16773;-1:-1:-1;4475:98:17;4443:130;;;;4476:56;4422:197;4476:56;4475:72;4476:56;4475:72;:::i;832:16773::-;;-1:-1:-1;;832:16773:17;;;;;;;17815:14:18;;:::i;:::-;832:16773:17;;;;;;;;1690:4;4256:74;4264:41;;;4256:74;:::i;:::-;4348:9;832:16773;;;;;;;;;;4340:72;4629:1;832:16773;4375:9;832:16773;-1:-1:-1;4348:36:17;4340:72;:::i;:::-;4443:15;;;:130;;;832:16773;4422:197;;;:::i;:::-;4629:1;:::i;4443:130::-;832:16773;;;4476:19;832:16773;;;;-1:-1:-1;4476:56:17;;;;;4508:10;4475:72;4422:197;4508:10;4498:21;4508:10;4498:21;:::i;4475:72::-;4551:22;832:16773;-1:-1:-1;4475:98:17;4443:130;;;;4476:56;4422:197;4476:56;4475:72;4476:56;4475:72;:::i;832:16773::-;;-1:-1:-1;;832:16773:17;;;;;;;;;;;;;;;;;;;;;:::i;:::-;17815:14:18;;;;;:::i;:::-;832:16773:17;;;;;;;;1690:4;4778:74;4786:41;;;4778:74;:::i;:::-;4870:8;832:16773;;;;;;;;;4896:8;832:16773;-1:-1:-1;832:16773:17;;4945:1;832:16773;;;4945:1;;:::i;832:16773::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;:::i;:::-;1303:62:0;;:::i;:::-;832:16773:17;;;2402:22:0;832:16773:17;;2496:8:0;;;:::i;832:16773:17:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:16773:17;;;;;;;;;;;;;;;;;;;;;;;;;;12126:46;1303:62:0;12036:33:17;832:16773;1303:62:0;;;:::i;:::-;12036:33:17;832:16773;;;;;;;;;;;;;;;12036:33;;832:16773;;;;;;;;;;;;;;;;;12126:46;832:16773;;;;;;-1:-1:-1;;832:16773:17;;;;;;;2677:32;832:16773;;;;;;;;;;1599:130:0;832:16773:17;1513:6:0;832:16773:17;;929:10:9;1662:23:0;832:16773:17;;1599:130:0:o;832:16773:17:-;;;;;;;;;;;;;;;;;;;;;;;2666:187:0;2758:6;832:16773:17;;;;;;;;;;;;2758:6:0;832:16773:17;;2806:40:0;-1:-1:-1;2806:40:0;;2666:187::o;832:16773:17:-;;;;;;;:::i;:::-;2219:19:7;832:16773:17;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3246:506:2:-;;;;;;;;;3302:13;832:16773:17;;;;;;;3301:14:2;3347:34;;;;;;3246:506;3346:108;;;;3246:506;832:16773:17;;;;3636:1:2;3536:16;;;832:16773:17;;3302:13:2;832:16773:17;;;3302:13:2;832:16773:17;;3536:16:2;3562:65;;3636:1;:::i;:::-;3647:99;;3246:506::o;3647:99::-;3681:21;832:16773:17;3302:13:2;832:16773:17;;3302:13:2;832:16773:17;;3681:21:2;832:16773:17;;3551:1:2;832:16773:17;;3721:14:2;;832:16773:17;;3721:14:2;3246:506::o;3562:65::-;3596:20;832:16773:17;;3302:13:2;832:16773:17;;;3302:13:2;832:16773:17;;3596:20:2;3636:1;:::i;832:16773:17:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;3346:108:2;3426:4;1713:19:8;:23;;-1:-1:-1;1713:23:8;3387:66:2;;3346:108;;;;;3387:66;3452:1;832:16773:17;;;;3436:17:2;3387:66;;;3347:34;3380:1;832:16773:17;;;3365:16:2;;-1:-1:-1;3347:34:2;;832:16773:17;;;;;;;:::i;:::-;-1:-1:-1;832:16773:17;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;:::o;:::-;;;;;;;;:::o;:::-;8865:1;832:16773;;;;;;;;;;;;;;;:::o;:::-;;;10328:22;-1:-1:-1;832:16773:17;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;832:16773:17;;;;;;;;;;;;;:::o;:::-;;;10665:22;-1:-1:-1;832:16773:17;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::o;:::-;;;10924:38;-1:-1:-1;832:16773:17;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::o;:::-;;;3025:13:18;-1:-1:-1;832:16773:17;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::o;:::-;;;6225:34;-1:-1:-1;832:16773:17;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::o;:::-;;;3048:17:18;-1:-1:-1;832:16773:17;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6148:19;832:16773;;;;:::i;:::-;;;;;;;-1:-1:-1;832:16773:17;;;:::o;:::-;-1:-1:-1;832:16773:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6177:38;832:16773;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;832:16773:17;;;;;;;;;;;10924:38;832:16773;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6225:34;832:16773;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;6225:34;832:16773;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3048:17:18;832:16773:17;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3048:17:18;832:16773:17;:::o;:::-;;;;-1:-1:-1;832:16773:17;;;;;;;;;;;3048:17:18;832:16773:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3048:17:18;832:16773:17;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5444:1096;;;;;;;;;;;5374:13:2;5366:69;832:16773:17;;;;;;5366:69:2;;;:::i;:::-;;:::i;:::-;1056:42:23;1643:45;;;1639:660;;5444:1096:17;832:16773;;6308:27;832:16773;;;6116:22;6496:37;832:16773;6086:20;832:16773;;6052:24;6269:29;832:16773;;5957:9;832:16773;;2748:155:18;832:16773:17;;:::i;:::-;;;:::i;:::-;2748:155:18;;:::i;:::-;1868:111:3;;:::i;:::-;1003:95:0;;:::i;:::-;5957:9:17;:::i;:::-;5977:28;6002:3;5977:28;832:16773;;5977:28;6015:27;;832:16773;;;;;;;6015:27;6052:24;832:16773;;6052:24;6086:20;832:16773;;6086:20;6116:22;832:16773;;6116:22;832:16773;;:::i;:::-;;:::i;:::-;;:::i;6269:29::-;832:16773;6269:29;832:16773;;;;;;;;;;6308:27;6015;832:16773;;;;;;;;;;6381:15;6392:4;6381:15;832:16773;;6381:15;6406:16;6418:4;6406:16;832:16773;;6406:16;6432:19;6445:6;6432:19;832:16773;;6432:19;6461:25;6015:27;832:16773;;;;;;;;;6461:25;6496:37;:::i;1639:660:23:-;832:16773:17;;;1713:52:23;;1759:4;1713:52;;;832:16773:17;1713:52:23;832:16773:17;;;1713:52:23;;;;;;;;;;;;;1639:660;1712:53;1639:660;1708:581;1822:92;;;;;;;;;;;;;832:16773:17;;;1822:92:23;;1759:4;1713:52;1822:92;;832:16773:17;211:42:21;1032:67:23;;;832:16773:17;;;;1032:67:23;;832:16773:17;;1759:4:23;;1822:92;;;;;;6496:37:17;1822:92:23;6086:20:17;6269:29;1822:92:23;6052:24:17;832:16773;1822:92:23;5957:9:17;6308:27;1822:92:23;832:16773:17;1822:92:23;6116:22:17;1822:92:23;;;1708:581;;;;;;;;;;;;;;;;;;;1639:660;;1822:92;;;;;;:::i;:::-;;;:::i;:::-;;;;;;:::i;1713:52::-;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;832:16773:17;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;5328:125:2;5366:69;832:16773:17;5374:13:2;832:16773:17;;;;5366:69:2;;;:::i;:::-;1195:12:0;929:10:9;1195:12:0;:::i;5328:125:2:-;5366:69;832:16773:17;5374:13:2;832:16773:17;;;;5366:69:2;;;:::i;:::-;1787:1:3;2065:22;832:16773:17;5328:125:2:o;832:16773:17:-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;3029:327:7;832:16773:17;;3029:327:7;832:16773:17;3221:60:7;3229:22;;;3221:60;:::i;:::-;832:16773:17;;;;;;:::i;:::-;;;;;3314:35:7;;;;832:16773:17;;;;;;;;3292:57:7;832:16773:17;;;;15079:1:18;832:16773:17;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;5023:219;;;;7032:122;5023:219;7053:61;5023:219;5097:127;5131:42;832:16773;5142:6;832:16773;5131:42;:::i;:::-;5118:9;:55;5097:127;:::i;:::-;2471:103:3;;:::i;:::-;6852:77:17;6860:37;832:16773;6879:18;832:16773;;;;;;;;;;;;;6860:37;:15;:37;;6852:77;:::i;:::-;832:16773;;;6998:10;6987:32;;;832:16773;;;;;;;;;;;6964:57;;6987:32;832:16773;;;;6987:32;832:16773;6987:32;832:16773;6977:43;;6964:57;:::i;:::-;6987:32;832:16773;;;;6954:68;832:16773;7097:10;832:16773;;;;;:::i;:::-;7053:61;:::i;:::-;7032:122;:::i;:::-;7164:23;;832:16773;7164:23;832:16773;7164:23;:::i;:::-;;832:16773;;7164:23;3554:13:18;832:16773:17;7262:24;;;;;:::i;:::-;7318:11;6998:10;;7318:11;:::i;:::-;7345:18;832:16773;;;;;7340:384;;5023:219;-1:-1:-1;832:16773:17;;;6998:10;832:16773;;;;;;;;;;;;;;;;;-1:-1:-1;7739:50:17;;832:16773;;;;7739:50;;;;2536:1:3;1787;2065:22;832:16773:17;1985:109:3;7340:384:17;7383:12;832:16773;7379:82;;7340:384;7495:28;7513:10;832:16773;6860:15;7495:28;:::i;:::-;7542:19;7563:13;;;;;;7340:384;;;7578:3;7601:12;;;7578:3;7601:12;832:16773;;8917:9;832:16773;;;;;;;7601:12;832:16773;7679:20;;;:::i;:::-;7578:3;:::i;:::-;7542:19;;7379:82;;;:::i;:::-;;;832:16773;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;7383:12;832:16773;;;;;;;;;;;;;;;;;;;;-1:-1:-1;832:16773:17;;;;:::o;:::-;;:::i;2580:287:3:-;1830:1;2712:7;832:16773:17;2712:19:3;1830:1;;;2712:7;832:16773:17;2580:287:3:o;1830:1::-;;832:16773:17;;1830:1:3;;;;;;;;;;;;832:16773:17;1830:1:3;832:16773:17;;;1830:1:3;;1167:154:11;;;;2089:13;-1:-1:-1;2084:116:11;2122:3;832:16773:17;;2104:16:11;;;;;2180:8;;;;:::i;:::-;832:16773:17;;-1:-1:-1;9305:5:11;;;;;;9505:119;-1:-1:-1;9505:119:11;;;2122:3;9505:119;-1:-1:-1;9505:119:11;9305:51;2122:3;;:::i;:::-;2089:13;;;9305:51;9505:119;;2122:3;9505:119;;;;;;9305:51;;2104:16;;;;;1281:33;1167:154;:::o;832:16773:17:-;;;;;;;;;;;;;;;:::o;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;5023:219;5097:127;5131:42;832:16773;5151:7;832:16773;5131:42;:::i;5097:127::-;2471:103:3;;:::i;:::-;832:16773:17;8039:15;832:16773;;8020:15;:34;832:16773;;8100:18;832:16773;8286:37;;;;832:16773;;;;8100:45;;;5023:219;8096:96;;5023:219;8202:24;;832:16773;8202:24;832:16773;8202:24;:::i;:::-;;832:16773;;8202:24;8258:11;8246:10;;8258:11;:::i;:::-;832:16773;;;8246:10;832:16773;;;;;;;;;;;;;;;;;8096:96;;;:::i;:::-;;;8100:45;832:16773;8122:12;832:16773;8122:23;;8100:45;;832:16773;;;;;;;;;;;;;;;;;;;;;;;1303:62:0;;;:::i;:::-;2471:103:3;;:::i;:::-;832:16773:17;8527:18;832:16773;;;;8527:45;;;1303:62:0;8523:96:17;;1303:62:0;8629:24:17;832:16773;;;;;;;;;;;8711:33;832:16773;;8684:11;;;;:::i;:::-;832:16773;;;;;;;;;;;;;;;;;8711:33;1787:1:3;2065:22;832:16773:17;1303:62:0:o;8523:96:17:-;;;:::i;:::-;;;8527:45;832:16773;8549:12;832:16773;8549:23;;8527:45;;832:16773;;;;;;;;;;;;:::o;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;832:16773:17;;;;:::o;:::-;;;:::o;:::-;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;:::o;12954:608::-;;832:16773;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;13281:21;;;:::i;:::-;13317:10;-1:-1:-1;13329:10:17;;;;;;13509:46;;;;12954:608;:::o;13341:3::-;;13401:15;;13375:23;13385:12;;;;:::i;:::-;832:16773;;;8917:9;832:16773;;;;;;;13375:23;832:16773;13375:41;-1:-1:-1;13375:56:17;;;;;;13419:4;13375:56;13360:71;;;;:::i;:::-;832:16773;;;;;13466:23;13476:12;;;;:::i;13466:23::-;832:16773;13445:44;;;;:::i;:::-;832:16773;13341:3;:::i;:::-;13317:10;;13375:56;;;832:16773;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;15523:9;832:16773;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;-1:-1:-1;832:16773:17;;;-1:-1:-1;832:16773:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;832:16773:17;;;;;;;;-1:-1:-1;832:16773:17;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;:::i;480:707:10:-;602:28;-1:-1:-1;10287:8:14;;10278:17;;;;10274:103;;480:707:10;10403:8:14;;10394:17;;;;10390:103;;480:707:10;10519:8:14;;10510:17;;;;10506:103;;480:707:10;10635:7:14;;10626:16;;;;10622:100;;480:707:10;10748:7:14;;10739:16;;;;10735:100;;480:707:10;10852:16:14;10861:7;10852:16;;;10848:100;;480:707:10;10974:7:14;10965:16;;;;10961:66;;480:707:10;633:1;832:16773:17;;775:76:10;671:18;832:16773:17;;;671:18:10;:::i;:::-;703:11;775:76;;;864:280;633:1;;;864:280;1157:13;;;;480:707;:::o;864:280::-;832:16773:17;;;;969:93:10;;;;;;;;832:16773:17;1079:11:10;;1112:10;1108:21;;864:280;;;;;1108:21;1124:5;;10961:66:14;832:16773:17;11011:1:14;832:16773:17;10961:66:14;;;10848:100;832:16773:17;;10861:7:14;10932:1;832:16773:17;;;;10848:100:14;;;10735;10819:1;832:16773:17;;;;;;10735:100:14;;;;10622;10706:1;832:16773:17;;;;;;10622:100:14;;;;10506:103;10592:2;832:16773:17;;;;;;10506:103:14;;;;10390;10476:2;832:16773:17;;;;;;10390:103:14;;;;10274;10360:2;;-1:-1:-1;832:16773:17;;;-1:-1:-1;10274:103:14;;;16993:221:17;17056:12;832:16773;;17085:123;17107:5;;;16993:221;;:::o;17114:3::-;832:16773;;;;;;;;;;;;;;;;;;17111:1;832:16773;;;;;;17138:27;832:16773;;;;;;;;;;17138:27;832:16773;;;;;;;;;;;;;;;;;;;;;;;;;;17090:15;;;832:16773;;;;;;;;;;17262:202;832:16773;17351:8;832:16773;;;;;17347:76;;832:16773;;-1:-1:-1;17448:9:17;;832:16773;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;832:16773:17;;;-1:-1:-1;;832:16773:17;;;;;;;-1:-1:-1;832:16773:17;;-1:-1:-1;;832:16773:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17347:76;832:16773;;:::i;5328:125:2:-;;5366:69;832:16773:17;5374:13:2;832:16773:17;;;;5366:69:2;;;:::i;:::-;832:16773:17;;;;;;;;;;3025:13:18;832:16773:17;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;5374:13:2;832:16773:17;;;;;;;;;;;;;;;;;3025:13:18;832:16773:17;;:::i;:::-;3075:31:18;17595:1:17;3075:31:18;832:16773:17;;;;;;-1:-1:-1;832:16773:17;;;;;;;;;;;;3025:13:18;832:16773:17;;;;;;;5374:13:2;832:16773:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;3025:13:18;832:16773:17;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3847:465:18;832:16773:17;;4065:36:18;4050:51;;:126;;;;;3847:465;4050:203;;;;3847:465;4050:255;;;;4031:274;3847:465;:::o;4050:255::-;1183:36:12;1168:51;;;3847:465:18;:::o;4050:203::-;4207:46;4192:61;;;-1:-1:-1;4050:203:18;;:126;4132:44;4117:59;;;-1:-1:-1;4050:126:18;;4372:472;832:16773:17;;;;4518:19:18;;832:16773:17;;;4623:24:18;17595:1:17;4623:24:18;;;3554:13;832:16773:17;4618:198:18;17595:1:17;;;4618:198:18;4825:12;;;;;;4372:472;:::o;4669:3::-;4649:18;;;;;;;4688:118;;4669:3;;;;:::i;:::-;4623:24;;;4688:118;5059:29;;;;:::i;:::-;832:16773:17;;4724:19:18;;4688:118;4720:72;4766:7;;4669:3;4766:7;;:::i;:::-;4720:72;;;4688:118;;4649:18;;;;832:16773:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;5123:294:18;3554:13;832:16773:17;10796:24:18;;832:16773:17;;;-1:-1:-1;7063:1:24;;832:16773:17;;;;;;7133:12:24;;832:16773:17;;;;17687:10:18;832:16773:17;;;;7316:18:24;832:16773:17;7316:18:24;832:16773:17;7386:6:24;;;7383:736;7386:6;;;7482:22;7467:37;7482:22;;:::i;:::-;832:16773:17;;;;7467:37:24;832:16773:17;;;;7450:55:24;7383:736;5385:25:18;;5326:41;832:16773:17;;5385:7:18;832:16773:17;;;;;;;5385:25:18;832:16773:17;;;;;5385:25:18;5123:294;:::o;7383:736:24:-;7554:555;;832:16773:17;7554:555:24;;7584:75;7592:10;;;7584:75;:::i;:::-;832:16773:17;7837:20:24;;832:16773:17;;17687:10:18;832:16773:17;;;;;;;7837:20:24;832:16773:17;7895:6:24;7892:202;;7554:555;832:16773:17;7554:555:24;;;7892:202;7992:29;7999:22;7975:47;7999:22;;:::i;:::-;832:16773:17;;;;;;;7975:47:24;832:16773:17;;7975:47:24;7383:736;;832:16773:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;6989:298:18;3554:13;832:16773:17;10796:24:18;;832:16773:17;;;-1:-1:-1;832:16773:17;7256:15:18;832:16773:17;;;;-1:-1:-1;832:16773:17;;;6989:298:18;:::o;832:16773:17:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10985:434:18;3554:13;832:16773:17;10796:24:18;;832:16773:17;;;5059:29:18;;;:::i;:::-;832:16773:17;;;;;;;;;11300:16:18;;:63;;;;;10985:434;11300:111;;;;;;;11292:120;;10985:434;:::o;11300:111::-;832:16773:17;8129:25:18;;;;:35;:25;832:16773:17;;;;8129:18:18;832:16773:17;;;;;;;8129:35:18;832:16773:17;;10985:434:18;:::o;11300:63::-;11332:20;;;;;;;:::i;:::-;832:16773:17;11332:31:18;11300:63;;;;;;832:16773:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;11770:110:18;;832:16773:17;;;;;;:::i;:::-;;;;;;3554:13:18;832:16773:17;12433:12:18;;;832:16773:17;;;;;12497:64:18;12505:16;;;12497:64;:::i;:::-;832:16773:17;;;:::i;:::-;12650:25:18;;;;;:::i;:::-;3554:13;832:16773:17;;12650:25:18;12685;:20;;;832:16773:17;;5385:7:18;832:16773:17;;;;;;;12685:20:18;832:16773:17;;;;;;;;;;;12685:25:18;12735:11;;832:16773:17;2388:1:24;832:16773:17;-1:-1:-1;832:16773:17;12720:10:18;832:16773:17;;1478:8:24;832:16773:17;;-1:-1:-1;832:16773:17;2434:12:24;;832:16773:17;;;2457:28:24;832:16773:17;;2292:200:24;12735:11:18;12798:22;;;;:::i;:::-;13161:1072;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12114:69;13161:1072;;12093:169;13161:1072;;;:::i;:::-;12114:69;:::i;13161:1072::-;;;;;;;;;;;;;832:16773:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;16314:290;-1:-1:-1;832:16773:17;16526:9;832:16773;;;-1:-1:-1;832:16773:17;;16553:15;-1:-1:-1;832:16773:17;;16314:290::o;832:16773::-;;;;;;;;;;;;;;;;;;;;;;;16607:380;832:16773;-1:-1:-1;832:16773:17;16859:9;832:16773;;;-1:-1:-1;832:16773:17;;;16855:129;;16607:380;;:::o;16855:129::-;16951:22;832:16773;-1:-1:-1;832:16773:17;;;;;;;;16951:22;16607:380::o;832:16773::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;14642:992:18;;;14805:29;;;:::i;:::-;832:16773:17;;;;;;;;;;14866:13:18;;;832:16773:17;;15421:21:18;832:16773:17;15547:27:18;832:16773:17;;;;14967:16:18;14959:68;14967:16;;;14959:68;:::i;:::-;832:16773:17;;;:::i;:::-;15164:7:18;;;:::i;:::-;15208:11;;;:::i;:::-;15233:28;15234:27;;832:16773:17;1478:8:24;1695:231;832:16773:17;1811:1:24;832:16773:17;-1:-1:-1;832:16773:17;15234:10:18;832:16773:17;;1857:12:24;832:16773:17;;-1:-1:-1;832:16773:17;;1887:27:24;:32;;1695:231;;15233:28:18;:74;;;14642:992;15230:181;;14642:992;15421:16;;;;832:16773:17;;5385:7:18;832:16773:17;;;;;;;15421:21:18;15455:27;;15452:80;;14642:992;15547:27;14981:1;15547:27;;;:::i;15452:80::-;15513:7;;832:16773:17;2388:1:24;832:16773:17;-1:-1:-1;832:16773:17;12720:10:18;832:16773:17;;1478:8:24;832:16773:17;;-1:-1:-1;832:16773:17;2434:12:24;;832:16773:17;;;2457:28:24;832:16773:17;;2292:200:24;15513:7:18;15452:80;;15230:181;15332:27;15388:11;15332:20;;;832:16773:17;;5385:7:18;832:16773:17;;;;;;;15332:27:18;832:16773:17;2388:1:24;832:16773:17;-1:-1:-1;832:16773:17;12720:10:18;832:16773:17;;1478:8:24;832:16773:17;;-1:-1:-1;832:16773:17;2434:12:24;;832:16773:17;;;2457:28:24;832:16773:17;;2292:200:24;15388:11:18;15230:181;;;;15233:74;832:16773:17;3554:13:18;832:16773:17;15279:28:18;;15233:74;;832:16773:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;15745:164:18;832:16773:17;;;15819:15:18;832:16773:17;;;;;;;;;;;;;5059:29:18;;;:::i;:::-;832:16773:17;;15863:39:18;;;;15745:164::o;:::-;832:16773:17;-1:-1:-1;832:16773:17;15819:15:18;832:16773:17;;15819:29:18;832:16773:17;;-1:-1:-1;832:16773:17;;;;;;;;;;;;15819:29:18;5059;;;:::i;:::-;-1:-1:-1;832:16773:17;;;;;;15863:39:18;-1:-1:-1;;15863:39:18;15745:164::o;832:16773:17:-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;16550:1013:18;;;;1713:19:8;;:23;16753:15:18;;16784:8;;;10368:1;16784:8;;16810:30;;;16806:677;10368:1;;;16806:677;17496:8;;;;;;;:::o;16877:9::-;16852:23;;;;;;;:::i;:::-;16842:33;;;;;832:16773:17;;;;;;16909:72:18;;;;;;;;929:10:9;;;;;;;16909:72:18;;;;;;;:::i;:::-;;-1:-1:-1;;;;832:16773:17;;;;;;16909:72:18;;;;;;;16877:9;-1:-1:-1;;16905:564:18;;17108:361;;;;;:::i;:::-;832:16773:17;;;17162:18:18;;;17208:63;832:16773:17;;;17208:63:18;;;;;;;;832:16773:17;;;;;;;;;;;;;;;;;;;;;;;17158:293:18;17326:103;;;;;16905:564;17032:56;;;;;;;;;;16877:9;17032:56;;;;;;;16905:564;17028:60;;16905:564;16877:9;:::i;:::-;16810:30;;;;;;;;;17032:56;832:16773:17;;17037:51:18;;-1:-1:-1;17032:56:18;;;;16909:72;;;;;;;-1:-1:-1;16909:72:18;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;16842:33;;;;;;;16749:808;17535:11;;;;10368:1;17535:11;:::o;16550:1013::-;;;;1713:19:8;;:23;16753:15:18;;16784:8;;;16788:4;16784:8;;;16810:30;;16806:677;16788:4;;;17496:8;;;;;;;:::o;16877:9::-;16852:23;;;;;;;;:::i;:::-;16842:33;;;;;832:16773:17;;;;;;16909:72:18;;;;;;;;929:10:9;;;;;;16909:72:18;;;;;;;:::i;:::-;;832:16773:17;;;;;;;;;;16909:72:18;;;;;;;16877:9;-1:-1:-1;;16905:564:18;;17108:361;;;;;:::i;16905:564::-;17032:56;;;;;;;;;;16877:9;17032:56;;;;;;;17028:60;;16905:564;16877:9;:::i;:::-;16810:30;;;;;;;;16909:72;;;;;;;-1:-1:-1;16909:72:18;;;;;;:::i;:::-;;;;;;3667:119;3748:13;832:16773:17;;;;;;;;;3667:119:18;:::o;1032:67:23:-;;;;;;;;;;;;;:::i;3057:665::-;1056:42;3246:45;;3242:474;;3057:665;;:::o;3242:474::-;3569:67;1032;832:16773:17;;;3569:67:23;;;;832:16773:17;3569:67:23;;3620:4;3569:67;;;832:16773:17;;;;1032:67:23;;;832:16773:17;3569:67:23;;;;;;;-1:-1:-1;3569:67:23;;;3242:474;3568:68;;3564:142;;3057:665;:::o;3564:142::-;832:16773:17;;3663:28:23;;;832:16773:17;;;;;3569:67:23;3663:28;;832:16773:17;;;;3569:67:23;;;;;;;;;;;;;;:::i;:::-;;;;832:16773:17;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;583:64:25;;832:16773:17;;583:64:25;;;;;;;;;:::o;2032:197::-;832:16773:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1374:6:25;;832:16773:17;;2148:60:25;;832:16773:17;583:64:25;832:16773:17;2142:67:25;832:16773:17;-1:-1:-1;832:16773:17;1422:13:25;583:64;832:16773:17;;2148:60:25;;:::i;:::-;583:64;;;;;2148:60;832:16773:17;;;
Swarm Source
ipfs://0b6cc2e667a90f023da00ff6e26e02add31d8e4cbd8f96004e07f6e015d66812
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
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.