ERC-721
Overview
Max Total Supply
232 DCC
Holders
104
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 DCCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Dripperz
Compiler Version
v0.8.12+commit.f00d7308
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // ********************* DRIPPERZ CYBER CLUB *********************** // ******************************************************************************** // ******************************************************************************** // ******************************************************************************** // ******************************************************************************** // ******************************************************************************** // ******************************************************************************** // ******************** ******************************************* *************** // ******************* ****************************************** *************** // ****************** ***************************************** *************** // ***************** *************************************** *************** // ***************** ************************************** *************** // ***************** ************************************* *************** // ***************** *********************************** *************** // ***************** ********************************* %************** // ****************** ******************************* *************** // ****************** ***************************** *************** // ******************* *************************** **************** // ******************** ************************* ***************** // ********************* *********************** ****************** // ********************** ******************** ******************* // *********************** ****************** ********************* // ************************* ***************** ********************** // *************************** *************** ************************ // **************************** ************** ************************** // ****************************** ************* **************************** // ******************************** *********** ****************************** // ********************************** *********** ******************************** // ************************************ ******************************************* // ******************************************************************************** // ******************************************************************************** // ******************************************************************************** pragma solidity ^0.8.12; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./ERC721A.sol"; contract Dripperz is Ownable, ERC721A , ReentrancyGuard{ using Strings for uint; enum Step { Before, WhitelistSale, PublicSale , Reveal } address payable immutable public teamAddress; uint constant public MAX_MINT = 5; uint constant public MAX_WL_MINT = 3; uint constant public MAX_SUPPLY = 5555; uint constant public TOKEN_PRICE = 0.15 ether; uint constant public WL_PRICE = 0.12 ether; uint constant public MAX_RESERVE = 55; uint public locker = MAX_SUPPLY; uint public reserved = 1; bytes32 private merkleRoot; string private baseURI; Step public sellingStep; mapping(address => uint) public userWlMintNb; constructor(string memory _URI, address payable _teamAddress) ERC721A("Dripperz Cyber Club", "DCC") { baseURI = _URI; teamAddress = _teamAddress; _safeMint(msg.sender, 1); } function whitelistMint(uint _nb, bytes32[] calldata _proof) external payable nonReentrant { require(sellingStep == Step.WhitelistSale, "Whitelist sale is not activated"); require(_verify(_proof), "Not whitelisted"); require(totalSupply() + _nb <= locker , "Exceed available supply"); require(userWlMintNb[msg.sender] + _nb <= MAX_WL_MINT, "Exceeded max Whitelist Mint"); require(msg.value >= WL_PRICE * _nb, "Not enough funds"); userWlMintNb[msg.sender] += _nb; _safeMint(msg.sender, _nb); } function publicSaleMint(uint _nb) external payable nonReentrant { require(sellingStep == Step.PublicSale, "Public sale is not activated"); require(totalSupply() + _nb <= locker , "Exceed available supply"); require( _nb <= MAX_MINT , "Max mint per tx exceeded"); require(msg.value >= TOKEN_PRICE * _nb, "Not enough funds"); _safeMint(msg.sender, _nb); } function setLocker(uint16 _lock) external onlyOwner { require(_lock >= totalSupply(), "Cannot lock minted tokens"); locker = _lock; } function reserve(uint _nb) external onlyOwner nonReentrant { require(totalSupply() + _nb <= MAX_SUPPLY , "Max supply exceeded"); require(reserved + _nb <= MAX_RESERVE , "Exceed max reserve"); _safeMint(msg.sender, _nb); reserved += _nb; } function setBaseUri(string memory _URI) external onlyOwner { baseURI = _URI; } function setStep(uint _step) external onlyOwner { sellingStep = Step(_step); } function tokenURI(uint _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), "URI query for nonexistent token"); return string(abi.encodePacked(baseURI, _tokenId.toString(), ".json")); } function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner { merkleRoot = _merkleRoot; } function _verify(bytes32[] calldata _proof) internal view returns(bool) { return MerkleProof.verify(_proof, merkleRoot, keccak256(abi.encodePacked(msg.sender))); } function withdraw() external { uint balance = address(this).balance; (bool success, ) = teamAddress.call{value : balance}(""); require(success, "withdraw error"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { 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.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (finance/PaymentSplitter.sol) pragma solidity ^0.8.0; import "../token/ERC20/utils/SafeERC20.sol"; import "../utils/Address.sol"; import "../utils/Context.sol"; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. * * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you * to run tests before sending real value to this contract. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; mapping(IERC20 => uint256) private _erc20TotalReleased; mapping(IERC20 => mapping(address => uint256)) private _erc20Released; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20 * contract. */ function totalReleased(IERC20 token) public view returns (uint256) { return _erc20TotalReleased[token]; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an * IERC20 contract. */ function released(IERC20 token, address account) public view returns (uint256) { return _erc20Released[token][account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = address(this).balance + totalReleased(); uint256 payment = _pendingPayment(account, totalReceived, released(account)); require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] += payment; _totalReleased += payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20 * contract. */ function release(IERC20 token, address account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token); uint256 payment = _pendingPayment(account, totalReceived, released(token, account)); require(payment != 0, "PaymentSplitter: account is not due payment"); _erc20Released[token][account] += payment; _erc20TotalReleased[token] += payment; SafeERC20.safeTransfer(token, account, payment); emit ERC20PaymentReleased(token, account, payment); } /** * @dev internal logic for computing the pending payment of an `account` given the token historical balances and * already released amounts. */ function _pendingPayment( address account, uint256 totalReceived, uint256 alreadyReleased ) private view returns (uint256) { return (totalReceived * _shares[account]) / _totalShares - alreadyReleased; } /** * @dev Add a new payee to the contract. * @param account The address of the payee to add. * @param shares_ The number of shares owned by the payee. */ function _addPayee(address account, uint256 shares_) private { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error BurnedQueryForZeroAddress(); error AuxQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev See {IERC721Enumerable-totalSupply}. * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @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 override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { if (owner == address(0)) revert MintedQueryForZeroAddress(); return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { if (owner == address(0)) revert AuxQueryForZeroAddress(); return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { if (owner == address(0)) revert AuxQueryForZeroAddress(); _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @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) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_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 { _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 { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId].addr = to; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @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 { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[prevOwnership.addr].balance -= 1; _addressData[prevOwnership.addr].numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. _ownerships[tokenId].addr = prevOwnership.addr; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); _ownerships[tokenId].burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(prevOwnership.addr, address(0), tokenId); _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// 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 v4.4.1 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) 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 Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "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":"_URI","type":"string"},{"internalType":"address payable","name":"_teamAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_RESERVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WL_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"locker","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":[{"internalType":"uint256","name":"_nb","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nb","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserved","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":"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":[],"name":"sellingStep","outputs":[{"internalType":"enum Dripperz.Step","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_URI","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_lock","type":"uint16"}],"name":"setLocker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_step","type":"uint256"}],"name":"setStep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"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":"","type":"address"}],"name":"userWlMintNb","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nb","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040526115b3600a556001600b553480156200001c57600080fd5b50604051620050c6380380620050c6833981810160405281019062000042919062000ad9565b6040518060400160405280601381526020017f447269707065727a20437962657220436c7562000000000000000000000000008152506040518060400160405280600381526020017f4443430000000000000000000000000000000000000000000000000000000000815250620000ce620000c26200018860201b60201c565b6200019060201b60201c565b8160039080519060200190620000e692919062000827565b508060049080519060200190620000ff92919062000827565b50620001106200025460201b60201c565b6001819055505050600160098190555081600d90805190602001906200013892919062000827565b508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1681525050620001803360016200025960201b60201c565b505062000d24565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600090565b6200027b8282604051806020016040528060008152506200027f60201b60201c565b5050565b6200029483838360016200029960201b60201c565b505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141562000308576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084141562000344576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200035960008683876200069660201b60201c565b83600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015620005315750620005308773ffffffffffffffffffffffffffffffffffffffff166200069c60201b62001bd41760201c565b5b1562000604575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4620005af6000888480600101955088620006bf60201b60201c565b620005e6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082141562000538578260015414620005fe57600080fd5b62000671565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082141562000605575b8160018190555050506200068f60008683876200082160201b60201c565b5050505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02620006ed6200018860201b60201c565b8786866040518563ffffffff1660e01b815260040162000711949392919062000bdc565b6020604051808303816000875af19250505080156200075057506040513d601f19601f820116820180604052508101906200074d919062000c8d565b60015b620007ce573d806000811462000783576040519150601f19603f3d011682016040523d82523d6000602084013e62000788565b606091505b50600081511415620007c6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b50505050565b828054620008359062000cee565b90600052602060002090601f016020900481019282620008595760008555620008a5565b82601f106200087457805160ff1916838001178555620008a5565b82800160010185558215620008a5579182015b82811115620008a457825182559160200191906001019062000887565b5b509050620008b49190620008b8565b5090565b5b80821115620008d3576000816000905550600101620008b9565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200094082620008f5565b810181811067ffffffffffffffff8211171562000962576200096162000906565b5b80604052505050565b600062000977620008d7565b905062000985828262000935565b919050565b600067ffffffffffffffff821115620009a857620009a762000906565b5b620009b382620008f5565b9050602081019050919050565b60005b83811015620009e0578082015181840152602081019050620009c3565b83811115620009f0576000848401525b50505050565b600062000a0d62000a07846200098a565b6200096b565b90508281526020810184848401111562000a2c5762000a2b620008f0565b5b62000a39848285620009c0565b509392505050565b600082601f83011262000a595762000a58620008eb565b5b815162000a6b848260208601620009f6565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000aa18262000a74565b9050919050565b62000ab38162000a94565b811462000abf57600080fd5b50565b60008151905062000ad38162000aa8565b92915050565b6000806040838503121562000af35762000af2620008e1565b5b600083015167ffffffffffffffff81111562000b145762000b13620008e6565b5b62000b228582860162000a41565b925050602062000b358582860162000ac2565b9150509250929050565b600062000b4c8262000a74565b9050919050565b62000b5e8162000b3f565b82525050565b6000819050919050565b62000b798162000b64565b82525050565b600081519050919050565b600082825260208201905092915050565b600062000ba88262000b7f565b62000bb4818562000b8a565b935062000bc6818560208601620009c0565b62000bd181620008f5565b840191505092915050565b600060808201905062000bf3600083018762000b53565b62000c02602083018662000b53565b62000c11604083018562000b6e565b818103606083015262000c25818462000b9b565b905095945050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b62000c678162000c30565b811462000c7357600080fd5b50565b60008151905062000c878162000c5c565b92915050565b60006020828403121562000ca65762000ca5620008e1565b5b600062000cb68482850162000c76565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000d0757607f821691505b6020821081141562000d1e5762000d1d62000cbf565b5b50919050565b60805161437f62000d4760003960008181610b5b0152610ba8015261437f6000f3fe60806040526004361061020f5760003560e01c806395d89b4111610118578063d2cab056116100a0578063eff31e9e1161006f578063eff31e9e1461076f578063f0292a031461079a578063f2fde38b146107c5578063f8dcbddb146107ee578063fe60d12c146108175761020f565b8063d2cab056146106c0578063d2d8cb67146106dc578063d7b96d4e14610707578063e985e9c5146107325761020f565b8063b3ab66b0116100e7578063b3ab66b0146105ea578063b88d4fde14610606578063c87b56dd1461062f578063cbccefb21461066c578063cc8182c6146106975761020f565b806395d89b41146105305780639f14a6561461055b578063a0bcfc7f14610598578063a22cb465146105c15761020f565b806332cb6b0c1161019b57806370a082311161016a57806370a082311461045f578063715018a61461049c5780637cb64759146104b3578063819b25ba146104dc5780638da5cb5b146105055761020f565b806332cb6b0c146103b75780633ccfd60b146103e257806342842e0e146103f95780636352211e146104225761020f565b8063095ea7b3116101e2578063095ea7b3146102e457806318160ddd1461030d5780631c75f0851461033857806323b872dd1461036357806331c3c7a01461038c5761020f565b80630109c52e1461021457806301ffc9a71461023f57806306fdde031461027c578063081812fc146102a7575b600080fd5b34801561022057600080fd5b50610229610842565b6040516102369190612e8f565b60405180910390f35b34801561024b57600080fd5b5061026660048036038101906102619190612f16565b610847565b6040516102739190612f5e565b60405180910390f35b34801561028857600080fd5b50610291610929565b60405161029e9190613012565b60405180910390f35b3480156102b357600080fd5b506102ce60048036038101906102c99190613060565b6109bb565b6040516102db91906130ce565b60405180910390f35b3480156102f057600080fd5b5061030b60048036038101906103069190613115565b610a37565b005b34801561031957600080fd5b50610322610b42565b60405161032f9190612e8f565b60405180910390f35b34801561034457600080fd5b5061034d610b59565b60405161035a9190613176565b60405180910390f35b34801561036f57600080fd5b5061038a60048036038101906103859190613191565b610b7d565b005b34801561039857600080fd5b506103a1610b8d565b6040516103ae9190612e8f565b60405180910390f35b3480156103c357600080fd5b506103cc610b99565b6040516103d99190612e8f565b60405180910390f35b3480156103ee57600080fd5b506103f7610b9f565b005b34801561040557600080fd5b50610420600480360381019061041b9190613191565b610c74565b005b34801561042e57600080fd5b5061044960048036038101906104449190613060565b610c94565b60405161045691906130ce565b60405180910390f35b34801561046b57600080fd5b50610486600480360381019061048191906131e4565b610caa565b6040516104939190612e8f565b60405180910390f35b3480156104a857600080fd5b506104b1610d7a565b005b3480156104bf57600080fd5b506104da60048036038101906104d59190613247565b610e02565b005b3480156104e857600080fd5b5061050360048036038101906104fe9190613060565b610e88565b005b34801561051157600080fd5b5061051a611028565b60405161052791906130ce565b60405180910390f35b34801561053c57600080fd5b50610545611051565b6040516105529190613012565b60405180910390f35b34801561056757600080fd5b50610582600480360381019061057d91906131e4565b6110e3565b60405161058f9190612e8f565b60405180910390f35b3480156105a457600080fd5b506105bf60048036038101906105ba91906133a9565b6110fb565b005b3480156105cd57600080fd5b506105e860048036038101906105e3919061341e565b611191565b005b61060460048036038101906105ff9190613060565b611309565b005b34801561061257600080fd5b5061062d600480360381019061062891906134ff565b6114d3565b005b34801561063b57600080fd5b5061065660048036038101906106519190613060565b61154f565b6040516106639190613012565b60405180910390f35b34801561067857600080fd5b506106816115cb565b60405161068e91906135f9565b60405180910390f35b3480156106a357600080fd5b506106be60048036038101906106b9919061364e565b6115de565b005b6106da60048036038101906106d591906136db565b6116b6565b005b3480156106e857600080fd5b506106f161196b565b6040516106fe9190612e8f565b60405180910390f35b34801561071357600080fd5b5061071c611977565b6040516107299190612e8f565b60405180910390f35b34801561073e57600080fd5b506107596004803603810190610754919061373b565b61197d565b6040516107669190612f5e565b60405180910390f35b34801561077b57600080fd5b50610784611a11565b6040516107919190612e8f565b60405180910390f35b3480156107a657600080fd5b506107af611a16565b6040516107bc9190612e8f565b60405180910390f35b3480156107d157600080fd5b506107ec60048036038101906107e791906131e4565b611a1b565b005b3480156107fa57600080fd5b5061081560048036038101906108109190613060565b611b13565b005b34801561082357600080fd5b5061082c611bce565b6040516108399190612e8f565b60405180910390f35b600381565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061091257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610922575061092182611bf7565b5b9050919050565b606060038054610938906137aa565b80601f0160208091040260200160405190810160405280929190818152602001828054610964906137aa565b80156109b15780601f10610986576101008083540402835291602001916109b1565b820191906000526020600020905b81548152906001019060200180831161099457829003601f168201915b5050505050905090565b60006109c682611c61565b6109fc576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a4282610c94565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610aaa576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ac9611caf565b73ffffffffffffffffffffffffffffffffffffffff1614158015610afb5750610af981610af4611caf565b61197d565b155b15610b32576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b3d838383611cb7565b505050565b6000610b4c611d69565b6002546001540303905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b610b88838383611d6e565b505050565b6701aa535d3d0c000081565b6115b381565b600047905060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1682604051610bea9061380d565b60006040518083038185875af1925050503d8060008114610c27576040519150601f19603f3d011682016040523d82523d6000602084013e610c2c565b606091505b5050905080610c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c679061386e565b60405180910390fd5b5050565b610c8f838383604051806020016040528060008152506114d3565b505050565b6000610c9f8261225f565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d12576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610d82611caf565b73ffffffffffffffffffffffffffffffffffffffff16610da0611028565b73ffffffffffffffffffffffffffffffffffffffff1614610df6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ded906138da565b60405180910390fd5b610e0060006124ee565b565b610e0a611caf565b73ffffffffffffffffffffffffffffffffffffffff16610e28611028565b73ffffffffffffffffffffffffffffffffffffffff1614610e7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e75906138da565b60405180910390fd5b80600c8190555050565b610e90611caf565b73ffffffffffffffffffffffffffffffffffffffff16610eae611028565b73ffffffffffffffffffffffffffffffffffffffff1614610f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efb906138da565b60405180910390fd5b60026009541415610f4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4190613946565b60405180910390fd5b60026009819055506115b381610f5e610b42565b610f689190613995565b1115610fa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa090613a37565b60405180910390fd5b603781600b54610fb99190613995565b1115610ffa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff190613aa3565b60405180910390fd5b61100433826125b2565b80600b60008282546110169190613995565b92505081905550600160098190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054611060906137aa565b80601f016020809104026020016040519081016040528092919081815260200182805461108c906137aa565b80156110d95780601f106110ae576101008083540402835291602001916110d9565b820191906000526020600020905b8154815290600101906020018083116110bc57829003601f168201915b5050505050905090565b600f6020528060005260406000206000915090505481565b611103611caf565b73ffffffffffffffffffffffffffffffffffffffff16611121611028565b73ffffffffffffffffffffffffffffffffffffffff1614611177576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116e906138da565b60405180910390fd5b80600d908051906020019061118d929190612d90565b5050565b611199611caf565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111fe576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806008600061120b611caf565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166112b8611caf565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516112fd9190612f5e565b60405180910390a35050565b6002600954141561134f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134690613946565b60405180910390fd5b60026009819055506002600381111561136b5761136a613582565b5b600e60009054906101000a900460ff16600381111561138d5761138c613582565b5b146113cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c490613b0f565b60405180910390fd5b600a54816113d9610b42565b6113e39190613995565b1115611424576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141b90613b7b565b60405180910390fd5b6005811115611468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145f90613be7565b60405180910390fd5b80670214e8348c4f000061147c9190613c07565b3410156114be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b590613cad565b60405180910390fd5b6114c833826125b2565b600160098190555050565b6114de848484611d6e565b6114fd8373ffffffffffffffffffffffffffffffffffffffff16611bd4565b80156115125750611510848484846125d0565b155b15611549576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606061155a82611c61565b611599576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159090613d19565b60405180910390fd5b600d6115a483612721565b6040516020016115b5929190613e55565b6040516020818303038152906040529050919050565b600e60009054906101000a900460ff1681565b6115e6611caf565b73ffffffffffffffffffffffffffffffffffffffff16611604611028565b73ffffffffffffffffffffffffffffffffffffffff161461165a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611651906138da565b60405180910390fd5b611662610b42565b8161ffff1610156116a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169f90613ed0565b60405180910390fd5b8061ffff16600a8190555050565b600260095414156116fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f390613946565b60405180910390fd5b60026009819055506001600381111561171857611717613582565b5b600e60009054906101000a900460ff16600381111561173a57611739613582565b5b1461177a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177190613f3c565b60405180910390fd5b6117848282612882565b6117c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ba90613fa8565b60405180910390fd5b600a54836117cf610b42565b6117d99190613995565b111561181a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181190613b7b565b60405180910390fd5b600383600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118679190613995565b11156118a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189f90614014565b60405180910390fd5b826701aa535d3d0c00006118bc9190613c07565b3410156118fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f590613cad565b60405180910390fd5b82600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461194d9190613995565b9250508190555061195e33846125b2565b6001600981905550505050565b670214e8348c4f000081565b600a5481565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b603781565b600581565b611a23611caf565b73ffffffffffffffffffffffffffffffffffffffff16611a41611028565b73ffffffffffffffffffffffffffffffffffffffff1614611a97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8e906138da565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afe906140a6565b60405180910390fd5b611b10816124ee565b50565b611b1b611caf565b73ffffffffffffffffffffffffffffffffffffffff16611b39611028565b73ffffffffffffffffffffffffffffffffffffffff1614611b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b86906138da565b60405180910390fd5b806003811115611ba257611ba1613582565b5b600e60006101000a81548160ff02191690836003811115611bc657611bc5613582565b5b021790555050565b600b5481565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611c6c611d69565b11158015611c7b575060015482105b8015611ca8575060056000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000611d798261225f565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611da0611caf565b73ffffffffffffffffffffffffffffffffffffffff161480611dd35750611dd28260000151611dcd611caf565b61197d565b5b80611e185750611de1611caf565b73ffffffffffffffffffffffffffffffffffffffff16611e00846109bb565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611e51576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611eba576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611f21576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f2e8585856001612900565b611f3e6000848460000151611cb7565b6001600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836005600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166005600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156121ef576001548110156121ee5782600001516005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46122588585856001612906565b5050505050565b612267612e16565b600082905080612275611d69565b11158015612284575060015481105b156124b7576000600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516124b557600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146123995780925050506124e9565b5b6001156124b457818060019003925050600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146124af5780925050506124e9565b61239a565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6125cc82826040518060200160405280600081525061290c565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125f6611caf565b8786866040518563ffffffff1660e01b8152600401612618949392919061411b565b6020604051808303816000875af192505050801561265457506040513d601f19601f82011682018060405250810190612651919061417c565b60015b6126ce573d8060008114612684576040519150601f19603f3d011682016040523d82523d6000602084013e612689565b606091505b506000815114156126c6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612769576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061287d565b600082905060005b6000821461279b578080612784906141a9565b915050600a826127949190614221565b9150612771565b60008167ffffffffffffffff8111156127b7576127b661327e565b5b6040519080825280601f01601f1916602001820160405280156127e95781602001600182028036833780820191505090505b5090505b60008514612876576001826128029190614252565b9150600a856128119190614286565b603061281d9190613995565b60f81b818381518110612833576128326142b7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561286f9190614221565b94506127ed565b8093505050505b919050565b60006128f8838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c54336040516020016128dd919061432e565b6040516020818303038152906040528051906020012061291e565b905092915050565b50505050565b50505050565b6129198383836001612935565b505050565b60008261292b8584612d04565b1490509392505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156129a3576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156129de576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6129eb6000868387612900565b83600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015612bb55750612bb48773ffffffffffffffffffffffffffffffffffffffff16611bd4565b5b15612c7b575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c2a60008884806001019550886125d0565b612c60576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415612bbb578260015414612c7657600080fd5b612ce7565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612c7c575b816001819055505050612cfd6000868387612906565b5050505050565b60008082905060005b8451811015612d6e576000858281518110612d2b57612d2a6142b7565b5b60200260200101519050808311612d4d57612d468382612d79565b9250612d5a565b612d578184612d79565b92505b508080612d66906141a9565b915050612d0d565b508091505092915050565b600082600052816020526040600020905092915050565b828054612d9c906137aa565b90600052602060002090601f016020900481019282612dbe5760008555612e05565b82601f10612dd757805160ff1916838001178555612e05565b82800160010185558215612e05579182015b82811115612e04578251825591602001919060010190612de9565b5b509050612e129190612e59565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115612e72576000816000905550600101612e5a565b5090565b6000819050919050565b612e8981612e76565b82525050565b6000602082019050612ea46000830184612e80565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612ef381612ebe565b8114612efe57600080fd5b50565b600081359050612f1081612eea565b92915050565b600060208284031215612f2c57612f2b612eb4565b5b6000612f3a84828501612f01565b91505092915050565b60008115159050919050565b612f5881612f43565b82525050565b6000602082019050612f736000830184612f4f565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612fb3578082015181840152602081019050612f98565b83811115612fc2576000848401525b50505050565b6000601f19601f8301169050919050565b6000612fe482612f79565b612fee8185612f84565b9350612ffe818560208601612f95565b61300781612fc8565b840191505092915050565b6000602082019050818103600083015261302c8184612fd9565b905092915050565b61303d81612e76565b811461304857600080fd5b50565b60008135905061305a81613034565b92915050565b60006020828403121561307657613075612eb4565b5b60006130848482850161304b565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006130b88261308d565b9050919050565b6130c8816130ad565b82525050565b60006020820190506130e360008301846130bf565b92915050565b6130f2816130ad565b81146130fd57600080fd5b50565b60008135905061310f816130e9565b92915050565b6000806040838503121561312c5761312b612eb4565b5b600061313a85828601613100565b925050602061314b8582860161304b565b9150509250929050565b60006131608261308d565b9050919050565b61317081613155565b82525050565b600060208201905061318b6000830184613167565b92915050565b6000806000606084860312156131aa576131a9612eb4565b5b60006131b886828701613100565b93505060206131c986828701613100565b92505060406131da8682870161304b565b9150509250925092565b6000602082840312156131fa576131f9612eb4565b5b600061320884828501613100565b91505092915050565b6000819050919050565b61322481613211565b811461322f57600080fd5b50565b6000813590506132418161321b565b92915050565b60006020828403121561325d5761325c612eb4565b5b600061326b84828501613232565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6132b682612fc8565b810181811067ffffffffffffffff821117156132d5576132d461327e565b5b80604052505050565b60006132e8612eaa565b90506132f482826132ad565b919050565b600067ffffffffffffffff8211156133145761331361327e565b5b61331d82612fc8565b9050602081019050919050565b82818337600083830152505050565b600061334c613347846132f9565b6132de565b90508281526020810184848401111561336857613367613279565b5b61337384828561332a565b509392505050565b600082601f8301126133905761338f613274565b5b81356133a0848260208601613339565b91505092915050565b6000602082840312156133bf576133be612eb4565b5b600082013567ffffffffffffffff8111156133dd576133dc612eb9565b5b6133e98482850161337b565b91505092915050565b6133fb81612f43565b811461340657600080fd5b50565b600081359050613418816133f2565b92915050565b6000806040838503121561343557613434612eb4565b5b600061344385828601613100565b925050602061345485828601613409565b9150509250929050565b600067ffffffffffffffff8211156134795761347861327e565b5b61348282612fc8565b9050602081019050919050565b60006134a261349d8461345e565b6132de565b9050828152602081018484840111156134be576134bd613279565b5b6134c984828561332a565b509392505050565b600082601f8301126134e6576134e5613274565b5b81356134f684826020860161348f565b91505092915050565b6000806000806080858703121561351957613518612eb4565b5b600061352787828801613100565b945050602061353887828801613100565b93505060406135498782880161304b565b925050606085013567ffffffffffffffff81111561356a57613569612eb9565b5b613576878288016134d1565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600481106135c2576135c1613582565b5b50565b60008190506135d3826135b1565b919050565b60006135e3826135c5565b9050919050565b6135f3816135d8565b82525050565b600060208201905061360e60008301846135ea565b92915050565b600061ffff82169050919050565b61362b81613614565b811461363657600080fd5b50565b60008135905061364881613622565b92915050565b60006020828403121561366457613663612eb4565b5b600061367284828501613639565b91505092915050565b600080fd5b600080fd5b60008083601f84011261369b5761369a613274565b5b8235905067ffffffffffffffff8111156136b8576136b761367b565b5b6020830191508360208202830111156136d4576136d3613680565b5b9250929050565b6000806000604084860312156136f4576136f3612eb4565b5b60006137028682870161304b565b935050602084013567ffffffffffffffff81111561372357613722612eb9565b5b61372f86828701613685565b92509250509250925092565b6000806040838503121561375257613751612eb4565b5b600061376085828601613100565b925050602061377185828601613100565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806137c257607f821691505b602082108114156137d6576137d561377b565b5b50919050565b600081905092915050565b50565b60006137f76000836137dc565b9150613802826137e7565b600082019050919050565b6000613818826137ea565b9150819050919050565b7f7769746864726177206572726f72000000000000000000000000000000000000600082015250565b6000613858600e83612f84565b915061386382613822565b602082019050919050565b600060208201905081810360008301526138878161384b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006138c4602083612f84565b91506138cf8261388e565b602082019050919050565b600060208201905081810360008301526138f3816138b7565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613930601f83612f84565b915061393b826138fa565b602082019050919050565b6000602082019050818103600083015261395f81613923565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006139a082612e76565b91506139ab83612e76565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156139e0576139df613966565b5b828201905092915050565b7f4d617820737570706c7920657863656564656400000000000000000000000000600082015250565b6000613a21601383612f84565b9150613a2c826139eb565b602082019050919050565b60006020820190508181036000830152613a5081613a14565b9050919050565b7f457863656564206d617820726573657276650000000000000000000000000000600082015250565b6000613a8d601283612f84565b9150613a9882613a57565b602082019050919050565b60006020820190508181036000830152613abc81613a80565b9050919050565b7f5075626c69632073616c65206973206e6f742061637469766174656400000000600082015250565b6000613af9601c83612f84565b9150613b0482613ac3565b602082019050919050565b60006020820190508181036000830152613b2881613aec565b9050919050565b7f45786365656420617661696c61626c6520737570706c79000000000000000000600082015250565b6000613b65601783612f84565b9150613b7082613b2f565b602082019050919050565b60006020820190508181036000830152613b9481613b58565b9050919050565b7f4d6178206d696e74207065722074782065786365656465640000000000000000600082015250565b6000613bd1601883612f84565b9150613bdc82613b9b565b602082019050919050565b60006020820190508181036000830152613c0081613bc4565b9050919050565b6000613c1282612e76565b9150613c1d83612e76565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c5657613c55613966565b5b828202905092915050565b7f4e6f7420656e6f7567682066756e647300000000000000000000000000000000600082015250565b6000613c97601083612f84565b9150613ca282613c61565b602082019050919050565b60006020820190508181036000830152613cc681613c8a565b9050919050565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b6000613d03601f83612f84565b9150613d0e82613ccd565b602082019050919050565b60006020820190508181036000830152613d3281613cf6565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154613d66816137aa565b613d708186613d39565b94506001821660008114613d8b5760018114613d9c57613dcf565b60ff19831686528186019350613dcf565b613da585613d44565b60005b83811015613dc757815481890152600182019150602081019050613da8565b838801955050505b50505092915050565b6000613de382612f79565b613ded8185613d39565b9350613dfd818560208601612f95565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613e3f600583613d39565b9150613e4a82613e09565b600582019050919050565b6000613e618285613d59565b9150613e6d8284613dd8565b9150613e7882613e32565b91508190509392505050565b7f43616e6e6f74206c6f636b206d696e74656420746f6b656e7300000000000000600082015250565b6000613eba601983612f84565b9150613ec582613e84565b602082019050919050565b60006020820190508181036000830152613ee981613ead565b9050919050565b7f57686974656c6973742073616c65206973206e6f742061637469766174656400600082015250565b6000613f26601f83612f84565b9150613f3182613ef0565b602082019050919050565b60006020820190508181036000830152613f5581613f19565b9050919050565b7f4e6f742077686974656c69737465640000000000000000000000000000000000600082015250565b6000613f92600f83612f84565b9150613f9d82613f5c565b602082019050919050565b60006020820190508181036000830152613fc181613f85565b9050919050565b7f4578636565646564206d61782057686974656c697374204d696e740000000000600082015250565b6000613ffe601b83612f84565b915061400982613fc8565b602082019050919050565b6000602082019050818103600083015261402d81613ff1565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614090602683612f84565b915061409b82614034565b604082019050919050565b600060208201905081810360008301526140bf81614083565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006140ed826140c6565b6140f781856140d1565b9350614107818560208601612f95565b61411081612fc8565b840191505092915050565b600060808201905061413060008301876130bf565b61413d60208301866130bf565b61414a6040830185612e80565b818103606083015261415c81846140e2565b905095945050505050565b60008151905061417681612eea565b92915050565b60006020828403121561419257614191612eb4565b5b60006141a084828501614167565b91505092915050565b60006141b482612e76565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141e7576141e6613966565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061422c82612e76565b915061423783612e76565b925082614247576142466141f2565b5b828204905092915050565b600061425d82612e76565b915061426883612e76565b92508282101561427b5761427a613966565b5b828203905092915050565b600061429182612e76565b915061429c83612e76565b9250826142ac576142ab6141f2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008160601b9050919050565b60006142fe826142e6565b9050919050565b6000614310826142f3565b9050919050565b614328614323826130ad565b614305565b82525050565b600061433a8284614317565b6014820191508190509291505056fea26469706673582212200159a649e6513c5d8db0ce550aefcbc1d82cf4703c2905bcc642bf8999627b9564736f6c634300080c003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000008138417a2bb7652473a5ff4e48003a1aeea946c50000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d56667568666e575535756b594e5a45574e6b385746487337374d3754775a6752564b68386f436773585033532f00000000000000000000
Deployed Bytecode
0x60806040526004361061020f5760003560e01c806395d89b4111610118578063d2cab056116100a0578063eff31e9e1161006f578063eff31e9e1461076f578063f0292a031461079a578063f2fde38b146107c5578063f8dcbddb146107ee578063fe60d12c146108175761020f565b8063d2cab056146106c0578063d2d8cb67146106dc578063d7b96d4e14610707578063e985e9c5146107325761020f565b8063b3ab66b0116100e7578063b3ab66b0146105ea578063b88d4fde14610606578063c87b56dd1461062f578063cbccefb21461066c578063cc8182c6146106975761020f565b806395d89b41146105305780639f14a6561461055b578063a0bcfc7f14610598578063a22cb465146105c15761020f565b806332cb6b0c1161019b57806370a082311161016a57806370a082311461045f578063715018a61461049c5780637cb64759146104b3578063819b25ba146104dc5780638da5cb5b146105055761020f565b806332cb6b0c146103b75780633ccfd60b146103e257806342842e0e146103f95780636352211e146104225761020f565b8063095ea7b3116101e2578063095ea7b3146102e457806318160ddd1461030d5780631c75f0851461033857806323b872dd1461036357806331c3c7a01461038c5761020f565b80630109c52e1461021457806301ffc9a71461023f57806306fdde031461027c578063081812fc146102a7575b600080fd5b34801561022057600080fd5b50610229610842565b6040516102369190612e8f565b60405180910390f35b34801561024b57600080fd5b5061026660048036038101906102619190612f16565b610847565b6040516102739190612f5e565b60405180910390f35b34801561028857600080fd5b50610291610929565b60405161029e9190613012565b60405180910390f35b3480156102b357600080fd5b506102ce60048036038101906102c99190613060565b6109bb565b6040516102db91906130ce565b60405180910390f35b3480156102f057600080fd5b5061030b60048036038101906103069190613115565b610a37565b005b34801561031957600080fd5b50610322610b42565b60405161032f9190612e8f565b60405180910390f35b34801561034457600080fd5b5061034d610b59565b60405161035a9190613176565b60405180910390f35b34801561036f57600080fd5b5061038a60048036038101906103859190613191565b610b7d565b005b34801561039857600080fd5b506103a1610b8d565b6040516103ae9190612e8f565b60405180910390f35b3480156103c357600080fd5b506103cc610b99565b6040516103d99190612e8f565b60405180910390f35b3480156103ee57600080fd5b506103f7610b9f565b005b34801561040557600080fd5b50610420600480360381019061041b9190613191565b610c74565b005b34801561042e57600080fd5b5061044960048036038101906104449190613060565b610c94565b60405161045691906130ce565b60405180910390f35b34801561046b57600080fd5b50610486600480360381019061048191906131e4565b610caa565b6040516104939190612e8f565b60405180910390f35b3480156104a857600080fd5b506104b1610d7a565b005b3480156104bf57600080fd5b506104da60048036038101906104d59190613247565b610e02565b005b3480156104e857600080fd5b5061050360048036038101906104fe9190613060565b610e88565b005b34801561051157600080fd5b5061051a611028565b60405161052791906130ce565b60405180910390f35b34801561053c57600080fd5b50610545611051565b6040516105529190613012565b60405180910390f35b34801561056757600080fd5b50610582600480360381019061057d91906131e4565b6110e3565b60405161058f9190612e8f565b60405180910390f35b3480156105a457600080fd5b506105bf60048036038101906105ba91906133a9565b6110fb565b005b3480156105cd57600080fd5b506105e860048036038101906105e3919061341e565b611191565b005b61060460048036038101906105ff9190613060565b611309565b005b34801561061257600080fd5b5061062d600480360381019061062891906134ff565b6114d3565b005b34801561063b57600080fd5b5061065660048036038101906106519190613060565b61154f565b6040516106639190613012565b60405180910390f35b34801561067857600080fd5b506106816115cb565b60405161068e91906135f9565b60405180910390f35b3480156106a357600080fd5b506106be60048036038101906106b9919061364e565b6115de565b005b6106da60048036038101906106d591906136db565b6116b6565b005b3480156106e857600080fd5b506106f161196b565b6040516106fe9190612e8f565b60405180910390f35b34801561071357600080fd5b5061071c611977565b6040516107299190612e8f565b60405180910390f35b34801561073e57600080fd5b506107596004803603810190610754919061373b565b61197d565b6040516107669190612f5e565b60405180910390f35b34801561077b57600080fd5b50610784611a11565b6040516107919190612e8f565b60405180910390f35b3480156107a657600080fd5b506107af611a16565b6040516107bc9190612e8f565b60405180910390f35b3480156107d157600080fd5b506107ec60048036038101906107e791906131e4565b611a1b565b005b3480156107fa57600080fd5b5061081560048036038101906108109190613060565b611b13565b005b34801561082357600080fd5b5061082c611bce565b6040516108399190612e8f565b60405180910390f35b600381565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061091257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610922575061092182611bf7565b5b9050919050565b606060038054610938906137aa565b80601f0160208091040260200160405190810160405280929190818152602001828054610964906137aa565b80156109b15780601f10610986576101008083540402835291602001916109b1565b820191906000526020600020905b81548152906001019060200180831161099457829003601f168201915b5050505050905090565b60006109c682611c61565b6109fc576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a4282610c94565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610aaa576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ac9611caf565b73ffffffffffffffffffffffffffffffffffffffff1614158015610afb5750610af981610af4611caf565b61197d565b155b15610b32576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b3d838383611cb7565b505050565b6000610b4c611d69565b6002546001540303905090565b7f0000000000000000000000008138417a2bb7652473a5ff4e48003a1aeea946c581565b610b88838383611d6e565b505050565b6701aa535d3d0c000081565b6115b381565b600047905060007f0000000000000000000000008138417a2bb7652473a5ff4e48003a1aeea946c573ffffffffffffffffffffffffffffffffffffffff1682604051610bea9061380d565b60006040518083038185875af1925050503d8060008114610c27576040519150601f19603f3d011682016040523d82523d6000602084013e610c2c565b606091505b5050905080610c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c679061386e565b60405180910390fd5b5050565b610c8f838383604051806020016040528060008152506114d3565b505050565b6000610c9f8261225f565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d12576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b610d82611caf565b73ffffffffffffffffffffffffffffffffffffffff16610da0611028565b73ffffffffffffffffffffffffffffffffffffffff1614610df6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ded906138da565b60405180910390fd5b610e0060006124ee565b565b610e0a611caf565b73ffffffffffffffffffffffffffffffffffffffff16610e28611028565b73ffffffffffffffffffffffffffffffffffffffff1614610e7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e75906138da565b60405180910390fd5b80600c8190555050565b610e90611caf565b73ffffffffffffffffffffffffffffffffffffffff16610eae611028565b73ffffffffffffffffffffffffffffffffffffffff1614610f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efb906138da565b60405180910390fd5b60026009541415610f4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4190613946565b60405180910390fd5b60026009819055506115b381610f5e610b42565b610f689190613995565b1115610fa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa090613a37565b60405180910390fd5b603781600b54610fb99190613995565b1115610ffa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff190613aa3565b60405180910390fd5b61100433826125b2565b80600b60008282546110169190613995565b92505081905550600160098190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054611060906137aa565b80601f016020809104026020016040519081016040528092919081815260200182805461108c906137aa565b80156110d95780601f106110ae576101008083540402835291602001916110d9565b820191906000526020600020905b8154815290600101906020018083116110bc57829003601f168201915b5050505050905090565b600f6020528060005260406000206000915090505481565b611103611caf565b73ffffffffffffffffffffffffffffffffffffffff16611121611028565b73ffffffffffffffffffffffffffffffffffffffff1614611177576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116e906138da565b60405180910390fd5b80600d908051906020019061118d929190612d90565b5050565b611199611caf565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111fe576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806008600061120b611caf565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166112b8611caf565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516112fd9190612f5e565b60405180910390a35050565b6002600954141561134f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134690613946565b60405180910390fd5b60026009819055506002600381111561136b5761136a613582565b5b600e60009054906101000a900460ff16600381111561138d5761138c613582565b5b146113cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c490613b0f565b60405180910390fd5b600a54816113d9610b42565b6113e39190613995565b1115611424576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141b90613b7b565b60405180910390fd5b6005811115611468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145f90613be7565b60405180910390fd5b80670214e8348c4f000061147c9190613c07565b3410156114be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b590613cad565b60405180910390fd5b6114c833826125b2565b600160098190555050565b6114de848484611d6e565b6114fd8373ffffffffffffffffffffffffffffffffffffffff16611bd4565b80156115125750611510848484846125d0565b155b15611549576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606061155a82611c61565b611599576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159090613d19565b60405180910390fd5b600d6115a483612721565b6040516020016115b5929190613e55565b6040516020818303038152906040529050919050565b600e60009054906101000a900460ff1681565b6115e6611caf565b73ffffffffffffffffffffffffffffffffffffffff16611604611028565b73ffffffffffffffffffffffffffffffffffffffff161461165a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611651906138da565b60405180910390fd5b611662610b42565b8161ffff1610156116a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169f90613ed0565b60405180910390fd5b8061ffff16600a8190555050565b600260095414156116fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f390613946565b60405180910390fd5b60026009819055506001600381111561171857611717613582565b5b600e60009054906101000a900460ff16600381111561173a57611739613582565b5b1461177a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177190613f3c565b60405180910390fd5b6117848282612882565b6117c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ba90613fa8565b60405180910390fd5b600a54836117cf610b42565b6117d99190613995565b111561181a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181190613b7b565b60405180910390fd5b600383600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118679190613995565b11156118a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189f90614014565b60405180910390fd5b826701aa535d3d0c00006118bc9190613c07565b3410156118fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f590613cad565b60405180910390fd5b82600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461194d9190613995565b9250508190555061195e33846125b2565b6001600981905550505050565b670214e8348c4f000081565b600a5481565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b603781565b600581565b611a23611caf565b73ffffffffffffffffffffffffffffffffffffffff16611a41611028565b73ffffffffffffffffffffffffffffffffffffffff1614611a97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8e906138da565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afe906140a6565b60405180910390fd5b611b10816124ee565b50565b611b1b611caf565b73ffffffffffffffffffffffffffffffffffffffff16611b39611028565b73ffffffffffffffffffffffffffffffffffffffff1614611b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b86906138da565b60405180910390fd5b806003811115611ba257611ba1613582565b5b600e60006101000a81548160ff02191690836003811115611bc657611bc5613582565b5b021790555050565b600b5481565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611c6c611d69565b11158015611c7b575060015482105b8015611ca8575060056000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b6000611d798261225f565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611da0611caf565b73ffffffffffffffffffffffffffffffffffffffff161480611dd35750611dd28260000151611dcd611caf565b61197d565b5b80611e185750611de1611caf565b73ffffffffffffffffffffffffffffffffffffffff16611e00846109bb565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611e51576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611eba576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611f21576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611f2e8585856001612900565b611f3e6000848460000151611cb7565b6001600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836005600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166005600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156121ef576001548110156121ee5782600001516005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46122588585856001612906565b5050505050565b612267612e16565b600082905080612275611d69565b11158015612284575060015481105b156124b7576000600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516124b557600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146123995780925050506124e9565b5b6001156124b457818060019003925050600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146124af5780925050506124e9565b61239a565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6125cc82826040518060200160405280600081525061290c565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125f6611caf565b8786866040518563ffffffff1660e01b8152600401612618949392919061411b565b6020604051808303816000875af192505050801561265457506040513d601f19601f82011682018060405250810190612651919061417c565b60015b6126ce573d8060008114612684576040519150601f19603f3d011682016040523d82523d6000602084013e612689565b606091505b506000815114156126c6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612769576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061287d565b600082905060005b6000821461279b578080612784906141a9565b915050600a826127949190614221565b9150612771565b60008167ffffffffffffffff8111156127b7576127b661327e565b5b6040519080825280601f01601f1916602001820160405280156127e95781602001600182028036833780820191505090505b5090505b60008514612876576001826128029190614252565b9150600a856128119190614286565b603061281d9190613995565b60f81b818381518110612833576128326142b7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561286f9190614221565b94506127ed565b8093505050505b919050565b60006128f8838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c54336040516020016128dd919061432e565b6040516020818303038152906040528051906020012061291e565b905092915050565b50505050565b50505050565b6129198383836001612935565b505050565b60008261292b8584612d04565b1490509392505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156129a3576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156129de576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6129eb6000868387612900565b83600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015612bb55750612bb48773ffffffffffffffffffffffffffffffffffffffff16611bd4565b5b15612c7b575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c2a60008884806001019550886125d0565b612c60576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415612bbb578260015414612c7657600080fd5b612ce7565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612c7c575b816001819055505050612cfd6000868387612906565b5050505050565b60008082905060005b8451811015612d6e576000858281518110612d2b57612d2a6142b7565b5b60200260200101519050808311612d4d57612d468382612d79565b9250612d5a565b612d578184612d79565b92505b508080612d66906141a9565b915050612d0d565b508091505092915050565b600082600052816020526040600020905092915050565b828054612d9c906137aa565b90600052602060002090601f016020900481019282612dbe5760008555612e05565b82601f10612dd757805160ff1916838001178555612e05565b82800160010185558215612e05579182015b82811115612e04578251825591602001919060010190612de9565b5b509050612e129190612e59565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115612e72576000816000905550600101612e5a565b5090565b6000819050919050565b612e8981612e76565b82525050565b6000602082019050612ea46000830184612e80565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612ef381612ebe565b8114612efe57600080fd5b50565b600081359050612f1081612eea565b92915050565b600060208284031215612f2c57612f2b612eb4565b5b6000612f3a84828501612f01565b91505092915050565b60008115159050919050565b612f5881612f43565b82525050565b6000602082019050612f736000830184612f4f565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612fb3578082015181840152602081019050612f98565b83811115612fc2576000848401525b50505050565b6000601f19601f8301169050919050565b6000612fe482612f79565b612fee8185612f84565b9350612ffe818560208601612f95565b61300781612fc8565b840191505092915050565b6000602082019050818103600083015261302c8184612fd9565b905092915050565b61303d81612e76565b811461304857600080fd5b50565b60008135905061305a81613034565b92915050565b60006020828403121561307657613075612eb4565b5b60006130848482850161304b565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006130b88261308d565b9050919050565b6130c8816130ad565b82525050565b60006020820190506130e360008301846130bf565b92915050565b6130f2816130ad565b81146130fd57600080fd5b50565b60008135905061310f816130e9565b92915050565b6000806040838503121561312c5761312b612eb4565b5b600061313a85828601613100565b925050602061314b8582860161304b565b9150509250929050565b60006131608261308d565b9050919050565b61317081613155565b82525050565b600060208201905061318b6000830184613167565b92915050565b6000806000606084860312156131aa576131a9612eb4565b5b60006131b886828701613100565b93505060206131c986828701613100565b92505060406131da8682870161304b565b9150509250925092565b6000602082840312156131fa576131f9612eb4565b5b600061320884828501613100565b91505092915050565b6000819050919050565b61322481613211565b811461322f57600080fd5b50565b6000813590506132418161321b565b92915050565b60006020828403121561325d5761325c612eb4565b5b600061326b84828501613232565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6132b682612fc8565b810181811067ffffffffffffffff821117156132d5576132d461327e565b5b80604052505050565b60006132e8612eaa565b90506132f482826132ad565b919050565b600067ffffffffffffffff8211156133145761331361327e565b5b61331d82612fc8565b9050602081019050919050565b82818337600083830152505050565b600061334c613347846132f9565b6132de565b90508281526020810184848401111561336857613367613279565b5b61337384828561332a565b509392505050565b600082601f8301126133905761338f613274565b5b81356133a0848260208601613339565b91505092915050565b6000602082840312156133bf576133be612eb4565b5b600082013567ffffffffffffffff8111156133dd576133dc612eb9565b5b6133e98482850161337b565b91505092915050565b6133fb81612f43565b811461340657600080fd5b50565b600081359050613418816133f2565b92915050565b6000806040838503121561343557613434612eb4565b5b600061344385828601613100565b925050602061345485828601613409565b9150509250929050565b600067ffffffffffffffff8211156134795761347861327e565b5b61348282612fc8565b9050602081019050919050565b60006134a261349d8461345e565b6132de565b9050828152602081018484840111156134be576134bd613279565b5b6134c984828561332a565b509392505050565b600082601f8301126134e6576134e5613274565b5b81356134f684826020860161348f565b91505092915050565b6000806000806080858703121561351957613518612eb4565b5b600061352787828801613100565b945050602061353887828801613100565b93505060406135498782880161304b565b925050606085013567ffffffffffffffff81111561356a57613569612eb9565b5b613576878288016134d1565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600481106135c2576135c1613582565b5b50565b60008190506135d3826135b1565b919050565b60006135e3826135c5565b9050919050565b6135f3816135d8565b82525050565b600060208201905061360e60008301846135ea565b92915050565b600061ffff82169050919050565b61362b81613614565b811461363657600080fd5b50565b60008135905061364881613622565b92915050565b60006020828403121561366457613663612eb4565b5b600061367284828501613639565b91505092915050565b600080fd5b600080fd5b60008083601f84011261369b5761369a613274565b5b8235905067ffffffffffffffff8111156136b8576136b761367b565b5b6020830191508360208202830111156136d4576136d3613680565b5b9250929050565b6000806000604084860312156136f4576136f3612eb4565b5b60006137028682870161304b565b935050602084013567ffffffffffffffff81111561372357613722612eb9565b5b61372f86828701613685565b92509250509250925092565b6000806040838503121561375257613751612eb4565b5b600061376085828601613100565b925050602061377185828601613100565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806137c257607f821691505b602082108114156137d6576137d561377b565b5b50919050565b600081905092915050565b50565b60006137f76000836137dc565b9150613802826137e7565b600082019050919050565b6000613818826137ea565b9150819050919050565b7f7769746864726177206572726f72000000000000000000000000000000000000600082015250565b6000613858600e83612f84565b915061386382613822565b602082019050919050565b600060208201905081810360008301526138878161384b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006138c4602083612f84565b91506138cf8261388e565b602082019050919050565b600060208201905081810360008301526138f3816138b7565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613930601f83612f84565b915061393b826138fa565b602082019050919050565b6000602082019050818103600083015261395f81613923565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006139a082612e76565b91506139ab83612e76565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156139e0576139df613966565b5b828201905092915050565b7f4d617820737570706c7920657863656564656400000000000000000000000000600082015250565b6000613a21601383612f84565b9150613a2c826139eb565b602082019050919050565b60006020820190508181036000830152613a5081613a14565b9050919050565b7f457863656564206d617820726573657276650000000000000000000000000000600082015250565b6000613a8d601283612f84565b9150613a9882613a57565b602082019050919050565b60006020820190508181036000830152613abc81613a80565b9050919050565b7f5075626c69632073616c65206973206e6f742061637469766174656400000000600082015250565b6000613af9601c83612f84565b9150613b0482613ac3565b602082019050919050565b60006020820190508181036000830152613b2881613aec565b9050919050565b7f45786365656420617661696c61626c6520737570706c79000000000000000000600082015250565b6000613b65601783612f84565b9150613b7082613b2f565b602082019050919050565b60006020820190508181036000830152613b9481613b58565b9050919050565b7f4d6178206d696e74207065722074782065786365656465640000000000000000600082015250565b6000613bd1601883612f84565b9150613bdc82613b9b565b602082019050919050565b60006020820190508181036000830152613c0081613bc4565b9050919050565b6000613c1282612e76565b9150613c1d83612e76565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c5657613c55613966565b5b828202905092915050565b7f4e6f7420656e6f7567682066756e647300000000000000000000000000000000600082015250565b6000613c97601083612f84565b9150613ca282613c61565b602082019050919050565b60006020820190508181036000830152613cc681613c8a565b9050919050565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b6000613d03601f83612f84565b9150613d0e82613ccd565b602082019050919050565b60006020820190508181036000830152613d3281613cf6565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154613d66816137aa565b613d708186613d39565b94506001821660008114613d8b5760018114613d9c57613dcf565b60ff19831686528186019350613dcf565b613da585613d44565b60005b83811015613dc757815481890152600182019150602081019050613da8565b838801955050505b50505092915050565b6000613de382612f79565b613ded8185613d39565b9350613dfd818560208601612f95565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613e3f600583613d39565b9150613e4a82613e09565b600582019050919050565b6000613e618285613d59565b9150613e6d8284613dd8565b9150613e7882613e32565b91508190509392505050565b7f43616e6e6f74206c6f636b206d696e74656420746f6b656e7300000000000000600082015250565b6000613eba601983612f84565b9150613ec582613e84565b602082019050919050565b60006020820190508181036000830152613ee981613ead565b9050919050565b7f57686974656c6973742073616c65206973206e6f742061637469766174656400600082015250565b6000613f26601f83612f84565b9150613f3182613ef0565b602082019050919050565b60006020820190508181036000830152613f5581613f19565b9050919050565b7f4e6f742077686974656c69737465640000000000000000000000000000000000600082015250565b6000613f92600f83612f84565b9150613f9d82613f5c565b602082019050919050565b60006020820190508181036000830152613fc181613f85565b9050919050565b7f4578636565646564206d61782057686974656c697374204d696e740000000000600082015250565b6000613ffe601b83612f84565b915061400982613fc8565b602082019050919050565b6000602082019050818103600083015261402d81613ff1565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614090602683612f84565b915061409b82614034565b604082019050919050565b600060208201905081810360008301526140bf81614083565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006140ed826140c6565b6140f781856140d1565b9350614107818560208601612f95565b61411081612fc8565b840191505092915050565b600060808201905061413060008301876130bf565b61413d60208301866130bf565b61414a6040830185612e80565b818103606083015261415c81846140e2565b905095945050505050565b60008151905061417681612eea565b92915050565b60006020828403121561419257614191612eb4565b5b60006141a084828501614167565b91505092915050565b60006141b482612e76565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141e7576141e6613966565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061422c82612e76565b915061423783612e76565b925082614247576142466141f2565b5b828204905092915050565b600061425d82612e76565b915061426883612e76565b92508282101561427b5761427a613966565b5b828203905092915050565b600061429182612e76565b915061429c83612e76565b9250826142ac576142ab6141f2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008160601b9050919050565b60006142fe826142e6565b9050919050565b6000614310826142f3565b9050919050565b614328614323826130ad565b614305565b82525050565b600061433a8284614317565b6014820191508190509291505056fea26469706673582212200159a649e6513c5d8db0ce550aefcbc1d82cf4703c2905bcc642bf8999627b9564736f6c634300080c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000008138417a2bb7652473a5ff4e48003a1aeea946c50000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d56667568666e575535756b594e5a45574e6b385746487337374d3754775a6752564b68386f436773585033532f00000000000000000000
-----Decoded View---------------
Arg [0] : _URI (string): ipfs://QmVfuhfnWU5ukYNZEWNk8WFHs77M7TwZgRVKh8oCgsXP3S/
Arg [1] : _teamAddress (address): 0x8138417a2bb7652473A5FF4e48003a1AEeA946C5
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000008138417a2bb7652473a5ff4e48003a1aeea946c5
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [3] : 697066733a2f2f516d56667568666e575535756b594e5a45574e6b3857464873
Arg [4] : 37374d3754775a6752564b68386f436773585033532f00000000000000000000
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.