Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60808060 | 17986054 | 433 days ago | IN | 0 ETH | 0.12583232 |
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; 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 mintForMany(uint256[] calldata _mintAmounts, address[] calldata _receivers) external override onlyOwner nonReentrant { require(_mintAmounts.length == _receivers.length, "Array Mismatch"); for (uint i = 0; i < _receivers.length; i++) { require(totalSupply() + _mintAmounts[i] <= MAX_SUPPLY, "Max supply exceeded!"); mintedPub += _mintAmounts[i]; _safeMint(_receivers[i], _mintAmounts[i]); emit MintedFor(_receivers[i], _mintAmounts[i]); } } function mintForManyAndLock(uint256[] calldata _mintAmounts, address[] calldata _receivers) external override onlyOwner nonReentrant { uint256 firstToken = _nextTokenId(); uint256 stopToken = firstToken; require(_mintAmounts.length == _receivers.length, "Array Mismatch"); for (uint i = 0; i < _receivers.length; i++) { require(totalSupply() + _mintAmounts[i] <= MAX_SUPPLY, "Max supply exceeded!"); mintedPub += _mintAmounts[i]; stopToken += _mintAmounts[i]; _safeMint(_receivers[i], _mintAmounts[i]); emit MintedFor(_receivers[i], _mintAmounts[i]); } uint256 unlockTime = block.timestamp + wlLockTime; for (uint i = firstToken; i < stopToken; i++) { tokenLock[i] = unlockTime; tokensToLock.push(i); } } 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 lockTokens(uint256[] calldata _tokenIds) external onlyOwner { uint256 unlockTime = block.timestamp + wlLockTime; for (uint i = 0; i < _tokenIds.length; i++) { tokenLock[_tokenIds[i]] = unlockTime; emit Locked(_tokenIds[i]); } } 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 Mint Rascals to an array of provided addresses * @dev Only callable by `owner` * @param _mintAmounts The number of Rascals to mint to each address * @param _receivers The addresses to mint Rascals to */ function mintForMany(uint256[] calldata _mintAmounts, address[] calldata _receivers) external; /** * @notice Mint Rascals to an array of provided addresses * @dev Only callable by `owner` * @param _mintAmounts The number of Rascals to mint to each address * @param _receivers The addresses to mint Rascals to */ function mintForManyAndLock(uint256[] calldata _mintAmounts, address[] calldata _receivers) 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": 9999 }, "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":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"lockTokens","outputs":[],"stateMutability":"nonpayable","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":"_mintAmounts","type":"uint256[]"},{"internalType":"address[]","name":"_receivers","type":"address[]"}],"name":"mintForMany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_mintAmounts","type":"uint256[]"},{"internalType":"address[]","name":"_receivers","type":"address[]"}],"name":"mintForManyAndLock","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
60808060405234620000c6576000549060ff8260081c1662000074575060ff8082160362000038575b6040516156a59081620000cc8239f35b60ff90811916176000557f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498602060405160ff8152a13862000028565b62461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b6064820152608490fd5b600080fdfe6080604052600436101561001257600080fd5b60003560e01c806301ffc9a71461042257806304634d8d1461041d57806306afd5921461041857806306fdde0314610413578063075692ab1461040e578063081812fc14610409578063084b731a1461040457806308a27d87146103ff578063095ea7b3146103fa5780630c8a8c05146103f55780631205b07f146103f0578063121c93ca146103eb5780631637654a146103e6578063163986b0146103e157806316ba10e0146103dc57806318160ddd146103d75780631e6c689f146103d257806320be8c89146103cd57806323b872dd146103c8578063286028b4146103c35780632a55205a146103be5780632aa0ca0b146103b95780632eb4a7ab146103b45780632f9a7c58146103af57806332a989e9146103aa57806332cb6b0c146103a557806337a66d85146103a057806342842e0e1461039b5780634c322b15146103965780634fdd43cb14610391578063518302271461038c578063556c4e481461030a5780636352211e1461038757806370a0823114610382578063715018a61461037d57806379884269146103785780637cb64759146103735780637ed07e221461036e5780638462151c146103695780638b9a3764146103645780638cfec4c01461035f5780638da5cb5b1461035a57806395d89b4114610355578063a22cb46514610350578063a45ba8e71461034b578063a7e8294814610346578063a8d144cd14610341578063aa6b47031461033c578063b6eff87014610337578063b88d4fde14610332578063bc951b911461032d578063bcc295a114610328578063c3fbfbcf14610323578063c4da76271461031e578063c87b56dd14610319578063e086e5ec14610314578063e0a808531461030f578063e8a3d4851461030a578063e985e9c514610305578063efbd73f414610300578063efd0cbf9146102fb578063f1ec7dc7146102f6578063f2fde38b146102f1578063f4bb77ca146102ec5763fdda3391146102e757600080fd5b6128c4565b6127de565b612737565b61267d565b6125d5565b612517565b6124ad565b61185c565b6123c7565b612336565b612271565b612196565b61216f565b612150565b612131565b6120ad565b612034565b611eb7565b611dc5565b611da6565b611d8a565b611c90565b611be9565b611bc2565b611b97565b611b22565b611a92565b611a62565b611a40565b611a13565b61199f565b611978565b611948565b61171f565b611607565b61156e565b611443565b6113cc565b6113af565b6112e2565b6112c0565b6112a1565b61122b565b61117b565b61115c565b611114565b610fe3565b610fc4565b610fa1565b610e90565b610e46565b610dce565b610dac565b610b9b565b610b69565b610a4f565b610a30565b61099b565b61090c565b610871565b610644565b6105c9565b610506565b610456565b7fffffffff0000000000000000000000000000000000000000000000000000000081160361045157565b600080fd5b3461045157602060031936011261045157602060043561047581610427565b7f2a55205a000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008216149081156104e4575b81156104d4575b506040519015158152f35b6104de915061442b565b386104c9565b90506104ef8161442b565b906104c2565b6001600160a01b0381160361045157565b3461045157604060031936011261045157600435610523816104f5565b602435906bffffffffffffffffffffffff8216808303610451576001600160a01b0360609261057b7f730a818963b62f9ae752ce2533b813ba9efe03d0042c1db46072f937b1af09c6956105756128f2565b826135aa565b1690610111827fffffffffffffffffffffffff000000000000000000000000000000000000000082541617905560405191825260208201526127106040820152a1005b600091031261045157565b3461045157600060031936011261045157602061010654604051908152f35b60005b8381106105fb5750506000910152565b81810151838201526020016105eb565b90601f19601f602093610629815180928187528780880191016105e8565b0116010190565b90602061064192818152019061060b565b90565b346104515760008060031936011261072657604051908060665461066781611746565b808552916001918083169081156106fc57506001146106a1575b61069d85610691818703826107c6565b60405191829182610630565b0390f35b9250606683527f46501879b8ca8525e8c2fd519e2fbfcfa2ebea26501294aa02cbfcfb12e943545b8284106106e45750505081016020016106918261069d610681565b805460208587018101919091529093019281016106c9565b86955061069d9693506020925061069194915060ff191682840152151560051b8201019293610681565b80fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040810190811067ffffffffffffffff82111761077457604052565b610729565b67ffffffffffffffff811161077457604052565b6020810190811067ffffffffffffffff82111761077457604052565b610120810190811067ffffffffffffffff82111761077457604052565b90601f601f19910116810190811067ffffffffffffffff82111761077457604052565b67ffffffffffffffff811161077457601f01601f191660200190565b929192610811826107e9565b9161081f60405193846107c6565b829481845281830111610451578281602093846000960137010152565b9080601f830112156104515781602061064193359101610805565b610104359069ffffffffffffffffffff8216820361045157565b34610451576101206003193601126104515760243561088f816104f5565b6044359061089c826104f5565b67ffffffffffffffff60a435818111610451576108bd90369060040161083c565b9060c435908111610451576108d690369060040161083c565b60e4359169ffffffffffffffffffff831683036104515761090a946108f9610857565b946084359160643591600435612a12565b005b3461045157602060031936011261045157602061092a600435614788565b6001600160a01b0360405191168152f35b9181601f840112156104515782359167ffffffffffffffff8311610451576020808501948460051b01011161045157565b6020600319820112610451576004359067ffffffffffffffff8211610451576109979160040161093b565b9091565b34610451576109a93661096c565b906109b26128f2565b61010c54420191824211610a2b5760005b8181106109cc57005b806109db610a26928486613d96565b356000527f032bc66be43dbccb7487781d168eb7bda224628a3b2c3388bdf69b532a3a1611602061010e81526040878160002055610a1a848789613d96565b359051908152a16139ca565b6109c3565b6129d0565b3461045157600060031936011261045157602061011454604051908152f35b3461045157604060031936011261045157600435610a6c816104f5565b602435610a7882615371565b610a81816145e4565b50916001600160a01b038084168091831614610b005761090a93610aaf913314908115610ab4575b50614717565b614f96565b610afa9150610af390610adb33916001600160a01b0316600052606b602052604060002090565b906001600160a01b0316600052602052604060002090565b5460ff1690565b38610aa9565b608460405162461bcd60e51b8152602060048201526024808201527f4552433732315073693a20617070726f76616c20746f2063757272656e74206f60448201527f776e6572000000000000000000000000000000000000000000000000000000006064820152fd5b346104515760006003193601126104515760206001600160a01b036101115416604051908152f35b8015150361045157565b346104515760406003193601126104515767ffffffffffffffff60043581811161045157610bcd90369060040161083c565b9060243590610bdb82610b91565b610be36128f2565b82519081116107745761011290610c0381610bfe8454611746565b612c28565b602080601f8311600114610d23575081908495600092610d18575b50506000198260011b9260031b1c19161790555b610c8a575b5061010d5460a01c60ff165b610c4957005b7f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c60405180610c85819060001960206040840193600181520152565b0390a1005b61010d80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1682151560a01b74ff0000000000000000000000000000000000000000161790557f065a37dd451b30bda7bb1e45274b4f85715773fc9e0e4a7d3cefb29dd0ba421e90610d0f9060408051911515825242602083015290918291820190565b0390a138610c37565b015190503880610c1e565b6101126000529194601f1986167fe015f902c527607628f7649074b24d3efd1151f9f546ce1aecf38852c06da883936000905b828210610d9457505091600193918787989410610d7b575b505050811b019055610c32565b015160001960f88460031b161c19169055388080610d6e565b80600186978294978701518155019601940190610d56565b3461045157602060031936011261045157610dc56128f2565b60043561010655005b3461045157604060031936011261045157600435610deb81610b91565b610df36128f2565b61011180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1691151560a01b74ff00000000000000000000000000000000000000001691909117905560243561010c55005b3461045157600060031936011261045157602061010c54604051908152f35b6020600319820112610451576004359067ffffffffffffffff8211610451576106419160040161083c565b3461045157610e9e36610e65565b610ea66128f2565b805167ffffffffffffffff81116107745761011390610ece81610ec98454611746565b612c8a565b602080601f8311600114610f165750819293600092610f0b575b50506000198260011b9260031b1c19161790555b61010d5460a01c60ff16610c43565b015190503880610ee8565b90601f19831694610f4a6101136000527f1af827780c8eead77dc5a11451291f18043aa94313f832de8f85d1d7264809cc90565b926000905b878210610f89575050836001959610610f70575b505050811b019055610efc565b015160001960f88460031b161c19169055388080610f63565b80600185968294968601518155019501930190610f4f565b34610451576000600319360112610451576020610fbc61534a565b604051908152f35b3461045157600060031936011261045157602061010a54604051908152f35b3461045157610ff13661096c565b610ff9613a5a565b60005b81811061100d5761090a600160d055565b611018818385613d96565b35600052602061010e8152604090428260002054116110a65750907ff27b6ce5b2f5e68ddb2fd95a8a909d4ecf1daaac270935fff052feacb24f18426110996110a193600061107d61106b86898b613d96565b3560005261010e602052604060002090565b55611089848789613d96565b9051903581529081906020820190565b0390a16139ca565b610ffc565b606491519062461bcd60e51b82526004820152601260248201527f546f6f20736f6f6e20746f20756e6c6f636b00000000000000000000000000006044820152fd5b600319606091011261045157600435611100816104f5565b9060243561110d816104f5565b9060443590565b346104515761090a611125366110e8565b91336001600160a01b0382160361114e575b61114961114484336148fd565b614816565b614d1f565b61115733615371565b611137565b3461045157600060031936011261045157602061010854604051908152f35b3461045157604060031936011261045157600435600052606d6020526040600020604051906111a982610758565b54906001600160a01b03908183169283825260a01c6020820152911561121b575b6111f36111eb6bffffffffffffffffffffffff6020850151166024356129ff565b612710900490565b91511661069d60405192839283602090939291936001600160a01b0360408201951681520152565b90506112256129aa565b906111ca565b34610451576112393661096c565b906112426128f2565b60005b82811061124e57005b8061125d61129c928585613d96565b356000527ff27b6ce5b2f5e68ddb2fd95a8a909d4ecf1daaac270935fff052feacb24f1842602061010e81526040600081812055610a1a848888613d96565b611245565b3461045157600060031936011261045157602061010254604051908152f35b34610451576020600319360112610451576112d96128f2565b60043561010555005b34610451576040600319360112610451576024356004356113016128f2565b60009181835261010e9182602052604084205482101561136b577f1a79385e75a564007179c9299552e46b7a0348aa0258de4f92f1cc651174477d928185526020528160408520556113656040519283928360209093929193604081019481520152565b0390a180f35b606460405162461bcd60e51b815260206004820152601860248201527f43616e206e6f7420657874656e64206c6f636b2074696d6500000000000000006044820152fd5b34610451576000600319360112610451576020604051611e618152f35b34610451576000600319360112610451576113e56128f2565b61010d6001600160a01b037fffffffffffffffffffffffff00000000000000000000000000000000000000008254161790557f38d4174e7163889d8e9bd4aa2078c460fd3a1964ad51aef8de1467ee4b29ae116020604051428152a1005b346104515761090a61149f611457366110e8565b90336001600160a01b038416141592836114b2575b604051936114798561078d565b600085526114a4575b61148f61114484336148fd565b61149a838383614d1f565b615095565b614887565b6114ad33615371565b611482565b6114bb33615371565b61146c565b67ffffffffffffffff81116107745760051b60200190565b90815180825260208080930193019160005b8281106114f8575050505090565b8351855293810193928101926001016114ea565b939290611521906060865260608601906114d8565b936020948181038683015285808551928381520194019060005b8181106115585750505061064193945060408184039101526114d8565b825115158652948701949187019160010161153b565b34610451576020806003193601126104515760043567ffffffffffffffff81116104515736602382011215610451578060040135906115ac826114c0565b916115ba60405193846107c6565b80835260248484019160051b8301019136831161045157602401905b8282106115f85761069d6115e985613e82565b6040939193519384938461150c565b813581529084019084016115d6565b346104515761161536610e65565b61161d6128f2565b805167ffffffffffffffff81116107745761010390611645816116408454611746565b612ce1565b602080601f83116001146116945750819293600092611689575b50506000198260011b9260031b1c19161790555b61010d54610c439060a01c60ff161590565b1590565b01519050388061165f565b90601f198316946116c86101036000527f02c297ab74aad0aede3a1895c857b1f2c71e6a203feb727bec95ac752998cb7890565b926000905b8782106117075750508360019596106116ee575b505050811b019055611673565b015160001960f88460031b161c191690553880806116e1565b806001859682949686015181550195019301906116cd565b3461045157600060031936011261045157602060ff61010d5460a01c166040519015158152f35b90600182811c9216801561178f575b602083101461176057565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b91607f1691611755565b604051906000826101039182546117af81611746565b8084529360019180831690811561183757506001146117d9575b50506117d7925003836107c6565b565b600090815291507f02c297ab74aad0aede3a1895c857b1f2c71e6a203feb727bec95ac752998cb785b84831061181c57506117d7935050810160200138806117c9565b81935090816020925483858a01015201910190918592611802565b9050602093506117d795925060ff1991501682840152151560051b82010138806117c9565b34610451576000806003193601126107265760405190806101049081549061188382611746565b8086529260019280841690811561191b57506001146118c1575b61069d866118ad818803826107c6565b60405191829160208352602083019061060b565b815292507f4c0be60200faa20559308cb7b5a1bb3255c16cb1cab91f525b5ae7a03d02fabe5b8284106119035750505081016020016118ad8261069d3861189d565b805460208587018101919091529093019281016118e7565b87965061069d979450602093506118ad95925060ff1991501682840152151560051b82010192933861189d565b346104515760206003193601126104515760206119666004356145e4565b506001600160a01b0360405191168152f35b34610451576020600319360112610451576020610fbc60043561199a816104f5565b614504565b3461045157600080600319360112610726576119b96128f2565b806001600160a01b03609e547fffffffffffffffffffffffff00000000000000000000000000000000000000008116609e55167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b346104515760206003193601126104515760043560005261010e6020526020604060002054604051908152f35b3461045157602060031936011261045157611a596128f2565b60043561010255005b3461045157600060031936011261045157602061010954604051908152f35b9060206106419281815201906114d8565b3461045157602060031936011261045157600435611aaf816104f5565b6000611aba82614504565b611ac381613e51565b9160019384606954905b848403611ae2576040518061069d8882611a81565b8082889210611af2575b01611acd565b611afb816145e4565b506001600160a01b03808616911603611aec5780611b1c8387019689613b0c565b52611aec565b3461045157600060031936011261045157611b3b613a5a565b6101145415611b5357611b4c614169565b600160d055005b606460405162461bcd60e51b815260206004820152600f60248201527f4e6f7468696e6720746f20656d697400000000000000000000000000000000006044820152fd5b3461045157600060031936011261045157602069ffffffffffffffffffff61010d5416604051908152f35b346104515760006003193601126104515760206001600160a01b03609e5416604051908152f35b3461045157600080600319360112610726576040519080606754611c0c81611746565b808552916001918083169081156106fc5750600114611c355761069d85610691818703826107c6565b9250606783527f9787eeb91fe3101235e4a76063c7023ecb40f923f97916639c598592fa30d6ae5b828410611c785750505081016020016106918261069d610681565b80546020858701810191909152909301928101611c5d565b3461045157604060031936011261045157600435611cad816104f5565b602435611cb981610b91565b611cc282615371565b6001600160a01b03821691338314611d465781611d02611d149233600052606b6020526040600020906001600160a01b0316600052602052604060002090565b9060ff60ff1983541691151516179055565b604051901515815233907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190602090a3005b606460405162461bcd60e51b815260206004820152601c60248201527f4552433732315073693a20617070726f766520746f2063616c6c6572000000006044820152fd5b346104515760006003193601126104515761069d6118ad611799565b3461045157600060031936011261045157602061010554604051908152f35b3461045157604060031936011261045157600435602435611de46128f2565b808201808311610a2b57611e6103611e2c57611e1961090a926101095481101580611e1f575b611e1390613db0565b61010755565b61010855565b5061010a54831015611e0a565b606460405162461bcd60e51b815260206004820152601960248201527f4d75737420616c6c6f636174652066756c6c20737570706c79000000000000006044820152fd5b60406003198201126104515767ffffffffffffffff916004358381116104515782611e9d9160040161093b565b93909392602435918211610451576109979160040161093b565b3461045157611ec536611e70565b90611ed19392936128f2565b611ed9613a5a565b606954928394611eea848214613d4b565b6000935b808510611f45578686611f0461010c54426136a2565b915b818110611f175761090a600160d055565b8083611f31611f409360005261010e602052604060002090565b55611f3b81613a08565b6139ca565b611f06565b9091929394611fa761202b91611f7b611e61611f74611f6261534a565b611f6d8c8a8c613d96565b35906136a2565b11156136af565b611f9c611f96611f8c8a888a613d96565b3561010a546136a2565b61010a55565b611f6d888688613d96565b95611fd0611fbe611fb983868a613d96565b613da6565b611fc9838789613d96565b35906149e4565b7f806cd60f2e685a1e396a8baa63258d7a53ee827529ff0b205284da9c8e19e2e1611fff611fb983868a613d96565b61200a838789613d96565b604080516001600160a01b0390931683529035602083015281908101611099565b93929190611eee565b346104515760406003193601126104515760243561205181610b91565b6120596128f2565b60043561010b5561011180547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1691151560a81b75ff00000000000000000000000000000000000000000016919091179055005b34610451576080600319360112610451576004356120ca816104f5565b602435906120d7826104f5565b6064359060443567ffffffffffffffff831161045157366023840112156104515761090a9361211361149f943690602481600401359101610805565b92336001600160a01b038216036114a45761148f61114484336148fd565b3461045157600060031936011261045157602061010b54604051908152f35b3461045157600060031936011261045157602061010754604051908152f35b3461045157600060031936011261045157602060ff6101115460a01c166040519015158152f35b34610451576121a436611e70565b9091926121af6128f2565b6121b7613a5a565b6121c2828514613d4b565b60005b8281106121d65761090a600160d055565b6121de61534a565b906121ea818785613d96565b358201809211610a2b57612205611e6161226c9311156136af565b612216611f96611f8c838987613d96565b612232612227611fb9838789613d96565b611fc9838987613d96565b7f806cd60f2e685a1e396a8baa63258d7a53ee827529ff0b205284da9c8e19e2e1612261611fb9838789613d96565b61200a838987613d96565b6121c5565b34610451576020600319360112610451576004356069548110156122f25761229761423b565b8051156122e0576106916122c7916122d26122cd6122b761069d96614019565b6040519586946020860190613f39565b90613f39565b613f50565b03601f1981018352826107c6565b505061069d6122ed612b8c565b610691565b606460405162461bcd60e51b815260206004820152601960248201527f4552433732313a206e6f6e6578697374656e7420746f6b656e000000000000006044820152fd5b3461045157600080600319360112610726576123506128f2565b612358613a5a565b808080806001600160a01b03610111541647905af1612375613e21565b501561238357600160d05580f35b606460405162461bcd60e51b815260206004820152600f60248201527f5472616e73666572206661696c656400000000000000000000000000000000006044820152fd5b346104515760206003193601126104515760ff6004356123e681610b91565b6123ee6128f2565b61010d80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1691151560a081901b74ff00000000000000000000000000000000000000001692909217908190556040805192835242602084015290917f065a37dd451b30bda7bb1e45274b4f85715773fc9e0e4a7d3cefb29dd0ba421e9190a160a01c1661247957005b7f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c60408051600181526000196020820152a1005b3461045157604060031936011261045157602060ff61250b6004356124d1816104f5565b6001600160a01b03602435916124e6836104f5565b16600052606b84526040600020906001600160a01b0316600052602052604060002090565b54166040519015158152f35b3461045157604060031936011261045157600435602435612537816104f5565b61253f61534a565b828101809111610a2b57611e616125579111156136af565b61010a5491808301809311610a2b5761257861090a93610108541015613b20565b8015158061258f575b61258a90613b6b565b613cae565b508060ff6101115460a81c166000906000146125c857506125bb61258a916125b633614504565b6136a2565b61010b5410159050612581565b61258a916125bb916136a2565b6020600319360112610451576004356125ec61534a565b818101809111610a2b57611e616126049111156136af565b61010a5490808201809211610a2b5761262561090a92610108541015613b20565b8015158061263c575b61263790613b6b565b613bb6565b508060ff6101115460a81c166000906000146126705750612663612637916125b633614504565b61010b541015905061262e565b61263791612663916136a2565b60606003193601126104515760043560243567ffffffffffffffff8111610451576126ac90369060040161093b565b6126b792919261534a565b828101809111610a2b57611e616126cf9111156136af565b61010954828101809111610a2b5761010754106126f35761090a9260443592613745565b606460405162461bcd60e51b815260206004820152601a60248201527f57686974656c69737420737570706c79206578636565646564210000000000006044820152fd5b3461045157602060031936011261045157600435612754816104f5565b61275c6128f2565b6001600160a01b038116156127745761090a9061294a565b608460405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b346104515760406003193601126104515769ffffffffffffffffffff60043581811680820361045157602435928316809303610451577fe391e8dc0585b33caa09ae7053660247eebb0622d34c3d069448827f541f3dc79261288c6040936128446128f2565b61010d907fffffffffffffffffffffffff00000000000000000000ffffffffffffffffffff73ffffffffffffffffffff0000000000000000000083549260501b169116179055565b61010d817fffffffffffffffffffffffffffffffffffffffffffff0000000000000000000082541617905582519182526020820152a1005b3461045157600060031936011261045157602069ffffffffffffffffffff61010d5460501c16604051908152f35b6001600160a01b03609e5416330361290657565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b609e54906001600160a01b0380911691827fffffffffffffffffffffffff0000000000000000000000000000000000000000821617609e55167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3565b604051906129b782610758565b606c546001600160a01b038116835260a01c6020830152565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b81810292918115918404141715610a2b57565b96949290979593916000549860ff8a60081c1615809a819b612b7e575b8115612b5e575b5015612af457612a5c988a612a53600160ff196000541617600055565b612abe57613159565b612a6257565b612a8f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff60005416600055565b604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249890602090a1565b612aef6101007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff6000541617600055565b613159565b608460405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152fd5b303b15915081612b70575b5038612a36565b6001915060ff161438612b69565b600160ff8216109150612a2f565b60405190612b998261078d565b60008252565b60405190612bac82610758565b601382527f52617363616c73206f66207468652057696c64000000000000000000000000006020830152565b60405190612be582610758565b600482527f524f5457000000000000000000000000000000000000000000000000000000006020830152565b818110612c1c575050565b60008155600101612c11565b90601f8211612c35575050565b6117d7916101126000527fe015f902c527607628f7649074b24d3efd1151f9f546ce1aecf38852c06da883906020601f840160051c83019310612c80575b601f0160051c0190612c11565b9091508190612c73565b90601f8211612c97575050565b6117d7916101136000527f1af827780c8eead77dc5a11451291f18043aa94313f832de8f85d1d7264809cc906020601f840160051c83019310612c8057601f0160051c0190612c11565b90601f8211612cee575050565b6117d7916101036000527f02c297ab74aad0aede3a1895c857b1f2c71e6a203feb727bec95ac752998cb78906020601f840160051c83019310612c8057601f0160051c0190612c11565b90601f8211612d45575050565b6117d79160666000527f46501879b8ca8525e8c2fd519e2fbfcfa2ebea26501294aa02cbfcfb12e94354906020601f840160051c83019310612c8057601f0160051c0190612c11565b90601f8211612d9b575050565b6117d7916101046000527f4c0be60200faa20559308cb7b5a1bb3255c16cb1cab91f525b5ae7a03d02fabe906020601f840160051c83019310612c8057601f0160051c0190612c11565b90601f8211612df2575050565b6117d79160676000527f9787eeb91fe3101235e4a76063c7023ecb40f923f97916639c598592fa30d6ae906020601f840160051c83019310612c8057601f0160051c0190612c11565b610113612e488154611746565b601f8111612e77575b507f2e6a736f6e00000000000000000000000000000000000000000000000000000a9055565b6000828152601f7f1af827780c8eead77dc5a11451291f18043aa94313f832de8f85d1d7264809cc920160051c8201915b828110612eb6575050612e51565b818155600101612ea8565b90815167ffffffffffffffff81116107745761010390612ee5816116408454611746565b602080601f8311600114612f20575081929394600092612f15575b50506000198260011b9260031b1c1916179055565b015190503880612f00565b90601f19831695612f546101036000527f02c297ab74aad0aede3a1895c857b1f2c71e6a203feb727bec95ac752998cb7890565b926000905b888210612f9157505083600195969710612f78575b505050811b019055565b015160001960f88460031b161c19169055388080612f6e565b80600185968294968601518155019501930190612f59565b90815167ffffffffffffffff81116107745761010490612fd281612fcd8454611746565b612d8e565b602080601f8311600114613001575081929394600092612f155750506000198260011b9260031b1c1916179055565b90601f198316956130356101046000527f4c0be60200faa20559308cb7b5a1bb3255c16cb1cab91f525b5ae7a03d02fabe90565b926000905b88821061305857505083600195969710612f7857505050811b019055565b8060018596829496860151815501950193019061303a565b90815167ffffffffffffffff81116107745761309681613091606754611746565b612de5565b602080601f83116001146130d157508192936000926130c6575b50506000198260011b9260031b1c191617606755565b0151905038806130b0565b90601f1983169461310460676000527f9787eeb91fe3101235e4a76063c7023ecb40f923f97916639c598592fa30d6ae90565b926000905b878210613141575050836001959610613128575b505050811b01606755565b015160001960f88460031b161c1916905538808061311d565b80600185968294968601518155019501930190613109565b90979593979694929196600061317e60ff825460081c166131798161345a565b61345a565b6daaeb6d7670e522a718067333cd4e90813b613321575b505061327e9695936132336117d79a61322d612844966132276132459a976131e8613240986131d36131c5612b9f565b6131cd612bd8565b90614312565b6131db6134e9565b6131e36134cb565b61294a565b6131f3606461010b55565b6132216101117fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff8154169055565b61010255565b61010655565b61010555565b61323b612e3b565b612ec1565b612fa9565b69ffffffffffffffffffff61010d91167fffffffffffffffffffffffffffffffffffffffffffff00000000000000000000825416179055565b61011180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383161790556132be6103e861010755565b6132ca611a7961010855565b6132d76206978061010c55565b61331c610111740100000000000000000000000000000000000000007fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff825416179055565b613550565b6040517fc3c5a54700000000000000000000000000000000000000000000000000000000815230600482015260208160248185875af190811561342757829161342c575b50613195578194969392989795913b15610726576040517f7d3e3dbe000000000000000000000000000000000000000000000000000000008152306004820152733cc6cdda760b79bafa08df41ecfa224f810dceb66024820152948590604490829084905af18015613427576117d79a61322d61324598613227613240966131e861327e9e6128449b6132339861340e575b50985050979a50509650509a508195979850613195565b8061341b61342192610779565b806105be565b386133f7565b615089565b61344d915060203d8111613453575b61344581836107c6565b81019061535c565b38613365565b503d61343b565b1561346157565b608460405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152fd5b6134e060ff60005460081c166131798161345a565b6117d73361294a565b6134fe60ff60005460081c166131798161345a565b600160d055565b1561350c57565b606460405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152fd5b6001600160a01b036117d79116613568811515613505565b6040519061357582610758565b8082526101f46020909201919091526001600160a01b03167501f4000000000000000000000000000000000000000017606c55565b906bffffffffffffffffffffffff16612710811161362a576001600160a01b036117d79216906135db821515613505565b604051916135e883610758565b825260208201527fffffffffffffffffffffffff000000000000000000000000000000000000000060206001600160a01b0383511692015160a01b1617606c55565b608460405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152fd5b9060018201809211610a2b57565b91908201809211610a2b57565b156136b657565b606460405162461bcd60e51b815260206004820152601460248201527f4d617820737570706c79206578636565646564210000000000000000000000006044820152fd5b1561370157565b606460405162461bcd60e51b815260206004820152601860248201527f496e636f7272656374207061796d656e7420616d6f756e7400000000000000006044820152fd5b9392916137f3916137ee9161376761376088610106546129ff565b34146136fa565b61376f613a5a565b6137a661379e61378f61010d5469ffffffffffffffffffff9060501c1690565b69ffffffffffffffffffff1690565b4210156138cf565b6040805133602082019081529181018790526137e9916137d5916137cd81606081016122d2565b51902061391a565b602081519101209261010254923691613931565b613aaf565b61397f565b61380961380384610109546136a2565b61010955565b6069549261381781856136a2565b61382182336149e4565b6101115460a01c60ff1661387e575b506040805133815260208101929092528101919091529091507f51fc157cbceafe43ec04a2cb1b6a6971c161b39e4303775c6df1ce5843a7e6fa9080606081015b0390a16117d7600160d055565b610114546138c2575b61389461010c54426136a2565b945b8181106138a35750613830565b8086611f316138bd9360005261010e602052604060002090565b613896565b6138ca614169565b613887565b156138d657565b606460405162461bcd60e51b815260206004820152601b60248201527f57686974656c6973742073616c65206e6f7420656e61626c65642100000000006044820152fd5b90604051916020830152602082526117d782610758565b929161393c826114c0565b9161394a60405193846107c6565b829481845260208094019160051b810192831161045157905b8282106139705750505050565b81358152908301908301613963565b1561398657565b606460405162461bcd60e51b815260206004820152600e60248201527f496e76616c69642070726f6f66210000000000000000000000000000000000006044820152fd5b6000198114610a2b5760010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b610114805490680100000000000000008210156107745760018201808255821015613a55576000527f7bcceeb45a7fc3e9ab41757c29868f6027a0954a5b36f3d0216dd22b389c2f050155565b6139d9565b600260d05414613a6b57600260d055565b606460405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152fd5b929091906000915b8451831015613b0457613aca8386613b0c565b5190600082821015613af25750600052602052613aec60406000205b926139ca565b91613ab7565b604091613aec93825260205220613ae6565b915092501490565b8051821015613a555760209160051b010190565b15613b2757565b606460405162461bcd60e51b815260206004820152601760248201527f5075626c696320737570706c79206578636565646564210000000000000000006044820152fd5b15613b7257565b606460405162461bcd60e51b815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e74210000000000000000000000006044820152fd5b613bc661376082610105546129ff565b613bce613a5a565b69ffffffffffffffffffff61010d54164210613c6a57610111547f2b9b5f231350be1ad74fdc2e455baf61e5cecc08206b88e31158e38214462bd7916138719160a01c60ff1680613c5e575b613c51575b613c2f611f968261010a546136a2565b613c3981336149e4565b60408051338152602081019290925290918291820190565b613c59614169565b613c1f565b50610114541515613c1a565b606460405162461bcd60e51b815260206004820152601a60248201527f5075626c6963206d696e74696e67206e6f74206163746976652e0000000000006044820152fd5b613cb66128f2565b613cbe613a5a565b60ff6101115460a01c1680613d3f575b613d32575b61010a918254828101809111610a2b577f806cd60f2e685a1e396a8baa63258d7a53ee827529ff0b205284da9c8e19e2e19355613d1082826149e4565b604080516001600160a01b039290921682526020820192909252a1600160d055565b613d3a614169565b613cd3565b50610114541515613cce565b15613d5257565b606460405162461bcd60e51b815260206004820152600e60248201527f4172726179204d69736d617463680000000000000000000000000000000000006044820152fd5b9190811015613a555760051b0190565b35610641816104f5565b15613db757565b608460405162461bcd60e51b815260206004820152602c60248201527f43616e206e6f74207365742076616c756573206c657373207468616e20616c7260448201527f65616479206d696e7465642e00000000000000000000000000000000000000006064820152fd5b3d15613e4c573d90613e32826107e9565b91613e4060405193846107c6565b82523d6000602084013e565b606090565b90613e5b826114c0565b613e6860405191826107c6565b828152601f19613e7882946114c0565b0190602036910137565b90815190613e8f826114c0565b92613e9d60405194856107c6565b828452601f19613eac846114c0565b01366020860137613ebc83613e51565b9260005b818110613ece575050929190565b613f2f9042613ef2613ee08387613b0c565b5160005261010e602052604060002090565b5411600090600014613f34575060015b613f0c8289613b0c565b9015159052613f1e613ee08286613b0c565b54613f298288613b0c565b526139ca565b613ec0565b613f02565b90613f4c602092828151948592016105e8565b0190565b90600091610113908154613f6381611746565b92600191808316908115613fd75750600114613f80575b50505050565b9091929394506000527f1af827780c8eead77dc5a11451291f18043aa94313f832de8f85d1d7264809cc906000915b848310613fc457505050019038808080613f7a565b8181602092548587015201920191613faf565b60ff1916845250505081151590910201915038808080613f7a565b90613ffc826107e9565b61400960405191826107c6565b828152601f19613e7882946107e9565b806000917a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008082101561415b575b506d04ee2d6d415b85acef81000000008083101561414c575b50662386f26fc100008083101561413d575b506305f5e1008083101561412e575b506127108083101561411f575b50606482101561410f575b600a80921015614105575b6001908160216140b0828701613ff2565b95860101905b6140c2575b5050505090565b600019849101917f30313233343536373839616263646566000000000000000000000000000000008282061a835304918215614100579190826140b6565b6140bb565b916001019161409f565b9190606460029104910191614094565b60049193920491019138614089565b6008919392049101913861407c565b6010919392049101913861406d565b6020919392049101913861405b565b604093508104915038614042565b6101148054805b614178575050565b60001980820190828211610a2b57835480921015613a55576000908482527f7bcceeb45a7fc3e9ab41757c29868f6027a0954a5b36f3d0216dd22b389c2f04907f032bc66be43dbccb7487781d168eb7bda224628a3b2c3388bdf69b532a3a1611602083870154604051908152a1831561420e5783019280841015613a5557858352015582558015610a2b576000190180614170565b6024837f4e487b710000000000000000000000000000000000000000000000000000000081526031600452fd5b60ff61010d5460a01c161561430a5760405160008161011291825461425f81611746565b808452936001918083169081156142e55750600114614287575b5050610641925003826107c6565b600090815291507fe015f902c527607628f7649074b24d3efd1151f9f546ce1aecf38852c06da8835b8483106142ca575061064193505081016020013880614279565b819350908160209254838589010152019101909184926142b0565b90506020935061064195925060ff1991501682840152151560051b8201013880614279565b610641611799565b9061432860ff60005460081c166131798161345a565b815167ffffffffffffffff81116107745761434d81614348606654611746565b612d38565b602080601f8311600114614398575081906143839460009261438d575b50506000198260011b9260031b1c191617606655613070565b6117d76001606955565b01519050388061436a565b919293601f1984166143cc60666000527f46501879b8ca8525e8c2fd519e2fbfcfa2ebea26501294aa02cbfcfb12e9435490565b936000905b828210614413575050916001939185614383979694106143fa575b505050811b01606655613070565b015160001960f88460031b161c191690553880806143ec565b806001869782949787015181550196019401906143d1565b7fffffffff00000000000000000000000000000000000000000000000000000000167f80ac58cd0000000000000000000000000000000000000000000000000000000081149081156144da575b81156144b0575b8115614489575090565b7f01ffc9a70000000000000000000000000000000000000000000000000000000091501490565b7f780e9d63000000000000000000000000000000000000000000000000000000008114915061447f565b7f5b5e139f0000000000000000000000000000000000000000000000000000000081149150614478565b6001600160a01b03809116801561457a576000906001928380606954915b614530575b50505050905090565b81811080156145745761454d575b614547906139ca565b85614522565b82614557826145e4565b5016840361453e579361456c614547916139ca565b94905061453e565b50614527565b608460405162461bcd60e51b815260206004820152602d60248201527f4552433732315073693a2062616c616e636520717565727920666f722074686560448201527f207a65726f2061646472657373000000000000000000000000000000000000006064820152fd5b6069548110156146ad57600090600891604060ff83851c931691838152606560205220548160ff181c80151560001461465657614623614629916154c4565b60ff1690565b9003911b175b614653614646826000526068602052604060002090565b546001600160a01b031690565b91565b5050600019905b614668811515615442565b0161467d816000526065602052604060002090565b548061468d57506000199061465d565b61462361469c6146a5926154c4565b60ff9081031690565b911b1761462f565b608460405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a206f776e657220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152fd5b1561471e57565b608460405162461bcd60e51b815260206004820152603160248201527f4552433732315073693a20617070726f7665206e6f74206f776e6572206e6f7260448201527f20617070726f76656420666f7220616c6c0000000000000000000000000000006064820152fd5b6069548110156147ac57600052606a6020526001600160a01b036040600020541690565b608460405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a20617070726f76656420717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152fd5b1561481d57565b608460405162461bcd60e51b815260206004820152603460248201527f4552433732315073693a207472616e736665722063616c6c6572206973206e6f60448201527f74206f776e6572206e6f7220617070726f7665640000000000000000000000006064820152fd5b1561488e57565b60405162461bcd60e51b815260206004820152603560248201527f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260448201527f31526563656976657220696d706c656d656e74657200000000000000000000006064820152608490fd5b0390fd5b60695482101561497a57614910826145e4565b506001600160a01b03808316908083168214948515614962575b505050821561493857505090565b60ff925090610adb61495d926001600160a01b0316600052606b602052604060002090565b541690565b61496f9192939550614788565b16149138808061492a565b608460405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a206f70657261746f7220717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152fd5b90604051916149f28361078d565b600090818452606954918315614b2e576001600160a01b038216614a17811515614b98565b614a2084614c09565b614a32614a2d86866136a2565b606955565b614a7d83614a4a866000526068602052604060002090565b906001600160a01b03167fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055565b614abf848060081c60005260656020527f800000000000000000000000000000000000000000000000000000000000000060ff604060002092161c8154179055565b614ac985856136a2565b907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92858282868180a46001938487015b848103614b1f57505050505050918161149f93614b1a6117d79694614c64565b615258565b8086918585858180a401614afa565b608460405162461bcd60e51b815260206004820152602560248201527f4552433732315073693a207175616e74697479206d757374206265206772656160448201527f74657220300000000000000000000000000000000000000000000000000000006064820152fd5b15614b9f57565b608460405162461bcd60e51b815260206004820152602360248201527f4552433732315073693a206d696e7420746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152fd5b60005261010e6020526040600020544210614c2057565b606460405162461bcd60e51b815260206004820152601b60248201527f546f6b656e207472616e73666572207768696c65206c6f636b656400000000006044820152fd5b8060005261010e60205260406000208054614c7d575050565b7ff27b6ce5b2f5e68ddb2fd95a8a909d4ecf1daaac270935fff052feacb24f184291600060209255604051908152a1565b15614cb557565b608460405162461bcd60e51b815260206004820152602760248201527f4552433732315073693a207472616e7366657220746f20746865207a65726f2060448201527f61646472657373000000000000000000000000000000000000000000000000006064820152fd5b9190614d2a826145e4565b6001600160a01b03949185831691908616829003614ebd57614dda846117d79787961694614d59861515614cae565b614d6287614c09565b614d6b87614f27565b614d7487613694565b614db96116858260ff7f8000000000000000000000000000000000000000000000000000000000000000918060081c6000526065602052161c60406000205416151590565b80614eb2575b614e52575b5050614a4a866000526068602052604060002090565b8303614e0b575b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4614c64565b614e4d838060081c60005260656020527f800000000000000000000000000000000000000000000000000000000000000060ff604060002092161c8154179055565b614de1565b614e6d614eab92614a4a836000526068602052604060002090565b8060081c60005260656020527f800000000000000000000000000000000000000000000000000000000000000060ff604060002092161c8154179055565b3880614dc4565b506069548110614dbf565b608460405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a207472616e73666572206f6620746f6b656e2074686160448201527f74206973206e6f74206f776e00000000000000000000000000000000000000006064820152fd5b80600052606a60205260406000207fffffffffffffffffffffffff0000000000000000000000000000000000000000815416905560006001600160a01b03614f6e836145e4565b50167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258280a4565b81600052606a602052614fdb816040600020906001600160a01b03167fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055565b614fe4826145e4565b506001600160a01b0391821691167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600080a4565b90816020910312610451575161064181610427565b61064193926001600160a01b03608093168252600060208301526040820152816060820152019061060b565b909261064194936080936001600160a01b0380921684521660208301526040820152816060820152019061060b565b6040513d6000823e3d90fd5b919290803b1561524f5790929160019081948285935b6150b9575b50505050505090565b6150c68697989596613694565b841015615246576040958651977f150b7a0200000000000000000000000000000000000000000000000000000000998a8a5260209a8b60049b808d898c8c33938501936151129461505a565b0390828160009381856001600160a01b038c165af1919282615217575b50506151c0578c8c8c615140613e21565b805193846151ba576148f984845191829162461bcd60e51b8352820160809060208152603560208201527f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260408201527f31526563656976657220696d706c656d656e746572000000000000000000000060608201520190565b84925001fd5b91939699509194979a506151df93969950826151eb575b5050966139ca565b928095929491956150ab565b7fffffffff000000000000000000000000000000000000000000000000000000001614905038806151d7565b615237929350803d1061523f575b61522f81836107c6565b810190615019565b90388e61512f565b503d615225565b849796506150b0565b50505050600190565b909290803b1561524f5792919060018091819585935b61527b5750505050505090565b6152898587989996976136a2565b841015615246576040958651977f150b7a0200000000000000000000000000000000000000000000000000000000998a8a5260209a8b60049b808d898c33928401926152d49361502e565b0390828160009381856001600160a01b038d165af191928261532b575b5050615302578c8c8c615140613e21565b91939699509194979a5061532093969950826151eb575050966139ca565b92859294919561526e565b615342929350803d1061523f5761522f81836107c6565b90388e6152f1565b6069546000198101908111610a2b5790565b90816020910312610451575161064181610b91565b6daaeb6d7670e522a718067333cd4e803b61538a575050565b6020604491604051928380927fc61711340000000000000000000000000000000000000000000000000000000082523060048301526001600160a01b03871660248301525afa90811561342757600091615424575b50156153e85750565b6040517fede71dcc0000000000000000000000000000000000000000000000000000000081526001600160a01b03919091166004820152602490fd5b61543c915060203d81116134535761344581836107c6565b386153df565b1561544957565b608460405162461bcd60e51b815260206004820152603460248201527f4269744d6170733a205468652073657420626974206265666f7265207468652060448201527f696e64657820646f65736e27742065786973742e0000000000000000000000006064820152fd5b908151811015613a55570160200190565b6040516154d0816107a9565b7ffd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f86101008083527e01020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7560208401527f06264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c960408401527f071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee360608401527f0e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf760808401527fff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c860a08401527f16365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f660c08401527ffe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf560e0840152820152811561045157615643615669917e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff8461064195600003160260f81c906154b3565b517fff000000000000000000000000000000000000000000000000000000000000001690565b60f81c9056fea2646970667358221220ff67c6b287c41d091cf7be0de36b0c313b867080b72901f566dd5da034ea096464736f6c63430008120033
Deployed Bytecode
0x6080604052600436101561001257600080fd5b60003560e01c806301ffc9a71461042257806304634d8d1461041d57806306afd5921461041857806306fdde0314610413578063075692ab1461040e578063081812fc14610409578063084b731a1461040457806308a27d87146103ff578063095ea7b3146103fa5780630c8a8c05146103f55780631205b07f146103f0578063121c93ca146103eb5780631637654a146103e6578063163986b0146103e157806316ba10e0146103dc57806318160ddd146103d75780631e6c689f146103d257806320be8c89146103cd57806323b872dd146103c8578063286028b4146103c35780632a55205a146103be5780632aa0ca0b146103b95780632eb4a7ab146103b45780632f9a7c58146103af57806332a989e9146103aa57806332cb6b0c146103a557806337a66d85146103a057806342842e0e1461039b5780634c322b15146103965780634fdd43cb14610391578063518302271461038c578063556c4e481461030a5780636352211e1461038757806370a0823114610382578063715018a61461037d57806379884269146103785780637cb64759146103735780637ed07e221461036e5780638462151c146103695780638b9a3764146103645780638cfec4c01461035f5780638da5cb5b1461035a57806395d89b4114610355578063a22cb46514610350578063a45ba8e71461034b578063a7e8294814610346578063a8d144cd14610341578063aa6b47031461033c578063b6eff87014610337578063b88d4fde14610332578063bc951b911461032d578063bcc295a114610328578063c3fbfbcf14610323578063c4da76271461031e578063c87b56dd14610319578063e086e5ec14610314578063e0a808531461030f578063e8a3d4851461030a578063e985e9c514610305578063efbd73f414610300578063efd0cbf9146102fb578063f1ec7dc7146102f6578063f2fde38b146102f1578063f4bb77ca146102ec5763fdda3391146102e757600080fd5b6128c4565b6127de565b612737565b61267d565b6125d5565b612517565b6124ad565b61185c565b6123c7565b612336565b612271565b612196565b61216f565b612150565b612131565b6120ad565b612034565b611eb7565b611dc5565b611da6565b611d8a565b611c90565b611be9565b611bc2565b611b97565b611b22565b611a92565b611a62565b611a40565b611a13565b61199f565b611978565b611948565b61171f565b611607565b61156e565b611443565b6113cc565b6113af565b6112e2565b6112c0565b6112a1565b61122b565b61117b565b61115c565b611114565b610fe3565b610fc4565b610fa1565b610e90565b610e46565b610dce565b610dac565b610b9b565b610b69565b610a4f565b610a30565b61099b565b61090c565b610871565b610644565b6105c9565b610506565b610456565b7fffffffff0000000000000000000000000000000000000000000000000000000081160361045157565b600080fd5b3461045157602060031936011261045157602060043561047581610427565b7f2a55205a000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008216149081156104e4575b81156104d4575b506040519015158152f35b6104de915061442b565b386104c9565b90506104ef8161442b565b906104c2565b6001600160a01b0381160361045157565b3461045157604060031936011261045157600435610523816104f5565b602435906bffffffffffffffffffffffff8216808303610451576001600160a01b0360609261057b7f730a818963b62f9ae752ce2533b813ba9efe03d0042c1db46072f937b1af09c6956105756128f2565b826135aa565b1690610111827fffffffffffffffffffffffff000000000000000000000000000000000000000082541617905560405191825260208201526127106040820152a1005b600091031261045157565b3461045157600060031936011261045157602061010654604051908152f35b60005b8381106105fb5750506000910152565b81810151838201526020016105eb565b90601f19601f602093610629815180928187528780880191016105e8565b0116010190565b90602061064192818152019061060b565b90565b346104515760008060031936011261072657604051908060665461066781611746565b808552916001918083169081156106fc57506001146106a1575b61069d85610691818703826107c6565b60405191829182610630565b0390f35b9250606683527f46501879b8ca8525e8c2fd519e2fbfcfa2ebea26501294aa02cbfcfb12e943545b8284106106e45750505081016020016106918261069d610681565b805460208587018101919091529093019281016106c9565b86955061069d9693506020925061069194915060ff191682840152151560051b8201019293610681565b80fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040810190811067ffffffffffffffff82111761077457604052565b610729565b67ffffffffffffffff811161077457604052565b6020810190811067ffffffffffffffff82111761077457604052565b610120810190811067ffffffffffffffff82111761077457604052565b90601f601f19910116810190811067ffffffffffffffff82111761077457604052565b67ffffffffffffffff811161077457601f01601f191660200190565b929192610811826107e9565b9161081f60405193846107c6565b829481845281830111610451578281602093846000960137010152565b9080601f830112156104515781602061064193359101610805565b610104359069ffffffffffffffffffff8216820361045157565b34610451576101206003193601126104515760243561088f816104f5565b6044359061089c826104f5565b67ffffffffffffffff60a435818111610451576108bd90369060040161083c565b9060c435908111610451576108d690369060040161083c565b60e4359169ffffffffffffffffffff831683036104515761090a946108f9610857565b946084359160643591600435612a12565b005b3461045157602060031936011261045157602061092a600435614788565b6001600160a01b0360405191168152f35b9181601f840112156104515782359167ffffffffffffffff8311610451576020808501948460051b01011161045157565b6020600319820112610451576004359067ffffffffffffffff8211610451576109979160040161093b565b9091565b34610451576109a93661096c565b906109b26128f2565b61010c54420191824211610a2b5760005b8181106109cc57005b806109db610a26928486613d96565b356000527f032bc66be43dbccb7487781d168eb7bda224628a3b2c3388bdf69b532a3a1611602061010e81526040878160002055610a1a848789613d96565b359051908152a16139ca565b6109c3565b6129d0565b3461045157600060031936011261045157602061011454604051908152f35b3461045157604060031936011261045157600435610a6c816104f5565b602435610a7882615371565b610a81816145e4565b50916001600160a01b038084168091831614610b005761090a93610aaf913314908115610ab4575b50614717565b614f96565b610afa9150610af390610adb33916001600160a01b0316600052606b602052604060002090565b906001600160a01b0316600052602052604060002090565b5460ff1690565b38610aa9565b608460405162461bcd60e51b8152602060048201526024808201527f4552433732315073693a20617070726f76616c20746f2063757272656e74206f60448201527f776e6572000000000000000000000000000000000000000000000000000000006064820152fd5b346104515760006003193601126104515760206001600160a01b036101115416604051908152f35b8015150361045157565b346104515760406003193601126104515767ffffffffffffffff60043581811161045157610bcd90369060040161083c565b9060243590610bdb82610b91565b610be36128f2565b82519081116107745761011290610c0381610bfe8454611746565b612c28565b602080601f8311600114610d23575081908495600092610d18575b50506000198260011b9260031b1c19161790555b610c8a575b5061010d5460a01c60ff165b610c4957005b7f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c60405180610c85819060001960206040840193600181520152565b0390a1005b61010d80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1682151560a01b74ff0000000000000000000000000000000000000000161790557f065a37dd451b30bda7bb1e45274b4f85715773fc9e0e4a7d3cefb29dd0ba421e90610d0f9060408051911515825242602083015290918291820190565b0390a138610c37565b015190503880610c1e565b6101126000529194601f1986167fe015f902c527607628f7649074b24d3efd1151f9f546ce1aecf38852c06da883936000905b828210610d9457505091600193918787989410610d7b575b505050811b019055610c32565b015160001960f88460031b161c19169055388080610d6e565b80600186978294978701518155019601940190610d56565b3461045157602060031936011261045157610dc56128f2565b60043561010655005b3461045157604060031936011261045157600435610deb81610b91565b610df36128f2565b61011180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1691151560a01b74ff00000000000000000000000000000000000000001691909117905560243561010c55005b3461045157600060031936011261045157602061010c54604051908152f35b6020600319820112610451576004359067ffffffffffffffff8211610451576106419160040161083c565b3461045157610e9e36610e65565b610ea66128f2565b805167ffffffffffffffff81116107745761011390610ece81610ec98454611746565b612c8a565b602080601f8311600114610f165750819293600092610f0b575b50506000198260011b9260031b1c19161790555b61010d5460a01c60ff16610c43565b015190503880610ee8565b90601f19831694610f4a6101136000527f1af827780c8eead77dc5a11451291f18043aa94313f832de8f85d1d7264809cc90565b926000905b878210610f89575050836001959610610f70575b505050811b019055610efc565b015160001960f88460031b161c19169055388080610f63565b80600185968294968601518155019501930190610f4f565b34610451576000600319360112610451576020610fbc61534a565b604051908152f35b3461045157600060031936011261045157602061010a54604051908152f35b3461045157610ff13661096c565b610ff9613a5a565b60005b81811061100d5761090a600160d055565b611018818385613d96565b35600052602061010e8152604090428260002054116110a65750907ff27b6ce5b2f5e68ddb2fd95a8a909d4ecf1daaac270935fff052feacb24f18426110996110a193600061107d61106b86898b613d96565b3560005261010e602052604060002090565b55611089848789613d96565b9051903581529081906020820190565b0390a16139ca565b610ffc565b606491519062461bcd60e51b82526004820152601260248201527f546f6f20736f6f6e20746f20756e6c6f636b00000000000000000000000000006044820152fd5b600319606091011261045157600435611100816104f5565b9060243561110d816104f5565b9060443590565b346104515761090a611125366110e8565b91336001600160a01b0382160361114e575b61114961114484336148fd565b614816565b614d1f565b61115733615371565b611137565b3461045157600060031936011261045157602061010854604051908152f35b3461045157604060031936011261045157600435600052606d6020526040600020604051906111a982610758565b54906001600160a01b03908183169283825260a01c6020820152911561121b575b6111f36111eb6bffffffffffffffffffffffff6020850151166024356129ff565b612710900490565b91511661069d60405192839283602090939291936001600160a01b0360408201951681520152565b90506112256129aa565b906111ca565b34610451576112393661096c565b906112426128f2565b60005b82811061124e57005b8061125d61129c928585613d96565b356000527ff27b6ce5b2f5e68ddb2fd95a8a909d4ecf1daaac270935fff052feacb24f1842602061010e81526040600081812055610a1a848888613d96565b611245565b3461045157600060031936011261045157602061010254604051908152f35b34610451576020600319360112610451576112d96128f2565b60043561010555005b34610451576040600319360112610451576024356004356113016128f2565b60009181835261010e9182602052604084205482101561136b577f1a79385e75a564007179c9299552e46b7a0348aa0258de4f92f1cc651174477d928185526020528160408520556113656040519283928360209093929193604081019481520152565b0390a180f35b606460405162461bcd60e51b815260206004820152601860248201527f43616e206e6f7420657874656e64206c6f636b2074696d6500000000000000006044820152fd5b34610451576000600319360112610451576020604051611e618152f35b34610451576000600319360112610451576113e56128f2565b61010d6001600160a01b037fffffffffffffffffffffffff00000000000000000000000000000000000000008254161790557f38d4174e7163889d8e9bd4aa2078c460fd3a1964ad51aef8de1467ee4b29ae116020604051428152a1005b346104515761090a61149f611457366110e8565b90336001600160a01b038416141592836114b2575b604051936114798561078d565b600085526114a4575b61148f61114484336148fd565b61149a838383614d1f565b615095565b614887565b6114ad33615371565b611482565b6114bb33615371565b61146c565b67ffffffffffffffff81116107745760051b60200190565b90815180825260208080930193019160005b8281106114f8575050505090565b8351855293810193928101926001016114ea565b939290611521906060865260608601906114d8565b936020948181038683015285808551928381520194019060005b8181106115585750505061064193945060408184039101526114d8565b825115158652948701949187019160010161153b565b34610451576020806003193601126104515760043567ffffffffffffffff81116104515736602382011215610451578060040135906115ac826114c0565b916115ba60405193846107c6565b80835260248484019160051b8301019136831161045157602401905b8282106115f85761069d6115e985613e82565b6040939193519384938461150c565b813581529084019084016115d6565b346104515761161536610e65565b61161d6128f2565b805167ffffffffffffffff81116107745761010390611645816116408454611746565b612ce1565b602080601f83116001146116945750819293600092611689575b50506000198260011b9260031b1c19161790555b61010d54610c439060a01c60ff161590565b1590565b01519050388061165f565b90601f198316946116c86101036000527f02c297ab74aad0aede3a1895c857b1f2c71e6a203feb727bec95ac752998cb7890565b926000905b8782106117075750508360019596106116ee575b505050811b019055611673565b015160001960f88460031b161c191690553880806116e1565b806001859682949686015181550195019301906116cd565b3461045157600060031936011261045157602060ff61010d5460a01c166040519015158152f35b90600182811c9216801561178f575b602083101461176057565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b91607f1691611755565b604051906000826101039182546117af81611746565b8084529360019180831690811561183757506001146117d9575b50506117d7925003836107c6565b565b600090815291507f02c297ab74aad0aede3a1895c857b1f2c71e6a203feb727bec95ac752998cb785b84831061181c57506117d7935050810160200138806117c9565b81935090816020925483858a01015201910190918592611802565b9050602093506117d795925060ff1991501682840152151560051b82010138806117c9565b34610451576000806003193601126107265760405190806101049081549061188382611746565b8086529260019280841690811561191b57506001146118c1575b61069d866118ad818803826107c6565b60405191829160208352602083019061060b565b815292507f4c0be60200faa20559308cb7b5a1bb3255c16cb1cab91f525b5ae7a03d02fabe5b8284106119035750505081016020016118ad8261069d3861189d565b805460208587018101919091529093019281016118e7565b87965061069d979450602093506118ad95925060ff1991501682840152151560051b82010192933861189d565b346104515760206003193601126104515760206119666004356145e4565b506001600160a01b0360405191168152f35b34610451576020600319360112610451576020610fbc60043561199a816104f5565b614504565b3461045157600080600319360112610726576119b96128f2565b806001600160a01b03609e547fffffffffffffffffffffffff00000000000000000000000000000000000000008116609e55167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b346104515760206003193601126104515760043560005261010e6020526020604060002054604051908152f35b3461045157602060031936011261045157611a596128f2565b60043561010255005b3461045157600060031936011261045157602061010954604051908152f35b9060206106419281815201906114d8565b3461045157602060031936011261045157600435611aaf816104f5565b6000611aba82614504565b611ac381613e51565b9160019384606954905b848403611ae2576040518061069d8882611a81565b8082889210611af2575b01611acd565b611afb816145e4565b506001600160a01b03808616911603611aec5780611b1c8387019689613b0c565b52611aec565b3461045157600060031936011261045157611b3b613a5a565b6101145415611b5357611b4c614169565b600160d055005b606460405162461bcd60e51b815260206004820152600f60248201527f4e6f7468696e6720746f20656d697400000000000000000000000000000000006044820152fd5b3461045157600060031936011261045157602069ffffffffffffffffffff61010d5416604051908152f35b346104515760006003193601126104515760206001600160a01b03609e5416604051908152f35b3461045157600080600319360112610726576040519080606754611c0c81611746565b808552916001918083169081156106fc5750600114611c355761069d85610691818703826107c6565b9250606783527f9787eeb91fe3101235e4a76063c7023ecb40f923f97916639c598592fa30d6ae5b828410611c785750505081016020016106918261069d610681565b80546020858701810191909152909301928101611c5d565b3461045157604060031936011261045157600435611cad816104f5565b602435611cb981610b91565b611cc282615371565b6001600160a01b03821691338314611d465781611d02611d149233600052606b6020526040600020906001600160a01b0316600052602052604060002090565b9060ff60ff1983541691151516179055565b604051901515815233907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190602090a3005b606460405162461bcd60e51b815260206004820152601c60248201527f4552433732315073693a20617070726f766520746f2063616c6c6572000000006044820152fd5b346104515760006003193601126104515761069d6118ad611799565b3461045157600060031936011261045157602061010554604051908152f35b3461045157604060031936011261045157600435602435611de46128f2565b808201808311610a2b57611e6103611e2c57611e1961090a926101095481101580611e1f575b611e1390613db0565b61010755565b61010855565b5061010a54831015611e0a565b606460405162461bcd60e51b815260206004820152601960248201527f4d75737420616c6c6f636174652066756c6c20737570706c79000000000000006044820152fd5b60406003198201126104515767ffffffffffffffff916004358381116104515782611e9d9160040161093b565b93909392602435918211610451576109979160040161093b565b3461045157611ec536611e70565b90611ed19392936128f2565b611ed9613a5a565b606954928394611eea848214613d4b565b6000935b808510611f45578686611f0461010c54426136a2565b915b818110611f175761090a600160d055565b8083611f31611f409360005261010e602052604060002090565b55611f3b81613a08565b6139ca565b611f06565b9091929394611fa761202b91611f7b611e61611f74611f6261534a565b611f6d8c8a8c613d96565b35906136a2565b11156136af565b611f9c611f96611f8c8a888a613d96565b3561010a546136a2565b61010a55565b611f6d888688613d96565b95611fd0611fbe611fb983868a613d96565b613da6565b611fc9838789613d96565b35906149e4565b7f806cd60f2e685a1e396a8baa63258d7a53ee827529ff0b205284da9c8e19e2e1611fff611fb983868a613d96565b61200a838789613d96565b604080516001600160a01b0390931683529035602083015281908101611099565b93929190611eee565b346104515760406003193601126104515760243561205181610b91565b6120596128f2565b60043561010b5561011180547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff1691151560a81b75ff00000000000000000000000000000000000000000016919091179055005b34610451576080600319360112610451576004356120ca816104f5565b602435906120d7826104f5565b6064359060443567ffffffffffffffff831161045157366023840112156104515761090a9361211361149f943690602481600401359101610805565b92336001600160a01b038216036114a45761148f61114484336148fd565b3461045157600060031936011261045157602061010b54604051908152f35b3461045157600060031936011261045157602061010754604051908152f35b3461045157600060031936011261045157602060ff6101115460a01c166040519015158152f35b34610451576121a436611e70565b9091926121af6128f2565b6121b7613a5a565b6121c2828514613d4b565b60005b8281106121d65761090a600160d055565b6121de61534a565b906121ea818785613d96565b358201809211610a2b57612205611e6161226c9311156136af565b612216611f96611f8c838987613d96565b612232612227611fb9838789613d96565b611fc9838987613d96565b7f806cd60f2e685a1e396a8baa63258d7a53ee827529ff0b205284da9c8e19e2e1612261611fb9838789613d96565b61200a838987613d96565b6121c5565b34610451576020600319360112610451576004356069548110156122f25761229761423b565b8051156122e0576106916122c7916122d26122cd6122b761069d96614019565b6040519586946020860190613f39565b90613f39565b613f50565b03601f1981018352826107c6565b505061069d6122ed612b8c565b610691565b606460405162461bcd60e51b815260206004820152601960248201527f4552433732313a206e6f6e6578697374656e7420746f6b656e000000000000006044820152fd5b3461045157600080600319360112610726576123506128f2565b612358613a5a565b808080806001600160a01b03610111541647905af1612375613e21565b501561238357600160d05580f35b606460405162461bcd60e51b815260206004820152600f60248201527f5472616e73666572206661696c656400000000000000000000000000000000006044820152fd5b346104515760206003193601126104515760ff6004356123e681610b91565b6123ee6128f2565b61010d80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1691151560a081901b74ff00000000000000000000000000000000000000001692909217908190556040805192835242602084015290917f065a37dd451b30bda7bb1e45274b4f85715773fc9e0e4a7d3cefb29dd0ba421e9190a160a01c1661247957005b7f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c60408051600181526000196020820152a1005b3461045157604060031936011261045157602060ff61250b6004356124d1816104f5565b6001600160a01b03602435916124e6836104f5565b16600052606b84526040600020906001600160a01b0316600052602052604060002090565b54166040519015158152f35b3461045157604060031936011261045157600435602435612537816104f5565b61253f61534a565b828101809111610a2b57611e616125579111156136af565b61010a5491808301809311610a2b5761257861090a93610108541015613b20565b8015158061258f575b61258a90613b6b565b613cae565b508060ff6101115460a81c166000906000146125c857506125bb61258a916125b633614504565b6136a2565b61010b5410159050612581565b61258a916125bb916136a2565b6020600319360112610451576004356125ec61534a565b818101809111610a2b57611e616126049111156136af565b61010a5490808201809211610a2b5761262561090a92610108541015613b20565b8015158061263c575b61263790613b6b565b613bb6565b508060ff6101115460a81c166000906000146126705750612663612637916125b633614504565b61010b541015905061262e565b61263791612663916136a2565b60606003193601126104515760043560243567ffffffffffffffff8111610451576126ac90369060040161093b565b6126b792919261534a565b828101809111610a2b57611e616126cf9111156136af565b61010954828101809111610a2b5761010754106126f35761090a9260443592613745565b606460405162461bcd60e51b815260206004820152601a60248201527f57686974656c69737420737570706c79206578636565646564210000000000006044820152fd5b3461045157602060031936011261045157600435612754816104f5565b61275c6128f2565b6001600160a01b038116156127745761090a9061294a565b608460405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152fd5b346104515760406003193601126104515769ffffffffffffffffffff60043581811680820361045157602435928316809303610451577fe391e8dc0585b33caa09ae7053660247eebb0622d34c3d069448827f541f3dc79261288c6040936128446128f2565b61010d907fffffffffffffffffffffffff00000000000000000000ffffffffffffffffffff73ffffffffffffffffffff0000000000000000000083549260501b169116179055565b61010d817fffffffffffffffffffffffffffffffffffffffffffff0000000000000000000082541617905582519182526020820152a1005b3461045157600060031936011261045157602069ffffffffffffffffffff61010d5460501c16604051908152f35b6001600160a01b03609e5416330361290657565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b609e54906001600160a01b0380911691827fffffffffffffffffffffffff0000000000000000000000000000000000000000821617609e55167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3565b604051906129b782610758565b606c546001600160a01b038116835260a01c6020830152565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b81810292918115918404141715610a2b57565b96949290979593916000549860ff8a60081c1615809a819b612b7e575b8115612b5e575b5015612af457612a5c988a612a53600160ff196000541617600055565b612abe57613159565b612a6257565b612a8f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff60005416600055565b604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249890602090a1565b612aef6101007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff6000541617600055565b613159565b608460405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152fd5b303b15915081612b70575b5038612a36565b6001915060ff161438612b69565b600160ff8216109150612a2f565b60405190612b998261078d565b60008252565b60405190612bac82610758565b601382527f52617363616c73206f66207468652057696c64000000000000000000000000006020830152565b60405190612be582610758565b600482527f524f5457000000000000000000000000000000000000000000000000000000006020830152565b818110612c1c575050565b60008155600101612c11565b90601f8211612c35575050565b6117d7916101126000527fe015f902c527607628f7649074b24d3efd1151f9f546ce1aecf38852c06da883906020601f840160051c83019310612c80575b601f0160051c0190612c11565b9091508190612c73565b90601f8211612c97575050565b6117d7916101136000527f1af827780c8eead77dc5a11451291f18043aa94313f832de8f85d1d7264809cc906020601f840160051c83019310612c8057601f0160051c0190612c11565b90601f8211612cee575050565b6117d7916101036000527f02c297ab74aad0aede3a1895c857b1f2c71e6a203feb727bec95ac752998cb78906020601f840160051c83019310612c8057601f0160051c0190612c11565b90601f8211612d45575050565b6117d79160666000527f46501879b8ca8525e8c2fd519e2fbfcfa2ebea26501294aa02cbfcfb12e94354906020601f840160051c83019310612c8057601f0160051c0190612c11565b90601f8211612d9b575050565b6117d7916101046000527f4c0be60200faa20559308cb7b5a1bb3255c16cb1cab91f525b5ae7a03d02fabe906020601f840160051c83019310612c8057601f0160051c0190612c11565b90601f8211612df2575050565b6117d79160676000527f9787eeb91fe3101235e4a76063c7023ecb40f923f97916639c598592fa30d6ae906020601f840160051c83019310612c8057601f0160051c0190612c11565b610113612e488154611746565b601f8111612e77575b507f2e6a736f6e00000000000000000000000000000000000000000000000000000a9055565b6000828152601f7f1af827780c8eead77dc5a11451291f18043aa94313f832de8f85d1d7264809cc920160051c8201915b828110612eb6575050612e51565b818155600101612ea8565b90815167ffffffffffffffff81116107745761010390612ee5816116408454611746565b602080601f8311600114612f20575081929394600092612f15575b50506000198260011b9260031b1c1916179055565b015190503880612f00565b90601f19831695612f546101036000527f02c297ab74aad0aede3a1895c857b1f2c71e6a203feb727bec95ac752998cb7890565b926000905b888210612f9157505083600195969710612f78575b505050811b019055565b015160001960f88460031b161c19169055388080612f6e565b80600185968294968601518155019501930190612f59565b90815167ffffffffffffffff81116107745761010490612fd281612fcd8454611746565b612d8e565b602080601f8311600114613001575081929394600092612f155750506000198260011b9260031b1c1916179055565b90601f198316956130356101046000527f4c0be60200faa20559308cb7b5a1bb3255c16cb1cab91f525b5ae7a03d02fabe90565b926000905b88821061305857505083600195969710612f7857505050811b019055565b8060018596829496860151815501950193019061303a565b90815167ffffffffffffffff81116107745761309681613091606754611746565b612de5565b602080601f83116001146130d157508192936000926130c6575b50506000198260011b9260031b1c191617606755565b0151905038806130b0565b90601f1983169461310460676000527f9787eeb91fe3101235e4a76063c7023ecb40f923f97916639c598592fa30d6ae90565b926000905b878210613141575050836001959610613128575b505050811b01606755565b015160001960f88460031b161c1916905538808061311d565b80600185968294968601518155019501930190613109565b90979593979694929196600061317e60ff825460081c166131798161345a565b61345a565b6daaeb6d7670e522a718067333cd4e90813b613321575b505061327e9695936132336117d79a61322d612844966132276132459a976131e8613240986131d36131c5612b9f565b6131cd612bd8565b90614312565b6131db6134e9565b6131e36134cb565b61294a565b6131f3606461010b55565b6132216101117fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff8154169055565b61010255565b61010655565b61010555565b61323b612e3b565b612ec1565b612fa9565b69ffffffffffffffffffff61010d91167fffffffffffffffffffffffffffffffffffffffffffff00000000000000000000825416179055565b61011180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383161790556132be6103e861010755565b6132ca611a7961010855565b6132d76206978061010c55565b61331c610111740100000000000000000000000000000000000000007fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff825416179055565b613550565b6040517fc3c5a54700000000000000000000000000000000000000000000000000000000815230600482015260208160248185875af190811561342757829161342c575b50613195578194969392989795913b15610726576040517f7d3e3dbe000000000000000000000000000000000000000000000000000000008152306004820152733cc6cdda760b79bafa08df41ecfa224f810dceb66024820152948590604490829084905af18015613427576117d79a61322d61324598613227613240966131e861327e9e6128449b6132339861340e575b50985050979a50509650509a508195979850613195565b8061341b61342192610779565b806105be565b386133f7565b615089565b61344d915060203d8111613453575b61344581836107c6565b81019061535c565b38613365565b503d61343b565b1561346157565b608460405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152fd5b6134e060ff60005460081c166131798161345a565b6117d73361294a565b6134fe60ff60005460081c166131798161345a565b600160d055565b1561350c57565b606460405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152fd5b6001600160a01b036117d79116613568811515613505565b6040519061357582610758565b8082526101f46020909201919091526001600160a01b03167501f4000000000000000000000000000000000000000017606c55565b906bffffffffffffffffffffffff16612710811161362a576001600160a01b036117d79216906135db821515613505565b604051916135e883610758565b825260208201527fffffffffffffffffffffffff000000000000000000000000000000000000000060206001600160a01b0383511692015160a01b1617606c55565b608460405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152fd5b9060018201809211610a2b57565b91908201809211610a2b57565b156136b657565b606460405162461bcd60e51b815260206004820152601460248201527f4d617820737570706c79206578636565646564210000000000000000000000006044820152fd5b1561370157565b606460405162461bcd60e51b815260206004820152601860248201527f496e636f7272656374207061796d656e7420616d6f756e7400000000000000006044820152fd5b9392916137f3916137ee9161376761376088610106546129ff565b34146136fa565b61376f613a5a565b6137a661379e61378f61010d5469ffffffffffffffffffff9060501c1690565b69ffffffffffffffffffff1690565b4210156138cf565b6040805133602082019081529181018790526137e9916137d5916137cd81606081016122d2565b51902061391a565b602081519101209261010254923691613931565b613aaf565b61397f565b61380961380384610109546136a2565b61010955565b6069549261381781856136a2565b61382182336149e4565b6101115460a01c60ff1661387e575b506040805133815260208101929092528101919091529091507f51fc157cbceafe43ec04a2cb1b6a6971c161b39e4303775c6df1ce5843a7e6fa9080606081015b0390a16117d7600160d055565b610114546138c2575b61389461010c54426136a2565b945b8181106138a35750613830565b8086611f316138bd9360005261010e602052604060002090565b613896565b6138ca614169565b613887565b156138d657565b606460405162461bcd60e51b815260206004820152601b60248201527f57686974656c6973742073616c65206e6f7420656e61626c65642100000000006044820152fd5b90604051916020830152602082526117d782610758565b929161393c826114c0565b9161394a60405193846107c6565b829481845260208094019160051b810192831161045157905b8282106139705750505050565b81358152908301908301613963565b1561398657565b606460405162461bcd60e51b815260206004820152600e60248201527f496e76616c69642070726f6f66210000000000000000000000000000000000006044820152fd5b6000198114610a2b5760010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b610114805490680100000000000000008210156107745760018201808255821015613a55576000527f7bcceeb45a7fc3e9ab41757c29868f6027a0954a5b36f3d0216dd22b389c2f050155565b6139d9565b600260d05414613a6b57600260d055565b606460405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152fd5b929091906000915b8451831015613b0457613aca8386613b0c565b5190600082821015613af25750600052602052613aec60406000205b926139ca565b91613ab7565b604091613aec93825260205220613ae6565b915092501490565b8051821015613a555760209160051b010190565b15613b2757565b606460405162461bcd60e51b815260206004820152601760248201527f5075626c696320737570706c79206578636565646564210000000000000000006044820152fd5b15613b7257565b606460405162461bcd60e51b815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e74210000000000000000000000006044820152fd5b613bc661376082610105546129ff565b613bce613a5a565b69ffffffffffffffffffff61010d54164210613c6a57610111547f2b9b5f231350be1ad74fdc2e455baf61e5cecc08206b88e31158e38214462bd7916138719160a01c60ff1680613c5e575b613c51575b613c2f611f968261010a546136a2565b613c3981336149e4565b60408051338152602081019290925290918291820190565b613c59614169565b613c1f565b50610114541515613c1a565b606460405162461bcd60e51b815260206004820152601a60248201527f5075626c6963206d696e74696e67206e6f74206163746976652e0000000000006044820152fd5b613cb66128f2565b613cbe613a5a565b60ff6101115460a01c1680613d3f575b613d32575b61010a918254828101809111610a2b577f806cd60f2e685a1e396a8baa63258d7a53ee827529ff0b205284da9c8e19e2e19355613d1082826149e4565b604080516001600160a01b039290921682526020820192909252a1600160d055565b613d3a614169565b613cd3565b50610114541515613cce565b15613d5257565b606460405162461bcd60e51b815260206004820152600e60248201527f4172726179204d69736d617463680000000000000000000000000000000000006044820152fd5b9190811015613a555760051b0190565b35610641816104f5565b15613db757565b608460405162461bcd60e51b815260206004820152602c60248201527f43616e206e6f74207365742076616c756573206c657373207468616e20616c7260448201527f65616479206d696e7465642e00000000000000000000000000000000000000006064820152fd5b3d15613e4c573d90613e32826107e9565b91613e4060405193846107c6565b82523d6000602084013e565b606090565b90613e5b826114c0565b613e6860405191826107c6565b828152601f19613e7882946114c0565b0190602036910137565b90815190613e8f826114c0565b92613e9d60405194856107c6565b828452601f19613eac846114c0565b01366020860137613ebc83613e51565b9260005b818110613ece575050929190565b613f2f9042613ef2613ee08387613b0c565b5160005261010e602052604060002090565b5411600090600014613f34575060015b613f0c8289613b0c565b9015159052613f1e613ee08286613b0c565b54613f298288613b0c565b526139ca565b613ec0565b613f02565b90613f4c602092828151948592016105e8565b0190565b90600091610113908154613f6381611746565b92600191808316908115613fd75750600114613f80575b50505050565b9091929394506000527f1af827780c8eead77dc5a11451291f18043aa94313f832de8f85d1d7264809cc906000915b848310613fc457505050019038808080613f7a565b8181602092548587015201920191613faf565b60ff1916845250505081151590910201915038808080613f7a565b90613ffc826107e9565b61400960405191826107c6565b828152601f19613e7882946107e9565b806000917a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008082101561415b575b506d04ee2d6d415b85acef81000000008083101561414c575b50662386f26fc100008083101561413d575b506305f5e1008083101561412e575b506127108083101561411f575b50606482101561410f575b600a80921015614105575b6001908160216140b0828701613ff2565b95860101905b6140c2575b5050505090565b600019849101917f30313233343536373839616263646566000000000000000000000000000000008282061a835304918215614100579190826140b6565b6140bb565b916001019161409f565b9190606460029104910191614094565b60049193920491019138614089565b6008919392049101913861407c565b6010919392049101913861406d565b6020919392049101913861405b565b604093508104915038614042565b6101148054805b614178575050565b60001980820190828211610a2b57835480921015613a55576000908482527f7bcceeb45a7fc3e9ab41757c29868f6027a0954a5b36f3d0216dd22b389c2f04907f032bc66be43dbccb7487781d168eb7bda224628a3b2c3388bdf69b532a3a1611602083870154604051908152a1831561420e5783019280841015613a5557858352015582558015610a2b576000190180614170565b6024837f4e487b710000000000000000000000000000000000000000000000000000000081526031600452fd5b60ff61010d5460a01c161561430a5760405160008161011291825461425f81611746565b808452936001918083169081156142e55750600114614287575b5050610641925003826107c6565b600090815291507fe015f902c527607628f7649074b24d3efd1151f9f546ce1aecf38852c06da8835b8483106142ca575061064193505081016020013880614279565b819350908160209254838589010152019101909184926142b0565b90506020935061064195925060ff1991501682840152151560051b8201013880614279565b610641611799565b9061432860ff60005460081c166131798161345a565b815167ffffffffffffffff81116107745761434d81614348606654611746565b612d38565b602080601f8311600114614398575081906143839460009261438d575b50506000198260011b9260031b1c191617606655613070565b6117d76001606955565b01519050388061436a565b919293601f1984166143cc60666000527f46501879b8ca8525e8c2fd519e2fbfcfa2ebea26501294aa02cbfcfb12e9435490565b936000905b828210614413575050916001939185614383979694106143fa575b505050811b01606655613070565b015160001960f88460031b161c191690553880806143ec565b806001869782949787015181550196019401906143d1565b7fffffffff00000000000000000000000000000000000000000000000000000000167f80ac58cd0000000000000000000000000000000000000000000000000000000081149081156144da575b81156144b0575b8115614489575090565b7f01ffc9a70000000000000000000000000000000000000000000000000000000091501490565b7f780e9d63000000000000000000000000000000000000000000000000000000008114915061447f565b7f5b5e139f0000000000000000000000000000000000000000000000000000000081149150614478565b6001600160a01b03809116801561457a576000906001928380606954915b614530575b50505050905090565b81811080156145745761454d575b614547906139ca565b85614522565b82614557826145e4565b5016840361453e579361456c614547916139ca565b94905061453e565b50614527565b608460405162461bcd60e51b815260206004820152602d60248201527f4552433732315073693a2062616c616e636520717565727920666f722074686560448201527f207a65726f2061646472657373000000000000000000000000000000000000006064820152fd5b6069548110156146ad57600090600891604060ff83851c931691838152606560205220548160ff181c80151560001461465657614623614629916154c4565b60ff1690565b9003911b175b614653614646826000526068602052604060002090565b546001600160a01b031690565b91565b5050600019905b614668811515615442565b0161467d816000526065602052604060002090565b548061468d57506000199061465d565b61462361469c6146a5926154c4565b60ff9081031690565b911b1761462f565b608460405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a206f776e657220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152fd5b1561471e57565b608460405162461bcd60e51b815260206004820152603160248201527f4552433732315073693a20617070726f7665206e6f74206f776e6572206e6f7260448201527f20617070726f76656420666f7220616c6c0000000000000000000000000000006064820152fd5b6069548110156147ac57600052606a6020526001600160a01b036040600020541690565b608460405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a20617070726f76656420717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152fd5b1561481d57565b608460405162461bcd60e51b815260206004820152603460248201527f4552433732315073693a207472616e736665722063616c6c6572206973206e6f60448201527f74206f776e6572206e6f7220617070726f7665640000000000000000000000006064820152fd5b1561488e57565b60405162461bcd60e51b815260206004820152603560248201527f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260448201527f31526563656976657220696d706c656d656e74657200000000000000000000006064820152608490fd5b0390fd5b60695482101561497a57614910826145e4565b506001600160a01b03808316908083168214948515614962575b505050821561493857505090565b60ff925090610adb61495d926001600160a01b0316600052606b602052604060002090565b541690565b61496f9192939550614788565b16149138808061492a565b608460405162461bcd60e51b815260206004820152602f60248201527f4552433732315073693a206f70657261746f7220717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152fd5b90604051916149f28361078d565b600090818452606954918315614b2e576001600160a01b038216614a17811515614b98565b614a2084614c09565b614a32614a2d86866136a2565b606955565b614a7d83614a4a866000526068602052604060002090565b906001600160a01b03167fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055565b614abf848060081c60005260656020527f800000000000000000000000000000000000000000000000000000000000000060ff604060002092161c8154179055565b614ac985856136a2565b907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92858282868180a46001938487015b848103614b1f57505050505050918161149f93614b1a6117d79694614c64565b615258565b8086918585858180a401614afa565b608460405162461bcd60e51b815260206004820152602560248201527f4552433732315073693a207175616e74697479206d757374206265206772656160448201527f74657220300000000000000000000000000000000000000000000000000000006064820152fd5b15614b9f57565b608460405162461bcd60e51b815260206004820152602360248201527f4552433732315073693a206d696e7420746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152fd5b60005261010e6020526040600020544210614c2057565b606460405162461bcd60e51b815260206004820152601b60248201527f546f6b656e207472616e73666572207768696c65206c6f636b656400000000006044820152fd5b8060005261010e60205260406000208054614c7d575050565b7ff27b6ce5b2f5e68ddb2fd95a8a909d4ecf1daaac270935fff052feacb24f184291600060209255604051908152a1565b15614cb557565b608460405162461bcd60e51b815260206004820152602760248201527f4552433732315073693a207472616e7366657220746f20746865207a65726f2060448201527f61646472657373000000000000000000000000000000000000000000000000006064820152fd5b9190614d2a826145e4565b6001600160a01b03949185831691908616829003614ebd57614dda846117d79787961694614d59861515614cae565b614d6287614c09565b614d6b87614f27565b614d7487613694565b614db96116858260ff7f8000000000000000000000000000000000000000000000000000000000000000918060081c6000526065602052161c60406000205416151590565b80614eb2575b614e52575b5050614a4a866000526068602052604060002090565b8303614e0b575b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4614c64565b614e4d838060081c60005260656020527f800000000000000000000000000000000000000000000000000000000000000060ff604060002092161c8154179055565b614de1565b614e6d614eab92614a4a836000526068602052604060002090565b8060081c60005260656020527f800000000000000000000000000000000000000000000000000000000000000060ff604060002092161c8154179055565b3880614dc4565b506069548110614dbf565b608460405162461bcd60e51b815260206004820152602c60248201527f4552433732315073693a207472616e73666572206f6620746f6b656e2074686160448201527f74206973206e6f74206f776e00000000000000000000000000000000000000006064820152fd5b80600052606a60205260406000207fffffffffffffffffffffffff0000000000000000000000000000000000000000815416905560006001600160a01b03614f6e836145e4565b50167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258280a4565b81600052606a602052614fdb816040600020906001600160a01b03167fffffffffffffffffffffffff0000000000000000000000000000000000000000825416179055565b614fe4826145e4565b506001600160a01b0391821691167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600080a4565b90816020910312610451575161064181610427565b61064193926001600160a01b03608093168252600060208301526040820152816060820152019061060b565b909261064194936080936001600160a01b0380921684521660208301526040820152816060820152019061060b565b6040513d6000823e3d90fd5b919290803b1561524f5790929160019081948285935b6150b9575b50505050505090565b6150c68697989596613694565b841015615246576040958651977f150b7a0200000000000000000000000000000000000000000000000000000000998a8a5260209a8b60049b808d898c8c33938501936151129461505a565b0390828160009381856001600160a01b038c165af1919282615217575b50506151c0578c8c8c615140613e21565b805193846151ba576148f984845191829162461bcd60e51b8352820160809060208152603560208201527f4552433732315073693a207472616e7366657220746f206e6f6e20455243373260408201527f31526563656976657220696d706c656d656e746572000000000000000000000060608201520190565b84925001fd5b91939699509194979a506151df93969950826151eb575b5050966139ca565b928095929491956150ab565b7fffffffff000000000000000000000000000000000000000000000000000000001614905038806151d7565b615237929350803d1061523f575b61522f81836107c6565b810190615019565b90388e61512f565b503d615225565b849796506150b0565b50505050600190565b909290803b1561524f5792919060018091819585935b61527b5750505050505090565b6152898587989996976136a2565b841015615246576040958651977f150b7a0200000000000000000000000000000000000000000000000000000000998a8a5260209a8b60049b808d898c33928401926152d49361502e565b0390828160009381856001600160a01b038d165af191928261532b575b5050615302578c8c8c615140613e21565b91939699509194979a5061532093969950826151eb575050966139ca565b92859294919561526e565b615342929350803d1061523f5761522f81836107c6565b90388e6152f1565b6069546000198101908111610a2b5790565b90816020910312610451575161064181610b91565b6daaeb6d7670e522a718067333cd4e803b61538a575050565b6020604491604051928380927fc61711340000000000000000000000000000000000000000000000000000000082523060048301526001600160a01b03871660248301525afa90811561342757600091615424575b50156153e85750565b6040517fede71dcc0000000000000000000000000000000000000000000000000000000081526001600160a01b03919091166004820152602490fd5b61543c915060203d81116134535761344581836107c6565b386153df565b1561544957565b608460405162461bcd60e51b815260206004820152603460248201527f4269744d6170733a205468652073657420626974206265666f7265207468652060448201527f696e64657820646f65736e27742065786973742e0000000000000000000000006064820152fd5b908151811015613a55570160200190565b6040516154d0816107a9565b7ffd1e3e5a7a8aa2b670c4ced8bbe8f0f4fc3d79a1c3cde7effb78cce6facbf9f86101008083527e01020903110a19042112290b311a3905412245134d2a550c5d32651b6d3a7560208401527f06264262237d468514804e8d2b95569d0d495ea533a966b11c886eb93bc176c960408401527f071727374353637324837e9b47af86c7155181ad4fd18ed32c9096db57d59ee360608401527f0e2e4a6a5f92a6be3498aae067ddb2eb1d5989b56fd7baf33ca0c2ee77e5caf760808401527fff0810182028303840444c545c646c7425617c847f8c949c48a4a8b087b8c0c860a08401527f16365272829aaec650acd0d28fdad4e22d6991bd97dfdcea58b4d6f29fede4f660c08401527ffe0f1f2f3f4b5b6b607b8b93a3a7b7bf357199c5abcfd9e168bcdee9b3f1ecf560e0840152820152811561045157615643615669917e818283848586878898a8b8c8d8e8f929395969799a9b9d9e9faaeb6bedeeff8461064195600003160260f81c906154b3565b517fff000000000000000000000000000000000000000000000000000000000000001690565b60f81c9056fea2646970667358221220ff67c6b287c41d091cf7be0de36b0c313b867080b72901f566dd5da034ea096464736f6c63430008120033
Deployed Bytecode Sourcemap
832:18497: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;:::-;;:::i;:::-;;:::i;:::-;;:::i;:::-;;;;;;;:::o;:::-;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;;:::i;:::-;1825:37:7;832:18497:17;;;1810:52:7;:92;;;;;832:18497:17;17786:102;;;;832:18497;;;;;;;;;;17786:102;17851:37;;;;:::i;:::-;17786:102;;;1810:92:7;1866:36;;;;;:::i;:::-;1810:92;;;832:18497:17;-1:-1:-1;;;;;832:18497:17;;;;;:::o;:::-;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;832:18497:17;1303:62:0;11827:13:17;11889:50;1303:62:0;;;:::i;:::-;11827:13:17;;:::i;:::-;832:18497;11851:23;;832:18497;;;;;;;;;;;;;;;;;11933:5;832:18497;;;;11889:50;832:18497;;;;;;;;:::o;:::-;;;;;-1:-1:-1;;832:18497:17;;;;;;1567:21;832:18497;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;:::o;:::-;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::o;:::-;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;5571:5:18;832:18497:17;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;5571:5:18;832:18497:17;;;;;;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;:::i;:::-;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;-1:-1:-1;;832:18497:17;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;832:18497:17;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;5444:1096;832:18497;;;:::i;:::-;;;;;;;;;;5444:1096;:::i;:::-;832:18497;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;1303:62:0;;;:::i;:::-;11270:10:17;832:18497;11252:15;832:18497;11252:15;;;832:18497;;;-1:-1:-1;11307:20:17;;;;;;832:18497;11329:3;11358:12;;11329:3;11358:12;;;;:::i;:::-;832:18497;-1:-1:-1;832:18497:17;11403:20;832:18497;11348:9;832:18497;;;;;-1:-1:-1;832:18497:17;;11410:12;;;;;:::i;:::-;832:18497;;;;;;11403:20;11329:3;:::i;:::-;11295:10;;832:18497;;:::i;:::-;;;;;-1:-1:-1;;832:18497:17;;;;;;15389:12;832:18497;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;:::i;:::-;;;2941:8:23;;;:::i;:::-;5059:29:18;;;:::i;:::-;832:18497:17;;-1:-1:-1;;;;;832:18497:17;;;;;;;6669:11:18;832:18497:17;;6914:7:18;929:10:9;6732:158:18;929:10:9;;6753:21:18;:62;;;;;832:18497: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;-1:-1:-1;;;;;832:18497:17;;;8129:18:18;832:18497:17;;;;;;;8129:25:18;832:18497:17;-1:-1:-1;;;;;832:18497:17;;;;;;;;;;8129:35:18;832:18497:17;;;;;8129:35:18;6753:62;;;832:18497:17;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;-1:-1:-1;;;;;3454:26:17;832:18497;;;;;;;;;;;;;;;:::o;:::-;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;1303:62:0;;:::i;:::-;832:18497:17;;;;;;;12052:22;832:18497;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;832:18497:17;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;;12084:113;;832:18497;-1:-1:-1;12210:8:17;832:18497;;;;;;12206:85;;832:18497;12206:85;12239:41;832:18497;;12239:41;;;832:18497;-1:-1:-1;;832:18497:17;;;;;12259:1;832:18497;;;;;12239:41;;;;832:18497;12084:113;12111:18;832:18497;;;;;;;;;;;;;;12148:38;;;;832:18497;;;;;;;;12170:15;832:18497;;;;;;;;;;;;12148:38;;;;12084:113;;;832:18497;;;;-1:-1:-1;832:18497:17;;;;;12052:22;832:18497;;;;-1:-1:-1;;832:18497:17;;;;-1:-1:-1;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;1303:62:0;;:::i;:::-;832:18497:17;;13623:16;832:18497;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;:::i;:::-;1303:62:0;;:::i;:::-;10782:28:17;832:18497;;;;;;;;;;;;;;;;;;;10820:22;832:18497;;;;;;;-1:-1:-1;;832:18497:17;;;;;;2454:25;832:18497;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;1303:62:0;;:::i;:::-;832:18497:17;;;;;;;12389:22;832:18497;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;;12425:8;832:18497;;;;;;;;;;;-1:-1:-1;832:18497:17;;;;;;-1:-1:-1;;832:18497:17;;;;12389:22;832:18497;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;17815:14:18;;:::i;:::-;832:18497:17;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;2166:24;832:18497;;;;;;;;;;;;;;:::i;:::-;2471:103:3;;:::i;:::-;10295:1:17;10298:20;;;;;;2536:1:3;1787;2065:22;832:18497:17;1985:109:3;10320:3:17;10357:12;;;;;:::i;:::-;832:18497;10295:1;832:18497;;10347:9;832:18497;;;10374:15;;832:18497;10295:1;832:18497;;10347:42;832:18497;;10443:12;;10475:22;;10320:3;10443:12;10295:1;10433:23;10443:12;;;;;:::i;:::-;832:18497;;;10347:9;832:18497;;;;;;;10433:23;832:18497;10484:12;;;;;:::i;:::-;832:18497;;;;;;;;;;;;;;10475:22;;;;10320:3;:::i;:::-;10286:10;;832:18497;;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;8583:7:18;832:18497:17;;;:::i;:::-;2663:10:23;;-1:-1:-1;;;;;832:18497:17;;2655:18:23;2651:81;;832:18497: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:18497:17;;;;;-1:-1:-1;;832:18497:17;;;;;;1927:24;832:18497;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;-1:-1:-1;832:18497:17;2122:17:7;832:18497:17;;;-1:-1:-1;832:18497:17;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;832:18497:17;;;;;;;;;;;;;;2163:30:7;;2159:90;;832:18497:17;2283:57:7;2284:35;832:18497:17;;2296:23:7;;832:18497:17;;;;2284:35:7;:::i;:::-;832:18497:17;;;;;2283:57:7;832:18497:17;;;;;;;;;;;;;;;;-1:-1:-1;;;;;832:18497:17;;;;;;;;;;2159:90:7;832:18497:17;;;;:::i;:::-;2159:90:7;;;832:18497:17;;;;;;;:::i;:::-;1303:62:0;;;:::i;:::-;11553:1:17;11556:20;;;;;;832:18497;11578:3;11614:12;;11578:3;11614:12;;;;:::i;:::-;832:18497;11553:1;832:18497;11646:22;832:18497;11604:9;832:18497;;;11553:1;832:18497;;;;11655:12;;;;;:::i;11578:3::-;11544:10;;832:18497;;;;;-1:-1:-1;;832:18497:17;;;;;;1113:25;832:18497;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;1303:62:0;;:::i;:::-;832:18497:17;;13511:18;832:18497;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;1303:62:0;;:::i;:::-;-1:-1:-1;832:18497:17;;;;10987:9;832:18497;;;;;;;;10970:36;;832:18497;;;11097:42;832:18497;;;;;;;;;;;11097:42;832:18497;;11097:42;;;;832:18497;;;;;;;;;;;;;;;11097:42;;;;832:18497;;;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;1690:4;832:18497;;;;;;;;-1:-1:-1;;832:18497:17;;;;;1303:62:0;;:::i;:::-;14329:34:17;-1:-1:-1;;;;;832:18497:17;;;;;;;14434:30;832:18497;;;14448:15;832:18497;;14434:30;832:18497;;;;;10305:150:18;10326:50;832:18497:17;;;:::i;:::-;2663:10:23;;-1:-1:-1;;;;;832:18497:17;;2655:18:23;;2651:81;;;;832:18497:17;;;;;;;:::i;:::-;;;;2651:81:23;;832:18497: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:18497:17;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;-1:-1:-1;832:18497:17;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;1303:62:0;;:::i;:::-;832:18497:17;;;;;;;12648:38;832:18497;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;;12701:8;832:18497;12700:9;;832:18497;;;;12700:9;;832:18497;;12700:9;;832:18497;;;;;-1:-1:-1;832:18497:17;;;;;;-1:-1:-1;;832:18497:17;;;;12648:38;832:18497;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;2790:20;832:18497;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1225:31:17;;832:18497;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:::o;:::-;-1:-1:-1;832:18497:17;;;-1:-1:-1;;832:18497:17;;;;;;;-1:-1:-1;832:18497:17;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;1335:29;832:18497;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;832:18497:17;;;;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;5059:29:18;832:18497:17;;5059:29:18;:::i;:::-;832:18497:17;-1:-1:-1;;;;;832:18497:17;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;-1:-1:-1;;832:18497:17;;;;;1303:62:0;;:::i;:::-;832:18497:17;-1:-1:-1;;;;;2758:6:0;832:18497:17;;;;2758:6:0;832:18497:17;;2806:40:0;;;;832:18497:17;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;-1:-1:-1;832:18497:17;3067:65;832:18497;;;;-1:-1:-1;832:18497:17;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;1303:62:0;;:::i;:::-;832:18497:17;;13121:24;832:18497;;;;;;;-1:-1:-1;;832:18497:17;;;;;;2040:23;832:18497;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;:::i;:::-;-1:-1:-1;18301:16:18;;;:::i;:::-;18359:29;;;:::i;:::-;18407:27;19319:1:17;18407:27:18;;3554:13;832:18497:17;18402:259:18;18436:29;;;;;;832:18497:17;;;;;;;:::i;18467:3:18:-;10796:24;;;;;18490:157;;18467:3;832:18497:17;18407:27:18;;18490:157;5059:29;;;:::i;:::-;832:18497:17;-1:-1:-1;;;;;832:18497:17;;;;;18532:19:18;18490:157;18528:101;18588:13;18579:27;18588:13;;832:18497:17;18579:27:18;;;:::i;:::-;832:18497:17;18490:157:18;;832:18497:17;;;;;-1:-1:-1;;832:18497:17;;;;;2471:103:3;;:::i;:::-;10598:12:17;832:18497;10598:23;832:18497;;10590:51;;:::i;:::-;1787:1:3;2065:22;832:18497:17;;;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;2560:29;832:18497;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;-1:-1:-1;;;;;1513:6:0;832:18497:17;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;5739:7:18;832:18497:17;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;5739:7:18;832:18497:17;;;;;;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;2941:8:23;;;:::i;:::-;-1:-1:-1;;;;;832:18497:17;;929:10:9;;7714:24:18;;832:18497:17;;929:10:9;7782:42:18;:53;929:10:9;;-1:-1:-1;832:18497:17;7782:18:18;832:18497:17;;;-1:-1:-1;832:18497:17;;-1:-1:-1;;;;;832:18497:17;;;;;;;;;;7782:42:18;832:18497:17;;-1:-1:-1;;832:18497:17;;;;;;;;;;;7782:53:18;832:18497:17;;;;;;;929:10:9;;7850:48:18;;832:18497:17;;7850:48:18;832:18497:17;;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;:::i;:::-;;;;;-1:-1:-1;;832:18497:17;;;;;;1451:22;832:18497;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;1303:62:0;;:::i;:::-;832:18497:17;;;;;;;;1690:4;14020:34;832:18497;;14207:19;14236:21;832:18497;14114:8;832:18497;14102:20;;;:46;;;832:18497;14094:103;;;:::i;:::-;14207:19;832:18497;;14207:19;14236:21;832:18497;;14102:46;-1:-1:-1;14139:9:17;832:18497;14126:22;;;14102:46;;832:18497;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;1303:62:0;;;;;;:::i;:::-;2471:103:3;;:::i;:::-;3554:13:18;832:18497:17;9512:30;;9560:40;9552:67;9560:40;;;9552:67;:::i;:::-;-1:-1:-1;9629:347:17;9646:21;;;;;;832:18497;;10007:28;10025:10;832:18497;10007:15;:28;:::i;:::-;10050:19;10071:13;;;;;;2536:1:3;1787;2065:22;832:18497:17;1985:109:3;10086:3:17;10105:12;;;10086:3;10105:12;832:18497;;10347:9;832:18497;;;;;;;10105:12;832:18497;10144:20;;;:::i;:::-;10086:3;:::i;:::-;10050:19;;9669:3;17815:14:18;;;;;9822:28:17;9669:3;17815:14:18;9688:78:17;1690:4;9696:31;17815:14:18;;:::i;:::-;9712:15:17;;;;;:::i;:::-;832:18497;9696:31;;:::i;:::-;:45;;9688:78;:::i;:::-;9780:28;;9793:15;;;;;:::i;:::-;832:18497;9780:28;832:18497;9780:28;:::i;:::-;;832:18497;;9780:28;9835:15;;;;;:::i;9822:28::-;9874:13;9889:15;9874:13;;;;;;:::i;:::-;;:::i;:::-;9889:15;;;;;:::i;:::-;832:18497;9889:15;;:::i;:::-;9924:41;9934:13;;;;;;:::i;:::-;9949:15;;;;;:::i;:::-;832:18497;;;-1:-1:-1;;;;;832:18497:17;;;;;;;;;;;;;;;9924:41;832:18497;9669:3;9634:10;;;;;;832:18497;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;:::i;:::-;1303:62:0;;:::i;:::-;832:18497:17;;13319:48;832:18497;13377:42;832:18497;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;10305:150:18;832:18497:17;;10326:50:18;832:18497:17;;;;;;;;;;;:::i;:::-;2663:10:23;;-1:-1:-1;;;;;832:18497:17;;2655:18:23;2651:81;;9058:140:18;9079:41;2663:10:23;;9079:41:18;:::i;832:18497:17:-;;;;;-1:-1:-1;;832:18497:17;;;;;;2297:37;832:18497;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;1790:23;832:18497;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;3593:30;832:18497;;;;;;;;;;;;;;;;;;;:::i;:::-;1303:62:0;;;;;:::i;:::-;2471:103:3;;:::i;:::-;8894:67:17;8902:40;;;8894:67;:::i;:::-;8985:1;8988:21;;;;;;2536:1:3;1787;2065:22;832:18497:17;1985:109:3;9011:3:17;17815:14:18;;:::i;:::-;9054:15:17;;;;;;:::i;:::-;832:18497;;;;;;;;9030:78;1690:4;9011:3;9038:45;;;9030:78;:::i;:::-;9122:28;;9135:15;;;;;:::i;9122:28::-;9189:15;9174:13;;;;;;:::i;:::-;9189:15;;;;;:::i;:::-;9224:41;9234:13;;;;;;:::i;:::-;9249:15;;;;;:::i;9011:3::-;8976:10;;832:18497;;;;;-1:-1:-1;;832:18497:17;;;;;;;3554:13:18;832:18497:17;10796:24:18;;832:18497:17;;;17060:10;;:::i;:::-;832:18497;;17087:32;:189;;17142:128;832:18497;17209:19;832:18497;;17209:19;832:18497;17209:19;;:::i;:::-;832:18497;;17142:128;;;832:18497;17142:128;;832:18497;;:::i;:::-;;;:::i;:::-;;:::i;:::-;17142:128;-1:-1:-1;;17142:128:17;;;;;;:::i;17087:189::-;832:18497;;;;;:::i;:::-;17087:189;;832:18497;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;1303:62:0;;:::i;:::-;2471:103:3;;:::i;:::-;832:18497:17;;;;-1:-1:-1;;;;;14570:11:17;832:18497;;14594:21;14570:50;;;;;:::i;:::-;;832:18497;;;1787:1:3;2065:22;832:18497:17;;;;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;;:::i;:::-;1303:62:0;;:::i;:::-;12865:16:17;832:18497;;;;;;;;;;;;;;;;;;;;;;;;;;;12916:15;832:18497;;;;;;12896:36;;832:18497;12896:36;832:18497;;;12942:85;;832:18497;12942:85;12975:41;832:18497;;;12995:1;832:18497;;-1:-1:-1;;832:18497:17;;;;12975:41;832:18497;;;;;;-1:-1:-1;;832:18497:17;;;;;;;8129:35:18;832:18497:17;;;;;:::i;:::-;-1:-1:-1;;;;;832:18497:17;;;;;;:::i;:::-;;-1:-1:-1;832:18497:17;8129:18:18;832:18497:17;;;-1:-1:-1;832:18497:17;;-1:-1:-1;;;;;832:18497:17;;;;;;;;;;8129:35:18;832:18497:17;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;:::i;:::-;17815:14:18;;:::i;:::-;832:18497:17;;;;;;;;1690:4;4256:74;4264:41;;;4256:74;:::i;:::-;4348:9;832:18497;;;;;;;;;;4340:72;4629:1;832:18497;4375:9;832:18497;-1:-1:-1;4348:36:17;4340:72;:::i;:::-;4443:15;;;:130;;;832:18497;4422:197;;;:::i;:::-;4629:1;:::i;4443:130::-;832:18497;;;4476:19;832:18497;;;;-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:18497;-1:-1:-1;4475:98:17;4443:130;;;;4476:56;4422:197;4476:56;4475:72;4476:56;4475:72;:::i;832:18497::-;;-1:-1:-1;;832:18497:17;;;;;;;17815:14:18;;:::i;:::-;832:18497:17;;;;;;;;1690:4;4256:74;4264:41;;;4256:74;:::i;:::-;4348:9;832:18497;;;;;;;;;;4340:72;4629:1;832:18497;4375:9;832:18497;-1:-1:-1;4348:36:17;4340:72;:::i;:::-;4443:15;;;:130;;;832:18497;4422:197;;;:::i;:::-;4629:1;:::i;4443:130::-;832:18497;;;4476:19;832:18497;;;;-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:18497;-1:-1:-1;4475:98:17;4443:130;;;;4476:56;4422:197;4476:56;4475:72;4476:56;4475:72;:::i;832:18497::-;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;;;;;;;;;;:::i;:::-;17815:14:18;;;;;:::i;:::-;832:18497:17;;;;;;;;1690:4;4778:74;4786:41;;;4778:74;:::i;:::-;4870:8;832:18497;;;;;;;;;4896:8;832:18497;-1:-1:-1;832:18497:17;;4945:1;832:18497;;;4945:1;;:::i;832:18497::-;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;:::i;:::-;1303:62:0;;:::i;:::-;-1:-1:-1;;;;;832:18497:17;;2402:22:0;832:18497:17;;2496:8:0;;;:::i;832:18497:17:-;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;13850:46;1303:62:0;13760:33:17;832:18497;1303:62:0;;;:::i;:::-;13760:33:17;832:18497;;;;;;;;;;;;;;;13760:33;;832:18497;;;;;;;;;;;;;;;;;13850:46;832:18497;;;;;;-1:-1:-1;;832:18497:17;;;;;;;2677:32;832:18497;;;;;;;;;;1599:130:0;-1:-1:-1;;;;;1513:6:0;832:18497:17;;929:10:9;1662:23:0;832:18497:17;;1599:130:0:o;832:18497:17:-;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;2666:187:0;2758:6;832:18497:17;;-1:-1:-1;;;;;832:18497:17;;;;;;;;;2758:6:0;832:18497:17;;2806:40:0;-1:-1:-1;2806:40:0;;2666:187::o;832:18497:17:-;;;;;;;:::i;:::-;2219:19:7;832:18497:17;-1:-1:-1;;;;;832:18497:17;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3246:506:2:-;;;;;;;;;3302:13;832:18497:17;;;;;;;3301:14:2;3347:34;;;;;;3246:506;3346:108;;;;3246:506;832:18497:17;;;;3636:1:2;3536:16;;;832:18497:17;-1:-1:-1;;3302:13:2;832:18497:17;;;3302:13:2;832:18497:17;;3536:16:2;3562:65;;3636:1;:::i;:::-;3647:99;;3246:506::o;3647:99::-;3681:21;832:18497:17;3302:13:2;832:18497:17;;3302:13:2;832:18497:17;;3681:21:2;832:18497:17;;3551:1:2;832:18497:17;;3721:14:2;;832:18497:17;;3721:14:2;3246:506::o;3562:65::-;3596:20;832:18497:17;;3302:13:2;832:18497:17;;;3302:13:2;832:18497:17;;3596:20:2;3636:1;:::i;832:18497:17:-;;;;-1:-1:-1;;;832:18497: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:18497:17;;;;3436:17:2;3387:66;;;3347:34;3380:1;832:18497:17;;;3365:16:2;;-1:-1:-1;3347:34:2;;832:18497:17;;;;;;;:::i;:::-;-1:-1:-1;832:18497:17;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;:::o;:::-;;;;;;;;:::o;:::-;10295:1;832:18497;;;;;;;;;;;;;;;:::o;:::-;;;12052:22;-1:-1:-1;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;832:18497:17;;;;;;;;;;;;;:::o;:::-;;;12389:22;-1:-1:-1;832:18497:17;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::o;:::-;;;12648:38;-1:-1:-1;832:18497:17;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::o;:::-;;;3025:13:18;-1:-1:-1;832:18497:17;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::o;:::-;;;6225:34;-1:-1:-1;832:18497:17;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::o;:::-;;;3048:17:18;-1:-1:-1;832:18497:17;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6148:19;832:18497;;;;:::i;:::-;;;;;;;-1:-1:-1;832:18497:17;;;:::o;:::-;-1:-1:-1;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6177:38;832:18497;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;832:18497:17;;;;;;-1:-1:-1;;832:18497:17;;;;12648:38;832:18497;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6225:34;832:18497;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;:::o;:::-;;-1:-1:-1;;832:18497:17;;;;6225:34;832:18497;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3048:17:18;832:18497:17;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;3048:17:18;832:18497:17;:::o;:::-;;;;-1:-1:-1;832:18497:17;;;;;;-1:-1:-1;;832:18497:17;;;;3048:17:18;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3048:17:18;832:18497:17;:::o;:::-;;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5444:1096;;;;;;;;;;;5374:13:2;5366:69;832:18497:17;;;;;;5366:69:2;;;:::i;:::-;;:::i;:::-;1056:42:23;1643:45;;;1639:660;;5444:1096:17;832:18497;;6308:27;832:18497;;;6116:22;6496:37;832:18497;6086:20;832:18497;;6052:24;6269:29;832:18497;;5957:9;832:18497;;2748:155:18;832:18497: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:18497;;5977:28;6015:27;;832:18497;;;;;;;6015:27;6052:24;832:18497;;6052:24;6086:20;832:18497;;6086:20;6116:22;832:18497;;6116:22;832:18497;;:::i;:::-;;:::i;:::-;;:::i;6269:29::-;832:18497;6269:29;832:18497;;;;;;;;;;6308:27;6015;832:18497;;;;-1:-1:-1;;;;;832:18497:17;;;;;6381:15;6392:4;6381:15;832:18497;;6381:15;6406:16;6418:4;6406:16;832:18497;;6406:16;6432:19;6445:6;6432:19;832:18497;;6432:19;6461:25;6015:27;832:18497;;;;;;;;;6461:25;6496:37;:::i;1639:660:23:-;832:18497:17;;;1713:52:23;;1759:4;1713:52;;;832:18497:17;1713:52:23;832:18497:17;;;1713:52:23;;;;;;;;;;;;;1639:660;1712:53;1639:660;1708:581;1822:92;;;;;;;;;;;;;832:18497:17;;;1822:92:23;;1759:4;1713:52;1822:92;;832:18497:17;211:42:21;1032:67:23;;;832:18497:17;;;;1032:67:23;;832:18497:17;;1759:4:23;;1822:92;;;;;;6496:37:17;1822:92:23;6086:20:17;6269:29;1822:92:23;6052:24:17;832:18497;1822:92:23;5957:9:17;6308:27;1822:92:23;832:18497:17;1822:92:23;6116:22:17;1822:92:23;;;1708:581;;;;;;;;;;;;;;;;;;;1639:660;;1822:92;;;;;;:::i;:::-;;;:::i;:::-;;;;;;:::i;1713:52::-;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;832:18497:17;;;;:::o;:::-;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;5328:125:2;5366:69;832:18497:17;5374:13:2;832:18497:17;;;;5366:69:2;;;:::i;:::-;1195:12:0;929:10:9;1195:12:0;:::i;5328:125:2:-;5366:69;832:18497:17;5374:13:2;832:18497:17;;;;5366:69:2;;;:::i;:::-;1787:1:3;2065:22;832:18497:17;5328:125:2:o;832:18497:17:-;;;;:::o;:::-;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;3029:327:7;-1:-1:-1;;;;;832:18497:17;3029:327:7;832:18497:17;3221:60:7;3229:22;;;3221:60;:::i;:::-;832:18497:17;;;;;;:::i;:::-;;;;;3314:35:7;;;;832:18497:17;;;;-1:-1:-1;;;;;832:18497:17;;;3292:57:7;832:18497:17;;3029:327:7;;832:18497:17;;2756:5:7;3131:33;;832:18497:17;;-1:-1:-1;;;;;832:18497:17;;;3229:22:7;3221:60;3229:22;;;3221:60;:::i;:::-;832:18497:17;;;;;;:::i;:::-;;;3314:35:7;;;832:18497:17;;;-1:-1:-1;;;;;832:18497:17;;;;;;;;;;3292:57:7;832:18497:17;;;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;15079:1:18;832:18497:17;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;:::o;:::-;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;5023:219;;;;7032:122;5023:219;7053:61;5023:219;5097:127;5131:42;832:18497;5142:6;832:18497;5131:42;:::i;:::-;5118:9;:55;5097:127;:::i;:::-;2471:103:3;;:::i;:::-;6852:77:17;6860:37;832:18497;6879:18;832:18497;;;;;;;;;;;;;6860:37;:15;:37;;6852:77;:::i;:::-;832:18497;;;6998:10;6987:32;;;832:18497;;;;;;;;;;;6964:57;;6987:32;832:18497;;;;6987:32;832:18497;6987:32;832:18497;6977:43;;6964:57;:::i;:::-;6987:32;832:18497;;;;6954:68;832:18497;7097:10;832:18497;;;;;:::i;:::-;7053:61;:::i;:::-;7032:122;:::i;:::-;7164:23;;832:18497;7164:23;832:18497;7164:23;:::i;:::-;;832:18497;;7164:23;3554:13:18;832:18497:17;7262:24;;;;;:::i;:::-;7318:11;6998:10;;7318:11;:::i;:::-;7345:18;832:18497;;;;;7340:349;;5023:219;-1:-1:-1;832:18497:17;;;6998:10;832:18497;;;;;;;;;;;;;;;;;-1:-1:-1;7704:50:17;;832:18497;;;;7704:50;;;;2536:1:3;1787;2065:22;832:18497:17;1985:109:3;7340:349:17;7383:12;832:18497;7379:82;;7340:349;7495:28;7513:10;832:18497;6860:15;7495:28;:::i;:::-;7542:19;7563:13;;;;;;7340:349;;;7578:3;7601:12;;;7578:3;7601:12;832:18497;;10347:9;832:18497;;;;;;;7578:3;7542:19;;7379:82;;;:::i;:::-;;;832:18497;;;;:::o;:::-;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;:::o;:::-;;;;;;;;;;;10144:12;832:18497;;;;;;;;;;;;;;;;;;;;-1:-1:-1;832:18497:17;;;;:::o;:::-;;:::i;2580:287:3:-;1830:1;2712:7;832:18497:17;2712:19:3;1830:1;;;2712:7;832:18497:17;2580:287:3:o;1830:1::-;;832:18497:17;;-1:-1:-1;;;1830:1:3;;;;;;;;;;;832:18497:17;1830:1:3;832:18497:17;;;1830:1:3;;1167:154:11;;;;2089:13;-1:-1:-1;2084:116:11;2122:3;832:18497:17;;2104:16:11;;;;;2180:8;;;;:::i;:::-;832:18497: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:18497:17:-;;;;;;;;;;;;;;;:::o;:::-;;;;:::o;:::-;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;5023:219;5097:127;5131:42;832:18497;5151:7;832:18497;5131:42;:::i;5097:127::-;2471:103:3;;:::i;:::-;832:18497:17;8004:15;832:18497;;7985:15;:34;832:18497;;8065:18;832:18497;8251:37;;;;832:18497;;;;8065:45;;;5023:219;8061:96;;5023:219;8167:24;;832:18497;8167:24;832:18497;8167:24;:::i;:::-;8223:11;8211:10;;8223:11;:::i;:::-;832:18497;;;8211:10;832:18497;;;;;;;;;;;;;;;;;8061:96;;;:::i;:::-;;;8065:45;832:18497;8087:12;832:18497;8087:23;;8065:45;;832:18497;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;1303:62:0;;;:::i;:::-;2471:103:3;;:::i;:::-;832:18497:17;8492:18;832:18497;;;;8492:45;;;1303:62:0;8488:96:17;;1303:62:0;8594:24:17;832:18497;;;;;;;;;;;8676:33;832:18497;;8649:11;;;;:::i;:::-;832:18497;;;-1:-1:-1;;;;;832:18497:17;;;;;;;;;;;;;8676:33;1787:1:3;2065:22;832:18497:17;1303:62:0:o;8488:96:17:-;;;:::i;:::-;;;8492:45;832:18497;8514:12;832:18497;8514:23;;8492:45;;832:18497;;;;:::o;:::-;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;:::i;:::-;;;;:::o;:::-;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;832:18497:17;;;;:::o;:::-;;;:::o;:::-;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;-1:-1:-1;;832:18497:17;;;;:::i;:::-;;;;;;;;:::o;14678:608::-;;832:18497;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;;832:18497:17;;;:::i;:::-;;;;;;;15005:21;;;:::i;:::-;15041:10;-1:-1:-1;15053:10:17;;;;;;15233:46;;;;14678:608;:::o;15065:3::-;;15125:15;;15099:23;15109:12;;;;:::i;:::-;832:18497;;;10347:9;832:18497;;;;;;;15099:23;832:18497;15099:41;-1:-1:-1;15099:56:17;;;;;;15143:4;15099:56;15084:71;;;;:::i;:::-;832:18497;;;;;15190:23;15200:12;;;;:::i;15190:23::-;832:18497;15169:44;;;;:::i;:::-;832:18497;15065:3;:::i;:::-;15041:10;;15099:56;;;832:18497;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;17247:9;832:18497;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;-1:-1:-1;832:18497:17;;;-1:-1:-1;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;-1:-1:-1;;;832:18497:17;;;;;;;;-1:-1:-1;832:18497:17;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;-1:-1:-1;;832:18497:17;;;;:::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:18497:17;;775:76:10;671:18;832:18497:17;;;671:18:10;:::i;:::-;703:11;775:76;;;864:280;633:1;;;864:280;1157:13;;;;480:707;:::o;864:280::-;-1:-1:-1;;832:18497:17;;;969:93:10;;;;;;;;832:18497:17;1079:11:10;;1112:10;1108:21;;864:280;;;;;1108:21;1124:5;;10961:66:14;832:18497:17;11011:1:14;832:18497:17;10961:66:14;;;10848:100;832:18497:17;;10861:7:14;10932:1;832:18497:17;;;;10848:100:14;;;10735;10819:1;832:18497:17;;;;;;10735:100:14;;;;10622;10706:1;832:18497:17;;;;;;10622:100:14;;;;10506:103;10592:2;832:18497:17;;;;;;10506:103:14;;;;10390;10476:2;832:18497:17;;;;;;10390:103:14;;;;10274;10360:2;;-1:-1:-1;832:18497:17;;;-1:-1:-1;10274:103:14;;;18717:221:17;18780:12;832:18497;;18809:123;18831:5;;;18717:221;;:::o;18838:3::-;-1:-1:-1;;832:18497:17;;;;;;;;;;;;;;;;;18835:1;832:18497;;;;;;18862:27;832:18497;;;;;;;;;;18862:27;832:18497;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;18814:15;;;832:18497;;;;;;;;;;18986:202;832:18497;19075:8;832:18497;;;;;19071:76;;832:18497;;-1:-1:-1;19172:9:17;;832:18497;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;832:18497:17;;;-1:-1:-1;;832:18497:17;;;;;;;-1:-1:-1;832:18497:17;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;;;;;;;19071:76;832:18497;;:::i;5328:125:2:-;;5366:69;832:18497:17;5374:13:2;832:18497:17;;;;5366:69:2;;;:::i;:::-;832:18497:17;;;;;;;;;;3025:13:18;832:18497:17;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;5374:13:2;832:18497:17;;;;;;-1:-1:-1;;832:18497:17;;;;;;;;;;3025:13:18;832:18497:17;;:::i;:::-;3075:31:18;19319:1:17;3075:31:18;832:18497:17;;;;;;-1:-1:-1;832:18497:17;;;;;;;;-1:-1:-1;;832:18497:17;;;3025:13:18;832:18497:17;;;;;;;5374:13:2;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;3025:13:18;832:18497:17;;:::i;:::-;;;-1:-1:-1;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3847:465:18;832:18497: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;-1:-1:-1;;;;;832:18497:17;;;4518:19:18;;832:18497:17;;;4623:24:18;19319:1:17;4623:24:18;;;3554:13;832:18497:17;4618:198:18;19319: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:18497:17;;4724:19:18;;4688:118;4720:72;4766:7;;4669:3;4766:7;;:::i;:::-;4720:72;;;4688:118;;4649:18;;;;832:18497:17;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;5123:294:18;3554:13;832:18497:17;10796:24:18;;832:18497:17;;;-1:-1:-1;7063:1:24;;832:18497:17;;;;;;7133:12:24;;832:18497:17;;;;17687:10:18;832:18497:17;;;;7316:18:24;832:18497:17;7316:18:24;832:18497:17;7386:6:24;;;7383:736;7386:6;;;7482:22;7467:37;7482:22;;:::i;:::-;832:18497:17;;;;7467:37:24;832:18497:17;;;;7450:55:24;7383:736;5385:25:18;;5326:41;832:18497:17;;5385:7:18;832:18497:17;;;;;;;5385:25:18;832:18497:17;-1:-1:-1;;;;;832:18497:17;;;5385:25:18;5123:294;:::o;7383:736:24:-;7554:555;;-1:-1:-1;;7554:555:24;;7584:75;7592:10;;;7584:75;:::i;:::-;832:18497:17;7837:20:24;;832:18497:17;;17687:10:18;832:18497:17;;;;;;;7837:20:24;832:18497:17;7895:6:24;7892:202;;7554:555;-1:-1:-1;;7554:555:24;;;7892:202;7992:29;7999:22;7975:47;7999:22;;:::i;:::-;832:18497:17;;;;;;;7975:47:24;832:18497:17;;7975:47:24;7383:736;;832:18497:17;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;6989:298:18;3554:13;832:18497:17;10796:24:18;;832:18497:17;;;-1:-1:-1;832:18497:17;7256:15:18;832:18497:17;;-1:-1:-1;;;;;832:18497:17;-1:-1:-1;832:18497:17;;;6989:298:18;:::o;832:18497:17:-;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10985:434:18;3554:13;832:18497:17;10796:24:18;;832:18497:17;;;5059:29:18;;;:::i;:::-;832:18497:17;-1:-1:-1;;;;;832:18497:17;;;;;;;11300:16:18;;:63;;;;;10985:434;11300:111;;;;;;;11292:120;;10985:434;:::o;11300:111::-;832:18497:17;8129:25:18;;;;:35;:25;-1:-1:-1;;;;;832:18497:17;;;8129:18:18;832:18497:17;;;;;;;8129:35:18;832:18497:17;;10985:434:18;:::o;11300:63::-;11332:20;;;;;;;:::i;:::-;832:18497:17;11332:31:18;11300:63;;;;;;832:18497:17;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;11770:110:18;;832:18497:17;;;;;;:::i;:::-;;;;;;3554:13:18;832:18497:17;12433:12:18;;;832:18497:17;;-1:-1:-1;;;;;832:18497:17;;12497:64:18;12505:16;;;12497:64;:::i;:::-;832:18497:17;;;:::i;:::-;12650:25:18;;;;;:::i;:::-;3554:13;832:18497:17;;12650:25:18;12685;:20;;;832:18497:17;;5385:7:18;832:18497:17;;;;;;;12685:20:18;832:18497:17;-1:-1:-1;;;;;832:18497:17;;;;;;;;;12685:25:18;12735:11;;832:18497:17;2388:1:24;832:18497:17;-1:-1:-1;832:18497:17;12720:10:18;832:18497:17;;1478:8:24;832:18497:17;;-1:-1:-1;832:18497:17;2434:12:24;;832:18497:17;;;2457:28:24;832:18497: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:18497:17;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;18038:290;-1:-1:-1;832:18497:17;18250:9;832:18497;;;-1:-1:-1;832:18497:17;;18277:15;-1:-1:-1;832:18497:17;;18038:290::o;832:18497::-;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;18331:380;832:18497;-1:-1:-1;832:18497:17;18583:9;832:18497;;;-1:-1:-1;832:18497:17;;;18579:129;;18331:380;;:::o;18579:129::-;18675:22;832:18497;-1:-1:-1;832:18497:17;;;;;;;;18675:22;18331:380::o;832:18497::-;;;;:::o;:::-;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;14642:992:18;;;14805:29;;;:::i;:::-;-1:-1:-1;;;;;832:18497:17;;;;;;;;;14866:13:18;;;832:18497:17;;15421:21:18;832:18497:17;15547:27:18;832:18497:17;;;;14967:16:18;14959:68;14967:16;;;14959:68;:::i;:::-;832:18497:17;;;:::i;:::-;15164:7:18;;;:::i;:::-;15208:11;;;:::i;:::-;15233:28;15234:27;;832:18497:17;1478:8:24;1695:231;832:18497:17;1811:1:24;832:18497:17;-1:-1:-1;832:18497:17;15234:10:18;832:18497:17;;1857:12:24;832:18497:17;;-1:-1:-1;832:18497:17;;1887:27:24;:32;;1695:231;;15233:28:18;:74;;;14642:992;15230:181;;14642:992;15421:16;;;;832:18497:17;;5385:7:18;832:18497:17;;;;;;;15421:21:18;15455:27;;15452:80;;14642:992;15547:27;14981:1;15547:27;;;:::i;15452:80::-;15513:7;;832:18497:17;2388:1:24;832:18497:17;-1:-1:-1;832:18497:17;12720:10:18;832:18497:17;;1478:8:24;832:18497:17;;-1:-1:-1;832:18497:17;2434:12:24;;832:18497:17;;;2457:28:24;832:18497:17;;2292:200:24;15513:7:18;15452:80;;15230:181;15332:27;15388:11;15332:20;;;832:18497:17;;5385:7:18;832:18497:17;;;;;;;15332:27:18;832:18497:17;2388:1:24;832:18497:17;-1:-1:-1;832:18497:17;12720:10:18;832:18497:17;;1478:8:24;832:18497:17;;-1:-1:-1;832:18497:17;2434:12:24;;832:18497:17;;;2457:28:24;832:18497:17;;2292:200:24;15388:11:18;15230:181;;;;15233:74;832:18497:17;3554:13:18;832:18497:17;15279:28:18;;15233:74;;832:18497:17;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;15745:164:18;832:18497:17;;;15819:15:18;832:18497:17;;;;;;;;;;;;-1:-1:-1;;;;;5059:29:18;;;:::i;:::-;832:18497:17;;15863:39:18;;;;15745:164::o;:::-;832:18497:17;-1:-1:-1;832:18497:17;15819:15:18;832:18497:17;;15819:29:18;832:18497:17;;-1:-1:-1;832:18497:17;;-1:-1:-1;;;;;832:18497:17;;;;;;;;;15819:29:18;5059;;;:::i;:::-;-1:-1:-1;;;;;;832:18497:17;;;;;15863:39:18;-1:-1:-1;;15863:39:18;15745:164::o;832:18497:17:-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;:::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:18497:17;;;;;;16909:72:18;;;;;;;;929:10:9;;;;;;;16909:72:18;;;;;;;:::i;:::-;;-1:-1:-1;;;;832:18497:17;;;-1:-1:-1;;;;;832:18497:17;;16909:72:18;;;;;;;16877:9;-1:-1:-1;;16905:564:18;;17108:361;;;;;:::i;:::-;832:18497:17;;;17162:18:18;;;17208:63;832:18497:17;;;17208:63:18;;;-1:-1:-1;;;17208:63:18;;;;832:18497: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:18497: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:18497:17;;;;;;16909:72:18;;;;;;;;929:10:9;;;;;;16909:72:18;;;;;;;:::i;:::-;;832:18497:17;;;;;;;-1:-1:-1;;;;;832:18497: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:18497:17;-1:-1:-1;;832:18497: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:18497:17;;;3569:67:23;;;;832:18497:17;3569:67:23;;3620:4;3569:67;;;832:18497:17;-1:-1:-1;;;;;832:18497:17;;1032:67:23;;;832:18497:17;3569:67:23;;;;;;;-1:-1:-1;3569:67:23;;;3242:474;3568:68;;3564:142;;3057:665;:::o;3564:142::-;832:18497:17;;3663:28:23;;;-1:-1:-1;;;;;832:18497:17;;;;3569:67:23;3663:28;;832:18497:17;;;;3569:67:23;;;;;;;;;;;;;;:::i;:::-;;;;832:18497:17;;;;:::o;:::-;;;;-1:-1:-1;;;832:18497:17;;;;;;;;;;;;;;;;;;;;;;;583:64:25;;832:18497:17;;583:64:25;;;;;;;;;:::o;2032:197::-;832:18497:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1374:6:25;;832:18497:17;;2148:60:25;;832:18497:17;583:64:25;832:18497:17;2142:67:25;832:18497:17;-1:-1:-1;832:18497:17;1422:13:25;583:64;832:18497:17;;2148:60:25;;:::i;:::-;583:64;;;;;2148:60;832:18497:17;;;
Swarm Source
ipfs://ff67c6b287c41d091cf7be0de36b0c313b867080b72901f566dd5da034ea0964
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.