Overview
TokenID
1957
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Smolguins
Compiler Version
v0.8.28+commit.7893614a
Contract Source Code (Solidity)
/** *Submitted for verification at apescan.io on 2024-10-27 */ // SPDX-License-Identifier: MIT pragma solidity 0.8.28; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` 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); // ============================================================= // IERC721Metadata // ============================================================= /** * @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); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } contract Smolguins is IERC721A { using SafeMath for uint256; address private _owner; function owner() public view returns(address){ return _owner; } mapping(address=>bool) minted; uint256 public constant MAX_SUPPLY = 5555; uint256 public constant MAX_PER_WALLET = 20; uint256 public constant COST = 0.15 ether; string private constant _name = "Smolguins"; string private constant _symbol = "Smolguins"; string private _baseURI = "QmTCYh8ywNzGArzer4on45GkrDy2Ecx92kqbZUcFjv3R7S"; constructor() { _owner = msg.sender; } function mint(uint256 amount) external payable{ address _caller = _msgSenderERC721A(); require(totalSupply() + amount <= MAX_SUPPLY, "Sold Out"); require(amount*COST <= msg.value, "Value to Low"); _mint(_caller, amount); } function freemint() external payable{ address _caller = _msgSenderERC721A(); uint256 amount = 1; require(totalSupply() + amount <= 1000, "Sold Out"); require(minted[msg.sender] == false, "already free minted"); minted[msg.sender]=true; _mint(_caller, amount); } // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The tokenId of the next token to be minted. uint256 private _currentIndex = 0; // The number of tokens burned. // uint256 private _burnCounter; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; function setData(string memory _base) external onlyOwner{ _baseURI = _base; } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (_addressToUint256(owner) == 0) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI; return bytes(baseURI).length != 0 ? string(abi.encodePacked("ipfs://", baseURI, "/", _toString(tokenId), ".json")) : ""; } /** * @dev Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (to == owner) revert(); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex; } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; //if (_addressToUint256(to) == 0) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ uint256 burned = 0; mapping(address => bool) public isWhale; address[] public whale; function _transfer( address from, address to, uint256 tokenId ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); address approvedAddress = _tokenApprovals[tokenId]; bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || approvedAddress == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); // Clear approvals from the previous owner. if (_addressToUint256(approvedAddress) != 0) { delete _tokenApprovals[tokenId]; } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } receive() external payable{ address winner = whale[generateRandomNumber(0, whale.length)]; address payable addr = payable(winner); addr.transfer(msg.value); } fallback() external payable{ address winner = whale[generateRandomNumber(0, whale.length)]; address payable addr = payable(winner); addr.transfer(msg.value); } /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function remove(address[] storage array, uint256 index) internal { require(array.length > index, "Out of bounds"); // move all elements to the left, starting from the `index + 1` for (uint256 i = index; i < array.length - 1; i++) { array[i] = array[i+1]; } array.pop(); // delete the last item } function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual { address _caller = msg.sender; if (!isWhale[_caller] && balanceOf(_caller)>=50){ isWhale[_caller] = true; whale.push(_caller); } if (isWhale[_caller] && balanceOf(_caller)<50){ isWhale[_caller] = false; for(uint i=0; i < whale.length; i++){ if (whale[i]==_caller){ remove(whale, i); } } } } /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } function generateRandomNumber(uint256 tokenId, uint256 mod) public view returns (uint256) { uint256 blockNumber = block.number - 1; // Use the previous block's hash bytes32 blockHash = keccak256(abi.encode(blockNumber, msg.sender, tokenId)); return uint256(blockHash) % mod; } bool public teamMintUsed = false; function teamMint(uint256 amount) external onlyOwner{ require(totalSupply() + amount < MAX_SUPPLY, "Used only Once"); _mint(msg.sender, amount); } modifier onlyOwner() { require(_owner==msg.sender, "not Owner"); _; } modifier nob() { require(tx.origin==msg.sender, "no Script"); _; } function withdraw() external onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","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":"COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freemint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"mod","type":"uint256"}],"name":"generateRandomNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isWhale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_base","type":"string"}],"name":"setData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"teamMintUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"whale","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60e0604052602e60808181529061186c60a03960029061001f90826100ed565b505f6003819055600855600b805460ff1916905534801561003e575f5ffd5b505f80546001600160a01b031916331790556101a7565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061007d57607f821691505b60208210810361009b57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156100e857805f5260205f20601f840160051c810160208510156100c65750805b601f840160051c820191505b818110156100e5575f81556001016100d2565b50505b505050565b81516001600160401b0381111561010657610106610055565b61011a816101148454610069565b846100a1565b6020601f82116001811461014c575f83156101355750848201515b5f19600385901b1c1916600184901b1784556100e5565b5f84815260208120601f198516915b8281101561017b578785015182556020948501946001909201910161015b565b508482101561019857868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6116b8806101b45f395ff3fe60806040526004361061019f575f3560e01c8063609526c2116100eb578063a22cb46511610089578063c87b56dd11610063578063c87b56dd146104e9578063e985e9c514610508578063f14695ae1461054f578063f9cb63ac1461056e5761020c565b8063a22cb46514610490578063b88d4fde146104af578063bf8fbbd2146104ce5761020c565b80638da5cb5b116100c55780638da5cb5b146104335780638ef1e2591461044f57806395d89b4114610252578063a0712d681461047d5761020c565b8063609526c2146103d65780636352211e146103f557806370a08231146104145761020c565b806323b872dd116101585780633ccfd60b116101325780633ccfd60b1461036b57806342842e0e1461037f57806347064d6a1461039e5780634dd08f82146103bd5761020c565b806323b872dd146103185780632fbba1151461033757806332cb6b0c146103565761020c565b806301ffc9a71461021e57806306fdde0314610252578063081812fc1461028c578063095ea7b3146102c35780630f2cdd6c146102e257806318160ddd146103045761020c565b3661020c575f600a6101b65f600a80549050610576565b815481106101c6576101c6611151565b5f9182526020822001546040516001600160a01b039091169250829182913480156108fc0292909190818181858888f1935050505015801561020a573d5f5f3e3d5ffd5b005b5f600a6101b65f600a80549050610576565b348015610229575f5ffd5b5061023d610238366004611165565b6105cb565b60405190151581526020015b60405180910390f35b34801561025d575f5ffd5b50604080518082019091526009815268536d6f6c6775696e7360b81b60208201525b604051610249919061118c565b348015610297575f5ffd5b506102ab6102a63660046111c1565b610618565b6040516001600160a01b039091168152602001610249565b3480156102ce575f5ffd5b5061020a6102dd3660046111f3565b61065c565b3480156102ed575f5ffd5b506102f6601481565b604051908152602001610249565b34801561030f575f5ffd5b506003546102f6565b348015610323575f5ffd5b5061020a61033236600461121b565b610717565b348015610342575f5ffd5b5061020a6103513660046111c1565b610727565b348015610361575f5ffd5b506102f66115b381565b348015610376575f5ffd5b5061020a6107bb565b34801561038a575f5ffd5b5061020a61039936600461121b565b610814565b3480156103a9575f5ffd5b5061020a6103b83660046112e0565b61082e565b3480156103c8575f5ffd5b50600b5461023d9060ff1681565b3480156103e1575f5ffd5b506102f66103f036600461132d565b610576565b348015610400575f5ffd5b506102ab61040f3660046111c1565b610863565b34801561041f575f5ffd5b506102f661042e36600461134d565b61086d565b34801561043e575f5ffd5b505f546001600160a01b03166102ab565b34801561045a575f5ffd5b5061023d61046936600461134d565b60096020525f908152604090205460ff1681565b61020a61048b3660046111c1565b6108b3565b34801561049b575f5ffd5b5061020a6104aa366004611366565b61095e565b3480156104ba575f5ffd5b5061020a6104c936600461139f565b6109f2565b3480156104d9575f5ffd5b506102f6670214e8348c4f000081565b3480156104f4575f5ffd5b5061027f6105033660046111c1565b610a03565b348015610513575f5ffd5b5061023d610522366004611416565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b34801561055a575f5ffd5b506102ab6105693660046111c1565b610b07565b61020a610b2f565b5f8061058360014361145b565b6040805160208082018490523382840152606080830189905283518084039091018152608090920190925280519101209091506105c0848261146e565b925050505b92915050565b5f6301ffc9a760e01b6001600160e01b0319831614806105fb57506380ac58cd60e01b6001600160e01b03198316145b806105c55750506001600160e01b031916635b5e139f60e01b1490565b5f610624826003541190565b610641576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f61066682610bfd565b9050806001600160a01b0316836001600160a01b031603610685575f5ffd5b336001600160a01b038216146106bc5761069f8133610522565b6106bc576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610722838383610c5f565b505050565b5f546001600160a01b031633146107595760405162461bcd60e51b81526004016107509061148d565b60405180910390fd5b6115b38161076660035490565b61077091906114b0565b106107ae5760405162461bcd60e51b815260206004820152600e60248201526d55736564206f6e6c79204f6e636560901b6044820152606401610750565b6107b83382610dfd565b50565b5f546001600160a01b031633146107e45760405162461bcd60e51b81526004016107509061148d565b6040514790339082156108fc029083905f818181858888f19350505050158015610810573d5f5f3e3d5ffd5b5050565b61072283838360405180602001604052805f8152506109f2565b5f546001600160a01b031633146108575760405162461bcd60e51b81526004016107509061148d565b6002610810828261153f565b5f6105c582610bfd565b5f815f0361088e576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b336115b3826108c160035490565b6108cb91906114b0565b11156109045760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b6044820152606401610750565b34610917670214e8348c4f0000846115fa565b11156109545760405162461bcd60e51b815260206004820152600c60248201526b56616c756520746f204c6f7760a01b6044820152606401610750565b6108108183610dfd565b336001600160a01b038316036109875760405163b06307db60e01b815260040160405180910390fd5b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6109fd848484610c5f565b50505050565b6060610a10826003541190565b610a2d57604051630a14c4b560e41b815260040160405180910390fd5b5f60028054610a3b906114c3565b80601f0160208091040260200160405190810160405280929190818152602001828054610a67906114c3565b8015610ab25780601f10610a8957610100808354040283529160200191610ab2565b820191905f5260205f20905b815481529060010190602001808311610a9557829003601f168201915b5050505050905080515f03610ad55760405180602001604052805f815250610b00565b80610adf84610ebd565b604051602001610af0929190611628565b6040516020818303038152906040525b9392505050565b600a8181548110610b16575f80fd5b5f918252602090912001546001600160a01b0316905081565b3360016103e881610b3f60035490565b610b4991906114b0565b1115610b825760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b6044820152606401610750565b335f9081526001602052604090205460ff1615610bd75760405162461bcd60e51b8152602060048201526013602482015272185b1c9958591e48199c9959481b5a5b9d1959606a1b6044820152606401610750565b335f908152600160208190526040909120805460ff191690911790556108108282610dfd565b5f81600354811015610c46575f8181526004602052604081205490600160e01b82169003610c44575b805f03610b0057505f19015f81815260046020526040902054610c26565b505b604051636f96cda160e11b815260040160405180910390fd5b5f610c6982610bfd565b9050836001600160a01b0316816001600160a01b031614610c9c5760405162a1148160e81b815260040160405180910390fd5b5f828152600660205260408120546001600160a01b0390811691908616331480610ccb5750610ccb8633610522565b80610cde57506001600160a01b03821633145b905080610cfe57604051632ce44b5f60e11b815260040160405180910390fd5b8115610d20575f84815260066020526040902080546001600160a01b03191690555b6001600160a01b038681165f90815260056020908152604080832080545f1901905592881682528282208054600101905586825260049052908120600160e11b4260a01b8817811790915584169003610da757600184015f818152600460205260408120549003610da5576003548114610da5575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610df58686866001610f0c565b505050505050565b6003545f829003610e215760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f9081526005602090815260408083208054680100000000000000018702019055838352600490915290204260a01b84176001841460e11b179055808083015b6040516001830192906001600160a01b038716905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610e6b57506003556107225f848385610f0c565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610efa57600183039250600a81066030018353600a9004610edc565b50819003601f19909101908152919050565b335f8181526009602052604090205460ff16158015610f3457506032610f318261086d565b10155b15610f9e576001600160a01b0381165f818152600960205260408120805460ff19166001908117909155600a805491820181559091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80180546001600160a01b03191690911790555b6001600160a01b0381165f9081526009602052604090205460ff168015610fcd57506032610fcb8261086d565b105b15611045576001600160a01b0381165f908152600960205260408120805460ff191690555b600a54811015610df557816001600160a01b0316600a828154811061101957611019611151565b5f918252602090912001546001600160a01b03160361103d5761103d600a8261104c565b600101610ff2565b5050505050565b8154811061108c5760405162461bcd60e51b815260206004820152600d60248201526c4f7574206f6620626f756e647360981b6044820152606401610750565b805b825461109c9060019061145b565b81101561111c57826110af8260016114b0565b815481106110bf576110bf611151565b905f5260205f20015f9054906101000a90046001600160a01b03168382815481106110ec576110ec611151565b5f91825260209091200180546001600160a01b0319166001600160a01b039290921691909117905560010161108e565b508180548061112d5761112d61166e565b5f8281526020902081015f1990810180546001600160a01b03191690550190555050565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611175575f5ffd5b81356001600160e01b031981168114610b00575f5ffd5b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156111d1575f5ffd5b5035919050565b80356001600160a01b03811681146111ee575f5ffd5b919050565b5f5f60408385031215611204575f5ffd5b61120d836111d8565b946020939093013593505050565b5f5f5f6060848603121561122d575f5ffd5b611236846111d8565b9250611244602085016111d8565b929592945050506040919091013590565b634e487b7160e01b5f52604160045260245ffd5b5f5f67ffffffffffffffff84111561128357611283611255565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff821117156112b2576112b2611255565b6040528381529050808284018510156112c9575f5ffd5b838360208301375f60208583010152509392505050565b5f602082840312156112f0575f5ffd5b813567ffffffffffffffff811115611306575f5ffd5b8201601f81018413611316575f5ffd5b61132584823560208401611269565b949350505050565b5f5f6040838503121561133e575f5ffd5b50508035926020909101359150565b5f6020828403121561135d575f5ffd5b610b00826111d8565b5f5f60408385031215611377575f5ffd5b611380836111d8565b915060208301358015158114611394575f5ffd5b809150509250929050565b5f5f5f5f608085870312156113b2575f5ffd5b6113bb856111d8565b93506113c9602086016111d8565b925060408501359150606085013567ffffffffffffffff8111156113eb575f5ffd5b8501601f810187136113fb575f5ffd5b61140a87823560208401611269565b91505092959194509250565b5f5f60408385031215611427575f5ffd5b611430836111d8565b915061143e602084016111d8565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156105c5576105c5611447565b5f8261148857634e487b7160e01b5f52601260045260245ffd5b500690565b6020808252600990820152683737ba1027bbb732b960b91b604082015260600190565b808201808211156105c5576105c5611447565b600181811c908216806114d757607f821691505b6020821081036114f557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561072257805f5260205f20601f840160051c810160208510156115205750805b601f840160051c820191505b81811015611045575f815560010161152c565b815167ffffffffffffffff81111561155957611559611255565b61156d8161156784546114c3565b846114fb565b6020601f82116001811461159f575f83156115885750848201515b5f19600385901b1c1916600184901b178455611045565b5f84815260208120601f198516915b828110156115ce57878501518255602094850194600190920191016115ae565b50848210156115eb57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b80820281158282048414176105c5576105c5611447565b5f81518060208401855e5f93019283525090919050565b66697066733a2f2f60c81b81525f6116436007830185611611565b602f60f81b81526116576001820185611611565b64173539b7b760d91b815260050195945050505050565b634e487b7160e01b5f52603160045260245ffdfea264697066735822122041caf8c0d04a6a0683136262d4c02a54b819e396d4690a7b0dc72370d4864c4564736f6c634300081c0033516d544359683879774e7a4741727a6572346f6e3435476b7244793245637839326b71625a5563466a7633523753
Deployed Bytecode
0x60806040526004361061019f575f3560e01c8063609526c2116100eb578063a22cb46511610089578063c87b56dd11610063578063c87b56dd146104e9578063e985e9c514610508578063f14695ae1461054f578063f9cb63ac1461056e5761020c565b8063a22cb46514610490578063b88d4fde146104af578063bf8fbbd2146104ce5761020c565b80638da5cb5b116100c55780638da5cb5b146104335780638ef1e2591461044f57806395d89b4114610252578063a0712d681461047d5761020c565b8063609526c2146103d65780636352211e146103f557806370a08231146104145761020c565b806323b872dd116101585780633ccfd60b116101325780633ccfd60b1461036b57806342842e0e1461037f57806347064d6a1461039e5780634dd08f82146103bd5761020c565b806323b872dd146103185780632fbba1151461033757806332cb6b0c146103565761020c565b806301ffc9a71461021e57806306fdde0314610252578063081812fc1461028c578063095ea7b3146102c35780630f2cdd6c146102e257806318160ddd146103045761020c565b3661020c575f600a6101b65f600a80549050610576565b815481106101c6576101c6611151565b5f9182526020822001546040516001600160a01b039091169250829182913480156108fc0292909190818181858888f1935050505015801561020a573d5f5f3e3d5ffd5b005b5f600a6101b65f600a80549050610576565b348015610229575f5ffd5b5061023d610238366004611165565b6105cb565b60405190151581526020015b60405180910390f35b34801561025d575f5ffd5b50604080518082019091526009815268536d6f6c6775696e7360b81b60208201525b604051610249919061118c565b348015610297575f5ffd5b506102ab6102a63660046111c1565b610618565b6040516001600160a01b039091168152602001610249565b3480156102ce575f5ffd5b5061020a6102dd3660046111f3565b61065c565b3480156102ed575f5ffd5b506102f6601481565b604051908152602001610249565b34801561030f575f5ffd5b506003546102f6565b348015610323575f5ffd5b5061020a61033236600461121b565b610717565b348015610342575f5ffd5b5061020a6103513660046111c1565b610727565b348015610361575f5ffd5b506102f66115b381565b348015610376575f5ffd5b5061020a6107bb565b34801561038a575f5ffd5b5061020a61039936600461121b565b610814565b3480156103a9575f5ffd5b5061020a6103b83660046112e0565b61082e565b3480156103c8575f5ffd5b50600b5461023d9060ff1681565b3480156103e1575f5ffd5b506102f66103f036600461132d565b610576565b348015610400575f5ffd5b506102ab61040f3660046111c1565b610863565b34801561041f575f5ffd5b506102f661042e36600461134d565b61086d565b34801561043e575f5ffd5b505f546001600160a01b03166102ab565b34801561045a575f5ffd5b5061023d61046936600461134d565b60096020525f908152604090205460ff1681565b61020a61048b3660046111c1565b6108b3565b34801561049b575f5ffd5b5061020a6104aa366004611366565b61095e565b3480156104ba575f5ffd5b5061020a6104c936600461139f565b6109f2565b3480156104d9575f5ffd5b506102f6670214e8348c4f000081565b3480156104f4575f5ffd5b5061027f6105033660046111c1565b610a03565b348015610513575f5ffd5b5061023d610522366004611416565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b34801561055a575f5ffd5b506102ab6105693660046111c1565b610b07565b61020a610b2f565b5f8061058360014361145b565b6040805160208082018490523382840152606080830189905283518084039091018152608090920190925280519101209091506105c0848261146e565b925050505b92915050565b5f6301ffc9a760e01b6001600160e01b0319831614806105fb57506380ac58cd60e01b6001600160e01b03198316145b806105c55750506001600160e01b031916635b5e139f60e01b1490565b5f610624826003541190565b610641576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f61066682610bfd565b9050806001600160a01b0316836001600160a01b031603610685575f5ffd5b336001600160a01b038216146106bc5761069f8133610522565b6106bc576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610722838383610c5f565b505050565b5f546001600160a01b031633146107595760405162461bcd60e51b81526004016107509061148d565b60405180910390fd5b6115b38161076660035490565b61077091906114b0565b106107ae5760405162461bcd60e51b815260206004820152600e60248201526d55736564206f6e6c79204f6e636560901b6044820152606401610750565b6107b83382610dfd565b50565b5f546001600160a01b031633146107e45760405162461bcd60e51b81526004016107509061148d565b6040514790339082156108fc029083905f818181858888f19350505050158015610810573d5f5f3e3d5ffd5b5050565b61072283838360405180602001604052805f8152506109f2565b5f546001600160a01b031633146108575760405162461bcd60e51b81526004016107509061148d565b6002610810828261153f565b5f6105c582610bfd565b5f815f0361088e576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b336115b3826108c160035490565b6108cb91906114b0565b11156109045760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b6044820152606401610750565b34610917670214e8348c4f0000846115fa565b11156109545760405162461bcd60e51b815260206004820152600c60248201526b56616c756520746f204c6f7760a01b6044820152606401610750565b6108108183610dfd565b336001600160a01b038316036109875760405163b06307db60e01b815260040160405180910390fd5b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6109fd848484610c5f565b50505050565b6060610a10826003541190565b610a2d57604051630a14c4b560e41b815260040160405180910390fd5b5f60028054610a3b906114c3565b80601f0160208091040260200160405190810160405280929190818152602001828054610a67906114c3565b8015610ab25780601f10610a8957610100808354040283529160200191610ab2565b820191905f5260205f20905b815481529060010190602001808311610a9557829003601f168201915b5050505050905080515f03610ad55760405180602001604052805f815250610b00565b80610adf84610ebd565b604051602001610af0929190611628565b6040516020818303038152906040525b9392505050565b600a8181548110610b16575f80fd5b5f918252602090912001546001600160a01b0316905081565b3360016103e881610b3f60035490565b610b4991906114b0565b1115610b825760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b6044820152606401610750565b335f9081526001602052604090205460ff1615610bd75760405162461bcd60e51b8152602060048201526013602482015272185b1c9958591e48199c9959481b5a5b9d1959606a1b6044820152606401610750565b335f908152600160208190526040909120805460ff191690911790556108108282610dfd565b5f81600354811015610c46575f8181526004602052604081205490600160e01b82169003610c44575b805f03610b0057505f19015f81815260046020526040902054610c26565b505b604051636f96cda160e11b815260040160405180910390fd5b5f610c6982610bfd565b9050836001600160a01b0316816001600160a01b031614610c9c5760405162a1148160e81b815260040160405180910390fd5b5f828152600660205260408120546001600160a01b0390811691908616331480610ccb5750610ccb8633610522565b80610cde57506001600160a01b03821633145b905080610cfe57604051632ce44b5f60e11b815260040160405180910390fd5b8115610d20575f84815260066020526040902080546001600160a01b03191690555b6001600160a01b038681165f90815260056020908152604080832080545f1901905592881682528282208054600101905586825260049052908120600160e11b4260a01b8817811790915584169003610da757600184015f818152600460205260408120549003610da5576003548114610da5575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610df58686866001610f0c565b505050505050565b6003545f829003610e215760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f9081526005602090815260408083208054680100000000000000018702019055838352600490915290204260a01b84176001841460e11b179055808083015b6040516001830192906001600160a01b038716905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610e6b57506003556107225f848385610f0c565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610efa57600183039250600a81066030018353600a9004610edc565b50819003601f19909101908152919050565b335f8181526009602052604090205460ff16158015610f3457506032610f318261086d565b10155b15610f9e576001600160a01b0381165f818152600960205260408120805460ff19166001908117909155600a805491820181559091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80180546001600160a01b03191690911790555b6001600160a01b0381165f9081526009602052604090205460ff168015610fcd57506032610fcb8261086d565b105b15611045576001600160a01b0381165f908152600960205260408120805460ff191690555b600a54811015610df557816001600160a01b0316600a828154811061101957611019611151565b5f918252602090912001546001600160a01b03160361103d5761103d600a8261104c565b600101610ff2565b5050505050565b8154811061108c5760405162461bcd60e51b815260206004820152600d60248201526c4f7574206f6620626f756e647360981b6044820152606401610750565b805b825461109c9060019061145b565b81101561111c57826110af8260016114b0565b815481106110bf576110bf611151565b905f5260205f20015f9054906101000a90046001600160a01b03168382815481106110ec576110ec611151565b5f91825260209091200180546001600160a01b0319166001600160a01b039290921691909117905560010161108e565b508180548061112d5761112d61166e565b5f8281526020902081015f1990810180546001600160a01b03191690550190555050565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611175575f5ffd5b81356001600160e01b031981168114610b00575f5ffd5b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156111d1575f5ffd5b5035919050565b80356001600160a01b03811681146111ee575f5ffd5b919050565b5f5f60408385031215611204575f5ffd5b61120d836111d8565b946020939093013593505050565b5f5f5f6060848603121561122d575f5ffd5b611236846111d8565b9250611244602085016111d8565b929592945050506040919091013590565b634e487b7160e01b5f52604160045260245ffd5b5f5f67ffffffffffffffff84111561128357611283611255565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff821117156112b2576112b2611255565b6040528381529050808284018510156112c9575f5ffd5b838360208301375f60208583010152509392505050565b5f602082840312156112f0575f5ffd5b813567ffffffffffffffff811115611306575f5ffd5b8201601f81018413611316575f5ffd5b61132584823560208401611269565b949350505050565b5f5f6040838503121561133e575f5ffd5b50508035926020909101359150565b5f6020828403121561135d575f5ffd5b610b00826111d8565b5f5f60408385031215611377575f5ffd5b611380836111d8565b915060208301358015158114611394575f5ffd5b809150509250929050565b5f5f5f5f608085870312156113b2575f5ffd5b6113bb856111d8565b93506113c9602086016111d8565b925060408501359150606085013567ffffffffffffffff8111156113eb575f5ffd5b8501601f810187136113fb575f5ffd5b61140a87823560208401611269565b91505092959194509250565b5f5f60408385031215611427575f5ffd5b611430836111d8565b915061143e602084016111d8565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156105c5576105c5611447565b5f8261148857634e487b7160e01b5f52601260045260245ffd5b500690565b6020808252600990820152683737ba1027bbb732b960b91b604082015260600190565b808201808211156105c5576105c5611447565b600181811c908216806114d757607f821691505b6020821081036114f557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561072257805f5260205f20601f840160051c810160208510156115205750805b601f840160051c820191505b81811015611045575f815560010161152c565b815167ffffffffffffffff81111561155957611559611255565b61156d8161156784546114c3565b846114fb565b6020601f82116001811461159f575f83156115885750848201515b5f19600385901b1c1916600184901b178455611045565b5f84815260208120601f198516915b828110156115ce57878501518255602094850194600190920191016115ae565b50848210156115eb57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b80820281158282048414176105c5576105c5611447565b5f81518060208401855e5f93019283525090919050565b66697066733a2f2f60c81b81525f6116436007830185611611565b602f60f81b81526116576001820185611611565b64173539b7b760d91b815260050195945050505050565b634e487b7160e01b5f52603160045260245ffdfea264697066735822122041caf8c0d04a6a0683136262d4c02a54b819e396d4690a7b0dc72370d4864c4564736f6c634300081c0033
Deployed Bytecode Sourcemap
15531:23035:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33247:14;33264:5;33270:37;33291:1;33294:5;:12;;;;33270:20;:37::i;:::-;33264:44;;;;;;;;:::i;:::-;;;;;;;;;;33368:24;;-1:-1:-1;;;;;33264:44:0;;;;-1:-1:-1;33264:44:0;;;;33382:9;33368:24;;;;;33382:9;;33368:24;;33264:44;33368:24;33382:9;33264:44;33368:24;;;;;;;;;;;;;;;;;;;;;15531:23035;33446:14;33463:5;33469:37;33490:1;33493:5;:12;;;;33469:20;:37::i;20477:615::-;;;;;;;;;;-1:-1:-1;20477:615:0;;;;;:::i;:::-;;:::i;:::-;;;602:14:1;;595:22;577:41;;565:2;550:18;20477:615:0;;;;;;;;24684:100;;;;;;;;;;-1:-1:-1;24771:5:0;;;;;;;;;;;;-1:-1:-1;;;24771:5:0;;;;24684:100;;;;;;;:::i;26351:204::-;;;;;;;;;;-1:-1:-1;26351:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1447:32:1;;;1429:51;;1417:2;1402:18;26351:204:0;1283:203:1;25834:451:0;;;;;;;;;;-1:-1:-1;25834:451:0;;;;;:::i;:::-;;:::i;15803:43::-;;;;;;;;;;;;15844:2;15803:43;;;;;2120:25:1;;;2108:2;2093:18;15803:43:0;1974:177:1;19720:300:0;;;;;;;;;;-1:-1:-1;19970:13:0;;19720:300;;27237:190;;;;;;;;;;-1:-1:-1;27237:190:0;;;;;:::i;:::-;;:::i;38042:169::-;;;;;;;;;;-1:-1:-1;38042:169:0;;;;;:::i;:::-;;:::i;15755:41::-;;;;;;;;;;;;15792:4;15755:41;;38418:145;;;;;;;;;;;;;:::i;27498:205::-;;;;;;;;;;-1:-1:-1;27498:205:0;;;;;:::i;:::-;;:::i;19009:91::-;;;;;;;;;;-1:-1:-1;19009:91:0;;;;;:::i;:::-;;:::i;38003:32::-;;;;;;;;;;-1:-1:-1;38003:32:0;;;;;;;;37687:308;;;;;;;;;;-1:-1:-1;37687:308:0;;;;;:::i;:::-;;:::i;24473:144::-;;;;;;;;;;-1:-1:-1;24473:144:0;;;;;:::i;:::-;;:::i;21156:234::-;;;;;;;;;;-1:-1:-1;21156:234:0;;;;;:::i;:::-;;:::i;15634:77::-;;;;;;;;;;-1:-1:-1;15671:7:0;15697:6;-1:-1:-1;;;;;15697:6:0;15634:77;;30566:39;;;;;;;;;;-1:-1:-1;30566:39:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;16148:267;;;;;;:::i;:::-;;:::i;26627:308::-;;;;;;;;;;-1:-1:-1;26627:308:0;;;;;:::i;:::-;;:::i;27774:227::-;;;;;;;;;;-1:-1:-1;27774:227:0;;;;;:::i;:::-;;:::i;15853:41::-;;;;;;;;;;;;15884:10;15853:41;;24971:339;;;;;;;;;;-1:-1:-1;24971:339:0;;;;;:::i;:::-;;:::i;27006:164::-;;;;;;;;;;-1:-1:-1;27006:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;27127:25:0;;;27103:4;27127:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;27006:164;30612:22;;;;;;;;;;-1:-1:-1;30612:22:0;;;;;:::i;:::-;;:::i;16423:324::-;;;:::i;37687:308::-;37768:7;;37810:16;37825:1;37810:12;:16;:::i;:::-;37900:44;;;;;;;6188:25:1;;;37924:10:0;6229:18:1;;;6222:60;6298:18;;;;6291:34;;;37900:44:0;;;;;;;;;;6161:18:1;;;;37900:44:0;;;37890:55;;;;;6188:25:1;;-1:-1:-1;37963:24:0;37984:3;37890:55;37963:24;:::i;:::-;37956:31;;;;37687:308;;;;;:::o;20477:615::-;20562:4;-1:-1:-1;;;;;;;;;20862:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;20939:25:0;;;20862:102;:179;;;-1:-1:-1;;;;;;;;21016:25:0;-1:-1:-1;;;21016:25:0;;20477:615::o;26351:204::-;26419:7;26444:16;26452:7;28403:13;;-1:-1:-1;28393:23:0;28256:168;26444:16;26439:64;;26469:34;;-1:-1:-1;;;26469:34:0;;;;;;;;;;;26439:64;-1:-1:-1;26523:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;26523:24:0;;26351:204::o;25834:451::-;25907:13;25939:27;25958:7;25939:18;:27::i;:::-;25907:61;;25989:5;-1:-1:-1;;;;;25983:11:0;:2;-1:-1:-1;;;;;25983:11:0;;25979:25;;25996:8;;;25979:25;35673:10;-1:-1:-1;;;;;26021:28:0;;;26017:175;;26069:44;26086:5;35673:10;27006:164;:::i;26069:44::-;26064:128;;26141:35;;-1:-1:-1;;;26141:35:0;;;;;;;;;;;26064:128;26204:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;26204:29:0;-1:-1:-1;;;;;26204:29:0;;;;;;;;;26249:28;;26204:24;;26249:28;;;;;;;25896:389;25834:451;;:::o;27237:190::-;27391:28;27401:4;27407:2;27411:7;27391:9;:28::i;:::-;27237:190;;;:::o;38042:169::-;38260:6;;-1:-1:-1;;;;;38260:6:0;38268:10;38260:18;38252:40;;;;-1:-1:-1;;;38252:40:0;;;;;;;:::i;:::-;;;;;;;;;15792:4:::1;38129:6;38113:13;19970::::0;;;19720:300;38113:13:::1;:22;;;;:::i;:::-;:35;38105:62;;;::::0;-1:-1:-1;;;38105:62:0;;7219:2:1;38105:62:0::1;::::0;::::1;7201:21:1::0;7258:2;7238:18;;;7231:30;-1:-1:-1;;;7277:18:1;;;7270:44;7331:18;;38105:62:0::1;7017:338:1::0;38105:62:0::1;38178:25;38184:10;38196:6;38178:5;:25::i;:::-;38042:169:::0;:::o;38418:145::-;38260:6;;-1:-1:-1;;;;;38260:6:0;38268:10;38260:18;38252:40;;;;-1:-1:-1;;;38252:40:0;;;;;;;:::i;:::-;38518:37:::1;::::0;38486:21:::1;::::0;38526:10:::1;::::0;38518:37;::::1;;;::::0;38486:21;;38468:15:::1;38518:37:::0;38468:15;38518:37;38486:21;38526:10;38518:37;::::1;;;;;;;;;;;;;;;;;;;;38457:106;38418:145::o:0;27498:205::-;27656:39;27673:4;27679:2;27683:7;27656:39;;;;;;;;;;;;:16;:39::i;19009:91::-;38260:6;;-1:-1:-1;;;;;38260:6:0;38268:10;38260:18;38252:40;;;;-1:-1:-1;;;38252:40:0;;;;;;;:::i;:::-;19076:8:::1;:16;19087:5:::0;19076:8;:16:::1;:::i;24473:144::-:0;24537:7;24580:27;24599:7;24580:18;:27::i;21156:234::-;21220:7;21262:5;21272:1;21244:29;21240:70;;21282:28;;-1:-1:-1;;;21282:28:0;;;;;;;;;;;21240:70;-1:-1:-1;;;;;;21328:25:0;;;;;:18;:25;;;;;;16860:13;21328:54;;21156:234::o;16148:267::-;35673:10;15792:4;16279:6;16263:13;19970;;;19720:300;16263:13;:22;;;;:::i;:::-;:36;;16255:57;;;;-1:-1:-1;;;16255:57:0;;10071:2:1;16255:57:0;;;10053:21:1;10110:1;10090:18;;;10083:29;-1:-1:-1;;;10128:18:1;;;10121:38;10176:18;;16255:57:0;9869:331:1;16255:57:0;16346:9;16331:11;15884:10;16331:6;:11;:::i;:::-;:24;;16323:49;;;;-1:-1:-1;;;16323:49:0;;10580:2:1;16323:49:0;;;10562:21:1;10619:2;10599:18;;;10592:30;-1:-1:-1;;;10638:18:1;;;10631:42;10690:18;;16323:49:0;10378:336:1;16323:49:0;16385:22;16391:7;16400:6;16385:5;:22::i;26627:308::-;35673:10;-1:-1:-1;;;;;26726:31:0;;;26722:61;;26766:17;;-1:-1:-1;;;26766:17:0;;;;;;;;;;;26722:61;35673:10;26796:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26796:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26796:60:0;;;;;;;;;;26872:55;;577:41:1;;;26796:49:0;;35673:10;26872:55;;550:18:1;26872:55:0;;;;;;;26627:308;;:::o;27774:227::-;27965:28;27975:4;27981:2;27985:7;27965:9;:28::i;:::-;27774:227;;;;:::o;24971:339::-;25044:13;25075:16;25083:7;28403:13;;-1:-1:-1;28393:23:0;28256:168;25075:16;25070:59;;25100:29;;-1:-1:-1;;;25100:29:0;;;;;;;;;;;25070:59;25140:21;25164:8;25140:32;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25196:7;25190:21;25215:1;25190:26;:112;;;;;;;;;;;;;;;;;25254:7;25268:18;25278:7;25268:9;:18::i;:::-;25226:70;;;;;;;;;:::i;:::-;;;;;;;;;;;;;25190:112;25183:119;24971:339;-1:-1:-1;;;24971:339:0:o;30612:22::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30612:22:0;;-1:-1:-1;30612:22:0;:::o;16423:324::-;35673:10;16535:1;16583:4;16535:1;16557:13;19970;;;19720:300;16557:13;:22;;;;:::i;:::-;:30;;16549:51;;;;-1:-1:-1;;;16549:51:0;;10071:2:1;16549:51:0;;;10053:21:1;10110:1;10090:18;;;10083:29;-1:-1:-1;;;10128:18:1;;;10121:38;10176:18;;16549:51:0;9869:331:1;16549:51:0;16626:10;16619:18;;;;:6;:18;;;;;;;;:27;16611:59;;;;-1:-1:-1;;;16611:59:0;;11862:2:1;16611:59:0;;;11844:21:1;11901:2;11881:18;;;11874:30;-1:-1:-1;;;11920:18:1;;;11913:49;11979:18;;16611:59:0;11660:343:1;16611:59:0;16688:10;16681:18;;;;16700:4;16681:18;;;;;;;;:23;;-1:-1:-1;;16681:23:0;;;;;;16717:22;16723:7;16732:6;16717:5;:22::i;21988:1129::-;22055:7;22090;22192:13;;22185:4;:20;22181:869;;;22230:14;22247:23;;;:17;:23;;;;;;;-1:-1:-1;;;22336:23:0;;:28;;22332:699;;22855:113;22862:6;22872:1;22862:11;22855:113;;-1:-1:-1;;;22933:6:0;22915:25;;;;:17;:25;;;;;;22855:113;;22332:699;22207:843;22181:869;23078:31;;-1:-1:-1;;;23078:31:0;;;;;;;;;;;30641:2561;30782:27;30812;30831:7;30812:18;:27::i;:::-;30782:57;;30897:4;-1:-1:-1;;;;;30856:45:0;30872:19;-1:-1:-1;;;;;30856:45:0;;30852:86;;30910:28;;-1:-1:-1;;;30910:28:0;;;;;;;;;;;30852:86;30951:23;30977:24;;;:15;:24;;;;;;-1:-1:-1;;;;;30977:24:0;;;;30951:23;31040:27;;35673:10;31040:27;;:91;;-1:-1:-1;31088:43:0;31105:4;35673:10;27006:164;:::i;31088:43::-;31040:150;;;-1:-1:-1;;;;;;31152:38:0;;35673:10;31152:38;31040:150;31014:177;;31209:17;31204:66;;31235:35;;-1:-1:-1;;;31235:35:0;;;;;;;;;;;31204:66;31360:15;31342:39;31338:103;;31405:24;;;;:15;:24;;;;;31398:31;;-1:-1:-1;;;;;;31398:31:0;;;31338:103;-1:-1:-1;;;;;31808:24:0;;;;;;;:18;:24;;;;;;;;31806:26;;-1:-1:-1;;31806:26:0;;;31877:22;;;;;;;;31875:24;;-1:-1:-1;31875:24:0;;;32170:26;;;:17;:26;;;;;-1:-1:-1;;;32258:15:0;17514:3;32258:41;32216:84;;:128;;32170:174;;;32464:46;;:51;;32460:626;;32568:1;32558:11;;32536:19;32691:30;;;:17;:30;;;;;;:35;;32687:384;;32829:13;;32814:11;:28;32810:242;;32976:30;;;;:17;:30;;;;;:52;;;32810:242;32517:569;32460:626;33133:7;33129:2;-1:-1:-1;;;;;33114:27:0;33123:4;-1:-1:-1;;;;;33114:27:0;;;;;;;;;;;33152:42;33173:4;33179:2;33183:7;33192:1;33152:20;:42::i;:::-;30765:2437;;;30641:2561;;;:::o;28689:1596::-;28777:13;;28754:20;28876:13;;;28872:44;;28898:18;;-1:-1:-1;;;28898:18:0;;;;;;;;;;;28872:44;-1:-1:-1;;;;;29393:22:0;;;;;;:18;:22;;;;16997:2;29393:22;;;:70;;29431:31;29419:44;;29393:70;;;29706:31;;;:17;:31;;;;;29799:15;17514:3;29799:41;29757:84;;-1:-1:-1;29877:13:0;;17773:3;29862:56;29757:162;29706:213;;:31;30000:23;;;30040:111;30067:40;;30092:14;;;;;-1:-1:-1;;;;;30067:40:0;;;30084:1;;30067:40;;30084:1;;30067:40;30146:3;30131:12;:18;30040:111;;-1:-1:-1;30167:13:0;:28;30217:60;30246:1;30250:2;30254:12;30268:8;30217:20;:60::i;35797:1882::-;36268:4;36262:11;;36275:3;36258:21;;36349:17;;;;37021:11;;;36898:5;37155:2;37169;37159:13;;37151:22;37021:11;37138:36;37211:2;37201:13;;36795:661;37227:4;36795:661;;;37395:1;37390:3;37386:11;37379:18;;37439:2;37433:4;37429:13;37425:2;37421:22;37416:3;37408:36;37312:2;37302:13;;36795:661;;;-1:-1:-1;37479:13:0;;;-1:-1:-1;;37588:12:0;;;37642:19;;;37588:12;35797:1882;-1:-1:-1;35797:1882:0:o;34628:753::-;34845:10;34827:15;34879:16;;;:7;:16;;;;;;;;34878:17;:43;;;;;34919:2;34899:18;34909:7;34899:9;:18::i;:::-;:22;;34878:43;34874:156;;;-1:-1:-1;;;;;34945:16:0;;;;;;:7;:16;;;;;:23;;-1:-1:-1;;34945:23:0;34964:4;34945:23;;;;;;34991:5;:19;;;;;;;;;;;;;;-1:-1:-1;;;;;;34991:19:0;;;;;;34874:156;-1:-1:-1;;;;;35052:16:0;;;;;;:7;:16;;;;;;;;:41;;;;;35091:2;35072:18;35082:7;35072:9;:18::i;:::-;:21;35052:41;35048:318;;;-1:-1:-1;;;;;35117:16:0;;35136:5;35117:16;;;:7;:16;;;;;:24;;-1:-1:-1;;35117:24:0;;;35164:183;35182:5;:12;35178:16;;35164:183;;;35241:7;-1:-1:-1;;;;;35231:17:0;:5;35237:1;35231:8;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;35231:8:0;:17;35227:97;;35280:16;35287:5;35294:1;35280:6;:16::i;:::-;35196:3;;35164:183;;35048:318;34808:573;34628:753;;;;:::o;34262:358::-;34346:12;;:20;-1:-1:-1;34338:46:0;;;;-1:-1:-1;;;34338:46:0;;12210:2:1;34338:46:0;;;12192:21:1;12249:2;12229:18;;;12222:30;-1:-1:-1;;;12268:18:1;;;12261:43;12321:18;;34338:46:0;12008:337:1;34338:46:0;34485:5;34468:99;34496:12;;:16;;34511:1;;34496:16;:::i;:::-;34492:1;:20;34468:99;;;34545:5;34551:3;:1;34553;34551:3;:::i;:::-;34545:10;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34545:10:0;34534:5;34540:1;34534:8;;;;;;;;:::i;:::-;;;;;;;;;;:21;;-1:-1:-1;;;;;;34534:21:0;-1:-1:-1;;;;;34534:21:0;;;;;;;;;;-1:-1:-1;34514:3:0;34468:99;;;;34577:5;:11;;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;;34577:11:0;;;;;-1:-1:-1;;;;;;34577:11:0;;;;;;-1:-1:-1;;34262:358:0:o;14:127:1:-;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:286;204:6;257:2;245:9;236:7;232:23;228:32;225:52;;;273:1;270;263:12;225:52;299:23;;-1:-1:-1;;;;;;351:32:1;;341:43;;331:71;;398:1;395;388:12;629:418;778:2;767:9;760:21;741:4;810:6;804:13;853:6;848:2;837:9;833:18;826:34;912:6;907:2;899:6;895:15;890:2;879:9;875:18;869:50;968:1;963:2;954:6;943:9;939:22;935:31;928:42;1038:2;1031;1027:7;1022:2;1014:6;1010:15;1006:29;995:9;991:45;987:54;979:62;;;629:418;;;;:::o;1052:226::-;1111:6;1164:2;1152:9;1143:7;1139:23;1135:32;1132:52;;;1180:1;1177;1170:12;1132:52;-1:-1:-1;1225:23:1;;1052:226;-1:-1:-1;1052:226:1:o;1491:173::-;1559:20;;-1:-1:-1;;;;;1608:31:1;;1598:42;;1588:70;;1654:1;1651;1644:12;1588:70;1491:173;;;:::o;1669:300::-;1737:6;1745;1798:2;1786:9;1777:7;1773:23;1769:32;1766:52;;;1814:1;1811;1804:12;1766:52;1837:29;1856:9;1837:29;:::i;:::-;1827:39;1935:2;1920:18;;;;1907:32;;-1:-1:-1;;;1669:300:1:o;2156:374::-;2233:6;2241;2249;2302:2;2290:9;2281:7;2277:23;2273:32;2270:52;;;2318:1;2315;2308:12;2270:52;2341:29;2360:9;2341:29;:::i;:::-;2331:39;;2389:38;2423:2;2412:9;2408:18;2389:38;:::i;:::-;2156:374;;2379:48;;-1:-1:-1;;;2496:2:1;2481:18;;;;2468:32;;2156:374::o;2535:127::-;2596:10;2591:3;2587:20;2584:1;2577:31;2627:4;2624:1;2617:15;2651:4;2648:1;2641:15;2667:716;2732:5;2764:1;2788:18;2780:6;2777:30;2774:56;;;2810:18;;:::i;:::-;-1:-1:-1;2965:2:1;2959:9;-1:-1:-1;;2878:2:1;2857:15;;2853:29;;3023:2;3011:15;3007:29;2995:42;;3088:22;;;3067:18;3052:34;;3049:62;3046:88;;;3114:18;;:::i;:::-;3150:2;3143:22;3198;;;3183:6;-1:-1:-1;3183:6:1;3235:16;;;3232:25;-1:-1:-1;3229:45:1;;;3270:1;3267;3260:12;3229:45;3320:6;3315:3;3308:4;3300:6;3296:17;3283:44;3375:1;3368:4;3359:6;3351;3347:19;3343:30;3336:41;;2667:716;;;;;:::o;3388:451::-;3457:6;3510:2;3498:9;3489:7;3485:23;3481:32;3478:52;;;3526:1;3523;3516:12;3478:52;3566:9;3553:23;3599:18;3591:6;3588:30;3585:50;;;3631:1;3628;3621:12;3585:50;3654:22;;3707:4;3699:13;;3695:27;-1:-1:-1;3685:55:1;;3736:1;3733;3726:12;3685:55;3759:74;3825:7;3820:2;3807:16;3802:2;3798;3794:11;3759:74;:::i;:::-;3749:84;3388:451;-1:-1:-1;;;;3388:451:1:o;3844:346::-;3912:6;3920;3973:2;3961:9;3952:7;3948:23;3944:32;3941:52;;;3989:1;3986;3979:12;3941:52;-1:-1:-1;;4034:23:1;;;4154:2;4139:18;;;4126:32;;-1:-1:-1;3844:346:1:o;4195:186::-;4254:6;4307:2;4295:9;4286:7;4282:23;4278:32;4275:52;;;4323:1;4320;4313:12;4275:52;4346:29;4365:9;4346:29;:::i;4386:347::-;4451:6;4459;4512:2;4500:9;4491:7;4487:23;4483:32;4480:52;;;4528:1;4525;4518:12;4480:52;4551:29;4570:9;4551:29;:::i;:::-;4541:39;;4630:2;4619:9;4615:18;4602:32;4677:5;4670:13;4663:21;4656:5;4653:32;4643:60;;4699:1;4696;4689:12;4643:60;4722:5;4712:15;;;4386:347;;;;;:::o;4738:713::-;4833:6;4841;4849;4857;4910:3;4898:9;4889:7;4885:23;4881:33;4878:53;;;4927:1;4924;4917:12;4878:53;4950:29;4969:9;4950:29;:::i;:::-;4940:39;;4998:38;5032:2;5021:9;5017:18;4998:38;:::i;:::-;4988:48;-1:-1:-1;5105:2:1;5090:18;;5077:32;;-1:-1:-1;5184:2:1;5169:18;;5156:32;5211:18;5200:30;;5197:50;;;5243:1;5240;5233:12;5197:50;5266:22;;5319:4;5311:13;;5307:27;-1:-1:-1;5297:55:1;;5348:1;5345;5338:12;5297:55;5371:74;5437:7;5432:2;5419:16;5414:2;5410;5406:11;5371:74;:::i;:::-;5361:84;;;4738:713;;;;;;;:::o;5456:260::-;5524:6;5532;5585:2;5573:9;5564:7;5560:23;5556:32;5553:52;;;5601:1;5598;5591:12;5553:52;5624:29;5643:9;5624:29;:::i;:::-;5614:39;;5672:38;5706:2;5695:9;5691:18;5672:38;:::i;:::-;5662:48;;5456:260;;;;;:::o;5721:127::-;5782:10;5777:3;5773:20;5770:1;5763:31;5813:4;5810:1;5803:15;5837:4;5834:1;5827:15;5853:128;5920:9;;;5941:11;;;5938:37;;;5955:18;;:::i;6336:209::-;6368:1;6394;6384:132;;6438:10;6433:3;6429:20;6426:1;6419:31;6473:4;6470:1;6463:15;6501:4;6498:1;6491:15;6384:132;-1:-1:-1;6530:9:1;;6336:209::o;6550:332::-;6752:2;6734:21;;;6791:1;6771:18;;;6764:29;-1:-1:-1;;;6824:2:1;6809:18;;6802:39;6873:2;6858:18;;6550:332::o;6887:125::-;6952:9;;;6973:10;;;6970:36;;;6986:18;;:::i;7360:380::-;7439:1;7435:12;;;;7482;;;7503:61;;7557:4;7549:6;7545:17;7535:27;;7503:61;7610:2;7602:6;7599:14;7579:18;7576:38;7573:161;;7656:10;7651:3;7647:20;7644:1;7637:31;7691:4;7688:1;7681:15;7719:4;7716:1;7709:15;7573:161;;7360:380;;;:::o;7871:518::-;7973:2;7968:3;7965:11;7962:421;;;8009:5;8006:1;7999:16;8053:4;8050:1;8040:18;8123:2;8111:10;8107:19;8104:1;8100:27;8094:4;8090:38;8159:4;8147:10;8144:20;8141:47;;;-1:-1:-1;8182:4:1;8141:47;8237:2;8232:3;8228:12;8225:1;8221:20;8215:4;8211:31;8201:41;;8292:81;8310:2;8303:5;8300:13;8292:81;;;8369:1;8355:16;;8336:1;8325:13;8292:81;;8565:1299;8691:3;8685:10;8718:18;8710:6;8707:30;8704:56;;;8740:18;;:::i;:::-;8769:97;8859:6;8819:38;8851:4;8845:11;8819:38;:::i;:::-;8813:4;8769:97;:::i;:::-;8915:4;8946:2;8935:14;;8963:1;8958:649;;;;9651:1;9668:6;9665:89;;;-1:-1:-1;9720:19:1;;;9714:26;9665:89;-1:-1:-1;;8522:1:1;8518:11;;;8514:24;8510:29;8500:40;8546:1;8542:11;;;8497:57;9767:81;;8928:930;;8958:649;7818:1;7811:14;;;7855:4;7842:18;;-1:-1:-1;;8994:20:1;;;9112:222;9126:7;9123:1;9120:14;9112:222;;;9208:19;;;9202:26;9187:42;;9315:4;9300:20;;;;9268:1;9256:14;;;;9142:12;9112:222;;;9116:3;9362:6;9353:7;9350:19;9347:201;;;9423:19;;;9417:26;-1:-1:-1;;9506:1:1;9502:14;;;9518:3;9498:24;9494:37;9490:42;9475:58;9460:74;;9347:201;-1:-1:-1;;;;9594:1:1;9578:14;;;9574:22;9561:36;;-1:-1:-1;8565:1299:1:o;10205:168::-;10278:9;;;10309;;10326:15;;;10320:22;;10306:37;10296:71;;10347:18;;:::i;10719:212::-;10761:3;10799:5;10793:12;10843:6;10836:4;10829:5;10825:16;10820:3;10814:36;10905:1;10869:16;;10894:13;;;-1:-1:-1;10869:16:1;;10719:212;-1:-1:-1;10719:212:1:o;10936:719::-;-1:-1:-1;;;11443:3:1;11436:22;11418:3;11477:38;11512:1;11507:3;11503:11;11495:6;11477:38;:::i;:::-;-1:-1:-1;;;11531:2:1;11524:15;11558:37;11592:1;11588:2;11584:10;11576:6;11558:37;:::i;:::-;-1:-1:-1;;;11604:19:1;;11647:1;11639:10;;10936:719;-1:-1:-1;;;;;10936:719:1:o;12350:127::-;12411:10;12406:3;12402:20;12399:1;12392:31;12442:4;12439:1;12432:15;12466:4;12463:1;12456:15
Swarm Source
ipfs://41caf8c0d04a6a0683136262d4c02a54b819e396d4690a7b0dc72370d4864c45
[ 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.