ERC-721
Overview
Max Total Supply
888 Sworbs
Holders
660
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 SworbsLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Sworbs
Compiler Version
v0.8.26+commit.8a97fa7a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-09-08 */ // SPDX-License-Identifier: MIT pragma solidity 0.8.26; /** * @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 Sworbs is IERC721A { using SafeMath for uint256; address private _owner; function owner() public view returns(address){ return _owner; } uint256 public constant MAX_SUPPLY = 888; uint256 public constant MAX_FREE_PER_WALLET = 1; uint256 public constant COST = 0.0005 ether; string private constant _name = "Sworbs"; string private constant _symbol = "Sworbs"; string private _baseURI = "QmWEXoyvRje55xnDfbJkQCNKTRFgzkHJZJ5JJt5uN1iPYA"; 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 nob{ address _caller = _msgSenderERC721A(); uint256 amount = MAX_FREE_PER_WALLET; require(totalSupply() + amount <= MAX_SUPPLY, "Freemint Sold Out"); require(_numberMinted(_caller) == 0, "First Mint used"); if(totalSupply()>600){ nextPrime(); } _mint(_caller, amount); } uint256 public lastPrime = 1; uint runs = 1500; function nextPrime() public returns (uint256){ for (uint i; i < runs; i++){ lastPrime = i*i; } } // 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() external onlyOwner{ require(teamMintUsed==false, "Used only Once"); teamMintUsed=true; _mint(msg.sender, 50); } 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_FREE_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":"nonpayable","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":[],"name":"lastPrime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"nextPrime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","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":[],"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
60e0604052602e60808181529061193460a03960019061001f90826100f8565b5060016002556105dc6003555f6004819055600955600c805460ff19169055348015610049575f80fd5b505f80546001600160a01b031916331790556101b2565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061008857607f821691505b6020821081036100a657634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156100f357805f5260205f20601f840160051c810160208510156100d15750805b601f840160051c820191505b818110156100f0575f81556001016100dd565b50505b505050565b81516001600160401b0381111561011157610111610060565b6101258161011f8454610074565b846100ac565b6020601f821160018114610157575f83156101405750848201515b5f19600385901b1c1916600184901b1784556100f0565b5f84815260208120601f198516915b828110156101865787850151825560209485019460019092019101610166565b50848210156101a357868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b611775806101bf5f395ff3fe6080604052600436106101c5575f3560e01c806370a08231116100f6578063a22cb46511610094578063bf8fbbd211610063578063bf8fbbd21461051f578063c87b56dd14610539578063e985e9c514610558578063f14695ae1461059f57610232565b8063a22cb465146104b8578063b88d4fde146104d7578063ba7a86b8146104f6578063ba9ddfcc1461050a57610232565b80638ef1e259116100d05780638ef1e2591461046357806395d89b411461027857806398710d1e14610491578063a0712d68146104a557610232565b806370a0823114610414578063748dc522146104335780638da5cb5b1461044757610232565b80633ccfd60b116101635780634dd08f821161013d5780634dd08f82146103a95780635b70ea9f146103c2578063609526c2146103d65780636352211e146103f557610232565b80633ccfd60b1461035757806342842e0e1461036b57806347064d6a1461038a57610232565b8063095ea7b31161019f578063095ea7b3146102e657806318160ddd1461030557806323b872dd1461032357806332cb6b0c1461034257610232565b806301ffc9a71461024457806306fdde0314610278578063081812fc146102af57610232565b36610232575f600b6101dc5f600b805490506105be565b815481106101ec576101ec61120e565b5f9182526020822001546040516001600160a01b039091169250829182913480156108fc0292909190818181858888f19350505050158015610230573d5f803e3d5ffd5b005b5f600b6101dc5f600b805490506105be565b34801561024f575f80fd5b5061026361025e366004611222565b610613565b60405190151581526020015b60405180910390f35b348015610283575f80fd5b5060408051808201909152600681526553776f72627360d01b60208201525b60405161026f9190611249565b3480156102ba575f80fd5b506102ce6102c936600461127e565b610660565b6040516001600160a01b03909116815260200161026f565b3480156102f1575f80fd5b506102306103003660046112b0565b6106a4565b348015610310575f80fd5b506004545b60405190815260200161026f565b34801561032e575f80fd5b5061023061033d3660046112d8565b61075f565b34801561034d575f80fd5b5061031561037881565b348015610362575f80fd5b5061023061076f565b348015610376575f80fd5b506102306103853660046112d8565b6107d1565b348015610395575f80fd5b506102306103a436600461139d565b6107eb565b3480156103b4575f80fd5b50600c546102639060ff1681565b3480156103cd575f80fd5b50610230610820565b3480156103e1575f80fd5b506103156103f03660046113ea565b6105be565b348015610400575f80fd5b506102ce61040f36600461127e565b610942565b34801561041f575f80fd5b5061031561042e36600461140a565b61094c565b34801561043e575f80fd5b50610315610992565b348015610452575f80fd5b505f546001600160a01b03166102ce565b34801561046e575f80fd5b5061026361047d36600461140a565b600a6020525f908152604090205460ff1681565b34801561049c575f80fd5b50610315600181565b6102306104b336600461127e565b6109b8565b3480156104c3575f80fd5b506102306104d2366004611423565b610a62565b3480156104e2575f80fd5b506102306104f136600461145c565b610af6565b348015610501575f80fd5b50610230610b07565b348015610515575f80fd5b5061031560025481565b34801561052a575f80fd5b506103156601c6bf5263400081565b348015610544575f80fd5b506102a261055336600461127e565b610b8e565b348015610563575f80fd5b506102636105723660046114d3565b6001600160a01b039182165f90815260086020908152604080832093909416825291909152205460ff1690565b3480156105aa575f80fd5b506102ce6105b936600461127e565b610c92565b5f806105cb600143611518565b604080516020808201849052338284015260608083018990528351808403909101815260809092019092528051910120909150610608848261152b565b925050505b92915050565b5f6301ffc9a760e01b6001600160e01b03198316148061064357506380ac58cd60e01b6001600160e01b03198316145b8061060d5750506001600160e01b031916635b5e139f60e01b1490565b5f61066c826004541190565b610689576040516333d1c03960e21b815260040160405180910390fd5b505f908152600760205260409020546001600160a01b031690565b5f6106ae82610cba565b9050806001600160a01b0316836001600160a01b0316036106cd575f80fd5b336001600160a01b03821614610704576106e78133610572565b610704576040516367d9dca160e11b815260040160405180910390fd5b5f8281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61076a838383610d1c565b505050565b5f546001600160a01b031633146107a15760405162461bcd60e51b81526004016107989061154a565b60405180910390fd5b6040514790339082156108fc029083905f818181858888f193505050501580156107cd573d5f803e3d5ffd5b5050565b61076a83838360405180602001604052805f815250610af6565b5f546001600160a01b031633146108145760405162461bcd60e51b81526004016107989061154a565b60016107cd82826115e9565b32331461085b5760405162461bcd60e51b81526020600482015260096024820152681b9bc814d8dc9a5c1d60ba1b6044820152606401610798565b3360016103788161086b60045490565b61087591906116a4565b11156108b75760405162461bcd60e51b8152602060048201526011602482015270119c99595b5a5b9d0814dbdb190813dd5d607a1b6044820152606401610798565b6001600160a01b0382165f90815260066020526040908190205467ffffffffffffffff911c161561091c5760405162461bcd60e51b815260206004820152600f60248201526e119a5c9cdd08135a5b9d081d5cd959608a1b6044820152606401610798565b61025861092860045490565b111561093857610936610992565b505b6107cd8282610eba565b5f61060d82610cba565b5f815f0361096d576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526006602052604090205467ffffffffffffffff1690565b5f805b6003548110156109b4576109a981806116b7565b600255600101610995565b5090565b33610378826109c660045490565b6109d091906116a4565b1115610a095760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b6044820152606401610798565b34610a1b6601c6bf52634000846116b7565b1115610a585760405162461bcd60e51b815260206004820152600c60248201526b56616c756520746f204c6f7760a01b6044820152606401610798565b6107cd8183610eba565b336001600160a01b03831603610a8b5760405163b06307db60e01b815260040160405180910390fd5b335f8181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610b01848484610d1c565b50505050565b5f546001600160a01b03163314610b305760405162461bcd60e51b81526004016107989061154a565b600c5460ff1615610b745760405162461bcd60e51b815260206004820152600e60248201526d55736564206f6e6c79204f6e636560901b6044820152606401610798565b600c805460ff19166001179055610b8c336032610eba565b565b6060610b9b826004541190565b610bb857604051630a14c4b560e41b815260040160405180910390fd5b5f60018054610bc69061156d565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf29061156d565b8015610c3d5780601f10610c1457610100808354040283529160200191610c3d565b820191905f5260205f20905b815481529060010190602001808311610c2057829003601f168201915b5050505050905080515f03610c605760405180602001604052805f815250610c8b565b80610c6a84610f7a565b604051602001610c7b9291906116e5565b6040516020818303038152906040525b9392505050565b600b8181548110610ca1575f80fd5b5f918252602090912001546001600160a01b0316905081565b5f81600454811015610d03575f8181526005602052604081205490600160e01b82169003610d01575b805f03610c8b57505f19015f81815260056020526040902054610ce3565b505b604051636f96cda160e11b815260040160405180910390fd5b5f610d2682610cba565b9050836001600160a01b0316816001600160a01b031614610d595760405162a1148160e81b815260040160405180910390fd5b5f828152600760205260408120546001600160a01b0390811691908616331480610d885750610d888633610572565b80610d9b57506001600160a01b03821633145b905080610dbb57604051632ce44b5f60e11b815260040160405180910390fd5b8115610ddd575f84815260076020526040902080546001600160a01b03191690555b6001600160a01b038681165f90815260066020908152604080832080545f1901905592881682528282208054600101905586825260059052908120600160e11b4260a01b8817811790915584169003610e6457600184015f818152600560205260408120549003610e62576004548114610e62575f8181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610eb28686866001610fc9565b505050505050565b6004545f829003610ede5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f9081526006602090815260408083208054680100000000000000018702019055838352600590915290204260a01b84176001841460e11b179055808083015b6040516001830192906001600160a01b038716905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610f28575060045561076a5f848385610fc9565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610fb757600183039250600a81066030018353600a9004610f99565b50819003601f19909101908152919050565b335f818152600a602052604090205460ff16158015610ff157506032610fee8261094c565b10155b1561105b576001600160a01b0381165f818152600a60205260408120805460ff19166001908117909155600b805491820181559091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90180546001600160a01b03191690911790555b6001600160a01b0381165f908152600a602052604090205460ff16801561108a575060326110888261094c565b105b15611102576001600160a01b0381165f908152600a60205260408120805460ff191690555b600b54811015610eb257816001600160a01b0316600b82815481106110d6576110d661120e565b5f918252602090912001546001600160a01b0316036110fa576110fa600b82611109565b6001016110af565b5050505050565b815481106111495760405162461bcd60e51b815260206004820152600d60248201526c4f7574206f6620626f756e647360981b6044820152606401610798565b805b825461115990600190611518565b8110156111d9578261116c8260016116a4565b8154811061117c5761117c61120e565b905f5260205f20015f9054906101000a90046001600160a01b03168382815481106111a9576111a961120e565b5f91825260209091200180546001600160a01b0319166001600160a01b039290921691909117905560010161114b565b50818054806111ea576111ea61172b565b5f8281526020902081015f1990810180546001600160a01b03191690550190555050565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611232575f80fd5b81356001600160e01b031981168114610c8b575f80fd5b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f6020828403121561128e575f80fd5b5035919050565b80356001600160a01b03811681146112ab575f80fd5b919050565b5f80604083850312156112c1575f80fd5b6112ca83611295565b946020939093013593505050565b5f805f606084860312156112ea575f80fd5b6112f384611295565b925061130160208501611295565b929592945050506040919091013590565b634e487b7160e01b5f52604160045260245ffd5b5f8067ffffffffffffffff84111561134057611340611312565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff8211171561136f5761136f611312565b604052838152905080828401851015611386575f80fd5b838360208301375f60208583010152509392505050565b5f602082840312156113ad575f80fd5b813567ffffffffffffffff8111156113c3575f80fd5b8201601f810184136113d3575f80fd5b6113e284823560208401611326565b949350505050565b5f80604083850312156113fb575f80fd5b50508035926020909101359150565b5f6020828403121561141a575f80fd5b610c8b82611295565b5f8060408385031215611434575f80fd5b61143d83611295565b915060208301358015158114611451575f80fd5b809150509250929050565b5f805f806080858703121561146f575f80fd5b61147885611295565b935061148660208601611295565b925060408501359150606085013567ffffffffffffffff8111156114a8575f80fd5b8501601f810187136114b8575f80fd5b6114c787823560208401611326565b91505092959194509250565b5f80604083850312156114e4575f80fd5b6114ed83611295565b91506114fb60208401611295565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561060d5761060d611504565b5f8261154557634e487b7160e01b5f52601260045260245ffd5b500690565b6020808252600990820152683737ba1027bbb732b960b91b604082015260600190565b600181811c9082168061158157607f821691505b60208210810361159f57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561076a57805f5260205f20601f840160051c810160208510156115ca5750805b601f840160051c820191505b81811015611102575f81556001016115d6565b815167ffffffffffffffff81111561160357611603611312565b61161781611611845461156d565b846115a5565b6020601f821160018114611649575f83156116325750848201515b5f19600385901b1c1916600184901b178455611102565b5f84815260208120601f198516915b828110156116785787850151825560209485019460019092019101611658565b508482101561169557868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b8082018082111561060d5761060d611504565b808202811582820484141761060d5761060d611504565b5f81518060208401855e5f93019283525090919050565b66697066733a2f2f60c81b81525f61170060078301856116ce565b602f60f81b815261171460018201856116ce565b64173539b7b760d91b815260050195945050505050565b634e487b7160e01b5f52603160045260245ffdfea2646970667358221220f8f95d4f9f895a964670b1527551ab256f017b00408b4fe137aa1f737e0509a264736f6c634300081a0033516d5745586f7976526a653535786e4466624a6b51434e4b545246677a6b484a5a4a354a4a7435754e3169505941
Deployed Bytecode
0x6080604052600436106101c5575f3560e01c806370a08231116100f6578063a22cb46511610094578063bf8fbbd211610063578063bf8fbbd21461051f578063c87b56dd14610539578063e985e9c514610558578063f14695ae1461059f57610232565b8063a22cb465146104b8578063b88d4fde146104d7578063ba7a86b8146104f6578063ba9ddfcc1461050a57610232565b80638ef1e259116100d05780638ef1e2591461046357806395d89b411461027857806398710d1e14610491578063a0712d68146104a557610232565b806370a0823114610414578063748dc522146104335780638da5cb5b1461044757610232565b80633ccfd60b116101635780634dd08f821161013d5780634dd08f82146103a95780635b70ea9f146103c2578063609526c2146103d65780636352211e146103f557610232565b80633ccfd60b1461035757806342842e0e1461036b57806347064d6a1461038a57610232565b8063095ea7b31161019f578063095ea7b3146102e657806318160ddd1461030557806323b872dd1461032357806332cb6b0c1461034257610232565b806301ffc9a71461024457806306fdde0314610278578063081812fc146102af57610232565b36610232575f600b6101dc5f600b805490506105be565b815481106101ec576101ec61120e565b5f9182526020822001546040516001600160a01b039091169250829182913480156108fc0292909190818181858888f19350505050158015610230573d5f803e3d5ffd5b005b5f600b6101dc5f600b805490506105be565b34801561024f575f80fd5b5061026361025e366004611222565b610613565b60405190151581526020015b60405180910390f35b348015610283575f80fd5b5060408051808201909152600681526553776f72627360d01b60208201525b60405161026f9190611249565b3480156102ba575f80fd5b506102ce6102c936600461127e565b610660565b6040516001600160a01b03909116815260200161026f565b3480156102f1575f80fd5b506102306103003660046112b0565b6106a4565b348015610310575f80fd5b506004545b60405190815260200161026f565b34801561032e575f80fd5b5061023061033d3660046112d8565b61075f565b34801561034d575f80fd5b5061031561037881565b348015610362575f80fd5b5061023061076f565b348015610376575f80fd5b506102306103853660046112d8565b6107d1565b348015610395575f80fd5b506102306103a436600461139d565b6107eb565b3480156103b4575f80fd5b50600c546102639060ff1681565b3480156103cd575f80fd5b50610230610820565b3480156103e1575f80fd5b506103156103f03660046113ea565b6105be565b348015610400575f80fd5b506102ce61040f36600461127e565b610942565b34801561041f575f80fd5b5061031561042e36600461140a565b61094c565b34801561043e575f80fd5b50610315610992565b348015610452575f80fd5b505f546001600160a01b03166102ce565b34801561046e575f80fd5b5061026361047d36600461140a565b600a6020525f908152604090205460ff1681565b34801561049c575f80fd5b50610315600181565b6102306104b336600461127e565b6109b8565b3480156104c3575f80fd5b506102306104d2366004611423565b610a62565b3480156104e2575f80fd5b506102306104f136600461145c565b610af6565b348015610501575f80fd5b50610230610b07565b348015610515575f80fd5b5061031560025481565b34801561052a575f80fd5b506103156601c6bf5263400081565b348015610544575f80fd5b506102a261055336600461127e565b610b8e565b348015610563575f80fd5b506102636105723660046114d3565b6001600160a01b039182165f90815260086020908152604080832093909416825291909152205460ff1690565b3480156105aa575f80fd5b506102ce6105b936600461127e565b610c92565b5f806105cb600143611518565b604080516020808201849052338284015260608083018990528351808403909101815260809092019092528051910120909150610608848261152b565b925050505b92915050565b5f6301ffc9a760e01b6001600160e01b03198316148061064357506380ac58cd60e01b6001600160e01b03198316145b8061060d5750506001600160e01b031916635b5e139f60e01b1490565b5f61066c826004541190565b610689576040516333d1c03960e21b815260040160405180910390fd5b505f908152600760205260409020546001600160a01b031690565b5f6106ae82610cba565b9050806001600160a01b0316836001600160a01b0316036106cd575f80fd5b336001600160a01b03821614610704576106e78133610572565b610704576040516367d9dca160e11b815260040160405180910390fd5b5f8281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61076a838383610d1c565b505050565b5f546001600160a01b031633146107a15760405162461bcd60e51b81526004016107989061154a565b60405180910390fd5b6040514790339082156108fc029083905f818181858888f193505050501580156107cd573d5f803e3d5ffd5b5050565b61076a83838360405180602001604052805f815250610af6565b5f546001600160a01b031633146108145760405162461bcd60e51b81526004016107989061154a565b60016107cd82826115e9565b32331461085b5760405162461bcd60e51b81526020600482015260096024820152681b9bc814d8dc9a5c1d60ba1b6044820152606401610798565b3360016103788161086b60045490565b61087591906116a4565b11156108b75760405162461bcd60e51b8152602060048201526011602482015270119c99595b5a5b9d0814dbdb190813dd5d607a1b6044820152606401610798565b6001600160a01b0382165f90815260066020526040908190205467ffffffffffffffff911c161561091c5760405162461bcd60e51b815260206004820152600f60248201526e119a5c9cdd08135a5b9d081d5cd959608a1b6044820152606401610798565b61025861092860045490565b111561093857610936610992565b505b6107cd8282610eba565b5f61060d82610cba565b5f815f0361096d576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526006602052604090205467ffffffffffffffff1690565b5f805b6003548110156109b4576109a981806116b7565b600255600101610995565b5090565b33610378826109c660045490565b6109d091906116a4565b1115610a095760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b6044820152606401610798565b34610a1b6601c6bf52634000846116b7565b1115610a585760405162461bcd60e51b815260206004820152600c60248201526b56616c756520746f204c6f7760a01b6044820152606401610798565b6107cd8183610eba565b336001600160a01b03831603610a8b5760405163b06307db60e01b815260040160405180910390fd5b335f8181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610b01848484610d1c565b50505050565b5f546001600160a01b03163314610b305760405162461bcd60e51b81526004016107989061154a565b600c5460ff1615610b745760405162461bcd60e51b815260206004820152600e60248201526d55736564206f6e6c79204f6e636560901b6044820152606401610798565b600c805460ff19166001179055610b8c336032610eba565b565b6060610b9b826004541190565b610bb857604051630a14c4b560e41b815260040160405180910390fd5b5f60018054610bc69061156d565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf29061156d565b8015610c3d5780601f10610c1457610100808354040283529160200191610c3d565b820191905f5260205f20905b815481529060010190602001808311610c2057829003601f168201915b5050505050905080515f03610c605760405180602001604052805f815250610c8b565b80610c6a84610f7a565b604051602001610c7b9291906116e5565b6040516020818303038152906040525b9392505050565b600b8181548110610ca1575f80fd5b5f918252602090912001546001600160a01b0316905081565b5f81600454811015610d03575f8181526005602052604081205490600160e01b82169003610d01575b805f03610c8b57505f19015f81815260056020526040902054610ce3565b505b604051636f96cda160e11b815260040160405180910390fd5b5f610d2682610cba565b9050836001600160a01b0316816001600160a01b031614610d595760405162a1148160e81b815260040160405180910390fd5b5f828152600760205260408120546001600160a01b0390811691908616331480610d885750610d888633610572565b80610d9b57506001600160a01b03821633145b905080610dbb57604051632ce44b5f60e11b815260040160405180910390fd5b8115610ddd575f84815260076020526040902080546001600160a01b03191690555b6001600160a01b038681165f90815260066020908152604080832080545f1901905592881682528282208054600101905586825260059052908120600160e11b4260a01b8817811790915584169003610e6457600184015f818152600560205260408120549003610e62576004548114610e62575f8181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610eb28686866001610fc9565b505050505050565b6004545f829003610ede5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f9081526006602090815260408083208054680100000000000000018702019055838352600590915290204260a01b84176001841460e11b179055808083015b6040516001830192906001600160a01b038716905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610f28575060045561076a5f848385610fc9565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610fb757600183039250600a81066030018353600a9004610f99565b50819003601f19909101908152919050565b335f818152600a602052604090205460ff16158015610ff157506032610fee8261094c565b10155b1561105b576001600160a01b0381165f818152600a60205260408120805460ff19166001908117909155600b805491820181559091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90180546001600160a01b03191690911790555b6001600160a01b0381165f908152600a602052604090205460ff16801561108a575060326110888261094c565b105b15611102576001600160a01b0381165f908152600a60205260408120805460ff191690555b600b54811015610eb257816001600160a01b0316600b82815481106110d6576110d661120e565b5f918252602090912001546001600160a01b0316036110fa576110fa600b82611109565b6001016110af565b5050505050565b815481106111495760405162461bcd60e51b815260206004820152600d60248201526c4f7574206f6620626f756e647360981b6044820152606401610798565b805b825461115990600190611518565b8110156111d9578261116c8260016116a4565b8154811061117c5761117c61120e565b905f5260205f20015f9054906101000a90046001600160a01b03168382815481106111a9576111a961120e565b5f91825260209091200180546001600160a01b0319166001600160a01b039290921691909117905560010161114b565b50818054806111ea576111ea61172b565b5f8281526020902081015f1990810180546001600160a01b03191690550190555050565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611232575f80fd5b81356001600160e01b031981168114610c8b575f80fd5b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f6020828403121561128e575f80fd5b5035919050565b80356001600160a01b03811681146112ab575f80fd5b919050565b5f80604083850312156112c1575f80fd5b6112ca83611295565b946020939093013593505050565b5f805f606084860312156112ea575f80fd5b6112f384611295565b925061130160208501611295565b929592945050506040919091013590565b634e487b7160e01b5f52604160045260245ffd5b5f8067ffffffffffffffff84111561134057611340611312565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff8211171561136f5761136f611312565b604052838152905080828401851015611386575f80fd5b838360208301375f60208583010152509392505050565b5f602082840312156113ad575f80fd5b813567ffffffffffffffff8111156113c3575f80fd5b8201601f810184136113d3575f80fd5b6113e284823560208401611326565b949350505050565b5f80604083850312156113fb575f80fd5b50508035926020909101359150565b5f6020828403121561141a575f80fd5b610c8b82611295565b5f8060408385031215611434575f80fd5b61143d83611295565b915060208301358015158114611451575f80fd5b809150509250929050565b5f805f806080858703121561146f575f80fd5b61147885611295565b935061148660208601611295565b925060408501359150606085013567ffffffffffffffff8111156114a8575f80fd5b8501601f810187136114b8575f80fd5b6114c787823560208401611326565b91505092959194509250565b5f80604083850312156114e4575f80fd5b6114ed83611295565b91506114fb60208401611295565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561060d5761060d611504565b5f8261154557634e487b7160e01b5f52601260045260245ffd5b500690565b6020808252600990820152683737ba1027bbb732b960b91b604082015260600190565b600181811c9082168061158157607f821691505b60208210810361159f57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561076a57805f5260205f20601f840160051c810160208510156115ca5750805b601f840160051c820191505b81811015611102575f81556001016115d6565b815167ffffffffffffffff81111561160357611603611312565b61161781611611845461156d565b846115a5565b6020601f821160018114611649575f83156116325750848201515b5f19600385901b1c1916600184901b178455611102565b5f84815260208120601f198516915b828110156116785787850151825560209485019460019092019101611658565b508482101561169557868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b8082018082111561060d5761060d611504565b808202811582820484141761060d5761060d611504565b5f81518060208401855e5f93019283525090919050565b66697066733a2f2f60c81b81525f61170060078301856116ce565b602f60f81b815261171460018201856116ce565b64173539b7b760d91b815260050195945050505050565b634e487b7160e01b5f52603160045260245ffdfea2646970667358221220f8f95d4f9f895a964670b1527551ab256f017b00408b4fe137aa1f737e0509a264736f6c634300081a0033
Deployed Bytecode Sourcemap
15531:23228:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33446:14;33463:5;33469:37;33490:1;33493:5;:12;;;;33469:20;:37::i;:::-;33463:44;;;;;;;;:::i;:::-;;;;;;;;;;33567:24;;-1:-1:-1;;;;;33463:44:0;;;;-1:-1:-1;33463:44:0;;;;33581:9;33567:24;;;;;33581:9;;33567:24;;33463:44;33567:24;33581:9;33463:44;33567:24;;;;;;;;;;;;;;;;;;;;;15531:23228;33645:14;33662:5;33668:37;33689:1;33692:5;:12;;;;33668:20;:37::i;20676:615::-;;;;;;;;;;-1:-1:-1;20676:615:0;;;;;:::i;:::-;;:::i;:::-;;;602:14:1;;595:22;577:41;;565:2;550:18;20676:615:0;;;;;;;;24883:100;;;;;;;;;;-1:-1:-1;24970:5:0;;;;;;;;;;;;-1:-1:-1;;;24970:5:0;;;;24883:100;;;;;;;:::i;26550:204::-;;;;;;;;;;-1:-1:-1;26550:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1447:32:1;;;1429:51;;1417:2;1402:18;26550:204:0;1283:203:1;26033:451:0;;;;;;;;;;-1:-1:-1;26033:451:0;;;;;:::i;:::-;;:::i;19919:300::-;;;;;;;;;;-1:-1:-1;20169:13:0;;19919:300;;;2120:25:1;;;2108:2;2093:18;19919:300:0;1974:177:1;27436:190:0;;;;;;;;;;-1:-1:-1;27436:190:0;;;;;:::i;:::-;;:::i;15716:40::-;;;;;;;;;;;;15753:3;15716:40;;38611:145;;;;;;;;;;;;;:::i;27697:205::-;;;;;;;;;;-1:-1:-1;27697:205:0;;;;;:::i;:::-;;:::i;19208:91::-;;;;;;;;;;-1:-1:-1;19208:91:0;;;;;:::i;:::-;;:::i;38202:32::-;;;;;;;;;;-1:-1:-1;38202:32:0;;;;;;;;16383:386;;;;;;;;;;;;;:::i;37886:308::-;;;;;;;;;;-1:-1:-1;37886:308:0;;;;;:::i;:::-;;:::i;24672:144::-;;;;;;;;;;-1:-1:-1;24672:144:0;;;;;:::i;:::-;;:::i;21355:234::-;;;;;;;;;;-1:-1:-1;21355:234:0;;;;;:::i;:::-;;:::i;16832:114::-;;;;;;;;;;;;;:::i;15631:77::-;;;;;;;;;;-1:-1:-1;15668:7:0;15694:6;-1:-1:-1;;;;;15694:6:0;15631:77;;30765:39;;;;;;;;;;-1:-1:-1;30765:39:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;15763:47;;;;;;;;;;;;15809:1;15763:47;;16108:267;;;;;;:::i;:::-;;:::i;26826:308::-;;;;;;;;;;-1:-1:-1;26826:308:0;;;;;:::i;:::-;;:::i;27973:227::-;;;;;;;;;;-1:-1:-1;27973:227:0;;;;;:::i;:::-;;:::i;38241:163::-;;;;;;;;;;;;;:::i;16777:28::-;;;;;;;;;;;;;;;;15817:43;;;;;;;;;;;;15848:12;15817:43;;25170:339;;;;;;;;;;-1:-1:-1;25170:339:0;;;;;:::i;:::-;;:::i;27205:164::-;;;;;;;;;;-1:-1:-1;27205:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;27326:25:0;;;27302:4;27326:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;27205:164;30811:22;;;;;;;;;;-1:-1:-1;30811:22:0;;;;;:::i;:::-;;:::i;37886:308::-;37967:7;;38009:16;38024:1;38009:12;:16;:::i;:::-;38099:44;;;;;;;6188:25:1;;;38123:10:0;6229:18:1;;;6222:60;6298:18;;;;6291:34;;;38099:44:0;;;;;;;;;;6161:18:1;;;;38099:44:0;;;38089:55;;;;;6188:25:1;;-1:-1:-1;38162:24:0;38183:3;38089:55;38162:24;:::i;:::-;38155:31;;;;37886:308;;;;;:::o;20676:615::-;20761:4;-1:-1:-1;;;;;;;;;21061:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;21138:25:0;;;21061:102;:179;;;-1:-1:-1;;;;;;;;21215:25:0;-1:-1:-1;;;21215:25:0;;20676:615::o;26550:204::-;26618:7;26643:16;26651:7;28602:13;;-1:-1:-1;28592:23:0;28455:168;26643:16;26638:64;;26668:34;;-1:-1:-1;;;26668:34:0;;;;;;;;;;;26638:64;-1:-1:-1;26722:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;26722:24:0;;26550:204::o;26033:451::-;26106:13;26138:27;26157:7;26138:18;:27::i;:::-;26106:61;;26188:5;-1:-1:-1;;;;;26182:11:0;:2;-1:-1:-1;;;;;26182:11:0;;26178:25;;26195:8;;;26178:25;35872:10;-1:-1:-1;;;;;26220:28:0;;;26216:175;;26268:44;26285:5;35872:10;27205:164;:::i;26268:44::-;26263:128;;26340:35;;-1:-1:-1;;;26340:35:0;;;;;;;;;;;26263:128;26403:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;26403:29:0;-1:-1:-1;;;;;26403:29:0;;;;;;;;;26448:28;;26403:24;;26448:28;;;;;;;26095:389;26033:451;;:::o;27436:190::-;27590:28;27600:4;27606:2;27610:7;27590:9;:28::i;:::-;27436:190;;;:::o;38611:145::-;38453:6;;-1:-1:-1;;;;;38453:6:0;38461:10;38453:18;38445:40;;;;-1:-1:-1;;;38445:40:0;;;;;;;:::i;:::-;;;;;;;;;38711:37:::1;::::0;38679:21:::1;::::0;38719:10:::1;::::0;38711:37;::::1;;;::::0;38679:21;;38661:15:::1;38711:37:::0;38661:15;38711:37;38679:21;38719:10;38711:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;38650:106;38611:145::o:0;27697:205::-;27855:39;27872:4;27878:2;27882:7;27855:39;;;;;;;;;;;;:16;:39::i;19208:91::-;38453:6;;-1:-1:-1;;;;;38453:6:0;38461:10;38453:18;38445:40;;;;-1:-1:-1;;;38445:40:0;;;;;;;:::i;:::-;19275:8:::1;:16;19286:5:::0;19275:8;:16:::1;:::i;16383:386::-:0;38548:9;38559:10;38548:21;38540:43;;;;-1:-1:-1;;;38540:43:0;;9598:2:1;38540:43:0;;;9580:21:1;9637:1;9617:18;;;9610:29;-1:-1:-1;;;9655:18:1;;;9648:39;9704:18;;38540:43:0;9396:332:1;38540:43:0;35872:10;15809:1:::1;15753:3;15809:1:::0;16531:13:::1;20169::::0;;;19919:300;16531:13:::1;:22;;;;:::i;:::-;:36;;16523:66;;;::::0;-1:-1:-1;;;16523:66:0;;10065:2:1;16523:66:0::1;::::0;::::1;10047:21:1::0;10104:2;10084:18;;;10077:30;-1:-1:-1;;;10123:18:1;;;10116:47;10180:18;;16523:66:0::1;9863:341:1::0;16523:66:0::1;-1:-1:-1::0;;;;;21760:25:0;;21732:7;21760:25;;;:18;:25;;17196:2;21760:25;;;;;17059:13;21760:49;;21759:80;16608:27;16600:55:::1;;;::::0;-1:-1:-1;;;16600:55:0;;10411:2:1;16600:55:0::1;::::0;::::1;10393:21:1::0;10450:2;10430:18;;;10423:30;-1:-1:-1;;;10469:18:1;;;10462:45;10524:18;;16600:55:0::1;10209:339:1::0;16600:55:0::1;16685:3;16671:13;20169::::0;;;19919:300;16671:13:::1;:17;16668:59;;;16704:11;:9;:11::i;:::-;;16668:59;16739:22;16745:7;16754:6;16739:5;:22::i;24672:144::-:0;24736:7;24779:27;24798:7;24779:18;:27::i;21355:234::-;21419:7;21461:5;21471:1;21443:29;21439:70;;21481:28;;-1:-1:-1;;;21481:28:0;;;;;;;;;;;21439:70;-1:-1:-1;;;;;;21527:25:0;;;;;:18;:25;;;;;;17059:13;21527:54;;21355:234::o;16832:114::-;16869:7;16893:6;16888:54;16905:4;;16901:1;:8;16888:54;;;16933:3;16935:1;;16933:3;:::i;:::-;16921:9;:15;16911:3;;16888:54;;;;16832:114;:::o;16108:267::-;35872:10;15753:3;16239:6;16223:13;20169;;;19919:300;16223:13;:22;;;;:::i;:::-;:36;;16215:57;;;;-1:-1:-1;;;16215:57:0;;10928:2:1;16215:57:0;;;10910:21:1;10967:1;10947:18;;;10940:29;-1:-1:-1;;;10985:18:1;;;10978:38;11033:18;;16215:57:0;10726:331:1;16215:57:0;16306:9;16291:11;15848:12;16291:6;:11;:::i;:::-;:24;;16283:49;;;;-1:-1:-1;;;16283:49:0;;11264:2:1;16283:49:0;;;11246:21:1;11303:2;11283:18;;;11276:30;-1:-1:-1;;;11322:18:1;;;11315:42;11374:18;;16283:49:0;11062:336:1;16283:49:0;16345:22;16351:7;16360:6;16345:5;:22::i;26826:308::-;35872:10;-1:-1:-1;;;;;26925:31:0;;;26921:61;;26965:17;;-1:-1:-1;;;26965:17:0;;;;;;;;;;;26921:61;35872:10;26995:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26995:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26995:60:0;;;;;;;;;;27071:55;;577:41:1;;;26995:49:0;;35872:10;27071:55;;550:18:1;27071:55:0;;;;;;;26826:308;;:::o;27973:227::-;28164:28;28174:4;28180:2;28184:7;28164:9;:28::i;:::-;27973:227;;;;:::o;38241:163::-;38453:6;;-1:-1:-1;;;;;38453:6:0;38461:10;38453:18;38445:40;;;;-1:-1:-1;;;38445:40:0;;;;;;;:::i;:::-;38298:12:::1;::::0;::::1;;:19;38290:46;;;::::0;-1:-1:-1;;;38290:46:0;;11605:2:1;38290:46:0::1;::::0;::::1;11587:21:1::0;11644:2;11624:18;;;11617:30;-1:-1:-1;;;11663:18:1;;;11656:44;11717:18;;38290:46:0::1;11403:338:1::0;38290:46:0::1;38347:12;:17:::0;;-1:-1:-1;;38347:17:0::1;38360:4;38347:17;::::0;;38375:21:::1;38381:10;38393:2;38375:5;:21::i;:::-;38241:163::o:0;25170:339::-;25243:13;25274:16;25282:7;28602:13;;-1:-1:-1;28592:23:0;28455:168;25274:16;25269:59;;25299:29;;-1:-1:-1;;;25299:29:0;;;;;;;;;;;25269:59;25339:21;25363:8;25339:32;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25395:7;25389:21;25414:1;25389:26;:112;;;;;;;;;;;;;;;;;25453:7;25467:18;25477:7;25467:9;:18::i;:::-;25425:70;;;;;;;;;:::i;:::-;;;;;;;;;;;;;25389:112;25382:119;25170:339;-1:-1:-1;;;25170:339:0:o;30811:22::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30811:22:0;;-1:-1:-1;30811:22:0;:::o;22187:1129::-;22254:7;22289;22391:13;;22384:4;:20;22380:869;;;22429:14;22446:23;;;:17;:23;;;;;;;-1:-1:-1;;;22535:23:0;;:28;;22531:699;;23054:113;23061:6;23071:1;23061:11;23054:113;;-1:-1:-1;;;23132:6:0;23114:25;;;;:17;:25;;;;;;23054:113;;22531:699;22406:843;22380:869;23277:31;;-1:-1:-1;;;23277:31:0;;;;;;;;;;;30840:2561;30981:27;31011;31030:7;31011:18;:27::i;:::-;30981:57;;31096:4;-1:-1:-1;;;;;31055:45:0;31071:19;-1:-1:-1;;;;;31055:45:0;;31051:86;;31109:28;;-1:-1:-1;;;31109:28:0;;;;;;;;;;;31051:86;31150:23;31176:24;;;:15;:24;;;;;;-1:-1:-1;;;;;31176:24:0;;;;31150:23;31239:27;;35872:10;31239:27;;:91;;-1:-1:-1;31287:43:0;31304:4;35872:10;27205:164;:::i;31287:43::-;31239:150;;;-1:-1:-1;;;;;;31351:38:0;;35872:10;31351:38;31239:150;31213:177;;31408:17;31403:66;;31434:35;;-1:-1:-1;;;31434:35:0;;;;;;;;;;;31403:66;31559:15;31541:39;31537:103;;31604:24;;;;:15;:24;;;;;31597:31;;-1:-1:-1;;;;;;31597:31:0;;;31537:103;-1:-1:-1;;;;;32007:24:0;;;;;;;:18;:24;;;;;;;;32005:26;;-1:-1:-1;;32005:26:0;;;32076:22;;;;;;;;32074:24;;-1:-1:-1;32074:24:0;;;32369:26;;;:17;:26;;;;;-1:-1:-1;;;32457:15:0;17713:3;32457:41;32415:84;;:128;;32369:174;;;32663:46;;:51;;32659:626;;32767:1;32757:11;;32735:19;32890:30;;;:17;:30;;;;;;:35;;32886:384;;33028:13;;33013:11;:28;33009:242;;33175:30;;;;:17;:30;;;;;:52;;;33009:242;32716:569;32659:626;33332:7;33328:2;-1:-1:-1;;;;;33313:27:0;33322:4;-1:-1:-1;;;;;33313:27:0;;;;;;;;;;;33351:42;33372:4;33378:2;33382:7;33391:1;33351:20;:42::i;:::-;30964:2437;;;30840:2561;;;:::o;28888:1596::-;28976:13;;28953:20;29075:13;;;29071:44;;29097:18;;-1:-1:-1;;;29097:18:0;;;;;;;;;;;29071:44;-1:-1:-1;;;;;29592:22:0;;;;;;:18;:22;;;;17196:2;29592:22;;;:70;;29630:31;29618:44;;29592:70;;;29905:31;;;:17;:31;;;;;29998:15;17713:3;29998:41;29956:84;;-1:-1:-1;30076:13:0;;17972:3;30061:56;29956:162;29905:213;;:31;30199:23;;;30239:111;30266:40;;30291:14;;;;;-1:-1:-1;;;;;30266:40:0;;;30283:1;;30266:40;;30283:1;;30266:40;30345:3;30330:12;:18;30239:111;;-1:-1:-1;30366:13:0;:28;30416:60;30445:1;30449:2;30453:12;30467:8;30416:20;:60::i;35996:1882::-;36467:4;36461:11;;36474:3;36457:21;;36548:17;;;;37220:11;;;37097:5;37354:2;37368;37358:13;;37350:22;37220:11;37337:36;37410:2;37400:13;;36994:661;37426:4;36994:661;;;37594:1;37589:3;37585:11;37578:18;;37638:2;37632:4;37628:13;37624:2;37620:22;37615:3;37607:36;37511:2;37501:13;;36994:661;;;-1:-1:-1;37678:13:0;;;-1:-1:-1;;37787:12:0;;;37841:19;;;37787:12;35996:1882;-1:-1:-1;35996:1882:0:o;34827:753::-;35044:10;35026:15;35078:16;;;:7;:16;;;;;;;;35077:17;:43;;;;;35118:2;35098:18;35108:7;35098:9;:18::i;:::-;:22;;35077:43;35073:156;;;-1:-1:-1;;;;;35144:16:0;;;;;;:7;:16;;;;;:23;;-1:-1:-1;;35144:23:0;35163:4;35144:23;;;;;;35190:5;:19;;;;;;;;;;;;;;-1:-1:-1;;;;;;35190:19:0;;;;;;35073:156;-1:-1:-1;;;;;35251:16:0;;;;;;:7;:16;;;;;;;;:41;;;;;35290:2;35271:18;35281:7;35271:9;:18::i;:::-;:21;35251:41;35247:318;;;-1:-1:-1;;;;;35316:16:0;;35335:5;35316:16;;;:7;:16;;;;;:24;;-1:-1:-1;;35316:24:0;;;35363:183;35381:5;:12;35377:16;;35363:183;;;35440:7;-1:-1:-1;;;;;35430:17:0;:5;35436:1;35430:8;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;35430:8:0;:17;35426:97;;35479:16;35486:5;35493:1;35479:6;:16::i;:::-;35395:3;;35363:183;;35247:318;35007:573;34827:753;;;;:::o;34461:358::-;34545:12;;:20;-1:-1:-1;34537:46:0;;;;-1:-1:-1;;;34537:46:0;;12889:2:1;34537:46:0;;;12871:21:1;12928:2;12908:18;;;12901:30;-1:-1:-1;;;12947:18:1;;;12940:43;13000:18;;34537:46:0;12687:337:1;34537:46:0;34684:5;34667:99;34695:12;;:16;;34710:1;;34695:16;:::i;:::-;34691:1;:20;34667:99;;;34744:5;34750:3;:1;34752;34750:3;:::i;:::-;34744:10;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34744:10:0;34733:5;34739:1;34733:8;;;;;;;;:::i;:::-;;;;;;;;;;:21;;-1:-1:-1;;;;;;34733:21:0;-1:-1:-1;;;;;34733:21:0;;;;;;;;;;-1:-1:-1;34713:3:0;34667:99;;;;34776:5;:11;;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;;34776:11:0;;;;;-1:-1:-1;;;;;;34776:11:0;;;;;;-1:-1:-1;;34461: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:380::-;6966:1;6962:12;;;;7009;;;7030:61;;7084:4;7076:6;7072:17;7062:27;;7030:61;7137:2;7129:6;7126:14;7106:18;7103:38;7100:161;;7183:10;7178:3;7174:20;7171:1;7164:31;7218:4;7215:1;7208:15;7246:4;7243:1;7236:15;7100:161;;6887:380;;;:::o;7398:518::-;7500:2;7495:3;7492:11;7489:421;;;7536:5;7533:1;7526:16;7580:4;7577:1;7567:18;7650:2;7638:10;7634:19;7631:1;7627:27;7621:4;7617:38;7686:4;7674:10;7671:20;7668:47;;;-1:-1:-1;7709:4:1;7668:47;7764:2;7759:3;7755:12;7752:1;7748:20;7742:4;7738:31;7728:41;;7819:81;7837:2;7830:5;7827:13;7819:81;;;7896:1;7882:16;;7863:1;7852:13;7819:81;;8092:1299;8218:3;8212:10;8245:18;8237:6;8234:30;8231:56;;;8267:18;;:::i;:::-;8296:97;8386:6;8346:38;8378:4;8372:11;8346:38;:::i;:::-;8340:4;8296:97;:::i;:::-;8442:4;8473:2;8462:14;;8490:1;8485:649;;;;9178:1;9195:6;9192:89;;;-1:-1:-1;9247:19:1;;;9241:26;9192:89;-1:-1:-1;;8049:1:1;8045:11;;;8041:24;8037:29;8027:40;8073:1;8069:11;;;8024:57;9294:81;;8455:930;;8485:649;7345:1;7338:14;;;7382:4;7369:18;;-1:-1:-1;;8521:20:1;;;8639:222;8653:7;8650:1;8647:14;8639:222;;;8735:19;;;8729:26;8714:42;;8842:4;8827:20;;;;8795:1;8783:14;;;;8669:12;8639:222;;;8643:3;8889:6;8880:7;8877:19;8874:201;;;8950:19;;;8944:26;-1:-1:-1;;9033:1:1;9029:14;;;9045:3;9025:24;9021:37;9017:42;9002:58;8987:74;;8874:201;-1:-1:-1;;;;9121:1:1;9105:14;;;9101:22;9088:36;;-1:-1:-1;8092:1299:1:o;9733:125::-;9798:9;;;9819:10;;;9816:36;;;9832:18;;:::i;10553:168::-;10626:9;;;10657;;10674:15;;;10668:22;;10654:37;10644:71;;10695:18;;:::i;11746:212::-;11788:3;11826:5;11820:12;11870:6;11863:4;11856:5;11852:16;11847:3;11841:36;11932:1;11896:16;;11921:13;;;-1:-1:-1;11896:16:1;;11746:212;-1:-1:-1;11746:212:1:o;11963:719::-;-1:-1:-1;;;12470:3:1;12463:22;12445:3;12504:38;12539:1;12534:3;12530:11;12522:6;12504:38;:::i;:::-;-1:-1:-1;;;12558:2:1;12551:15;12585:37;12619:1;12615:2;12611:10;12603:6;12585:37;:::i;:::-;-1:-1:-1;;;12631:19:1;;12674:1;12666:10;;11963:719;-1:-1:-1;;;;;11963:719:1:o;13029:127::-;13090:10;13085:3;13081:20;13078:1;13071:31;13121:4;13118:1;13111:15;13145:4;13142:1;13135:15
Swarm Source
ipfs://f8f95d4f9f895a964670b1527551ab256f017b00408b4fe137aa1f737e0509a2
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.