ERC-721
Overview
Max Total Supply
119 LLV
Holders
70
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 LLVLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
LoresLittleVillains
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; /**************************************** * @author: hammm.eth * * @team: GoldenX * ****************************************/ import "./ERC721Batch.sol"; import "./Delegated.sol"; import "./PaymentSplitterMod.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; contract LoresLittleVillains is ERC721Batch, Delegated, PaymentSplitterMod { using Strings for uint256; using ECDSA for bytes32; address private _signer; uint256 public _maxSupply = 777; uint256 public _price = 0.07 ether; uint256 public _maxMint = 3; uint256 public _maxAirdrop = 111; uint256 public _airdropped = 0; mapping (address => uint256) public _presaleCount; enum SaleState { paused, preSale, publicSale } SaleState public saleState = SaleState.paused; string private _URIbase = "https://llv-metadata.s3.amazonaws.com/metadata/"; string private _URIsuffix = ".json"; constructor() ERC721B("LoresLittleVillains", "LLV", 0) { _addPayee(0xed386149321FBd84f0c4e27a1701Ad05eCA32f8A, 10); _addPayee(0x8b19ea4890F8ebe4C2860116A90b3B46D83b3828, 90); } fallback() external payable {} function verify( uint256 quantity, bytes calldata signature ) private view returns ( bool ) { address signerCheck = getSigner( msg.sender, quantity.toString(), signature ); if (signerCheck == _signer) { return true; } return false; } function getSigner( address toAccount, string memory quantity, bytes memory signature ) private view returns ( address ) { bytes32 hash = createHash( toAccount, quantity ); return hash.toEthSignedMessageHash().recover( signature ); } function createHash( address toAccount, string memory quantity ) private view returns ( bytes32 ) { return keccak256( abi.encodePacked( address(this), toAccount, quantity ) ); } function setSigner( address signer ) external onlyOwner{ _signer = signer; } function mint( uint256 quantity, bytes calldata signature ) external payable { require( saleState != SaleState.paused, "Mint: Sale is currently paused." ); uint256 supply = totalSupply(); require( msg.value >= _price * quantity, "Mint: ETH Sent Is Incorrect." ); require( quantity + supply <= _maxSupply, "Mint: Total supply exceeded" ); require( quantity + (supply - _airdropped) <= (_maxSupply - _maxAirdrop), "Mint: Purchased supply exceeded" ); require( quantity <= _maxMint, "Mint: Invalid quantity" ); if (saleState == SaleState.preSale) { require( verify(quantity, signature), "Mint: Invalid Address." ); require( _presaleCount[msg.sender] + quantity <= 3, "Mint: Exceeding presale allowance." ); _presaleCount[msg.sender] += quantity; } for (uint256 i; i < quantity; ++i) { mint1(msg.sender); } } function mintTo ( uint256[] calldata quantity, address[] calldata recipient ) external payable onlyDelegates { require( quantity.length == recipient.length, "mintTo: Must provide equal quantities and recipients" ); uint256 supply = totalSupply(); uint256 sum = 0; for(uint q; q < quantity.length; ++q){ sum += quantity[q]; } require( sum + supply <= _maxSupply, "mintTo: Total supply exceeded" ); require( sum + _airdropped <= _maxAirdrop, "mintTo: Airdrop supply exceeded" ); for(uint r; r < recipient.length; ++r){ for(uint q; q < quantity[r]; ++q){ mint1( recipient[r] ); } } _airdropped += sum; } function setConfig(uint256 newMaxSupply, uint256 newPrice, uint256 newMaxMint, uint256 newMaxAirdrop) external onlyDelegates { if (_maxSupply != newMaxSupply) { require(totalSupply() < newMaxSupply, "setConfig: Max supply must be greater than current supply."); _maxSupply = newMaxSupply; } if (_price != newPrice) { _price = newPrice; } if (_maxMint != newMaxMint) { require( newMaxMint >= 0, "setConfig: Invalid newMaxMint" ); _maxMint = newMaxMint; } if (_maxAirdrop != newMaxAirdrop) { _maxAirdrop = newMaxAirdrop; } } function setBaseURI ( string memory newURIbase, string memory newURIsuffix ) external onlyDelegates { _URIbase = newURIbase; _URIsuffix = newURIsuffix; } function tokenURI( uint256 tokenId ) public view virtual override returns ( string memory ) { require(_exists(tokenId), "URI query for nonexistent token"); return string(abi.encodePacked(_URIbase, tokenId.toString(), _URIsuffix)); } function setSaleState (SaleState newSaleState) external onlyDelegates { require( saleState != newSaleState, "setSaleState: Cannot be current sale state" ); saleState = newSaleState; } function mint1( address to ) internal { uint tokenId = _next(); tokens.push(Token(to)); _safeMint( to, tokenId, "" ); } function _mint(address to, uint tokenId) internal override { emit Transfer(address(0), to, tokenId); } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /**************************************** * @author: squeebo_nft * **************************************** * Blimpie-FF721 provides low-gas * * mints + transfers * ****************************************/ import "./IERC721Batch.sol"; import "./ERC721EnumerableB.sol"; abstract contract ERC721Batch is ERC721EnumerableB, IERC721Batch { function isOwnerOf( address account, uint[] calldata tokenIds ) external view override returns( bool ){ for(uint i; i < tokenIds.length; ++i ){ if( account != tokens[ tokenIds[i] ].owner ) return false; } return true; } function transferBatch( address from, address to, uint[] calldata tokenIds, bytes calldata data ) external override{ for(uint i; i < tokenIds.length; ++i ){ safeTransferFrom( from, to, tokenIds[i], data ); } } function walletOfOwner( address account ) external view override returns( uint[] memory wallet ){ uint count; uint quantity = balanceOf( account ); wallet = new uint[]( quantity ); for( uint i; i < tokens.length; ++i ){ if( account == tokens[i].owner ){ wallet[ count++ ] = i; if( count == quantity ) break; } } return wallet; } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /*********************** * @author: squeebo_nft * ************************/ import "@openzeppelin/contracts/access/Ownable.sol"; contract Delegated is Ownable{ mapping(address => bool) internal _delegates; constructor(){ _delegates[owner()] = true; } modifier onlyDelegates { require(_delegates[msg.sender], "Invalid delegate" ); _; } //onlyOwner function isDelegate( address addr ) external view onlyOwner returns ( bool ){ return _delegates[addr]; } function setDelegate( address addr, bool isDelegate_ ) external onlyOwner{ _delegates[addr] = isDelegate_; } function transferOwnership(address newOwner) public virtual override onlyOwner { _delegates[newOwner] = true; super.transferOwnership( newOwner ); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/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. */ contract PaymentSplitterMod is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(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[] internal _payees; /** * @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() payable {} /** * @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 { 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 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 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 = (totalReceived * _shares[account]) / _totalShares - _released[account]; require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] = _released[account] + payment; _totalReleased = _totalReleased + payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } function _addPayee(address account, uint256 shares_) internal { 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_); } function _resetCounters() internal { _totalReleased = 0; for(uint i; i < _payees.length; ++i ){ _released[ _payees[i] ] = 0; } } function _setPayee( uint index, address account, uint newShares ) internal { _totalShares = _totalShares - _shares[ account ] + newShares; _shares[ account ] = newShares; _payees[ index ] = account; } }
// 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 (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; interface IERC721Batch { function isOwnerOf( address account, uint[] calldata tokenIds ) external view returns( bool ); function transferBatch( address from, address to, uint[] calldata tokenIds, bytes calldata data ) external; function walletOfOwner( address account ) external view returns( uint[] memory ); }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /**************************************** * @author: squeebo_nft * **************************************** * Blimpie-ERC721 provides low-gas * * mints + transfers * ****************************************/ import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "./ERC721B.sol"; abstract contract ERC721EnumerableB is ERC721B, IERC721Enumerable { function supportsInterface( bytes4 interfaceId ) public view virtual override(IERC165, ERC721B) returns( bool isSupported ){ return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } function tokenOfOwnerByIndex( address owner, uint index ) external view override returns( uint tokenId ){ uint count; for( uint i; i < tokens.length; ++i ){ if( owner == tokens[i].owner ){ if( count == index ) return i; else ++count; } } revert("ERC721EnumerableB: owner index out of bounds"); } function tokenByIndex( uint index ) external view override returns( uint tokenId ){ require( index < totalSupply(), "ERC721EnumerableB: query for nonexistent token"); return index + _offset; } function totalSupply() public view override( ERC721B, IERC721Enumerable ) returns( uint ){ return ERC721B.totalSupply(); } }
// 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: BSD-3-Clause pragma solidity ^0.8.0; /**************************************** * Blimpie-FF721 provides low-gas * * mints + transfers * ****************************************/ 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/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; abstract contract ERC721B is Context, ERC165, IERC721, IERC721Metadata { using Address for address; struct Token{ address owner; } Token[] public tokens; uint internal _burned; uint internal _offset; string private _name; string private _symbol; mapping(uint => address) internal _tokenApprovals; mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_, uint offset_ ){ _name = name_; _symbol = symbol_; _offset = offset_; for(uint i; i < _offset; ++i ){ tokens.push(); } } function balanceOf( address owner )public view override returns( uint ){ require( owner != address(0), "Query for null address" ); uint balance = 0; for( uint i; i < tokens.length; ++i ){ if( owner == tokens[i].owner ){ ++balance; } } return balance; } function name() external view override returns( string memory name_ ){ return _name; } function ownerOf(uint tokenId) public view override returns( address owner ){ require(_exists(tokenId), "ERC721B: query for nonexistent token"); return tokens[tokenId].owner; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns( bool isSupported ){ return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } function symbol() external view override returns( string memory symbol_ ){ return _symbol; } function totalSupply() public view virtual returns (uint) { return tokens.length - (_burned + _offset); } //approvals function approve(address to, uint tokenId) external override { address owner = ownerOf(tokenId); require(to != owner, "ERC721B: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721B: caller is not owner nor approved for all" ); _approve(to, tokenId); } function getApproved(uint tokenId) public view override returns( address approver ){ require(_exists(tokenId), "ERC721: query for nonexistent token"); return _tokenApprovals[tokenId]; } function isApprovedForAll(address owner, address operator) public view override returns( bool isApproved ){ return _operatorApprovals[owner][operator]; } function setApprovalForAll(address operator, bool approved) external override { _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } //transfers function safeTransferFrom(address from, address to, uint tokenId) external override{ safeTransferFrom(from, to, tokenId, ""); } function safeTransferFrom(address from, address to, uint tokenId, bytes memory _data) public override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721B: caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } function transferFrom(address from, address to, uint tokenId) external override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721B: caller is not owner nor approved"); _transfer(from, to, tokenId); } //internal function _approve(address to, uint tokenId) internal{ _tokenApprovals[tokenId] = to; emit Approval(ownerOf(tokenId), to, tokenId); } function _burn(uint tokenId) internal { address owner = ownerOf(tokenId); // Clear approvals _approve(address(0), tokenId); tokens[tokenId].owner = address(0); emit Transfer(owner, address(0), tokenId); } function _checkOnERC721Received(address from, address to, uint tokenId, bytes memory _data) private returns( bool ){ if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721B: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } function _exists(uint tokenId) internal view returns( bool ){ return tokenId < tokens.length && tokens[tokenId].owner != address(0); } function _isApprovedOrOwner(address spender, uint tokenId) internal view returns( bool isApproved ){ require(_exists(tokenId), "ERC721B: query for nonexistent token"); address owner = ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } function _mint(address to, uint tokenId) internal virtual; function _next() internal view virtual returns(uint){ return tokens.length + _offset; } function _safeMint(address to, uint tokenId) internal { _safeMint(to, tokenId, ""); } function _safeMint(address to, uint tokenId, bytes memory _data) internal { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721B: transfer to non ERC721Receiver implementer" ); } function _safeTransfer(address from, address to, uint tokenId, bytes memory _data) internal{ _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721B: transfer to non ERC721Receiver implementer"); } function _transfer(address from, address to, uint tokenId) internal { require(ownerOf(tokenId) == from, "ERC721B: transfer of token that is not own"); // Clear approvals from the previous owner _approve(address(0), tokenId); tokens[tokenId].owner = to; emit Transfer(from, to, tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must 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 Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (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 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 (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 (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); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"_airdropped","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxAirdrop","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_presaleCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_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":"approver","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":"isApproved","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isDelegate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"quantity","type":"uint256[]"},{"internalType":"address[]","name":"recipient","type":"address[]"}],"name":"mintTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"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":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":"saleState","outputs":[{"internalType":"enum LoresLittleVillains.SaleState","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":"newURIbase","type":"string"},{"internalType":"string","name":"newURIsuffix","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"},{"internalType":"uint256","name":"newPrice","type":"uint256"},{"internalType":"uint256","name":"newMaxMint","type":"uint256"},{"internalType":"uint256","name":"newMaxAirdrop","type":"uint256"}],"name":"setConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"isDelegate_","type":"bool"}],"name":"setDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum LoresLittleVillains.SaleState","name":"newSaleState","type":"uint8"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"isSupported","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"symbol_","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokens","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"transferBatch","outputs":[],"stateMutability":"nonpayable","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":"account","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"wallet","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
610309600f5566f8b0a10e4700006010556003601155606f60125560006013556015805460ff1916905560e0604052602f6080818152906200398660a0398051620000539160169160209091019062000434565b5060408051808201909152600580825264173539b7b760d91b6020909201918252620000829160179162000434565b503480156200009057600080fd5b506040518060400160405280601381526020017f4c6f7265734c6974746c6556696c6c61696e73000000000000000000000000008152506040518060400160405280600381526020016226262b60e91b81525060008260039080519060200190620000fd92919062000434565b5081516200011390600490602085019062000434565b50600281905560005b600254811015620001455760008054600101815580526200013d8162000532565b90506200011c565b50505050620001636200015d620001ec60201b60201c565b620001f0565b6001600860006200017c6007546001600160a01b031690565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055620001c573ed386149321fbd84f0c4e27a1701ad05eca32f8a600a62000242565b620001e6738b19ea4890f8ebe4c2860116a90b3b46d83b3828605a62000242565b62000566565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620002b35760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b60648201526084015b60405180910390fd5b60008111620003055760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a207368617265732061726520300000006044820152606401620002aa565b6001600160a01b0382166000908152600b602052604090205415620003815760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b6064820152608401620002aa565b600d8054600181019091557fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50180546001600160a01b0319166001600160a01b0384169081179091556000908152600b60205260409020819055600954620003eb908290620004da565b600955604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b8280546200044290620004f5565b90600052602060002090601f016020900481019282620004665760008555620004b1565b82601f106200048157805160ff1916838001178555620004b1565b82800160010185558215620004b1579182015b82811115620004b157825182559160200191906001019062000494565b50620004bf929150620004c3565b5090565b5b80821115620004bf5760008155600101620004c4565b60008219821115620004f057620004f062000550565b500190565b600181811c908216806200050a57607f821691505b602082108114156200052c57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141562000549576200054962000550565b5060010190565b634e487b7160e01b600052601160045260246000fd5b61341080620005766000396000f3fe6080604052600436106102535760003560e01c80636352211e11610138578063b534a5c4116100b0578063db7fd40811610077578063db7fd40814610788578063e33b7de31461079b578063e5c389cd146107b0578063e966d512146107d0578063e985e9c5146107e3578063f2fde38b1461082c57005b8063b534a5c4146106dc578063b640392c146106fc578063b88d4fde14610712578063c87b56dd14610732578063ce7c2ac21461075257005b806385558b6d116100ff57806385558b6d1461061d5780638b83209b146106335780638da5cb5b1461065357806395d89b41146106715780639852595c14610686578063a22cb465146106bc57005b80636352211e146105885780636790a9de146105a85780636c19e783146105c857806370a08231146105e8578063715018a61461060857005b806325fa93ef116101cb5780634a994eef116101925780634a994eef146104c15780634d44660c146104e15780634f64b2be146105015780634f6ccce7146105215780635a67de0714610541578063603f4d521461056157005b806325fa93ef146104295780632f745c591461043f5780633a98ef391461045f57806342842e0e14610474578063438b63001461049457005b8063095ea7b31161021a578063095ea7b31461038857806318160ddd146103a857806319165587146103bd57806322f4596f146103dd578063235b6ea1146103f357806323b872dd1461040957005b806301ffc9a71461029e578063036e565b146102d357806306fdde031461030e5780630777962714610330578063081812fc1461035057005b3661029c577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b3480156102aa57600080fd5b506102be6102b9366004612dff565b61084c565b60405190151581526020015b60405180910390f35b3480156102df57600080fd5b506103006102ee366004612b44565b60146020526000908152604090205481565b6040519081526020016102ca565b34801561031a57600080fd5b50610323610877565b6040516102ca9190613123565b34801561033c57600080fd5b506102be61034b366004612b44565b610909565b34801561035c57600080fd5b5061037061036b366004612eb7565b61095e565b6040516001600160a01b0390911681526020016102ca565b34801561039457600080fd5b5061029c6103a3366004612d6b565b6109dd565b3480156103b457600080fd5b50610300610ae8565b3480156103c957600080fd5b5061029c6103d8366004612b44565b610af7565b3480156103e957600080fd5b50610300600f5481565b3480156103ff57600080fd5b5061030060105481565b34801561041557600080fd5b5061029c610424366004612c2a565b610cc8565b34801561043557600080fd5b5061030060135481565b34801561044b57600080fd5b5061030061045a366004612d6b565b610cf9565b34801561046b57600080fd5b50600954610300565b34801561048057600080fd5b5061029c61048f366004612c2a565b610dd4565b3480156104a057600080fd5b506104b46104af366004612b44565b610def565b6040516102ca91906130b7565b3480156104cd57600080fd5b5061029c6104dc366004612d3a565b610efc565b3480156104ed57600080fd5b506102be6104fc366004612ce7565b610f51565b34801561050d57600080fd5b5061037061051c366004612eb7565b610fe9565b34801561052d57600080fd5b5061030061053c366004612eb7565b611013565b34801561054d57600080fd5b5061029c61055c366004612e37565b61108f565b34801561056d57600080fd5b5060155461057b9060ff1681565b6040516102ca91906130fb565b34801561059457600080fd5b506103706105a3366004612eb7565b611199565b3480156105b457600080fd5b5061029c6105c3366004612e56565b6111fc565b3480156105d457600080fd5b5061029c6105e3366004612b44565b611252565b3480156105f457600080fd5b50610300610603366004612b44565b61129e565b34801561061457600080fd5b5061029c611360565b34801561062957600080fd5b5061030060125481565b34801561063f57600080fd5b5061037061064e366004612eb7565b611396565b34801561065f57600080fd5b506007546001600160a01b0316610370565b34801561067d57600080fd5b506103236113b9565b34801561069257600080fd5b506103006106a1366004612b44565b6001600160a01b03166000908152600c602052604090205490565b3480156106c857600080fd5b5061029c6106d7366004612d3a565b6113c8565b3480156106e857600080fd5b5061029c6106f7366004612b98565b611434565b34801561070857600080fd5b5061030060115481565b34801561071e57600080fd5b5061029c61072d366004612c6a565b6114c0565b34801561073e57600080fd5b5061032361074d366004612eb7565b6114f8565b34801561075e57600080fd5b5061030061076d366004612b44565b6001600160a01b03166000908152600b602052604090205490565b61029c610796366004612ecf565b611584565b3480156107a757600080fd5b50600a54610300565b3480156107bc57600080fd5b5061029c6107cb366004612f0c565b6118c1565b61029c6107de366004612d96565b6119aa565b3480156107ef57600080fd5b506102be6107fe366004612b60565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561083857600080fd5b5061029c610847366004612b44565b611c15565b60006001600160e01b0319821663780e9d6360e01b1480610871575061087182611c6e565b92915050565b60606003805461088690613303565b80601f01602080910402602001604051908101604052809291908181526020018280546108b290613303565b80156108ff5780601f106108d4576101008083540402835291602001916108ff565b820191906000526020600020905b8154815290600101906020018083116108e257829003601f168201915b5050505050905090565b6007546000906001600160a01b0316331461093f5760405162461bcd60e51b8152600401610936906131f7565b60405180910390fd5b506001600160a01b031660009081526008602052604090205460ff1690565b600061096982611cbe565b6109c15760405162461bcd60e51b815260206004820152602360248201527f4552433732313a20717565727920666f72206e6f6e6578697374656e7420746f60448201526235b2b760e91b6064820152608401610936565b506000908152600560205260409020546001600160a01b031690565b60006109e882611199565b9050806001600160a01b0316836001600160a01b03161415610a575760405162461bcd60e51b815260206004820152602260248201527f455243373231423a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610936565b336001600160a01b0382161480610a735750610a7381336107fe565b610ad95760405162461bcd60e51b815260206004820152603160248201527f455243373231423a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527008185c1c1c9bdd995908199bdc88185b1b607a1b6064820152608401610936565b610ae38383611d14565b505050565b6000610af2611d82565b905090565b6001600160a01b0381166000908152600b6020526040902054610b6b5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610936565b6000600a5447610b7b9190613275565b6001600160a01b0383166000908152600c6020908152604080832054600954600b909352908320549394509192610bb290856132a1565b610bbc919061328d565b610bc691906132c0565b905080610c295760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610936565b6001600160a01b0383166000908152600c6020526040902054610c4d908290613275565b6001600160a01b0384166000908152600c6020526040902055600a54610c74908290613275565b600a55610c818382611da1565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b610cd23382611eba565b610cee5760405162461bcd60e51b81526004016109369061322c565b610ae3838383611f5f565b60008060005b600054811015610d765760008181548110610d2a57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0386811691161415610d665783821415610d5a5791506108719050565b610d638261333e565b91505b610d6f8161333e565b9050610cff565b5060405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c65423a206f776e657220696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610936565b610ae3838383604051806020016040528060008152506114c0565b6060600080610dfd8461129e565b90508067ffffffffffffffff811115610e2657634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610e4f578160200160208202803683370190505b50925060005b600054811015610ef45760008181548110610e8057634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0386811691161415610ee457808484610eab8161333e565b955081518110610ecb57634e487b7160e01b600052603260045260246000fd5b60200260200101818152505081831415610ee457610ef4565b610eed8161333e565b9050610e55565b505050919050565b6007546001600160a01b03163314610f265760405162461bcd60e51b8152600401610936906131f7565b6001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b6000805b82811015610fdc576000848483818110610f7f57634e487b7160e01b600052603260045260246000fd5b9050602002013581548110610fa457634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03868116911614610fcc576000915050610fe2565b610fd58161333e565b9050610f55565b50600190505b9392505050565b60008181548110610ff957600080fd5b6000918252602090912001546001600160a01b0316905081565b600061101d610ae8565b82106110825760405162461bcd60e51b815260206004820152602e60248201527f455243373231456e756d657261626c65423a20717565727920666f72206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b6064820152608401610936565b6002546108719083613275565b3360009081526008602052604090205460ff166110be5760405162461bcd60e51b815260040161093690613136565b8060028111156110de57634e487b7160e01b600052602160045260246000fd5b60155460ff16600281111561110357634e487b7160e01b600052602160045260246000fd5b14156111645760405162461bcd60e51b815260206004820152602a60248201527f73657453616c6553746174653a2043616e6e6f742062652063757272656e742060448201526973616c6520737461746560b01b6064820152608401610936565b6015805482919060ff1916600183600281111561119157634e487b7160e01b600052602160045260246000fd5b021790555050565b60006111a482611cbe565b6111c05760405162461bcd60e51b8152600401610936906131b3565b600082815481106111e157634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031692915050565b3360009081526008602052604090205460ff1661122b5760405162461bcd60e51b815260040161093690613136565b815161123e906016906020850190612993565b508051610ae3906017906020840190612993565b6007546001600160a01b0316331461127c5760405162461bcd60e51b8152600401610936906131f7565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b0382166112ef5760405162461bcd60e51b8152602060048201526016602482015275517565727920666f72206e756c6c206164647265737360501b6044820152606401610936565b6000805b600054811015611359576000818154811061131e57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0385811691161415611349576113468261333e565b91505b6113528161333e565b90506112f3565b5092915050565b6007546001600160a01b0316331461138a5760405162461bcd60e51b8152600401610936906131f7565b6113946000612062565b565b6000600d82815481106111e157634e487b7160e01b600052603260045260246000fd5b60606004805461088690613303565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60005b838110156114b7576114a7878787878581811061146457634e487b7160e01b600052603260045260246000fd5b9050602002013586868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506114c092505050565b6114b08161333e565b9050611437565b50505050505050565b6114ca3383611eba565b6114e65760405162461bcd60e51b81526004016109369061322c565b6114f2848484846120b4565b50505050565b606061150382611cbe565b61154f5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610936565b601661155a836120e7565b601760405160200161156e93929190613047565b6040516020818303038152906040529050919050565b600060155460ff1660028111156115ab57634e487b7160e01b600052602160045260246000fd5b14156115f95760405162461bcd60e51b815260206004820152601f60248201527f4d696e743a2053616c652069732063757272656e746c79207061757365642e006044820152606401610936565b6000611603610ae8565b90508360105461161391906132a1565b3410156116625760405162461bcd60e51b815260206004820152601c60248201527f4d696e743a204554482053656e7420497320496e636f72726563742e000000006044820152606401610936565b600f5461166f8286613275565b11156116bd5760405162461bcd60e51b815260206004820152601b60248201527f4d696e743a20546f74616c20737570706c7920657863656564656400000000006044820152606401610936565b601254600f546116cd91906132c0565b6013546116da90836132c0565b6116e49086613275565b11156117325760405162461bcd60e51b815260206004820152601f60248201527f4d696e743a2050757263686173656420737570706c79206578636565646564006044820152606401610936565b60115484111561177d5760405162461bcd60e51b81526020600482015260166024820152754d696e743a20496e76616c6964207175616e7469747960501b6044820152606401610936565b600160155460ff1660028111156117a457634e487b7160e01b600052602160045260246000fd5b1415611896576117b5848484612201565b6117fa5760405162461bcd60e51b815260206004820152601660248201527526b4b73a1d1024b73b30b634b21020b2323932b9b99760511b6044820152606401610936565b33600090815260146020526040902054600390611818908690613275565b11156118715760405162461bcd60e51b815260206004820152602260248201527f4d696e743a20457863656564696e672070726573616c6520616c6c6f77616e63604482015261329760f11b6064820152608401610936565b3360009081526014602052604081208054869290611890908490613275565b90915550505b60005b848110156118ba576118aa3361227b565b6118b38161333e565b9050611899565b5050505050565b3360009081526008602052604090205460ff166118f05760405162461bcd60e51b815260040161093690613136565b83600f541461197b5783611902610ae8565b106119755760405162461bcd60e51b815260206004820152603a60248201527f736574436f6e6669673a204d617820737570706c79206d75737420626520677260448201527f6561746572207468616e2063757272656e7420737570706c792e0000000000006064820152608401610936565b600f8490555b826010541461198a5760108390555b81601154146119995760118290555b80601254146114f257601255505050565b3360009081526008602052604090205460ff166119d95760405162461bcd60e51b815260040161093690613136565b828114611a455760405162461bcd60e51b815260206004820152603460248201527f6d696e74546f3a204d7573742070726f7669646520657175616c207175616e74604482015273697469657320616e6420726563697069656e747360601b6064820152608401610936565b6000611a4f610ae8565b90506000805b85811015611aa157868682818110611a7d57634e487b7160e01b600052603260045260246000fd5b9050602002013582611a8f9190613275565b9150611a9a8161333e565b9050611a55565b50600f54611aaf8383613275565b1115611afd5760405162461bcd60e51b815260206004820152601d60248201527f6d696e74546f3a20546f74616c20737570706c792065786365656465640000006044820152606401610936565b601254601354611b0d9083613275565b1115611b5b5760405162461bcd60e51b815260206004820152601f60248201527f6d696e74546f3a2041697264726f7020737570706c79206578636565646564006044820152606401610936565b60005b83811015611bf55760005b878783818110611b8957634e487b7160e01b600052603260045260246000fd5b90506020020135811015611be457611bd4868684818110611bba57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611bcf9190612b44565b61227b565b611bdd8161333e565b9050611b69565b50611bee8161333e565b9050611b5e565b508060136000828254611c089190613275565b9091555050505050505050565b6007546001600160a01b03163314611c3f5760405162461bcd60e51b8152600401610936906131f7565b6001600160a01b0381166000908152600860205260409020805460ff19166001179055611c6b81612304565b50565b60006001600160e01b031982166380ac58cd60e01b1480611c9f57506001600160e01b03198216635b5e139f60e01b145b8061087157506301ffc9a760e01b6001600160e01b0319831614610871565b6000805482108015610871575060006001600160a01b031660008381548110611cf757634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316141592915050565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611d4982611199565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000600254600154611d949190613275565b600054610af291906132c0565b80471015611df15760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610936565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611e3e576040519150601f19603f3d011682016040523d82523d6000602084013e611e43565b606091505b5050905080610ae35760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610936565b6000611ec582611cbe565b611ee15760405162461bcd60e51b8152600401610936906131b3565b6000611eec83611199565b9050806001600160a01b0316846001600160a01b03161480611f275750836001600160a01b0316611f1c8461095e565b6001600160a01b0316145b80611f5757506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611f7282611199565b6001600160a01b031614611fdb5760405162461bcd60e51b815260206004820152602a60248201527f455243373231423a207472616e73666572206f6620746f6b656e20746861742060448201526934b9903737ba1037bbb760b11b6064820152608401610936565b611fe6600082611d14565b816000828154811061200857634e487b7160e01b600052603260045260246000fd5b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6120bf848484611f5f565b6120cb8484848461239c565b6114f25760405162461bcd60e51b815260040161093690613160565b60608161210b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612135578061211f8161333e565b915061212e9050600a8361328d565b915061210f565b60008167ffffffffffffffff81111561215e57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612188576020820181803683370190505b5090505b8415611f575761219d6001836132c0565b91506121aa600a86613359565b6121b5906030613275565b60f81b8183815181106121d857634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506121fa600a8661328d565b945061218c565b60008061224d33612211876120e7565b86868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506124a992505050565b600e549091506001600160a01b0380831691161415612270576001915050610fe2565b506000949350505050565b6000612285612522565b60408051602080820183526001600160a01b0386811683526000805460018101825581805293517f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56390940180546001600160a01b03191694909216939093179055825190810190925281529091506123009083908390612534565b5050565b6007546001600160a01b0316331461232e5760405162461bcd60e51b8152600401610936906131f7565b6001600160a01b0381166123935760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610936565b611c6b81612062565b60006001600160a01b0384163b1561249e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906123e090339089908890889060040161307a565b602060405180830381600087803b1580156123fa57600080fd5b505af192505050801561242a575060408051601f3d908101601f1916820190925261242791810190612e1b565b60015b612484573d808015612458576040519150601f19603f3d011682016040523d82523d6000602084013e61245d565b606091505b50805161247c5760405162461bcd60e51b815260040161093690613160565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611f57565b506001949350505050565b6000806124b68585612567565b905061251983612513836040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b9061259c565b95945050505050565b600254600080549091610af291613275565b61253e83836125c0565b61254b600084848461239c565b610ae35760405162461bcd60e51b815260040161093690613160565b600030838360405160200161257e93929190613001565b60405160208183030381529060405280519060200120905092915050565b60008060006125ab85856125fc565b915091506125b88161266c565b509392505050565b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000808251604114156126335760208301516040840151606085015160001a6126278782858561286d565b94509450505050612665565b82516040141561265d576020830151604084015161265286838361295a565b935093505050612665565b506000905060025b9250929050565b600081600481111561268e57634e487b7160e01b600052602160045260246000fd5b14156126975750565b60018160048111156126b957634e487b7160e01b600052602160045260246000fd5b14156127075760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610936565b600281600481111561272957634e487b7160e01b600052602160045260246000fd5b14156127775760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610936565b600381600481111561279957634e487b7160e01b600052602160045260246000fd5b14156127f25760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610936565b600481600481111561281457634e487b7160e01b600052602160045260246000fd5b1415611c6b5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610936565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156128a45750600090506003612951565b8460ff16601b141580156128bc57508460ff16601c14155b156128cd5750600090506004612951565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612921573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661294a57600060019250925050612951565b9150600090505b94509492505050565b6000806001600160ff1b0383168161297760ff86901c601b613275565b90506129858782888561286d565b935093505050935093915050565b82805461299f90613303565b90600052602060002090601f0160209004810192826129c15760008555612a07565b82601f106129da57805160ff1916838001178555612a07565b82800160010185558215612a07579182015b82811115612a075782518255916020019190600101906129ec565b50612a13929150612a17565b5090565b5b80821115612a135760008155600101612a18565b600067ffffffffffffffff80841115612a4757612a47613399565b604051601f8501601f19908116603f01168101908282118183101715612a6f57612a6f613399565b81604052809350858152868686011115612a8857600080fd5b858560208301376000602087830101525050509392505050565b60008083601f840112612ab3578182fd5b50813567ffffffffffffffff811115612aca578182fd5b6020830191508360208260051b850101111561266557600080fd5b60008083601f840112612af6578182fd5b50813567ffffffffffffffff811115612b0d578182fd5b60208301915083602082850101111561266557600080fd5b600082601f830112612b35578081fd5b610fe283833560208501612a2c565b600060208284031215612b55578081fd5b8135610fe2816133af565b60008060408385031215612b72578081fd5b8235612b7d816133af565b91506020830135612b8d816133af565b809150509250929050565b60008060008060008060808789031215612bb0578182fd5b8635612bbb816133af565b95506020870135612bcb816133af565b9450604087013567ffffffffffffffff80821115612be7578384fd5b612bf38a838b01612aa2565b90965094506060890135915080821115612c0b578384fd5b50612c1889828a01612ae5565b979a9699509497509295939492505050565b600080600060608486031215612c3e578283fd5b8335612c49816133af565b92506020840135612c59816133af565b929592945050506040919091013590565b60008060008060808587031215612c7f578384fd5b8435612c8a816133af565b93506020850135612c9a816133af565b925060408501359150606085013567ffffffffffffffff811115612cbc578182fd5b8501601f81018713612ccc578182fd5b612cdb87823560208401612a2c565b91505092959194509250565b600080600060408486031215612cfb578283fd5b8335612d06816133af565b9250602084013567ffffffffffffffff811115612d21578283fd5b612d2d86828701612aa2565b9497909650939450505050565b60008060408385031215612d4c578182fd5b8235612d57816133af565b915060208301358015158114612b8d578182fd5b60008060408385031215612d7d578182fd5b8235612d88816133af565b946020939093013593505050565b60008060008060408587031215612dab578182fd5b843567ffffffffffffffff80821115612dc2578384fd5b612dce88838901612aa2565b90965094506020870135915080821115612de6578384fd5b50612df387828801612aa2565b95989497509550505050565b600060208284031215612e10578081fd5b8135610fe2816133c4565b600060208284031215612e2c578081fd5b8151610fe2816133c4565b600060208284031215612e48578081fd5b813560038110610fe2578182fd5b60008060408385031215612e68578182fd5b823567ffffffffffffffff80821115612e7f578384fd5b612e8b86838701612b25565b93506020850135915080821115612ea0578283fd5b50612ead85828601612b25565b9150509250929050565b600060208284031215612ec8578081fd5b5035919050565b600080600060408486031215612ee3578081fd5b83359250602084013567ffffffffffffffff811115612f00578182fd5b612d2d86828701612ae5565b60008060008060808587031215612f21578182fd5b5050823594602084013594506040840135936060013592509050565b60008151808452612f558160208601602086016132d7565b601f01601f19169290920160200192915050565b8054600090600181811c9080831680612f8357607f831692505b6020808410821415612fa357634e487b7160e01b86526022600452602486fd5b818015612fb75760018114612fc857612ff5565b60ff19861689528489019650612ff5565b60008881526020902060005b86811015612fed5781548b820152908501908301612fd4565b505084890196505b50505050505092915050565b60006bffffffffffffffffffffffff19808660601b168352808560601b1660148401525082516130388160288501602087016132d7565b91909101602801949350505050565b60006130538286612f69565b84516130638183602089016132d7565b61306f81830186612f69565b979650505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906130ad90830184612f3d565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156130ef578351835292840192918401916001016130d3565b50909695505050505050565b602081016003831061311d57634e487b7160e01b600052602160045260246000fd5b91905290565b602081526000610fe26020830184612f3d565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b60208082526033908201527f455243373231423a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60208082526024908201527f455243373231423a20717565727920666f72206e6f6e6578697374656e74207460408201526337b5b2b760e11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f455243373231423a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b600082198211156132885761328861336d565b500190565b60008261329c5761329c613383565b500490565b60008160001904831182151516156132bb576132bb61336d565b500290565b6000828210156132d2576132d261336d565b500390565b60005b838110156132f25781810151838201526020016132da565b838111156114f25750506000910152565b600181811c9082168061331757607f821691505b6020821081141561333857634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156133525761335261336d565b5060010190565b60008261336857613368613383565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114611c6b57600080fd5b6001600160e01b031981168114611c6b57600080fdfea2646970667358221220eb671c43f36445e699ca7cccd63c1e2dee49ffa396f12557c8da384d77aa37bb64736f6c6343000804003368747470733a2f2f6c6c762d6d657461646174612e73332e616d617a6f6e6177732e636f6d2f6d657461646174612f
Deployed Bytecode
0x6080604052600436106102535760003560e01c80636352211e11610138578063b534a5c4116100b0578063db7fd40811610077578063db7fd40814610788578063e33b7de31461079b578063e5c389cd146107b0578063e966d512146107d0578063e985e9c5146107e3578063f2fde38b1461082c57005b8063b534a5c4146106dc578063b640392c146106fc578063b88d4fde14610712578063c87b56dd14610732578063ce7c2ac21461075257005b806385558b6d116100ff57806385558b6d1461061d5780638b83209b146106335780638da5cb5b1461065357806395d89b41146106715780639852595c14610686578063a22cb465146106bc57005b80636352211e146105885780636790a9de146105a85780636c19e783146105c857806370a08231146105e8578063715018a61461060857005b806325fa93ef116101cb5780634a994eef116101925780634a994eef146104c15780634d44660c146104e15780634f64b2be146105015780634f6ccce7146105215780635a67de0714610541578063603f4d521461056157005b806325fa93ef146104295780632f745c591461043f5780633a98ef391461045f57806342842e0e14610474578063438b63001461049457005b8063095ea7b31161021a578063095ea7b31461038857806318160ddd146103a857806319165587146103bd57806322f4596f146103dd578063235b6ea1146103f357806323b872dd1461040957005b806301ffc9a71461029e578063036e565b146102d357806306fdde031461030e5780630777962714610330578063081812fc1461035057005b3661029c577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b3480156102aa57600080fd5b506102be6102b9366004612dff565b61084c565b60405190151581526020015b60405180910390f35b3480156102df57600080fd5b506103006102ee366004612b44565b60146020526000908152604090205481565b6040519081526020016102ca565b34801561031a57600080fd5b50610323610877565b6040516102ca9190613123565b34801561033c57600080fd5b506102be61034b366004612b44565b610909565b34801561035c57600080fd5b5061037061036b366004612eb7565b61095e565b6040516001600160a01b0390911681526020016102ca565b34801561039457600080fd5b5061029c6103a3366004612d6b565b6109dd565b3480156103b457600080fd5b50610300610ae8565b3480156103c957600080fd5b5061029c6103d8366004612b44565b610af7565b3480156103e957600080fd5b50610300600f5481565b3480156103ff57600080fd5b5061030060105481565b34801561041557600080fd5b5061029c610424366004612c2a565b610cc8565b34801561043557600080fd5b5061030060135481565b34801561044b57600080fd5b5061030061045a366004612d6b565b610cf9565b34801561046b57600080fd5b50600954610300565b34801561048057600080fd5b5061029c61048f366004612c2a565b610dd4565b3480156104a057600080fd5b506104b46104af366004612b44565b610def565b6040516102ca91906130b7565b3480156104cd57600080fd5b5061029c6104dc366004612d3a565b610efc565b3480156104ed57600080fd5b506102be6104fc366004612ce7565b610f51565b34801561050d57600080fd5b5061037061051c366004612eb7565b610fe9565b34801561052d57600080fd5b5061030061053c366004612eb7565b611013565b34801561054d57600080fd5b5061029c61055c366004612e37565b61108f565b34801561056d57600080fd5b5060155461057b9060ff1681565b6040516102ca91906130fb565b34801561059457600080fd5b506103706105a3366004612eb7565b611199565b3480156105b457600080fd5b5061029c6105c3366004612e56565b6111fc565b3480156105d457600080fd5b5061029c6105e3366004612b44565b611252565b3480156105f457600080fd5b50610300610603366004612b44565b61129e565b34801561061457600080fd5b5061029c611360565b34801561062957600080fd5b5061030060125481565b34801561063f57600080fd5b5061037061064e366004612eb7565b611396565b34801561065f57600080fd5b506007546001600160a01b0316610370565b34801561067d57600080fd5b506103236113b9565b34801561069257600080fd5b506103006106a1366004612b44565b6001600160a01b03166000908152600c602052604090205490565b3480156106c857600080fd5b5061029c6106d7366004612d3a565b6113c8565b3480156106e857600080fd5b5061029c6106f7366004612b98565b611434565b34801561070857600080fd5b5061030060115481565b34801561071e57600080fd5b5061029c61072d366004612c6a565b6114c0565b34801561073e57600080fd5b5061032361074d366004612eb7565b6114f8565b34801561075e57600080fd5b5061030061076d366004612b44565b6001600160a01b03166000908152600b602052604090205490565b61029c610796366004612ecf565b611584565b3480156107a757600080fd5b50600a54610300565b3480156107bc57600080fd5b5061029c6107cb366004612f0c565b6118c1565b61029c6107de366004612d96565b6119aa565b3480156107ef57600080fd5b506102be6107fe366004612b60565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561083857600080fd5b5061029c610847366004612b44565b611c15565b60006001600160e01b0319821663780e9d6360e01b1480610871575061087182611c6e565b92915050565b60606003805461088690613303565b80601f01602080910402602001604051908101604052809291908181526020018280546108b290613303565b80156108ff5780601f106108d4576101008083540402835291602001916108ff565b820191906000526020600020905b8154815290600101906020018083116108e257829003601f168201915b5050505050905090565b6007546000906001600160a01b0316331461093f5760405162461bcd60e51b8152600401610936906131f7565b60405180910390fd5b506001600160a01b031660009081526008602052604090205460ff1690565b600061096982611cbe565b6109c15760405162461bcd60e51b815260206004820152602360248201527f4552433732313a20717565727920666f72206e6f6e6578697374656e7420746f60448201526235b2b760e91b6064820152608401610936565b506000908152600560205260409020546001600160a01b031690565b60006109e882611199565b9050806001600160a01b0316836001600160a01b03161415610a575760405162461bcd60e51b815260206004820152602260248201527f455243373231423a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610936565b336001600160a01b0382161480610a735750610a7381336107fe565b610ad95760405162461bcd60e51b815260206004820152603160248201527f455243373231423a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527008185c1c1c9bdd995908199bdc88185b1b607a1b6064820152608401610936565b610ae38383611d14565b505050565b6000610af2611d82565b905090565b6001600160a01b0381166000908152600b6020526040902054610b6b5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610936565b6000600a5447610b7b9190613275565b6001600160a01b0383166000908152600c6020908152604080832054600954600b909352908320549394509192610bb290856132a1565b610bbc919061328d565b610bc691906132c0565b905080610c295760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610936565b6001600160a01b0383166000908152600c6020526040902054610c4d908290613275565b6001600160a01b0384166000908152600c6020526040902055600a54610c74908290613275565b600a55610c818382611da1565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b610cd23382611eba565b610cee5760405162461bcd60e51b81526004016109369061322c565b610ae3838383611f5f565b60008060005b600054811015610d765760008181548110610d2a57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0386811691161415610d665783821415610d5a5791506108719050565b610d638261333e565b91505b610d6f8161333e565b9050610cff565b5060405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c65423a206f776e657220696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610936565b610ae3838383604051806020016040528060008152506114c0565b6060600080610dfd8461129e565b90508067ffffffffffffffff811115610e2657634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610e4f578160200160208202803683370190505b50925060005b600054811015610ef45760008181548110610e8057634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0386811691161415610ee457808484610eab8161333e565b955081518110610ecb57634e487b7160e01b600052603260045260246000fd5b60200260200101818152505081831415610ee457610ef4565b610eed8161333e565b9050610e55565b505050919050565b6007546001600160a01b03163314610f265760405162461bcd60e51b8152600401610936906131f7565b6001600160a01b03919091166000908152600860205260409020805460ff1916911515919091179055565b6000805b82811015610fdc576000848483818110610f7f57634e487b7160e01b600052603260045260246000fd5b9050602002013581548110610fa457634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03868116911614610fcc576000915050610fe2565b610fd58161333e565b9050610f55565b50600190505b9392505050565b60008181548110610ff957600080fd5b6000918252602090912001546001600160a01b0316905081565b600061101d610ae8565b82106110825760405162461bcd60e51b815260206004820152602e60248201527f455243373231456e756d657261626c65423a20717565727920666f72206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b6064820152608401610936565b6002546108719083613275565b3360009081526008602052604090205460ff166110be5760405162461bcd60e51b815260040161093690613136565b8060028111156110de57634e487b7160e01b600052602160045260246000fd5b60155460ff16600281111561110357634e487b7160e01b600052602160045260246000fd5b14156111645760405162461bcd60e51b815260206004820152602a60248201527f73657453616c6553746174653a2043616e6e6f742062652063757272656e742060448201526973616c6520737461746560b01b6064820152608401610936565b6015805482919060ff1916600183600281111561119157634e487b7160e01b600052602160045260246000fd5b021790555050565b60006111a482611cbe565b6111c05760405162461bcd60e51b8152600401610936906131b3565b600082815481106111e157634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031692915050565b3360009081526008602052604090205460ff1661122b5760405162461bcd60e51b815260040161093690613136565b815161123e906016906020850190612993565b508051610ae3906017906020840190612993565b6007546001600160a01b0316331461127c5760405162461bcd60e51b8152600401610936906131f7565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b0382166112ef5760405162461bcd60e51b8152602060048201526016602482015275517565727920666f72206e756c6c206164647265737360501b6044820152606401610936565b6000805b600054811015611359576000818154811061131e57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0385811691161415611349576113468261333e565b91505b6113528161333e565b90506112f3565b5092915050565b6007546001600160a01b0316331461138a5760405162461bcd60e51b8152600401610936906131f7565b6113946000612062565b565b6000600d82815481106111e157634e487b7160e01b600052603260045260246000fd5b60606004805461088690613303565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60005b838110156114b7576114a7878787878581811061146457634e487b7160e01b600052603260045260246000fd5b9050602002013586868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506114c092505050565b6114b08161333e565b9050611437565b50505050505050565b6114ca3383611eba565b6114e65760405162461bcd60e51b81526004016109369061322c565b6114f2848484846120b4565b50505050565b606061150382611cbe565b61154f5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610936565b601661155a836120e7565b601760405160200161156e93929190613047565b6040516020818303038152906040529050919050565b600060155460ff1660028111156115ab57634e487b7160e01b600052602160045260246000fd5b14156115f95760405162461bcd60e51b815260206004820152601f60248201527f4d696e743a2053616c652069732063757272656e746c79207061757365642e006044820152606401610936565b6000611603610ae8565b90508360105461161391906132a1565b3410156116625760405162461bcd60e51b815260206004820152601c60248201527f4d696e743a204554482053656e7420497320496e636f72726563742e000000006044820152606401610936565b600f5461166f8286613275565b11156116bd5760405162461bcd60e51b815260206004820152601b60248201527f4d696e743a20546f74616c20737570706c7920657863656564656400000000006044820152606401610936565b601254600f546116cd91906132c0565b6013546116da90836132c0565b6116e49086613275565b11156117325760405162461bcd60e51b815260206004820152601f60248201527f4d696e743a2050757263686173656420737570706c79206578636565646564006044820152606401610936565b60115484111561177d5760405162461bcd60e51b81526020600482015260166024820152754d696e743a20496e76616c6964207175616e7469747960501b6044820152606401610936565b600160155460ff1660028111156117a457634e487b7160e01b600052602160045260246000fd5b1415611896576117b5848484612201565b6117fa5760405162461bcd60e51b815260206004820152601660248201527526b4b73a1d1024b73b30b634b21020b2323932b9b99760511b6044820152606401610936565b33600090815260146020526040902054600390611818908690613275565b11156118715760405162461bcd60e51b815260206004820152602260248201527f4d696e743a20457863656564696e672070726573616c6520616c6c6f77616e63604482015261329760f11b6064820152608401610936565b3360009081526014602052604081208054869290611890908490613275565b90915550505b60005b848110156118ba576118aa3361227b565b6118b38161333e565b9050611899565b5050505050565b3360009081526008602052604090205460ff166118f05760405162461bcd60e51b815260040161093690613136565b83600f541461197b5783611902610ae8565b106119755760405162461bcd60e51b815260206004820152603a60248201527f736574436f6e6669673a204d617820737570706c79206d75737420626520677260448201527f6561746572207468616e2063757272656e7420737570706c792e0000000000006064820152608401610936565b600f8490555b826010541461198a5760108390555b81601154146119995760118290555b80601254146114f257601255505050565b3360009081526008602052604090205460ff166119d95760405162461bcd60e51b815260040161093690613136565b828114611a455760405162461bcd60e51b815260206004820152603460248201527f6d696e74546f3a204d7573742070726f7669646520657175616c207175616e74604482015273697469657320616e6420726563697069656e747360601b6064820152608401610936565b6000611a4f610ae8565b90506000805b85811015611aa157868682818110611a7d57634e487b7160e01b600052603260045260246000fd5b9050602002013582611a8f9190613275565b9150611a9a8161333e565b9050611a55565b50600f54611aaf8383613275565b1115611afd5760405162461bcd60e51b815260206004820152601d60248201527f6d696e74546f3a20546f74616c20737570706c792065786365656465640000006044820152606401610936565b601254601354611b0d9083613275565b1115611b5b5760405162461bcd60e51b815260206004820152601f60248201527f6d696e74546f3a2041697264726f7020737570706c79206578636565646564006044820152606401610936565b60005b83811015611bf55760005b878783818110611b8957634e487b7160e01b600052603260045260246000fd5b90506020020135811015611be457611bd4868684818110611bba57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611bcf9190612b44565b61227b565b611bdd8161333e565b9050611b69565b50611bee8161333e565b9050611b5e565b508060136000828254611c089190613275565b9091555050505050505050565b6007546001600160a01b03163314611c3f5760405162461bcd60e51b8152600401610936906131f7565b6001600160a01b0381166000908152600860205260409020805460ff19166001179055611c6b81612304565b50565b60006001600160e01b031982166380ac58cd60e01b1480611c9f57506001600160e01b03198216635b5e139f60e01b145b8061087157506301ffc9a760e01b6001600160e01b0319831614610871565b6000805482108015610871575060006001600160a01b031660008381548110611cf757634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316141592915050565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611d4982611199565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000600254600154611d949190613275565b600054610af291906132c0565b80471015611df15760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610936565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611e3e576040519150601f19603f3d011682016040523d82523d6000602084013e611e43565b606091505b5050905080610ae35760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610936565b6000611ec582611cbe565b611ee15760405162461bcd60e51b8152600401610936906131b3565b6000611eec83611199565b9050806001600160a01b0316846001600160a01b03161480611f275750836001600160a01b0316611f1c8461095e565b6001600160a01b0316145b80611f5757506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611f7282611199565b6001600160a01b031614611fdb5760405162461bcd60e51b815260206004820152602a60248201527f455243373231423a207472616e73666572206f6620746f6b656e20746861742060448201526934b9903737ba1037bbb760b11b6064820152608401610936565b611fe6600082611d14565b816000828154811061200857634e487b7160e01b600052603260045260246000fd5b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6120bf848484611f5f565b6120cb8484848461239c565b6114f25760405162461bcd60e51b815260040161093690613160565b60608161210b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612135578061211f8161333e565b915061212e9050600a8361328d565b915061210f565b60008167ffffffffffffffff81111561215e57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612188576020820181803683370190505b5090505b8415611f575761219d6001836132c0565b91506121aa600a86613359565b6121b5906030613275565b60f81b8183815181106121d857634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506121fa600a8661328d565b945061218c565b60008061224d33612211876120e7565b86868080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506124a992505050565b600e549091506001600160a01b0380831691161415612270576001915050610fe2565b506000949350505050565b6000612285612522565b60408051602080820183526001600160a01b0386811683526000805460018101825581805293517f290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56390940180546001600160a01b03191694909216939093179055825190810190925281529091506123009083908390612534565b5050565b6007546001600160a01b0316331461232e5760405162461bcd60e51b8152600401610936906131f7565b6001600160a01b0381166123935760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610936565b611c6b81612062565b60006001600160a01b0384163b1561249e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906123e090339089908890889060040161307a565b602060405180830381600087803b1580156123fa57600080fd5b505af192505050801561242a575060408051601f3d908101601f1916820190925261242791810190612e1b565b60015b612484573d808015612458576040519150601f19603f3d011682016040523d82523d6000602084013e61245d565b606091505b50805161247c5760405162461bcd60e51b815260040161093690613160565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611f57565b506001949350505050565b6000806124b68585612567565b905061251983612513836040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b9061259c565b95945050505050565b600254600080549091610af291613275565b61253e83836125c0565b61254b600084848461239c565b610ae35760405162461bcd60e51b815260040161093690613160565b600030838360405160200161257e93929190613001565b60405160208183030381529060405280519060200120905092915050565b60008060006125ab85856125fc565b915091506125b88161266c565b509392505050565b60405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000808251604114156126335760208301516040840151606085015160001a6126278782858561286d565b94509450505050612665565b82516040141561265d576020830151604084015161265286838361295a565b935093505050612665565b506000905060025b9250929050565b600081600481111561268e57634e487b7160e01b600052602160045260246000fd5b14156126975750565b60018160048111156126b957634e487b7160e01b600052602160045260246000fd5b14156127075760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610936565b600281600481111561272957634e487b7160e01b600052602160045260246000fd5b14156127775760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610936565b600381600481111561279957634e487b7160e01b600052602160045260246000fd5b14156127f25760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610936565b600481600481111561281457634e487b7160e01b600052602160045260246000fd5b1415611c6b5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610936565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156128a45750600090506003612951565b8460ff16601b141580156128bc57508460ff16601c14155b156128cd5750600090506004612951565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612921573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661294a57600060019250925050612951565b9150600090505b94509492505050565b6000806001600160ff1b0383168161297760ff86901c601b613275565b90506129858782888561286d565b935093505050935093915050565b82805461299f90613303565b90600052602060002090601f0160209004810192826129c15760008555612a07565b82601f106129da57805160ff1916838001178555612a07565b82800160010185558215612a07579182015b82811115612a075782518255916020019190600101906129ec565b50612a13929150612a17565b5090565b5b80821115612a135760008155600101612a18565b600067ffffffffffffffff80841115612a4757612a47613399565b604051601f8501601f19908116603f01168101908282118183101715612a6f57612a6f613399565b81604052809350858152868686011115612a8857600080fd5b858560208301376000602087830101525050509392505050565b60008083601f840112612ab3578182fd5b50813567ffffffffffffffff811115612aca578182fd5b6020830191508360208260051b850101111561266557600080fd5b60008083601f840112612af6578182fd5b50813567ffffffffffffffff811115612b0d578182fd5b60208301915083602082850101111561266557600080fd5b600082601f830112612b35578081fd5b610fe283833560208501612a2c565b600060208284031215612b55578081fd5b8135610fe2816133af565b60008060408385031215612b72578081fd5b8235612b7d816133af565b91506020830135612b8d816133af565b809150509250929050565b60008060008060008060808789031215612bb0578182fd5b8635612bbb816133af565b95506020870135612bcb816133af565b9450604087013567ffffffffffffffff80821115612be7578384fd5b612bf38a838b01612aa2565b90965094506060890135915080821115612c0b578384fd5b50612c1889828a01612ae5565b979a9699509497509295939492505050565b600080600060608486031215612c3e578283fd5b8335612c49816133af565b92506020840135612c59816133af565b929592945050506040919091013590565b60008060008060808587031215612c7f578384fd5b8435612c8a816133af565b93506020850135612c9a816133af565b925060408501359150606085013567ffffffffffffffff811115612cbc578182fd5b8501601f81018713612ccc578182fd5b612cdb87823560208401612a2c565b91505092959194509250565b600080600060408486031215612cfb578283fd5b8335612d06816133af565b9250602084013567ffffffffffffffff811115612d21578283fd5b612d2d86828701612aa2565b9497909650939450505050565b60008060408385031215612d4c578182fd5b8235612d57816133af565b915060208301358015158114612b8d578182fd5b60008060408385031215612d7d578182fd5b8235612d88816133af565b946020939093013593505050565b60008060008060408587031215612dab578182fd5b843567ffffffffffffffff80821115612dc2578384fd5b612dce88838901612aa2565b90965094506020870135915080821115612de6578384fd5b50612df387828801612aa2565b95989497509550505050565b600060208284031215612e10578081fd5b8135610fe2816133c4565b600060208284031215612e2c578081fd5b8151610fe2816133c4565b600060208284031215612e48578081fd5b813560038110610fe2578182fd5b60008060408385031215612e68578182fd5b823567ffffffffffffffff80821115612e7f578384fd5b612e8b86838701612b25565b93506020850135915080821115612ea0578283fd5b50612ead85828601612b25565b9150509250929050565b600060208284031215612ec8578081fd5b5035919050565b600080600060408486031215612ee3578081fd5b83359250602084013567ffffffffffffffff811115612f00578182fd5b612d2d86828701612ae5565b60008060008060808587031215612f21578182fd5b5050823594602084013594506040840135936060013592509050565b60008151808452612f558160208601602086016132d7565b601f01601f19169290920160200192915050565b8054600090600181811c9080831680612f8357607f831692505b6020808410821415612fa357634e487b7160e01b86526022600452602486fd5b818015612fb75760018114612fc857612ff5565b60ff19861689528489019650612ff5565b60008881526020902060005b86811015612fed5781548b820152908501908301612fd4565b505084890196505b50505050505092915050565b60006bffffffffffffffffffffffff19808660601b168352808560601b1660148401525082516130388160288501602087016132d7565b91909101602801949350505050565b60006130538286612f69565b84516130638183602089016132d7565b61306f81830186612f69565b979650505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906130ad90830184612f3d565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156130ef578351835292840192918401916001016130d3565b50909695505050505050565b602081016003831061311d57634e487b7160e01b600052602160045260246000fd5b91905290565b602081526000610fe26020830184612f3d565b60208082526010908201526f496e76616c69642064656c656761746560801b604082015260600190565b60208082526033908201527f455243373231423a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60208082526024908201527f455243373231423a20717565727920666f72206e6f6e6578697374656e74207460408201526337b5b2b760e11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f455243373231423a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b600082198211156132885761328861336d565b500190565b60008261329c5761329c613383565b500490565b60008160001904831182151516156132bb576132bb61336d565b500290565b6000828210156132d2576132d261336d565b500390565b60005b838110156132f25781810151838201526020016132da565b838111156114f25750506000910152565b600181811c9082168061331757607f821691505b6020821081141561333857634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156133525761335261336d565b5060010190565b60008261336857613368613383565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114611c6b57600080fd5b6001600160e01b031981168114611c6b57600080fdfea2646970667358221220eb671c43f36445e699ca7cccd63c1e2dee49ffa396f12557c8da384d77aa37bb64736f6c63430008040033
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.