ERC-721
Overview
Max Total Supply
1,000 MetaAgents x Shredders
Holders
67
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 MetaAgents x ShreddersLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Metashredders
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "./interfaces/IRandomNumberConsumer.sol"; import "./interfaces/IERC2981.sol"; interface ITokenPRO { function balanceOf(address _owner) external returns(uint256 balance); function transferFrom(address _from, address _to, uint256 _value) external returns(bool success); function transfer(address _to, uint256 _value) external returns(bool success); function allowance(address _owner, address _spender) external returns(uint256 remaining); } contract Metashredders is ERC721, Ownable { using Strings for uint256; // Events event Buy(address buyer, uint256 amount); event RequestedVRF(bool isRequested, bytes32 randomNumberRequestId); event CommittedVRF(bytes32 randomNumberRequestId, uint256 vrfResult); // Controlled variables using Counters for Counters.Counter; Counters.Counter private _tokenIds; uint256 public price; bool public isRandomnessRequested; bytes32 public randomNumberRequestId; uint256 public vrfResult; // Config variables string public preRevealURI; string public baseURI; uint256 public supplyLimit; uint256 public mintingStartTimeUnix; uint256 public singleOrderLimit; address public vrfProvider; address public payoutAddress; address public royaltyReceiver; uint16 public royaltyBasisPoints; ITokenPRO public paymentTokenPRO; constructor( string memory _tokenName, string memory _tokenSymbol, string memory _preRevealURI, string memory _baseURI, uint256 _supplyLimit, uint256 _mintingStartTimeUnix, uint256 _singleOrderLimit, address _vrfProvider, address _payoutAddress, uint256 _price, address _paymentTokenPRO ) ERC721(_tokenName, _tokenSymbol) { preRevealURI = _preRevealURI; baseURI = _baseURI; supplyLimit = _supplyLimit; mintingStartTimeUnix = _mintingStartTimeUnix; singleOrderLimit = _singleOrderLimit; vrfProvider = _vrfProvider; payoutAddress = _payoutAddress; price = _price; paymentTokenPRO = ITokenPRO(_paymentTokenPRO); } // We signify support for ERC2981, ERC721 & ERC721Metadata function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC2981).interfaceId || interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } function mint(address _recipient, uint96 _quantity) external { require(isRandomnessRequested == false, "MINTING_OVER"); require(_quantity > 0, "NO_ZERO_QUANTITY"); require(block.timestamp >= mintingStartTimeUnix, "MINTING_PERIOD_NOT_STARTED"); require(_quantity <= singleOrderLimit, "EXCEEDS_SINGLE_ORDER_LIMIT"); require((_tokenIds.current() + _quantity) <= supplyLimit, "EXCEEDS_MAX_SUPPLY"); uint256 paymentValue = (price * _quantity); bool success = paymentTokenPRO.transferFrom(msg.sender, address(this), paymentValue); require(success, "PAYMENT_FAILED"); _handleMint(_recipient, _quantity); emit Buy(msg.sender, _quantity); } function _handleMint(address _recipient, uint96 _quantity) internal { for(uint96 i = 0; i < _quantity; i++) { _tokenIds.increment(); uint256 newTokenId = _tokenIds.current(); _mint(_recipient, newTokenId); } } function initiateRandomDistribution() external { require(_tokenIds.current() == supplyLimit, "MINTING_ONGOING"); require(isRandomnessRequested == false, "RANDOMNESS_REQ_NOT_INITIATED"); IRandomNumberConsumer randomNumberConsumer = IRandomNumberConsumer(vrfProvider); randomNumberRequestId = randomNumberConsumer.getRandomNumber(); isRandomnessRequested = true; emit RequestedVRF(true, randomNumberRequestId); } function forceInitiateRandomDistribution() external onlyOwner { // Forces ending of minting period by skipping check for all tokens being minted uint256 supply = _tokenIds.current(); require(supply > 0); require(isRandomnessRequested == false); IRandomNumberConsumer randomNumberConsumer = IRandomNumberConsumer(vrfProvider); randomNumberRequestId = randomNumberConsumer.getRandomNumber(); isRandomnessRequested = true; emit RequestedVRF(true, randomNumberRequestId); } function commitRandomDistribution() external onlyOwner { require(isRandomnessRequested == true, "RANDOMNESS_REQ_NOT_INITIATED"); IRandomNumberConsumer randomNumberConsumer = IRandomNumberConsumer(vrfProvider); uint256 result = randomNumberConsumer.readFulfilledRandomness(randomNumberRequestId); require(result > 0, "RANDOMNESS_NOT_FULFILLED"); vrfResult = result; emit CommittedVRF(randomNumberRequestId, result); } function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "NONEXISTENT_TOKEN"); if (vrfResult == 0) { return preRevealURI; } string memory tokenURI_ = metadataOf(tokenId); return string(abi.encodePacked(baseURI, tokenURI_, ".json")); } function metadataOf(uint256 _tokenId) public view returns (string memory) { require((_tokenId > 0) && (_tokenId <= totalSupply()), "INVALID_TOKEN_ID"); uint256 seed_ = vrfResult; if (seed_ == 0) { return ""; } uint256[] memory randomIds = new uint256[](supplyLimit); for (uint256 i = 0; i < supplyLimit; i++) { randomIds[i] = 1000 - i; } for (uint256 i = 0; i < supplyLimit - 1; i++) { uint256 j = i + (uint256(keccak256(abi.encode(seed_, i))) % (supplyLimit - i)); (randomIds[i], randomIds[j]) = (randomIds[j], randomIds[i]); } return randomIds[_tokenId - 1].toString(); } function totalSupply() public view returns(uint256) { return _tokenIds.current(); } function updateVrfProvider( address _vrfProvider ) public onlyOwner { vrfProvider = _vrfProvider; } // Fee distribution logic below function getPercentageOf( uint256 _amount, uint16 _basisPoints ) internal pure returns (uint256 value) { value = (_amount * _basisPoints) / 10000; } function distributeFees() public onlyOwner { uint256 currentBalance = paymentTokenPRO.balanceOf(address(this)); require(currentBalance > 0, "NO_FEES_TO_DISTRIBUTE"); bool success = paymentTokenPRO.transfer(payoutAddress, currentBalance); require(success, "PAYMENT_FAILED"); } function recoverETH() public onlyOwner { uint256 balance = address(this).balance; address recoveryAddress = owner(); (bool recoveryDeliverySuccess, ) = recoveryAddress.call{value: balance}(""); require(recoveryDeliverySuccess, "RECOVER_ETH_NO_DELIVERY"); } function updateFeePayoutScheme( address _payoutAddress, uint256 _price ) public onlyOwner { payoutAddress = _payoutAddress; price = _price; } // ERC2981 logic function updateRoyaltyInfo(address _royaltyReceiver, uint16 _royaltyBasisPoints) external onlyOwner { royaltyReceiver = _royaltyReceiver; royaltyBasisPoints = _royaltyBasisPoints; } // Takes a _tokenId and _price (in wei) and returns the royalty receiver's address and how much of a royalty the royalty receiver is owed function royaltyInfo(uint256 _tokenId, uint256 _price) external view returns (address receiver, uint256 royaltyAmount) { receiver = royaltyReceiver; royaltyAmount = getPercentageOf(_price, royaltyBasisPoints); } }
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.8.0; interface IRandomNumberConsumer { function getRandomNumber() external returns (bytes32 requestId); function readFulfilledRandomness(bytes32 requestId) external view returns (uint256); function setRandomnessRequesterApproval(address _requester, bool _approvalStatus) external; }
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.8.0; // OpenZeppelin Contracts @ version 4.5.0 import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; /** * @title IERC2981 interface * * @notice NFT Royalty Standard. * * See https://eips.ethereum.org/EIPS/eip-2981 */ interface IERC2981 is IERC165 { /** * @notice Determine how much royalty is owed (if any) and to whom. * @param _tokenId - the NFT asset queried for royalty information * @param _salePrice - the sale price of the NFT asset specified by _tokenId * @return receiver - address of who should be sent the royalty payment * @return royaltyAmount - the royalty payment amount for _salePrice */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view returns ( address receiver, uint256 royaltyAmount ); }
// 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.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.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_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) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @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] = _HEX_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 (last updated v4.7.0) (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 = _owners[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 nor 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 nor 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 nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[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); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @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); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @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. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// 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 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.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// 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 (last updated v4.7.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 functionCall(target, data, "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"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(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) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(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) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason 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 { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./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; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"string","name":"_preRevealURI","type":"string"},{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"uint256","name":"_supplyLimit","type":"uint256"},{"internalType":"uint256","name":"_mintingStartTimeUnix","type":"uint256"},{"internalType":"uint256","name":"_singleOrderLimit","type":"uint256"},{"internalType":"address","name":"_vrfProvider","type":"address"},{"internalType":"address","name":"_payoutAddress","type":"address"},{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"address","name":"_paymentTokenPRO","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Buy","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"randomNumberRequestId","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"vrfResult","type":"uint256"}],"name":"CommittedVRF","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isRequested","type":"bool"},{"indexed":false,"internalType":"bytes32","name":"randomNumberRequestId","type":"bytes32"}],"name":"RequestedVRF","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"commitRandomDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"distributeFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceInitiateRandomDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initiateRandomDistribution","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":"isRandomnessRequested","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"metadataOf","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint96","name":"_quantity","type":"uint96"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintingStartTimeUnix","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":"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":"paymentTokenPRO","outputs":[{"internalType":"contract ITokenPRO","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"payoutAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preRevealURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"randomNumberRequestId","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recoverETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyBasisPoints","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":[],"name":"singleOrderLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"supplyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_payoutAddress","type":"address"},{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"updateFeePayoutScheme","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyReceiver","type":"address"},{"internalType":"uint16","name":"_royaltyBasisPoints","type":"uint16"}],"name":"updateRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_vrfProvider","type":"address"}],"name":"updateVrfProvider","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vrfProvider","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vrfResult","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620051bd380380620051bd8339818101604052810190620000379190620003cd565b8a8a8160009080519060200190620000519291906200027d565b5080600190805190602001906200006a9291906200027d565b5050506200008d62000081620001af60201b60201c565b620001b760201b60201c565b88600c9080519060200190620000a59291906200027d565b5087600d9080519060200190620000be9291906200027d565b5086600e8190555085600f819055508460108190555083601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160088190555080601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050505050505050506200071a565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200028b906200060b565b90600052602060002090601f016020900481019282620002af5760008555620002fb565b82601f10620002ca57805160ff1916838001178555620002fb565b82800160010185558215620002fb579182015b82811115620002fa578251825591602001919060010190620002dd565b5b5090506200030a91906200030e565b5090565b5b80821115620003295760008160009055506001016200030f565b5090565b6000620003446200033e8462000561565b62000538565b9050828152602081018484840111156200035d57600080fd5b6200036a848285620005d5565b509392505050565b6000815190506200038381620006e6565b92915050565b600082601f8301126200039b57600080fd5b8151620003ad8482602086016200032d565b91505092915050565b600081519050620003c78162000700565b92915050565b60008060008060008060008060008060006101608c8e031215620003f057600080fd5b60008c015167ffffffffffffffff8111156200040b57600080fd5b620004198e828f0162000389565b9b505060208c015167ffffffffffffffff8111156200043757600080fd5b620004458e828f0162000389565b9a505060408c015167ffffffffffffffff8111156200046357600080fd5b620004718e828f0162000389565b99505060608c015167ffffffffffffffff8111156200048f57600080fd5b6200049d8e828f0162000389565b9850506080620004b08e828f01620003b6565b97505060a0620004c38e828f01620003b6565b96505060c0620004d68e828f01620003b6565b95505060e0620004e98e828f0162000372565b945050610100620004fd8e828f0162000372565b935050610120620005118e828f01620003b6565b925050610140620005258e828f0162000372565b9150509295989b509295989b9093969950565b60006200054462000557565b905062000552828262000641565b919050565b6000604051905090565b600067ffffffffffffffff8211156200057f576200057e620006a6565b5b6200058a82620006d5565b9050602081019050919050565b6000620005a482620005ab565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620005f5578082015181840152602081019050620005d8565b8381111562000605576000848401525b50505050565b600060028204905060018216806200062457607f821691505b602082108114156200063b576200063a62000677565b5b50919050565b6200064c82620006d5565b810181811067ffffffffffffffff821117156200066e576200066d620006a6565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b620006f18162000597565b8114620006fd57600080fd5b50565b6200070b81620005cb565b81146200071757600080fd5b50565b614a93806200072a6000396000f3fe608060405234801561001057600080fd5b506004361061025d5760003560e01c80636352211e1161014657806395d89b41116100c3578063bb57ad2011610087578063bb57ad2014610691578063c87b56dd1461069b578063c99eb61d146106cb578063e985e9c5146106e9578063f2fde38b14610719578063f60d7046146107355761025d565b806395d89b41146105ff5780639fbc87131461061d578063a035b1fe1461063b578063a22cb46514610659578063b88d4fde146106755761025d565b806371a079991161010a57806371a079991461057f5780637514bdb41461059d57806377129109146105a757806379b6ed36146105c35780638da5cb5b146105e15761025d565b80636352211e146104d95780636c0360eb146105095780636d6e2fc01461052757806370a0823114610545578063715018a6146105755761025d565b806319d1997a116101df5780633c897502116101a35780633c8975021461042957806342260b5d1461044757806342842e0e146104655780635910b78b146104815780635b6b62e21461049d5780635b8d02d7146104bb5761025d565b806319d1997a146103865780631b025a40146103a457806323b872dd146103c057806326e6baed146103dc5780632a55205a146103f85761025d565b8063081812fc11610226578063081812fc146102e2578063095ea7b3146103125780630ef7cc8e1461032e57806314f076d91461035e57806318160ddd146103685761025d565b80628df6431461026257806301ffc9a7146102805780630460c337146102b05780630614117a146102ba57806306fdde03146102c4575b600080fd5b61026a610753565b6040516102779190613f29565b60405180910390f35b61029a60048036038101906102959190613396565b610759565b6040516102a79190613b09565b60405180910390f35b6102b86108a3565b005b6102c26109ee565b005b6102cc610ab8565b6040516102d99190613bac565b60405180910390f35b6102fc60048036038101906102f791906133e8565b610b4a565b6040516103099190613a19565b60405180910390f35b61032c600480360381019061032791906132cc565b610b90565b005b610348600480360381019061034391906133e8565b610ca8565b6040516103559190613bac565b60405180910390f35b610366610ffd565b005b6103706111a7565b60405161037d9190613f29565b60405180910390f35b61038e6111b8565b60405161039b9190613f29565b60405180910390f35b6103be60048036038101906103b99190613308565b6111be565b005b6103da60048036038101906103d5919061318a565b6114c2565b005b6103f660048036038101906103f191906132cc565b611522565b005b610412600480360381019061040d919061343a565b611576565b604051610420929190613ab7565b60405180910390f35b6104316115c1565b60405161043e9190613f29565b60405180910390f35b61044f6115c7565b60405161045c9190613f0e565b60405180910390f35b61047f600480360381019061047a919061318a565b6115db565b005b61049b60048036038101906104969190613125565b6115fb565b005b6104a5611647565b6040516104b29190613b4d565b60405180910390f35b6104c361164d565b6040516104d09190613a19565b60405180910390f35b6104f360048036038101906104ee91906133e8565b611673565b6040516105009190613a19565b60405180910390f35b610511611725565b60405161051e9190613bac565b60405180910390f35b61052f6117b3565b60405161053c9190613b91565b60405180910390f35b61055f600480360381019061055a9190613125565b6117d9565b60405161056c9190613f29565b60405180910390f35b61057d611891565b005b6105876118a5565b6040516105949190613f29565b60405180910390f35b6105a56118ab565b005b6105c160048036038101906105bc9190613290565b611a48565b005b6105cb611ab2565b6040516105d89190613bac565b60405180910390f35b6105e9611b40565b6040516105f69190613a19565b60405180910390f35b610607611b6a565b6040516106149190613bac565b60405180910390f35b610625611bfc565b6040516106329190613a19565b60405180910390f35b610643611c22565b6040516106509190613f29565b60405180910390f35b610673600480360381019061066e9190613254565b611c28565b005b61068f600480360381019061068a91906131d9565b611c3e565b005b610699611ca0565b005b6106b560048036038101906106b091906133e8565b611eb5565b6040516106c29190613bac565b60405180910390f35b6106d3611fd5565b6040516106e09190613b09565b60405180910390f35b61070360048036038101906106fe919061314e565b611fe8565b6040516107109190613b09565b60405180910390f35b610733600480360381019061072e9190613125565b61207c565b005b61073d612100565b60405161074a9190613a19565b60405180910390f35b60105481565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061082457507f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061088c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061089c575061089b82612126565b5b9050919050565b6108ab612208565b60006108b76007612286565b9050600081116108c657600080fd5b60001515600960009054906101000a900460ff161515146108e657600080fd5b6000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff1663dbdff2c16040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561095557600080fd5b505af1158015610969573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098d919061336d565b600a819055506001600960006101000a81548160ff0219169083151502179055507f36cfadd74c3a523654563a8169e84cbf50cac5b08d583d8ddfa0dc906da8009b6001600a546040516109e2929190613b24565b60405180910390a15050565b6109f6612208565b60004790506000610a05611b40565b905060008173ffffffffffffffffffffffffffffffffffffffff1683604051610a2d90613a04565b60006040518083038185875af1925050503d8060008114610a6a576040519150601f19603f3d011682016040523d82523d6000602084013e610a6f565b606091505b5050905080610ab3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aaa90613dce565b60405180910390fd5b505050565b606060008054610ac790614257565b80601f0160208091040260200160405190810160405280929190818152602001828054610af390614257565b8015610b405780601f10610b1557610100808354040283529160200191610b40565b820191906000526020600020905b815481529060010190602001808311610b2357829003601f168201915b5050505050905090565b6000610b5582612294565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b9b82611673565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0390613eae565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c2b6122df565b73ffffffffffffffffffffffffffffffffffffffff161480610c5a5750610c5981610c546122df565b611fe8565b5b610c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9090613e2e565b60405180910390fd5b610ca383836122e7565b505050565b6060600082118015610cc15750610cbd6111a7565b8211155b610d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf790613dee565b60405180910390fd5b6000600b5490506000811415610d285760405180602001604052806000815250915050610ff8565b6000600e5467ffffffffffffffff811115610d6c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610d9a5781602001602082028036833780820191505090505b50905060005b600e54811015610e1057806103e8610db89190614107565b828281518110610df1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080610e08906142ba565b915050610da0565b5060005b6001600e54610e239190614107565b811015610f9d57600081600e54610e3a9190614107565b8483604051602001610e4d929190613f44565b6040516020818303038152906040528051906020012060001c610e709190614338565b82610e7b9190614026565b9050828181518110610eb6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151838381518110610ef7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151848481518110610f38577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101858481518110610f78577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010182815250828152505050508080610f95906142ba565b915050610e14565b50610ff381600186610faf9190614107565b81518110610fe6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516123a0565b925050505b919050565b600e5461100a6007612286565b1461104a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104190613eee565b60405180910390fd5b60001515600960009054906101000a900460ff161515146110a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109790613c8e565b60405180910390fd5b6000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff1663dbdff2c16040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561110f57600080fd5b505af1158015611123573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611147919061336d565b600a819055506001600960006101000a81548160ff0219169083151502179055507f36cfadd74c3a523654563a8169e84cbf50cac5b08d583d8ddfa0dc906da8009b6001600a5460405161119c929190613b24565b60405180910390a150565b60006111b36007612286565b905090565b600e5481565b60001515600960009054906101000a900460ff16151514611214576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120b90613d4e565b60405180910390fd5b6000816bffffffffffffffffffffffff1611611265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125c90613e0e565b60405180910390fd5b600f544210156112aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a190613bee565b60405180910390fd5b601054816bffffffffffffffffffffffff1611156112fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f490613bce565b60405180910390fd5b600e54816bffffffffffffffffffffffff166113196007612286565b6113239190614026565b1115611364576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135b90613dae565b60405180910390fd5b6000816bffffffffffffffffffffffff1660085461138291906140ad565b90506000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b81526004016113e593929190613a34565b602060405180830381600087803b1580156113ff57600080fd5b505af1158015611413573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114379190613344565b905080611479576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147090613cce565b60405180910390fd5b611483848461254d565b7fe3d4187f6ca4248660cc0ac8b8056515bac4a8132be2eca31d6d0cc170722a7e33846040516114b4929190613ae0565b60405180910390a150505050565b6114d36114cd6122df565b826125af565b611512576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150990613ece565b60405180910390fd5b61151d838383612644565b505050565b61152a612208565b81601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806008819055505050565b600080601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691506115b883601360149054906101000a900461ffff166128ab565b90509250929050565b600f5481565b601360149054906101000a900461ffff1681565b6115f683838360405180602001604052806000815250611c3e565b505050565b611603612208565b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a5481565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561171c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171390613e8e565b60405180910390fd5b80915050919050565b600d805461173290614257565b80601f016020809104026020016040519081016040528092919081815260200182805461175e90614257565b80156117ab5780601f10611780576101008083540402835291602001916117ab565b820191906000526020600020905b81548152906001019060200180831161178e57829003601f168201915b505050505081565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561184a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184190613d8e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611899612208565b6118a360006128d2565b565b600b5481565b6118b3612208565b60011515600960009054906101000a900460ff16151514611909576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190090613c8e565b60405180910390fd5b6000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff1663568ee8be600a546040518263ffffffff1660e01b815260040161196d9190613b4d565b60206040518083038186803b15801561198557600080fd5b505afa158015611999573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119bd9190613411565b905060008111611a02576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f990613d2e565b60405180910390fd5b80600b819055507fc1116ae3ff0028f9681abbb48f2ef05f3a4ee40d2b36817b574606040e853b2c600a5482604051611a3c929190613b68565b60405180910390a15050565b611a50612208565b81601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601360146101000a81548161ffff021916908361ffff1602179055505050565b600c8054611abf90614257565b80601f0160208091040260200160405190810160405280929190818152602001828054611aeb90614257565b8015611b385780601f10611b0d57610100808354040283529160200191611b38565b820191906000526020600020905b815481529060010190602001808311611b1b57829003601f168201915b505050505081565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611b7990614257565b80601f0160208091040260200160405190810160405280929190818152602001828054611ba590614257565b8015611bf25780601f10611bc757610100808354040283529160200191611bf2565b820191906000526020600020905b815481529060010190602001808311611bd557829003601f168201915b5050505050905090565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60085481565b611c3a611c336122df565b8383612998565b5050565b611c4f611c496122df565b836125af565b611c8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8590613ece565b60405180910390fd5b611c9a84848484612b05565b50505050565b611ca8612208565b6000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611d059190613a19565b602060405180830381600087803b158015611d1f57600080fd5b505af1158015611d33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d579190613411565b905060008111611d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9390613c0e565b60405180910390fd5b6000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b8152600401611e1d929190613ab7565b602060405180830381600087803b158015611e3757600080fd5b505af1158015611e4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e6f9190613344565b905080611eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea890613cce565b60405180910390fd5b5050565b6060611ec082612b61565b611eff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef690613d6e565b60405180910390fd5b6000600b541415611f9c57600c8054611f1790614257565b80601f0160208091040260200160405190810160405280929190818152602001828054611f4390614257565b8015611f905780601f10611f6557610100808354040283529160200191611f90565b820191906000526020600020905b815481529060010190602001808311611f7357829003601f168201915b50505050509050611fd0565b6000611fa783610ca8565b9050600d81604051602001611fbd9291906139d5565b6040516020818303038152906040529150505b919050565b600960009054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612084612208565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120eb90613c4e565b60405180910390fd5b6120fd816128d2565b50565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806121f157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612201575061220082612bcd565b5b9050919050565b6122106122df565b73ffffffffffffffffffffffffffffffffffffffff1661222e611b40565b73ffffffffffffffffffffffffffffffffffffffff1614612284576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227b90613e6e565b60405180910390fd5b565b600081600001549050919050565b61229d81612b61565b6122dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d390613e8e565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661235a83611673565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b606060008214156123e8576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612548565b600082905060005b6000821461241a578080612403906142ba565b915050600a82612413919061407c565b91506123f0565b60008167ffffffffffffffff81111561245c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561248e5781602001600182028036833780820191505090505b5090505b60008514612541576001826124a79190614107565b9150600a856124b69190614338565b60306124c29190614026565b60f81b8183815181106124fe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561253a919061407c565b9450612492565b8093505050505b919050565b60005b816bffffffffffffffffffffffff16816bffffffffffffffffffffffff1610156125aa5761257e6007612c37565b600061258a6007612286565b90506125968482612c4d565b5080806125a290614303565b915050612550565b505050565b6000806125bb83611673565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806125fd57506125fc8185611fe8565b5b8061263b57508373ffffffffffffffffffffffffffffffffffffffff1661262384610b4a565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661266482611673565b73ffffffffffffffffffffffffffffffffffffffff16146126ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b190613c6e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561272a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272190613cee565b60405180910390fd5b612735838383612e27565b6127406000826122e7565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127909190614107565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127e79190614026565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128a6838383612e2c565b505050565b60006127108261ffff16846128c091906140ad565b6128ca919061407c565b905092915050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a07576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129fe90613d0e565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612af89190613b09565b60405180910390a3505050565b612b10848484612644565b612b1c84848484612e31565b612b5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5290613c2e565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612cbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb490613e4e565b60405180910390fd5b612cc681612b61565b15612d06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cfd90613cae565b60405180910390fd5b612d1260008383612e27565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d629190614026565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e2360008383612e2c565b5050565b505050565b505050565b6000612e528473ffffffffffffffffffffffffffffffffffffffff16612fc8565b15612fbb578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e7b6122df565b8786866040518563ffffffff1660e01b8152600401612e9d9493929190613a6b565b602060405180830381600087803b158015612eb757600080fd5b505af1925050508015612ee857506040513d601f19601f82011682018060405250810190612ee591906133bf565b60015b612f6b573d8060008114612f18576040519150601f19603f3d011682016040523d82523d6000602084013e612f1d565b606091505b50600081511415612f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5a90613c2e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612fc0565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000612ffe612ff984613f92565b613f6d565b90508281526020810184848401111561301657600080fd5b613021848285614215565b509392505050565b600081359050613038816149bc565b92915050565b60008135905061304d816149d3565b92915050565b600081519050613062816149d3565b92915050565b600081519050613077816149ea565b92915050565b60008135905061308c81614a01565b92915050565b6000815190506130a181614a01565b92915050565b600082601f8301126130b857600080fd5b81356130c8848260208601612feb565b91505092915050565b6000813590506130e081614a18565b92915050565b6000813590506130f581614a2f565b92915050565b60008151905061310a81614a2f565b92915050565b60008135905061311f81614a46565b92915050565b60006020828403121561313757600080fd5b600061314584828501613029565b91505092915050565b6000806040838503121561316157600080fd5b600061316f85828601613029565b925050602061318085828601613029565b9150509250929050565b60008060006060848603121561319f57600080fd5b60006131ad86828701613029565b93505060206131be86828701613029565b92505060406131cf868287016130e6565b9150509250925092565b600080600080608085870312156131ef57600080fd5b60006131fd87828801613029565b945050602061320e87828801613029565b935050604061321f878288016130e6565b925050606085013567ffffffffffffffff81111561323c57600080fd5b613248878288016130a7565b91505092959194509250565b6000806040838503121561326757600080fd5b600061327585828601613029565b92505060206132868582860161303e565b9150509250929050565b600080604083850312156132a357600080fd5b60006132b185828601613029565b92505060206132c2858286016130d1565b9150509250929050565b600080604083850312156132df57600080fd5b60006132ed85828601613029565b92505060206132fe858286016130e6565b9150509250929050565b6000806040838503121561331b57600080fd5b600061332985828601613029565b925050602061333a85828601613110565b9150509250929050565b60006020828403121561335657600080fd5b600061336484828501613053565b91505092915050565b60006020828403121561337f57600080fd5b600061338d84828501613068565b91505092915050565b6000602082840312156133a857600080fd5b60006133b68482850161307d565b91505092915050565b6000602082840312156133d157600080fd5b60006133df84828501613092565b91505092915050565b6000602082840312156133fa57600080fd5b6000613408848285016130e6565b91505092915050565b60006020828403121561342357600080fd5b6000613431848285016130fb565b91505092915050565b6000806040838503121561344d57600080fd5b600061345b858286016130e6565b925050602061346c858286016130e6565b9150509250929050565b61347f8161413b565b82525050565b61348e8161414d565b82525050565b61349d81614159565b82525050565b60006134ae82613fd8565b6134b88185613fee565b93506134c8818560208601614224565b6134d181614425565b840191505092915050565b6134e5816141df565b82525050565b60006134f682613fe3565b613500818561400a565b9350613510818560208601614224565b61351981614425565b840191505092915050565b600061352f82613fe3565b613539818561401b565b9350613549818560208601614224565b80840191505092915050565b6000815461356281614257565b61356c818661401b565b945060018216600081146135875760018114613598576135cb565b60ff198316865281860193506135cb565b6135a185613fc3565b60005b838110156135c3578154818901526001820191506020810190506135a4565b838801955050505b50505092915050565b60006135e1601a8361400a565b91506135ec82614436565b602082019050919050565b6000613604601a8361400a565b915061360f8261445f565b602082019050919050565b600061362760158361400a565b915061363282614488565b602082019050919050565b600061364a60328361400a565b9150613655826144b1565b604082019050919050565b600061366d60268361400a565b915061367882614500565b604082019050919050565b600061369060258361400a565b915061369b8261454f565b604082019050919050565b60006136b3601c8361400a565b91506136be8261459e565b602082019050919050565b60006136d6601c8361400a565b91506136e1826145c7565b602082019050919050565b60006136f9600e8361400a565b9150613704826145f0565b602082019050919050565b600061371c60248361400a565b915061372782614619565b604082019050919050565b600061373f60198361400a565b915061374a82614668565b602082019050919050565b600061376260188361400a565b915061376d82614691565b602082019050919050565b6000613785600c8361400a565b9150613790826146ba565b602082019050919050565b60006137a860118361400a565b91506137b3826146e3565b602082019050919050565b60006137cb60298361400a565b91506137d68261470c565b604082019050919050565b60006137ee60128361400a565b91506137f98261475b565b602082019050919050565b600061381160178361400a565b915061381c82614784565b602082019050919050565b600061383460108361400a565b915061383f826147ad565b602082019050919050565b600061385760108361400a565b9150613862826147d6565b602082019050919050565b600061387a603e8361400a565b9150613885826147ff565b604082019050919050565b600061389d60208361400a565b91506138a88261484e565b602082019050919050565b60006138c060058361401b565b91506138cb82614877565b600582019050919050565b60006138e360208361400a565b91506138ee826148a0565b602082019050919050565b600061390660188361400a565b9150613911826148c9565b602082019050919050565b600061392960218361400a565b9150613934826148f2565b604082019050919050565b600061394c600083613fff565b915061395782614941565b600082019050919050565b600061396f602e8361400a565b915061397a82614944565b604082019050919050565b6000613992600f8361400a565b915061399d82614993565b602082019050919050565b6139b18161418f565b82525050565b6139c0816141bd565b82525050565b6139cf81614203565b82525050565b60006139e18285613555565b91506139ed8284613524565b91506139f8826138b3565b91508190509392505050565b6000613a0f8261393f565b9150819050919050565b6000602082019050613a2e6000830184613476565b92915050565b6000606082019050613a496000830186613476565b613a566020830185613476565b613a6360408301846139b7565b949350505050565b6000608082019050613a806000830187613476565b613a8d6020830186613476565b613a9a60408301856139b7565b8181036060830152613aac81846134a3565b905095945050505050565b6000604082019050613acc6000830185613476565b613ad960208301846139b7565b9392505050565b6000604082019050613af56000830185613476565b613b0260208301846139c6565b9392505050565b6000602082019050613b1e6000830184613485565b92915050565b6000604082019050613b396000830185613485565b613b466020830184613494565b9392505050565b6000602082019050613b626000830184613494565b92915050565b6000604082019050613b7d6000830185613494565b613b8a60208301846139b7565b9392505050565b6000602082019050613ba660008301846134dc565b92915050565b60006020820190508181036000830152613bc681846134eb565b905092915050565b60006020820190508181036000830152613be7816135d4565b9050919050565b60006020820190508181036000830152613c07816135f7565b9050919050565b60006020820190508181036000830152613c278161361a565b9050919050565b60006020820190508181036000830152613c478161363d565b9050919050565b60006020820190508181036000830152613c6781613660565b9050919050565b60006020820190508181036000830152613c8781613683565b9050919050565b60006020820190508181036000830152613ca7816136a6565b9050919050565b60006020820190508181036000830152613cc7816136c9565b9050919050565b60006020820190508181036000830152613ce7816136ec565b9050919050565b60006020820190508181036000830152613d078161370f565b9050919050565b60006020820190508181036000830152613d2781613732565b9050919050565b60006020820190508181036000830152613d4781613755565b9050919050565b60006020820190508181036000830152613d6781613778565b9050919050565b60006020820190508181036000830152613d878161379b565b9050919050565b60006020820190508181036000830152613da7816137be565b9050919050565b60006020820190508181036000830152613dc7816137e1565b9050919050565b60006020820190508181036000830152613de781613804565b9050919050565b60006020820190508181036000830152613e0781613827565b9050919050565b60006020820190508181036000830152613e278161384a565b9050919050565b60006020820190508181036000830152613e478161386d565b9050919050565b60006020820190508181036000830152613e6781613890565b9050919050565b60006020820190508181036000830152613e87816138d6565b9050919050565b60006020820190508181036000830152613ea7816138f9565b9050919050565b60006020820190508181036000830152613ec78161391c565b9050919050565b60006020820190508181036000830152613ee781613962565b9050919050565b60006020820190508181036000830152613f0781613985565b9050919050565b6000602082019050613f2360008301846139a8565b92915050565b6000602082019050613f3e60008301846139b7565b92915050565b6000604082019050613f5960008301856139b7565b613f6660208301846139b7565b9392505050565b6000613f77613f88565b9050613f838282614289565b919050565b6000604051905090565b600067ffffffffffffffff821115613fad57613fac6143f6565b5b613fb682614425565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614031826141bd565b915061403c836141bd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561407157614070614369565b5b828201905092915050565b6000614087826141bd565b9150614092836141bd565b9250826140a2576140a1614398565b5b828204905092915050565b60006140b8826141bd565b91506140c3836141bd565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156140fc576140fb614369565b5b828202905092915050565b6000614112826141bd565b915061411d836141bd565b9250828210156141305761412f614369565b5b828203905092915050565b60006141468261419d565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006bffffffffffffffffffffffff82169050919050565b60006141ea826141f1565b9050919050565b60006141fc8261419d565b9050919050565b600061420e826141c7565b9050919050565b82818337600083830152505050565b60005b83811015614242578082015181840152602081019050614227565b83811115614251576000848401525b50505050565b6000600282049050600182168061426f57607f821691505b60208210811415614283576142826143c7565b5b50919050565b61429282614425565b810181811067ffffffffffffffff821117156142b1576142b06143f6565b5b80604052505050565b60006142c5826141bd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156142f8576142f7614369565b5b600182019050919050565b600061430e826141c7565b91506bffffffffffffffffffffffff82141561432d5761432c614369565b5b600182019050919050565b6000614343826141bd565b915061434e836141bd565b92508261435e5761435d614398565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455843454544535f53494e474c455f4f524445525f4c494d4954000000000000600082015250565b7f4d494e54494e475f504552494f445f4e4f545f53544152544544000000000000600082015250565b7f4e4f5f464545535f544f5f444953545249425554450000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f52414e444f4d4e4553535f5245515f4e4f545f494e4954494154454400000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5041594d454e545f4641494c4544000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f52414e444f4d4e4553535f4e4f545f46554c46494c4c45440000000000000000600082015250565b7f4d494e54494e475f4f5645520000000000000000000000000000000000000000600082015250565b7f4e4f4e4558495354454e545f544f4b454e000000000000000000000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f455843454544535f4d41585f535550504c590000000000000000000000000000600082015250565b7f5245434f5645525f4554485f4e4f5f44454c4956455259000000000000000000600082015250565b7f494e56414c49445f544f4b454e5f494400000000000000000000000000000000600082015250565b7f4e4f5f5a45524f5f5155414e5449545900000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b7f4d494e54494e475f4f4e474f494e470000000000000000000000000000000000600082015250565b6149c58161413b565b81146149d057600080fd5b50565b6149dc8161414d565b81146149e757600080fd5b50565b6149f381614159565b81146149fe57600080fd5b50565b614a0a81614163565b8114614a1557600080fd5b50565b614a218161418f565b8114614a2c57600080fd5b50565b614a38816141bd565b8114614a4357600080fd5b50565b614a4f816141c7565b8114614a5a57600080fd5b5056fea2646970667358221220e29b53ee47e6d2351d3d949ffd0b2b3251af6d68947387876a3181276b5e964364736f6c63430008040033000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000003e80000000000000000000000000000000000000000000000000000000063332c1000000000000000000000000000000000000000000000000000000000000000320000000000000000000000004cef414d556411139b4ff1d79ea51a5d6641cd22000000000000000000000000ca35aecc99cb53aa5fb37d8de122183d141838be0000000000000000000000000000000000000000000000000000000ba43b7400000000000000000000000000226bb599a12c826476e3a771454697ea52e9e22000000000000000000000000000000000000000000000000000000000000000044d4178530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000164d6574614167656e7473207820536872656464657273000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d57437936684b70676662454a377758445073424d69415a57636f4a3662383768355344317063525a7835386a00000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d56414a6769515958726e666f39345243707877674c4637735245544362465147396261667539624c38486d352f00000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061025d5760003560e01c80636352211e1161014657806395d89b41116100c3578063bb57ad2011610087578063bb57ad2014610691578063c87b56dd1461069b578063c99eb61d146106cb578063e985e9c5146106e9578063f2fde38b14610719578063f60d7046146107355761025d565b806395d89b41146105ff5780639fbc87131461061d578063a035b1fe1461063b578063a22cb46514610659578063b88d4fde146106755761025d565b806371a079991161010a57806371a079991461057f5780637514bdb41461059d57806377129109146105a757806379b6ed36146105c35780638da5cb5b146105e15761025d565b80636352211e146104d95780636c0360eb146105095780636d6e2fc01461052757806370a0823114610545578063715018a6146105755761025d565b806319d1997a116101df5780633c897502116101a35780633c8975021461042957806342260b5d1461044757806342842e0e146104655780635910b78b146104815780635b6b62e21461049d5780635b8d02d7146104bb5761025d565b806319d1997a146103865780631b025a40146103a457806323b872dd146103c057806326e6baed146103dc5780632a55205a146103f85761025d565b8063081812fc11610226578063081812fc146102e2578063095ea7b3146103125780630ef7cc8e1461032e57806314f076d91461035e57806318160ddd146103685761025d565b80628df6431461026257806301ffc9a7146102805780630460c337146102b05780630614117a146102ba57806306fdde03146102c4575b600080fd5b61026a610753565b6040516102779190613f29565b60405180910390f35b61029a60048036038101906102959190613396565b610759565b6040516102a79190613b09565b60405180910390f35b6102b86108a3565b005b6102c26109ee565b005b6102cc610ab8565b6040516102d99190613bac565b60405180910390f35b6102fc60048036038101906102f791906133e8565b610b4a565b6040516103099190613a19565b60405180910390f35b61032c600480360381019061032791906132cc565b610b90565b005b610348600480360381019061034391906133e8565b610ca8565b6040516103559190613bac565b60405180910390f35b610366610ffd565b005b6103706111a7565b60405161037d9190613f29565b60405180910390f35b61038e6111b8565b60405161039b9190613f29565b60405180910390f35b6103be60048036038101906103b99190613308565b6111be565b005b6103da60048036038101906103d5919061318a565b6114c2565b005b6103f660048036038101906103f191906132cc565b611522565b005b610412600480360381019061040d919061343a565b611576565b604051610420929190613ab7565b60405180910390f35b6104316115c1565b60405161043e9190613f29565b60405180910390f35b61044f6115c7565b60405161045c9190613f0e565b60405180910390f35b61047f600480360381019061047a919061318a565b6115db565b005b61049b60048036038101906104969190613125565b6115fb565b005b6104a5611647565b6040516104b29190613b4d565b60405180910390f35b6104c361164d565b6040516104d09190613a19565b60405180910390f35b6104f360048036038101906104ee91906133e8565b611673565b6040516105009190613a19565b60405180910390f35b610511611725565b60405161051e9190613bac565b60405180910390f35b61052f6117b3565b60405161053c9190613b91565b60405180910390f35b61055f600480360381019061055a9190613125565b6117d9565b60405161056c9190613f29565b60405180910390f35b61057d611891565b005b6105876118a5565b6040516105949190613f29565b60405180910390f35b6105a56118ab565b005b6105c160048036038101906105bc9190613290565b611a48565b005b6105cb611ab2565b6040516105d89190613bac565b60405180910390f35b6105e9611b40565b6040516105f69190613a19565b60405180910390f35b610607611b6a565b6040516106149190613bac565b60405180910390f35b610625611bfc565b6040516106329190613a19565b60405180910390f35b610643611c22565b6040516106509190613f29565b60405180910390f35b610673600480360381019061066e9190613254565b611c28565b005b61068f600480360381019061068a91906131d9565b611c3e565b005b610699611ca0565b005b6106b560048036038101906106b091906133e8565b611eb5565b6040516106c29190613bac565b60405180910390f35b6106d3611fd5565b6040516106e09190613b09565b60405180910390f35b61070360048036038101906106fe919061314e565b611fe8565b6040516107109190613b09565b60405180910390f35b610733600480360381019061072e9190613125565b61207c565b005b61073d612100565b60405161074a9190613a19565b60405180910390f35b60105481565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061082457507f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061088c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061089c575061089b82612126565b5b9050919050565b6108ab612208565b60006108b76007612286565b9050600081116108c657600080fd5b60001515600960009054906101000a900460ff161515146108e657600080fd5b6000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff1663dbdff2c16040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561095557600080fd5b505af1158015610969573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098d919061336d565b600a819055506001600960006101000a81548160ff0219169083151502179055507f36cfadd74c3a523654563a8169e84cbf50cac5b08d583d8ddfa0dc906da8009b6001600a546040516109e2929190613b24565b60405180910390a15050565b6109f6612208565b60004790506000610a05611b40565b905060008173ffffffffffffffffffffffffffffffffffffffff1683604051610a2d90613a04565b60006040518083038185875af1925050503d8060008114610a6a576040519150601f19603f3d011682016040523d82523d6000602084013e610a6f565b606091505b5050905080610ab3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aaa90613dce565b60405180910390fd5b505050565b606060008054610ac790614257565b80601f0160208091040260200160405190810160405280929190818152602001828054610af390614257565b8015610b405780601f10610b1557610100808354040283529160200191610b40565b820191906000526020600020905b815481529060010190602001808311610b2357829003601f168201915b5050505050905090565b6000610b5582612294565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b9b82611673565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0390613eae565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c2b6122df565b73ffffffffffffffffffffffffffffffffffffffff161480610c5a5750610c5981610c546122df565b611fe8565b5b610c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9090613e2e565b60405180910390fd5b610ca383836122e7565b505050565b6060600082118015610cc15750610cbd6111a7565b8211155b610d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf790613dee565b60405180910390fd5b6000600b5490506000811415610d285760405180602001604052806000815250915050610ff8565b6000600e5467ffffffffffffffff811115610d6c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610d9a5781602001602082028036833780820191505090505b50905060005b600e54811015610e1057806103e8610db89190614107565b828281518110610df1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080610e08906142ba565b915050610da0565b5060005b6001600e54610e239190614107565b811015610f9d57600081600e54610e3a9190614107565b8483604051602001610e4d929190613f44565b6040516020818303038152906040528051906020012060001c610e709190614338565b82610e7b9190614026565b9050828181518110610eb6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151838381518110610ef7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151848481518110610f38577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101858481518110610f78577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010182815250828152505050508080610f95906142ba565b915050610e14565b50610ff381600186610faf9190614107565b81518110610fe6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516123a0565b925050505b919050565b600e5461100a6007612286565b1461104a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104190613eee565b60405180910390fd5b60001515600960009054906101000a900460ff161515146110a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109790613c8e565b60405180910390fd5b6000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff1663dbdff2c16040518163ffffffff1660e01b8152600401602060405180830381600087803b15801561110f57600080fd5b505af1158015611123573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611147919061336d565b600a819055506001600960006101000a81548160ff0219169083151502179055507f36cfadd74c3a523654563a8169e84cbf50cac5b08d583d8ddfa0dc906da8009b6001600a5460405161119c929190613b24565b60405180910390a150565b60006111b36007612286565b905090565b600e5481565b60001515600960009054906101000a900460ff16151514611214576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120b90613d4e565b60405180910390fd5b6000816bffffffffffffffffffffffff1611611265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125c90613e0e565b60405180910390fd5b600f544210156112aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a190613bee565b60405180910390fd5b601054816bffffffffffffffffffffffff1611156112fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f490613bce565b60405180910390fd5b600e54816bffffffffffffffffffffffff166113196007612286565b6113239190614026565b1115611364576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135b90613dae565b60405180910390fd5b6000816bffffffffffffffffffffffff1660085461138291906140ad565b90506000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b81526004016113e593929190613a34565b602060405180830381600087803b1580156113ff57600080fd5b505af1158015611413573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114379190613344565b905080611479576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147090613cce565b60405180910390fd5b611483848461254d565b7fe3d4187f6ca4248660cc0ac8b8056515bac4a8132be2eca31d6d0cc170722a7e33846040516114b4929190613ae0565b60405180910390a150505050565b6114d36114cd6122df565b826125af565b611512576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150990613ece565b60405180910390fd5b61151d838383612644565b505050565b61152a612208565b81601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806008819055505050565b600080601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691506115b883601360149054906101000a900461ffff166128ab565b90509250929050565b600f5481565b601360149054906101000a900461ffff1681565b6115f683838360405180602001604052806000815250611c3e565b505050565b611603612208565b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a5481565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561171c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171390613e8e565b60405180910390fd5b80915050919050565b600d805461173290614257565b80601f016020809104026020016040519081016040528092919081815260200182805461175e90614257565b80156117ab5780601f10611780576101008083540402835291602001916117ab565b820191906000526020600020905b81548152906001019060200180831161178e57829003601f168201915b505050505081565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561184a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184190613d8e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611899612208565b6118a360006128d2565b565b600b5481565b6118b3612208565b60011515600960009054906101000a900460ff16151514611909576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190090613c8e565b60405180910390fd5b6000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff1663568ee8be600a546040518263ffffffff1660e01b815260040161196d9190613b4d565b60206040518083038186803b15801561198557600080fd5b505afa158015611999573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119bd9190613411565b905060008111611a02576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f990613d2e565b60405180910390fd5b80600b819055507fc1116ae3ff0028f9681abbb48f2ef05f3a4ee40d2b36817b574606040e853b2c600a5482604051611a3c929190613b68565b60405180910390a15050565b611a50612208565b81601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601360146101000a81548161ffff021916908361ffff1602179055505050565b600c8054611abf90614257565b80601f0160208091040260200160405190810160405280929190818152602001828054611aeb90614257565b8015611b385780601f10611b0d57610100808354040283529160200191611b38565b820191906000526020600020905b815481529060010190602001808311611b1b57829003601f168201915b505050505081565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611b7990614257565b80601f0160208091040260200160405190810160405280929190818152602001828054611ba590614257565b8015611bf25780601f10611bc757610100808354040283529160200191611bf2565b820191906000526020600020905b815481529060010190602001808311611bd557829003601f168201915b5050505050905090565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60085481565b611c3a611c336122df565b8383612998565b5050565b611c4f611c496122df565b836125af565b611c8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8590613ece565b60405180910390fd5b611c9a84848484612b05565b50505050565b611ca8612208565b6000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611d059190613a19565b602060405180830381600087803b158015611d1f57600080fd5b505af1158015611d33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d579190613411565b905060008111611d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9390613c0e565b60405180910390fd5b6000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b8152600401611e1d929190613ab7565b602060405180830381600087803b158015611e3757600080fd5b505af1158015611e4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e6f9190613344565b905080611eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea890613cce565b60405180910390fd5b5050565b6060611ec082612b61565b611eff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef690613d6e565b60405180910390fd5b6000600b541415611f9c57600c8054611f1790614257565b80601f0160208091040260200160405190810160405280929190818152602001828054611f4390614257565b8015611f905780601f10611f6557610100808354040283529160200191611f90565b820191906000526020600020905b815481529060010190602001808311611f7357829003601f168201915b50505050509050611fd0565b6000611fa783610ca8565b9050600d81604051602001611fbd9291906139d5565b6040516020818303038152906040529150505b919050565b600960009054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612084612208565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120eb90613c4e565b60405180910390fd5b6120fd816128d2565b50565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806121f157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612201575061220082612bcd565b5b9050919050565b6122106122df565b73ffffffffffffffffffffffffffffffffffffffff1661222e611b40565b73ffffffffffffffffffffffffffffffffffffffff1614612284576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227b90613e6e565b60405180910390fd5b565b600081600001549050919050565b61229d81612b61565b6122dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d390613e8e565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661235a83611673565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b606060008214156123e8576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612548565b600082905060005b6000821461241a578080612403906142ba565b915050600a82612413919061407c565b91506123f0565b60008167ffffffffffffffff81111561245c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561248e5781602001600182028036833780820191505090505b5090505b60008514612541576001826124a79190614107565b9150600a856124b69190614338565b60306124c29190614026565b60f81b8183815181106124fe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561253a919061407c565b9450612492565b8093505050505b919050565b60005b816bffffffffffffffffffffffff16816bffffffffffffffffffffffff1610156125aa5761257e6007612c37565b600061258a6007612286565b90506125968482612c4d565b5080806125a290614303565b915050612550565b505050565b6000806125bb83611673565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806125fd57506125fc8185611fe8565b5b8061263b57508373ffffffffffffffffffffffffffffffffffffffff1661262384610b4a565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661266482611673565b73ffffffffffffffffffffffffffffffffffffffff16146126ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b190613c6e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561272a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272190613cee565b60405180910390fd5b612735838383612e27565b6127406000826122e7565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127909190614107565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127e79190614026565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128a6838383612e2c565b505050565b60006127108261ffff16846128c091906140ad565b6128ca919061407c565b905092915050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a07576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129fe90613d0e565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612af89190613b09565b60405180910390a3505050565b612b10848484612644565b612b1c84848484612e31565b612b5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5290613c2e565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612cbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb490613e4e565b60405180910390fd5b612cc681612b61565b15612d06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cfd90613cae565b60405180910390fd5b612d1260008383612e27565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d629190614026565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e2360008383612e2c565b5050565b505050565b505050565b6000612e528473ffffffffffffffffffffffffffffffffffffffff16612fc8565b15612fbb578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e7b6122df565b8786866040518563ffffffff1660e01b8152600401612e9d9493929190613a6b565b602060405180830381600087803b158015612eb757600080fd5b505af1925050508015612ee857506040513d601f19601f82011682018060405250810190612ee591906133bf565b60015b612f6b573d8060008114612f18576040519150601f19603f3d011682016040523d82523d6000602084013e612f1d565b606091505b50600081511415612f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5a90613c2e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612fc0565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000612ffe612ff984613f92565b613f6d565b90508281526020810184848401111561301657600080fd5b613021848285614215565b509392505050565b600081359050613038816149bc565b92915050565b60008135905061304d816149d3565b92915050565b600081519050613062816149d3565b92915050565b600081519050613077816149ea565b92915050565b60008135905061308c81614a01565b92915050565b6000815190506130a181614a01565b92915050565b600082601f8301126130b857600080fd5b81356130c8848260208601612feb565b91505092915050565b6000813590506130e081614a18565b92915050565b6000813590506130f581614a2f565b92915050565b60008151905061310a81614a2f565b92915050565b60008135905061311f81614a46565b92915050565b60006020828403121561313757600080fd5b600061314584828501613029565b91505092915050565b6000806040838503121561316157600080fd5b600061316f85828601613029565b925050602061318085828601613029565b9150509250929050565b60008060006060848603121561319f57600080fd5b60006131ad86828701613029565b93505060206131be86828701613029565b92505060406131cf868287016130e6565b9150509250925092565b600080600080608085870312156131ef57600080fd5b60006131fd87828801613029565b945050602061320e87828801613029565b935050604061321f878288016130e6565b925050606085013567ffffffffffffffff81111561323c57600080fd5b613248878288016130a7565b91505092959194509250565b6000806040838503121561326757600080fd5b600061327585828601613029565b92505060206132868582860161303e565b9150509250929050565b600080604083850312156132a357600080fd5b60006132b185828601613029565b92505060206132c2858286016130d1565b9150509250929050565b600080604083850312156132df57600080fd5b60006132ed85828601613029565b92505060206132fe858286016130e6565b9150509250929050565b6000806040838503121561331b57600080fd5b600061332985828601613029565b925050602061333a85828601613110565b9150509250929050565b60006020828403121561335657600080fd5b600061336484828501613053565b91505092915050565b60006020828403121561337f57600080fd5b600061338d84828501613068565b91505092915050565b6000602082840312156133a857600080fd5b60006133b68482850161307d565b91505092915050565b6000602082840312156133d157600080fd5b60006133df84828501613092565b91505092915050565b6000602082840312156133fa57600080fd5b6000613408848285016130e6565b91505092915050565b60006020828403121561342357600080fd5b6000613431848285016130fb565b91505092915050565b6000806040838503121561344d57600080fd5b600061345b858286016130e6565b925050602061346c858286016130e6565b9150509250929050565b61347f8161413b565b82525050565b61348e8161414d565b82525050565b61349d81614159565b82525050565b60006134ae82613fd8565b6134b88185613fee565b93506134c8818560208601614224565b6134d181614425565b840191505092915050565b6134e5816141df565b82525050565b60006134f682613fe3565b613500818561400a565b9350613510818560208601614224565b61351981614425565b840191505092915050565b600061352f82613fe3565b613539818561401b565b9350613549818560208601614224565b80840191505092915050565b6000815461356281614257565b61356c818661401b565b945060018216600081146135875760018114613598576135cb565b60ff198316865281860193506135cb565b6135a185613fc3565b60005b838110156135c3578154818901526001820191506020810190506135a4565b838801955050505b50505092915050565b60006135e1601a8361400a565b91506135ec82614436565b602082019050919050565b6000613604601a8361400a565b915061360f8261445f565b602082019050919050565b600061362760158361400a565b915061363282614488565b602082019050919050565b600061364a60328361400a565b9150613655826144b1565b604082019050919050565b600061366d60268361400a565b915061367882614500565b604082019050919050565b600061369060258361400a565b915061369b8261454f565b604082019050919050565b60006136b3601c8361400a565b91506136be8261459e565b602082019050919050565b60006136d6601c8361400a565b91506136e1826145c7565b602082019050919050565b60006136f9600e8361400a565b9150613704826145f0565b602082019050919050565b600061371c60248361400a565b915061372782614619565b604082019050919050565b600061373f60198361400a565b915061374a82614668565b602082019050919050565b600061376260188361400a565b915061376d82614691565b602082019050919050565b6000613785600c8361400a565b9150613790826146ba565b602082019050919050565b60006137a860118361400a565b91506137b3826146e3565b602082019050919050565b60006137cb60298361400a565b91506137d68261470c565b604082019050919050565b60006137ee60128361400a565b91506137f98261475b565b602082019050919050565b600061381160178361400a565b915061381c82614784565b602082019050919050565b600061383460108361400a565b915061383f826147ad565b602082019050919050565b600061385760108361400a565b9150613862826147d6565b602082019050919050565b600061387a603e8361400a565b9150613885826147ff565b604082019050919050565b600061389d60208361400a565b91506138a88261484e565b602082019050919050565b60006138c060058361401b565b91506138cb82614877565b600582019050919050565b60006138e360208361400a565b91506138ee826148a0565b602082019050919050565b600061390660188361400a565b9150613911826148c9565b602082019050919050565b600061392960218361400a565b9150613934826148f2565b604082019050919050565b600061394c600083613fff565b915061395782614941565b600082019050919050565b600061396f602e8361400a565b915061397a82614944565b604082019050919050565b6000613992600f8361400a565b915061399d82614993565b602082019050919050565b6139b18161418f565b82525050565b6139c0816141bd565b82525050565b6139cf81614203565b82525050565b60006139e18285613555565b91506139ed8284613524565b91506139f8826138b3565b91508190509392505050565b6000613a0f8261393f565b9150819050919050565b6000602082019050613a2e6000830184613476565b92915050565b6000606082019050613a496000830186613476565b613a566020830185613476565b613a6360408301846139b7565b949350505050565b6000608082019050613a806000830187613476565b613a8d6020830186613476565b613a9a60408301856139b7565b8181036060830152613aac81846134a3565b905095945050505050565b6000604082019050613acc6000830185613476565b613ad960208301846139b7565b9392505050565b6000604082019050613af56000830185613476565b613b0260208301846139c6565b9392505050565b6000602082019050613b1e6000830184613485565b92915050565b6000604082019050613b396000830185613485565b613b466020830184613494565b9392505050565b6000602082019050613b626000830184613494565b92915050565b6000604082019050613b7d6000830185613494565b613b8a60208301846139b7565b9392505050565b6000602082019050613ba660008301846134dc565b92915050565b60006020820190508181036000830152613bc681846134eb565b905092915050565b60006020820190508181036000830152613be7816135d4565b9050919050565b60006020820190508181036000830152613c07816135f7565b9050919050565b60006020820190508181036000830152613c278161361a565b9050919050565b60006020820190508181036000830152613c478161363d565b9050919050565b60006020820190508181036000830152613c6781613660565b9050919050565b60006020820190508181036000830152613c8781613683565b9050919050565b60006020820190508181036000830152613ca7816136a6565b9050919050565b60006020820190508181036000830152613cc7816136c9565b9050919050565b60006020820190508181036000830152613ce7816136ec565b9050919050565b60006020820190508181036000830152613d078161370f565b9050919050565b60006020820190508181036000830152613d2781613732565b9050919050565b60006020820190508181036000830152613d4781613755565b9050919050565b60006020820190508181036000830152613d6781613778565b9050919050565b60006020820190508181036000830152613d878161379b565b9050919050565b60006020820190508181036000830152613da7816137be565b9050919050565b60006020820190508181036000830152613dc7816137e1565b9050919050565b60006020820190508181036000830152613de781613804565b9050919050565b60006020820190508181036000830152613e0781613827565b9050919050565b60006020820190508181036000830152613e278161384a565b9050919050565b60006020820190508181036000830152613e478161386d565b9050919050565b60006020820190508181036000830152613e6781613890565b9050919050565b60006020820190508181036000830152613e87816138d6565b9050919050565b60006020820190508181036000830152613ea7816138f9565b9050919050565b60006020820190508181036000830152613ec78161391c565b9050919050565b60006020820190508181036000830152613ee781613962565b9050919050565b60006020820190508181036000830152613f0781613985565b9050919050565b6000602082019050613f2360008301846139a8565b92915050565b6000602082019050613f3e60008301846139b7565b92915050565b6000604082019050613f5960008301856139b7565b613f6660208301846139b7565b9392505050565b6000613f77613f88565b9050613f838282614289565b919050565b6000604051905090565b600067ffffffffffffffff821115613fad57613fac6143f6565b5b613fb682614425565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614031826141bd565b915061403c836141bd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561407157614070614369565b5b828201905092915050565b6000614087826141bd565b9150614092836141bd565b9250826140a2576140a1614398565b5b828204905092915050565b60006140b8826141bd565b91506140c3836141bd565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156140fc576140fb614369565b5b828202905092915050565b6000614112826141bd565b915061411d836141bd565b9250828210156141305761412f614369565b5b828203905092915050565b60006141468261419d565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006bffffffffffffffffffffffff82169050919050565b60006141ea826141f1565b9050919050565b60006141fc8261419d565b9050919050565b600061420e826141c7565b9050919050565b82818337600083830152505050565b60005b83811015614242578082015181840152602081019050614227565b83811115614251576000848401525b50505050565b6000600282049050600182168061426f57607f821691505b60208210811415614283576142826143c7565b5b50919050565b61429282614425565b810181811067ffffffffffffffff821117156142b1576142b06143f6565b5b80604052505050565b60006142c5826141bd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156142f8576142f7614369565b5b600182019050919050565b600061430e826141c7565b91506bffffffffffffffffffffffff82141561432d5761432c614369565b5b600182019050919050565b6000614343826141bd565b915061434e836141bd565b92508261435e5761435d614398565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455843454544535f53494e474c455f4f524445525f4c494d4954000000000000600082015250565b7f4d494e54494e475f504552494f445f4e4f545f53544152544544000000000000600082015250565b7f4e4f5f464545535f544f5f444953545249425554450000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f52414e444f4d4e4553535f5245515f4e4f545f494e4954494154454400000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f5041594d454e545f4641494c4544000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f52414e444f4d4e4553535f4e4f545f46554c46494c4c45440000000000000000600082015250565b7f4d494e54494e475f4f5645520000000000000000000000000000000000000000600082015250565b7f4e4f4e4558495354454e545f544f4b454e000000000000000000000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f455843454544535f4d41585f535550504c590000000000000000000000000000600082015250565b7f5245434f5645525f4554485f4e4f5f44454c4956455259000000000000000000600082015250565b7f494e56414c49445f544f4b454e5f494400000000000000000000000000000000600082015250565b7f4e4f5f5a45524f5f5155414e5449545900000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b7f4d494e54494e475f4f4e474f494e470000000000000000000000000000000000600082015250565b6149c58161413b565b81146149d057600080fd5b50565b6149dc8161414d565b81146149e757600080fd5b50565b6149f381614159565b81146149fe57600080fd5b50565b614a0a81614163565b8114614a1557600080fd5b50565b614a218161418f565b8114614a2c57600080fd5b50565b614a38816141bd565b8114614a4357600080fd5b50565b614a4f816141c7565b8114614a5a57600080fd5b5056fea2646970667358221220e29b53ee47e6d2351d3d949ffd0b2b3251af6d68947387876a3181276b5e964364736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000003e80000000000000000000000000000000000000000000000000000000063332c1000000000000000000000000000000000000000000000000000000000000000320000000000000000000000004cef414d556411139b4ff1d79ea51a5d6641cd22000000000000000000000000ca35aecc99cb53aa5fb37d8de122183d141838be0000000000000000000000000000000000000000000000000000000ba43b7400000000000000000000000000226bb599a12c826476e3a771454697ea52e9e22000000000000000000000000000000000000000000000000000000000000000044d4178530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000164d6574614167656e7473207820536872656464657273000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d57437936684b70676662454a377758445073424d69415a57636f4a3662383768355344317063525a7835386a00000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d56414a6769515958726e666f39345243707877674c4637735245544362465147396261667539624c38486d352f00000000000000000000
-----Decoded View---------------
Arg [0] : _tokenName (string): MAxS
Arg [1] : _tokenSymbol (string): MetaAgents x Shredders
Arg [2] : _preRevealURI (string): ipfs://QmWCy6hKpgfbEJ7wXDPsBMiAZWcoJ6b87h5SD1pcRZx58j
Arg [3] : _baseURI (string): ipfs://QmVAJgiQYXrnfo94RCpxwgLF7sRETCbFQG9bafu9bL8Hm5/
Arg [4] : _supplyLimit (uint256): 1000
Arg [5] : _mintingStartTimeUnix (uint256): 1664298000
Arg [6] : _singleOrderLimit (uint256): 50
Arg [7] : _vrfProvider (address): 0x4Cef414D556411139B4Ff1d79ea51A5D6641cd22
Arg [8] : _payoutAddress (address): 0xcA35AeCc99Cb53aA5fb37D8De122183d141838bE
Arg [9] : _price (uint256): 50000000000
Arg [10] : _paymentTokenPRO (address): 0x226bb599a12C826476e3A771454697EA52E9E220
-----Encoded View---------------
21 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [1] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000240
Arg [4] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [5] : 0000000000000000000000000000000000000000000000000000000063332c10
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [7] : 0000000000000000000000004cef414d556411139b4ff1d79ea51a5d6641cd22
Arg [8] : 000000000000000000000000ca35aecc99cb53aa5fb37d8de122183d141838be
Arg [9] : 0000000000000000000000000000000000000000000000000000000ba43b7400
Arg [10] : 000000000000000000000000226bb599a12c826476e3a771454697ea52e9e220
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [12] : 4d41785300000000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000016
Arg [14] : 4d6574614167656e747320782053687265646465727300000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [16] : 697066733a2f2f516d57437936684b70676662454a377758445073424d69415a
Arg [17] : 57636f4a3662383768355344317063525a7835386a0000000000000000000000
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [19] : 697066733a2f2f516d56414a6769515958726e666f39345243707877674c4637
Arg [20] : 735245544362465147396261667539624c38486d352f00000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.