ERC-721
Overview
Max Total Supply
12,345 LUH-PFP
Holders
4,802
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
4 LUH-PFPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BaseDutchAuctionERC721A
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // Author: Eric Gao (@itsoksami, https://github.com/Ericxgao) pragma solidity ^0.8.4; import "erc721a/contracts/ERC721A.sol"; import "./LinearDutchAuction.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "hardhat/console.sol"; contract BaseDutchAuctionERC721A is ERC721A, LinearDutchAuction, ReentrancyGuard { using Strings for uint256; using ECDSA for bytes32; string public prefix = "Sunday Journal Base Verification:"; string public prefixDiscounted = "Sunday Journal Discounted Verification:"; string private baseTokenURI = ''; mapping(address => uint256) private _whitelistClaimed; mapping(address => uint256) private _publicListClaimed; uint256 public whitelistMaxMint; uint256 public publicListMaxMint; uint256 public reservedMax; uint256 public max; uint256 public nonReservedMinted; uint256 public reservedMinted; uint256 public discountedPrice; PaymentSplitter private _splitter; bool public isAllowedRefund; bool public allowPublicRefunds; bool allowWhitelistRefunds; bool allowDiscountRefunds; uint256 public isRefund; uint256 public refundPrice; uint256 public totalMintsForRefund; mapping(address => uint256) publicPurchasePrices; mapping(address => uint256) whitelistPurchasePrices; mapping(address => uint256) discountedPurchasePrices; mapping(address => uint256) private _discountClaimed; uint64 private constant decreaseInterval = 900; uint64 private constant numDecreases = 9; uint64 private constant startPrice = 5 ether; uint64 private constant decreaseSize = 0.5 ether; uint256 public publicTotalMaxMint; uint256 public publicTotalMinted; constructor( address[] memory payees, uint256[] memory shares, string memory name, string memory symbol, uint256 _whitelistMaxMint, uint256 _publicListMaxMint, uint256 _nonReservedMax, uint256 _reservedMax, uint256 _discountedPrice, uint256 _publicTotalMaxMint ) ERC721A(name, symbol, 5) LinearDutchAuction( LinearDutchAuction.DutchAuctionConfig({ startPoint: 0, // disabled at deployment startPrice: startPrice, unit: AuctionIntervalUnit.Time, decreaseInterval: decreaseInterval, // 15 minutes decreaseSize: decreaseSize, numDecreases: numDecreases }), .5 ether ) { whitelistMaxMint = _whitelistMaxMint; publicListMaxMint = _publicListMaxMint; reservedMax = _reservedMax; max = _nonReservedMax + reservedMax; nonReservedMinted = 0; reservedMinted = 0; discountedPrice = _discountedPrice; publicTotalMaxMint = _publicTotalMaxMint; _splitter = new PaymentSplitter(payees, shares); } function release(address payable account) external { _splitter.release(account); } function _hash(string memory _prefix, address _address) internal pure returns (bytes32) { return keccak256(abi.encodePacked(_prefix, _address)); } function _whitelistHash(address _address, uint256 _price, uint256 _quantity) internal pure returns (bytes32) { return keccak256(abi.encodePacked(_address, _price, _quantity)); } function _verify(bytes32 hash, bytes memory signature) internal view returns (bool) { return (_recover(hash, signature) == owner()); } function _recover(bytes32 hash, bytes memory signature) internal pure returns (address) { return hash.recover(signature); } function setPrefix(string memory _prefix) public onlyOwner { prefix = _prefix; } function setMax(uint256 _max) external onlyOwner { max = _max; } function setPrefixDiscounted(string memory _prefix) public onlyOwner { prefixDiscounted = _prefix; } function setWhitelistMaxMint(uint256 _whitelistMaxMint) external onlyOwner { whitelistMaxMint = _whitelistMaxMint; } function setPublicListMaxMint(uint256 _publicListMaxMint) external onlyOwner { publicListMaxMint = _publicListMaxMint; } function mintPublic(uint256 numberOfTokens) external payable { require(_publicListClaimed[msg.sender] + _whitelistClaimed[msg.sender] + numberOfTokens <= publicListMaxMint, 'You cannot mint this many.'); publicTotalMinted += numberOfTokens; require(publicTotalMinted <= publicTotalMaxMint, "exceed amount"); _publicListClaimed[msg.sender] += numberOfTokens; _nonReservedMintHelper(numberOfTokens, true); } function mintWhitelist(bytes32 hash, bytes memory signature, uint256 numberOfTokens) external payable { require(_verify(hash, signature), "This hash's signature is invalid."); require(_hash(prefix, msg.sender) == hash, "The address hash does not match the signed hash."); require(_whitelistClaimed[msg.sender] + numberOfTokens <= whitelistMaxMint, 'You cannot mint this many.'); _whitelistClaimed[msg.sender] += numberOfTokens; _nonReservedMintHelper(numberOfTokens, false); } function mintWhitelistPrice(bytes32 hash, bytes memory signature, uint256 price, uint256 numberOfTokens) external payable { require(_verify(hash, signature), "This hash's signature is invalid."); require(_whitelistHash(msg.sender, price, numberOfTokens) == hash, "The address hash does not match the signed hash."); require(_whitelistClaimed[msg.sender] + numberOfTokens <= whitelistMaxMint, 'You cannot mint this many.'); _whitelistClaimed[msg.sender] += numberOfTokens; _mintWhitelistPrice(price, numberOfTokens); } function _mintWhitelistPrice(uint256 _price, uint256 _quantity) internal nonReentrant { require(totalSupply() + _quantity <= max, "Sold out."); uint256 amount = _price * _quantity; require(amount <= msg.value, "Invalid amount."); _safeMint(msg.sender, _quantity); totalMintsForRefund += _quantity; whitelistPurchasePrices[msg.sender] += amount; if (msg.value > amount) { address payable reimburse = payable(_msgSender()); uint256 refundAmount = msg.value - amount; (bool success, bytes memory returnData) = reimburse.call{ value: refundAmount }(""); require(success, string(returnData)); } } function _hashMintWhitelistAmount(string memory _prefix, address _address, uint256 amount) internal view returns (bytes32) { return keccak256(abi.encodePacked(_prefix, _address, amount)); } function mintWhitelistAmount(bytes32 hash, bytes calldata signature, uint256 numberOfTokens, uint256 customLimit) external payable { require(_verify(hash, signature), "This hash's signature is invalid."); require(_hashMintWhitelistAmount(prefixDiscounted, msg.sender, customLimit) == hash, "Hash invalid."); require(_whitelistClaimed[msg.sender] + numberOfTokens <= customLimit, 'You cannot mint this many.'); require(_whitelistClaimed[msg.sender] + numberOfTokens <= whitelistMaxMint, 'You cannot mint this many.'); _whitelistClaimed[msg.sender] += numberOfTokens; _mintWhitelistPrice(discountedPrice, numberOfTokens); } function _nonReservedMintHelper(uint256 numberOfTokens, bool isPublic) internal nonReentrant { require(totalSupply() + numberOfTokens <= max, "Sold out."); uint256 price = cost(numberOfTokens); require(price <= msg.value, "Invalid amount."); _safeMint(msg.sender, numberOfTokens); totalMintsForRefund += numberOfTokens; if (isPublic) { publicPurchasePrices[msg.sender] += price; } else { whitelistPurchasePrices[msg.sender] += price; } if (msg.value > price) { address payable reimburse = payable(_msgSender()); uint256 refundAmount = msg.value - price; // Using Address.sendValue() here would mask the revertMsg upon // reentrancy, but we want to expose it to allow for more precise // testing. This otherwise uses the exact same pattern as // Address.sendValue(). (bool success, bytes memory returnData) = reimburse.call{ value: refundAmount }(""); // Although `returnData` will have a spurious prefix, all we really // care about is that it contains the ReentrancyGuard reversion // message so we can check in the tests. require(success, string(returnData)); } } function splitPayments(uint256 _amount) public payable onlyOwner { (bool success, ) = payable(_splitter).call{value: _amount}( "" ); require(success, "transfer failed"); } function mintReserved(uint256 quantity, address recipient) external onlyOwner { require( totalSupply() + quantity <= reservedMax, "Sold out." ); if (quantity < maxBatchSize) { _safeMint(recipient, quantity); } else { require( quantity % maxBatchSize == 0, "Can only mint a multiple of the maxBatchSize." ); uint256 numChunks = quantity / maxBatchSize; for (uint256 i = 0; i < numChunks; i++) { _safeMint(recipient, maxBatchSize); } } } function mintWhitelistDiscounted(bytes32 hash, bytes memory signature, uint256 numberOfTokens) external payable { require(_verify(hash, signature), "This hash's signature is invalid."); require(_hash(prefixDiscounted, msg.sender) == hash, "The address hash does not match the signed hash."); require(_whitelistClaimed[msg.sender] + numberOfTokens <= whitelistMaxMint, 'You cannot mint this many.'); require(discountedPrice * numberOfTokens == msg.value, "Invalid amount."); _whitelistClaimed[msg.sender] += numberOfTokens; _discountClaimed[msg.sender] += numberOfTokens; totalMintsForRefund += numberOfTokens; discountedPurchasePrices[msg.sender] += msg.value; _safeMint(msg.sender, numberOfTokens); } function setBaseURI(string memory baseTokenURI_) external onlyOwner { baseTokenURI = baseTokenURI_; } function tokenURI(uint256 tokenId) public view override returns (string memory) { return string(abi.encodePacked(baseTokenURI, tokenId.toString())); } function setRefundPrice(uint256 _price) external onlyOwner { refundPrice = _price; } function setAllowPublicRefunds(bool _allow) external onlyOwner { allowPublicRefunds = _allow; } function setAllowWhitelistRefunds(bool _allow) external onlyOwner { allowWhitelistRefunds = _allow; } function setAllowDiscountRefunds(bool _allow) external onlyOwner { allowDiscountRefunds = _allow; } function allowRefund(bool _allow) external onlyOwner { isAllowedRefund = _allow; } function getRefundTotal() external view returns(uint256) { require(isAllowedRefund, "refund not allowed"); return totalMintsForRefund * refundPrice; } function getPublicRefundAmount() public view returns(uint256) { if (allowPublicRefunds && (publicPurchasePrices[msg.sender] > _publicListClaimed[msg.sender] * refundPrice)) { return publicPurchasePrices[msg.sender] - _publicListClaimed[msg.sender] * refundPrice; } return 0; } function getWhitelistRefundAmount() public view returns(uint256) { if (allowWhitelistRefunds && (whitelistPurchasePrices[msg.sender] > (_whitelistClaimed[msg.sender] - _discountClaimed[msg.sender]) * refundPrice)) { return whitelistPurchasePrices[msg.sender] - (_whitelistClaimed[msg.sender] - _discountClaimed[msg.sender]) * refundPrice; } return 0; } function getDiscountRefundAmount() public view returns(uint256) { if (allowDiscountRefunds && (discountedPurchasePrices[msg.sender] > _discountClaimed[msg.sender] * refundPrice)) { return discountedPurchasePrices[msg.sender] - _discountClaimed[msg.sender] * refundPrice; } return 0; } function refund() external nonReentrant { require(isAllowedRefund == true, "refund not allowed"); uint256 amount; uint256 refundAmount = getPublicRefundAmount(); if (refundAmount != 0) { amount = refundAmount; publicPurchasePrices[msg.sender] = 0; totalMintsForRefund = totalMintsForRefund - _publicListClaimed[msg.sender]; } refundAmount = getWhitelistRefundAmount(); if (refundAmount != 0) { amount += refundAmount; whitelistPurchasePrices[msg.sender] = 0; totalMintsForRefund = totalMintsForRefund - (_whitelistClaimed[msg.sender] - _discountClaimed[msg.sender]); } refundAmount = getDiscountRefundAmount(); if (refundAmount != 0) { amount += refundAmount; discountedPurchasePrices[msg.sender] = 0; totalMintsForRefund = totalMintsForRefund - _discountClaimed[msg.sender]; } require(amount != 0, "no refunds"); (bool success, ) = payable(msg.sender).call{value: amount}(""); require(success == true, "failed to refund"); } function getStartPrice() external view onlyOwner returns(uint64) { return startPrice; } function getDecreaseInterval() external view onlyOwner returns(uint64) { return decreaseInterval; } function getNumDescreases() external view onlyOwner returns(uint64) { return numDecreases; } function getDecreaseSize() external view onlyOwner returns(uint64) { return decreaseSize; } function getPublicMinted() external view returns(uint256) { return _publicListClaimed[msg.sender]; } function getWhitelistMinted() external view returns(uint256) { return _whitelistClaimed[msg.sender]; } function setPublicTotalMaxMint(uint256 _amount) external onlyOwner { publicTotalMaxMint = _amount; } function setDiscountedPrice(uint256 _discountedPrice) external onlyOwner { discountedPrice = _discountedPrice; } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Does not support burning tokens to address(0). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 private currentIndex = 0; uint256 internal immutable maxBatchSize; // 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 ownershipOf implementation for details. mapping(uint256 => TokenOwnership) private _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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; /** * @dev * `maxBatchSize` refers to how much a minter can mint at a time. */ constructor( string memory name_, string memory symbol_, uint256 maxBatchSize_ ) { require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero"); _name = name_; _symbol = symbol_; maxBatchSize = maxBatchSize_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return currentIndex; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), "ERC721A: global index out of bounds"); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), "ERC721A: owner index out of bounds"); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx = 0; address currOwnershipAddr = address(0); for (uint256 i = 0; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } revert("ERC721A: unable to get token of owner by index"); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require(owner != address(0), "ERC721A: balance query for the zero address"); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require(owner != address(0), "ERC721A: number minted query for the zero address"); return uint256(_addressData[owner].numberMinted); } function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { require(_exists(tokenId), "ERC721A: owner query for nonexistent token"); uint256 lowestTokenToCheck; if (tokenId >= maxBatchSize) { lowestTokenToCheck = tokenId - maxBatchSize + 1; } for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } revert("ERC721A: unable to determine the owner of token"); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @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) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @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, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); require(to != owner, "ERC721A: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721A: approve caller is not owner nor approved for all" ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require(_exists(tokenId), "ERC721A: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), "ERC721A: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721A: transfer to non ERC721Receiver implementer" ); } /** * @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 tokenId < currentIndex; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ""); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` cannot be larger than the max batch size. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = currentIndex; require(to != address(0), "ERC721A: mint to the zero address"); // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering. require(!_exists(startTokenId), "ERC721A: token already minted"); require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high"); _beforeTokenTransfers(address(0), to, startTokenId, quantity); AddressData memory addressData = _addressData[to]; _addressData[to] = AddressData( addressData.balance + uint128(quantity), addressData.numberMinted + uint128(quantity) ); _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp)); uint256 updatedIndex = startTokenId; for (uint256 i = 0; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); require( _checkOnERC721Received(address(0), to, updatedIndex, _data), "ERC721A: transfer to non ERC721Receiver implementer" ); updatedIndex++; } currentIndex = updatedIndex; _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require(isApprovedOrOwner, "ERC721A: transfer caller is not owner nor approved"); require(prevOwnership.addr == from, "ERC721A: transfer from incorrect owner"); require(to != address(0), "ERC721A: transfer to the zero address"); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp)); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId] = TokenOwnership(prevOwnership.addr, prevOwnership.startTimestamp); } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } uint256 public nextOwnerToExplicitlySet = 0; /** * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf(). */ function _setOwnersExplicit(uint256 quantity) internal { uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet; require(quantity > 0, "quantity must be nonzero"); uint256 endIndex = oldNextOwnerToSet + quantity - 1; if (endIndex > currentIndex - 1) { endIndex = currentIndex - 1; } // We know if the last one in the group exists, all in the group exist, due to serial ordering. require(_exists(endIndex), "not enough minted yet for this cleanup"); for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) { if (_ownerships[i].addr == address(0)) { TokenOwnership memory ownership = ownershipOf(i); _ownerships[i] = TokenOwnership(ownership.addr, ownership.startTimestamp); } } nextOwnerToExplicitlySet = endIndex + 1; } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a 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 _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721A: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * 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`. */ 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. * * 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` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // Copyright (c) 2021 the ethier authors (github.com/divergencetech/ethier) pragma solidity >=0.8.0 <0.9.0; import "@openzeppelin/contracts/utils/math/Math.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; /// @notice A Seller with a linearly decreasing price. abstract contract LinearDutchAuction is Ownable { /** @param unit The unit of "time" used for decreasing prices, block number or timestamp. NOTE: See the comment on AuctionIntervalUnit re use of Time as a unit. @param startPoint The block or timestamp at which the auction opens. A value of zero disables the auction. See setAuctionStartPoint(). @param startPrice The price at `startPoint`. @param decreaseInterval The number of units to wait before decreasing the price. MUST be non-zero. @param decreaseSize The amount by which price decreases after every `decreaseInterval`. @param numDecreases The maximum number of price decreases before remaining constant. The reserve price is therefore implicit and equal to startPrice-numDecrease*decreaseSize. */ struct DutchAuctionConfig { uint256 startPoint; uint256 startPrice; uint256 decreaseInterval; uint256 decreaseSize; // From https://docs.soliditylang.org/en/v0.8.10/types.html#enums "Enums // cannot have more than 256 members"; presumably they take 8 bits, so // use some of the numDecreases space instead. uint248 numDecreases; AuctionIntervalUnit unit; } /** @notice The unit of "time" along which the cost decreases. @dev If no value is provided then the zero UNSPECIFIED will trigger an error. NOTE: The Block unit is more reliable as it has an explicit progression (simply incrementing). Miners are allowed to have a time drift into the future although which predisposes to unexpected behaviour by which "future" costs are encountered. See the ConsenSys 15-second rule: https://consensys.net/blog/developers/solidity-best-practices-for-smart-contract-security/ */ enum AuctionIntervalUnit { UNSPECIFIED, Block, Time } /// @param expectedReserve See setAuctionConfig(). constructor( DutchAuctionConfig memory config, uint256 expectedReserve ) { setAuctionConfig(config, expectedReserve); } /// @notice Configuration of price changes. DutchAuctionConfig public dutchAuctionConfig; /** @notice Sets the auction config. @param expectedReserve A safety check that the reserve, as calculated from the config, is as expected. */ function setAuctionConfig( DutchAuctionConfig memory config, uint256 expectedReserve ) public onlyOwner { // Underflow might occur is size/num decreases is too large. unchecked { require( config.startPrice - config.decreaseSize * config.numDecreases == expectedReserve, "LinearDutchAuction: incorrect reserve" ); } require( config.unit != AuctionIntervalUnit.UNSPECIFIED, "LinearDutchAuction: unspecified unit" ); require( config.decreaseInterval > 0, "LinearDutchAuction: zero decrease interval" ); dutchAuctionConfig = config; } /** @notice Sets the config startPoint. A startPoint of zero disables the auction. @dev The auction can be toggle on and off with this function, without the cost of having to update the entire config. */ function setAuctionStartPoint(uint256 startPoint) public onlyOwner { dutchAuctionConfig.startPoint = startPoint; } /// @notice Dutch-auction logic cost function. function cost(uint256 n) public view returns (uint256) { DutchAuctionConfig storage cfg = dutchAuctionConfig; return n * (cfg.startPrice - Math.min((block.timestamp - cfg.startPoint) / cfg.decreaseInterval, cfg.numDecreases) * cfg.decreaseSize); } }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return recover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return recover(hash, r, vs); } else { revert("ECDSA: invalid signature length"); } } /** * @dev Overload of {ECDSA-recover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return recover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. require( uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value" ); require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value"); // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); require(signer != address(0), "ECDSA: invalid signature"); return signer; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Address.sol"; import "../utils/Context.sol"; import "../utils/math/SafeMath.sol"; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = address(this).balance + _totalReleased; uint256 payment = (totalReceived * _shares[account]) / _totalShares - _released[account]; require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] = _released[account] + payment; _totalReleased = _totalReleased + payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @dev Add a new payee to the contract. * @param account The address of the payee to add. * @param shares_ The number of shares owned by the payee. */ function _addPayee(address account, uint256 shares_) private { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } }
// SPDX-License-Identifier: MIT 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 make 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 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 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`, 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 Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT 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 tokenId); /** * @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 pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow, so we distribute. return (a / 2) + (b / 2) + (((a % 2) + (b % 2)) / 2); } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a / b + (a % b == 0 ? 0 : 1); } }
// SPDX-License-Identifier: MIT 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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
{ "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":"address[]","name":"payees","type":"address[]"},{"internalType":"uint256[]","name":"shares","type":"uint256[]"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"_whitelistMaxMint","type":"uint256"},{"internalType":"uint256","name":"_publicListMaxMint","type":"uint256"},{"internalType":"uint256","name":"_nonReservedMax","type":"uint256"},{"internalType":"uint256","name":"_reservedMax","type":"uint256"},{"internalType":"uint256","name":"_discountedPrice","type":"uint256"},{"internalType":"uint256","name":"_publicTotalMaxMint","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":[],"name":"allowPublicRefunds","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_allow","type":"bool"}],"name":"allowRefund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"n","type":"uint256"}],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"discountedPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dutchAuctionConfig","outputs":[{"internalType":"uint256","name":"startPoint","type":"uint256"},{"internalType":"uint256","name":"startPrice","type":"uint256"},{"internalType":"uint256","name":"decreaseInterval","type":"uint256"},{"internalType":"uint256","name":"decreaseSize","type":"uint256"},{"internalType":"uint248","name":"numDecreases","type":"uint248"},{"internalType":"enum LinearDutchAuction.AuctionIntervalUnit","name":"unit","type":"uint8"}],"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":"getDecreaseInterval","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDecreaseSize","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDiscountRefundAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumDescreases","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPublicMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPublicRefundAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRefundTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStartPrice","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWhitelistMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWhitelistRefundAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isAllowedRefund","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"isRefund","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"max","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"uint256","name":"customLimit","type":"uint256"}],"name":"mintWhitelistAmount","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintWhitelistDiscounted","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"hash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintWhitelistPrice","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nonReservedMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"prefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"prefixDiscounted","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicListMaxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicTotalMaxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicTotalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"refund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"refundPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reservedMinted","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":"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":"bool","name":"_allow","type":"bool"}],"name":"setAllowDiscountRefunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_allow","type":"bool"}],"name":"setAllowPublicRefunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_allow","type":"bool"}],"name":"setAllowWhitelistRefunds","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":[{"components":[{"internalType":"uint256","name":"startPoint","type":"uint256"},{"internalType":"uint256","name":"startPrice","type":"uint256"},{"internalType":"uint256","name":"decreaseInterval","type":"uint256"},{"internalType":"uint256","name":"decreaseSize","type":"uint256"},{"internalType":"uint248","name":"numDecreases","type":"uint248"},{"internalType":"enum LinearDutchAuction.AuctionIntervalUnit","name":"unit","type":"uint8"}],"internalType":"struct LinearDutchAuction.DutchAuctionConfig","name":"config","type":"tuple"},{"internalType":"uint256","name":"expectedReserve","type":"uint256"}],"name":"setAuctionConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"startPoint","type":"uint256"}],"name":"setAuctionStartPoint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseTokenURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_discountedPrice","type":"uint256"}],"name":"setDiscountedPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_prefix","type":"string"}],"name":"setPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_prefix","type":"string"}],"name":"setPrefixDiscounted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicListMaxMint","type":"uint256"}],"name":"setPublicListMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setPublicTotalMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setRefundPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_whitelistMaxMint","type":"uint256"}],"name":"setWhitelistMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"splitPayments","outputs":[],"stateMutability":"payable","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMintsForRefund","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"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":[],"name":"whitelistMaxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6000808055600755610100604052602160a081815290620058a960c03980516200003291600f91602090910190620004ac565b50604051806060016040528060278152602001620058826027913980516200006391601091602090910190620004ac565b506040805160208101918290526000908190526200008491601191620004ac565b503480156200009257600080fd5b50604051620058ca380380620058ca833981016040819052620000b591620006e1565b6040805160c08101825260008152674563918244f400006020820152610384918101919091526706f05b59d3b2000060608201526009608082015260a08101600290526706f05b59d3b200008989600562000114565b60405180910390fd5b825162000129906001906020860190620004ac565b5081516200013f906002906020850190620004ac565b50608052506200015190503362000204565b6200015d828262000256565b50506001600e556014869055601585905560168390556200017f8385620008a4565b60175560006018819055601955601a82905560238190556040518a908a90620001a8906200053b565b620001b5929190620007d1565b604051809103906000f080158015620001d2573d6000803e3d6000fd5b50601b80546001600160a01b0319166001600160a01b0392909216919091179055506200091c98505050505050505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b03163314620002b25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200010b565b8082608001516001600160f81b0316836060015102836020015103146200032a5760405162461bcd60e51b815260206004820152602560248201527f4c696e656172447574636841756374696f6e3a20696e636f7272656374207265604482015264736572766560d81b60648201526084016200010b565b60008260a0015160028111156200035157634e487b7160e01b600052602160045260246000fd5b1415620003ad5760405162461bcd60e51b8152602060048201526024808201527f4c696e656172447574636841756374696f6e3a20756e737065636966696564206044820152631d5b9a5d60e21b60648201526084016200010b565b6000826040015111620004165760405162461bcd60e51b815260206004820152602a60248201527f4c696e656172447574636841756374696f6e3a207a65726f206465637265617360448201526919481a5b9d195c9d985b60b21b60648201526084016200010b565b815160099081556020830151600a556040830151600b556060830151600c556080830151600d80547fff00000000000000000000000000000000000000000000000000000000000000166001600160f81b03909216918217815560a0850151859392909190600160f81b836002811115620004a157634e487b7160e01b600052602160045260246000fd5b021790555050505050565b828054620004ba90620008c9565b90600052602060002090601f016020900481019282620004de576000855562000529565b82601f10620004f957805160ff191683800117855562000529565b8280016001018555821562000529579182015b82811115620005295782518255916020019190600101906200050c565b506200053792915062000549565b5090565b610b6a8062004d1883390190565b5b808211156200053757600081556001016200054a565b600082601f83011262000571578081fd5b815160206200058a62000584836200087e565b6200084b565b80838252828201915082860187848660051b8901011115620005aa578586fd5b855b85811015620005df5781516001600160a01b0381168114620005cc578788fd5b84529284019290840190600101620005ac565b5090979650505050505050565b600082601f830112620005fd578081fd5b815160206200061062000584836200087e565b80838252828201915082860187848660051b890101111562000630578586fd5b855b85811015620005df5781518452928401929084019060010162000632565b600082601f83011262000661578081fd5b81516001600160401b038111156200067d576200067d62000906565b602062000693601f8301601f191682016200084b565b8281528582848701011115620006a7578384fd5b835b83811015620006c6578581018301518282018401528201620006a9565b83811115620006d757848385840101525b5095945050505050565b6000806000806000806000806000806101408b8d03121562000701578586fd5b8a516001600160401b038082111562000718578788fd5b620007268e838f0162000560565b9b5060208d01519150808211156200073c578788fd5b6200074a8e838f01620005ec565b9a5060408d015191508082111562000760578788fd5b6200076e8e838f0162000650565b995060608d015191508082111562000784578788fd5b50620007938d828e0162000650565b97505060808b0151955060a08b0151945060c08b0151935060e08b015192506101008b015191506101208b015190509295989b9194979a5092959850565b604080825283519082018190526000906020906060840190828701845b82811015620008155781516001600160a01b031684529284019290840190600101620007ee565b50505083810382850152845180825285830191830190845b81811015620005df578351835292840192918401916001016200082d565b604051601f8201601f191681016001600160401b038111828210171562000876576200087662000906565b604052919050565b60006001600160401b038211156200089a576200089a62000906565b5060051b60200190565b60008219821115620008c457634e487b7160e01b81526011600452602481fd5b500190565b600181811c90821680620008de57607f821691505b602082108114156200090057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6080516143b662000962600039600081816118f80152818161192d015281816119bc015281816119f401528181612cb001528181612cda015261340c01526143b66000f3fe60806040526004361061041a5760003560e01c80637bd07f8b1161021e578063bcf161a211610123578063d73b2a6c116100ab578063e985e9c51161007a578063e985e9c514610baa578063ea4194dc14610bf3578063efd0cbf914610c13578063f2fde38b14610c26578063f4aa1b6714610c4657600080fd5b8063d73b2a6c14610b3e578063d921eb7814610b54578063e0c5b0ed14610b6a578063e214696314610b8a57600080fd5b8063c85b380d116100f2578063c85b380d14610ab0578063c878813414610ad0578063c87b56dd14610ae6578063d57e4eae14610b06578063d7224ba014610b2857600080fd5b8063bcf161a214610a43578063bcf754bf14610a58578063c0c3714914610a7a578063c0fa501114610a9057600080fd5b8063a9501b73116101a6578063b413e61a11610175578063b413e61a146109c7578063b882bacb146109e8578063b88d4fde146109fb578063b966217f14610a1b578063baffa90314610a2e57600080fd5b8063a9501b731461095f578063ab55abf51461097f578063b1b54e9a1461099f578063b27a87b0146109b457600080fd5b80638da5cb5b116101ed5780638da5cb5b146108d95780638f3756c2146108f75780639097548d1461090a57806395d89b411461092a578063a22cb4651461093f57600080fd5b80637bd07f8b14610840578063808d52591461088e578063846b4193146108a457806385cb593b146108b957600080fd5b806339a2e65911610324578063590e1ae3116102ac57806370a082311161027b57806370a08231146107c0578063715018a6146107e0578063722e141d146107f557806375dadb321461080b578063788183dd1461082057600080fd5b8063590e1ae314610755578063631bbbba1461076a5780636352211e1461078a5780636ac5db19146107aa57600080fd5b80634f6ccce7116102f35780634f6ccce7146106d757806351b75115146106f7578063557007011461070a57806355f804b31461071f578063571d34af1461073f57600080fd5b806339a2e6591461066c57806339ae8c8f1461068c57806342842e0e146106a15780634f297ccc146106c157600080fd5b80630e56a3c3116103a75780631fe9eabc116103765780631fe9eabc146105d757806320def2a4146105f757806323aa0f9b1461061757806323b872dd1461062c5780632f745c591461064c57600080fd5b80630e56a3c31461056057806318160ddd1461058d57806319165587146105a25780631a11e20d146105c257600080fd5b8063057494a1116103ee578063057494a1146104b057806306fdde03146104d0578063081812fc146104f2578063095ea7b31461052a5780630a23b7251461054a57600080fd5b8062ab1fa31461041f57806301ffc9a714610441578063022a11b414610476578063035fd8c21461049a575b600080fd5b34801561042b57600080fd5b5061043f61043a366004613d89565b610c67565b005b34801561044d57600080fd5b5061046161045c366004613c84565b610c9f565b60405190151581526020015b60405180910390f35b34801561048257600080fd5b5061048c601e5481565b60405190815260200161046d565b3480156104a657600080fd5b5061048c60235481565b3480156104bc57600080fd5b5061043f6104cb366004613b44565b610d0c565b3480156104dc57600080fd5b506104e5610d54565b60405161046d9190613f49565b3480156104fe57600080fd5b5061051261050d366004613d89565b610de6565b6040516001600160a01b03909116815260200161046d565b34801561053657600080fd5b5061043f610545366004613b19565b610e71565b34801561055657600080fd5b5061048c60185481565b34801561056c57600080fd5b50610575610f89565b6040516001600160401b03909116815260200161046d565b34801561059957600080fd5b5060005461048c565b3480156105ae57600080fd5b5061043f6105bd3660046139e8565b610fbd565b3480156105ce57600080fd5b5061057561101f565b3480156105e357600080fd5b5061043f6105f2366004613d89565b611059565b34801561060357600080fd5b5061043f610612366004613d89565b611088565b34801561062357600080fd5b5061048c6110b7565b34801561063857600080fd5b5061043f610647366004613a3c565b611144565b34801561065857600080fd5b5061048c610667366004613b19565b61114f565b34801561067857600080fd5b5061043f610687366004613d89565b6112bc565b34801561069857600080fd5b5061048c6112eb565b3480156106ad57600080fd5b5061043f6106bc366004613a3c565b61134c565b3480156106cd57600080fd5b5061048c60195481565b3480156106e357600080fd5b5061048c6106f2366004613d89565b611367565b61043f610705366004613be3565b6113c9565b34801561071657600080fd5b5061048c611599565b34801561072b57600080fd5b5061043f61073a366004613cbc565b61161b565b34801561074b57600080fd5b5061048c60155481565b34801561076157600080fd5b5061043f61165c565b34801561077657600080fd5b5061043f610785366004613da1565b611897565b34801561079657600080fd5b506105126107a5366004613d89565b611a30565b3480156107b657600080fd5b5061048c60175481565b3480156107cc57600080fd5b5061048c6107db3660046139e8565b611a42565b3480156107ec57600080fd5b5061043f611ad3565b34801561080157600080fd5b5061048c60145481565b34801561081757600080fd5b506104e5611b09565b34801561082c57600080fd5b5061043f61083b366004613d89565b611b97565b34801561084c57600080fd5b50600954600a54600b54600c54600d5461087c94939291906001600160f81b03811690600160f81b900460ff1686565b60405161046d9695949392919061412f565b34801561089a57600080fd5b5061048c601d5481565b3480156108b057600080fd5b5061048c611bc6565b3480156108c557600080fd5b5061043f6108d4366004613cbc565b611c72565b3480156108e557600080fd5b506008546001600160a01b0316610512565b61043f610905366004613c30565b611caf565b34801561091657600080fd5b5061048c610925366004613d89565b611d69565b34801561093657600080fd5b506104e5611dcd565b34801561094b57600080fd5b5061043f61095a366004613ae5565b611ddc565b34801561096b57600080fd5b5061043f61097a366004613b44565b611ea1565b34801561098b57600080fd5b5061043f61099a366004613b44565b611ee9565b3480156109ab57600080fd5b50610575611f31565b61043f6109c2366004613be3565b611f64565b3480156109d357600080fd5b50601b5461046190600160a81b900460ff1681565b61043f6109f6366004613d89565b612024565b348015610a0757600080fd5b5061043f610a16366004613a7c565b6120e3565b61043f610a29366004613b5e565b612116565b348015610a3a57600080fd5b506105756122ed565b348015610a4f57600080fd5b506104e5612327565b348015610a6457600080fd5b503360009081526013602052604090205461048c565b348015610a8657600080fd5b5061048c60245481565b348015610a9c57600080fd5b5061043f610aab366004613b44565b612334565b348015610abc57600080fd5b5061043f610acb366004613d01565b61237c565b348015610adc57600080fd5b5061048c601a5481565b348015610af257600080fd5b506104e5610b01366004613d89565b612580565b348015610b1257600080fd5b503360009081526012602052604090205461048c565b348015610b3457600080fd5b5061048c60075481565b348015610b4a57600080fd5b5061048c60165481565b348015610b6057600080fd5b5061048c601c5481565b348015610b7657600080fd5b5061043f610b85366004613d89565b6125b4565b348015610b9657600080fd5b5061043f610ba5366004613d89565b6125e3565b348015610bb657600080fd5b50610461610bc5366004613a04565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b348015610bff57600080fd5b5061043f610c0e366004613cbc565b612612565b61043f610c21366004613d89565b61264f565b348015610c3257600080fd5b5061043f610c413660046139e8565b61272f565b348015610c5257600080fd5b50601b5461046190600160a01b900460ff1681565b6008546001600160a01b03163314610c9a5760405162461bcd60e51b8152600401610c9190613fd5565b60405180910390fd5b601a55565b60006001600160e01b031982166380ac58cd60e01b1480610cd057506001600160e01b03198216635b5e139f60e01b145b80610ceb57506001600160e01b0319821663780e9d6360e01b145b80610d0657506301ffc9a760e01b6001600160e01b03198316145b92915050565b6008546001600160a01b03163314610d365760405162461bcd60e51b8152600401610c9190613fd5565b601b8054911515600160a01b0260ff60a01b19909216919091179055565b606060018054610d63906142a9565b80601f0160208091040260200160405190810160405280929190818152602001828054610d8f906142a9565b8015610ddc5780601f10610db157610100808354040283529160200191610ddc565b820191906000526020600020905b815481529060010190602001808311610dbf57829003601f168201915b5050505050905090565b6000610df3826000541190565b610e555760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b6064820152608401610c91565b506000908152600560205260409020546001600160a01b031690565b6000610e7c82611a30565b9050806001600160a01b0316836001600160a01b03161415610eeb5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610c91565b336001600160a01b0382161480610f075750610f078133610bc5565b610f795760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610c91565b610f848383836127c7565b505050565b6008546000906001600160a01b03163314610fb65760405162461bcd60e51b8152600401610c9190613fd5565b5061038490565b601b54604051631916558760e01b81526001600160a01b03838116600483015290911690631916558790602401600060405180830381600087803b15801561100457600080fd5b505af1158015611018573d6000803e3d6000fd5b5050505050565b6008546000906001600160a01b0316331461104c5760405162461bcd60e51b8152600401610c9190613fd5565b506706f05b59d3b2000090565b6008546001600160a01b031633146110835760405162461bcd60e51b8152600401610c9190613fd5565b601755565b6008546001600160a01b031633146110b25760405162461bcd60e51b8152600401610c9190613fd5565b602355565b601b54600090600160b81b900460ff1680156110fd5750601d54336000908152602260205260409020546110eb9190614208565b33600090815260216020526040902054115b1561113e57601d543360009081526022602052604090205461111f9190614208565b33600090815260216020526040902054611139919061424f565b905090565b50600090565b610f84838383612823565b600061115a83611a42565b82106111b35760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610c91565b600080549080805b8381101561125c576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b0316918301919091521561120d57805192505b876001600160a01b0316836001600160a01b03161415611249578684141561123b57509350610d0692505050565b83611245816142e4565b9450505b5080611254816142e4565b9150506111bb565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610c91565b6008546001600160a01b031633146112e65760405162461bcd60e51b8152600401610c9190613fd5565b601555565b601b54600090600160a01b900460ff1661133c5760405162461bcd60e51b81526020600482015260126024820152711c99599d5b99081b9bdd08185b1b1bddd95960721b6044820152606401610c91565b601d54601e546111399190614208565b610f84838383604051806020016040528060008152506120e3565b6000805482106113c55760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610c91565b5090565b6113d38383612ba9565b6113ef5760405162461bcd60e51b8152600401610c91906140b7565b8261148460108054611400906142a9565b80601f016020809104026020016040519081016040528092919081815260200182805461142c906142a9565b80156114795780601f1061144e57610100808354040283529160200191611479565b820191906000526020600020905b81548152906001019060200180831161145c57829003601f168201915b505050505033612be1565b146114a15760405162461bcd60e51b8152600401610c9190613f85565b601454336000908152601260205260409020546114bf9083906141dc565b11156114dd5760405162461bcd60e51b8152600401610c919061405d565b3481601a546114ec9190614208565b146115095760405162461bcd60e51b8152600401610c9190613f5c565b33600090815260126020526040812080548392906115289084906141dc565b9091555050336000908152602260205260408120805483929061154c9084906141dc565b9250508190555080601e600082825461156591906141dc565b909155505033600090815260216020526040812080543492906115899084906141dc565b90915550610f8490503382612c14565b601b54600090600160a81b900460ff1680156115df5750601d54336000908152601360205260409020546115cd9190614208565b336000908152601f6020526040902054115b1561113e57601d54336000908152601360205260409020546116019190614208565b336000908152601f6020526040902054611139919061424f565b6008546001600160a01b031633146116455760405162461bcd60e51b8152600401610c9190613fd5565b80516116589060119060208401906138a0565b5050565b6002600e54141561167f5760405162461bcd60e51b8152600401610c91906140f8565b6002600e55601b54600160a01b900460ff1615156001146116d75760405162461bcd60e51b81526020600482015260126024820152711c99599d5b99081b9bdd08185b1b1bddd95960721b6044820152606401610c91565b6000806116e2611599565b9050801561171d57336000908152601f602090815260408083208390556013909152902054601e549192508291611719919061424f565b601e555b611725611bc6565b905080156117785761173781836141dc565b3360009081526020808052604080832083905560228252808320546012909252909120549193506117679161424f565b601e54611774919061424f565b601e555b6117806110b7565b905080156117c25761179281836141dc565b3360009081526021602090815260408083208390556022909152902054601e549193506117be9161424f565b601e555b816117fc5760405162461bcd60e51b815260206004820152600a6024820152696e6f20726566756e647360b01b6044820152606401610c91565b604051600090339084908381818185875af1925050503d806000811461183e576040519150601f19603f3d011682016040523d82523d6000602084013e611843565b606091505b509091505060018115151461188d5760405162461bcd60e51b815260206004820152601060248201526f19985a5b1959081d1bc81c99599d5b9960821b6044820152606401610c91565b50506001600e5550565b6008546001600160a01b031633146118c15760405162461bcd60e51b8152600401610c9190613fd5565b601654826118ce60005490565b6118d891906141dc565b11156118f65760405162461bcd60e51b8152600401610c9190614094565b7f0000000000000000000000000000000000000000000000000000000000000000821015611928576116588183612c14565b6119527f0000000000000000000000000000000000000000000000000000000000000000836142ff565b156119b55760405162461bcd60e51b815260206004820152602d60248201527f43616e206f6e6c79206d696e742061206d756c7469706c65206f66207468652060448201526c36b0bc2130ba31b429b4bd329760991b6064820152608401610c91565b60006119e17f0000000000000000000000000000000000000000000000000000000000000000846141f4565b905060005b81811015611a2a57611a18837f0000000000000000000000000000000000000000000000000000000000000000612c14565b80611a22816142e4565b9150506119e6565b50505050565b6000611a3b82612c2e565b5192915050565b60006001600160a01b038216611aae5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610c91565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6008546001600160a01b03163314611afd5760405162461bcd60e51b8152600401610c9190613fd5565b611b076000612dd7565b565b600f8054611b16906142a9565b80601f0160208091040260200160405190810160405280929190818152602001828054611b42906142a9565b8015611b8f5780601f10611b6457610100808354040283529160200191611b8f565b820191906000526020600020905b815481529060010190602001808311611b7257829003601f168201915b505050505081565b6008546001600160a01b03163314611bc15760405162461bcd60e51b8152600401610c9190613fd5565b601d55565b601b54600090600160b01b900460ff168015611c215750601d5433600090815260226020908152604080832054601290925290912054611c06919061424f565b611c109190614208565b336000908152602080526040902054115b1561113e57601d5433600090815260226020908152604080832054601290925290912054611c4f919061424f565b611c599190614208565b336000908152602080526040902054611139919061424f565b6008546001600160a01b03163314611c9c5760405162461bcd60e51b8152600401610c9190613fd5565b805161165890600f9060208401906138a0565b611cb98484612ba9565b611cd55760405162461bcd60e51b8152600401610c91906140b7565b83611ce1338484612e29565b14611cfe5760405162461bcd60e51b8152600401610c9190613f85565b60145433600090815260126020526040902054611d1c9083906141dc565b1115611d3a5760405162461bcd60e51b8152600401610c919061405d565b3360009081526012602052604081208054839290611d599084906141dc565b90915550611a2a90508282612e74565b600c54600b54600980546000939192611da391611d86904261424f565b611d9091906141f4565b60048401546001600160f81b0316612fe6565b611dad9190614208565b8160010154611dbc919061424f565b611dc69084614208565b9392505050565b606060028054610d63906142a9565b6001600160a01b038216331415611e355760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610c91565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b03163314611ecb5760405162461bcd60e51b8152600401610c9190613fd5565b601b8054911515600160a81b0260ff60a81b19909216919091179055565b6008546001600160a01b03163314611f135760405162461bcd60e51b8152600401610c9190613fd5565b601b8054911515600160b01b0260ff60b01b19909216919091179055565b6008546000906001600160a01b03163314611f5e5760405162461bcd60e51b8152600401610c9190613fd5565b50600990565b611f6e8383612ba9565b611f8a5760405162461bcd60e51b8152600401610c91906140b7565b82611f9b600f8054611400906142a9565b14611fb85760405162461bcd60e51b8152600401610c9190613f85565b60145433600090815260126020526040902054611fd69083906141dc565b1115611ff45760405162461bcd60e51b8152600401610c919061405d565b33600090815260126020526040812080548392906120139084906141dc565b90915550610f849050816000612ffc565b6008546001600160a01b0316331461204e5760405162461bcd60e51b8152600401610c9190613fd5565b601b546040516000916001600160a01b03169083908381818185875af1925050503d806000811461209b576040519150601f19603f3d011682016040523d82523d6000602084013e6120a0565b606091505b50509050806116585760405162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b6044820152606401610c91565b6120ee848484612823565b6120fa84848484613105565b611a2a5760405162461bcd60e51b8152600401610c919061400a565b6121568585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612ba992505050565b6121725760405162461bcd60e51b8152600401610c91906140b7565b8461220860108054612183906142a9565b80601f01602080910402602001604051908101604052809291908181526020018280546121af906142a9565b80156121fc5780601f106121d1576101008083540402835291602001916121fc565b820191906000526020600020905b8154815290600101906020018083116121df57829003601f168201915b50505050503384613213565b146122455760405162461bcd60e51b815260206004820152600d60248201526c2430b9b41034b73b30b634b21760991b6044820152606401610c91565b3360009081526012602052604090205481906122629084906141dc565b11156122805760405162461bcd60e51b8152600401610c919061405d565b6014543360009081526012602052604090205461229e9084906141dc565b11156122bc5760405162461bcd60e51b8152600401610c919061405d565b33600090815260126020526040812080548492906122db9084906141dc565b9091555050601a546110189083612e74565b6008546000906001600160a01b0316331461231a5760405162461bcd60e51b8152600401610c9190613fd5565b50674563918244f4000090565b60108054611b16906142a9565b6008546001600160a01b0316331461235e5760405162461bcd60e51b8152600401610c9190613fd5565b601b8054911515600160b81b0260ff60b81b19909216919091179055565b6008546001600160a01b031633146123a65760405162461bcd60e51b8152600401610c9190613fd5565b8082608001516001600160f81b03168360600151028360200151031461241c5760405162461bcd60e51b815260206004820152602560248201527f4c696e656172447574636841756374696f6e3a20696e636f7272656374207265604482015264736572766560d81b6064820152608401610c91565b60008260a00151600281111561244257634e487b7160e01b600052602160045260246000fd5b141561249c5760405162461bcd60e51b8152602060048201526024808201527f4c696e656172447574636841756374696f6e3a20756e737065636966696564206044820152631d5b9a5d60e21b6064820152608401610c91565b60008260400151116125035760405162461bcd60e51b815260206004820152602a60248201527f4c696e656172447574636841756374696f6e3a207a65726f206465637265617360448201526919481a5b9d195c9d985b60b21b6064820152608401610c91565b815160099081556020830151600a556040830151600b556060830151600c556080830151600d80546001600160f81b0319166001600160f81b03909216918217815560a0850151859392909190600160f81b83600281111561257557634e487b7160e01b600052602160045260246000fd5b021790555050505050565b6060601161258d8361322a565b60405160200161259e929190613e79565b6040516020818303038152906040529050919050565b6008546001600160a01b031633146125de5760405162461bcd60e51b8152600401610c9190613fd5565b600955565b6008546001600160a01b0316331461260d5760405162461bcd60e51b8152600401610c9190613fd5565b601455565b6008546001600160a01b0316331461263c5760405162461bcd60e51b8152600401610c9190613fd5565b80516116589060109060208401906138a0565b601554336000908152601260209081526040808320546013909252909120548391612679916141dc565b61268391906141dc565b11156126a15760405162461bcd60e51b8152600401610c919061405d565b80602460008282546126b391906141dc565b909155505060235460245411156126fc5760405162461bcd60e51b815260206004820152600d60248201526c195e18d9595908185b5bdd5b9d609a1b6044820152606401610c91565b336000908152601360205260408120805483929061271b9084906141dc565b9091555061272c9050816001612ffc565b50565b6008546001600160a01b031633146127595760405162461bcd60e51b8152600401610c9190613fd5565b6001600160a01b0381166127be5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c91565b61272c81612dd7565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061282e82612c2e565b80519091506000906001600160a01b0316336001600160a01b0316148061286557503361285a84610de6565b6001600160a01b0316145b80612877575081516128779033610bc5565b9050806128e15760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610c91565b846001600160a01b031682600001516001600160a01b0316146129555760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610c91565b6001600160a01b0384166129b95760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610c91565b6129c960008484600001516127c7565b6001600160a01b03851660009081526004602052604081208054600192906129fb9084906001600160801b0316614227565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b03861660009081526004602052604081208054600194509092612a47918591166141b1565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526003909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055612ace8460016141dc565b6000818152600360205260409020549091506001600160a01b0316612b5f57612af8816000541190565b15612b5f5760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6000612bbd6008546001600160a01b031690565b6001600160a01b0316612bd08484613343565b6001600160a01b0316149392505050565b60008282604051602001612bf6929190613e0d565b60405160208183030381529060405280519060200120905092915050565b61165882826040518060200160405280600081525061334f565b6040805180820190915260008082526020820152612c4d826000541190565b612cac5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610c91565b60007f00000000000000000000000000000000000000000000000000000000000000008310612d0d57612cff7f00000000000000000000000000000000000000000000000000000000000000008461424f565b612d0a9060016141dc565b90505b825b818110612d76576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215612d6357949350505050565b5080612d6e81614292565b915050612d0f565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b6064820152608401610c91565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040516001600160601b0319606085901b16602082015260348101839052605481018290526000906074015b6040516020818303038152906040528051906020012090509392505050565b6002600e541415612e975760405162461bcd60e51b8152600401610c91906140f8565b6002600e5560175481612ea960005490565b612eb391906141dc565b1115612ed15760405162461bcd60e51b8152600401610c9190614094565b6000612edd8284614208565b905034811115612eff5760405162461bcd60e51b8152600401610c9190613f5c565b612f093383612c14565b81601e6000828254612f1b91906141dc565b909155505033600090815260208052604081208054839290612f3e9084906141dc565b90915550503481101561188d576000335b90506000612f5d833461424f565b9050600080836001600160a01b03168360405160006040518083038185875af1925050503d8060008114612fad576040519150601f19603f3d011682016040523d82523d6000602084013e612fb2565b606091505b5091509150818190612fd75760405162461bcd60e51b8152600401610c919190613f49565b505050505050506001600e5550565b6000818310612ff55781611dc6565b5090919050565b6002600e54141561301f5760405162461bcd60e51b8152600401610c91906140f8565b6002600e556017548261303160005490565b61303b91906141dc565b11156130595760405162461bcd60e51b8152600401610c9190614094565b600061306483611d69565b9050348111156130865760405162461bcd60e51b8152600401610c9190613f5c565b6130903384612c14565b82601e60008282546130a291906141dc565b909155505081156130d757336000908152601f6020526040812080548392906130cc9084906141dc565b909155506130f59050565b33600090815260208052604081208054839290612f3e9084906141dc565b8034111561188d57600033612f4f565b60006001600160a01b0384163b1561320757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613149903390899088908890600401613f16565b602060405180830381600087803b15801561316357600080fd5b505af1925050508015613193575060408051601f3d908101601f1916820190925261319091810190613ca0565b60015b6131ed573d8080156131c1576040519150601f19603f3d011682016040523d82523d6000602084013e6131c6565b606091505b5080516131e55760405162461bcd60e51b8152600401610c919061400a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061320b565b5060015b949350505050565b6000838383604051602001612e5593929190613e3f565b60608161324e5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156132785780613262816142e4565b91506132719050600a836141f4565b9150613252565b6000816001600160401b038111156132a057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156132ca576020820181803683370190505b5090505b841561320b576132df60018361424f565b91506132ec600a866142ff565b6132f79060306141dc565b60f81b81838151811061331a57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061333c600a866141f4565b94506132ce565b6000611dc68383613629565b6000546001600160a01b0384166133b25760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610c91565b6133bd816000541190565b1561340a5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610c91565b7f00000000000000000000000000000000000000000000000000000000000000008311156134855760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b6064820152608401610c91565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b90910416918101919091528151808301909252805190919081906134e19087906141b1565b6001600160801b031681526020018583602001516134ff91906141b1565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b8581101561361e5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46135e26000888488613105565b6135fe5760405162461bcd60e51b8152600401610c919061400a565b81613608816142e4565b9250508080613616906142e4565b915050613595565b506000819055612ba1565b600081516041141561365d5760208201516040830151606084015160001a613653868285856136cd565b9350505050610d06565b815160401415613685576020820151604083015161367c858383613876565b92505050610d06565b60405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610c91565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a082111561374a5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610c91565b8360ff16601b148061375f57508360ff16601c145b6137b65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610c91565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa15801561380a573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661386d5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610c91565b95945050505050565b60006001600160ff1b03821660ff83901c601b01613896868287856136cd565b9695505050505050565b8280546138ac906142a9565b90600052602060002090601f0160209004810192826138ce5760008555613914565b82601f106138e757805160ff1916838001178555613914565b82800160010185558215613914579182015b828111156139145782518255916020019190600101906138f9565b506113c59291505b808211156113c5576000815560010161391c565b60006001600160401b038084111561394a5761394a61433f565b604051601f8501601f19908116603f011681019082821181831017156139725761397261433f565b8160405280935085815286868601111561398b57600080fd5b858560208301376000602087830101525050509392505050565b803580151581146139b557600080fd5b919050565b600082601f8301126139ca578081fd5b611dc683833560208501613930565b8035600381106139b557600080fd5b6000602082840312156139f9578081fd5b8135611dc681614355565b60008060408385031215613a16578081fd5b8235613a2181614355565b91506020830135613a3181614355565b809150509250929050565b600080600060608486031215613a50578081fd5b8335613a5b81614355565b92506020840135613a6b81614355565b929592945050506040919091013590565b60008060008060808587031215613a91578081fd5b8435613a9c81614355565b93506020850135613aac81614355565b92506040850135915060608501356001600160401b03811115613acd578182fd5b613ad9878288016139ba565b91505092959194509250565b60008060408385031215613af7578182fd5b8235613b0281614355565b9150613b10602084016139a5565b90509250929050565b60008060408385031215613b2b578182fd5b8235613b3681614355565b946020939093013593505050565b600060208284031215613b55578081fd5b611dc6826139a5565b600080600080600060808688031215613b75578081fd5b8535945060208601356001600160401b0380821115613b92578283fd5b818801915088601f830112613ba5578283fd5b813581811115613bb3578384fd5b896020828501011115613bc4578384fd5b9699602092909201985095966040810135965060600135945092505050565b600080600060608486031215613bf7578081fd5b8335925060208401356001600160401b03811115613c13578182fd5b613c1f868287016139ba565b925050604084013590509250925092565b60008060008060808587031215613c45578182fd5b8435935060208501356001600160401b03811115613c61578283fd5b613c6d878288016139ba565b949794965050505060408301359260600135919050565b600060208284031215613c95578081fd5b8135611dc68161436a565b600060208284031215613cb1578081fd5b8151611dc68161436a565b600060208284031215613ccd578081fd5b81356001600160401b03811115613ce2578182fd5b8201601f81018413613cf2578182fd5b61320b84823560208401613930565b60008082840360e0811215613d14578283fd5b60c0811215613d21578283fd5b50613d2a614189565b8335815260208085013590820152604080850135908201526060808501359082015260808401356001600160f81b0381168114613d65578384fd5b6080820152613d7660a085016139d9565b60a08201529460c0939093013593505050565b600060208284031215613d9a578081fd5b5035919050565b60008060408385031215613db3578182fd5b823591506020830135613a3181614355565b60008151808452613ddd816020860160208601614266565b601f01601f19169290920160200192915050565b60008151613e03818560208601614266565b9290920192915050565b60008351613e1f818460208801614266565b60609390931b6001600160601b0319169190920190815260140192915050565b60008451613e51818460208901614266565b60609490941b6001600160601b03191691909301908152601481019190915260340192915050565b600080845482600182811c915080831680613e9557607f831692505b6020808410821415613eb557634e487b7160e01b87526022600452602487fd5b818015613ec95760018114613eda57613f06565b60ff19861689528489019650613f06565b60008b815260209020885b86811015613efe5781548b820152908501908301613ee5565b505084890196505b50505050505061386d8185613df1565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061389690830184613dc5565b602081526000611dc66020830184613dc5565b6020808252600f908201526e24b73b30b634b21030b6b7bab73a1760891b604082015260600190565b60208082526030908201527f5468652061646472657373206861736820646f6573206e6f74206d617463682060408201526f3a34329039b4b3b732b2103430b9b41760811b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6020808252601a908201527f596f752063616e6e6f74206d696e742074686973206d616e792e000000000000604082015260600190565b60208082526009908201526829b7b6321037baba1760b91b604082015260600190565b60208082526021908201527f5468697320686173682773207369676e617475726520697320696e76616c69646040820152601760f91b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b8681526020810186905260408101859052606081018490526001600160f81b038316608082015260c081016003831061417857634e487b7160e01b600052602160045260246000fd5b8260a0830152979650505050505050565b60405160c081016001600160401b03811182821017156141ab576141ab61433f565b60405290565b60006001600160801b038083168185168083038211156141d3576141d3614313565b01949350505050565b600082198211156141ef576141ef614313565b500190565b60008261420357614203614329565b500490565b600081600019048311821515161561422257614222614313565b500290565b60006001600160801b038381169083168181101561424757614247614313565b039392505050565b60008282101561426157614261614313565b500390565b60005b83811015614281578181015183820152602001614269565b83811115611a2a5750506000910152565b6000816142a1576142a1614313565b506000190190565b600181811c908216806142bd57607f821691505b602082108114156142de57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156142f8576142f8614313565b5060010190565b60008261430e5761430e614329565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461272c57600080fd5b6001600160e01b03198116811461272c57600080fdfea26469706673582212205cd5067e17fcc90181b03c488291bf7fd57a3aa68210f15690bd17252ed07b3264736f6c63430008040033608060405260405162000b6a38038062000b6a8339810160408190526200002691620003db565b8051825114620000985760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620000eb5760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f2070617965657300000000000060448201526064016200008f565b60005b82518110156200016f576200015a8382815181106200011d57634e487b7160e01b600052603260045260246000fd5b60200260200101518383815181106200014657634e487b7160e01b600052603260045260246000fd5b60200260200101516200017860201b60201c565b8062000166816200052c565b915050620000ee565b50505062000576565b6001600160a01b038216620001e55760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b60648201526084016200008f565b60008111620002375760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a2073686172657320617265203000000060448201526064016200008f565b6001600160a01b03821660009081526002602052604090205415620002b35760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b60648201526084016200008f565b60048054600181019091557f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160a01b0319166001600160a01b0384169081179091556000908152600260205260408120829055546200031b90829062000511565b600055604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b600082601f83011262000375578081fd5b815160206200038e6200038883620004eb565b620004b8565b80838252828201915082860187848660051b8901011115620003ae578586fd5b855b85811015620003ce57815184529284019290840190600101620003b0565b5090979650505050505050565b60008060408385031215620003ee578182fd5b82516001600160401b038082111562000405578384fd5b818501915085601f83011262000419578384fd5b815160206200042c6200038883620004eb565b8083825282820191508286018a848660051b89010111156200044c578889fd5b8896505b84871015620004855780516001600160a01b03811681146200047057898afd5b83526001969096019591830191830162000450565b50918801519196509093505050808211156200049f578283fd5b50620004ae8582860162000364565b9150509250929050565b604051601f8201601f191681016001600160401b0381118282101715620004e357620004e362000560565b604052919050565b60006001600160401b0382111562000507576200050762000560565b5060051b60200190565b600082198211156200052757620005276200054a565b500190565b60006000198214156200054357620005436200054a565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6105e480620005866000396000f3fe6080604052600436106100595760003560e01c806319165587146100a75780633a98ef39146100c95780638b83209b146100ed5780639852595c14610125578063ce7c2ac21461015b578063e33b7de31461019157600080fd5b366100a2577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156100b357600080fd5b506100c76100c23660046104d7565b6101a6565b005b3480156100d557600080fd5b506000545b6040519081526020015b60405180910390f35b3480156100f957600080fd5b5061010d6101083660046104fa565b61037b565b6040516001600160a01b0390911681526020016100e4565b34801561013157600080fd5b506100da6101403660046104d7565b6001600160a01b031660009081526003602052604090205490565b34801561016757600080fd5b506100da6101763660046104d7565b6001600160a01b031660009081526002602052604090205490565b34801561019d57600080fd5b506001546100da565b6001600160a01b03811660009081526002602052604090205461021f5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b60648201526084015b60405180910390fd5b60006001544761022f9190610512565b6001600160a01b03831660009081526003602090815260408083205483546002909352908320549394509192610265908561054a565b61026f919061052a565b6102799190610569565b9050806102dc5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610216565b6001600160a01b038316600090815260036020526040902054610300908290610512565b6001600160a01b038416600090815260036020526040902055600154610327908290610512565b60015561033483826103b9565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b60006004828154811061039e57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031692915050565b804710156104095760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610216565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610456576040519150601f19603f3d011682016040523d82523d6000602084013e61045b565b606091505b50509050806104d25760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610216565b505050565b6000602082840312156104e8578081fd5b81356104f381610596565b9392505050565b60006020828403121561050b578081fd5b5035919050565b6000821982111561052557610525610580565b500190565b60008261054557634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561056457610564610580565b500290565b60008282101561057b5761057b610580565b500390565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146105ab57600080fd5b5056fea2646970667358221220c96491603802a35d8468b85d1304c5db15afa93e123878731b5049f1e77eb80d64736f6c6343000804003353756e646179204a6f75726e616c20446973636f756e74656420566572696669636174696f6e3a53756e646179204a6f75726e616c204261736520566572696669636174696f6e3a0000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002ee000000000000000000000000000000000000000000000000000000000000001590000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000001e8b40285375f88d489ddc9e29770f3a86c9921b0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000254c6576656c696e67205570204865726f6573202d2050726f66696c6520506963747572657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000074c55482d50465000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061041a5760003560e01c80637bd07f8b1161021e578063bcf161a211610123578063d73b2a6c116100ab578063e985e9c51161007a578063e985e9c514610baa578063ea4194dc14610bf3578063efd0cbf914610c13578063f2fde38b14610c26578063f4aa1b6714610c4657600080fd5b8063d73b2a6c14610b3e578063d921eb7814610b54578063e0c5b0ed14610b6a578063e214696314610b8a57600080fd5b8063c85b380d116100f2578063c85b380d14610ab0578063c878813414610ad0578063c87b56dd14610ae6578063d57e4eae14610b06578063d7224ba014610b2857600080fd5b8063bcf161a214610a43578063bcf754bf14610a58578063c0c3714914610a7a578063c0fa501114610a9057600080fd5b8063a9501b73116101a6578063b413e61a11610175578063b413e61a146109c7578063b882bacb146109e8578063b88d4fde146109fb578063b966217f14610a1b578063baffa90314610a2e57600080fd5b8063a9501b731461095f578063ab55abf51461097f578063b1b54e9a1461099f578063b27a87b0146109b457600080fd5b80638da5cb5b116101ed5780638da5cb5b146108d95780638f3756c2146108f75780639097548d1461090a57806395d89b411461092a578063a22cb4651461093f57600080fd5b80637bd07f8b14610840578063808d52591461088e578063846b4193146108a457806385cb593b146108b957600080fd5b806339a2e65911610324578063590e1ae3116102ac57806370a082311161027b57806370a08231146107c0578063715018a6146107e0578063722e141d146107f557806375dadb321461080b578063788183dd1461082057600080fd5b8063590e1ae314610755578063631bbbba1461076a5780636352211e1461078a5780636ac5db19146107aa57600080fd5b80634f6ccce7116102f35780634f6ccce7146106d757806351b75115146106f7578063557007011461070a57806355f804b31461071f578063571d34af1461073f57600080fd5b806339a2e6591461066c57806339ae8c8f1461068c57806342842e0e146106a15780634f297ccc146106c157600080fd5b80630e56a3c3116103a75780631fe9eabc116103765780631fe9eabc146105d757806320def2a4146105f757806323aa0f9b1461061757806323b872dd1461062c5780632f745c591461064c57600080fd5b80630e56a3c31461056057806318160ddd1461058d57806319165587146105a25780631a11e20d146105c257600080fd5b8063057494a1116103ee578063057494a1146104b057806306fdde03146104d0578063081812fc146104f2578063095ea7b31461052a5780630a23b7251461054a57600080fd5b8062ab1fa31461041f57806301ffc9a714610441578063022a11b414610476578063035fd8c21461049a575b600080fd5b34801561042b57600080fd5b5061043f61043a366004613d89565b610c67565b005b34801561044d57600080fd5b5061046161045c366004613c84565b610c9f565b60405190151581526020015b60405180910390f35b34801561048257600080fd5b5061048c601e5481565b60405190815260200161046d565b3480156104a657600080fd5b5061048c60235481565b3480156104bc57600080fd5b5061043f6104cb366004613b44565b610d0c565b3480156104dc57600080fd5b506104e5610d54565b60405161046d9190613f49565b3480156104fe57600080fd5b5061051261050d366004613d89565b610de6565b6040516001600160a01b03909116815260200161046d565b34801561053657600080fd5b5061043f610545366004613b19565b610e71565b34801561055657600080fd5b5061048c60185481565b34801561056c57600080fd5b50610575610f89565b6040516001600160401b03909116815260200161046d565b34801561059957600080fd5b5060005461048c565b3480156105ae57600080fd5b5061043f6105bd3660046139e8565b610fbd565b3480156105ce57600080fd5b5061057561101f565b3480156105e357600080fd5b5061043f6105f2366004613d89565b611059565b34801561060357600080fd5b5061043f610612366004613d89565b611088565b34801561062357600080fd5b5061048c6110b7565b34801561063857600080fd5b5061043f610647366004613a3c565b611144565b34801561065857600080fd5b5061048c610667366004613b19565b61114f565b34801561067857600080fd5b5061043f610687366004613d89565b6112bc565b34801561069857600080fd5b5061048c6112eb565b3480156106ad57600080fd5b5061043f6106bc366004613a3c565b61134c565b3480156106cd57600080fd5b5061048c60195481565b3480156106e357600080fd5b5061048c6106f2366004613d89565b611367565b61043f610705366004613be3565b6113c9565b34801561071657600080fd5b5061048c611599565b34801561072b57600080fd5b5061043f61073a366004613cbc565b61161b565b34801561074b57600080fd5b5061048c60155481565b34801561076157600080fd5b5061043f61165c565b34801561077657600080fd5b5061043f610785366004613da1565b611897565b34801561079657600080fd5b506105126107a5366004613d89565b611a30565b3480156107b657600080fd5b5061048c60175481565b3480156107cc57600080fd5b5061048c6107db3660046139e8565b611a42565b3480156107ec57600080fd5b5061043f611ad3565b34801561080157600080fd5b5061048c60145481565b34801561081757600080fd5b506104e5611b09565b34801561082c57600080fd5b5061043f61083b366004613d89565b611b97565b34801561084c57600080fd5b50600954600a54600b54600c54600d5461087c94939291906001600160f81b03811690600160f81b900460ff1686565b60405161046d9695949392919061412f565b34801561089a57600080fd5b5061048c601d5481565b3480156108b057600080fd5b5061048c611bc6565b3480156108c557600080fd5b5061043f6108d4366004613cbc565b611c72565b3480156108e557600080fd5b506008546001600160a01b0316610512565b61043f610905366004613c30565b611caf565b34801561091657600080fd5b5061048c610925366004613d89565b611d69565b34801561093657600080fd5b506104e5611dcd565b34801561094b57600080fd5b5061043f61095a366004613ae5565b611ddc565b34801561096b57600080fd5b5061043f61097a366004613b44565b611ea1565b34801561098b57600080fd5b5061043f61099a366004613b44565b611ee9565b3480156109ab57600080fd5b50610575611f31565b61043f6109c2366004613be3565b611f64565b3480156109d357600080fd5b50601b5461046190600160a81b900460ff1681565b61043f6109f6366004613d89565b612024565b348015610a0757600080fd5b5061043f610a16366004613a7c565b6120e3565b61043f610a29366004613b5e565b612116565b348015610a3a57600080fd5b506105756122ed565b348015610a4f57600080fd5b506104e5612327565b348015610a6457600080fd5b503360009081526013602052604090205461048c565b348015610a8657600080fd5b5061048c60245481565b348015610a9c57600080fd5b5061043f610aab366004613b44565b612334565b348015610abc57600080fd5b5061043f610acb366004613d01565b61237c565b348015610adc57600080fd5b5061048c601a5481565b348015610af257600080fd5b506104e5610b01366004613d89565b612580565b348015610b1257600080fd5b503360009081526012602052604090205461048c565b348015610b3457600080fd5b5061048c60075481565b348015610b4a57600080fd5b5061048c60165481565b348015610b6057600080fd5b5061048c601c5481565b348015610b7657600080fd5b5061043f610b85366004613d89565b6125b4565b348015610b9657600080fd5b5061043f610ba5366004613d89565b6125e3565b348015610bb657600080fd5b50610461610bc5366004613a04565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b348015610bff57600080fd5b5061043f610c0e366004613cbc565b612612565b61043f610c21366004613d89565b61264f565b348015610c3257600080fd5b5061043f610c413660046139e8565b61272f565b348015610c5257600080fd5b50601b5461046190600160a01b900460ff1681565b6008546001600160a01b03163314610c9a5760405162461bcd60e51b8152600401610c9190613fd5565b60405180910390fd5b601a55565b60006001600160e01b031982166380ac58cd60e01b1480610cd057506001600160e01b03198216635b5e139f60e01b145b80610ceb57506001600160e01b0319821663780e9d6360e01b145b80610d0657506301ffc9a760e01b6001600160e01b03198316145b92915050565b6008546001600160a01b03163314610d365760405162461bcd60e51b8152600401610c9190613fd5565b601b8054911515600160a01b0260ff60a01b19909216919091179055565b606060018054610d63906142a9565b80601f0160208091040260200160405190810160405280929190818152602001828054610d8f906142a9565b8015610ddc5780601f10610db157610100808354040283529160200191610ddc565b820191906000526020600020905b815481529060010190602001808311610dbf57829003601f168201915b5050505050905090565b6000610df3826000541190565b610e555760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b6064820152608401610c91565b506000908152600560205260409020546001600160a01b031690565b6000610e7c82611a30565b9050806001600160a01b0316836001600160a01b03161415610eeb5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610c91565b336001600160a01b0382161480610f075750610f078133610bc5565b610f795760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610c91565b610f848383836127c7565b505050565b6008546000906001600160a01b03163314610fb65760405162461bcd60e51b8152600401610c9190613fd5565b5061038490565b601b54604051631916558760e01b81526001600160a01b03838116600483015290911690631916558790602401600060405180830381600087803b15801561100457600080fd5b505af1158015611018573d6000803e3d6000fd5b5050505050565b6008546000906001600160a01b0316331461104c5760405162461bcd60e51b8152600401610c9190613fd5565b506706f05b59d3b2000090565b6008546001600160a01b031633146110835760405162461bcd60e51b8152600401610c9190613fd5565b601755565b6008546001600160a01b031633146110b25760405162461bcd60e51b8152600401610c9190613fd5565b602355565b601b54600090600160b81b900460ff1680156110fd5750601d54336000908152602260205260409020546110eb9190614208565b33600090815260216020526040902054115b1561113e57601d543360009081526022602052604090205461111f9190614208565b33600090815260216020526040902054611139919061424f565b905090565b50600090565b610f84838383612823565b600061115a83611a42565b82106111b35760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610c91565b600080549080805b8381101561125c576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b0316918301919091521561120d57805192505b876001600160a01b0316836001600160a01b03161415611249578684141561123b57509350610d0692505050565b83611245816142e4565b9450505b5080611254816142e4565b9150506111bb565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610c91565b6008546001600160a01b031633146112e65760405162461bcd60e51b8152600401610c9190613fd5565b601555565b601b54600090600160a01b900460ff1661133c5760405162461bcd60e51b81526020600482015260126024820152711c99599d5b99081b9bdd08185b1b1bddd95960721b6044820152606401610c91565b601d54601e546111399190614208565b610f84838383604051806020016040528060008152506120e3565b6000805482106113c55760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610c91565b5090565b6113d38383612ba9565b6113ef5760405162461bcd60e51b8152600401610c91906140b7565b8261148460108054611400906142a9565b80601f016020809104026020016040519081016040528092919081815260200182805461142c906142a9565b80156114795780601f1061144e57610100808354040283529160200191611479565b820191906000526020600020905b81548152906001019060200180831161145c57829003601f168201915b505050505033612be1565b146114a15760405162461bcd60e51b8152600401610c9190613f85565b601454336000908152601260205260409020546114bf9083906141dc565b11156114dd5760405162461bcd60e51b8152600401610c919061405d565b3481601a546114ec9190614208565b146115095760405162461bcd60e51b8152600401610c9190613f5c565b33600090815260126020526040812080548392906115289084906141dc565b9091555050336000908152602260205260408120805483929061154c9084906141dc565b9250508190555080601e600082825461156591906141dc565b909155505033600090815260216020526040812080543492906115899084906141dc565b90915550610f8490503382612c14565b601b54600090600160a81b900460ff1680156115df5750601d54336000908152601360205260409020546115cd9190614208565b336000908152601f6020526040902054115b1561113e57601d54336000908152601360205260409020546116019190614208565b336000908152601f6020526040902054611139919061424f565b6008546001600160a01b031633146116455760405162461bcd60e51b8152600401610c9190613fd5565b80516116589060119060208401906138a0565b5050565b6002600e54141561167f5760405162461bcd60e51b8152600401610c91906140f8565b6002600e55601b54600160a01b900460ff1615156001146116d75760405162461bcd60e51b81526020600482015260126024820152711c99599d5b99081b9bdd08185b1b1bddd95960721b6044820152606401610c91565b6000806116e2611599565b9050801561171d57336000908152601f602090815260408083208390556013909152902054601e549192508291611719919061424f565b601e555b611725611bc6565b905080156117785761173781836141dc565b3360009081526020808052604080832083905560228252808320546012909252909120549193506117679161424f565b601e54611774919061424f565b601e555b6117806110b7565b905080156117c25761179281836141dc565b3360009081526021602090815260408083208390556022909152902054601e549193506117be9161424f565b601e555b816117fc5760405162461bcd60e51b815260206004820152600a6024820152696e6f20726566756e647360b01b6044820152606401610c91565b604051600090339084908381818185875af1925050503d806000811461183e576040519150601f19603f3d011682016040523d82523d6000602084013e611843565b606091505b509091505060018115151461188d5760405162461bcd60e51b815260206004820152601060248201526f19985a5b1959081d1bc81c99599d5b9960821b6044820152606401610c91565b50506001600e5550565b6008546001600160a01b031633146118c15760405162461bcd60e51b8152600401610c9190613fd5565b601654826118ce60005490565b6118d891906141dc565b11156118f65760405162461bcd60e51b8152600401610c9190614094565b7f0000000000000000000000000000000000000000000000000000000000000005821015611928576116588183612c14565b6119527f0000000000000000000000000000000000000000000000000000000000000005836142ff565b156119b55760405162461bcd60e51b815260206004820152602d60248201527f43616e206f6e6c79206d696e742061206d756c7469706c65206f66207468652060448201526c36b0bc2130ba31b429b4bd329760991b6064820152608401610c91565b60006119e17f0000000000000000000000000000000000000000000000000000000000000005846141f4565b905060005b81811015611a2a57611a18837f0000000000000000000000000000000000000000000000000000000000000005612c14565b80611a22816142e4565b9150506119e6565b50505050565b6000611a3b82612c2e565b5192915050565b60006001600160a01b038216611aae5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610c91565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6008546001600160a01b03163314611afd5760405162461bcd60e51b8152600401610c9190613fd5565b611b076000612dd7565b565b600f8054611b16906142a9565b80601f0160208091040260200160405190810160405280929190818152602001828054611b42906142a9565b8015611b8f5780601f10611b6457610100808354040283529160200191611b8f565b820191906000526020600020905b815481529060010190602001808311611b7257829003601f168201915b505050505081565b6008546001600160a01b03163314611bc15760405162461bcd60e51b8152600401610c9190613fd5565b601d55565b601b54600090600160b01b900460ff168015611c215750601d5433600090815260226020908152604080832054601290925290912054611c06919061424f565b611c109190614208565b336000908152602080526040902054115b1561113e57601d5433600090815260226020908152604080832054601290925290912054611c4f919061424f565b611c599190614208565b336000908152602080526040902054611139919061424f565b6008546001600160a01b03163314611c9c5760405162461bcd60e51b8152600401610c9190613fd5565b805161165890600f9060208401906138a0565b611cb98484612ba9565b611cd55760405162461bcd60e51b8152600401610c91906140b7565b83611ce1338484612e29565b14611cfe5760405162461bcd60e51b8152600401610c9190613f85565b60145433600090815260126020526040902054611d1c9083906141dc565b1115611d3a5760405162461bcd60e51b8152600401610c919061405d565b3360009081526012602052604081208054839290611d599084906141dc565b90915550611a2a90508282612e74565b600c54600b54600980546000939192611da391611d86904261424f565b611d9091906141f4565b60048401546001600160f81b0316612fe6565b611dad9190614208565b8160010154611dbc919061424f565b611dc69084614208565b9392505050565b606060028054610d63906142a9565b6001600160a01b038216331415611e355760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610c91565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b03163314611ecb5760405162461bcd60e51b8152600401610c9190613fd5565b601b8054911515600160a81b0260ff60a81b19909216919091179055565b6008546001600160a01b03163314611f135760405162461bcd60e51b8152600401610c9190613fd5565b601b8054911515600160b01b0260ff60b01b19909216919091179055565b6008546000906001600160a01b03163314611f5e5760405162461bcd60e51b8152600401610c9190613fd5565b50600990565b611f6e8383612ba9565b611f8a5760405162461bcd60e51b8152600401610c91906140b7565b82611f9b600f8054611400906142a9565b14611fb85760405162461bcd60e51b8152600401610c9190613f85565b60145433600090815260126020526040902054611fd69083906141dc565b1115611ff45760405162461bcd60e51b8152600401610c919061405d565b33600090815260126020526040812080548392906120139084906141dc565b90915550610f849050816000612ffc565b6008546001600160a01b0316331461204e5760405162461bcd60e51b8152600401610c9190613fd5565b601b546040516000916001600160a01b03169083908381818185875af1925050503d806000811461209b576040519150601f19603f3d011682016040523d82523d6000602084013e6120a0565b606091505b50509050806116585760405162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b6044820152606401610c91565b6120ee848484612823565b6120fa84848484613105565b611a2a5760405162461bcd60e51b8152600401610c919061400a565b6121568585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612ba992505050565b6121725760405162461bcd60e51b8152600401610c91906140b7565b8461220860108054612183906142a9565b80601f01602080910402602001604051908101604052809291908181526020018280546121af906142a9565b80156121fc5780601f106121d1576101008083540402835291602001916121fc565b820191906000526020600020905b8154815290600101906020018083116121df57829003601f168201915b50505050503384613213565b146122455760405162461bcd60e51b815260206004820152600d60248201526c2430b9b41034b73b30b634b21760991b6044820152606401610c91565b3360009081526012602052604090205481906122629084906141dc565b11156122805760405162461bcd60e51b8152600401610c919061405d565b6014543360009081526012602052604090205461229e9084906141dc565b11156122bc5760405162461bcd60e51b8152600401610c919061405d565b33600090815260126020526040812080548492906122db9084906141dc565b9091555050601a546110189083612e74565b6008546000906001600160a01b0316331461231a5760405162461bcd60e51b8152600401610c9190613fd5565b50674563918244f4000090565b60108054611b16906142a9565b6008546001600160a01b0316331461235e5760405162461bcd60e51b8152600401610c9190613fd5565b601b8054911515600160b81b0260ff60b81b19909216919091179055565b6008546001600160a01b031633146123a65760405162461bcd60e51b8152600401610c9190613fd5565b8082608001516001600160f81b03168360600151028360200151031461241c5760405162461bcd60e51b815260206004820152602560248201527f4c696e656172447574636841756374696f6e3a20696e636f7272656374207265604482015264736572766560d81b6064820152608401610c91565b60008260a00151600281111561244257634e487b7160e01b600052602160045260246000fd5b141561249c5760405162461bcd60e51b8152602060048201526024808201527f4c696e656172447574636841756374696f6e3a20756e737065636966696564206044820152631d5b9a5d60e21b6064820152608401610c91565b60008260400151116125035760405162461bcd60e51b815260206004820152602a60248201527f4c696e656172447574636841756374696f6e3a207a65726f206465637265617360448201526919481a5b9d195c9d985b60b21b6064820152608401610c91565b815160099081556020830151600a556040830151600b556060830151600c556080830151600d80546001600160f81b0319166001600160f81b03909216918217815560a0850151859392909190600160f81b83600281111561257557634e487b7160e01b600052602160045260246000fd5b021790555050505050565b6060601161258d8361322a565b60405160200161259e929190613e79565b6040516020818303038152906040529050919050565b6008546001600160a01b031633146125de5760405162461bcd60e51b8152600401610c9190613fd5565b600955565b6008546001600160a01b0316331461260d5760405162461bcd60e51b8152600401610c9190613fd5565b601455565b6008546001600160a01b0316331461263c5760405162461bcd60e51b8152600401610c9190613fd5565b80516116589060109060208401906138a0565b601554336000908152601260209081526040808320546013909252909120548391612679916141dc565b61268391906141dc565b11156126a15760405162461bcd60e51b8152600401610c919061405d565b80602460008282546126b391906141dc565b909155505060235460245411156126fc5760405162461bcd60e51b815260206004820152600d60248201526c195e18d9595908185b5bdd5b9d609a1b6044820152606401610c91565b336000908152601360205260408120805483929061271b9084906141dc565b9091555061272c9050816001612ffc565b50565b6008546001600160a01b031633146127595760405162461bcd60e51b8152600401610c9190613fd5565b6001600160a01b0381166127be5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c91565b61272c81612dd7565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061282e82612c2e565b80519091506000906001600160a01b0316336001600160a01b0316148061286557503361285a84610de6565b6001600160a01b0316145b80612877575081516128779033610bc5565b9050806128e15760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610c91565b846001600160a01b031682600001516001600160a01b0316146129555760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610c91565b6001600160a01b0384166129b95760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610c91565b6129c960008484600001516127c7565b6001600160a01b03851660009081526004602052604081208054600192906129fb9084906001600160801b0316614227565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b03861660009081526004602052604081208054600194509092612a47918591166141b1565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526003909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055612ace8460016141dc565b6000818152600360205260409020549091506001600160a01b0316612b5f57612af8816000541190565b15612b5f5760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6000612bbd6008546001600160a01b031690565b6001600160a01b0316612bd08484613343565b6001600160a01b0316149392505050565b60008282604051602001612bf6929190613e0d565b60405160208183030381529060405280519060200120905092915050565b61165882826040518060200160405280600081525061334f565b6040805180820190915260008082526020820152612c4d826000541190565b612cac5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610c91565b60007f00000000000000000000000000000000000000000000000000000000000000058310612d0d57612cff7f00000000000000000000000000000000000000000000000000000000000000058461424f565b612d0a9060016141dc565b90505b825b818110612d76576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215612d6357949350505050565b5080612d6e81614292565b915050612d0f565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b6064820152608401610c91565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040516001600160601b0319606085901b16602082015260348101839052605481018290526000906074015b6040516020818303038152906040528051906020012090509392505050565b6002600e541415612e975760405162461bcd60e51b8152600401610c91906140f8565b6002600e5560175481612ea960005490565b612eb391906141dc565b1115612ed15760405162461bcd60e51b8152600401610c9190614094565b6000612edd8284614208565b905034811115612eff5760405162461bcd60e51b8152600401610c9190613f5c565b612f093383612c14565b81601e6000828254612f1b91906141dc565b909155505033600090815260208052604081208054839290612f3e9084906141dc565b90915550503481101561188d576000335b90506000612f5d833461424f565b9050600080836001600160a01b03168360405160006040518083038185875af1925050503d8060008114612fad576040519150601f19603f3d011682016040523d82523d6000602084013e612fb2565b606091505b5091509150818190612fd75760405162461bcd60e51b8152600401610c919190613f49565b505050505050506001600e5550565b6000818310612ff55781611dc6565b5090919050565b6002600e54141561301f5760405162461bcd60e51b8152600401610c91906140f8565b6002600e556017548261303160005490565b61303b91906141dc565b11156130595760405162461bcd60e51b8152600401610c9190614094565b600061306483611d69565b9050348111156130865760405162461bcd60e51b8152600401610c9190613f5c565b6130903384612c14565b82601e60008282546130a291906141dc565b909155505081156130d757336000908152601f6020526040812080548392906130cc9084906141dc565b909155506130f59050565b33600090815260208052604081208054839290612f3e9084906141dc565b8034111561188d57600033612f4f565b60006001600160a01b0384163b1561320757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613149903390899088908890600401613f16565b602060405180830381600087803b15801561316357600080fd5b505af1925050508015613193575060408051601f3d908101601f1916820190925261319091810190613ca0565b60015b6131ed573d8080156131c1576040519150601f19603f3d011682016040523d82523d6000602084013e6131c6565b606091505b5080516131e55760405162461bcd60e51b8152600401610c919061400a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061320b565b5060015b949350505050565b6000838383604051602001612e5593929190613e3f565b60608161324e5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156132785780613262816142e4565b91506132719050600a836141f4565b9150613252565b6000816001600160401b038111156132a057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156132ca576020820181803683370190505b5090505b841561320b576132df60018361424f565b91506132ec600a866142ff565b6132f79060306141dc565b60f81b81838151811061331a57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061333c600a866141f4565b94506132ce565b6000611dc68383613629565b6000546001600160a01b0384166133b25760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610c91565b6133bd816000541190565b1561340a5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610c91565b7f00000000000000000000000000000000000000000000000000000000000000058311156134855760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b6064820152608401610c91565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b90910416918101919091528151808301909252805190919081906134e19087906141b1565b6001600160801b031681526020018583602001516134ff91906141b1565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b8581101561361e5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46135e26000888488613105565b6135fe5760405162461bcd60e51b8152600401610c919061400a565b81613608816142e4565b9250508080613616906142e4565b915050613595565b506000819055612ba1565b600081516041141561365d5760208201516040830151606084015160001a613653868285856136cd565b9350505050610d06565b815160401415613685576020820151604083015161367c858383613876565b92505050610d06565b60405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610c91565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a082111561374a5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610c91565b8360ff16601b148061375f57508360ff16601c145b6137b65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610c91565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa15801561380a573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661386d5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610c91565b95945050505050565b60006001600160ff1b03821660ff83901c601b01613896868287856136cd565b9695505050505050565b8280546138ac906142a9565b90600052602060002090601f0160209004810192826138ce5760008555613914565b82601f106138e757805160ff1916838001178555613914565b82800160010185558215613914579182015b828111156139145782518255916020019190600101906138f9565b506113c59291505b808211156113c5576000815560010161391c565b60006001600160401b038084111561394a5761394a61433f565b604051601f8501601f19908116603f011681019082821181831017156139725761397261433f565b8160405280935085815286868601111561398b57600080fd5b858560208301376000602087830101525050509392505050565b803580151581146139b557600080fd5b919050565b600082601f8301126139ca578081fd5b611dc683833560208501613930565b8035600381106139b557600080fd5b6000602082840312156139f9578081fd5b8135611dc681614355565b60008060408385031215613a16578081fd5b8235613a2181614355565b91506020830135613a3181614355565b809150509250929050565b600080600060608486031215613a50578081fd5b8335613a5b81614355565b92506020840135613a6b81614355565b929592945050506040919091013590565b60008060008060808587031215613a91578081fd5b8435613a9c81614355565b93506020850135613aac81614355565b92506040850135915060608501356001600160401b03811115613acd578182fd5b613ad9878288016139ba565b91505092959194509250565b60008060408385031215613af7578182fd5b8235613b0281614355565b9150613b10602084016139a5565b90509250929050565b60008060408385031215613b2b578182fd5b8235613b3681614355565b946020939093013593505050565b600060208284031215613b55578081fd5b611dc6826139a5565b600080600080600060808688031215613b75578081fd5b8535945060208601356001600160401b0380821115613b92578283fd5b818801915088601f830112613ba5578283fd5b813581811115613bb3578384fd5b896020828501011115613bc4578384fd5b9699602092909201985095966040810135965060600135945092505050565b600080600060608486031215613bf7578081fd5b8335925060208401356001600160401b03811115613c13578182fd5b613c1f868287016139ba565b925050604084013590509250925092565b60008060008060808587031215613c45578182fd5b8435935060208501356001600160401b03811115613c61578283fd5b613c6d878288016139ba565b949794965050505060408301359260600135919050565b600060208284031215613c95578081fd5b8135611dc68161436a565b600060208284031215613cb1578081fd5b8151611dc68161436a565b600060208284031215613ccd578081fd5b81356001600160401b03811115613ce2578182fd5b8201601f81018413613cf2578182fd5b61320b84823560208401613930565b60008082840360e0811215613d14578283fd5b60c0811215613d21578283fd5b50613d2a614189565b8335815260208085013590820152604080850135908201526060808501359082015260808401356001600160f81b0381168114613d65578384fd5b6080820152613d7660a085016139d9565b60a08201529460c0939093013593505050565b600060208284031215613d9a578081fd5b5035919050565b60008060408385031215613db3578182fd5b823591506020830135613a3181614355565b60008151808452613ddd816020860160208601614266565b601f01601f19169290920160200192915050565b60008151613e03818560208601614266565b9290920192915050565b60008351613e1f818460208801614266565b60609390931b6001600160601b0319169190920190815260140192915050565b60008451613e51818460208901614266565b60609490941b6001600160601b03191691909301908152601481019190915260340192915050565b600080845482600182811c915080831680613e9557607f831692505b6020808410821415613eb557634e487b7160e01b87526022600452602487fd5b818015613ec95760018114613eda57613f06565b60ff19861689528489019650613f06565b60008b815260209020885b86811015613efe5781548b820152908501908301613ee5565b505084890196505b50505050505061386d8185613df1565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061389690830184613dc5565b602081526000611dc66020830184613dc5565b6020808252600f908201526e24b73b30b634b21030b6b7bab73a1760891b604082015260600190565b60208082526030908201527f5468652061646472657373206861736820646f6573206e6f74206d617463682060408201526f3a34329039b4b3b732b2103430b9b41760811b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6020808252601a908201527f596f752063616e6e6f74206d696e742074686973206d616e792e000000000000604082015260600190565b60208082526009908201526829b7b6321037baba1760b91b604082015260600190565b60208082526021908201527f5468697320686173682773207369676e617475726520697320696e76616c69646040820152601760f91b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b8681526020810186905260408101859052606081018490526001600160f81b038316608082015260c081016003831061417857634e487b7160e01b600052602160045260246000fd5b8260a0830152979650505050505050565b60405160c081016001600160401b03811182821017156141ab576141ab61433f565b60405290565b60006001600160801b038083168185168083038211156141d3576141d3614313565b01949350505050565b600082198211156141ef576141ef614313565b500190565b60008261420357614203614329565b500490565b600081600019048311821515161561422257614222614313565b500290565b60006001600160801b038381169083168181101561424757614247614313565b039392505050565b60008282101561426157614261614313565b500390565b60005b83811015614281578181015183820152602001614269565b83811115611a2a5750506000910152565b6000816142a1576142a1614313565b506000190190565b600181811c908216806142bd57607f821691505b602082108114156142de57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156142f8576142f8614313565b5060010190565b60008261430e5761430e614329565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461272c57600080fd5b6001600160e01b03198116811461272c57600080fdfea26469706673582212205cd5067e17fcc90181b03c488291bf7fd57a3aa68210f15690bd17252ed07b3264736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002ee000000000000000000000000000000000000000000000000000000000000001590000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000001e8b40285375f88d489ddc9e29770f3a86c9921b0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000254c6576656c696e67205570204865726f6573202d2050726f66696c6520506963747572657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000074c55482d50465000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : payees (address[]): 0x1E8b40285375f88d489DDc9E29770f3a86c9921B
Arg [1] : shares (uint256[]): 100
Arg [2] : name (string): Leveling Up Heroes - Profile Pictures
Arg [3] : symbol (string): LUH-PFP
Arg [4] : _whitelistMaxMint (uint256): 40
Arg [5] : _publicListMaxMint (uint256): 0
Arg [6] : _nonReservedMax (uint256): 12000
Arg [7] : _reservedMax (uint256): 345
Arg [8] : _discountedPrice (uint256): 0
Arg [9] : _publicTotalMaxMint (uint256): 0
-----Encoded View---------------
19 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000002ee0
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000159
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [11] : 0000000000000000000000001e8b40285375f88d489ddc9e29770f3a86c9921b
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000025
Arg [15] : 4c6576656c696e67205570204865726f6573202d2050726f66696c6520506963
Arg [16] : 7475726573000000000000000000000000000000000000000000000000000000
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [18] : 4c55482d50465000000000000000000000000000000000000000000000000000
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.