More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 5,570 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 69161071 | 33 hrs ago | IN | 0 POL | 0.00107889 | ||||
Set Approval For... | 69160179 | 34 hrs ago | IN | 0 POL | 0.00106683 | ||||
Set Approval For... | 68987272 | 5 days ago | IN | 0 POL | 0.00107458 | ||||
Set Approval For... | 68987264 | 5 days ago | IN | 0 POL | 0.00107493 | ||||
Set Approval For... | 68987177 | 5 days ago | IN | 0 POL | 0.00107119 | ||||
Set Approval For... | 68957591 | 6 days ago | IN | 0 POL | 0.00152625 | ||||
Set Approval For... | 68944512 | 6 days ago | IN | 0 POL | 0.00188105 | ||||
Set Approval For... | 68919816 | 7 days ago | IN | 0 POL | 0.01035015 | ||||
Safe Transfer Fr... | 68872201 | 8 days ago | IN | 0 POL | 0.02126311 | ||||
Set Approval For... | 68751533 | 11 days ago | IN | 0 POL | 0.00396756 | ||||
Set Approval For... | 68569147 | 16 days ago | IN | 0 POL | 0.00249887 | ||||
Set Approval For... | 68201250 | 25 days ago | IN | 0 POL | 0.00799116 | ||||
Set Approval For... | 68201246 | 25 days ago | IN | 0 POL | 0.00749771 | ||||
Set Approval For... | 68048846 | 29 days ago | IN | 0 POL | 0.00178491 | ||||
Set Approval For... | 67824787 | 34 days ago | IN | 0 POL | 0.00184529 | ||||
Set Approval For... | 67611361 | 40 days ago | IN | 0 POL | 0.0062466 | ||||
Set Approval For... | 67211571 | 50 days ago | IN | 0 POL | 0.0063412 | ||||
Set Approval For... | 66849377 | 59 days ago | IN | 0 POL | 0.00232877 | ||||
Set Approval For... | 66839659 | 59 days ago | IN | 0 POL | 0.00232019 | ||||
Set Approval For... | 66698584 | 63 days ago | IN | 0 POL | 0.00178239 | ||||
Set Approval For... | 66685684 | 63 days ago | IN | 0 POL | 0.00178939 | ||||
Set Approval For... | 66597368 | 65 days ago | IN | 0 POL | 0.00178239 | ||||
Set Approval For... | 66401218 | 70 days ago | IN | 0 POL | 0.00178491 | ||||
Set Approval For... | 66267188 | 74 days ago | IN | 0 POL | 0.00504844 | ||||
Set Approval For... | 66177767 | 76 days ago | IN | 0 POL | 0.00232038 |
Loading...
Loading
Contract Name:
KreepyMonstas
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {Counters} from "@openzeppelin/contracts/utils/Counters.sol"; import {Address} from "@openzeppelin/contracts/utils/Address.sol"; import {ReentrancyGuard} from "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import {ERC721Enumerable, IERC721} from "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import {ERC721BaseEnforcedRoyalties, ERC721} from "./erc721/ERC721BaseEnforcedRoyalties.sol"; import {ERC721Royalty, ERC2981} from "./erc721/ERC721Royalty.sol"; import {ERC721Reservable} from "./erc721/ERC721Reservable.sol"; import {ERC721Whitelist} from "./erc721/ERC721Whitelist.sol"; import {ERC721OG} from "./erc721/ERC721OG.sol"; contract KreepyMonstas is ERC721BaseEnforcedRoyalties, ERC721Royalty, ERC721Reservable, ERC721Whitelist, ERC721OG, ReentrancyGuard { using Counters for Counters.Counter; Counters.Counter private tokenIds; string private baseURI; uint256 public immutable maxSupply; uint256 public maxMintPerWallet; string public provenance; bool public mintActive = false; bool public ogOnly = true; bool public whitelistOnly = true; mapping(address => uint256) public minted; mapping(address => bool) public walletMintLimitExtempt; constructor() ERC721("Kreepy Monstas", "KM") ERC721Reservable(600) ERC721OG(6000) ERC721Whitelist(type(uint256).max) { maxSupply = 6600; maxMintPerWallet = 7; } /** * @notice Mint `_amount` nfts for `_to`. * @param _to: wallet to mint nfts to * @param _amount: amount of nfts to mint * @dev Used by other contracts to mint nfts for user */ function mint(address _to, uint256 _amount) external payable { require(mintActive, "Mint not started yet"); require(tx.origin == _to, "Only mint to self"); require(msg.value == 0, "Value sent does not match price"); if (ogOnly) { consumeOgSpots(_to, _amount); } else if (whitelistOnly) { consumeWhitelistSpots(_to, _amount); } _mintTo(_to, _amount); } /** * @notice Set ogOnly to `_ogOnly`. Only callable by owner. */ function setOgOnly(bool _ogOnly) external onlyOwner { ogOnly = _ogOnly; } /** * @notice Set whitelistOnly to `_whitelistOnly`. Only callable by owner. */ function setWhitelistOnly(bool _whitelistOnly) external onlyOwner { whitelistOnly = _whitelistOnly; } /** * @notice Set mintActive to `_mintActive`. Only callable by owner. */ function setMintActive(bool _mintActive) external onlyOwner { mintActive = _mintActive; } /** * @notice Set maxMintPerWallet to `_maxMintPerWallet`. Only callable by owner. */ function setMaxMintPerWallet(uint256 _maxMintPerWallet) external onlyOwner { maxMintPerWallet = _maxMintPerWallet; } /** * @notice Set provenance once it's calculated. */ function setProvenanceHash( string memory provenanceHash ) external onlyOwner { provenance = provenanceHash; } /** * @notice Allows the owner to set the base URI to be used for all not revealed token IDs * @param _uri: base URI * @dev Callable by owner */ function setBaseURI(string memory _uri) external onlyOwner { baseURI = _uri; } function availableMints(address _user) external view returns (uint256 amount) { if (ogOnly) amount = ogSpotsOf[_user]; else if (whitelistOnly) amount = whitelistSpotsOf[_user]; else amount = maxMintPerWallet; if (minted[_user] + amount > maxMintPerWallet) amount = maxMintPerWallet - minted[_user]; } function _baseURI() internal view override returns (string memory) { return baseURI; } function _mintTo( address _to, uint256 _amount ) internal override(ERC721Reservable) nonReentrant { require(mintActive, "Mint not started yet"); require( (totalSupply() + _amount + reservedOpen) <= maxSupply, "Exceeds maxSupply" ); minted[_to] += _amount; require( walletMintLimitExtempt[_to] || (minted[_to] <= maxMintPerWallet), "Exceeds max mints per wallet" ); for (uint256 i = 0; i < _amount; ++i) { tokenIds.increment(); _safeMint(_to, tokenIds.current()); } } function supportsInterface( bytes4 interfaceId ) public view virtual override(ERC721Enumerable, ERC2981) returns (bool) { return super.supportsInterface(interfaceId); } function grantOgSpots( address to, uint256 amount ) public override onlyOwner { super.grantOgSpots(to, amount); grantWhitelistSpots(to, amount); } function grantOgSpotsBatch( address[] calldata to, uint256[] memory amounts ) public override onlyOwner { super.grantOgSpotsBatch(to, amounts); grantWhitelistSpotsBatch(to, amounts); } function consumeOgSpots(address user, uint256 amount) internal override { super.consumeOgSpots(user, amount); consumeWhitelistSpots(user, amount); } function reserve(address to, uint256 amount) public override onlyOwner { super.reserve(to, amount); walletMintLimitExtempt[to] = true; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {ERC721Base, IERC721} from "./ERC721Base.sol"; import {ERC721} from "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import {DefaultOperatorFilterer} from "operator-filter-registry/src/DefaultOperatorFilterer.sol"; abstract contract ERC721BaseEnforcedRoyalties is DefaultOperatorFilterer, ERC721Base { function setApprovalForAll(address operator, bool approved) public override(ERC721, IERC721) onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public override(ERC721, IERC721) onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public override(ERC721, IERC721) onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public override(ERC721, IERC721) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override(ERC721, IERC721) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {ERC2981} from "@openzeppelin/contracts/token/common/ERC2981.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; abstract contract ERC721Royalty is Ownable, ERC2981 { /** * @notice Set royalties for the collection. * @param _royalty royalty with base 10_000. 5% => 500 . */ function setRoyalty(address _receiver, uint96 _royalty) external onlyOwner { _setDefaultRoyalty(_receiver, _royalty); } /** @notice Returns the royalty with base 10_000. 5% => 500. */ function royaltyFraction() external view returns (uint256) { (, uint256 royaltyFraction_) = royaltyInfo(0, uint256(_feeDenominator())); return royaltyFraction_; } /** @notice Returns the royalty receiver. */ function royaltyReceiver() external view returns (address) { (address royaltyReceiver_, ) = royaltyInfo(0, uint256(_feeDenominator())); return royaltyReceiver_; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; abstract contract ERC721Reservable is Ownable { mapping(address => uint256) public reservedFor; uint256 public immutable maxReserved; uint256 public reservedTotal; uint256 public reservedOpen; constructor(uint256 _maxReserved) { maxReserved = _maxReserved; } /** * @notice Reserve `amount` tokens to be minted by `to`. Only callable by onwer. */ function reserve(address to, uint256 amount) public virtual onlyOwner { reservedFor[to] += amount; reservedOpen += amount; reservedTotal += amount; require(reservedTotal <= maxReserved, "Exceeds maxReserved"); } /** * @notice Mint `amount` reserved tokens for `user`. Only callable by onwer. * @dev This method is meant to only be used to make sure all reserved mints are beeing used. */ function mintReservedFor(address user, uint256 amount) external onlyOwner { require(amount <= reservedFor[user], "Exceeds reserved amount"); reservedFor[user] -= amount; reservedOpen -= amount; _mintTo(user, amount); } /** * @notice Mint `amount` reserved tokens of sender to `to`. */ function mintReserved(address to, uint256 amount) external { require(amount <= reservedFor[msg.sender], "Exceeds reserved amount"); reservedFor[msg.sender] -= amount; reservedOpen -= amount; _mintTo(to, amount); } /** * @notice Mint reserved tokens of sender to `to`, one token each. */ function mintReservedTo(address[] calldata to) external { uint256 amount = to.length; require(amount <= reservedFor[msg.sender], "Exceeds reserved amount"); reservedFor[msg.sender] -= amount; reservedOpen -= amount; for (uint256 i = 0; i < amount; ++i) { _mintTo(to[i], 1); } } function _mintTo(address _to, uint256 _amount) internal virtual; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; abstract contract ERC721Whitelist is Ownable { mapping(address => uint256) public whitelistSpotsOf; uint256 public immutable maxWhitelistSpots; uint256 public whitelistSpotsOpen; uint256 public whitelistSpotsTotal; constructor(uint256 _maxWhitelistSpots) { maxWhitelistSpots = _maxWhitelistSpots; } /** * @notice Grant `amount` whitelist mints to be used by `to`. Only callable by owner. */ function grantWhitelistSpots(address to, uint256 amount) public onlyOwner { require(whitelistSpotsOpen + amount <= maxWhitelistSpots, "Exceeds maxWhitelistSpots"); whitelistSpotsOf[to] += amount; whitelistSpotsOpen += amount; whitelistSpotsTotal += amount; } /** * @notice Grant `amounts` whitelist mints to be used by the respective entry of `to`. Only callable by owner. */ function grantWhitelistSpotsBatch(address[] calldata to, uint256[] memory amounts) public onlyOwner { require(to.length == amounts.length, "Length missmatch"); uint256 total = 0; for (uint256 i = 0; i < to.length; ++i) { whitelistSpotsOf[to[i]] += amounts[i]; total += amounts[i]; } whitelistSpotsOpen += total; whitelistSpotsTotal += total; require(whitelistSpotsTotal <= maxWhitelistSpots, "Exceeds maxWhitelistSpots"); } /** * @notice Consume `amount` whitelist spots of `user`, fails if user has insufficient WL spots. */ function consumeWhitelistSpots(address user, uint256 amount) internal { require(whitelistSpotsOf[user] >= amount, "Exceeds whitelist spots"); whitelistSpotsOf[user] -= amount; whitelistSpotsOpen -= amount; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; abstract contract ERC721OG is Ownable { mapping(address => uint256) public ogSpotsOf; uint256 public immutable maxOgSpots; uint256 public ogSpotsOpen; uint256 public ogSpotsTotal; constructor(uint256 _maxOgSpots) { maxOgSpots = _maxOgSpots; } /** * @notice Grant `amount` og mints to be used by `to`. Only callable by owner. */ function grantOgSpots(address to, uint256 amount) public virtual onlyOwner { require(ogSpotsOpen + amount <= maxOgSpots, "Exceeds maxOgSpots"); ogSpotsOf[to] += amount; ogSpotsOpen += amount; ogSpotsTotal += amount; } /** * @notice Grant `amounts` og mints to be used by the respective entry of `to`. Only callable by owner. */ function grantOgSpotsBatch(address[] calldata to, uint256[] memory amounts) public virtual onlyOwner { require(to.length == amounts.length, "Length missmatch"); uint256 total = 0; for (uint256 i = 0; i < to.length; ++i) { ogSpotsOf[to[i]] += amounts[i]; total += amounts[i]; } ogSpotsOpen += total; ogSpotsTotal += total; require(ogSpotsTotal <= maxOgSpots, "Exceeds maxOgSpots"); } /** * @notice Consume `amount` og spots of `user`, fails if user has insufficient WL spots. */ function consumeOgSpots(address user, uint256 amount) internal virtual { require(ogSpotsOf[user] >= amount, "Exceeds og spots"); ogSpotsOf[user] -= amount; ogSpotsOpen -= amount; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {ERC721Enumerable, IERC721} from "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {SafeERC20, IERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import {Strings} from "@openzeppelin/contracts/utils/Strings.sol"; abstract contract ERC721Base is Ownable, ERC721Enumerable { using SafeERC20 for IERC20; using Strings for uint256; /** * @notice Allows the owner to recover non-fungible tokens sent to the contract by mistake * @param _token: NFT token address * @param _tokenId: tokenId * @dev Callable by owner */ function recoverNonFungibleToken(address _token, uint256 _tokenId) external onlyOwner { IERC721(_token).transferFrom(address(this), address(msg.sender), _tokenId); } /** * @notice Allows the owner to recover tokens sent to the contract by mistake * @param _token: token address * @dev Callable by owner */ function recoverToken(address _token) external onlyOwner { uint256 balance = IERC20(_token).balanceOf(address(this)); require(balance != 0, "Cannot recover zero balance"); IERC20(_token).safeTransfer(address(msg.sender), balance); } /** * @notice Returns all tokenIds owned by `_owner` * @param _owner: owner */ function tokensOfOwner(address _owner) external view returns (uint256[] memory) { uint256 tokenCount = balanceOf(_owner); uint256[] memory result = new uint256[](tokenCount); for (uint256 index = 0; index < tokenCount; index++) { result[index] = tokenOfOwnerByIndex(_owner, index); } return result; } /** * @notice Returns a list of token IDs owned by `user` given a `cursor` and `size` of its token list * @param user: address * @param cursor: cursor * @param size: size */ function tokensOfOwnerBySize( address user, uint256 cursor, uint256 size ) external view returns (uint256[] memory, uint256) { uint256 length = size; if (length > balanceOf(user) - cursor) { length = balanceOf(user) - cursor; } uint256[] memory values = new uint256[](length); for (uint256 i = 0; i < length; i++) { values[i] = tokenOfOwnerByIndex(user, cursor + i); } return (values, cursor + length); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @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 * ==== * * [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://diligence.consensys.net/posts/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.5.11/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 (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev See {ERC721-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual override { super._beforeTokenTransfer(from, to, firstTokenId, batchSize); if (batchSize > 1) { // Will only trigger during construction. Batch transferring (minting) is not available afterwards. revert("ERC721Enumerable: consecutive transfers not supported"); } uint256 tokenId = firstTokenId; if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.2) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); 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 overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or 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, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @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`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @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 { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @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 tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override. * * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such * that `ownerOf(tokenId)` is `a`. */ // solhint-disable-next-line func-name-mixedcase function __unsafe_increaseBalance(address account, uint256 amount) internal { _balances[account] += amount; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @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 (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @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.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 v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @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 v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { 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 = Math.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 `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// 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 IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { 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) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 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 10, 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 * 8) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {OperatorFilterer} from "./OperatorFilterer.sol"; import {CANONICAL_CORI_SUBSCRIPTION} from "./lib/Constants.sol"; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. * @dev Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { /// @dev The constructor that is called when the contract is being deployed. constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.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 Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/draft-IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; import {CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS} from "./lib/Constants.sol"; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. * Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract OperatorFilterer { /// @dev Emitted when an operator is not allowed. error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS); /// @dev The constructor that is called when the contract is being deployed. constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } /** * @dev A helper function to check if an operator is allowed. */ modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } /** * @dev A helper function to check if an operator approval is allowed. */ modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } /** * @dev A helper function to check if an operator is allowed. */ function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // under normal circumstances, this function will revert rather than return false, but inheriting contracts // may specify their own OperatorFilterRegistry implementations, which may behave differently if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } }
// 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; 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 (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.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 ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
{ "optimizer": { "enabled": true, "runs": 20000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"availableMints","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"grantOgSpots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"grantOgSpotsBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"grantWhitelistSpots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"grantWhitelistSpotsBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxOgSpots","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxReserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWhitelistSpots","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintReservedFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"}],"name":"mintReservedTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogOnly","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"ogSpotsOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogSpotsOpen","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogSpotsTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"recoverNonFungibleToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"recoverToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"reservedFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reservedOpen","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reservedTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyFraction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"royaltyReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintPerWallet","type":"uint256"}],"name":"setMaxMintPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_mintActive","type":"bool"}],"name":"setMintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_ogOnly","type":"bool"}],"name":"setOgOnly","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_royalty","type":"uint96"}],"name":"setRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_whitelistOnly","type":"bool"}],"name":"setWhitelistOnly","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","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":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"cursor","type":"uint256"},{"internalType":"uint256","name":"size","type":"uint256"}],"name":"tokensOfOwnerBySize","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"},{"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":"address","name":"","type":"address"}],"name":"walletMintLimitExtempt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistOnly","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistSpotsOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistSpotsOpen","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistSpotsTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
610100604052601b805462ffffff1916620101001790553480156200002357600080fd5b506117706000196102586040518060400160405280600e81526020016d4b7265657079204d6f6e7374617360901b815250604051806040016040528060028152602001614b4d60f01b815250733cc6cdda760b79bafa08df41ecfa224f810dceb6600160006daaeb6d7670e522a718067333cd4e6001600160a01b03163b1115620001d75780156200012557604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200010657600080fd5b505af11580156200011b573d6000803e3d6000fd5b50505050620001d7565b6001600160a01b03821615620001765760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620000eb565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001bd57600080fd5b505af1158015620001d2573d6000803e3d6000fd5b505050505b50620001e590503362000224565b6001620001f3838262000319565b50600262000202828262000319565b50505060805260a05260c05260016016556119c860e0526007601955620003e5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200029f57607f821691505b602082108103620002c057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200031457600081815260208120601f850160051c81016020861015620002ef5750805b601f850160051c820191505b818110156200031057828155600101620002fb565b5050505b505050565b81516001600160401b0381111562000335576200033562000274565b6200034d816200034684546200028a565b84620002c6565b602080601f8311600181146200038557600084156200036c5750858301515b600019600386901b1c1916600185901b17855562000310565b600085815260208120601f198616915b82811015620003b65788860151825594840194600190910190840162000395565b5085821015620003d55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c05160e051614b756200044960003960008181610b0501526126bc01526000818161064b01528181612241015261290b015260008181610c700152818161119701526119d80152600081816109cf0152612d980152614b756000f3fe6080604052600436106103c35760003560e01c8063854ec1af116101f2578063bc2759781161010d578063e7dee99f116100a0578063ee1cc9441161006f578063ee1cc94414610bfe578063ee9f307b14610c1e578063f2fde38b14610c3e578063f9bc80d014610c5e57600080fd5b8063e7dee99f14610b5d578063e985e9c514610b72578063ea05a8c614610bc8578063ea8c9be014610be857600080fd5b8063d359a0ea116100dc578063d359a0ea14610add578063d5abeb0114610af3578063d66b3eda14610b27578063d8343c7414610b4757600080fd5b8063bc27597814610a67578063c68ff9f214610a87578063c87b56dd14610a9d578063cc47a40b14610abd57600080fd5b80639d17a3e911610185578063afdf613411610154578063afdf6134146109f1578063b228d92514610a11578063b88d4fde14610a27578063bb0fd14714610a4757600080fd5b80639d17a3e9146109685780639fbc871314610988578063a22cb4651461099d578063a9898fd9146109bd57600080fd5b80638f2fc60b116101c15780638f2fc60b146108e657806395d89b41146109065780639bc19b6c1461091b5780639be65a601461094857600080fd5b8063854ec1af14610840578063885214891461086e5780638d9d9c721461088e5780638da5cb5b146108bb57600080fd5b80633a52495a116102e25780635b02b68511610275578063715018a611610244578063715018a6146107be5780637de55fe1146107d35780638233e9c3146107f35780638462151c1461081357600080fd5b80635b02b685146107385780636352211e1461076857806367a539ea1461078857806370a082311461079e57600080fd5b80634b4687b5116102b15780634b4687b5146106c25780634d22de26146106e25780634f6ccce7146106f857806355f804b31461071857600080fd5b80633a52495a1461063957806340c10f191461066d57806341f434341461068057806342842e0e146106a257600080fd5b806318160ddd1161035a57806325fd90f31161032957806325fd90f3146105935780632a55205a146105ad5780632f745c59146105f957806332b01d9c1461061957600080fd5b806318160ddd146104fa5780631b93c623146105195780631e7269c51461054657806323b872dd1461057357600080fd5b8063095ea7b311610396578063095ea7b3146104865780630f7309e8146104a657806310969523146104bb57806318127f35146104db57600080fd5b806301ffc9a7146103c857806306fdde03146103fd578063081812fc1461041f578063094f9e9a14610464575b600080fd5b3480156103d457600080fd5b506103e86103e3366004614166565b610c92565b60405190151581526020015b60405180910390f35b34801561040957600080fd5b50610412610ca3565b6040516103f491906141f1565b34801561042b57600080fd5b5061043f61043a366004614204565b610d35565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016103f4565b34801561047057600080fd5b5061048461047f3660046142e0565b610d69565b005b34801561049257600080fd5b506104846104a13660046143d3565b610d8c565b3480156104b257600080fd5b50610412610da0565b3480156104c757600080fd5b506104846104d6366004614473565b610e2e565b3480156104e757600080fd5b50601b546103e890610100900460ff1681565b34801561050657600080fd5b506009545b6040519081526020016103f4565b34801561052557600080fd5b5061050b6105343660046144bc565b600d6020526000908152604090205481565b34801561055257600080fd5b5061050b6105613660046144bc565b601c6020526000908152604090205481565b34801561057f57600080fd5b5061048461058e3660046144d7565b610e46565b34801561059f57600080fd5b50601b546103e89060ff1681565b3480156105b957600080fd5b506105cd6105c8366004614513565b610e7e565b6040805173ffffffffffffffffffffffffffffffffffffffff90931683526020830191909152016103f4565b34801561060557600080fd5b5061050b6106143660046143d3565b610f77565b34801561062557600080fd5b506104846106343660046142e0565b611031565b34801561064557600080fd5b5061050b7f000000000000000000000000000000000000000000000000000000000000000081565b61048461067b3660046143d3565b611204565b34801561068c57600080fd5b5061043f6daaeb6d7670e522a718067333cd4e81565b3480156106ae57600080fd5b506104846106bd3660046144d7565b61134d565b3480156106ce57600080fd5b50601b546103e89062010000900460ff1681565b3480156106ee57600080fd5b5061050b60155481565b34801561070457600080fd5b5061050b610713366004614204565b61137f565b34801561072457600080fd5b50610484610733366004614473565b611423565b34801561074457600080fd5b506103e86107533660046144bc565b601d6020526000908152604090205460ff1681565b34801561077457600080fd5b5061043f610783366004614204565b611437565b34801561079457600080fd5b5061050b600e5481565b3480156107aa57600080fd5b5061050b6107b93660046144bc565b6114a9565b3480156107ca57600080fd5b5061048461155d565b3480156107df57600080fd5b506104846107ee3660046143d3565b611571565b3480156107ff57600080fd5b5061048461080e366004614535565b611618565b34801561081f57600080fd5b5061083361082e3660046144bc565b611703565b6040516103f491906145b2565b34801561084c57600080fd5b5061086061085b3660046145c5565b6117a5565b6040516103f49291906145f8565b34801561087a57600080fd5b506104846108893660046143d3565b611885565b34801561089a57600080fd5b5061050b6108a93660046144bc565b60136020526000908152604090205481565b3480156108c757600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff1661043f565b3480156108f257600080fd5b5061048461090136600461461a565b6118a1565b34801561091257600080fd5b506104126118b3565b34801561092757600080fd5b5061050b6109363660046144bc565b60106020526000908152604090205481565b34801561095457600080fd5b506104846109633660046144bc565b6118c2565b34801561097457600080fd5b506104846109833660046143d3565b6119ce565b34801561099457600080fd5b5061043f611ac3565b3480156109a957600080fd5b506104846109b8366004614670565b611ae8565b3480156109c957600080fd5b5061050b7f000000000000000000000000000000000000000000000000000000000000000081565b3480156109fd57600080fd5b50610484610a0c366004614204565b611afc565b348015610a1d57600080fd5b5061050b60195481565b348015610a3357600080fd5b50610484610a4236600461469c565b611b09565b348015610a5357600080fd5b50610484610a623660046143d3565b611b43565b348015610a7357600080fd5b50610484610a82366004614718565b611bdb565b348015610a9357600080fd5b5061050b60145481565b348015610aa957600080fd5b50610412610ab8366004614204565b611c1a565b348015610ac957600080fd5b50610484610ad83660046143d3565b611c81565b348015610ae957600080fd5b5061050b600f5481565b348015610aff57600080fd5b5061050b7f000000000000000000000000000000000000000000000000000000000000000081565b348015610b3357600080fd5b5061050b610b423660046144bc565b611ce3565b348015610b5357600080fd5b5061050b60125481565b348015610b6957600080fd5b5061050b611dd6565b348015610b7e57600080fd5b506103e8610b8d366004614735565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260066020908152604080832093909416825291909152205460ff1690565b348015610bd457600080fd5b50610484610be3366004614718565b611de5565b348015610bf457600080fd5b5061050b60115481565b348015610c0a57600080fd5b50610484610c19366004614718565b611e25565b348015610c2a57600080fd5b50610484610c393660046143d3565b611e5e565b348015610c4a57600080fd5b50610484610c593660046144bc565b611f10565b348015610c6a57600080fd5b5061050b7f000000000000000000000000000000000000000000000000000000000000000081565b6000610c9d82611fad565b92915050565b606060018054610cb290614768565b80601f0160208091040260200160405190810160405280929190818152602001828054610cde90614768565b8015610d2b5780601f10610d0057610100808354040283529160200191610d2b565b820191906000526020600020905b815481529060010190602001808311610d0e57829003601f168201915b5050505050905090565b6000610d4082612003565b5060009081526005602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b610d71612074565b610d7c8383836120db565b610d87838383611031565b505050565b81610d96816122ae565b610d8783836123b3565b601a8054610dad90614768565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd990614768565b8015610e265780601f10610dfb57610100808354040283529160200191610e26565b820191906000526020600020905b815481529060010190602001808311610e0957829003601f168201915b505050505081565b610e36612074565b601a610e428282614801565b5050565b8273ffffffffffffffffffffffffffffffffffffffff81163314610e6d57610e6d336122ae565b610e78848484612506565b50505050565b6000828152600c6020908152604080832081518083019092525473ffffffffffffffffffffffffffffffffffffffff8116808352740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff16928201929092528291610f39575060408051808201909152600b5473ffffffffffffffffffffffffffffffffffffffff811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1660208201525b602081015160009061271090610f5d906bffffffffffffffffffffffff168761494a565b610f679190614961565b91519350909150505b9250929050565b6000610f82836114a9565b8210610ffb5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e647300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5073ffffffffffffffffffffffffffffffffffffffff919091166000908152600760209081526040808320938352929052205490565b611039612074565b805182146110895760405162461bcd60e51b815260206004820152601060248201527f4c656e677468206d6973736d61746368000000000000000000000000000000006044820152606401610ff2565b6000805b83811015611161578281815181106110a7576110a761499c565b6020026020010151601060008787858181106110c5576110c561499c565b90506020020160208101906110da91906144bc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461112391906149cb565b9250508190555082818151811061113c5761113c61499c565b60200260200101518261114f91906149cb565b915061115a816149de565b905061108d565b50806011600082825461117491906149cb565b92505081905550806012600082825461118d91906149cb565b90915550506012547f00000000000000000000000000000000000000000000000000000000000000001015610e785760405162461bcd60e51b815260206004820152601960248201527f45786365656473206d617857686974656c69737453706f7473000000000000006044820152606401610ff2565b601b5460ff166112565760405162461bcd60e51b815260206004820152601460248201527f4d696e74206e6f742073746172746564207965740000000000000000000000006044820152606401610ff2565b3273ffffffffffffffffffffffffffffffffffffffff8316146112bb5760405162461bcd60e51b815260206004820152601160248201527f4f6e6c79206d696e7420746f2073656c660000000000000000000000000000006044820152606401610ff2565b34156113095760405162461bcd60e51b815260206004820152601f60248201527f56616c75652073656e7420646f6573206e6f74206d61746368207072696365006044820152606401610ff2565b601b54610100900460ff161561132857611323828261258d565b611343565b601b5462010000900460ff161561134357611343828261259d565b610e428282612660565b8273ffffffffffffffffffffffffffffffffffffffff8116331461137457611374336122ae565b610e78848484612871565b600061138a60095490565b82106113fe5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610ff2565b600982815481106114115761141161499c565b90600052602060002001549050919050565b61142b612074565b6018610e428282614801565b60008181526003602052604081205473ffffffffffffffffffffffffffffffffffffffff1680610c9d5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610ff2565b600073ffffffffffffffffffffffffffffffffffffffff82166115345760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e657200000000000000000000000000000000000000000000006064820152608401610ff2565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526004602052604090205490565b611565612074565b61156f600061288c565b565b336000908152600d60205260409020548111156115d05760405162461bcd60e51b815260206004820152601760248201527f4578636565647320726573657276656420616d6f756e740000000000000000006044820152606401610ff2565b336000908152600d6020526040812080548392906115ef908490614a16565b9250508190555080600f60008282546116089190614a16565b90915550610e4290508282612660565b336000908152600d602052604090205481908111156116795760405162461bcd60e51b815260206004820152601760248201527f4578636565647320726573657276656420616d6f756e740000000000000000006044820152606401610ff2565b336000908152600d602052604081208054839290611698908490614a16565b9250508190555080600f60008282546116b19190614a16565b90915550600090505b81811015610e78576116f38484838181106116d7576116d761499c565b90506020020160208101906116ec91906144bc565b6001612660565b6116fc816149de565b90506116ba565b60606000611710836114a9565b905060008167ffffffffffffffff81111561172d5761172d614262565b604051908082528060200260200182016040528015611756578160200160208202803683370190505b50905060005b8281101561179d5761176e8582610f77565b8282815181106117805761178061499c565b602090810291909101015280611795816149de565b91505061175c565b509392505050565b6060600082846117b4876114a9565b6117be9190614a16565b8111156117dc57846117cf876114a9565b6117d99190614a16565b90505b60008167ffffffffffffffff8111156117f7576117f7614262565b604051908082528060200260200182016040528015611820578160200160208202803683370190505b50905060005b8281101561186b5761183c88610614838a6149cb565b82828151811061184e5761184e61499c565b602090810291909101015280611863816149de565b915050611826565b508061187783886149cb565b935093505050935093915050565b61188d612074565b6118978282612901565b610e4282826119ce565b6118a9612074565b610e4282826129ed565b606060028054610cb290614768565b6118ca612074565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8316906370a0823190602401602060405180830381865afa158015611937573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061195b9190614a29565b9050806000036119ad5760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f74207265636f766572207a65726f2062616c616e636500000000006044820152606401610ff2565b610e4273ffffffffffffffffffffffffffffffffffffffff83163383612b32565b6119d6612074565b7f000000000000000000000000000000000000000000000000000000000000000081601154611a0591906149cb565b1115611a535760405162461bcd60e51b815260206004820152601960248201527f45786365656473206d617857686974656c69737453706f7473000000000000006044820152606401610ff2565b73ffffffffffffffffffffffffffffffffffffffff821660009081526010602052604081208054839290611a889084906149cb565b925050819055508060116000828254611aa191906149cb565b925050819055508060126000828254611aba91906149cb565b90915550505050565b600080611ae1816127105b6bffffffffffffffffffffffff16610e7e565b5092915050565b81611af2816122ae565b610d878383612bbf565b611b04612074565b601955565b8373ffffffffffffffffffffffffffffffffffffffff81163314611b3057611b30336122ae565b611b3c85858585612bca565b5050505050565b611b4b612074565b6040517f23b872dd0000000000000000000000000000000000000000000000000000000081523060048201523360248201526044810182905273ffffffffffffffffffffffffffffffffffffffff8316906323b872dd90606401600060405180830381600087803b158015611bbf57600080fd5b505af1158015611bd3573d6000803e3d6000fd5b505050505050565b611be3612074565b601b8054911515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055565b6060611c2582612003565b6000611c2f612c52565b90506000815111611c4f5760405180602001604052806000815250611c7a565b80611c5984612c61565b604051602001611c6a929190614a42565b6040516020818303038152906040525b9392505050565b611c89612074565b611c938282612d1f565b5073ffffffffffffffffffffffffffffffffffffffff166000908152601d6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b601b54600090610100900460ff1615611d22575073ffffffffffffffffffffffffffffffffffffffff8116600090815260136020526040902054611d64565b601b5462010000900460ff1615611d5f575073ffffffffffffffffffffffffffffffffffffffff8116600090815260106020526040902054611d64565b506019545b60195473ffffffffffffffffffffffffffffffffffffffff83166000908152601c6020526040902054611d989083906149cb565b1115611dd15773ffffffffffffffffffffffffffffffffffffffff82166000908152601c6020526040902054601954610c9d9190614a16565b919050565b600080611c7a81612710611ace565b611ded612074565b601b805491151562010000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff909216919091179055565b611e2d612074565b601b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b611e66612074565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600d6020526040902054811115611edb5760405162461bcd60e51b815260206004820152601760248201527f4578636565647320726573657276656420616d6f756e740000000000000000006044820152606401610ff2565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600d6020526040812080548392906115ef908490614a16565b611f18612074565b73ffffffffffffffffffffffffffffffffffffffff8116611fa15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610ff2565b611faa8161288c565b50565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a000000000000000000000000000000000000000000000000000000001480610c9d5750610c9d82612e05565b60008181526003602052604090205473ffffffffffffffffffffffffffffffffffffffff16611faa5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610ff2565b60005473ffffffffffffffffffffffffffffffffffffffff16331461156f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ff2565b6120e3612074565b805182146121335760405162461bcd60e51b815260206004820152601060248201527f4c656e677468206d6973736d61746368000000000000000000000000000000006044820152606401610ff2565b6000805b8381101561220b578281815181106121515761215161499c565b60200260200101516013600087878581811061216f5761216f61499c565b905060200201602081019061218491906144bc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121cd91906149cb565b925050819055508281815181106121e6576121e661499c565b6020026020010151826121f991906149cb565b9150612204816149de565b9050612137565b50806014600082825461221e91906149cb565b92505081905550806015600082825461223791906149cb565b90915550506015547f00000000000000000000000000000000000000000000000000000000000000001015610e785760405162461bcd60e51b815260206004820152601260248201527f45786365656473206d61784f6753706f747300000000000000000000000000006044820152606401610ff2565b6daaeb6d7670e522a718067333cd4e3b15611faa576040517fc617113400000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015612341573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123659190614a71565b611faa576040517fede71dcc00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82166004820152602401610ff2565b60006123be82611437565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036124615760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610ff2565b3373ffffffffffffffffffffffffffffffffffffffff8216148061248a575061248a8133610b8d565b6124fc5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610ff2565b610d878383612e5b565b6125103382612efb565b6125825760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f766564000000000000000000000000000000000000006064820152608401610ff2565b610d87838383612fbb565b6125978282613275565b610e4282825b73ffffffffffffffffffffffffffffffffffffffff82166000908152601060205260409020548111156126125760405162461bcd60e51b815260206004820152601760248201527f457863656564732077686974656c6973742073706f74730000000000000000006044820152606401610ff2565b73ffffffffffffffffffffffffffffffffffffffff821660009081526010602052604081208054839290612647908490614a16565b925050819055508060116000828254611aba9190614a16565b612668613338565b601b5460ff166126ba5760405162461bcd60e51b815260206004820152601460248201527f4d696e74206e6f742073746172746564207965740000000000000000000000006044820152606401610ff2565b7f0000000000000000000000000000000000000000000000000000000000000000600f54826126e860095490565b6126f291906149cb565b6126fc91906149cb565b111561274a5760405162461bcd60e51b815260206004820152601160248201527f45786365656473206d6178537570706c790000000000000000000000000000006044820152606401610ff2565b73ffffffffffffffffffffffffffffffffffffffff82166000908152601c60205260408120805483929061277f9084906149cb565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152601d602052604090205460ff16806127df575060195473ffffffffffffffffffffffffffffffffffffffff83166000908152601c602052604090205411155b61282b5760405162461bcd60e51b815260206004820152601c60248201527f45786365656473206d6178206d696e7473207065722077616c6c6574000000006044820152606401610ff2565b60005b8181101561286657612844601780546001019055565b6128568361285160175490565b613391565b61285f816149de565b905061282e565b50610e426001601655565b610d8783838360405180602001604052806000815250611b09565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b612909612074565b7f00000000000000000000000000000000000000000000000000000000000000008160145461293891906149cb565b11156129865760405162461bcd60e51b815260206004820152601260248201527f45786365656473206d61784f6753706f747300000000000000000000000000006044820152606401610ff2565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260136020526040812080548392906129bb9084906149cb565b9250508190555080601460008282546129d491906149cb565b925050819055508060156000828254611aba91906149cb565b6127106bffffffffffffffffffffffff82161115612a735760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152608401610ff2565b73ffffffffffffffffffffffffffffffffffffffff8216612ad65760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610ff2565b6040805180820190915273ffffffffffffffffffffffffffffffffffffffff9092168083526bffffffffffffffffffffffff90911660209092018290527401000000000000000000000000000000000000000090910217600b55565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610d879084906133ab565b610e4233838361349d565b612bd43383612efb565b612c465760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f766564000000000000000000000000000000000000006064820152608401610ff2565b610e78848484846135b0565b606060188054610cb290614768565b60606000612c6e83613639565b600101905060008167ffffffffffffffff811115612c8e57612c8e614262565b6040519080825280601f01601f191660200182016040528015612cb8576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084612cc257509392505050565b612d27612074565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600d602052604081208054839290612d5c9084906149cb565b9250508190555080600f6000828254612d7591906149cb565b9250508190555080600e6000828254612d8e91906149cb565b9091555050600e547f00000000000000000000000000000000000000000000000000000000000000001015610e425760405162461bcd60e51b815260206004820152601360248201527f45786365656473206d61785265736572766564000000000000000000000000006044820152606401610ff2565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610c9d5750610c9d8261371b565b600081815260056020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84169081179091558190612eb582611437565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080612f0783611437565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612f75575073ffffffffffffffffffffffffffffffffffffffff80821660009081526006602090815260408083209388168352929052205460ff165b80612fb357508373ffffffffffffffffffffffffffffffffffffffff16612f9b84610d35565b73ffffffffffffffffffffffffffffffffffffffff16145b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff16612fdb82611437565b73ffffffffffffffffffffffffffffffffffffffff16146130645760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610ff2565b73ffffffffffffffffffffffffffffffffffffffff82166130ec5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610ff2565b6130f983838360016137fe565b8273ffffffffffffffffffffffffffffffffffffffff1661311982611437565b73ffffffffffffffffffffffffffffffffffffffff16146131a25760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610ff2565b600081815260056020908152604080832080547fffffffffffffffffffffffff000000000000000000000000000000000000000090811690915573ffffffffffffffffffffffffffffffffffffffff8781168086526004855283862080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01905590871680865283862080546001019055868652600390945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b73ffffffffffffffffffffffffffffffffffffffff82166000908152601360205260409020548111156132ea5760405162461bcd60e51b815260206004820152601060248201527f45786365656473206f672073706f7473000000000000000000000000000000006044820152606401610ff2565b73ffffffffffffffffffffffffffffffffffffffff82166000908152601360205260408120805483929061331f908490614a16565b925050819055508060146000828254611aba9190614a16565b60026016540361338a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610ff2565b6002601655565b610e42828260405180602001604052806000815250613981565b600061340d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613a0a9092919063ffffffff16565b805190915015610d87578080602001905181019061342b9190614a71565b610d875760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610ff2565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036135185760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610ff2565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526006602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6135bb848484612fbb565b6135c784848484613a19565b610e785760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610ff2565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613682577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef810000000083106136ae576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106136cc57662386f26fc10000830492506010015b6305f5e10083106136e4576305f5e100830492506008015b61271083106136f857612710830492506004015b6064831061370a576064830492506002015b600a8310610c9d5760010192915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806137ae57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610c9d57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610c9d565b60018111156138755760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e736563757469766520747260448201527f616e7366657273206e6f7420737570706f7274656400000000000000000000006064820152608401610ff2565b8173ffffffffffffffffffffffffffffffffffffffff85166138de576138d981600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b61391b565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161461391b5761391b8582613bf2565b73ffffffffffffffffffffffffffffffffffffffff84166139445761393f81613ca9565b611b3c565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614611b3c57611b3c8482613d58565b61398b8383613da9565b6139986000848484613a19565b610d875760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610ff2565b6060612fb38484600085613f8e565b600073ffffffffffffffffffffffffffffffffffffffff84163b15613be7576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290613a90903390899088908890600401614a8e565b6020604051808303816000875af1925050508015613ae9575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252613ae691810190614ad7565b60015b613b9c573d808015613b17576040519150601f19603f3d011682016040523d82523d6000602084013e613b1c565b606091505b508051600003613b945760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610ff2565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612fb3565b506001949350505050565b60006001613bff846114a9565b613c099190614a16565b600083815260086020526040902054909150808214613c695773ffffffffffffffffffffffffffffffffffffffff841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b50600091825260086020908152604080842084905573ffffffffffffffffffffffffffffffffffffffff9094168352600781528383209183525290812055565b600954600090613cbb90600190614a16565b6000838152600a602052604081205460098054939450909284908110613ce357613ce361499c565b906000526020600020015490508060098381548110613d0457613d0461499c565b6000918252602080832090910192909255828152600a90915260408082208490558582528120556009805480613d3c57613d3c614af4565b6001900381819060005260206000200160009055905550505050565b6000613d63836114a9565b73ffffffffffffffffffffffffffffffffffffffff9093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b73ffffffffffffffffffffffffffffffffffffffff8216613e0c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610ff2565b60008181526003602052604090205473ffffffffffffffffffffffffffffffffffffffff1615613e7e5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610ff2565b613e8c6000838360016137fe565b60008181526003602052604090205473ffffffffffffffffffffffffffffffffffffffff1615613efe5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610ff2565b73ffffffffffffffffffffffffffffffffffffffff8216600081815260046020908152604080832080546001019055848352600390915280822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060824710156140065760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610ff2565b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161402f9190614b23565b60006040518083038185875af1925050503d806000811461406c576040519150601f19603f3d011682016040523d82523d6000602084013e614071565b606091505b50915091506140828783838761408d565b979650505050505050565b606083156141095782516000036141025773ffffffffffffffffffffffffffffffffffffffff85163b6141025760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610ff2565b5081612fb3565b612fb3838381511561411e5781518083602001fd5b8060405162461bcd60e51b8152600401610ff291906141f1565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114611faa57600080fd5b60006020828403121561417857600080fd5b8135611c7a81614138565b60005b8381101561419e578181015183820152602001614186565b50506000910152565b600081518084526141bf816020860160208601614183565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611c7a60208301846141a7565b60006020828403121561421657600080fd5b5035919050565b60008083601f84011261422f57600080fd5b50813567ffffffffffffffff81111561424757600080fd5b6020830191508360208260051b8501011115610f7057600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156142d8576142d8614262565b604052919050565b6000806000604084860312156142f557600080fd5b833567ffffffffffffffff8082111561430d57600080fd5b6143198783880161421d565b909550935060209150858201358181111561433357600080fd5b8601601f8101881361434457600080fd5b80358281111561435657614356614262565b8060051b9250614367848401614291565b818152928201840192848101908a85111561438157600080fd5b928501925b8484101561439f57833582529285019290850190614386565b8096505050505050509250925092565b803573ffffffffffffffffffffffffffffffffffffffff81168114611dd157600080fd5b600080604083850312156143e657600080fd5b6143ef836143af565b946020939093013593505050565b600067ffffffffffffffff83111561441757614417614262565b61444860207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601614291565b905082815283838301111561445c57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561448557600080fd5b813567ffffffffffffffff81111561449c57600080fd5b8201601f810184136144ad57600080fd5b612fb3848235602084016143fd565b6000602082840312156144ce57600080fd5b611c7a826143af565b6000806000606084860312156144ec57600080fd5b6144f5846143af565b9250614503602085016143af565b9150604084013590509250925092565b6000806040838503121561452657600080fd5b50508035926020909101359150565b6000806020838503121561454857600080fd5b823567ffffffffffffffff81111561455f57600080fd5b61456b8582860161421d565b90969095509350505050565b600081518084526020808501945080840160005b838110156145a75781518752958201959082019060010161458b565b509495945050505050565b602081526000611c7a6020830184614577565b6000806000606084860312156145da57600080fd5b6145e3846143af565b95602085013595506040909401359392505050565b60408152600061460b6040830185614577565b90508260208301529392505050565b6000806040838503121561462d57600080fd5b614636836143af565b915060208301356bffffffffffffffffffffffff8116811461465757600080fd5b809150509250929050565b8015158114611faa57600080fd5b6000806040838503121561468357600080fd5b61468c836143af565b9150602083013561465781614662565b600080600080608085870312156146b257600080fd5b6146bb856143af565b93506146c9602086016143af565b925060408501359150606085013567ffffffffffffffff8111156146ec57600080fd5b8501601f810187136146fd57600080fd5b61470c878235602084016143fd565b91505092959194509250565b60006020828403121561472a57600080fd5b8135611c7a81614662565b6000806040838503121561474857600080fd5b614751836143af565b915061475f602084016143af565b90509250929050565b600181811c9082168061477c57607f821691505b6020821081036147b5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b601f821115610d8757600081815260208120601f850160051c810160208610156147e25750805b601f850160051c820191505b81811015611bd3578281556001016147ee565b815167ffffffffffffffff81111561481b5761481b614262565b61482f816148298454614768565b846147bb565b602080601f831160018114614882576000841561484c5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555611bd3565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b828110156148cf578886015182559484019460019091019084016148b0565b508582101561490b57878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8082028115828204841417610c9d57610c9d61491b565b600082614997577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b80820180821115610c9d57610c9d61491b565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614a0f57614a0f61491b565b5060010190565b81810381811115610c9d57610c9d61491b565b600060208284031215614a3b57600080fd5b5051919050565b60008351614a54818460208801614183565b835190830190614a68818360208801614183565b01949350505050565b600060208284031215614a8357600080fd5b8151611c7a81614662565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152614acd60808301846141a7565b9695505050505050565b600060208284031215614ae957600080fd5b8151611c7a81614138565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b60008251614b35818460208701614183565b919091019291505056fea264697066735822122005caf7c5cf9dff5a6bfc4e26773ab3c5d281df9dc4b9f7e82bc22ce0662fde1064736f6c63430008130033
Deployed Bytecode
0x6080604052600436106103c35760003560e01c8063854ec1af116101f2578063bc2759781161010d578063e7dee99f116100a0578063ee1cc9441161006f578063ee1cc94414610bfe578063ee9f307b14610c1e578063f2fde38b14610c3e578063f9bc80d014610c5e57600080fd5b8063e7dee99f14610b5d578063e985e9c514610b72578063ea05a8c614610bc8578063ea8c9be014610be857600080fd5b8063d359a0ea116100dc578063d359a0ea14610add578063d5abeb0114610af3578063d66b3eda14610b27578063d8343c7414610b4757600080fd5b8063bc27597814610a67578063c68ff9f214610a87578063c87b56dd14610a9d578063cc47a40b14610abd57600080fd5b80639d17a3e911610185578063afdf613411610154578063afdf6134146109f1578063b228d92514610a11578063b88d4fde14610a27578063bb0fd14714610a4757600080fd5b80639d17a3e9146109685780639fbc871314610988578063a22cb4651461099d578063a9898fd9146109bd57600080fd5b80638f2fc60b116101c15780638f2fc60b146108e657806395d89b41146109065780639bc19b6c1461091b5780639be65a601461094857600080fd5b8063854ec1af14610840578063885214891461086e5780638d9d9c721461088e5780638da5cb5b146108bb57600080fd5b80633a52495a116102e25780635b02b68511610275578063715018a611610244578063715018a6146107be5780637de55fe1146107d35780638233e9c3146107f35780638462151c1461081357600080fd5b80635b02b685146107385780636352211e1461076857806367a539ea1461078857806370a082311461079e57600080fd5b80634b4687b5116102b15780634b4687b5146106c25780634d22de26146106e25780634f6ccce7146106f857806355f804b31461071857600080fd5b80633a52495a1461063957806340c10f191461066d57806341f434341461068057806342842e0e146106a257600080fd5b806318160ddd1161035a57806325fd90f31161032957806325fd90f3146105935780632a55205a146105ad5780632f745c59146105f957806332b01d9c1461061957600080fd5b806318160ddd146104fa5780631b93c623146105195780631e7269c51461054657806323b872dd1461057357600080fd5b8063095ea7b311610396578063095ea7b3146104865780630f7309e8146104a657806310969523146104bb57806318127f35146104db57600080fd5b806301ffc9a7146103c857806306fdde03146103fd578063081812fc1461041f578063094f9e9a14610464575b600080fd5b3480156103d457600080fd5b506103e86103e3366004614166565b610c92565b60405190151581526020015b60405180910390f35b34801561040957600080fd5b50610412610ca3565b6040516103f491906141f1565b34801561042b57600080fd5b5061043f61043a366004614204565b610d35565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016103f4565b34801561047057600080fd5b5061048461047f3660046142e0565b610d69565b005b34801561049257600080fd5b506104846104a13660046143d3565b610d8c565b3480156104b257600080fd5b50610412610da0565b3480156104c757600080fd5b506104846104d6366004614473565b610e2e565b3480156104e757600080fd5b50601b546103e890610100900460ff1681565b34801561050657600080fd5b506009545b6040519081526020016103f4565b34801561052557600080fd5b5061050b6105343660046144bc565b600d6020526000908152604090205481565b34801561055257600080fd5b5061050b6105613660046144bc565b601c6020526000908152604090205481565b34801561057f57600080fd5b5061048461058e3660046144d7565b610e46565b34801561059f57600080fd5b50601b546103e89060ff1681565b3480156105b957600080fd5b506105cd6105c8366004614513565b610e7e565b6040805173ffffffffffffffffffffffffffffffffffffffff90931683526020830191909152016103f4565b34801561060557600080fd5b5061050b6106143660046143d3565b610f77565b34801561062557600080fd5b506104846106343660046142e0565b611031565b34801561064557600080fd5b5061050b7f000000000000000000000000000000000000000000000000000000000000177081565b61048461067b3660046143d3565b611204565b34801561068c57600080fd5b5061043f6daaeb6d7670e522a718067333cd4e81565b3480156106ae57600080fd5b506104846106bd3660046144d7565b61134d565b3480156106ce57600080fd5b50601b546103e89062010000900460ff1681565b3480156106ee57600080fd5b5061050b60155481565b34801561070457600080fd5b5061050b610713366004614204565b61137f565b34801561072457600080fd5b50610484610733366004614473565b611423565b34801561074457600080fd5b506103e86107533660046144bc565b601d6020526000908152604090205460ff1681565b34801561077457600080fd5b5061043f610783366004614204565b611437565b34801561079457600080fd5b5061050b600e5481565b3480156107aa57600080fd5b5061050b6107b93660046144bc565b6114a9565b3480156107ca57600080fd5b5061048461155d565b3480156107df57600080fd5b506104846107ee3660046143d3565b611571565b3480156107ff57600080fd5b5061048461080e366004614535565b611618565b34801561081f57600080fd5b5061083361082e3660046144bc565b611703565b6040516103f491906145b2565b34801561084c57600080fd5b5061086061085b3660046145c5565b6117a5565b6040516103f49291906145f8565b34801561087a57600080fd5b506104846108893660046143d3565b611885565b34801561089a57600080fd5b5061050b6108a93660046144bc565b60136020526000908152604090205481565b3480156108c757600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff1661043f565b3480156108f257600080fd5b5061048461090136600461461a565b6118a1565b34801561091257600080fd5b506104126118b3565b34801561092757600080fd5b5061050b6109363660046144bc565b60106020526000908152604090205481565b34801561095457600080fd5b506104846109633660046144bc565b6118c2565b34801561097457600080fd5b506104846109833660046143d3565b6119ce565b34801561099457600080fd5b5061043f611ac3565b3480156109a957600080fd5b506104846109b8366004614670565b611ae8565b3480156109c957600080fd5b5061050b7f000000000000000000000000000000000000000000000000000000000000025881565b3480156109fd57600080fd5b50610484610a0c366004614204565b611afc565b348015610a1d57600080fd5b5061050b60195481565b348015610a3357600080fd5b50610484610a4236600461469c565b611b09565b348015610a5357600080fd5b50610484610a623660046143d3565b611b43565b348015610a7357600080fd5b50610484610a82366004614718565b611bdb565b348015610a9357600080fd5b5061050b60145481565b348015610aa957600080fd5b50610412610ab8366004614204565b611c1a565b348015610ac957600080fd5b50610484610ad83660046143d3565b611c81565b348015610ae957600080fd5b5061050b600f5481565b348015610aff57600080fd5b5061050b7f00000000000000000000000000000000000000000000000000000000000019c881565b348015610b3357600080fd5b5061050b610b423660046144bc565b611ce3565b348015610b5357600080fd5b5061050b60125481565b348015610b6957600080fd5b5061050b611dd6565b348015610b7e57600080fd5b506103e8610b8d366004614735565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260066020908152604080832093909416825291909152205460ff1690565b348015610bd457600080fd5b50610484610be3366004614718565b611de5565b348015610bf457600080fd5b5061050b60115481565b348015610c0a57600080fd5b50610484610c19366004614718565b611e25565b348015610c2a57600080fd5b50610484610c393660046143d3565b611e5e565b348015610c4a57600080fd5b50610484610c593660046144bc565b611f10565b348015610c6a57600080fd5b5061050b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81565b6000610c9d82611fad565b92915050565b606060018054610cb290614768565b80601f0160208091040260200160405190810160405280929190818152602001828054610cde90614768565b8015610d2b5780601f10610d0057610100808354040283529160200191610d2b565b820191906000526020600020905b815481529060010190602001808311610d0e57829003601f168201915b5050505050905090565b6000610d4082612003565b5060009081526005602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b610d71612074565b610d7c8383836120db565b610d87838383611031565b505050565b81610d96816122ae565b610d8783836123b3565b601a8054610dad90614768565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd990614768565b8015610e265780601f10610dfb57610100808354040283529160200191610e26565b820191906000526020600020905b815481529060010190602001808311610e0957829003601f168201915b505050505081565b610e36612074565b601a610e428282614801565b5050565b8273ffffffffffffffffffffffffffffffffffffffff81163314610e6d57610e6d336122ae565b610e78848484612506565b50505050565b6000828152600c6020908152604080832081518083019092525473ffffffffffffffffffffffffffffffffffffffff8116808352740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff16928201929092528291610f39575060408051808201909152600b5473ffffffffffffffffffffffffffffffffffffffff811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1660208201525b602081015160009061271090610f5d906bffffffffffffffffffffffff168761494a565b610f679190614961565b91519350909150505b9250929050565b6000610f82836114a9565b8210610ffb5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e647300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5073ffffffffffffffffffffffffffffffffffffffff919091166000908152600760209081526040808320938352929052205490565b611039612074565b805182146110895760405162461bcd60e51b815260206004820152601060248201527f4c656e677468206d6973736d61746368000000000000000000000000000000006044820152606401610ff2565b6000805b83811015611161578281815181106110a7576110a761499c565b6020026020010151601060008787858181106110c5576110c561499c565b90506020020160208101906110da91906144bc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461112391906149cb565b9250508190555082818151811061113c5761113c61499c565b60200260200101518261114f91906149cb565b915061115a816149de565b905061108d565b50806011600082825461117491906149cb565b92505081905550806012600082825461118d91906149cb565b90915550506012547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1015610e785760405162461bcd60e51b815260206004820152601960248201527f45786365656473206d617857686974656c69737453706f7473000000000000006044820152606401610ff2565b601b5460ff166112565760405162461bcd60e51b815260206004820152601460248201527f4d696e74206e6f742073746172746564207965740000000000000000000000006044820152606401610ff2565b3273ffffffffffffffffffffffffffffffffffffffff8316146112bb5760405162461bcd60e51b815260206004820152601160248201527f4f6e6c79206d696e7420746f2073656c660000000000000000000000000000006044820152606401610ff2565b34156113095760405162461bcd60e51b815260206004820152601f60248201527f56616c75652073656e7420646f6573206e6f74206d61746368207072696365006044820152606401610ff2565b601b54610100900460ff161561132857611323828261258d565b611343565b601b5462010000900460ff161561134357611343828261259d565b610e428282612660565b8273ffffffffffffffffffffffffffffffffffffffff8116331461137457611374336122ae565b610e78848484612871565b600061138a60095490565b82106113fe5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610ff2565b600982815481106114115761141161499c565b90600052602060002001549050919050565b61142b612074565b6018610e428282614801565b60008181526003602052604081205473ffffffffffffffffffffffffffffffffffffffff1680610c9d5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610ff2565b600073ffffffffffffffffffffffffffffffffffffffff82166115345760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e657200000000000000000000000000000000000000000000006064820152608401610ff2565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526004602052604090205490565b611565612074565b61156f600061288c565b565b336000908152600d60205260409020548111156115d05760405162461bcd60e51b815260206004820152601760248201527f4578636565647320726573657276656420616d6f756e740000000000000000006044820152606401610ff2565b336000908152600d6020526040812080548392906115ef908490614a16565b9250508190555080600f60008282546116089190614a16565b90915550610e4290508282612660565b336000908152600d602052604090205481908111156116795760405162461bcd60e51b815260206004820152601760248201527f4578636565647320726573657276656420616d6f756e740000000000000000006044820152606401610ff2565b336000908152600d602052604081208054839290611698908490614a16565b9250508190555080600f60008282546116b19190614a16565b90915550600090505b81811015610e78576116f38484838181106116d7576116d761499c565b90506020020160208101906116ec91906144bc565b6001612660565b6116fc816149de565b90506116ba565b60606000611710836114a9565b905060008167ffffffffffffffff81111561172d5761172d614262565b604051908082528060200260200182016040528015611756578160200160208202803683370190505b50905060005b8281101561179d5761176e8582610f77565b8282815181106117805761178061499c565b602090810291909101015280611795816149de565b91505061175c565b509392505050565b6060600082846117b4876114a9565b6117be9190614a16565b8111156117dc57846117cf876114a9565b6117d99190614a16565b90505b60008167ffffffffffffffff8111156117f7576117f7614262565b604051908082528060200260200182016040528015611820578160200160208202803683370190505b50905060005b8281101561186b5761183c88610614838a6149cb565b82828151811061184e5761184e61499c565b602090810291909101015280611863816149de565b915050611826565b508061187783886149cb565b935093505050935093915050565b61188d612074565b6118978282612901565b610e4282826119ce565b6118a9612074565b610e4282826129ed565b606060028054610cb290614768565b6118ca612074565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009073ffffffffffffffffffffffffffffffffffffffff8316906370a0823190602401602060405180830381865afa158015611937573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061195b9190614a29565b9050806000036119ad5760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f74207265636f766572207a65726f2062616c616e636500000000006044820152606401610ff2565b610e4273ffffffffffffffffffffffffffffffffffffffff83163383612b32565b6119d6612074565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81601154611a0591906149cb565b1115611a535760405162461bcd60e51b815260206004820152601960248201527f45786365656473206d617857686974656c69737453706f7473000000000000006044820152606401610ff2565b73ffffffffffffffffffffffffffffffffffffffff821660009081526010602052604081208054839290611a889084906149cb565b925050819055508060116000828254611aa191906149cb565b925050819055508060126000828254611aba91906149cb565b90915550505050565b600080611ae1816127105b6bffffffffffffffffffffffff16610e7e565b5092915050565b81611af2816122ae565b610d878383612bbf565b611b04612074565b601955565b8373ffffffffffffffffffffffffffffffffffffffff81163314611b3057611b30336122ae565b611b3c85858585612bca565b5050505050565b611b4b612074565b6040517f23b872dd0000000000000000000000000000000000000000000000000000000081523060048201523360248201526044810182905273ffffffffffffffffffffffffffffffffffffffff8316906323b872dd90606401600060405180830381600087803b158015611bbf57600080fd5b505af1158015611bd3573d6000803e3d6000fd5b505050505050565b611be3612074565b601b8054911515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055565b6060611c2582612003565b6000611c2f612c52565b90506000815111611c4f5760405180602001604052806000815250611c7a565b80611c5984612c61565b604051602001611c6a929190614a42565b6040516020818303038152906040525b9392505050565b611c89612074565b611c938282612d1f565b5073ffffffffffffffffffffffffffffffffffffffff166000908152601d6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b601b54600090610100900460ff1615611d22575073ffffffffffffffffffffffffffffffffffffffff8116600090815260136020526040902054611d64565b601b5462010000900460ff1615611d5f575073ffffffffffffffffffffffffffffffffffffffff8116600090815260106020526040902054611d64565b506019545b60195473ffffffffffffffffffffffffffffffffffffffff83166000908152601c6020526040902054611d989083906149cb565b1115611dd15773ffffffffffffffffffffffffffffffffffffffff82166000908152601c6020526040902054601954610c9d9190614a16565b919050565b600080611c7a81612710611ace565b611ded612074565b601b805491151562010000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff909216919091179055565b611e2d612074565b601b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b611e66612074565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600d6020526040902054811115611edb5760405162461bcd60e51b815260206004820152601760248201527f4578636565647320726573657276656420616d6f756e740000000000000000006044820152606401610ff2565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600d6020526040812080548392906115ef908490614a16565b611f18612074565b73ffffffffffffffffffffffffffffffffffffffff8116611fa15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610ff2565b611faa8161288c565b50565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a000000000000000000000000000000000000000000000000000000001480610c9d5750610c9d82612e05565b60008181526003602052604090205473ffffffffffffffffffffffffffffffffffffffff16611faa5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610ff2565b60005473ffffffffffffffffffffffffffffffffffffffff16331461156f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ff2565b6120e3612074565b805182146121335760405162461bcd60e51b815260206004820152601060248201527f4c656e677468206d6973736d61746368000000000000000000000000000000006044820152606401610ff2565b6000805b8381101561220b578281815181106121515761215161499c565b60200260200101516013600087878581811061216f5761216f61499c565b905060200201602081019061218491906144bc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121cd91906149cb565b925050819055508281815181106121e6576121e661499c565b6020026020010151826121f991906149cb565b9150612204816149de565b9050612137565b50806014600082825461221e91906149cb565b92505081905550806015600082825461223791906149cb565b90915550506015547f00000000000000000000000000000000000000000000000000000000000017701015610e785760405162461bcd60e51b815260206004820152601260248201527f45786365656473206d61784f6753706f747300000000000000000000000000006044820152606401610ff2565b6daaeb6d7670e522a718067333cd4e3b15611faa576040517fc617113400000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015612341573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123659190614a71565b611faa576040517fede71dcc00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82166004820152602401610ff2565b60006123be82611437565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036124615760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610ff2565b3373ffffffffffffffffffffffffffffffffffffffff8216148061248a575061248a8133610b8d565b6124fc5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610ff2565b610d878383612e5b565b6125103382612efb565b6125825760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f766564000000000000000000000000000000000000006064820152608401610ff2565b610d87838383612fbb565b6125978282613275565b610e4282825b73ffffffffffffffffffffffffffffffffffffffff82166000908152601060205260409020548111156126125760405162461bcd60e51b815260206004820152601760248201527f457863656564732077686974656c6973742073706f74730000000000000000006044820152606401610ff2565b73ffffffffffffffffffffffffffffffffffffffff821660009081526010602052604081208054839290612647908490614a16565b925050819055508060116000828254611aba9190614a16565b612668613338565b601b5460ff166126ba5760405162461bcd60e51b815260206004820152601460248201527f4d696e74206e6f742073746172746564207965740000000000000000000000006044820152606401610ff2565b7f00000000000000000000000000000000000000000000000000000000000019c8600f54826126e860095490565b6126f291906149cb565b6126fc91906149cb565b111561274a5760405162461bcd60e51b815260206004820152601160248201527f45786365656473206d6178537570706c790000000000000000000000000000006044820152606401610ff2565b73ffffffffffffffffffffffffffffffffffffffff82166000908152601c60205260408120805483929061277f9084906149cb565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152601d602052604090205460ff16806127df575060195473ffffffffffffffffffffffffffffffffffffffff83166000908152601c602052604090205411155b61282b5760405162461bcd60e51b815260206004820152601c60248201527f45786365656473206d6178206d696e7473207065722077616c6c6574000000006044820152606401610ff2565b60005b8181101561286657612844601780546001019055565b6128568361285160175490565b613391565b61285f816149de565b905061282e565b50610e426001601655565b610d8783838360405180602001604052806000815250611b09565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b612909612074565b7f00000000000000000000000000000000000000000000000000000000000017708160145461293891906149cb565b11156129865760405162461bcd60e51b815260206004820152601260248201527f45786365656473206d61784f6753706f747300000000000000000000000000006044820152606401610ff2565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260136020526040812080548392906129bb9084906149cb565b9250508190555080601460008282546129d491906149cb565b925050819055508060156000828254611aba91906149cb565b6127106bffffffffffffffffffffffff82161115612a735760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152608401610ff2565b73ffffffffffffffffffffffffffffffffffffffff8216612ad65760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610ff2565b6040805180820190915273ffffffffffffffffffffffffffffffffffffffff9092168083526bffffffffffffffffffffffff90911660209092018290527401000000000000000000000000000000000000000090910217600b55565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610d879084906133ab565b610e4233838361349d565b612bd43383612efb565b612c465760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f766564000000000000000000000000000000000000006064820152608401610ff2565b610e78848484846135b0565b606060188054610cb290614768565b60606000612c6e83613639565b600101905060008167ffffffffffffffff811115612c8e57612c8e614262565b6040519080825280601f01601f191660200182016040528015612cb8576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084612cc257509392505050565b612d27612074565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600d602052604081208054839290612d5c9084906149cb565b9250508190555080600f6000828254612d7591906149cb565b9250508190555080600e6000828254612d8e91906149cb565b9091555050600e547f00000000000000000000000000000000000000000000000000000000000002581015610e425760405162461bcd60e51b815260206004820152601360248201527f45786365656473206d61785265736572766564000000000000000000000000006044820152606401610ff2565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610c9d5750610c9d8261371b565b600081815260056020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84169081179091558190612eb582611437565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080612f0783611437565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612f75575073ffffffffffffffffffffffffffffffffffffffff80821660009081526006602090815260408083209388168352929052205460ff165b80612fb357508373ffffffffffffffffffffffffffffffffffffffff16612f9b84610d35565b73ffffffffffffffffffffffffffffffffffffffff16145b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff16612fdb82611437565b73ffffffffffffffffffffffffffffffffffffffff16146130645760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610ff2565b73ffffffffffffffffffffffffffffffffffffffff82166130ec5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610ff2565b6130f983838360016137fe565b8273ffffffffffffffffffffffffffffffffffffffff1661311982611437565b73ffffffffffffffffffffffffffffffffffffffff16146131a25760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610ff2565b600081815260056020908152604080832080547fffffffffffffffffffffffff000000000000000000000000000000000000000090811690915573ffffffffffffffffffffffffffffffffffffffff8781168086526004855283862080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01905590871680865283862080546001019055868652600390945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b73ffffffffffffffffffffffffffffffffffffffff82166000908152601360205260409020548111156132ea5760405162461bcd60e51b815260206004820152601060248201527f45786365656473206f672073706f7473000000000000000000000000000000006044820152606401610ff2565b73ffffffffffffffffffffffffffffffffffffffff82166000908152601360205260408120805483929061331f908490614a16565b925050819055508060146000828254611aba9190614a16565b60026016540361338a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610ff2565b6002601655565b610e42828260405180602001604052806000815250613981565b600061340d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613a0a9092919063ffffffff16565b805190915015610d87578080602001905181019061342b9190614a71565b610d875760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610ff2565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036135185760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610ff2565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526006602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6135bb848484612fbb565b6135c784848484613a19565b610e785760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610ff2565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613682577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef810000000083106136ae576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106136cc57662386f26fc10000830492506010015b6305f5e10083106136e4576305f5e100830492506008015b61271083106136f857612710830492506004015b6064831061370a576064830492506002015b600a8310610c9d5760010192915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806137ae57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610c9d57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610c9d565b60018111156138755760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e736563757469766520747260448201527f616e7366657273206e6f7420737570706f7274656400000000000000000000006064820152608401610ff2565b8173ffffffffffffffffffffffffffffffffffffffff85166138de576138d981600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b61391b565b8373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161461391b5761391b8582613bf2565b73ffffffffffffffffffffffffffffffffffffffff84166139445761393f81613ca9565b611b3c565b8473ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614611b3c57611b3c8482613d58565b61398b8383613da9565b6139986000848484613a19565b610d875760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610ff2565b6060612fb38484600085613f8e565b600073ffffffffffffffffffffffffffffffffffffffff84163b15613be7576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290613a90903390899088908890600401614a8e565b6020604051808303816000875af1925050508015613ae9575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252613ae691810190614ad7565b60015b613b9c573d808015613b17576040519150601f19603f3d011682016040523d82523d6000602084013e613b1c565b606091505b508051600003613b945760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610ff2565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612fb3565b506001949350505050565b60006001613bff846114a9565b613c099190614a16565b600083815260086020526040902054909150808214613c695773ffffffffffffffffffffffffffffffffffffffff841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b50600091825260086020908152604080842084905573ffffffffffffffffffffffffffffffffffffffff9094168352600781528383209183525290812055565b600954600090613cbb90600190614a16565b6000838152600a602052604081205460098054939450909284908110613ce357613ce361499c565b906000526020600020015490508060098381548110613d0457613d0461499c565b6000918252602080832090910192909255828152600a90915260408082208490558582528120556009805480613d3c57613d3c614af4565b6001900381819060005260206000200160009055905550505050565b6000613d63836114a9565b73ffffffffffffffffffffffffffffffffffffffff9093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b73ffffffffffffffffffffffffffffffffffffffff8216613e0c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610ff2565b60008181526003602052604090205473ffffffffffffffffffffffffffffffffffffffff1615613e7e5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610ff2565b613e8c6000838360016137fe565b60008181526003602052604090205473ffffffffffffffffffffffffffffffffffffffff1615613efe5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610ff2565b73ffffffffffffffffffffffffffffffffffffffff8216600081815260046020908152604080832080546001019055848352600390915280822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060824710156140065760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610ff2565b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161402f9190614b23565b60006040518083038185875af1925050503d806000811461406c576040519150601f19603f3d011682016040523d82523d6000602084013e614071565b606091505b50915091506140828783838761408d565b979650505050505050565b606083156141095782516000036141025773ffffffffffffffffffffffffffffffffffffffff85163b6141025760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610ff2565b5081612fb3565b612fb3838381511561411e5781518083602001fd5b8060405162461bcd60e51b8152600401610ff291906141f1565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114611faa57600080fd5b60006020828403121561417857600080fd5b8135611c7a81614138565b60005b8381101561419e578181015183820152602001614186565b50506000910152565b600081518084526141bf816020860160208601614183565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611c7a60208301846141a7565b60006020828403121561421657600080fd5b5035919050565b60008083601f84011261422f57600080fd5b50813567ffffffffffffffff81111561424757600080fd5b6020830191508360208260051b8501011115610f7057600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156142d8576142d8614262565b604052919050565b6000806000604084860312156142f557600080fd5b833567ffffffffffffffff8082111561430d57600080fd5b6143198783880161421d565b909550935060209150858201358181111561433357600080fd5b8601601f8101881361434457600080fd5b80358281111561435657614356614262565b8060051b9250614367848401614291565b818152928201840192848101908a85111561438157600080fd5b928501925b8484101561439f57833582529285019290850190614386565b8096505050505050509250925092565b803573ffffffffffffffffffffffffffffffffffffffff81168114611dd157600080fd5b600080604083850312156143e657600080fd5b6143ef836143af565b946020939093013593505050565b600067ffffffffffffffff83111561441757614417614262565b61444860207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601614291565b905082815283838301111561445c57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561448557600080fd5b813567ffffffffffffffff81111561449c57600080fd5b8201601f810184136144ad57600080fd5b612fb3848235602084016143fd565b6000602082840312156144ce57600080fd5b611c7a826143af565b6000806000606084860312156144ec57600080fd5b6144f5846143af565b9250614503602085016143af565b9150604084013590509250925092565b6000806040838503121561452657600080fd5b50508035926020909101359150565b6000806020838503121561454857600080fd5b823567ffffffffffffffff81111561455f57600080fd5b61456b8582860161421d565b90969095509350505050565b600081518084526020808501945080840160005b838110156145a75781518752958201959082019060010161458b565b509495945050505050565b602081526000611c7a6020830184614577565b6000806000606084860312156145da57600080fd5b6145e3846143af565b95602085013595506040909401359392505050565b60408152600061460b6040830185614577565b90508260208301529392505050565b6000806040838503121561462d57600080fd5b614636836143af565b915060208301356bffffffffffffffffffffffff8116811461465757600080fd5b809150509250929050565b8015158114611faa57600080fd5b6000806040838503121561468357600080fd5b61468c836143af565b9150602083013561465781614662565b600080600080608085870312156146b257600080fd5b6146bb856143af565b93506146c9602086016143af565b925060408501359150606085013567ffffffffffffffff8111156146ec57600080fd5b8501601f810187136146fd57600080fd5b61470c878235602084016143fd565b91505092959194509250565b60006020828403121561472a57600080fd5b8135611c7a81614662565b6000806040838503121561474857600080fd5b614751836143af565b915061475f602084016143af565b90509250929050565b600181811c9082168061477c57607f821691505b6020821081036147b5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b601f821115610d8757600081815260208120601f850160051c810160208610156147e25750805b601f850160051c820191505b81811015611bd3578281556001016147ee565b815167ffffffffffffffff81111561481b5761481b614262565b61482f816148298454614768565b846147bb565b602080601f831160018114614882576000841561484c5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b178555611bd3565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b828110156148cf578886015182559484019460019091019084016148b0565b508582101561490b57878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8082028115828204841417610c9d57610c9d61491b565b600082614997577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b80820180821115610c9d57610c9d61491b565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614a0f57614a0f61491b565b5060010190565b81810381811115610c9d57610c9d61491b565b600060208284031215614a3b57600080fd5b5051919050565b60008351614a54818460208801614183565b835190830190614a68818360208801614183565b01949350505050565b600060208284031215614a8357600080fd5b8151611c7a81614662565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152614acd60808301846141a7565b9695505050505050565b600060208284031215614ae957600080fd5b8151611c7a81614138565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b60008251614b35818460208701614183565b919091019291505056fea264697066735822122005caf7c5cf9dff5a6bfc4e26773ab3c5d281df9dc4b9f7e82bc22ce0662fde1064736f6c63430008130033
Deployed Bytecode Sourcemap
728:4796:20:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4572:192;;;;;;;;;;-1:-1:-1;4572:192:20;;;;;:::i;:::-;;:::i;:::-;;;611:14:31;;604:22;586:41;;574:2;559:18;4572:192:20;;;;;;;;2471:98:6;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;3935:167::-;;;;;;;;;;-1:-1:-1;3935:167:6;;;;;:::i;:::-;;:::i;:::-;;;1814:42:31;1802:55;;;1784:74;;1772:2;1757:18;3935:167:6;1638:226:31;4962:224:20;;;;;;;;;;-1:-1:-1;4962:224:20;;;;;:::i;:::-;;:::i;:::-;;571:172:22;;;;;;;;;;-1:-1:-1;571:172:22;;;;;:::i;:::-;;:::i;1076:24:20:-;;;;;;;;;;;;;:::i;3074:134::-;;;;;;;;;;-1:-1:-1;3074:134:20;;;;;:::i;:::-;;:::i;1143:25::-;;;;;;;;;;-1:-1:-1;1143:25:20;;;;;;;;;;;1630:111:9;;;;;;;;;;-1:-1:-1;1717:10:9;:17;1630:111;;;5568:25:31;;;5556:2;5541:18;1630:111:9;5422:177:31;164:46:24;;;;;;;;;;-1:-1:-1;164:46:24;;;;;:::i;:::-;;;;;;;;;;;;;;1213:41:20;;;;;;;;;;-1:-1:-1;1213:41:20;;;;;:::i;:::-;;;;;;;;;;;;;;749:178:22;;;;;;;;;;-1:-1:-1;749:178:22;;;;;:::i;:::-;;:::i;1107:30:20:-;;;;;;;;;;-1:-1:-1;1107:30:20;;;;;;;;1671:432:12;;;;;;;;;;-1:-1:-1;1671:432:12;;;;;:::i;:::-;;:::i;:::-;;;;6585:42:31;6573:55;;;6555:74;;6660:2;6645:18;;6638:34;;;;6528:18;1671:432:12;6381:297:31;1306:253:9;;;;;;;;;;-1:-1:-1;1306:253:9;;;;;:::i;:::-;;:::i;1002:509:26:-;;;;;;;;;;-1:-1:-1;1002:509:26;;;;;:::i;:::-;;:::i;221:35:23:-;;;;;;;;;;;;;;;1751:436:20;;;;;;:::i;:::-;;:::i;1158:142:29:-;;;;;;;;;;;;120:42:30;1158:142:29;;933:186:22;;;;;;;;;;-1:-1:-1;933:186:22;;;;;:::i;:::-;;:::i;1174:32:20:-;;;;;;;;;;-1:-1:-1;1174:32:20;;;;;;;;;;;294:27:23;;;;;;;;;;;;;;;;1813:230:9;;;;;;;;;;-1:-1:-1;1813:230:9;;;;;:::i;:::-;;:::i;3383:90:20:-;;;;;;;;;;-1:-1:-1;3383:90:20;;;;;:::i;:::-;;:::i;1260:54::-;;;;;;;;;;-1:-1:-1;1260:54:20;;;;;:::i;:::-;;;;;;;;;;;;;;;;2190:219:6;;;;;;;;;;-1:-1:-1;2190:219:6;;;;;:::i;:::-;;:::i;258:28:24:-;;;;;;;;;;;;;;;;1929:204:6;;;;;;;;;;-1:-1:-1;1929:204:6;;;;;:::i;:::-;;:::i;1831:101:0:-;;;;;;;;;;;;;:::i;1299:250:24:-;;;;;;;;;;-1:-1:-1;1299:250:24;;;;;:::i;:::-;;:::i;1642:350::-;;;;;;;;;;-1:-1:-1;1642:350:24;;;;;:::i;:::-;;:::i;1451:356:21:-;;;;;;;;;;-1:-1:-1;1451:356:21;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2016:518::-;;;;;;;;;;-1:-1:-1;2016:518:21;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;4770:186:20:-;;;;;;;;;;-1:-1:-1;4770:186:20;;;;;:::i;:::-;;:::i;171:44:23:-;;;;;;;;;;-1:-1:-1;171:44:23;;;;;:::i;:::-;;;;;;;;;;;;;;1201:85:0;;;;;;;;;;-1:-1:-1;1247:7:0;1273:6;;;1201:85;;387:131:25;;;;;;;;;;-1:-1:-1;387:131:25;;;;;:::i;:::-;;:::i;2633:102:6:-;;;;;;;;;;;;;:::i;178:51:26:-;;;;;;;;;;-1:-1:-1;178:51:26;;;;;:::i;:::-;;;;;;;;;;;;;;1086:261:21;;;;;;;;;;-1:-1:-1;1086:261:21;;;;;:::i;:::-;;:::i;571:294:26:-;;;;;;;;;;-1:-1:-1;571:294:26;;;;;:::i;:::-;;:::i;829:182:25:-;;;;;;;;;;;;;:::i;374:191:22:-;;;;;;;;;;-1:-1:-1;374:191:22;;;;;:::i;:::-;;:::i;216:36:24:-;;;;;;;;;;;;;;;2872:128:20;;;;;;;;;;-1:-1:-1;2872:128:20;;;;;:::i;:::-;;:::i;1039:31::-;;;;;;;;;;;;;;;;1125:239:22;;;;;;;;;;-1:-1:-1;1125:239:22;;;;;:::i;:::-;;:::i;739:177:21:-;;;;;;;;;;-1:-1:-1;739:177:21;;;;;:::i;:::-;;:::i;2273:85:20:-;;;;;;;;;;-1:-1:-1;2273:85:20;;;;;:::i;:::-;;:::i;262:26:23:-;;;;;;;;;;;;;;;;2801:276:6;;;;;;;;;;-1:-1:-1;2801:276:6;;;;;:::i;:::-;;:::i;5366:156:20:-;;;;;;;;;;-1:-1:-1;5366:156:20;;;;;:::i;:::-;;:::i;292:27:24:-;;;;;;;;;;;;;;;;999:34:20;;;;;;;;;;;;;;;3479:349;;;;;;;;;;-1:-1:-1;3479:349:20;;;;;:::i;:::-;;:::i;322:34:26:-;;;;;;;;;;;;;;;;592:182:25;;;;;;;;;;;;;:::i;4388:162:6:-;;;;;;;;;;-1:-1:-1;4388:162:6;;;;;:::i;:::-;4508:25;;;;4485:4;4508:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4388:162;2458:113:20;;;;;;;;;;-1:-1:-1;2458:113:20;;;;;:::i;:::-;;:::i;283:33:26:-;;;;;;;;;;;;;;;;2665:101:20;;;;;;;;;;-1:-1:-1;2665:101:20;;;;;:::i;:::-;;:::i;958:255:24:-;;;;;;;;;;-1:-1:-1;958:255:24;;;;;:::i;:::-;;:::i;2081:198:0:-;;;;;;;;;;-1:-1:-1;2081:198:0;;;;;:::i;:::-;;:::i;235:42:26:-;;;;;;;;;;;;;;;4572:192:20;4698:4;4721:36;4745:11;4721:23;:36::i;:::-;4714:43;4572:192;-1:-1:-1;;4572:192:20:o;2471:98:6:-;2525:13;2557:5;2550:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2471:98;:::o;3935:167::-;4011:7;4030:23;4045:7;4030:14;:23::i;:::-;-1:-1:-1;4071:24:6;;;;:15;:24;;;;;;;;;3935:167::o;4962:224:20:-;1094:13:0;:11;:13::i;:::-;5096:36:20::1;5120:2;;5124:7;5096:23;:36::i;:::-;5142:37;5167:2;;5171:7;5142:24;:37::i;:::-;4962:224:::0;;;:::o;571:172:22:-;684:8;2902:30:29;2923:8;2902:20;:30::i;:::-;704:32:22::1;718:8;728:7;704:13;:32::i;1076:24:20:-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3074:134::-;1094:13:0;:11;:13::i;:::-;3174:10:20::1;:27;3187:14:::0;3174:10;:27:::1;:::i;:::-;;3074:134:::0;:::o;749:178:22:-;867:4;2638:18:29;;;2646:10;2638:18;2634:81;;2672:32;2693:10;2672:20;:32::i;:::-;883:37:22::1;902:4;908:2;912:7;883:18;:37::i;:::-;749:178:::0;;;;:::o;1671:432:12:-;1768:7;1825:27;;;:17;:27;;;;;;;;1796:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;1768:7;;1863:90;;-1:-1:-1;1913:29:12;;;;;;;;;1923:19;1913:29;;;;;;;;;;;;;;;1863:90;2001:23;;;;1963:21;;2461:5;;1988:36;;1987:58;1988:36;:10;:36;:::i;:::-;1987:58;;;;:::i;:::-;2064:16;;;-1:-1:-1;1963:82:12;;-1:-1:-1;;1671:432:12;;;;;;:::o;1306:253:9:-;1403:7;1438:23;1455:5;1438:16;:23::i;:::-;1430:5;:31;1422:87;;;;-1:-1:-1;;;1422:87:9;;14612:2:31;1422:87:9;;;14594:21:31;14651:2;14631:18;;;14624:30;14690:34;14670:18;;;14663:62;14761:13;14741:18;;;14734:41;14792:19;;1422:87:9;;;;;;;;;-1:-1:-1;1526:19:9;;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;1306:253::o;1002:509:26:-;1094:13:0;:11;:13::i;:::-;1133:14:26;;1120:27;::::1;1112:56;;;::::0;-1:-1:-1;;;1112:56:26;;15024:2:31;1112:56:26::1;::::0;::::1;15006:21:31::0;15063:2;15043:18;;;15036:30;15102:18;15082;;;15075:46;15138:18;;1112:56:26::1;14822:340:31::0;1112:56:26::1;1178:13;1211:9:::0;1206:135:::1;1226:13:::0;;::::1;1206:135;;;1287:7;1295:1;1287:10;;;;;;;;:::i;:::-;;;;;;;1260:16;:23;1277:2;;1280:1;1277:5;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;1260:23;;;;;;;;;;;;;;;;:37;;;;;;;:::i;:::-;;;;;;;;1320:7;1328:1;1320:10;;;;;;;;:::i;:::-;;;;;;;1311:19;;;;;:::i;:::-;::::0;-1:-1:-1;1241:3:26::1;::::0;::::1;:::i;:::-;;;1206:135;;;;1373:5;1351:18;;:27;;;;;;;:::i;:::-;;;;;;;;1411:5;1388:19;;:28;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;1434:19:26::1;::::0;1457:17:::1;-1:-1:-1::0;1434:40:26::1;1426:78;;;::::0;-1:-1:-1;;;1426:78:26;;15888:2:31;1426:78:26::1;::::0;::::1;15870:21:31::0;15927:2;15907:18;;;15900:30;15966:27;15946:18;;;15939:55;16011:18;;1426:78:26::1;15686:349:31::0;1751:436:20;1830:10;;;;1822:43;;;;-1:-1:-1;;;1822:43:20;;16242:2:31;1822:43:20;;;16224:21:31;16281:2;16261:18;;;16254:30;16320:22;16300:18;;;16293:50;16360:18;;1822:43:20;16040:344:31;1822:43:20;1883:9;:16;;;;1875:46;;;;-1:-1:-1;;;1875:46:20;;16591:2:31;1875:46:20;;;16573:21:31;16630:2;16610:18;;;16603:30;16669:19;16649:18;;;16642:47;16706:18;;1875:46:20;16389:341:31;1875:46:20;1939:9;:14;1931:58;;;;-1:-1:-1;;;1931:58:20;;16937:2:31;1931:58:20;;;16919:21:31;16976:2;16956:18;;;16949:30;17015:33;16995:18;;;16988:61;17066:18;;1931:58:20;16735:355:31;1931:58:20;2003:6;;;;;;;1999:150;;;2025:28;2040:3;2045:7;2025:14;:28::i;:::-;1999:150;;;2074:13;;;;;;;2070:79;;;2103:35;2125:3;2130:7;2103:21;:35::i;:::-;2159:21;2167:3;2172:7;2159;:21::i;933:186:22:-;1055:4;2638:18:29;;;2646:10;2638:18;2634:81;;2672:32;2693:10;2672:20;:32::i;:::-;1071:41:22::1;1094:4;1100:2;1104:7;1071:22;:41::i;1813:230:9:-:0;1888:7;1923:30;1717:10;:17;;1630:111;1923:30;1915:5;:38;1907:95;;;;-1:-1:-1;;;1907:95:9;;17297:2:31;1907:95:9;;;17279:21:31;17336:2;17316:18;;;17309:30;17375:34;17355:18;;;17348:62;17446:14;17426:18;;;17419:42;17478:19;;1907:95:9;17095:408:31;1907:95:9;2019:10;2030:5;2019:17;;;;;;;;:::i;:::-;;;;;;;;;2012:24;;1813:230;;;:::o;3383:90:20:-;1094:13:0;:11;:13::i;:::-;3452:7:20::1;:14;3462:4:::0;3452:7;:14:::1;:::i;2190:219:6:-:0;2262:7;6930:16;;;:7;:16;;;;;;;;;2324:56;;;;-1:-1:-1;;;2324:56:6;;17710:2:31;2324:56:6;;;17692:21:31;17749:2;17729:18;;;17722:30;17788:26;17768:18;;;17761:54;17832:18;;2324:56:6;17508:348:31;1929:204:6;2001:7;2028:19;;;2020:73;;;;-1:-1:-1;;;2020:73:6;;18063:2:31;2020:73:6;;;18045:21:31;18102:2;18082:18;;;18075:30;18141:34;18121:18;;;18114:62;18212:11;18192:18;;;18185:39;18241:19;;2020:73:6;17861:405:31;2020:73:6;-1:-1:-1;2110:16:6;;;;;;:9;:16;;;;;;;1929:204::o;1831:101:0:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;:::-;1831:101::o:0;1299:250:24:-;1398:10;1386:23;;;;:11;:23;;;;;;1376:33;;;1368:69;;;;-1:-1:-1;;;1368:69:24;;18473:2:31;1368:69:24;;;18455:21:31;18512:2;18492:18;;;18485:30;18551:25;18531:18;;;18524:53;18594:18;;1368:69:24;18271:347:31;1368:69:24;1460:10;1448:23;;;;:11;:23;;;;;:33;;1475:6;;1448:23;:33;;1475:6;;1448:33;:::i;:::-;;;;;;;;1507:6;1491:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;1523:19:24;;-1:-1:-1;1531:2:24;1535:6;1523:7;:19::i;1642:350::-;1774:10;1708:14;1762:23;;;:11;:23;;;;;;1725:2;;1752:33;;;1744:69;;;;-1:-1:-1;;;1744:69:24;;18473:2:31;1744:69:24;;;18455:21:31;18512:2;18492:18;;;18485:30;18551:25;18531:18;;;18524:53;18594:18;;1744:69:24;18271:347:31;1744:69:24;1844:10;1832:23;;;;:11;:23;;;;;:33;;1859:6;;1832:23;:33;;1859:6;;1832:33;:::i;:::-;;;;;;;;1891:6;1875:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;1912:9:24;;-1:-1:-1;1907:79:24;1931:6;1927:1;:10;1907:79;;;1958:17;1966:2;;1969:1;1966:5;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;1973:1;1958:7;:17::i;:::-;1939:3;;;:::i;:::-;;;1907:79;;1451:356:21;1513:16;1541:18;1562:17;1572:6;1562:9;:17::i;:::-;1541:38;;1589:23;1629:10;1615:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1615:25:21;;1589:51;;1655:13;1650:128;1682:10;1674:5;:18;1650:128;;;1733:34;1753:6;1761:5;1733:19;:34::i;:::-;1717:6;1724:5;1717:13;;;;;;;;:::i;:::-;;;;;;;;;;:50;1694:7;;;;:::i;:::-;;;;1650:128;;;-1:-1:-1;1794:6:21;1451:356;-1:-1:-1;;;1451:356:21:o;2016:518::-;2142:16;2160:7;2196:4;2241:6;2223:15;2233:4;2223:9;:15::i;:::-;:24;;;;:::i;:::-;2214:6;:33;2210:97;;;2290:6;2272:15;2282:4;2272:9;:15::i;:::-;:24;;;;:::i;:::-;2263:33;;2210:97;2317:23;2357:6;2343:21;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2343:21:21;;2317:47;;2379:9;2374:111;2398:6;2394:1;:10;2374:111;;;2437:37;2457:4;2463:10;2472:1;2463:6;:10;:::i;2437:37::-;2425:6;2432:1;2425:9;;;;;;;;:::i;:::-;;;;;;;;;;:49;2406:3;;;;:::i;:::-;;;;2374:111;;;-1:-1:-1;2503:6:21;2511:15;2520:6;2511;:15;:::i;:::-;2495:32;;;;;;2016:518;;;;;;:::o;4770:186:20:-;1094:13:0;:11;:13::i;:::-;4878:30:20::1;4897:2;4901:6;4878:18;:30::i;:::-;4918:31;4938:2;4942:6;4918:19;:31::i;387:131:25:-:0;1094:13:0;:11;:13::i;:::-;472:39:25::1;491:9;502:8;472:18;:39::i;2633:102:6:-:0;2689:13;2721:7;2714:14;;;;;:::i;1086:261:21:-;1094:13:0;:11;:13::i;:::-;1171:39:21::1;::::0;;;;1204:4:::1;1171:39;::::0;::::1;1784:74:31::0;1153:15:21::1;::::0;1171:24:::1;::::0;::::1;::::0;::::1;::::0;1757:18:31;;1171:39:21::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1153:57;;1228:7;1239:1;1228:12:::0;1220:52:::1;;;::::0;-1:-1:-1;;;1220:52:21;;19147:2:31;1220:52:21::1;::::0;::::1;19129:21:31::0;19186:2;19166:18;;;19159:30;19225:29;19205:18;;;19198:57;19272:18;;1220:52:21::1;18945:351:31::0;1220:52:21::1;1283:57;:27;::::0;::::1;1319:10;1332:7:::0;1283:27:::1;:57::i;571:294:26:-:0;1094:13:0;:11;:13::i;:::-;694:17:26::1;684:6;663:18;;:27;;;;:::i;:::-;:48;;655:86;;;::::0;-1:-1:-1;;;655:86:26;;15888:2:31;655:86:26::1;::::0;::::1;15870:21:31::0;15927:2;15907:18;;;15900:30;15966:27;15946:18;;;15939:55;16011:18;;655:86:26::1;15686:349:31::0;655:86:26::1;751:20;::::0;::::1;;::::0;;;:16:::1;:20;::::0;;;;:30;;775:6;;751:20;:30:::1;::::0;775:6;;751:30:::1;:::i;:::-;;;;;;;;813:6;791:18;;:28;;;;;;;:::i;:::-;;;;;;;;852:6;829:19;;:29;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;;571:294:26:o;829:182:25:-;879:7;;929:42;879:7;2461:5:12;952:17:25;944:26;;929:11;:42::i;:::-;-1:-1:-1;898:73:25;829:182;-1:-1:-1;;829:182:25:o;374:191:22:-;495:8;2902:30:29;2923:8;2902:20;:30::i;:::-;515:43:22::1;539:8;549;515:23;:43::i;2872:128:20:-:0;1094:13:0;:11;:13::i;:::-;2957:16:20::1;:36:::0;2872:128::o;1125:239:22:-;1290:4;2638:18:29;;;2646:10;2638:18;2634:81;;2672:32;2693:10;2672:20;:32::i;:::-;1310:47:22::1;1333:4;1339:2;1343:7;1352:4;1310:22;:47::i;:::-;1125:239:::0;;;;;:::o;739:177:21:-;1094:13:0;:11;:13::i;:::-;835:74:21::1;::::0;;;;872:4:::1;835:74;::::0;::::1;19564:34:31::0;887:10:21::1;19614:18:31::0;;;19607:43;19666:18;;;19659:34;;;835:28:21::1;::::0;::::1;::::0;::::1;::::0;19476:18:31;;835:74:21::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;739:177:::0;;:::o;2273:85:20:-;1094:13:0;:11;:13::i;:::-;2335:6:20::1;:16:::0;;;::::1;;;;::::0;;;::::1;::::0;;;::::1;::::0;;2273:85::o;2801:276:6:-;2874:13;2899:23;2914:7;2899:14;:23::i;:::-;2933:21;2957:10;:8;:10::i;:::-;2933:34;;3008:1;2990:7;2984:21;:25;:86;;;;;;;;;;;;;;;;;3036:7;3045:18;:7;:16;:18::i;:::-;3019:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2984:86;2977:93;2801:276;-1:-1:-1;;;2801:276:6:o;5366:156:20:-;1094:13:0;:11;:13::i;:::-;5447:25:20::1;5461:2;5465:6;5447:13;:25::i;:::-;-1:-1:-1::0;5482:26:20::1;;;::::0;;;:22:::1;:26;::::0;;;;:33;;;::::1;5511:4;5482:33;::::0;;5366:156::o;3479:349::-;3571:6;;3541:14;;3571:6;;;;;3567:143;;;-1:-1:-1;3588:16:20;;;;;;;:9;:16;;;;;;3567:143;;;3623:13;;;;;;;3619:91;;;-1:-1:-1;3647:23:20;;;;;;;:16;:23;;;;;;3619:91;;;-1:-1:-1;3694:16:20;;3619:91;3750:16;;3725:13;;;;;;;:6;:13;;;;;;:22;;3741:6;;3725:22;:::i;:::-;:41;3721:100;;;3808:13;;;;;;;:6;:13;;;;;;3789:16;;:32;;3808:13;3789:32;:::i;3721:100::-;3479:349;;;:::o;592:182:25:-;642:7;;692:42;642:7;2461:5:12;715:17:25;2378:95:12;2458:113:20;1094:13:0;:11;:13::i;:::-;2534::20::1;:30:::0;;;::::1;;::::0;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;2458:113::o;2665:101::-;1094:13:0;:11;:13::i;:::-;2735:10:20::1;:24:::0;;;::::1;::::0;::::1;;::::0;;;::::1;::::0;;2665:101::o;958:255:24:-;1094:13:0;:11;:13::i;:::-;1060:17:24::1;::::0;::::1;;::::0;;;:11:::1;:17;::::0;;;;;1050:27;::::1;;1042:63;;;::::0;-1:-1:-1;;;1042:63:24;;18473:2:31;1042:63:24::1;::::0;::::1;18455:21:31::0;18512:2;18492:18;;;18485:30;18551:25;18531:18;;;18524:53;18594:18;;1042:63:24::1;18271:347:31::0;1042:63:24::1;1116:17;::::0;::::1;;::::0;;;:11:::1;:17;::::0;;;;:27;;1137:6;;1116:17;:27:::1;::::0;1137:6;;1116:27:::1;:::i;2081:198:0:-:0;1094:13;:11;:13::i;:::-;2169:22:::1;::::0;::::1;2161:73;;;::::0;-1:-1:-1;;;2161:73:0;;20407:2:31;2161:73:0::1;::::0;::::1;20389:21:31::0;20446:2;20426:18;;;20419:30;20485:34;20465:18;;;20458:62;20556:8;20536:18;;;20529:36;20582:19;;2161:73:0::1;20205:402:31::0;2161:73:0::1;2244:28;2263:8;2244:18;:28::i;:::-;2081:198:::0;:::o;1408:213:12:-;1510:4;1533:41;;;1548:26;1533:41;;:81;;;1578:36;1602:11;1578:23;:36::i;13466:133:6:-;7321:4;6930:16;;;:7;:16;;;;;;;;13539:53;;;;-1:-1:-1;;;13539:53:6;;17710:2:31;13539:53:6;;;17692:21:31;17749:2;17729:18;;;17722:30;17788:26;17768:18;;;17761:54;17832:18;;13539:53:6;17508:348:31;1359:130:0;1247:7;1273:6;1422:23;1273:6;719:10:14;1422:23:0;1414:68;;;;-1:-1:-1;;;1414:68:0;;20814:2:31;1414:68:0;;;20796:21:31;;;20833:18;;;20826:30;20892:34;20872:18;;;20865:62;20944:18;;1414:68:0;20612:356:31;891:468:23;1094:13:0;:11;:13::i;:::-;1023:14:23;;1010:27;::::1;1002:56;;;::::0;-1:-1:-1;;;1002:56:23;;15024:2:31;1002:56:23::1;::::0;::::1;15006:21:31::0;15063:2;15043:18;;;15036:30;15102:18;15082;;;15075:46;15138:18;;1002:56:23::1;14822:340:31::0;1002:56:23::1;1068:13;1101:9:::0;1096:128:::1;1116:13:::0;;::::1;1096:128;;;1170:7;1178:1;1170:10;;;;;;;;:::i;:::-;;;;;;;1150:9;:16;1160:2;;1163:1;1160:5;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;1150:16;;;;;;;;;;;;;;;;:30;;;;;;;:::i;:::-;;;;;;;;1203:7;1211:1;1203:10;;;;;;;;:::i;:::-;;;;;;;1194:19;;;;;:::i;:::-;::::0;-1:-1:-1;1131:3:23::1;::::0;::::1;:::i;:::-;;;1096:128;;;;1249:5;1234:11;;:20;;;;;;;:::i;:::-;;;;;;;;1280:5;1264:12;;:21;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;1303:12:23::1;::::0;1319:10:::1;-1:-1:-1::0;1303:26:23::1;1295:57;;;::::0;-1:-1:-1;;;1295:57:23;;21175:2:31;1295:57:23::1;::::0;::::1;21157:21:31::0;21214:2;21194:18;;;21187:30;21253:20;21233:18;;;21226:48;21291:18;;1295:57:23::1;20973:342:31::0;3038:638:29;120:42:30;3227:45:29;:49;3223:447;;3523:67;;;;;3574:4;3523:67;;;21555:34:31;21504:42;21625:15;;21605:18;;;21598:43;120:42:30;;3523::29;;21467:18:31;;3523:67:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3518:142;;3617:28;;;;;1814:42:31;1802:55;;3617:28:29;;;1784:74:31;1757:18;;3617:28:29;1638:226:31;3468:406:6;3548:13;3564:23;3579:7;3564:14;:23::i;:::-;3548:39;;3611:5;3605:11;;:2;:11;;;3597:57;;;;-1:-1:-1;;;3597:57:6;;22104:2:31;3597:57:6;;;22086:21:31;22143:2;22123:18;;;22116:30;22182:34;22162:18;;;22155:62;22253:3;22233:18;;;22226:31;22274:19;;3597:57:6;21902:397:31;3597:57:6;719:10:14;3686:21:6;;;;;:62;;-1:-1:-1;3711:37:6;3728:5;719:10:14;4388:162:6;:::i;3711:37::-;3665:170;;;;-1:-1:-1;;;3665:170:6;;22506:2:31;3665:170:6;;;22488:21:31;22545:2;22525:18;;;22518:30;22584:34;22564:18;;;22557:62;22655:31;22635:18;;;22628:59;22704:19;;3665:170:6;22304:425:31;3665:170:6;3846:21;3855:2;3859:7;3846:8;:21::i;4612:326::-;4801:41;719:10:14;4834:7:6;4801:18;:41::i;:::-;4793:99;;;;-1:-1:-1;;;4793:99:6;;22936:2:31;4793:99:6;;;22918:21:31;22975:2;22955:18;;;22948:30;23014:34;22994:18;;;22987:62;23085:15;23065:18;;;23058:43;23118:19;;4793:99:6;22734:409:31;4793:99:6;4903:28;4913:4;4919:2;4923:7;4903:9;:28::i;5192:168:20:-;5274:34;5295:4;5301:6;5274:20;:34::i;:::-;5318:35;5340:4;5346:6;1633:235:26;1721:22;;;;;;;:16;:22;;;;;;:32;-1:-1:-1;1721:32:26;1713:68;;;;-1:-1:-1;;;1713:68:26;;23350:2:31;1713:68:26;;;23332:21:31;23389:2;23369:18;;;23362:30;23428:25;23408:18;;;23401:53;23471:18;;1713:68:26;23148:347:31;1713:68:26;1791:22;;;;;;;:16;:22;;;;;:32;;1817:6;;1791:22;:32;;1817:6;;1791:32;:::i;:::-;;;;;;;;1855:6;1833:18;;:28;;;;;;;:::i;3938:628:20:-;2261:21:2;:19;:21::i;:::-;4074:10:20::1;::::0;::::1;;4066:43;;;::::0;-1:-1:-1;;;4066:43:20;;16242:2:31;4066:43:20::1;::::0;::::1;16224:21:31::0;16281:2;16261:18;;;16254:30;16320:22;16300:18;;;16293:50;16360:18;;4066:43:20::1;16040:344:31::0;4066:43:20::1;4184:9;4167:12;;4157:7;4141:13;1717:10:9::0;:17;;1630:111;4141:13:20::1;:23;;;;:::i;:::-;:38;;;;:::i;:::-;4140:53;;4119:117;;;::::0;-1:-1:-1;;;4119:117:20;;23702:2:31;4119:117:20::1;::::0;::::1;23684:21:31::0;23741:2;23721:18;;;23714:30;23780:19;23760:18;;;23753:47;23817:18;;4119:117:20::1;23500:341:31::0;4119:117:20::1;4247:11;::::0;::::1;;::::0;;;:6:::1;:11;::::0;;;;:22;;4262:7;;4247:11;:22:::1;::::0;4262:7;;4247:22:::1;:::i;:::-;::::0;;;-1:-1:-1;;4300:27:20::1;::::0;::::1;;::::0;;;:22:::1;:27;::::0;;;;;::::1;;::::0;:64:::1;;-1:-1:-1::0;4347:16:20::1;::::0;4332:11:::1;::::0;::::1;;::::0;;;:6:::1;:11;::::0;;;;;:31:::1;;4300:64;4279:139;;;::::0;-1:-1:-1;;;4279:139:20;;24048:2:31;4279:139:20::1;::::0;::::1;24030:21:31::0;24087:2;24067:18;;;24060:30;24126;24106:18;;;24099:58;24174:18;;4279:139:20::1;23846:352:31::0;4279:139:20::1;4434:9;4429:131;4453:7;4449:1;:11;4429:131;;;4481:20;:8;1032:19:15::0;;1050:1;1032:19;;;945:123;4481:20:20::1;4515:34;4525:3;4530:18;:8;918:14:15::0;;827:112;4530:18:20::1;4515:9;:34::i;:::-;4462:3;::::0;::::1;:::i;:::-;;;4429:131;;;;2303:20:2::0;1716:1;2809:7;:22;2629:209;5004:179:6;5137:39;5154:4;5160:2;5164:7;5137:39;;;;;;;;;;;;:16;:39::i;2433:187:0:-;2506:16;2525:6;;;2541:17;;;;;;;;;;2573:40;;2525:6;;;;;;;2573:40;;2506:16;2573:40;2496:124;2433:187;:::o;508:253:23:-;1094:13:0;:11;:13::i;:::-;625:10:23::1;615:6;601:11;;:20;;;;:::i;:::-;:34;;593:65;;;::::0;-1:-1:-1;;;593:65:23;;21175:2:31;593:65:23::1;::::0;::::1;21157:21:31::0;21214:2;21194:18;;;21187:30;21253:20;21233:18;;;21226:48;21291:18;;593:65:23::1;20973:342:31::0;593:65:23::1;668:13;::::0;::::1;;::::0;;;:9:::1;:13;::::0;;;;:23;;685:6;;668:13;:23:::1;::::0;685:6;;668:23:::1;:::i;:::-;;;;;;;;716:6;701:11;;:21;;;;;;;:::i;:::-;;;;;;;;748:6;732:12;;:22;;;;;;;:::i;2734:327:12:-:0;2461:5;2836:33;;;;;2828:88;;;;-1:-1:-1;;;2828:88:12;;24405:2:31;2828:88:12;;;24387:21:31;24444:2;24424:18;;;24417:30;24483:34;24463:18;;;24456:62;24554:12;24534:18;;;24527:40;24584:19;;2828:88:12;24203:406:31;2828:88:12;2934:22;;;2926:60;;;;-1:-1:-1;;;2926:60:12;;24816:2:31;2926:60:12;;;24798:21:31;24855:2;24835:18;;;24828:30;24894:27;24874:18;;;24867:55;24939:18;;2926:60:12;24614:349:31;2926:60:12;3019:35;;;;;;;;;;;;;;;;;;;;;;;;;;;2997:57;;;;;:19;:57;2734:327::o;763:205:5:-;902:58;;;6585:42:31;6573:55;;902:58:5;;;6555:74:31;6645:18;;;;6638:34;;;902:58:5;;;;;;;;;;6528:18:31;;;;902:58:5;;;;;;;;;;925:23;902:58;;;875:86;;895:5;;875:19;:86::i;4169:153:6:-;4263:52;719:10:14;4296:8:6;4306;4263:18;:52::i;5249:314::-;5417:41;719:10:14;5450:7:6;5417:18;:41::i;:::-;5409:99;;;;-1:-1:-1;;;5409:99:6;;22936:2:31;5409:99:6;;;22918:21:31;22975:2;22955:18;;;22948:30;23014:34;22994:18;;;22987:62;23085:15;23065:18;;;23058:43;23118:19;;5409:99:6;22734:409:31;5409:99:6;5518:38;5532:4;5538:2;5542:7;5551:4;5518:13;:38::i;3834:98:20:-;3886:13;3918:7;3911:14;;;;;:::i;415:696:16:-;471:13;520:14;537:17;548:5;537:10;:17::i;:::-;557:1;537:21;520:38;;572:20;606:6;595:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;595:18:16;-1:-1:-1;572:41:16;-1:-1:-1;733:28:16;;;749:2;733:28;788:280;819:5;;958:8;953:2;942:14;;937:30;819:5;924:44;1012:2;1003:11;;;-1:-1:-1;1032:21:16;788:280;1032:21;-1:-1:-1;1088:6:16;415:696;-1:-1:-1;;;415:696:16:o;510:247:24:-;1094:13:0;:11;:13::i;:::-;590:15:24::1;::::0;::::1;;::::0;;;:11:::1;:15;::::0;;;;:25;;609:6;;590:15;:25:::1;::::0;609:6;;590:25:::1;:::i;:::-;;;;;;;;641:6;625:12;;:22;;;;;;;:::i;:::-;;;;;;;;674:6;657:13;;:23;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;698:13:24::1;::::0;715:11:::1;-1:-1:-1::0;698:28:24::1;690:60;;;::::0;-1:-1:-1;;;690:60:24;;25170:2:31;690:60:24::1;::::0;::::1;25152:21:31::0;25209:2;25189:18;;;25182:30;25248:21;25228:18;;;25221:49;25287:18;;690:60:24::1;24968:343:31::0;1005:222:9;1107:4;1130:50;;;1145:35;1130:50;;:90;;;1184:36;1208:11;1184:23;:36::i;12768:171:6:-;12842:24;;;;:15;:24;;;;;:29;;;;;;;;;;;;;:24;;12895:23;12842:24;12895:14;:23::i;:::-;12886:46;;;;;;;;;;;;12768:171;;:::o;7540:261::-;7633:4;7649:13;7665:23;7680:7;7665:14;:23::i;:::-;7649:39;;7717:5;7706:16;;:7;:16;;;:52;;;-1:-1:-1;4508:25:6;;;;4485:4;4508:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7726:32;7706:87;;;;7786:7;7762:31;;:20;7774:7;7762:11;:20::i;:::-;:31;;;7706:87;7698:96;7540:261;-1:-1:-1;;;;7540:261:6:o;11423:1233::-;11577:4;11550:31;;:23;11565:7;11550:14;:23::i;:::-;:31;;;11542:81;;;;-1:-1:-1;;;11542:81:6;;25518:2:31;11542:81:6;;;25500:21:31;25557:2;25537:18;;;25530:30;25596:34;25576:18;;;25569:62;25667:7;25647:18;;;25640:35;25692:19;;11542:81:6;25316:401:31;11542:81:6;11641:16;;;11633:65;;;;-1:-1:-1;;;11633:65:6;;25924:2:31;11633:65:6;;;25906:21:31;25963:2;25943:18;;;25936:30;26002:34;25982:18;;;25975:62;26073:6;26053:18;;;26046:34;26097:19;;11633:65:6;25722:400:31;11633:65:6;11709:42;11730:4;11736:2;11740:7;11749:1;11709:20;:42::i;:::-;11878:4;11851:31;;:23;11866:7;11851:14;:23::i;:::-;:31;;;11843:81;;;;-1:-1:-1;;;11843:81:6;;25518:2:31;11843:81:6;;;25500:21:31;25557:2;25537:18;;;25530:30;25596:34;25576:18;;;25569:62;25667:7;25647:18;;;25640:35;25692:19;;11843:81:6;25316:401:31;11843:81:6;11993:24;;;;:15;:24;;;;;;;;11986:31;;;;;;;;;;12461:15;;;;;;:9;:15;;;;;:20;;;;;;12495:13;;;;;;;;;:18;;11986:31;12495:18;;;12533:16;;;:7;:16;;;;;;:21;;;;;;;;;;12570:27;;12009:7;;12570:27;;;4962:224:20;;;:::o;1474:208:23:-;1563:15;;;;;;;:9;:15;;;;;;:25;-1:-1:-1;1563:25:23;1555:54;;;;-1:-1:-1;;;1555:54:23;;26329:2:31;1555:54:23;;;26311:21:31;26368:2;26348:18;;;26341:30;26407:18;26387;;;26380:46;26443:18;;1555:54:23;26127:340:31;1555:54:23;1619:15;;;;;;;:9;:15;;;;;:25;;1638:6;;1619:15;:25;;1638:6;;1619:25;:::i;:::-;;;;;;;;1669:6;1654:11;;:21;;;;;;;:::i;2336:287:2:-;1759:1;2468:7;;:19;2460:63;;;;-1:-1:-1;;;2460:63:2;;26674:2:31;2460:63:2;;;26656:21:31;26713:2;26693:18;;;26686:30;26752:33;26732:18;;;26725:61;26803:18;;2460:63:2;26472:355:31;2460:63:2;1759:1;2598:7;:18;2336:287::o;8131:108:6:-;8206:26;8216:2;8220:7;8206:26;;;;;;;;;;;;:9;:26::i;3747:706:5:-;4166:23;4192:69;4220:4;4192:69;;;;;;;;;;;;;;;;;4200:5;4192:27;;;;:69;;;;;:::i;:::-;4275:17;;4166:95;;-1:-1:-1;4275:21:5;4271:176;;4370:10;4359:30;;;;;;;;;;;;:::i;:::-;4351:85;;;;-1:-1:-1;;;4351:85:5;;27034:2:31;4351:85:5;;;27016:21:31;27073:2;27053:18;;;27046:30;27112:34;27092:18;;;27085:62;27183:12;27163:18;;;27156:40;27213:19;;4351:85:5;26832:406:31;13075:307:6;13225:8;13216:17;;:5;:17;;;13208:55;;;;-1:-1:-1;;;13208:55:6;;27445:2:31;13208:55:6;;;27427:21:31;27484:2;27464:18;;;27457:30;27523:27;27503:18;;;27496:55;27568:18;;13208:55:6;27243:349:31;13208:55:6;13273:25;;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;;;;;;;;;;;;13334:41;;586::31;;;13334::6;;559:18:31;13334:41:6;;;;;;;13075:307;;;:::o;6424:305::-;6574:28;6584:4;6590:2;6594:7;6574:9;:28::i;:::-;6620:47;6643:4;6649:2;6653:7;6662:4;6620:22;:47::i;:::-;6612:110;;;;-1:-1:-1;;;6612:110:6;;27799:2:31;6612:110:6;;;27781:21:31;27838:2;27818:18;;;27811:30;27877:34;27857:18;;;27850:62;27948:20;27928:18;;;27921:48;27986:19;;6612:110:6;27597:414:31;9889:890:19;9942:7;;10026:6;10017:15;;10013:99;;10061:6;10052:15;;;-1:-1:-1;10095:2:19;10085:12;10013:99;10138:6;10129:5;:15;10125:99;;10173:6;10164:15;;;-1:-1:-1;10207:2:19;10197:12;10125:99;10250:6;10241:5;:15;10237:99;;10285:6;10276:15;;;-1:-1:-1;10319:2:19;10309:12;10237:99;10362:5;10353;:14;10349:96;;10396:5;10387:14;;;-1:-1:-1;10429:1:19;10419:11;10349:96;10471:5;10462;:14;10458:96;;10505:5;10496:14;;;-1:-1:-1;10538:1:19;10528:11;10458:96;10580:5;10571;:14;10567:96;;10614:5;10605:14;;;-1:-1:-1;10647:1:19;10637:11;10567:96;10689:5;10680;:14;10676:64;;10724:1;10714:11;10766:6;9889:890;-1:-1:-1;;9889:890:19:o;1570:300:6:-;1672:4;1707:40;;;1722:25;1707:40;;:104;;-1:-1:-1;1763:48:6;;;1778:33;1763:48;1707:104;:156;;;-1:-1:-1;952:25:17;937:40;;;;1827:36:6;829:155:17;2112:890:9;2371:1;2359:9;:13;2355:219;;;2500:63;;-1:-1:-1;;;2500:63:9;;28218:2:31;2500:63:9;;;28200:21:31;28257:2;28237:18;;;28230:30;28296:34;28276:18;;;28269:62;28367:23;28347:18;;;28340:51;28408:19;;2500:63:9;28016:417:31;2355:219:9;2602:12;2629:18;;;2625:183;;2663:40;2695:7;3811:10;:17;;3784:24;;;;:15;:24;;;;;:44;;;3838:24;;;;;;;;;;;;3708:161;2663:40;2625:183;;;2732:2;2724:10;;:4;:10;;;2720:88;;2750:47;2783:4;2789:7;2750:32;:47::i;:::-;2821:16;;;2817:179;;2853:45;2890:7;2853:36;:45::i;:::-;2817:179;;;2925:4;2919:10;;:2;:10;;;2915:81;;2945:40;2973:2;2977:7;2945:27;:40::i;8460:309:6:-;8584:18;8590:2;8594:7;8584:5;:18::i;:::-;8633:53;8664:1;8668:2;8672:7;8681:4;8633:22;:53::i;:::-;8612:150;;;;-1:-1:-1;;;8612:150:6;;27799:2:31;8612:150:6;;;27781:21:31;27838:2;27818:18;;;27811:30;27877:34;27857:18;;;27850:62;27948:20;27928:18;;;27921:48;27986:19;;8612:150:6;27597:414:31;3873:223:13;4006:12;4037:52;4059:6;4067:4;4073:1;4076:12;4037:21;:52::i;14151:831:6:-;14300:4;14320:13;;;1465:19:13;:23;14316:660:6;;14355:71;;;;;:36;;;;;;:71;;719:10:14;;14406:4:6;;14412:7;;14421:4;;14355:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14355:71:6;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;14351:573;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14593:6;:13;14610:1;14593:18;14589:321;;14635:60;;-1:-1:-1;;;14635:60:6;;27799:2:31;14635:60:6;;;27781:21:31;27838:2;27818:18;;;27811:30;27877:34;27857:18;;;27850:62;27948:20;27928:18;;;27921:48;27986:19;;14635:60:6;27597:414:31;14589:321:6;14862:6;14856:13;14847:6;14843:2;14839:15;14832:38;14351:573;14476:51;;14486:41;14476:51;;-1:-1:-1;14469:58:6;;14316:660;-1:-1:-1;14961:4:6;14151:831;;;;;;:::o;4486:970:9:-;4748:22;4798:1;4773:22;4790:4;4773:16;:22::i;:::-;:26;;;;:::i;:::-;4809:18;4830:26;;;:17;:26;;;;;;4748:51;;-1:-1:-1;4960:28:9;;;4956:323;;5026:18;;;5004:19;5026:18;;;:12;:18;;;;;;;;:34;;;;;;;;;5075:30;;;;;;:44;;;5191:30;;:17;:30;;;;;:43;;;4956:323;-1:-1:-1;5372:26:9;;;;:17;:26;;;;;;;;5365:33;;;5415:18;;;;;;:12;:18;;;;;:34;;;;;;;5408:41;4486:970::o;5744:1061::-;6018:10;:17;5993:22;;6018:21;;6038:1;;6018:21;:::i;:::-;6049:18;6070:24;;;:15;:24;;;;;;6438:10;:26;;5993:46;;-1:-1:-1;6070:24:9;;5993:46;;6438:26;;;;;;:::i;:::-;;;;;;;;;6416:48;;6500:11;6475:10;6486;6475:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;6579:28;;;:15;:28;;;;;;;:41;;;6748:24;;;;;6741:31;6782:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;5815:990;;;5744:1061;:::o;3296:217::-;3380:14;3397:20;3414:2;3397:16;:20::i;:::-;3427:16;;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;3471:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;3296:217:9:o;9091:920:6:-;9170:16;;;9162:61;;;;-1:-1:-1;;;9162:61:6;;29600:2:31;9162:61:6;;;29582:21:31;;;29619:18;;;29612:30;29678:34;29658:18;;;29651:62;29730:18;;9162:61:6;29398:356:31;9162:61:6;7321:4;6930:16;;;:7;:16;;;;;;;;7344:31;9233:58;;;;-1:-1:-1;;;9233:58:6;;29961:2:31;9233:58:6;;;29943:21:31;30000:2;29980:18;;;29973:30;30039;30019:18;;;30012:58;30087:18;;9233:58:6;29759:352:31;9233:58:6;9302:48;9331:1;9335:2;9339:7;9348:1;9302:20;:48::i;:::-;7321:4;6930:16;;;:7;:16;;;;;;;;7344:31;9437:58;;;;-1:-1:-1;;;9437:58:6;;29961:2:31;9437:58:6;;;29943:21:31;30000:2;29980:18;;;29973:30;30039;30019:18;;;30012:58;30087:18;;9437:58:6;29759:352:31;9437:58:6;9837:13;;;;;;;:9;:13;;;;;;;;:18;;9854:1;9837:18;;;9876:16;;;:7;:16;;;;;;:21;;;;;;;;9913:33;9884:7;;9837:13;;9913:33;;9837:13;;9913:33;3174:27:20::1;3074:134:::0;:::o;4960:446:13:-;5125:12;5182:5;5157:21;:30;;5149:81;;;;-1:-1:-1;;;5149:81:13;;30318:2:31;5149:81:13;;;30300:21:31;30357:2;30337:18;;;30330:30;30396:34;30376:18;;;30369:62;30467:8;30447:18;;;30440:36;30493:19;;5149:81:13;30116:402:31;5149:81:13;5241:12;5255:23;5282:6;:11;;5301:5;5308:4;5282:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5240:73;;;;5330:69;5357:6;5365:7;5374:10;5386:12;5330:26;:69::i;:::-;5323:76;4960:446;-1:-1:-1;;;;;;;4960:446:13:o;7466:628::-;7646:12;7674:7;7670:418;;;7701:10;:17;7722:1;7701:22;7697:286;;1465:19;;;;7908:60;;;;-1:-1:-1;;;7908:60:13;;31017:2:31;7908:60:13;;;30999:21:31;31056:2;31036:18;;;31029:30;31095:31;31075:18;;;31068:59;31144:18;;7908:60:13;30815:353:31;7908:60:13;-1:-1:-1;8003:10:13;7996:17;;7670:418;8044:33;8052:10;8064:12;8775:17;;:21;8771:379;;9003:10;8997:17;9059:15;9046:10;9042:2;9038:19;9031:44;8771:379;9126:12;9119:20;;-1:-1:-1;;;9119:20:13;;;;;;;;:::i;14:177:31:-;99:66;92:5;88:78;81:5;78:89;68:117;;181:1;178;171:12;196:245;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;362:9;349:23;381:30;405:5;381:30;:::i;638:250::-;723:1;733:113;747:6;744:1;741:13;733:113;;;823:11;;;817:18;804:11;;;797:39;769:2;762:10;733:113;;;-1:-1:-1;;880:1:31;862:16;;855:27;638:250::o;893:330::-;935:3;973:5;967:12;1000:6;995:3;988:19;1016:76;1085:6;1078:4;1073:3;1069:14;1062:4;1055:5;1051:16;1016:76;:::i;:::-;1137:2;1125:15;1142:66;1121:88;1112:98;;;;1212:4;1108:109;;893:330;-1:-1:-1;;893:330:31:o;1228:220::-;1377:2;1366:9;1359:21;1340:4;1397:45;1438:2;1427:9;1423:18;1415:6;1397:45;:::i;1453:180::-;1512:6;1565:2;1553:9;1544:7;1540:23;1536:32;1533:52;;;1581:1;1578;1571:12;1533:52;-1:-1:-1;1604:23:31;;1453:180;-1:-1:-1;1453:180:31:o;1869:367::-;1932:8;1942:6;1996:3;1989:4;1981:6;1977:17;1973:27;1963:55;;2014:1;2011;2004:12;1963:55;-1:-1:-1;2037:20:31;;2080:18;2069:30;;2066:50;;;2112:1;2109;2102:12;2066:50;2149:4;2141:6;2137:17;2125:29;;2209:3;2202:4;2192:6;2189:1;2185:14;2177:6;2173:27;2169:38;2166:47;2163:67;;;2226:1;2223;2216:12;2241:184;2293:77;2290:1;2283:88;2390:4;2387:1;2380:15;2414:4;2411:1;2404:15;2430:334;2501:2;2495:9;2557:2;2547:13;;2562:66;2543:86;2531:99;;2660:18;2645:34;;2681:22;;;2642:62;2639:88;;;2707:18;;:::i;:::-;2743:2;2736:22;2430:334;;-1:-1:-1;2430:334:31:o;2769:1261::-;2889:6;2897;2905;2958:2;2946:9;2937:7;2933:23;2929:32;2926:52;;;2974:1;2971;2964:12;2926:52;3014:9;3001:23;3043:18;3084:2;3076:6;3073:14;3070:34;;;3100:1;3097;3090:12;3070:34;3139:70;3201:7;3192:6;3181:9;3177:22;3139:70;:::i;:::-;3228:8;;-1:-1:-1;3113:96:31;-1:-1:-1;3282:2:31;;-1:-1:-1;3322:18:31;;;3309:32;3353:16;;;3350:36;;;3382:1;3379;3372:12;3350:36;3405:24;;3460:4;3452:13;;3448:27;-1:-1:-1;3438:55:31;;3489:1;3486;3479:12;3438:55;3525:2;3512:16;3547:2;3543;3540:10;3537:36;;;3553:18;;:::i;:::-;3599:2;3596:1;3592:10;3582:20;;3622:28;3646:2;3642;3638:11;3622:28;:::i;:::-;3684:15;;;3754:11;;;3750:20;;;3715:12;;;;3782:19;;;3779:39;;;3814:1;3811;3804:12;3779:39;3838:11;;;;3858:142;3874:6;3869:3;3866:15;3858:142;;;3940:17;;3928:30;;3891:12;;;;3978;;;;3858:142;;;4019:5;4009:15;;;;;;;;2769:1261;;;;;:::o;4035:196::-;4103:20;;4163:42;4152:54;;4142:65;;4132:93;;4221:1;4218;4211:12;4236:254;4304:6;4312;4365:2;4353:9;4344:7;4340:23;4336:32;4333:52;;;4381:1;4378;4371:12;4333:52;4404:29;4423:9;4404:29;:::i;:::-;4394:39;4480:2;4465:18;;;;4452:32;;-1:-1:-1;;;4236:254:31:o;4495:466::-;4560:5;4594:18;4586:6;4583:30;4580:56;;;4616:18;;:::i;:::-;4654:116;4764:4;4695:66;4690:2;4682:6;4678:15;4674:88;4670:99;4654:116;:::i;:::-;4645:125;;4793:6;4786:5;4779:21;4833:3;4824:6;4819:3;4815:16;4812:25;4809:45;;;4850:1;4847;4840:12;4809:45;4899:6;4894:3;4887:4;4880:5;4876:16;4863:43;4953:1;4946:4;4937:6;4930:5;4926:18;4922:29;4915:40;4495:466;;;;;:::o;4966:451::-;5035:6;5088:2;5076:9;5067:7;5063:23;5059:32;5056:52;;;5104:1;5101;5094:12;5056:52;5144:9;5131:23;5177:18;5169:6;5166:30;5163:50;;;5209:1;5206;5199:12;5163:50;5232:22;;5285:4;5277:13;;5273:27;-1:-1:-1;5263:55:31;;5314:1;5311;5304:12;5263:55;5337:74;5403:7;5398:2;5385:16;5380:2;5376;5372:11;5337:74;:::i;5604:186::-;5663:6;5716:2;5704:9;5695:7;5691:23;5687:32;5684:52;;;5732:1;5729;5722:12;5684:52;5755:29;5774:9;5755:29;:::i;5795:328::-;5872:6;5880;5888;5941:2;5929:9;5920:7;5916:23;5912:32;5909:52;;;5957:1;5954;5947:12;5909:52;5980:29;5999:9;5980:29;:::i;:::-;5970:39;;6028:38;6062:2;6051:9;6047:18;6028:38;:::i;:::-;6018:48;;6113:2;6102:9;6098:18;6085:32;6075:42;;5795:328;;;;;:::o;6128:248::-;6196:6;6204;6257:2;6245:9;6236:7;6232:23;6228:32;6225:52;;;6273:1;6270;6263:12;6225:52;-1:-1:-1;;6296:23:31;;;6366:2;6351:18;;;6338:32;;-1:-1:-1;6128:248:31:o;6946:437::-;7032:6;7040;7093:2;7081:9;7072:7;7068:23;7064:32;7061:52;;;7109:1;7106;7099:12;7061:52;7149:9;7136:23;7182:18;7174:6;7171:30;7168:50;;;7214:1;7211;7204:12;7168:50;7253:70;7315:7;7306:6;7295:9;7291:22;7253:70;:::i;:::-;7342:8;;7227:96;;-1:-1:-1;6946:437:31;-1:-1:-1;;;;6946:437:31:o;7388:435::-;7441:3;7479:5;7473:12;7506:6;7501:3;7494:19;7532:4;7561:2;7556:3;7552:12;7545:19;;7598:2;7591:5;7587:14;7619:1;7629:169;7643:6;7640:1;7637:13;7629:169;;;7704:13;;7692:26;;7738:12;;;;7773:15;;;;7665:1;7658:9;7629:169;;;-1:-1:-1;7814:3:31;;7388:435;-1:-1:-1;;;;;7388:435:31:o;7828:261::-;8007:2;7996:9;7989:21;7970:4;8027:56;8079:2;8068:9;8064:18;8056:6;8027:56;:::i;8094:322::-;8171:6;8179;8187;8240:2;8228:9;8219:7;8215:23;8211:32;8208:52;;;8256:1;8253;8246:12;8208:52;8279:29;8298:9;8279:29;:::i;:::-;8269:39;8355:2;8340:18;;8327:32;;-1:-1:-1;8406:2:31;8391:18;;;8378:32;;8094:322;-1:-1:-1;;;8094:322:31:o;8421:332::-;8628:2;8617:9;8610:21;8591:4;8648:56;8700:2;8689:9;8685:18;8677:6;8648:56;:::i;:::-;8640:64;;8740:6;8735:2;8724:9;8720:18;8713:34;8421:332;;;;;:::o;8758:366::-;8825:6;8833;8886:2;8874:9;8865:7;8861:23;8857:32;8854:52;;;8902:1;8899;8892:12;8854:52;8925:29;8944:9;8925:29;:::i;:::-;8915:39;;9004:2;8993:9;8989:18;8976:32;9048:26;9041:5;9037:38;9030:5;9027:49;9017:77;;9090:1;9087;9080:12;9017:77;9113:5;9103:15;;;8758:366;;;;;:::o;9129:118::-;9215:5;9208:13;9201:21;9194:5;9191:32;9181:60;;9237:1;9234;9227:12;9252:315;9317:6;9325;9378:2;9366:9;9357:7;9353:23;9349:32;9346:52;;;9394:1;9391;9384:12;9346:52;9417:29;9436:9;9417:29;:::i;:::-;9407:39;;9496:2;9485:9;9481:18;9468:32;9509:28;9531:5;9509:28;:::i;9572:667::-;9667:6;9675;9683;9691;9744:3;9732:9;9723:7;9719:23;9715:33;9712:53;;;9761:1;9758;9751:12;9712:53;9784:29;9803:9;9784:29;:::i;:::-;9774:39;;9832:38;9866:2;9855:9;9851:18;9832:38;:::i;:::-;9822:48;;9917:2;9906:9;9902:18;9889:32;9879:42;;9972:2;9961:9;9957:18;9944:32;9999:18;9991:6;9988:30;9985:50;;;10031:1;10028;10021:12;9985:50;10054:22;;10107:4;10099:13;;10095:27;-1:-1:-1;10085:55:31;;10136:1;10133;10126:12;10085:55;10159:74;10225:7;10220:2;10207:16;10202:2;10198;10194:11;10159:74;:::i;:::-;10149:84;;;9572:667;;;;;;;:::o;10244:241::-;10300:6;10353:2;10341:9;10332:7;10328:23;10324:32;10321:52;;;10369:1;10366;10359:12;10321:52;10408:9;10395:23;10427:28;10449:5;10427:28;:::i;10490:260::-;10558:6;10566;10619:2;10607:9;10598:7;10594:23;10590:32;10587:52;;;10635:1;10632;10625:12;10587:52;10658:29;10677:9;10658:29;:::i;:::-;10648:39;;10706:38;10740:2;10729:9;10725:18;10706:38;:::i;:::-;10696:48;;10490:260;;;;;:::o;10755:437::-;10834:1;10830:12;;;;10877;;;10898:61;;10952:4;10944:6;10940:17;10930:27;;10898:61;11005:2;10997:6;10994:14;10974:18;10971:38;10968:218;;11042:77;11039:1;11032:88;11143:4;11140:1;11133:15;11171:4;11168:1;11161:15;10968:218;;10755:437;;;:::o;11323:545::-;11425:2;11420:3;11417:11;11414:448;;;11461:1;11486:5;11482:2;11475:17;11531:4;11527:2;11517:19;11601:2;11589:10;11585:19;11582:1;11578:27;11572:4;11568:38;11637:4;11625:10;11622:20;11619:47;;;-1:-1:-1;11660:4:31;11619:47;11715:2;11710:3;11706:12;11703:1;11699:20;11693:4;11689:31;11679:41;;11770:82;11788:2;11781:5;11778:13;11770:82;;;11833:17;;;11814:1;11803:13;11770:82;;12104:1471;12230:3;12224:10;12257:18;12249:6;12246:30;12243:56;;;12279:18;;:::i;:::-;12308:97;12398:6;12358:38;12390:4;12384:11;12358:38;:::i;:::-;12352:4;12308:97;:::i;:::-;12460:4;;12524:2;12513:14;;12541:1;12536:782;;;;13362:1;13379:6;13376:89;;;-1:-1:-1;13431:19:31;;;13425:26;13376:89;12010:66;12001:1;11997:11;;;11993:84;11989:89;11979:100;12085:1;12081:11;;;11976:117;13478:81;;12506:1063;;12536:782;11270:1;11263:14;;;11307:4;11294:18;;12584:66;12572:79;;;12749:236;12763:7;12760:1;12757:14;12749:236;;;12852:19;;;12846:26;12831:42;;12944:27;;;;12912:1;12900:14;;;;12779:19;;12749:236;;;12753:3;13013:6;13004:7;13001:19;12998:261;;;13074:19;;;13068:26;13175:66;13157:1;13153:14;;;13169:3;13149:24;13145:97;13141:102;13126:118;13111:134;;12998:261;-1:-1:-1;;;;;13305:1:31;13289:14;;;13285:22;13272:36;;-1:-1:-1;12104:1471:31:o;13580:184::-;13632:77;13629:1;13622:88;13729:4;13726:1;13719:15;13753:4;13750:1;13743:15;13769:168;13842:9;;;13873;;13890:15;;;13884:22;;13870:37;13860:71;;13911:18;;:::i;14131:274::-;14171:1;14197;14187:189;;14232:77;14229:1;14222:88;14333:4;14330:1;14323:15;14361:4;14358:1;14351:15;14187:189;-1:-1:-1;14390:9:31;;14131:274::o;15167:184::-;15219:77;15216:1;15209:88;15316:4;15313:1;15306:15;15340:4;15337:1;15330:15;15356:125;15421:9;;;15442:10;;;15439:36;;;15455:18;;:::i;15486:195::-;15525:3;15556:66;15549:5;15546:77;15543:103;;15626:18;;:::i;:::-;-1:-1:-1;15673:1:31;15662:13;;15486:195::o;18623:128::-;18690:9;;;18711:11;;;18708:37;;;18725:18;;:::i;18756:184::-;18826:6;18879:2;18867:9;18858:7;18854:23;18850:32;18847:52;;;18895:1;18892;18885:12;18847:52;-1:-1:-1;18918:16:31;;18756:184;-1:-1:-1;18756:184:31:o;19704:496::-;19883:3;19921:6;19915:13;19937:66;19996:6;19991:3;19984:4;19976:6;19972:17;19937:66;:::i;:::-;20066:13;;20025:16;;;;20088:70;20066:13;20025:16;20135:4;20123:17;;20088:70;:::i;:::-;20174:20;;19704:496;-1:-1:-1;;;;19704:496:31:o;21652:245::-;21719:6;21772:2;21760:9;21751:7;21747:23;21743:32;21740:52;;;21788:1;21785;21778:12;21740:52;21820:9;21814:16;21839:28;21861:5;21839:28;:::i;28438:512::-;28632:4;28661:42;28742:2;28734:6;28730:15;28719:9;28712:34;28794:2;28786:6;28782:15;28777:2;28766:9;28762:18;28755:43;;28834:6;28829:2;28818:9;28814:18;28807:34;28877:3;28872:2;28861:9;28857:18;28850:31;28898:46;28939:3;28928:9;28924:19;28916:6;28898:46;:::i;:::-;28890:54;28438:512;-1:-1:-1;;;;;;28438:512:31:o;28955:249::-;29024:6;29077:2;29065:9;29056:7;29052:23;29048:32;29045:52;;;29093:1;29090;29083:12;29045:52;29125:9;29119:16;29144:30;29168:5;29144:30;:::i;29209:184::-;29261:77;29258:1;29251:88;29358:4;29355:1;29348:15;29382:4;29379:1;29372:15;30523:287;30652:3;30690:6;30684:13;30706:66;30765:6;30760:3;30753:4;30745:6;30741:17;30706:66;:::i;:::-;30788:16;;;;;30523:287;-1:-1:-1;;30523:287:31:o
Swarm Source
ipfs://05caf7c5cf9dff5a6bfc4e26773ab3c5d281df9dc4b9f7e82bc22ce0662fde10
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 35 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
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.