Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,559 DOBBY
Holders
772
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DOBBYLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xF3290ddd...fB6c036c4 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
Dobbys
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.8.9 <0.9.0; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "./interface/IRandomness.sol"; import "hardhat/console.sol"; contract Dobbys is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; bytes32 public merkleRoot; mapping(uint => mapping(address => bool)) public whitelistClaimed; string public uriPrefix = ""; string public uriSuffix = ".json"; string public hiddenMetadataUri; string public legendaryMetadataUri; uint256[] public cost; uint256 public maxSupply; uint256 public legendarySupply; uint256[] public maxMintAmountsPerTx; uint256[] public supplyLimiters; uint256 public currentPhase; bool public paused = true; bool public whitelistMintEnabled = false; bool public revealed = false; struct Minting { address minter; uint256 amount; } struct Metadata { string dna; uint256 edition; } mapping(uint256 => Metadata) public metadata; mapping(uint256 => uint256) randomValueByTokenId; uint256[] private ids; uint256 private index; uint256 public metadataCount; IRandomness private rn; constructor( string memory _tokenName, string memory _tokenSymbol, uint256[] memory _cost, uint256[] memory _supplyLimiters, uint256 _legendarySupply, uint256[] memory _maxMintAmountsPerTx, string memory _hiddenMetadataUri, string memory _legendaryMetadataUri, address _rn ) ERC721A(_tokenName, _tokenSymbol) { cost = _cost; legendarySupply = _legendarySupply; maxMintAmountsPerTx = _maxMintAmountsPerTx; setHiddenMetadataUri(_hiddenMetadataUri); setLegendaryMetadataUri(_legendaryMetadataUri); rn = IRandomness(_rn); ids = new uint256[](_supplyLimiters[currentPhase]); supplyLimiters = _supplyLimiters; setSupplyLimitersAndMaxSupply(supplyLimiters); // set maxSupply } modifier mintCompliance(uint256 _mintAmount) { require( _mintAmount > 0 && _mintAmount <= maxMintAmountsPerTx[currentPhase], "Invalid mint amount!" ); require( totalSupply() + _mintAmount <= maxSupply - legendarySupply, "Max supply exceeded!" ); _; } modifier mintPriceCompliance(uint256 _mintAmount) { require(msg.value >= cost[currentPhase] * _mintAmount, "Insufficient funds!"); _; } function whitelistMint(uint256 _mintAmount, bytes32[] calldata _merkleProof) public payable mintCompliance(_mintAmount) mintPriceCompliance(_mintAmount) { // Verify whitelist requirements require(whitelistMintEnabled, "The whitelist sale is not enabled!"); require(!whitelistClaimed[currentPhase][_msgSender()], "Address already claimed!"); bytes32 leaf = keccak256(abi.encodePacked(_msgSender())); require( MerkleProof.verify(_merkleProof, merkleRoot, leaf), "Invalid proof!" ); whitelistClaimed[currentPhase][_msgSender()] = true; fulfillRandomness(_msgSender(), _mintAmount); } function mint(uint256 _mintAmount) public payable mintCompliance(_mintAmount) mintPriceCompliance(_mintAmount) { require(!paused, "The contract is paused!"); fulfillRandomness(_msgSender(), _mintAmount); } function mintForAddress(uint256 _mintAmount, address _receiver) public mintCompliance(_mintAmount) onlyOwner { fulfillRandomness(_receiver, _mintAmount); } function getPrevTotalSupply() private view returns (uint256) { uint256 _prevTotalSupply; for (uint256 i = 0; i < currentPhase; i++) { _prevTotalSupply += supplyLimiters[i]; } return _prevTotalSupply; } function pickRandomUniqueId(uint256 seed) private returns (uint256 _id) { uint256 len = ids.length - index++; require(len > 0, "General NFTs sold out!"); uint256 randomIndex = seed % len; _id = ids[randomIndex] != 0 ? ids[randomIndex] : randomIndex; ids[randomIndex] = uint256(ids[len - 1] == 0 ? len - 1 : ids[len - 1]); ids[len - 1] = 0; } function generateRandomByTokenIds(uint256 _tokenId, uint256 _seed) private { uint256 randomSeed = uint256(keccak256(abi.encode(_seed, _tokenId))); uint256 randomId = pickRandomUniqueId(randomSeed); uint256 prevTotalSupply = getPrevTotalSupply(); randomValueByTokenId[_tokenId] = randomId + 1 + prevTotalSupply; } function fulfillRandomness(address _minter, uint256 _amount) private { require(_minter != address(0)); uint256 startId = totalSupply() + 1; uint256 endId = startId + _amount; uint256 remain; uint256 prevTotalSupply = getPrevTotalSupply() + supplyLimiters[currentPhase] + 1; if(endId > prevTotalSupply) { remain = endId - prevTotalSupply; endId = prevTotalSupply; } for (uint256 i = startId; i < endId; i++) { uint256 _randomness = rn.getRandom(i); generateRandomByTokenIds(i, _randomness); } _safeMint(_minter, _amount - remain); if(remain != 0) { currentPhase++; ids = new uint256[](supplyLimiters[currentPhase]); index = 0; for (uint256 i = endId; i < startId + _amount; i++) { uint256 _randomness = rn.getRandom(i); generateRandomByTokenIds(i, _randomness); } _safeMint(_minter, startId + _amount - endId); } else { if ( totalSupply() == getPrevTotalSupply() + supplyLimiters[currentPhase] && currentPhase < supplyLimiters.length - 1 ) { currentPhase++; ids = new uint256[](supplyLimiters[currentPhase]); index = 0; } } } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount); uint256 currentTokenId = _startTokenId(); uint256 ownedTokenIndex = 0; address latestOwnerAddress; while ( ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply ) { TokenOwnership memory ownership = _ownershipAt(currentTokenId); if (!ownership.burned && ownership.addr != address(0)) { latestOwnerAddress = ownership.addr; } if (latestOwnerAddress == _owner) { ownedTokenIds[ownedTokenIndex] = currentTokenId; ownedTokenIndex++; } currentTokenId++; } return ownedTokenIds; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require( _exists(_tokenId), "ERC721Metadata: URI query for nonexistent token" ); if (revealed == false) { return hiddenMetadataUri; } if (_tokenId <= maxSupply - legendarySupply) { string memory currentBaseURI = _baseURI(); uint256 randomIdByTokenId = randomValueByTokenId[_tokenId]; return bytes(currentBaseURI).length > 0 ? string( abi.encodePacked( currentBaseURI, Strings.toString( metadata[randomIdByTokenId].edition ), uriSuffix ) ) : ""; } else { return string( abi.encodePacked( legendaryMetadataUri, Strings.toString( _tokenId - (maxSupply - legendarySupply) ), uriSuffix ) ); } } function setRevealed(bool _state) public onlyOwner { revealed = _state; } function setCost(uint256 phase, uint256 _cost) public onlyOwner { require(phase >= currentPhase, "Cannot change mint limit for past phases"); cost[phase] = _cost; } function setMaxMintAmountPerTx(uint256 phase, uint256 _maxMintAmountPerTx) public onlyOwner { require(phase >= currentPhase, "Cannot change mint limit for past phases"); require(_maxMintAmountPerTx <= supplyLimiters[phase], "Cannot be larger than phase supply"); maxMintAmountsPerTx[phase] = _maxMintAmountPerTx; } function currentMaxMintAmountPerTx() public view returns (uint256){ return maxMintAmountsPerTx[currentPhase]; } function currentCost() public view returns (uint256){ return cost[currentPhase]; } function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner { hiddenMetadataUri = _hiddenMetadataUri; } function setLegendaryMetadataUri(string memory _legendaryMetadataUri) public onlyOwner { legendaryMetadataUri = _legendaryMetadataUri; } function setUriPrefix(string memory _uriPrefix) public onlyOwner { uriPrefix = _uriPrefix; } function setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner { merkleRoot = _merkleRoot; } function setWhitelistMintEnabled(bool _state) public onlyOwner { whitelistMintEnabled = _state; } function setPaused(bool _state) public onlyOwner { paused = _state; } function setSupplyLimitersAndMaxSupply(uint256[] memory _supplyLimiters) public onlyOwner { supplyLimiters = _supplyLimiters; uint256 _maxSupply; for (uint256 i = 0; i < _supplyLimiters.length; i++) { _maxSupply += _supplyLimiters[i]; } require(_maxSupply >= totalSupply(), "Cannot size down supply lower than minted supply"); maxSupply = _maxSupply + legendarySupply; ids = new uint256[](supplyLimiters[currentPhase]); } function withdraw() public onlyOwner nonReentrant { (bool os,) = payable(owner()).call{value : address(this).balance}(""); require(os); } function _baseURI() internal view virtual override returns (string memory) { return uriPrefix; } function ownerMint(uint256 _mintAmount) public onlyOwner { require( totalSupply() + _mintAmount <= maxSupply - legendarySupply, "Max supply exceeded!" ); if (_mintAmount > 0) { fulfillRandomness(_msgSender(), _mintAmount); } } function legendaryMint(address[] calldata _addresses) public onlyOwner { require( _addresses.length == legendarySupply, "Invalid legendary addresses count!" ); require( totalSupply() == maxSupply - legendarySupply, "General NFTs not sold out!" ); for (uint256 i = 0; i < _addresses.length; i++) { _safeMint(_addresses[i], 1); } } function uploadMetadata(Metadata[] calldata _metadata) public onlyOwner { require( metadataCount + _metadata.length <= maxSupply - legendarySupply, "Max metadata amount exceeded!" ); for (uint256 i = 0; i < _metadata.length; i++) { // tokenId start from num 1. metadata[metadataCount + i + 1] = Metadata( _metadata[i].dna, _metadata[i].edition ); } metadataCount += _metadata.length; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, * including the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at `_startTokenId()` * (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // 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 bit position of `extraData` in packed ownership. uint256 private constant BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with `_mintERC2309`. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309` // is required to cause an overflow, which is unrealistic. uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` 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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @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 - _burnCounter - _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 Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @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 (owner == address(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 number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary 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); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * 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; ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA); } /** * 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 Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, BITMASK_ADDRESS) // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @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; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`. result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ownerOf(tokenId); 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-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 { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @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 for each mint. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _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] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } while (tokenId < end); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _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] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // 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] = _packOwnershipData( to, BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // 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); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // 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 { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // 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, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. * This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. * This includes minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @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) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.7; interface IRandomness { function getRandom(uint256 seed) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity >= 0.4.22 <0.9.0; library console { address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67); function _sendLogPayload(bytes memory payload) private view { uint256 payloadLength = payload.length; address consoleAddress = CONSOLE_ADDRESS; assembly { let payloadStart := add(payload, 32) let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0) } } function log() internal view { _sendLogPayload(abi.encodeWithSignature("log()")); } function logInt(int p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(int)", p0)); } function logUint(uint p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } function logString(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function logBool(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function logAddress(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function logBytes(bytes memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes)", p0)); } function logBytes1(bytes1 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0)); } function logBytes2(bytes2 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0)); } function logBytes3(bytes3 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0)); } function logBytes4(bytes4 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0)); } function logBytes5(bytes5 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0)); } function logBytes6(bytes6 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0)); } function logBytes7(bytes7 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0)); } function logBytes8(bytes8 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0)); } function logBytes9(bytes9 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0)); } function logBytes10(bytes10 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0)); } function logBytes11(bytes11 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0)); } function logBytes12(bytes12 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0)); } function logBytes13(bytes13 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0)); } function logBytes14(bytes14 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0)); } function logBytes15(bytes15 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0)); } function logBytes16(bytes16 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0)); } function logBytes17(bytes17 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0)); } function logBytes18(bytes18 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0)); } function logBytes19(bytes19 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0)); } function logBytes20(bytes20 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0)); } function logBytes21(bytes21 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0)); } function logBytes22(bytes22 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0)); } function logBytes23(bytes23 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0)); } function logBytes24(bytes24 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0)); } function logBytes25(bytes25 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0)); } function logBytes26(bytes26 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0)); } function logBytes27(bytes27 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0)); } function logBytes28(bytes28 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0)); } function logBytes29(bytes29 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0)); } function logBytes30(bytes30 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0)); } function logBytes31(bytes31 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0)); } function logBytes32(bytes32 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0)); } function log(uint p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } function log(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function log(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function log(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function log(uint p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint)", p0, p1)); } function log(uint p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string)", p0, p1)); } function log(uint p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool)", p0, p1)); } function log(uint p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address)", p0, p1)); } function log(string memory p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint)", p0, p1)); } function log(string memory p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1)); } function log(string memory p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1)); } function log(string memory p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1)); } function log(bool p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint)", p0, p1)); } function log(bool p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1)); } function log(bool p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1)); } function log(bool p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1)); } function log(address p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint)", p0, p1)); } function log(address p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1)); } function log(address p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1)); } function log(address p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1)); } function log(uint p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint)", p0, p1, p2)); } function log(uint p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string)", p0, p1, p2)); } function log(uint p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool)", p0, p1, p2)); } function log(uint p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address)", p0, p1, p2)); } function log(uint p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint)", p0, p1, p2)); } function log(uint p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string)", p0, p1, p2)); } function log(uint p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool)", p0, p1, p2)); } function log(uint p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address)", p0, p1, p2)); } function log(uint p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint)", p0, p1, p2)); } function log(uint p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string)", p0, p1, p2)); } function log(uint p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool)", p0, p1, p2)); } function log(uint p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address)", p0, p1, p2)); } function log(uint p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint)", p0, p1, p2)); } function log(uint p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string)", p0, p1, p2)); } function log(uint p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool)", p0, p1, p2)); } function log(uint p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address)", p0, p1, p2)); } function log(string memory p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint)", p0, p1, p2)); } function log(string memory p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string)", p0, p1, p2)); } function log(string memory p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool)", p0, p1, p2)); } function log(string memory p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address)", p0, p1, p2)); } function log(string memory p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint)", p0, p1, p2)); } function log(string memory p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2)); } function log(string memory p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2)); } function log(string memory p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2)); } function log(string memory p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint)", p0, p1, p2)); } function log(string memory p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2)); } function log(string memory p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2)); } function log(string memory p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2)); } function log(string memory p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint)", p0, p1, p2)); } function log(string memory p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2)); } function log(string memory p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2)); } function log(string memory p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2)); } function log(bool p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint)", p0, p1, p2)); } function log(bool p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string)", p0, p1, p2)); } function log(bool p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool)", p0, p1, p2)); } function log(bool p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address)", p0, p1, p2)); } function log(bool p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint)", p0, p1, p2)); } function log(bool p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2)); } function log(bool p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2)); } function log(bool p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2)); } function log(bool p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint)", p0, p1, p2)); } function log(bool p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2)); } function log(bool p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2)); } function log(bool p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2)); } function log(bool p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint)", p0, p1, p2)); } function log(bool p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2)); } function log(bool p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2)); } function log(bool p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2)); } function log(address p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint)", p0, p1, p2)); } function log(address p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string)", p0, p1, p2)); } function log(address p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool)", p0, p1, p2)); } function log(address p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address)", p0, p1, p2)); } function log(address p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint)", p0, p1, p2)); } function log(address p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2)); } function log(address p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2)); } function log(address p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2)); } function log(address p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint)", p0, p1, p2)); } function log(address p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2)); } function log(address p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2)); } function log(address p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2)); } function log(address p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint)", p0, p1, p2)); } function log(address p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2)); } function log(address p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2)); } function log(address p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2)); } function log(uint p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,string)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,address)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3)); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ 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(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`. uint24 extraData; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // 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`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // 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 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"uint256[]","name":"_cost","type":"uint256[]"},{"internalType":"uint256[]","name":"_supplyLimiters","type":"uint256[]"},{"internalType":"uint256","name":"_legendarySupply","type":"uint256"},{"internalType":"uint256[]","name":"_maxMintAmountsPerTx","type":"uint256[]"},{"internalType":"string","name":"_hiddenMetadataUri","type":"string"},{"internalType":"string","name":"_legendaryMetadataUri","type":"string"},{"internalType":"address","name":"_rn","type":"address"}],"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentMaxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentPhase","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":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"legendaryMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"legendaryMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"legendarySupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"maxMintAmountsPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"metadata","outputs":[{"internalType":"string","name":"dna","type":"string"},{"internalType":"uint256","name":"edition","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"uint256","name":"phase","type":"uint256"},{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_legendaryMetadataUri","type":"string"}],"name":"setLegendaryMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"phase","type":"uint256"},{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_supplyLimiters","type":"uint256[]"}],"name":"setSupplyLimitersAndMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setWhitelistMintEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"supplyLimiters","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"string","name":"dna","type":"string"},{"internalType":"uint256","name":"edition","type":"uint256"}],"internalType":"struct Dobbys.Metadata[]","name":"_metadata","type":"tuple[]"}],"name":"uploadMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"whitelistClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040819052600060808190526200001b91600c916200050b565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200004a91600d916200050b565b506016805462ffffff191660011790553480156200006757600080fd5b506040516200417e3803806200417e8339810160408190526200008a9162000771565b885189908990620000a39060029060208501906200050b565b508051620000b99060039060208401906200050b565b5050600160005550620000cc3362000233565b60016009558651620000e69060109060208a01906200059a565b5060128590558351620001019060139060208701906200059a565b506200010d8362000285565b6200011882620002ed565b601c80546001600160a01b0319166001600160a01b038316179055601554865187919081106200014c576200014c620008be565b60200260200101516001600160401b038111156200016e576200016e620005ee565b60405190808252806020026020018201604052801562000198578160200160208202803683370190505b508051620001af916019916020909101906200059a565b508551620001c59060149060208901906200059a565b506200022460148054806020026020016040519081016040528092919081815260200182805480156200021857602002820191906000526020600020905b81548152602001906001019080831162000203575b50506200034d92505050565b50505050505050505062000960565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b03163314620002d45760405162461bcd60e51b815260206004820181905260248201526000805160206200415e83398151915260448201526064015b60405180910390fd5b8051620002e990600e9060208401906200050b565b5050565b6008546001600160a01b03163314620003385760405162461bcd60e51b815260206004820181905260248201526000805160206200415e8339815191526044820152606401620002cb565b8051620002e990600f9060208401906200050b565b6008546001600160a01b03163314620003985760405162461bcd60e51b815260206004820181905260248201526000805160206200415e8339815191526044820152606401620002cb565b8051620003ad9060149060208401906200059a565b506000805b8251811015620003fd57828181518110620003d157620003d1620008be565b602002602001015182620003e69190620008ea565b915080620003f48162000905565b915050620003b2565b506001546000540360001901811015620004735760405162461bcd60e51b815260206004820152603060248201527f43616e6e6f742073697a6520646f776e20737570706c79206c6f77657220746860448201526f616e206d696e74656420737570706c7960801b6064820152608401620002cb565b601254620004829082620008ea565b601181905550601460155481548110620004a057620004a0620008be565b90600052602060002001546001600160401b03811115620004c557620004c5620005ee565b604051908082528060200260200182016040528015620004ef578160200160208202803683370190505b50805162000506916019916020909101906200059a565b505050565b828054620005199062000923565b90600052602060002090601f0160209004810192826200053d576000855562000588565b82601f106200055857805160ff191683800117855562000588565b8280016001018555821562000588579182015b82811115620005885782518255916020019190600101906200056b565b5062000596929150620005d7565b5090565b828054828255906000526020600020908101928215620005885791602002820182811115620005885782518255916020019190600101906200056b565b5b80821115620005965760008155600101620005d8565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156200062f576200062f620005ee565b604052919050565b600082601f8301126200064957600080fd5b81516001600160401b03811115620006655762000665620005ee565b60206200067b601f8301601f1916820162000604565b82815285828487010111156200069057600080fd5b60005b83811015620006b057858101830151828201840152820162000693565b83811115620006c25760008385840101525b5095945050505050565b600082601f830112620006de57600080fd5b815160206001600160401b03821115620006fc57620006fc620005ee565b8160051b6200070d82820162000604565b92835284810182019282810190878511156200072857600080fd5b83870192505b8483101562000749578251825291830191908301906200072e565b979650505050505050565b80516001600160a01b03811681146200076c57600080fd5b919050565b60008060008060008060008060006101208a8c0312156200079157600080fd5b89516001600160401b0380821115620007a957600080fd5b620007b78d838e0162000637565b9a5060208c0151915080821115620007ce57600080fd5b620007dc8d838e0162000637565b995060408c0151915080821115620007f357600080fd5b620008018d838e01620006cc565b985060608c01519150808211156200081857600080fd5b620008268d838e01620006cc565b975060808c0151965060a08c01519150808211156200084457600080fd5b620008528d838e01620006cc565b955060c08c01519150808211156200086957600080fd5b620008778d838e0162000637565b945060e08c01519150808211156200088e57600080fd5b506200089d8c828d0162000637565b925050620008af6101008b0162000754565b90509295985092959850929598565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115620009005762000900620008d4565b500190565b60006000198214156200091c576200091c620008d4565b5060010190565b600181811c908216806200093857607f821691505b602082108114156200095a57634e487b7160e01b600052602260045260246000fd5b50919050565b6137ee80620009706000396000f3fe6080604052600436106103505760003560e01c806370a08231116101c6578063ba1842c5116100f7578063e0a8085311610095578063efbd73f41161006f578063efbd73f41461099b578063f19e75d4146109bb578063f2fde38b146109db578063f55a5acf146109fb57600080fd5b8063e0a8085314610904578063e3684e3914610924578063e985e9c51461095257600080fd5b8063ca698a47116100d1578063ca698a4714610880578063ce9b8060146108a0578063d2cab056146108db578063d5abeb01146108ee57600080fd5b8063ba1842c514610820578063c0a56ca914610840578063c87b56dd1461086057600080fd5b806395d89b4111610164578063a45ba8e71161013e578063a45ba8e7146107b6578063aed0d829146107cb578063b767a098146107e0578063b88d4fde1461080057600080fd5b806395d89b411461076e578063a0712d6814610783578063a22cb4651461079657600080fd5b80637cb64759116101a05780637cb64759146106f05780637ec4a659146107105780638da5cb5b146107305780639097548d1461074e57600080fd5b806370a082311461069b578063715018a6146106bb5780637696e088146106d057600080fd5b80633c377526116102a05780635c975abb1161023e578063673b4de511610218578063673b4de51461062657806368a96769146106465780636caede3d146106665780636fbf3e8e1461068557600080fd5b80635c975abb146105d757806362b99ad4146105f15780636352211e1461060657600080fd5b8063438b63001161027a578063438b6300146105555780634fdd43cb1461058257806351830227146105a25780635503a0e8146105c257600080fd5b80633c377526146105005780633ccfd60b1461052057806342842e0e1461053557600080fd5b806316c38b3c1161030d57806323b872dd116102e757806323b872dd1461049f5780632eb4a7ab146104bf578063342afb7e146104d5578063368dde4b146104eb57600080fd5b806316c38b3c1461044a57806318160ddd1461046a5780631c00f0d41461047f57600080fd5b806301ffc9a714610355578063055ad42e1461038a57806306fdde03146103ae578063081812fc146103d0578063095ea7b31461040857806316ba10e01461042a575b600080fd5b34801561036157600080fd5b50610375610370366004612ec3565b610a10565b60405190151581526020015b60405180910390f35b34801561039657600080fd5b506103a060155481565b604051908152602001610381565b3480156103ba57600080fd5b506103c3610a62565b6040516103819190612f38565b3480156103dc57600080fd5b506103f06103eb366004612f4b565b610af4565b6040516001600160a01b039091168152602001610381565b34801561041457600080fd5b50610428610423366004612f7b565b610b38565b005b34801561043657600080fd5b50610428610445366004613042565b610bd8565b34801561045657600080fd5b5061042861046536600461309a565b610c22565b34801561047657600080fd5b506103a0610c5f565b34801561048b57600080fd5b5061042861049a3660046130b5565b610c6d565b3480156104ab57600080fd5b506104286104ba36600461315a565b610def565b3480156104cb57600080fd5b506103a0600a5481565b3480156104e157600080fd5b506103a0601b5481565b3480156104f757600080fd5b506103a0610f81565b34801561050c57600080fd5b5061042861051b366004613042565b610fa8565b34801561052c57600080fd5b50610428610fe5565b34801561054157600080fd5b5061042861055036600461315a565b6110e0565b34801561056157600080fd5b50610575610570366004613196565b6110fb565b60405161038191906131b1565b34801561058e57600080fd5b5061042861059d366004613042565b611202565b3480156105ae57600080fd5b506016546103759062010000900460ff1681565b3480156105ce57600080fd5b506103c361123f565b3480156105e357600080fd5b506016546103759060ff1681565b3480156105fd57600080fd5b506103c36112cd565b34801561061257600080fd5b506103f0610621366004612f4b565b6112da565b34801561063257600080fd5b50610428610641366004613240565b6112e5565b34801561065257600080fd5b506103a0610661366004612f4b565b6114a6565b34801561067257600080fd5b5060165461037590610100900460ff1681565b34801561069157600080fd5b506103a060125481565b3480156106a757600080fd5b506103a06106b6366004613196565b6114c7565b3480156106c757600080fd5b50610428611515565b3480156106dc57600080fd5b506104286106eb366004613281565b61154b565b3480156106fc57600080fd5b5061042861070b366004612f4b565b6115bb565b34801561071c57600080fd5b5061042861072b366004613042565b6115ea565b34801561073c57600080fd5b506008546001600160a01b03166103f0565b34801561075a57600080fd5b506103a0610769366004612f4b565b611627565b34801561077a57600080fd5b506103c3611637565b610428610791366004612f4b565b611646565b3480156107a257600080fd5b506104286107b13660046132a3565b6117a1565b3480156107c257600080fd5b506103c3611837565b3480156107d757600080fd5b506103a0611844565b3480156107ec57600080fd5b506104286107fb36600461309a565b61185b565b34801561080c57600080fd5b5061042861081b3660046132d6565b61189f565b34801561082c57600080fd5b5061042861083b366004613281565b6118e9565b34801561084c57600080fd5b506103a061085b366004612f4b565b6119c1565b34801561086c57600080fd5b506103c361087b366004612f4b565b6119d1565b34801561088c57600080fd5b5061042861089b366004613240565b611bcc565b3480156108ac57600080fd5b506103756108bb366004613351565b600b60209081526000928352604080842090915290825290205460ff1681565b6104286108e9366004613374565b611d05565b3480156108fa57600080fd5b506103a060115481565b34801561091057600080fd5b5061042861091f36600461309a565b611fbb565b34801561093057600080fd5b5061094461093f366004612f4b565b612001565b6040516103819291906133bf565b34801561095e57600080fd5b5061037561096d3660046133e1565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156109a757600080fd5b506104286109b6366004613351565b6120a5565b3480156109c757600080fd5b506104286109d6366004612f4b565b612166565b3480156109e757600080fd5b506104286109f6366004613196565b6121e4565b348015610a0757600080fd5b506103c361227c565b60006301ffc9a760e01b6001600160e01b031983161480610a4157506380ac58cd60e01b6001600160e01b03198316145b80610a5c5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610a719061340b565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9d9061340b565b8015610aea5780601f10610abf57610100808354040283529160200191610aea565b820191906000526020600020905b815481529060010190602001808311610acd57829003601f168201915b5050505050905090565b6000610aff82612289565b610b1c576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610b43826112da565b9050336001600160a01b03821614610b7c57610b5f813361096d565b610b7c576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b03163314610c0b5760405162461bcd60e51b8152600401610c0290613440565b60405180910390fd5b8051610c1e90600d906020840190612dda565b5050565b6008546001600160a01b03163314610c4c5760405162461bcd60e51b8152600401610c0290613440565b6016805460ff1916911515919091179055565b600154600054036000190190565b6008546001600160a01b03163314610c975760405162461bcd60e51b8152600401610c0290613440565b8051610caa906014906020840190612e5e565b506000805b8251811015610cf157828181518110610cca57610cca613475565b602002602001015182610cdd91906134a1565b915080610ce9816134b9565b915050610caf565b50610cfa610c5f565b811015610d625760405162461bcd60e51b815260206004820152603060248201527f43616e6e6f742073697a6520646f776e20737570706c79206c6f77657220746860448201526f616e206d696e74656420737570706c7960801b6064820152608401610c02565b601254610d6f90826134a1565b601181905550601460155481548110610d8a57610d8a613475565b90600052602060002001546001600160401b03811115610dac57610dac612fa5565b604051908082528060200260200182016040528015610dd5578160200160208202803683370190505b508051610dea91601991602090910190612e5e565b505050565b6000610dfa826122be565b9050836001600160a01b0316816001600160a01b031614610e2d5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610e7a57610e5d863361096d565b610e7a57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610ea157604051633a954ecd60e21b815260040160405180910390fd5b8015610eac57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610f375760018401600081815260046020526040902054610f35576000548114610f355760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6000601060155481548110610f9857610f98613475565b9060005260206000200154905090565b6008546001600160a01b03163314610fd25760405162461bcd60e51b8152600401610c0290613440565b8051610c1e90600f906020840190612dda565b6008546001600160a01b0316331461100f5760405162461bcd60e51b8152600401610c0290613440565b600260095414156110625760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c02565b6002600955600061107b6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146110c5576040519150601f19603f3d011682016040523d82523d6000602084013e6110ca565b606091505b50509050806110d857600080fd5b506001600955565b610dea8383836040518060200160405280600081525061189f565b60606000611108836114c7565b90506000816001600160401b0381111561112457611124612fa5565b60405190808252806020026020018201604052801561114d578160200160208202803683370190505b50905060016000805b848210801561116757506011548311155b156111f75760006111778461232e565b90508060400151158015611194575080516001600160a01b031615155b1561119e57805191505b876001600160a01b0316826001600160a01b031614156111e457838584815181106111cb576111cb613475565b6020908102919091010152826111e0816134b9565b9350505b836111ee816134b9565b94505050611156565b509195945050505050565b6008546001600160a01b0316331461122c5760405162461bcd60e51b8152600401610c0290613440565b8051610c1e90600e906020840190612dda565b600d805461124c9061340b565b80601f01602080910402602001604051908101604052809291908181526020018280546112789061340b565b80156112c55780601f1061129a576101008083540402835291602001916112c5565b820191906000526020600020905b8154815290600101906020018083116112a857829003601f168201915b505050505081565b600c805461124c9061340b565b6000610a5c826122be565b6008546001600160a01b0316331461130f5760405162461bcd60e51b8152600401610c0290613440565b60125460115461131f91906134d4565b601b5461132d9083906134a1565b111561137b5760405162461bcd60e51b815260206004820152601d60248201527f4d6178206d6574616461746120616d6f756e74206578636565646564210000006044820152606401610c02565b60005b818110156114875760405180604001604052808484848181106113a3576113a3613475565b90506020028101906113b591906134eb565b6113bf908061350b565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050509082525060200184848481811061140b5761140b613475565b905060200281019061141d91906134eb565b602001358152506017600083601b5461143691906134a1565b6114419060016134a1565b815260208082019290925260400160002082518051919261146792849290910190612dda565b50602091909101516001909101558061147f816134b9565b91505061137e565b5081819050601b600082825461149d91906134a1565b90915550505050565b601481815481106114b657600080fd5b600091825260209091200154905081565b60006001600160a01b0382166114f0576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b0316331461153f5760405162461bcd60e51b8152600401610c0290613440565b61154960006123ac565b565b6008546001600160a01b031633146115755760405162461bcd60e51b8152600401610c0290613440565b6015548210156115975760405162461bcd60e51b8152600401610c0290613551565b80601083815481106115ab576115ab613475565b6000918252602090912001555050565b6008546001600160a01b031633146115e55760405162461bcd60e51b8152600401610c0290613440565b600a55565b6008546001600160a01b031633146116145760405162461bcd60e51b8152600401610c0290613440565b8051610c1e90600c906020840190612dda565b601081815481106114b657600080fd5b606060038054610a719061340b565b80600081118015611676575060136015548154811061166757611667613475565b90600052602060002001548111155b6116925760405162461bcd60e51b8152600401610c0290613599565b6012546011546116a291906134d4565b816116ab610c5f565b6116b591906134a1565b11156116d35760405162461bcd60e51b8152600401610c02906135c7565b81806010601554815481106116ea576116ea613475565b90600052602060002001546116ff91906135f5565b3410156117445760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610c02565b60165460ff16156117975760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401610c02565b610dea33846123fe565b6001600160a01b0382163314156117cb5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600e805461124c9061340b565b6000601360155481548110610f9857610f98613475565b6008546001600160a01b031633146118855760405162461bcd60e51b8152600401610c0290613440565b601680549115156101000261ff0019909216919091179055565b6118aa848484610def565b6001600160a01b0383163b156118e3576118c6848484846127a1565b6118e3576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b031633146119135760405162461bcd60e51b8152600401610c0290613440565b6015548210156119355760405162461bcd60e51b8152600401610c0290613551565b6014828154811061194857611948613475565b90600052602060002001548111156119ad5760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f74206265206c6172676572207468616e20706861736520737570706044820152616c7960f01b6064820152608401610c02565b80601383815481106115ab576115ab613475565b601381815481106114b657600080fd5b60606119dc82612289565b611a405760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610c02565b60165462010000900460ff16611ae257600e8054611a5d9061340b565b80601f0160208091040260200160405190810160405280929190818152602001828054611a899061340b565b8015611ad65780601f10611aab57610100808354040283529160200191611ad6565b820191906000526020600020905b815481529060010190602001808311611ab957829003601f168201915b50505050509050919050565b601254601154611af291906134d4565b8211611b79576000611b02612898565b600084815260186020526040902054815191925090611b305760405180602001604052806000815250611b71565b6000818152601760205260409020600101548290611b4d906128a7565b600d604051602001611b61939291906136ae565b6040516020818303038152906040525b949350505050565b600f611b9d601254601154611b8e91906134d4565b611b9890856134d4565b6128a7565b600d604051602001611bb1939291906136eb565b6040516020818303038152906040529050919050565b919050565b6008546001600160a01b03163314611bf65760405162461bcd60e51b8152600401610c0290613440565b6012548114611c525760405162461bcd60e51b815260206004820152602260248201527f496e76616c6964206c6567656e646172792061646472657373657320636f756e604482015261742160f01b6064820152608401610c02565b601254601154611c6291906134d4565b611c6a610c5f565b14611cb75760405162461bcd60e51b815260206004820152601a60248201527f47656e6572616c204e465473206e6f7420736f6c64206f7574210000000000006044820152606401610c02565b60005b81811015610dea57611cf3838383818110611cd757611cd7613475565b9050602002016020810190611cec9190613196565b60016129a4565b80611cfd816134b9565b915050611cba565b82600081118015611d355750601360155481548110611d2657611d26613475565b90600052602060002001548111155b611d515760405162461bcd60e51b8152600401610c0290613599565b601254601154611d6191906134d4565b81611d6a610c5f565b611d7491906134a1565b1115611d925760405162461bcd60e51b8152600401610c02906135c7565b8380601060155481548110611da957611da9613475565b9060005260206000200154611dbe91906135f5565b341015611e035760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610c02565b601654610100900460ff16611e655760405162461bcd60e51b815260206004820152602260248201527f5468652077686974656c6973742073616c65206973206e6f7420656e61626c65604482015261642160f01b6064820152608401610c02565b6015546000908152600b6020908152604080832033845290915290205460ff1615611ed25760405162461bcd60e51b815260206004820152601860248201527f4164647265737320616c726561647920636c61696d65642100000000000000006044820152606401610c02565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050611f4c85858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a5491508490506129be565b611f895760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69642070726f6f662160901b6044820152606401610c02565b6015546000908152600b60209081526040808320338085529252909120805460ff19166001179055610f7990876123fe565b6008546001600160a01b03163314611fe55760405162461bcd60e51b8152600401610c0290613440565b60168054911515620100000262ff000019909216919091179055565b60176020526000908152604090208054819061201c9061340b565b80601f01602080910402602001604051908101604052809291908181526020018280546120489061340b565b80156120955780601f1061206a57610100808354040283529160200191612095565b820191906000526020600020905b81548152906001019060200180831161207857829003601f168201915b5050505050908060010154905082565b816000811180156120d557506013601554815481106120c6576120c6613475565b90600052602060002001548111155b6120f15760405162461bcd60e51b8152600401610c0290613599565b60125460115461210191906134d4565b8161210a610c5f565b61211491906134a1565b11156121325760405162461bcd60e51b8152600401610c02906135c7565b6008546001600160a01b0316331461215c5760405162461bcd60e51b8152600401610c0290613440565b610dea82846123fe565b6008546001600160a01b031633146121905760405162461bcd60e51b8152600401610c0290613440565b6012546011546121a091906134d4565b816121a9610c5f565b6121b391906134a1565b11156121d15760405162461bcd60e51b8152600401610c02906135c7565b80156121e1576121e133826123fe565b50565b6008546001600160a01b0316331461220e5760405162461bcd60e51b8152600401610c0290613440565b6001600160a01b0381166122735760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c02565b6121e1816123ac565b600f805461124c9061340b565b60008160011115801561229d575060005482105b8015610a5c575050600090815260046020526040902054600160e01b161590565b600081806001116123155760005481101561231557600081815260046020526040902054600160e01b8116612313575b8061230c5750600019016000818152600460205260409020546122ee565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b604080516080810182526000808252602082018190529181018290526060810191909152600082815260046020526040902054610a5c90604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821661241157600080fd5b600061241b610c5f565b6124269060016134a1565b9050600061243483836134a1565b905060008060146015548154811061244e5761244e613475565b90600052602060002001546124616129d4565b61246b91906134a1565b6124769060016134a1565b9050808311156124905761248a81846134d4565b91508092505b835b8381101561253657601c54604051633352da4560e21b8152600481018390526000916001600160a01b03169063cd4b69149060240160206040518083038186803b1580156124df57600080fd5b505afa1580156124f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125179190613707565b90506125238282612a27565b508061252e816134b9565b915050612492565b5061254a8661254584886134d4565b6129a4565b81156126ae5760158054906000612560836134b9565b919050555060146015548154811061257a5761257a613475565b90600052602060002001546001600160401b0381111561259c5761259c612fa5565b6040519080825280602002602001820160405280156125c5578160200160208202803683370190505b5080516125da91601991602090910190612e5e565b506000601a55825b6125ec86866134a1565b81101561268f57601c54604051633352da4560e21b8152600481018390526000916001600160a01b03169063cd4b69149060240160206040518083038186803b15801561263857600080fd5b505afa15801561264c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126709190613707565b905061267c8282612a27565b5080612687816134b9565b9150506125e2565b506126a9868461269f88886134a1565b61254591906134d4565b610f79565b6014601554815481106126c3576126c3613475565b90600052602060002001546126d66129d4565b6126e091906134a1565b6126e8610c5f565b14801561270457506014546126ff906001906134d4565b601554105b15610f795760158054906000612719836134b9565b919050555060146015548154811061273357612733613475565b90600052602060002001546001600160401b0381111561275557612755612fa5565b60405190808252806020026020018201604052801561277e578160200160208202803683370190505b50805161279391601991602090910190612e5e565b506000601a55505050505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906127d6903390899088908890600401613720565b602060405180830381600087803b1580156127f057600080fd5b505af1925050508015612820575060408051601f3d908101601f1916820190925261281d9181019061375d565b60015b61287b573d80801561284e576040519150601f19603f3d011682016040523d82523d6000602084013e612853565b606091505b508051612873576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600c8054610a719061340b565b6060816128cb5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156128f557806128df816134b9565b91506128ee9050600a83613790565b91506128cf565b6000816001600160401b0381111561290f5761290f612fa5565b6040519080825280601f01601f191660200182016040528015612939576020820181803683370190505b5090505b8415611b715761294e6001836134d4565b915061295b600a866137a4565b6129669060306134a1565b60f81b81838151811061297b5761297b613475565b60200101906001600160f81b031916908160001a90535061299d600a86613790565b945061293d565b610c1e828260405180602001604052806000815250612a97565b6000826129cb8584612b04565b14949350505050565b60008060005b601554811015612a2157601481815481106129f7576129f7613475565b906000526020600020015482612a0d91906134a1565b915080612a19816134b9565b9150506129da565b50919050565b604080516020808201849052818301859052825180830384018152606090920190925280519101206000612a5a82612b78565b90506000612a666129d4565b905080612a748360016134a1565b612a7e91906134a1565b6000958652601860205260409095209490945550505050565b612aa18383612cfd565b6001600160a01b0383163b15610dea576000548281035b612acb60008683806001019450866127a1565b612ae8576040516368d2bf6b60e11b815260040160405180910390fd5b818110612ab8578160005414612afd57600080fd5b5050505050565b600081815b8451811015612b70576000858281518110612b2657612b26613475565b60200260200101519050808311612b4c5760008381526020829052604090209250612b5d565b600081815260208490526040902092505b5080612b68816134b9565b915050612b09565b509392505050565b601a805460009182919082612b8c836134b9565b90915550601954612b9d91906134d4565b905060008111612be85760405162461bcd60e51b815260206004820152601660248201527547656e6572616c204e46547320736f6c64206f75742160501b6044820152606401610c02565b6000612bf482856137a4565b905060198181548110612c0957612c09613475565b906000526020600020015460001415612c225780612c41565b60198181548110612c3557612c35613475565b90600052602060002001545b92506019612c506001846134d4565b81548110612c6057612c60613475565b9060005260206000200154600014612c9f576019612c7f6001846134d4565b81548110612c8f57612c8f613475565b9060005260206000200154612caa565b612caa6001836134d4565b60198281548110612cbd57612cbd613475565b60009182526020822001919091556019612cd86001856134d4565b81548110612ce857612ce8613475565b90600052602060002001819055505050919050565b6000546001600160a01b038316612d2657604051622e076360e81b815260040160405180910390fd5b81612d445760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210612d8e5760005550505050565b828054612de69061340b565b90600052602060002090601f016020900481019282612e085760008555612e4e565b82601f10612e2157805160ff1916838001178555612e4e565b82800160010185558215612e4e579182015b82811115612e4e578251825591602001919060010190612e33565b50612e5a929150612e98565b5090565b828054828255906000526020600020908101928215612e4e5791602002820182811115612e4e578251825591602001919060010190612e33565b5b80821115612e5a5760008155600101612e99565b6001600160e01b0319811681146121e157600080fd5b600060208284031215612ed557600080fd5b813561230c81612ead565b60005b83811015612efb578181015183820152602001612ee3565b838111156118e35750506000910152565b60008151808452612f24816020860160208601612ee0565b601f01601f19169290920160200192915050565b60208152600061230c6020830184612f0c565b600060208284031215612f5d57600080fd5b5035919050565b80356001600160a01b0381168114611bc757600080fd5b60008060408385031215612f8e57600080fd5b612f9783612f64565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612fe357612fe3612fa5565b604052919050565b60006001600160401b0383111561300457613004612fa5565b613017601f8401601f1916602001612fbb565b905082815283838301111561302b57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561305457600080fd5b81356001600160401b0381111561306a57600080fd5b8201601f8101841361307b57600080fd5b611b7184823560208401612feb565b80358015158114611bc757600080fd5b6000602082840312156130ac57600080fd5b61230c8261308a565b600060208083850312156130c857600080fd5b82356001600160401b03808211156130df57600080fd5b818501915085601f8301126130f357600080fd5b81358181111561310557613105612fa5565b8060051b9150613116848301612fbb565b818152918301840191848101908884111561313057600080fd5b938501935b8385101561314e57843582529385019390850190613135565b98975050505050505050565b60008060006060848603121561316f57600080fd5b61317884612f64565b925061318660208501612f64565b9150604084013590509250925092565b6000602082840312156131a857600080fd5b61230c82612f64565b6020808252825182820181905260009190848201906040850190845b818110156131e9578351835292840192918401916001016131cd565b50909695505050505050565b60008083601f84011261320757600080fd5b5081356001600160401b0381111561321e57600080fd5b6020830191508360208260051b850101111561323957600080fd5b9250929050565b6000806020838503121561325357600080fd5b82356001600160401b0381111561326957600080fd5b613275858286016131f5565b90969095509350505050565b6000806040838503121561329457600080fd5b50508035926020909101359150565b600080604083850312156132b657600080fd5b6132bf83612f64565b91506132cd6020840161308a565b90509250929050565b600080600080608085870312156132ec57600080fd5b6132f585612f64565b935061330360208601612f64565b92506040850135915060608501356001600160401b0381111561332557600080fd5b8501601f8101871361333657600080fd5b61334587823560208401612feb565b91505092959194509250565b6000806040838503121561336457600080fd5b823591506132cd60208401612f64565b60008060006040848603121561338957600080fd5b8335925060208401356001600160401b038111156133a657600080fd5b6133b2868287016131f5565b9497909650939450505050565b6040815260006133d26040830185612f0c565b90508260208301529392505050565b600080604083850312156133f457600080fd5b6133fd83612f64565b91506132cd60208401612f64565b600181811c9082168061341f57607f821691505b60208210811415612a2157634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156134b4576134b461348b565b500190565b60006000198214156134cd576134cd61348b565b5060010190565b6000828210156134e6576134e661348b565b500390565b60008235603e1983360301811261350157600080fd5b9190910192915050565b6000808335601e1984360301811261352257600080fd5b8301803591506001600160401b0382111561353c57600080fd5b60200191503681900382131561323957600080fd5b60208082526028908201527f43616e6e6f74206368616e6765206d696e74206c696d697420666f7220706173604082015267742070686173657360c01b606082015260800190565b602080825260149082015273496e76616c6964206d696e7420616d6f756e742160601b604082015260600190565b6020808252601490820152734d617820737570706c792065786365656465642160601b604082015260600190565b600081600019048311821515161561360f5761360f61348b565b500290565b8054600090600181811c908083168061362e57607f831692505b602080841082141561365057634e487b7160e01b600052602260045260246000fd5b8180156136645760018114613675576136a2565b60ff198616895284890196506136a2565b60008881526020902060005b8681101561369a5781548b820152908501908301613681565b505084890196505b50505050505092915050565b600084516136c0818460208901612ee0565b8451908301906136d4818360208901612ee0565b6136e081830186613614565b979650505050505050565b60006136f78286613614565b84516136d4818360208901612ee0565b60006020828403121561371957600080fd5b5051919050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061375390830184612f0c565b9695505050505050565b60006020828403121561376f57600080fd5b815161230c81612ead565b634e487b7160e01b600052601260045260246000fd5b60008261379f5761379f61377a565b500490565b6000826137b3576137b361377a565b50069056fea264697066735822122070346625a9dd20e84484cf38d7000b7baf5f25f65e114c205fcd9ce728ab457964736f6c634300080900334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65720000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000360000000000000000000000000000000000000000000000000000000000000044000000000000000000000000000000000000000000000000000000000000004a00000000000000000000000005ab4f83b090214538d1f9d9b7875e2e9e8941cd5000000000000000000000000000000000000000000000000000000000000000b446f62627920546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005444f424259000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000001cdda4faccd000000000000000000000000000000000000000000000000000001cdda4faccd000000000000000000000000000000000000000000000000000001cdda4faccd000000000000000000000000000000000000000000000000000001cdda4faccd000000000000000000000000000000000000000000000000000001cdda4faccd000000000000000000000000000000000000000000000000000001cdda4faccd0000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000003e7000000000000000000000000000000000000000000000000000000000000006f000000000000000000000000000000000000000000000000000000000000006f000000000000000000000000000000000000000000000000000000000000006f000000000000000000000000000000000000000000000000000000000000006f000000000000000000000000000000000000000000000000000000000000006f00000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5a58734b4e66765a4d48394b584d433877536e6365766b78444233445a5858784c5437317470646374454c732f000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6155523857414d396659775567626658465252727767343871704b45433441773155686470514e31667746642f00000000000000000000
Deployed Bytecode
0x6080604052600436106103505760003560e01c806370a08231116101c6578063ba1842c5116100f7578063e0a8085311610095578063efbd73f41161006f578063efbd73f41461099b578063f19e75d4146109bb578063f2fde38b146109db578063f55a5acf146109fb57600080fd5b8063e0a8085314610904578063e3684e3914610924578063e985e9c51461095257600080fd5b8063ca698a47116100d1578063ca698a4714610880578063ce9b8060146108a0578063d2cab056146108db578063d5abeb01146108ee57600080fd5b8063ba1842c514610820578063c0a56ca914610840578063c87b56dd1461086057600080fd5b806395d89b4111610164578063a45ba8e71161013e578063a45ba8e7146107b6578063aed0d829146107cb578063b767a098146107e0578063b88d4fde1461080057600080fd5b806395d89b411461076e578063a0712d6814610783578063a22cb4651461079657600080fd5b80637cb64759116101a05780637cb64759146106f05780637ec4a659146107105780638da5cb5b146107305780639097548d1461074e57600080fd5b806370a082311461069b578063715018a6146106bb5780637696e088146106d057600080fd5b80633c377526116102a05780635c975abb1161023e578063673b4de511610218578063673b4de51461062657806368a96769146106465780636caede3d146106665780636fbf3e8e1461068557600080fd5b80635c975abb146105d757806362b99ad4146105f15780636352211e1461060657600080fd5b8063438b63001161027a578063438b6300146105555780634fdd43cb1461058257806351830227146105a25780635503a0e8146105c257600080fd5b80633c377526146105005780633ccfd60b1461052057806342842e0e1461053557600080fd5b806316c38b3c1161030d57806323b872dd116102e757806323b872dd1461049f5780632eb4a7ab146104bf578063342afb7e146104d5578063368dde4b146104eb57600080fd5b806316c38b3c1461044a57806318160ddd1461046a5780631c00f0d41461047f57600080fd5b806301ffc9a714610355578063055ad42e1461038a57806306fdde03146103ae578063081812fc146103d0578063095ea7b31461040857806316ba10e01461042a575b600080fd5b34801561036157600080fd5b50610375610370366004612ec3565b610a10565b60405190151581526020015b60405180910390f35b34801561039657600080fd5b506103a060155481565b604051908152602001610381565b3480156103ba57600080fd5b506103c3610a62565b6040516103819190612f38565b3480156103dc57600080fd5b506103f06103eb366004612f4b565b610af4565b6040516001600160a01b039091168152602001610381565b34801561041457600080fd5b50610428610423366004612f7b565b610b38565b005b34801561043657600080fd5b50610428610445366004613042565b610bd8565b34801561045657600080fd5b5061042861046536600461309a565b610c22565b34801561047657600080fd5b506103a0610c5f565b34801561048b57600080fd5b5061042861049a3660046130b5565b610c6d565b3480156104ab57600080fd5b506104286104ba36600461315a565b610def565b3480156104cb57600080fd5b506103a0600a5481565b3480156104e157600080fd5b506103a0601b5481565b3480156104f757600080fd5b506103a0610f81565b34801561050c57600080fd5b5061042861051b366004613042565b610fa8565b34801561052c57600080fd5b50610428610fe5565b34801561054157600080fd5b5061042861055036600461315a565b6110e0565b34801561056157600080fd5b50610575610570366004613196565b6110fb565b60405161038191906131b1565b34801561058e57600080fd5b5061042861059d366004613042565b611202565b3480156105ae57600080fd5b506016546103759062010000900460ff1681565b3480156105ce57600080fd5b506103c361123f565b3480156105e357600080fd5b506016546103759060ff1681565b3480156105fd57600080fd5b506103c36112cd565b34801561061257600080fd5b506103f0610621366004612f4b565b6112da565b34801561063257600080fd5b50610428610641366004613240565b6112e5565b34801561065257600080fd5b506103a0610661366004612f4b565b6114a6565b34801561067257600080fd5b5060165461037590610100900460ff1681565b34801561069157600080fd5b506103a060125481565b3480156106a757600080fd5b506103a06106b6366004613196565b6114c7565b3480156106c757600080fd5b50610428611515565b3480156106dc57600080fd5b506104286106eb366004613281565b61154b565b3480156106fc57600080fd5b5061042861070b366004612f4b565b6115bb565b34801561071c57600080fd5b5061042861072b366004613042565b6115ea565b34801561073c57600080fd5b506008546001600160a01b03166103f0565b34801561075a57600080fd5b506103a0610769366004612f4b565b611627565b34801561077a57600080fd5b506103c3611637565b610428610791366004612f4b565b611646565b3480156107a257600080fd5b506104286107b13660046132a3565b6117a1565b3480156107c257600080fd5b506103c3611837565b3480156107d757600080fd5b506103a0611844565b3480156107ec57600080fd5b506104286107fb36600461309a565b61185b565b34801561080c57600080fd5b5061042861081b3660046132d6565b61189f565b34801561082c57600080fd5b5061042861083b366004613281565b6118e9565b34801561084c57600080fd5b506103a061085b366004612f4b565b6119c1565b34801561086c57600080fd5b506103c361087b366004612f4b565b6119d1565b34801561088c57600080fd5b5061042861089b366004613240565b611bcc565b3480156108ac57600080fd5b506103756108bb366004613351565b600b60209081526000928352604080842090915290825290205460ff1681565b6104286108e9366004613374565b611d05565b3480156108fa57600080fd5b506103a060115481565b34801561091057600080fd5b5061042861091f36600461309a565b611fbb565b34801561093057600080fd5b5061094461093f366004612f4b565b612001565b6040516103819291906133bf565b34801561095e57600080fd5b5061037561096d3660046133e1565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156109a757600080fd5b506104286109b6366004613351565b6120a5565b3480156109c757600080fd5b506104286109d6366004612f4b565b612166565b3480156109e757600080fd5b506104286109f6366004613196565b6121e4565b348015610a0757600080fd5b506103c361227c565b60006301ffc9a760e01b6001600160e01b031983161480610a4157506380ac58cd60e01b6001600160e01b03198316145b80610a5c5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610a719061340b565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9d9061340b565b8015610aea5780601f10610abf57610100808354040283529160200191610aea565b820191906000526020600020905b815481529060010190602001808311610acd57829003601f168201915b5050505050905090565b6000610aff82612289565b610b1c576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610b43826112da565b9050336001600160a01b03821614610b7c57610b5f813361096d565b610b7c576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b03163314610c0b5760405162461bcd60e51b8152600401610c0290613440565b60405180910390fd5b8051610c1e90600d906020840190612dda565b5050565b6008546001600160a01b03163314610c4c5760405162461bcd60e51b8152600401610c0290613440565b6016805460ff1916911515919091179055565b600154600054036000190190565b6008546001600160a01b03163314610c975760405162461bcd60e51b8152600401610c0290613440565b8051610caa906014906020840190612e5e565b506000805b8251811015610cf157828181518110610cca57610cca613475565b602002602001015182610cdd91906134a1565b915080610ce9816134b9565b915050610caf565b50610cfa610c5f565b811015610d625760405162461bcd60e51b815260206004820152603060248201527f43616e6e6f742073697a6520646f776e20737570706c79206c6f77657220746860448201526f616e206d696e74656420737570706c7960801b6064820152608401610c02565b601254610d6f90826134a1565b601181905550601460155481548110610d8a57610d8a613475565b90600052602060002001546001600160401b03811115610dac57610dac612fa5565b604051908082528060200260200182016040528015610dd5578160200160208202803683370190505b508051610dea91601991602090910190612e5e565b505050565b6000610dfa826122be565b9050836001600160a01b0316816001600160a01b031614610e2d5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610e7a57610e5d863361096d565b610e7a57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610ea157604051633a954ecd60e21b815260040160405180910390fd5b8015610eac57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610f375760018401600081815260046020526040902054610f35576000548114610f355760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6000601060155481548110610f9857610f98613475565b9060005260206000200154905090565b6008546001600160a01b03163314610fd25760405162461bcd60e51b8152600401610c0290613440565b8051610c1e90600f906020840190612dda565b6008546001600160a01b0316331461100f5760405162461bcd60e51b8152600401610c0290613440565b600260095414156110625760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c02565b6002600955600061107b6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146110c5576040519150601f19603f3d011682016040523d82523d6000602084013e6110ca565b606091505b50509050806110d857600080fd5b506001600955565b610dea8383836040518060200160405280600081525061189f565b60606000611108836114c7565b90506000816001600160401b0381111561112457611124612fa5565b60405190808252806020026020018201604052801561114d578160200160208202803683370190505b50905060016000805b848210801561116757506011548311155b156111f75760006111778461232e565b90508060400151158015611194575080516001600160a01b031615155b1561119e57805191505b876001600160a01b0316826001600160a01b031614156111e457838584815181106111cb576111cb613475565b6020908102919091010152826111e0816134b9565b9350505b836111ee816134b9565b94505050611156565b509195945050505050565b6008546001600160a01b0316331461122c5760405162461bcd60e51b8152600401610c0290613440565b8051610c1e90600e906020840190612dda565b600d805461124c9061340b565b80601f01602080910402602001604051908101604052809291908181526020018280546112789061340b565b80156112c55780601f1061129a576101008083540402835291602001916112c5565b820191906000526020600020905b8154815290600101906020018083116112a857829003601f168201915b505050505081565b600c805461124c9061340b565b6000610a5c826122be565b6008546001600160a01b0316331461130f5760405162461bcd60e51b8152600401610c0290613440565b60125460115461131f91906134d4565b601b5461132d9083906134a1565b111561137b5760405162461bcd60e51b815260206004820152601d60248201527f4d6178206d6574616461746120616d6f756e74206578636565646564210000006044820152606401610c02565b60005b818110156114875760405180604001604052808484848181106113a3576113a3613475565b90506020028101906113b591906134eb565b6113bf908061350b565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050509082525060200184848481811061140b5761140b613475565b905060200281019061141d91906134eb565b602001358152506017600083601b5461143691906134a1565b6114419060016134a1565b815260208082019290925260400160002082518051919261146792849290910190612dda565b50602091909101516001909101558061147f816134b9565b91505061137e565b5081819050601b600082825461149d91906134a1565b90915550505050565b601481815481106114b657600080fd5b600091825260209091200154905081565b60006001600160a01b0382166114f0576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b0316331461153f5760405162461bcd60e51b8152600401610c0290613440565b61154960006123ac565b565b6008546001600160a01b031633146115755760405162461bcd60e51b8152600401610c0290613440565b6015548210156115975760405162461bcd60e51b8152600401610c0290613551565b80601083815481106115ab576115ab613475565b6000918252602090912001555050565b6008546001600160a01b031633146115e55760405162461bcd60e51b8152600401610c0290613440565b600a55565b6008546001600160a01b031633146116145760405162461bcd60e51b8152600401610c0290613440565b8051610c1e90600c906020840190612dda565b601081815481106114b657600080fd5b606060038054610a719061340b565b80600081118015611676575060136015548154811061166757611667613475565b90600052602060002001548111155b6116925760405162461bcd60e51b8152600401610c0290613599565b6012546011546116a291906134d4565b816116ab610c5f565b6116b591906134a1565b11156116d35760405162461bcd60e51b8152600401610c02906135c7565b81806010601554815481106116ea576116ea613475565b90600052602060002001546116ff91906135f5565b3410156117445760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610c02565b60165460ff16156117975760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401610c02565b610dea33846123fe565b6001600160a01b0382163314156117cb5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600e805461124c9061340b565b6000601360155481548110610f9857610f98613475565b6008546001600160a01b031633146118855760405162461bcd60e51b8152600401610c0290613440565b601680549115156101000261ff0019909216919091179055565b6118aa848484610def565b6001600160a01b0383163b156118e3576118c6848484846127a1565b6118e3576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b031633146119135760405162461bcd60e51b8152600401610c0290613440565b6015548210156119355760405162461bcd60e51b8152600401610c0290613551565b6014828154811061194857611948613475565b90600052602060002001548111156119ad5760405162461bcd60e51b815260206004820152602260248201527f43616e6e6f74206265206c6172676572207468616e20706861736520737570706044820152616c7960f01b6064820152608401610c02565b80601383815481106115ab576115ab613475565b601381815481106114b657600080fd5b60606119dc82612289565b611a405760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610c02565b60165462010000900460ff16611ae257600e8054611a5d9061340b565b80601f0160208091040260200160405190810160405280929190818152602001828054611a899061340b565b8015611ad65780601f10611aab57610100808354040283529160200191611ad6565b820191906000526020600020905b815481529060010190602001808311611ab957829003601f168201915b50505050509050919050565b601254601154611af291906134d4565b8211611b79576000611b02612898565b600084815260186020526040902054815191925090611b305760405180602001604052806000815250611b71565b6000818152601760205260409020600101548290611b4d906128a7565b600d604051602001611b61939291906136ae565b6040516020818303038152906040525b949350505050565b600f611b9d601254601154611b8e91906134d4565b611b9890856134d4565b6128a7565b600d604051602001611bb1939291906136eb565b6040516020818303038152906040529050919050565b919050565b6008546001600160a01b03163314611bf65760405162461bcd60e51b8152600401610c0290613440565b6012548114611c525760405162461bcd60e51b815260206004820152602260248201527f496e76616c6964206c6567656e646172792061646472657373657320636f756e604482015261742160f01b6064820152608401610c02565b601254601154611c6291906134d4565b611c6a610c5f565b14611cb75760405162461bcd60e51b815260206004820152601a60248201527f47656e6572616c204e465473206e6f7420736f6c64206f7574210000000000006044820152606401610c02565b60005b81811015610dea57611cf3838383818110611cd757611cd7613475565b9050602002016020810190611cec9190613196565b60016129a4565b80611cfd816134b9565b915050611cba565b82600081118015611d355750601360155481548110611d2657611d26613475565b90600052602060002001548111155b611d515760405162461bcd60e51b8152600401610c0290613599565b601254601154611d6191906134d4565b81611d6a610c5f565b611d7491906134a1565b1115611d925760405162461bcd60e51b8152600401610c02906135c7565b8380601060155481548110611da957611da9613475565b9060005260206000200154611dbe91906135f5565b341015611e035760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610c02565b601654610100900460ff16611e655760405162461bcd60e51b815260206004820152602260248201527f5468652077686974656c6973742073616c65206973206e6f7420656e61626c65604482015261642160f01b6064820152608401610c02565b6015546000908152600b6020908152604080832033845290915290205460ff1615611ed25760405162461bcd60e51b815260206004820152601860248201527f4164647265737320616c726561647920636c61696d65642100000000000000006044820152606401610c02565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050611f4c85858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a5491508490506129be565b611f895760405162461bcd60e51b815260206004820152600e60248201526d496e76616c69642070726f6f662160901b6044820152606401610c02565b6015546000908152600b60209081526040808320338085529252909120805460ff19166001179055610f7990876123fe565b6008546001600160a01b03163314611fe55760405162461bcd60e51b8152600401610c0290613440565b60168054911515620100000262ff000019909216919091179055565b60176020526000908152604090208054819061201c9061340b565b80601f01602080910402602001604051908101604052809291908181526020018280546120489061340b565b80156120955780601f1061206a57610100808354040283529160200191612095565b820191906000526020600020905b81548152906001019060200180831161207857829003601f168201915b5050505050908060010154905082565b816000811180156120d557506013601554815481106120c6576120c6613475565b90600052602060002001548111155b6120f15760405162461bcd60e51b8152600401610c0290613599565b60125460115461210191906134d4565b8161210a610c5f565b61211491906134a1565b11156121325760405162461bcd60e51b8152600401610c02906135c7565b6008546001600160a01b0316331461215c5760405162461bcd60e51b8152600401610c0290613440565b610dea82846123fe565b6008546001600160a01b031633146121905760405162461bcd60e51b8152600401610c0290613440565b6012546011546121a091906134d4565b816121a9610c5f565b6121b391906134a1565b11156121d15760405162461bcd60e51b8152600401610c02906135c7565b80156121e1576121e133826123fe565b50565b6008546001600160a01b0316331461220e5760405162461bcd60e51b8152600401610c0290613440565b6001600160a01b0381166122735760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c02565b6121e1816123ac565b600f805461124c9061340b565b60008160011115801561229d575060005482105b8015610a5c575050600090815260046020526040902054600160e01b161590565b600081806001116123155760005481101561231557600081815260046020526040902054600160e01b8116612313575b8061230c5750600019016000818152600460205260409020546122ee565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b604080516080810182526000808252602082018190529181018290526060810191909152600082815260046020526040902054610a5c90604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821661241157600080fd5b600061241b610c5f565b6124269060016134a1565b9050600061243483836134a1565b905060008060146015548154811061244e5761244e613475565b90600052602060002001546124616129d4565b61246b91906134a1565b6124769060016134a1565b9050808311156124905761248a81846134d4565b91508092505b835b8381101561253657601c54604051633352da4560e21b8152600481018390526000916001600160a01b03169063cd4b69149060240160206040518083038186803b1580156124df57600080fd5b505afa1580156124f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125179190613707565b90506125238282612a27565b508061252e816134b9565b915050612492565b5061254a8661254584886134d4565b6129a4565b81156126ae5760158054906000612560836134b9565b919050555060146015548154811061257a5761257a613475565b90600052602060002001546001600160401b0381111561259c5761259c612fa5565b6040519080825280602002602001820160405280156125c5578160200160208202803683370190505b5080516125da91601991602090910190612e5e565b506000601a55825b6125ec86866134a1565b81101561268f57601c54604051633352da4560e21b8152600481018390526000916001600160a01b03169063cd4b69149060240160206040518083038186803b15801561263857600080fd5b505afa15801561264c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126709190613707565b905061267c8282612a27565b5080612687816134b9565b9150506125e2565b506126a9868461269f88886134a1565b61254591906134d4565b610f79565b6014601554815481106126c3576126c3613475565b90600052602060002001546126d66129d4565b6126e091906134a1565b6126e8610c5f565b14801561270457506014546126ff906001906134d4565b601554105b15610f795760158054906000612719836134b9565b919050555060146015548154811061273357612733613475565b90600052602060002001546001600160401b0381111561275557612755612fa5565b60405190808252806020026020018201604052801561277e578160200160208202803683370190505b50805161279391601991602090910190612e5e565b506000601a55505050505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906127d6903390899088908890600401613720565b602060405180830381600087803b1580156127f057600080fd5b505af1925050508015612820575060408051601f3d908101601f1916820190925261281d9181019061375d565b60015b61287b573d80801561284e576040519150601f19603f3d011682016040523d82523d6000602084013e612853565b606091505b508051612873576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600c8054610a719061340b565b6060816128cb5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156128f557806128df816134b9565b91506128ee9050600a83613790565b91506128cf565b6000816001600160401b0381111561290f5761290f612fa5565b6040519080825280601f01601f191660200182016040528015612939576020820181803683370190505b5090505b8415611b715761294e6001836134d4565b915061295b600a866137a4565b6129669060306134a1565b60f81b81838151811061297b5761297b613475565b60200101906001600160f81b031916908160001a90535061299d600a86613790565b945061293d565b610c1e828260405180602001604052806000815250612a97565b6000826129cb8584612b04565b14949350505050565b60008060005b601554811015612a2157601481815481106129f7576129f7613475565b906000526020600020015482612a0d91906134a1565b915080612a19816134b9565b9150506129da565b50919050565b604080516020808201849052818301859052825180830384018152606090920190925280519101206000612a5a82612b78565b90506000612a666129d4565b905080612a748360016134a1565b612a7e91906134a1565b6000958652601860205260409095209490945550505050565b612aa18383612cfd565b6001600160a01b0383163b15610dea576000548281035b612acb60008683806001019450866127a1565b612ae8576040516368d2bf6b60e11b815260040160405180910390fd5b818110612ab8578160005414612afd57600080fd5b5050505050565b600081815b8451811015612b70576000858281518110612b2657612b26613475565b60200260200101519050808311612b4c5760008381526020829052604090209250612b5d565b600081815260208490526040902092505b5080612b68816134b9565b915050612b09565b509392505050565b601a805460009182919082612b8c836134b9565b90915550601954612b9d91906134d4565b905060008111612be85760405162461bcd60e51b815260206004820152601660248201527547656e6572616c204e46547320736f6c64206f75742160501b6044820152606401610c02565b6000612bf482856137a4565b905060198181548110612c0957612c09613475565b906000526020600020015460001415612c225780612c41565b60198181548110612c3557612c35613475565b90600052602060002001545b92506019612c506001846134d4565b81548110612c6057612c60613475565b9060005260206000200154600014612c9f576019612c7f6001846134d4565b81548110612c8f57612c8f613475565b9060005260206000200154612caa565b612caa6001836134d4565b60198281548110612cbd57612cbd613475565b60009182526020822001919091556019612cd86001856134d4565b81548110612ce857612ce8613475565b90600052602060002001819055505050919050565b6000546001600160a01b038316612d2657604051622e076360e81b815260040160405180910390fd5b81612d445760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210612d8e5760005550505050565b828054612de69061340b565b90600052602060002090601f016020900481019282612e085760008555612e4e565b82601f10612e2157805160ff1916838001178555612e4e565b82800160010185558215612e4e579182015b82811115612e4e578251825591602001919060010190612e33565b50612e5a929150612e98565b5090565b828054828255906000526020600020908101928215612e4e5791602002820182811115612e4e578251825591602001919060010190612e33565b5b80821115612e5a5760008155600101612e99565b6001600160e01b0319811681146121e157600080fd5b600060208284031215612ed557600080fd5b813561230c81612ead565b60005b83811015612efb578181015183820152602001612ee3565b838111156118e35750506000910152565b60008151808452612f24816020860160208601612ee0565b601f01601f19169290920160200192915050565b60208152600061230c6020830184612f0c565b600060208284031215612f5d57600080fd5b5035919050565b80356001600160a01b0381168114611bc757600080fd5b60008060408385031215612f8e57600080fd5b612f9783612f64565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612fe357612fe3612fa5565b604052919050565b60006001600160401b0383111561300457613004612fa5565b613017601f8401601f1916602001612fbb565b905082815283838301111561302b57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561305457600080fd5b81356001600160401b0381111561306a57600080fd5b8201601f8101841361307b57600080fd5b611b7184823560208401612feb565b80358015158114611bc757600080fd5b6000602082840312156130ac57600080fd5b61230c8261308a565b600060208083850312156130c857600080fd5b82356001600160401b03808211156130df57600080fd5b818501915085601f8301126130f357600080fd5b81358181111561310557613105612fa5565b8060051b9150613116848301612fbb565b818152918301840191848101908884111561313057600080fd5b938501935b8385101561314e57843582529385019390850190613135565b98975050505050505050565b60008060006060848603121561316f57600080fd5b61317884612f64565b925061318660208501612f64565b9150604084013590509250925092565b6000602082840312156131a857600080fd5b61230c82612f64565b6020808252825182820181905260009190848201906040850190845b818110156131e9578351835292840192918401916001016131cd565b50909695505050505050565b60008083601f84011261320757600080fd5b5081356001600160401b0381111561321e57600080fd5b6020830191508360208260051b850101111561323957600080fd5b9250929050565b6000806020838503121561325357600080fd5b82356001600160401b0381111561326957600080fd5b613275858286016131f5565b90969095509350505050565b6000806040838503121561329457600080fd5b50508035926020909101359150565b600080604083850312156132b657600080fd5b6132bf83612f64565b91506132cd6020840161308a565b90509250929050565b600080600080608085870312156132ec57600080fd5b6132f585612f64565b935061330360208601612f64565b92506040850135915060608501356001600160401b0381111561332557600080fd5b8501601f8101871361333657600080fd5b61334587823560208401612feb565b91505092959194509250565b6000806040838503121561336457600080fd5b823591506132cd60208401612f64565b60008060006040848603121561338957600080fd5b8335925060208401356001600160401b038111156133a657600080fd5b6133b2868287016131f5565b9497909650939450505050565b6040815260006133d26040830185612f0c565b90508260208301529392505050565b600080604083850312156133f457600080fd5b6133fd83612f64565b91506132cd60208401612f64565b600181811c9082168061341f57607f821691505b60208210811415612a2157634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156134b4576134b461348b565b500190565b60006000198214156134cd576134cd61348b565b5060010190565b6000828210156134e6576134e661348b565b500390565b60008235603e1983360301811261350157600080fd5b9190910192915050565b6000808335601e1984360301811261352257600080fd5b8301803591506001600160401b0382111561353c57600080fd5b60200191503681900382131561323957600080fd5b60208082526028908201527f43616e6e6f74206368616e6765206d696e74206c696d697420666f7220706173604082015267742070686173657360c01b606082015260800190565b602080825260149082015273496e76616c6964206d696e7420616d6f756e742160601b604082015260600190565b6020808252601490820152734d617820737570706c792065786365656465642160601b604082015260600190565b600081600019048311821515161561360f5761360f61348b565b500290565b8054600090600181811c908083168061362e57607f831692505b602080841082141561365057634e487b7160e01b600052602260045260246000fd5b8180156136645760018114613675576136a2565b60ff198616895284890196506136a2565b60008881526020902060005b8681101561369a5781548b820152908501908301613681565b505084890196505b50505050505092915050565b600084516136c0818460208901612ee0565b8451908301906136d4818360208901612ee0565b6136e081830186613614565b979650505050505050565b60006136f78286613614565b84516136d4818360208901612ee0565b60006020828403121561371957600080fd5b5051919050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061375390830184612f0c565b9695505050505050565b60006020828403121561376f57600080fd5b815161230c81612ead565b634e487b7160e01b600052601260045260246000fd5b60008261379f5761379f61377a565b500490565b6000826137b3576137b361377a565b50069056fea264697066735822122070346625a9dd20e84484cf38d7000b7baf5f25f65e114c205fcd9ce728ab457964736f6c63430008090033
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.