Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
2,000 OGP
Holders
606
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 OGPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
OGP
Compiler Version
v0.8.26+commit.8a97fa7a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-08-18 */ // 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 OGP is IERC721A { using SafeMath for uint256; address private _owner; function owner() public view returns(address){ return _owner; } uint256 public constant MAX_SUPPLY = 2000; uint256 public constant MAX_FREE_PER_WALLET = 3; uint256 public constant COST = 0.0003 ether; string private constant _name = "Onegweipunks"; string private constant _symbol = "OGP"; string private _baseURI = "QmcnfraQYXA68Kc93jLvMeR7F3W1sbJbbDT9Srt7Xaobok"; 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(amount + _numberMinted(_caller) <= MAX_FREE_PER_WALLET, "Max per Wallet"); if(totalSupply()>1000){ 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
60e0604052602e60808181529061197760a03960019061001f90826100f8565b5060016002556105dc6003555f6004819055600955600c805460ff19169055348015610049575f80fd5b505f80546001600160a01b031916331790556101b2565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061008857607f821691505b6020821081036100a657634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156100f357805f5260205f20601f840160051c810160208510156100d15750805b601f840160051c820191505b818110156100f0575f81556001016100dd565b50505b505050565b81516001600160401b0381111561011157610111610060565b6101258161011f8454610074565b846100ac565b6020601f821160018114610157575f83156101405750848201515b5f19600385901b1c1916600184901b1784556100f0565b5f84815260208120601f198516915b828110156101865787850151825560209485019460019092019101610166565b50848210156101a357868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6117b8806101bf5f395ff3fe6080604052600436106101c5575f3560e01c806370a08231116100f6578063a22cb46511610094578063bf8fbbd211610063578063bf8fbbd214610550578063c87b56dd1461056a578063e985e9c514610589578063f14695ae146105d057610232565b8063a22cb465146104e9578063b88d4fde14610508578063ba7a86b814610527578063ba9ddfcc1461053b57610232565b80638ef1e259116100d05780638ef1e2591461046957806395d89b411461049757806398710d1e146104c2578063a0712d68146104d657610232565b806370a082311461041a578063748dc522146104395780638da5cb5b1461044d57610232565b80633ccfd60b116101635780634dd08f821161013d5780634dd08f82146103af5780635b70ea9f146103c8578063609526c2146103dc5780636352211e146103fb57610232565b80633ccfd60b1461035d57806342842e0e1461037157806347064d6a1461039057610232565b8063095ea7b31161019f578063095ea7b3146102ec57806318160ddd1461030b57806323b872dd1461032957806332cb6b0c1461034857610232565b806301ffc9a71461024457806306fdde0314610278578063081812fc146102b557610232565b36610232575f600b6101dc5f600b805490506105ef565b815481106101ec576101ec611251565b5f9182526020822001546040516001600160a01b039091169250829182913480156108fc0292909190818181858888f19350505050158015610230573d5f803e3d5ffd5b005b5f600b6101dc5f600b805490506105ef565b34801561024f575f80fd5b5061026361025e366004611265565b610644565b60405190151581526020015b60405180910390f35b348015610283575f80fd5b5060408051808201909152600c81526b4f6e656777656970756e6b7360a01b60208201525b60405161026f919061128c565b3480156102c0575f80fd5b506102d46102cf3660046112c1565b610691565b6040516001600160a01b03909116815260200161026f565b3480156102f7575f80fd5b506102306103063660046112f3565b6106d5565b348015610316575f80fd5b506004545b60405190815260200161026f565b348015610334575f80fd5b5061023061034336600461131b565b610790565b348015610353575f80fd5b5061031b6107d081565b348015610368575f80fd5b506102306107a0565b34801561037c575f80fd5b5061023061038b36600461131b565b610802565b34801561039b575f80fd5b506102306103aa3660046113e0565b61081c565b3480156103ba575f80fd5b50600c546102639060ff1681565b3480156103d3575f80fd5b50610230610851565b3480156103e7575f80fd5b5061031b6103f636600461142d565b6105ef565b348015610406575f80fd5b506102d46104153660046112c1565b610985565b348015610425575f80fd5b5061031b61043436600461144d565b61098f565b348015610444575f80fd5b5061031b6109d5565b348015610458575f80fd5b505f546001600160a01b03166102d4565b348015610474575f80fd5b5061026361048336600461144d565b600a6020525f908152604090205460ff1681565b3480156104a2575f80fd5b5060408051808201909152600381526204f47560ec1b60208201526102a8565b3480156104cd575f80fd5b5061031b600381565b6102306104e43660046112c1565b6109fb565b3480156104f4575f80fd5b50610230610503366004611466565b610aa5565b348015610513575f80fd5b5061023061052236600461149f565b610b39565b348015610532575f80fd5b50610230610b4a565b348015610546575f80fd5b5061031b60025481565b34801561055b575f80fd5b5061031b660110d9316ec00081565b348015610575575f80fd5b506102a86105843660046112c1565b610bd1565b348015610594575f80fd5b506102636105a3366004611516565b6001600160a01b039182165f90815260086020908152604080832093909416825291909152205460ff1690565b3480156105db575f80fd5b506102d46105ea3660046112c1565b610cd5565b5f806105fc60014361155b565b604080516020808201849052338284015260608083018990528351808403909101815260809092019092528051910120909150610639848261156e565b925050505b92915050565b5f6301ffc9a760e01b6001600160e01b03198316148061067457506380ac58cd60e01b6001600160e01b03198316145b8061063e5750506001600160e01b031916635b5e139f60e01b1490565b5f61069d826004541190565b6106ba576040516333d1c03960e21b815260040160405180910390fd5b505f908152600760205260409020546001600160a01b031690565b5f6106df82610cfd565b9050806001600160a01b0316836001600160a01b0316036106fe575f80fd5b336001600160a01b038216146107355761071881336105a3565b610735576040516367d9dca160e11b815260040160405180910390fd5b5f8281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61079b838383610d5f565b505050565b5f546001600160a01b031633146107d25760405162461bcd60e51b81526004016107c99061158d565b60405180910390fd5b6040514790339082156108fc029083905f818181858888f193505050501580156107fe573d5f803e3d5ffd5b5050565b61079b83838360405180602001604052805f815250610b39565b5f546001600160a01b031633146108455760405162461bcd60e51b81526004016107c99061158d565b60016107fe828261162c565b32331461088c5760405162461bcd60e51b81526020600482015260096024820152681b9bc814d8dc9a5c1d60ba1b60448201526064016107c9565b3360036107d08161089c60045490565b6108a691906116e7565b11156108e85760405162461bcd60e51b8152602060048201526011602482015270119c99595b5a5b9d0814dbdb190813dd5d607a1b60448201526064016107c9565b6003610916836001600160a01b03165f908152600660205260409081902054901c67ffffffffffffffff1690565b61092090836116e7565b111561095f5760405162461bcd60e51b815260206004820152600e60248201526d13585e081c195c8815d85b1b195d60921b60448201526064016107c9565b6103e861096b60045490565b111561097b576109796109d5565b505b6107fe8282610efd565b5f61063e82610cfd565b5f815f036109b0576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526006602052604090205467ffffffffffffffff1690565b5f805b6003548110156109f7576109ec81806116fa565b6002556001016109d8565b5090565b336107d082610a0960045490565b610a1391906116e7565b1115610a4c5760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b60448201526064016107c9565b34610a5e660110d9316ec000846116fa565b1115610a9b5760405162461bcd60e51b815260206004820152600c60248201526b56616c756520746f204c6f7760a01b60448201526064016107c9565b6107fe8183610efd565b336001600160a01b03831603610ace5760405163b06307db60e01b815260040160405180910390fd5b335f8181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610b44848484610d5f565b50505050565b5f546001600160a01b03163314610b735760405162461bcd60e51b81526004016107c99061158d565b600c5460ff1615610bb75760405162461bcd60e51b815260206004820152600e60248201526d55736564206f6e6c79204f6e636560901b60448201526064016107c9565b600c805460ff19166001179055610bcf336032610efd565b565b6060610bde826004541190565b610bfb57604051630a14c4b560e41b815260040160405180910390fd5b5f60018054610c09906115b0565b80601f0160208091040260200160405190810160405280929190818152602001828054610c35906115b0565b8015610c805780601f10610c5757610100808354040283529160200191610c80565b820191905f5260205f20905b815481529060010190602001808311610c6357829003601f168201915b5050505050905080515f03610ca35760405180602001604052805f815250610cce565b80610cad84610fbd565b604051602001610cbe929190611728565b6040516020818303038152906040525b9392505050565b600b8181548110610ce4575f80fd5b5f918252602090912001546001600160a01b0316905081565b5f81600454811015610d46575f8181526005602052604081205490600160e01b82169003610d44575b805f03610cce57505f19015f81815260056020526040902054610d26565b505b604051636f96cda160e11b815260040160405180910390fd5b5f610d6982610cfd565b9050836001600160a01b0316816001600160a01b031614610d9c5760405162a1148160e81b815260040160405180910390fd5b5f828152600760205260408120546001600160a01b0390811691908616331480610dcb5750610dcb86336105a3565b80610dde57506001600160a01b03821633145b905080610dfe57604051632ce44b5f60e11b815260040160405180910390fd5b8115610e20575f84815260076020526040902080546001600160a01b03191690555b6001600160a01b038681165f90815260066020908152604080832080545f1901905592881682528282208054600101905586825260059052908120600160e11b4260a01b8817811790915584169003610ea757600184015f818152600560205260408120549003610ea5576004548114610ea5575f8181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610ef5868686600161100c565b505050505050565b6004545f829003610f215760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f9081526006602090815260408083208054680100000000000000018702019055838352600590915290204260a01b84176001841460e11b179055808083015b6040516001830192906001600160a01b038716905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610f6b575060045561079b5f84838561100c565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610ffa57600183039250600a81066030018353600a9004610fdc565b50819003601f19909101908152919050565b335f818152600a602052604090205460ff16158015611034575060326110318261098f565b10155b1561109e576001600160a01b0381165f818152600a60205260408120805460ff19166001908117909155600b805491820181559091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90180546001600160a01b03191690911790555b6001600160a01b0381165f908152600a602052604090205460ff1680156110cd575060326110cb8261098f565b105b15611145576001600160a01b0381165f908152600a60205260408120805460ff191690555b600b54811015610ef557816001600160a01b0316600b828154811061111957611119611251565b5f918252602090912001546001600160a01b03160361113d5761113d600b8261114c565b6001016110f2565b5050505050565b8154811061118c5760405162461bcd60e51b815260206004820152600d60248201526c4f7574206f6620626f756e647360981b60448201526064016107c9565b805b825461119c9060019061155b565b81101561121c57826111af8260016116e7565b815481106111bf576111bf611251565b905f5260205f20015f9054906101000a90046001600160a01b03168382815481106111ec576111ec611251565b5f91825260209091200180546001600160a01b0319166001600160a01b039290921691909117905560010161118e565b508180548061122d5761122d61176e565b5f8281526020902081015f1990810180546001600160a01b03191690550190555050565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611275575f80fd5b81356001600160e01b031981168114610cce575f80fd5b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156112d1575f80fd5b5035919050565b80356001600160a01b03811681146112ee575f80fd5b919050565b5f8060408385031215611304575f80fd5b61130d836112d8565b946020939093013593505050565b5f805f6060848603121561132d575f80fd5b611336846112d8565b9250611344602085016112d8565b929592945050506040919091013590565b634e487b7160e01b5f52604160045260245ffd5b5f8067ffffffffffffffff84111561138357611383611355565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff821117156113b2576113b2611355565b6040528381529050808284018510156113c9575f80fd5b838360208301375f60208583010152509392505050565b5f602082840312156113f0575f80fd5b813567ffffffffffffffff811115611406575f80fd5b8201601f81018413611416575f80fd5b61142584823560208401611369565b949350505050565b5f806040838503121561143e575f80fd5b50508035926020909101359150565b5f6020828403121561145d575f80fd5b610cce826112d8565b5f8060408385031215611477575f80fd5b611480836112d8565b915060208301358015158114611494575f80fd5b809150509250929050565b5f805f80608085870312156114b2575f80fd5b6114bb856112d8565b93506114c9602086016112d8565b925060408501359150606085013567ffffffffffffffff8111156114eb575f80fd5b8501601f810187136114fb575f80fd5b61150a87823560208401611369565b91505092959194509250565b5f8060408385031215611527575f80fd5b611530836112d8565b915061153e602084016112d8565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561063e5761063e611547565b5f8261158857634e487b7160e01b5f52601260045260245ffd5b500690565b6020808252600990820152683737ba1027bbb732b960b91b604082015260600190565b600181811c908216806115c457607f821691505b6020821081036115e257634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561079b57805f5260205f20601f840160051c8101602085101561160d5750805b601f840160051c820191505b81811015611145575f8155600101611619565b815167ffffffffffffffff81111561164657611646611355565b61165a8161165484546115b0565b846115e8565b6020601f82116001811461168c575f83156116755750848201515b5f19600385901b1c1916600184901b178455611145565b5f84815260208120601f198516915b828110156116bb578785015182556020948501946001909201910161169b565b50848210156116d857868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b8082018082111561063e5761063e611547565b808202811582820484141761063e5761063e611547565b5f81518060208401855e5f93019283525090919050565b66697066733a2f2f60c81b81525f6117436007830185611711565b602f60f81b81526117576001820185611711565b64173539b7b760d91b815260050195945050505050565b634e487b7160e01b5f52603160045260245ffdfea2646970667358221220fb2facd0c7260f4ee8c998c93e09e09c0093f9db063590a274feb3ecc464821a64736f6c634300081a0033516d636e6672615159584136384b6339336a4c764d6552374633573173624a62624454395372743758616f626f6b
Deployed Bytecode
0x6080604052600436106101c5575f3560e01c806370a08231116100f6578063a22cb46511610094578063bf8fbbd211610063578063bf8fbbd214610550578063c87b56dd1461056a578063e985e9c514610589578063f14695ae146105d057610232565b8063a22cb465146104e9578063b88d4fde14610508578063ba7a86b814610527578063ba9ddfcc1461053b57610232565b80638ef1e259116100d05780638ef1e2591461046957806395d89b411461049757806398710d1e146104c2578063a0712d68146104d657610232565b806370a082311461041a578063748dc522146104395780638da5cb5b1461044d57610232565b80633ccfd60b116101635780634dd08f821161013d5780634dd08f82146103af5780635b70ea9f146103c8578063609526c2146103dc5780636352211e146103fb57610232565b80633ccfd60b1461035d57806342842e0e1461037157806347064d6a1461039057610232565b8063095ea7b31161019f578063095ea7b3146102ec57806318160ddd1461030b57806323b872dd1461032957806332cb6b0c1461034857610232565b806301ffc9a71461024457806306fdde0314610278578063081812fc146102b557610232565b36610232575f600b6101dc5f600b805490506105ef565b815481106101ec576101ec611251565b5f9182526020822001546040516001600160a01b039091169250829182913480156108fc0292909190818181858888f19350505050158015610230573d5f803e3d5ffd5b005b5f600b6101dc5f600b805490506105ef565b34801561024f575f80fd5b5061026361025e366004611265565b610644565b60405190151581526020015b60405180910390f35b348015610283575f80fd5b5060408051808201909152600c81526b4f6e656777656970756e6b7360a01b60208201525b60405161026f919061128c565b3480156102c0575f80fd5b506102d46102cf3660046112c1565b610691565b6040516001600160a01b03909116815260200161026f565b3480156102f7575f80fd5b506102306103063660046112f3565b6106d5565b348015610316575f80fd5b506004545b60405190815260200161026f565b348015610334575f80fd5b5061023061034336600461131b565b610790565b348015610353575f80fd5b5061031b6107d081565b348015610368575f80fd5b506102306107a0565b34801561037c575f80fd5b5061023061038b36600461131b565b610802565b34801561039b575f80fd5b506102306103aa3660046113e0565b61081c565b3480156103ba575f80fd5b50600c546102639060ff1681565b3480156103d3575f80fd5b50610230610851565b3480156103e7575f80fd5b5061031b6103f636600461142d565b6105ef565b348015610406575f80fd5b506102d46104153660046112c1565b610985565b348015610425575f80fd5b5061031b61043436600461144d565b61098f565b348015610444575f80fd5b5061031b6109d5565b348015610458575f80fd5b505f546001600160a01b03166102d4565b348015610474575f80fd5b5061026361048336600461144d565b600a6020525f908152604090205460ff1681565b3480156104a2575f80fd5b5060408051808201909152600381526204f47560ec1b60208201526102a8565b3480156104cd575f80fd5b5061031b600381565b6102306104e43660046112c1565b6109fb565b3480156104f4575f80fd5b50610230610503366004611466565b610aa5565b348015610513575f80fd5b5061023061052236600461149f565b610b39565b348015610532575f80fd5b50610230610b4a565b348015610546575f80fd5b5061031b60025481565b34801561055b575f80fd5b5061031b660110d9316ec00081565b348015610575575f80fd5b506102a86105843660046112c1565b610bd1565b348015610594575f80fd5b506102636105a3366004611516565b6001600160a01b039182165f90815260086020908152604080832093909416825291909152205460ff1690565b3480156105db575f80fd5b506102d46105ea3660046112c1565b610cd5565b5f806105fc60014361155b565b604080516020808201849052338284015260608083018990528351808403909101815260809092019092528051910120909150610639848261156e565b925050505b92915050565b5f6301ffc9a760e01b6001600160e01b03198316148061067457506380ac58cd60e01b6001600160e01b03198316145b8061063e5750506001600160e01b031916635b5e139f60e01b1490565b5f61069d826004541190565b6106ba576040516333d1c03960e21b815260040160405180910390fd5b505f908152600760205260409020546001600160a01b031690565b5f6106df82610cfd565b9050806001600160a01b0316836001600160a01b0316036106fe575f80fd5b336001600160a01b038216146107355761071881336105a3565b610735576040516367d9dca160e11b815260040160405180910390fd5b5f8281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61079b838383610d5f565b505050565b5f546001600160a01b031633146107d25760405162461bcd60e51b81526004016107c99061158d565b60405180910390fd5b6040514790339082156108fc029083905f818181858888f193505050501580156107fe573d5f803e3d5ffd5b5050565b61079b83838360405180602001604052805f815250610b39565b5f546001600160a01b031633146108455760405162461bcd60e51b81526004016107c99061158d565b60016107fe828261162c565b32331461088c5760405162461bcd60e51b81526020600482015260096024820152681b9bc814d8dc9a5c1d60ba1b60448201526064016107c9565b3360036107d08161089c60045490565b6108a691906116e7565b11156108e85760405162461bcd60e51b8152602060048201526011602482015270119c99595b5a5b9d0814dbdb190813dd5d607a1b60448201526064016107c9565b6003610916836001600160a01b03165f908152600660205260409081902054901c67ffffffffffffffff1690565b61092090836116e7565b111561095f5760405162461bcd60e51b815260206004820152600e60248201526d13585e081c195c8815d85b1b195d60921b60448201526064016107c9565b6103e861096b60045490565b111561097b576109796109d5565b505b6107fe8282610efd565b5f61063e82610cfd565b5f815f036109b0576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526006602052604090205467ffffffffffffffff1690565b5f805b6003548110156109f7576109ec81806116fa565b6002556001016109d8565b5090565b336107d082610a0960045490565b610a1391906116e7565b1115610a4c5760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b60448201526064016107c9565b34610a5e660110d9316ec000846116fa565b1115610a9b5760405162461bcd60e51b815260206004820152600c60248201526b56616c756520746f204c6f7760a01b60448201526064016107c9565b6107fe8183610efd565b336001600160a01b03831603610ace5760405163b06307db60e01b815260040160405180910390fd5b335f8181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610b44848484610d5f565b50505050565b5f546001600160a01b03163314610b735760405162461bcd60e51b81526004016107c99061158d565b600c5460ff1615610bb75760405162461bcd60e51b815260206004820152600e60248201526d55736564206f6e6c79204f6e636560901b60448201526064016107c9565b600c805460ff19166001179055610bcf336032610efd565b565b6060610bde826004541190565b610bfb57604051630a14c4b560e41b815260040160405180910390fd5b5f60018054610c09906115b0565b80601f0160208091040260200160405190810160405280929190818152602001828054610c35906115b0565b8015610c805780601f10610c5757610100808354040283529160200191610c80565b820191905f5260205f20905b815481529060010190602001808311610c6357829003601f168201915b5050505050905080515f03610ca35760405180602001604052805f815250610cce565b80610cad84610fbd565b604051602001610cbe929190611728565b6040516020818303038152906040525b9392505050565b600b8181548110610ce4575f80fd5b5f918252602090912001546001600160a01b0316905081565b5f81600454811015610d46575f8181526005602052604081205490600160e01b82169003610d44575b805f03610cce57505f19015f81815260056020526040902054610d26565b505b604051636f96cda160e11b815260040160405180910390fd5b5f610d6982610cfd565b9050836001600160a01b0316816001600160a01b031614610d9c5760405162a1148160e81b815260040160405180910390fd5b5f828152600760205260408120546001600160a01b0390811691908616331480610dcb5750610dcb86336105a3565b80610dde57506001600160a01b03821633145b905080610dfe57604051632ce44b5f60e11b815260040160405180910390fd5b8115610e20575f84815260076020526040902080546001600160a01b03191690555b6001600160a01b038681165f90815260066020908152604080832080545f1901905592881682528282208054600101905586825260059052908120600160e11b4260a01b8817811790915584169003610ea757600184015f818152600560205260408120549003610ea5576004548114610ea5575f8181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610ef5868686600161100c565b505050505050565b6004545f829003610f215760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f9081526006602090815260408083208054680100000000000000018702019055838352600590915290204260a01b84176001841460e11b179055808083015b6040516001830192906001600160a01b038716905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610f6b575060045561079b5f84838561100c565b604080516080810191829052607f0190826030600a8206018353600a90045b8015610ffa57600183039250600a81066030018353600a9004610fdc565b50819003601f19909101908152919050565b335f818152600a602052604090205460ff16158015611034575060326110318261098f565b10155b1561109e576001600160a01b0381165f818152600a60205260408120805460ff19166001908117909155600b805491820181559091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90180546001600160a01b03191690911790555b6001600160a01b0381165f908152600a602052604090205460ff1680156110cd575060326110cb8261098f565b105b15611145576001600160a01b0381165f908152600a60205260408120805460ff191690555b600b54811015610ef557816001600160a01b0316600b828154811061111957611119611251565b5f918252602090912001546001600160a01b03160361113d5761113d600b8261114c565b6001016110f2565b5050505050565b8154811061118c5760405162461bcd60e51b815260206004820152600d60248201526c4f7574206f6620626f756e647360981b60448201526064016107c9565b805b825461119c9060019061155b565b81101561121c57826111af8260016116e7565b815481106111bf576111bf611251565b905f5260205f20015f9054906101000a90046001600160a01b03168382815481106111ec576111ec611251565b5f91825260209091200180546001600160a01b0319166001600160a01b039290921691909117905560010161118e565b508180548061122d5761122d61176e565b5f8281526020902081015f1990810180546001600160a01b03191690550190555050565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611275575f80fd5b81356001600160e01b031981168114610cce575f80fd5b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f602082840312156112d1575f80fd5b5035919050565b80356001600160a01b03811681146112ee575f80fd5b919050565b5f8060408385031215611304575f80fd5b61130d836112d8565b946020939093013593505050565b5f805f6060848603121561132d575f80fd5b611336846112d8565b9250611344602085016112d8565b929592945050506040919091013590565b634e487b7160e01b5f52604160045260245ffd5b5f8067ffffffffffffffff84111561138357611383611355565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff821117156113b2576113b2611355565b6040528381529050808284018510156113c9575f80fd5b838360208301375f60208583010152509392505050565b5f602082840312156113f0575f80fd5b813567ffffffffffffffff811115611406575f80fd5b8201601f81018413611416575f80fd5b61142584823560208401611369565b949350505050565b5f806040838503121561143e575f80fd5b50508035926020909101359150565b5f6020828403121561145d575f80fd5b610cce826112d8565b5f8060408385031215611477575f80fd5b611480836112d8565b915060208301358015158114611494575f80fd5b809150509250929050565b5f805f80608085870312156114b2575f80fd5b6114bb856112d8565b93506114c9602086016112d8565b925060408501359150606085013567ffffffffffffffff8111156114eb575f80fd5b8501601f810187136114fb575f80fd5b61150a87823560208401611369565b91505092959194509250565b5f8060408385031215611527575f80fd5b611530836112d8565b915061153e602084016112d8565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561063e5761063e611547565b5f8261158857634e487b7160e01b5f52601260045260245ffd5b500690565b6020808252600990820152683737ba1027bbb732b960b91b604082015260600190565b600181811c908216806115c457607f821691505b6020821081036115e257634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561079b57805f5260205f20601f840160051c8101602085101561160d5750805b601f840160051c820191505b81811015611145575f8155600101611619565b815167ffffffffffffffff81111561164657611646611355565b61165a8161165484546115b0565b846115e8565b6020601f82116001811461168c575f83156116755750848201515b5f19600385901b1c1916600184901b178455611145565b5f84815260208120601f198516915b828110156116bb578785015182556020948501946001909201910161169b565b50848210156116d857868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b8082018082111561063e5761063e611547565b808202811582820484141761063e5761063e611547565b5f81518060208401855e5f93019283525090919050565b66697066733a2f2f60c81b81525f6117436007830185611711565b602f60f81b81526117576001820185611711565b64173539b7b760d91b815260050195945050505050565b634e487b7160e01b5f52603160045260245ffdfea2646970667358221220fb2facd0c7260f4ee8c998c93e09e09c0093f9db063590a274feb3ecc464821a64736f6c634300081a0033
Deployed Bytecode Sourcemap
15531:23256:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33474:14;33491:5;33497:37;33518:1;33521:5;:12;;;;33497:20;:37::i;:::-;33491:44;;;;;;;;:::i;:::-;;;;;;;;;;33595:24;;-1:-1:-1;;;;;33491:44:0;;;;-1:-1:-1;33491:44:0;;;;33609:9;33595:24;;;;;33609:9;;33595:24;;33491:44;33595:24;33609:9;33491:44;33595:24;;;;;;;;;;;;;;;;;;;;;15531:23256;33673:14;33690:5;33696:37;33717:1;33720:5;:12;;;;33696:20;:37::i;20704:615::-;;;;;;;;;;-1:-1:-1;20704:615:0;;;;;:::i;:::-;;:::i;:::-;;;602:14:1;;595:22;577:41;;565:2;550:18;20704:615:0;;;;;;;;24911:100;;;;;;;;;;-1:-1:-1;24998:5:0;;;;;;;;;;;;-1:-1:-1;;;24998:5:0;;;;24911:100;;;;;;;:::i;26578:204::-;;;;;;;;;;-1:-1:-1;26578:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1447:32:1;;;1429:51;;1417:2;1402:18;26578:204:0;1283:203:1;26061:451:0;;;;;;;;;;-1:-1:-1;26061:451:0;;;;;:::i;:::-;;:::i;19947:300::-;;;;;;;;;;-1:-1:-1;20197:13:0;;19947:300;;;2120:25:1;;;2108:2;2093:18;19947:300:0;1974:177:1;27464:190:0;;;;;;;;;;-1:-1:-1;27464:190:0;;;;;:::i;:::-;;:::i;15713:41::-;;;;;;;;;;;;15750:4;15713:41;;38639:145;;;;;;;;;;;;;:::i;27725:205::-;;;;;;;;;;-1:-1:-1;27725:205:0;;;;;:::i;:::-;;:::i;19236:91::-;;;;;;;;;;-1:-1:-1;19236:91:0;;;;;:::i;:::-;;:::i;38230:32::-;;;;;;;;;;-1:-1:-1;38230:32:0;;;;;;;;16384:413;;;;;;;;;;;;;:::i;37914:308::-;;;;;;;;;;-1:-1:-1;37914:308:0;;;;;:::i;:::-;;:::i;24700:144::-;;;;;;;;;;-1:-1:-1;24700:144:0;;;;;:::i;:::-;;:::i;21383:234::-;;;;;;;;;;-1:-1:-1;21383:234:0;;;;;:::i;:::-;;:::i;16860:114::-;;;;;;;;;;;;;:::i;15628:77::-;;;;;;;;;;-1:-1:-1;15665:7:0;15691:6;-1:-1:-1;;;;;15691:6:0;15628:77;;30793:39;;;;;;;;;;-1:-1:-1;30793:39:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;25080:104;;;;;;;;;;-1:-1:-1;25169:7:0;;;;;;;;;;;;-1:-1:-1;;;25169:7:0;;;;25080:104;;15761:47;;;;;;;;;;;;15807:1;15761:47;;16109:267;;;;;;:::i;:::-;;:::i;26854:308::-;;;;;;;;;;-1:-1:-1;26854:308:0;;;;;:::i;:::-;;:::i;28001:227::-;;;;;;;;;;-1:-1:-1;28001:227:0;;;;;:::i;:::-;;:::i;38269:163::-;;;;;;;;;;;;;:::i;16805:28::-;;;;;;;;;;;;;;;;15815:43;;;;;;;;;;;;15846:12;15815:43;;25198:339;;;;;;;;;;-1:-1:-1;25198:339:0;;;;;:::i;:::-;;:::i;27233:164::-;;;;;;;;;;-1:-1:-1;27233:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;27354:25:0;;;27330:4;27354:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;27233:164;30839:22;;;;;;;;;;-1:-1:-1;30839:22:0;;;;;:::i;:::-;;:::i;37914:308::-;37995:7;;38037:16;38052:1;38037:12;:16;:::i;:::-;38127:44;;;;;;;6188:25:1;;;38151:10:0;6229:18:1;;;6222:60;6298:18;;;;6291:34;;;38127:44:0;;;;;;;;;;6161:18:1;;;;38127:44:0;;;38117:55;;;;;6188:25:1;;-1:-1:-1;38190:24:0;38211:3;38117:55;38190:24;:::i;:::-;38183:31;;;;37914:308;;;;;:::o;20704:615::-;20789:4;-1:-1:-1;;;;;;;;;21089:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;21166:25:0;;;21089:102;:179;;;-1:-1:-1;;;;;;;;21243:25:0;-1:-1:-1;;;21243:25:0;;20704:615::o;26578:204::-;26646:7;26671:16;26679:7;28630:13;;-1:-1:-1;28620:23:0;28483:168;26671:16;26666:64;;26696:34;;-1:-1:-1;;;26696:34:0;;;;;;;;;;;26666:64;-1:-1:-1;26750:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;26750:24:0;;26578:204::o;26061:451::-;26134:13;26166:27;26185:7;26166:18;:27::i;:::-;26134:61;;26216:5;-1:-1:-1;;;;;26210:11:0;:2;-1:-1:-1;;;;;26210:11:0;;26206:25;;26223:8;;;26206:25;35900:10;-1:-1:-1;;;;;26248:28:0;;;26244:175;;26296:44;26313:5;35900:10;27233:164;:::i;26296:44::-;26291:128;;26368:35;;-1:-1:-1;;;26368:35:0;;;;;;;;;;;26291:128;26431:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;26431:29:0;-1:-1:-1;;;;;26431:29:0;;;;;;;;;26476:28;;26431:24;;26476:28;;;;;;;26123:389;26061:451;;:::o;27464:190::-;27618:28;27628:4;27634:2;27638:7;27618:9;:28::i;:::-;27464:190;;;:::o;38639:145::-;38481:6;;-1:-1:-1;;;;;38481:6:0;38489:10;38481:18;38473:40;;;;-1:-1:-1;;;38473:40:0;;;;;;;:::i;:::-;;;;;;;;;38739:37:::1;::::0;38707:21:::1;::::0;38747:10:::1;::::0;38739:37;::::1;;;::::0;38707:21;;38689:15:::1;38739:37:::0;38689:15;38739:37;38707:21;38747:10;38739:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;38678:106;38639:145::o:0;27725:205::-;27883:39;27900:4;27906:2;27910:7;27883:39;;;;;;;;;;;;:16;:39::i;19236:91::-;38481:6;;-1:-1:-1;;;;;38481:6:0;38489:10;38481:18;38473:40;;;;-1:-1:-1;;;38473:40:0;;;;;;;:::i;:::-;19303:8:::1;:16;19314:5:::0;19303:8;:16:::1;:::i;16384:413::-:0;38576:9;38587:10;38576:21;38568:43;;;;-1:-1:-1;;;38568:43:0;;9598:2:1;38568:43:0;;;9580:21:1;9637:1;9617:18;;;9610:29;-1:-1:-1;;;9655:18:1;;;9648:39;9704:18;;38568:43:0;9396:332:1;38568:43:0;35900:10;15807:1:::1;15750:4;15807:1:::0;16532:13:::1;20197::::0;;;19947:300;16532:13:::1;:22;;;;:::i;:::-;:36;;16524:66;;;::::0;-1:-1:-1;;;16524:66:0;;10065:2:1;16524: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;;16524:66:0::1;9863:341:1::0;16524:66:0::1;15807:1;16618:22;16632:7;-1:-1:-1::0;;;;;21788:25:0;21760:7;21788:25;;;:18;:25;;17224:2;21788:25;;;;;:49;;17087:13;21787:80;;21699:176;16618:22:::1;16609:31;::::0;:6;:31:::1;:::i;:::-;:54;;16601:81;;;::::0;-1:-1:-1;;;16601:81:0;;10411:2:1;16601:81:0::1;::::0;::::1;10393:21:1::0;10450:2;10430:18;;;10423:30;-1:-1:-1;;;10469:18:1;;;10462:44;10523:18;;16601:81:0::1;10209:338:1::0;16601:81:0::1;16712:4;16698:13;20197::::0;;;19947:300;16698:13:::1;:18;16695:60;;;16732:11;:9;:11::i;:::-;;16695:60;16767:22;16773:7;16782:6;16767:5;:22::i;24700:144::-:0;24764:7;24807:27;24826:7;24807:18;:27::i;21383:234::-;21447:7;21489:5;21499:1;21471:29;21467:70;;21509:28;;-1:-1:-1;;;21509:28:0;;;;;;;;;;;21467:70;-1:-1:-1;;;;;;21555:25:0;;;;;:18;:25;;;;;;17087:13;21555:54;;21383:234::o;16860:114::-;16897:7;16921:6;16916:54;16933:4;;16929:1;:8;16916:54;;;16961:3;16963:1;;16961:3;:::i;:::-;16949:9;:15;16939:3;;16916:54;;;;16860:114;:::o;16109:267::-;35900:10;15750:4;16240:6;16224:13;20197;;;19947:300;16224:13;:22;;;;:::i;:::-;:36;;16216:57;;;;-1:-1:-1;;;16216:57:0;;10927:2:1;16216:57:0;;;10909:21:1;10966:1;10946:18;;;10939:29;-1:-1:-1;;;10984:18:1;;;10977:38;11032:18;;16216:57:0;10725:331:1;16216:57:0;16307:9;16292:11;15846:12;16292:6;:11;:::i;:::-;:24;;16284:49;;;;-1:-1:-1;;;16284:49:0;;11263:2:1;16284:49:0;;;11245:21:1;11302:2;11282:18;;;11275:30;-1:-1:-1;;;11321:18:1;;;11314:42;11373:18;;16284:49:0;11061:336:1;16284:49:0;16346:22;16352:7;16361:6;16346:5;:22::i;26854:308::-;35900:10;-1:-1:-1;;;;;26953:31:0;;;26949:61;;26993:17;;-1:-1:-1;;;26993:17:0;;;;;;;;;;;26949:61;35900:10;27023:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;27023:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;27023:60:0;;;;;;;;;;27099:55;;577:41:1;;;27023:49:0;;35900:10;27099:55;;550:18:1;27099:55:0;;;;;;;26854:308;;:::o;28001:227::-;28192:28;28202:4;28208:2;28212:7;28192:9;:28::i;:::-;28001:227;;;;:::o;38269:163::-;38481:6;;-1:-1:-1;;;;;38481:6:0;38489:10;38481:18;38473:40;;;;-1:-1:-1;;;38473:40:0;;;;;;;:::i;:::-;38326:12:::1;::::0;::::1;;:19;38318:46;;;::::0;-1:-1:-1;;;38318:46:0;;11604:2:1;38318:46:0::1;::::0;::::1;11586:21:1::0;11643:2;11623:18;;;11616:30;-1:-1:-1;;;11662:18:1;;;11655:44;11716:18;;38318:46:0::1;11402:338:1::0;38318:46:0::1;38375:12;:17:::0;;-1:-1:-1;;38375:17:0::1;38388:4;38375:17;::::0;;38403:21:::1;38409:10;38421:2;38403:5;:21::i;:::-;38269:163::o:0;25198:339::-;25271:13;25302:16;25310:7;28630:13;;-1:-1:-1;28620:23:0;28483:168;25302:16;25297:59;;25327:29;;-1:-1:-1;;;25327:29:0;;;;;;;;;;;25297:59;25367:21;25391:8;25367:32;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25423:7;25417:21;25442:1;25417:26;:112;;;;;;;;;;;;;;;;;25481:7;25495:18;25505:7;25495:9;:18::i;:::-;25453:70;;;;;;;;;:::i;:::-;;;;;;;;;;;;;25417:112;25410:119;25198:339;-1:-1:-1;;;25198:339:0:o;30839:22::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30839:22:0;;-1:-1:-1;30839:22:0;:::o;22215:1129::-;22282:7;22317;22419:13;;22412:4;:20;22408:869;;;22457:14;22474:23;;;:17;:23;;;;;;;-1:-1:-1;;;22563:23:0;;:28;;22559:699;;23082:113;23089:6;23099:1;23089:11;23082:113;;-1:-1:-1;;;23160:6:0;23142:25;;;;:17;:25;;;;;;23082:113;;22559:699;22434:843;22408:869;23305:31;;-1:-1:-1;;;23305:31:0;;;;;;;;;;;30868:2561;31009:27;31039;31058:7;31039:18;:27::i;:::-;31009:57;;31124:4;-1:-1:-1;;;;;31083:45:0;31099:19;-1:-1:-1;;;;;31083:45:0;;31079:86;;31137:28;;-1:-1:-1;;;31137:28:0;;;;;;;;;;;31079:86;31178:23;31204:24;;;:15;:24;;;;;;-1:-1:-1;;;;;31204:24:0;;;;31178:23;31267:27;;35900:10;31267:27;;:91;;-1:-1:-1;31315:43:0;31332:4;35900:10;27233:164;:::i;31315:43::-;31267:150;;;-1:-1:-1;;;;;;31379:38:0;;35900:10;31379:38;31267:150;31241:177;;31436:17;31431:66;;31462:35;;-1:-1:-1;;;31462:35:0;;;;;;;;;;;31431:66;31587:15;31569:39;31565:103;;31632:24;;;;:15;:24;;;;;31625:31;;-1:-1:-1;;;;;;31625:31:0;;;31565:103;-1:-1:-1;;;;;32035:24:0;;;;;;;:18;:24;;;;;;;;32033:26;;-1:-1:-1;;32033:26:0;;;32104:22;;;;;;;;32102:24;;-1:-1:-1;32102:24:0;;;32397:26;;;:17;:26;;;;;-1:-1:-1;;;32485:15:0;17741:3;32485:41;32443:84;;:128;;32397:174;;;32691:46;;:51;;32687:626;;32795:1;32785:11;;32763:19;32918:30;;;:17;:30;;;;;;:35;;32914:384;;33056:13;;33041:11;:28;33037:242;;33203:30;;;;:17;:30;;;;;:52;;;33037:242;32744:569;32687:626;33360:7;33356:2;-1:-1:-1;;;;;33341:27:0;33350:4;-1:-1:-1;;;;;33341:27:0;;;;;;;;;;;33379:42;33400:4;33406:2;33410:7;33419:1;33379:20;:42::i;:::-;30992:2437;;;30868:2561;;;:::o;28916:1596::-;29004:13;;28981:20;29103:13;;;29099:44;;29125:18;;-1:-1:-1;;;29125:18:0;;;;;;;;;;;29099:44;-1:-1:-1;;;;;29620:22:0;;;;;;:18;:22;;;;17224:2;29620:22;;;:70;;29658:31;29646:44;;29620:70;;;29933:31;;;:17;:31;;;;;30026:15;17741:3;30026:41;29984:84;;-1:-1:-1;30104:13:0;;18000:3;30089:56;29984:162;29933:213;;:31;30227:23;;;30267:111;30294:40;;30319:14;;;;;-1:-1:-1;;;;;30294:40:0;;;30311:1;;30294:40;;30311:1;;30294:40;30373:3;30358:12;:18;30267:111;;-1:-1:-1;30394:13:0;:28;30444:60;30473:1;30477:2;30481:12;30495:8;30444:20;:60::i;36024:1882::-;36495:4;36489:11;;36502:3;36485:21;;36576:17;;;;37248:11;;;37125:5;37382:2;37396;37386:13;;37378:22;37248:11;37365:36;37438:2;37428:13;;37022:661;37454:4;37022:661;;;37622:1;37617:3;37613:11;37606:18;;37666:2;37660:4;37656:13;37652:2;37648:22;37643:3;37635:36;37539:2;37529:13;;37022:661;;;-1:-1:-1;37706:13:0;;;-1:-1:-1;;37815:12:0;;;37869:19;;;37815:12;36024:1882;-1:-1:-1;36024:1882:0:o;34855:753::-;35072:10;35054:15;35106:16;;;:7;:16;;;;;;;;35105:17;:43;;;;;35146:2;35126:18;35136:7;35126:9;:18::i;:::-;:22;;35105:43;35101:156;;;-1:-1:-1;;;;;35172:16:0;;;;;;:7;:16;;;;;:23;;-1:-1:-1;;35172:23:0;35191:4;35172:23;;;;;;35218:5;:19;;;;;;;;;;;;;;-1:-1:-1;;;;;;35218:19:0;;;;;;35101:156;-1:-1:-1;;;;;35279:16:0;;;;;;:7;:16;;;;;;;;:41;;;;;35318:2;35299:18;35309:7;35299:9;:18::i;:::-;:21;35279:41;35275:318;;;-1:-1:-1;;;;;35344:16:0;;35363:5;35344:16;;;:7;:16;;;;;:24;;-1:-1:-1;;35344:24:0;;;35391:183;35409:5;:12;35405:16;;35391:183;;;35468:7;-1:-1:-1;;;;;35458:17:0;:5;35464:1;35458:8;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;35458:8:0;:17;35454:97;;35507:16;35514:5;35521:1;35507:6;:16::i;:::-;35423:3;;35391:183;;35275:318;35035:573;34855:753;;;;:::o;34489:358::-;34573:12;;:20;-1:-1:-1;34565:46:0;;;;-1:-1:-1;;;34565:46:0;;12888:2:1;34565:46:0;;;12870:21:1;12927:2;12907:18;;;12900:30;-1:-1:-1;;;12946:18:1;;;12939:43;12999:18;;34565:46:0;12686:337:1;34565:46:0;34712:5;34695:99;34723:12;;:16;;34738:1;;34723:16;:::i;:::-;34719:1;:20;34695:99;;;34772:5;34778:3;:1;34780;34778:3;:::i;:::-;34772:10;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34772:10:0;34761:5;34767:1;34761:8;;;;;;;;:::i;:::-;;;;;;;;;;:21;;-1:-1:-1;;;;;;34761:21:0;-1:-1:-1;;;;;34761:21:0;;;;;;;;;;-1:-1:-1;34741:3:0;34695:99;;;;34804:5;:11;;;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;;34804:11:0;;;;;-1:-1:-1;;;;;;34804:11:0;;;;;;-1:-1:-1;;34489: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;10552:168::-;10625:9;;;10656;;10673:15;;;10667:22;;10653:37;10643:71;;10694:18;;:::i;11745:212::-;11787:3;11825:5;11819:12;11869:6;11862:4;11855:5;11851:16;11846:3;11840:36;11931:1;11895:16;;11920:13;;;-1:-1:-1;11895:16:1;;11745:212;-1:-1:-1;11745:212:1:o;11962:719::-;-1:-1:-1;;;12469:3:1;12462:22;12444:3;12503:38;12538:1;12533:3;12529:11;12521:6;12503:38;:::i;:::-;-1:-1:-1;;;12557:2:1;12550:15;12584:37;12618:1;12614:2;12610:10;12602:6;12584:37;:::i;:::-;-1:-1:-1;;;12630:19:1;;12673:1;12665:10;;11962:719;-1:-1:-1;;;;;11962:719:1:o;13028:127::-;13089:10;13084:3;13080:20;13077:1;13070:31;13120:4;13117:1;13110:15;13144:4;13141:1;13134:15
Swarm Source
ipfs://fb2facd0c7260f4ee8c998c93e09e09c0093f9db063590a274feb3ecc464821a
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.