Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 444 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer From | 20552636 | 101 days ago | IN | 0 ETH | 0.00006826 | ||||
Set Approval For... | 18995925 | 319 days ago | IN | 0 ETH | 0.0003511 | ||||
Set Approval For... | 18961799 | 324 days ago | IN | 0 ETH | 0.00072786 | ||||
Set Approval For... | 18440469 | 397 days ago | IN | 0 ETH | 0.00056394 | ||||
Set Approval For... | 18432070 | 398 days ago | IN | 0 ETH | 0.00106777 | ||||
Set Approval For... | 18357748 | 408 days ago | IN | 0 ETH | 0.00039118 | ||||
Safe Transfer Fr... | 17966313 | 463 days ago | IN | 0 ETH | 0.00175701 | ||||
Mint Whitelist A... | 17681999 | 503 days ago | IN | 0 ETH | 0.00229876 | ||||
Set Approval For... | 17654961 | 507 days ago | IN | 0 ETH | 0.00066591 | ||||
Mint Whitelist A... | 17567678 | 519 days ago | IN | 0 ETH | 0.00160351 | ||||
Set Approval For... | 17559221 | 520 days ago | IN | 0 ETH | 0.0006444 | ||||
Mint Whitelist A... | 17496089 | 529 days ago | IN | 0 ETH | 0.00179776 | ||||
Mint Whitelist A... | 17477201 | 532 days ago | IN | 0 ETH | 0.00181539 | ||||
Set Approval For... | 17448679 | 536 days ago | IN | 0 ETH | 0.0009668 | ||||
Mint Whitelist A... | 17369308 | 547 days ago | IN | 0 ETH | 0.00679798 | ||||
Mint Whitelist A... | 17179615 | 574 days ago | IN | 0 ETH | 0.00938919 | ||||
Mint Whitelist A... | 17155548 | 577 days ago | IN | 0 ETH | 0.0034906 | ||||
Mint Whitelist A... | 17050512 | 592 days ago | IN | 0 ETH | 0.00288164 | ||||
Mint Whitelist A... | 17041128 | 593 days ago | IN | 0 ETH | 0.00300537 | ||||
Mint Whitelist A... | 17028202 | 595 days ago | IN | 0 ETH | 0.00262042 | ||||
Mint Whitelist A... | 17024114 | 596 days ago | IN | 0 ETH | 0.00253728 | ||||
Mint Whitelist A... | 17014104 | 597 days ago | IN | 0 ETH | 0.00210613 | ||||
Mint Whitelist A... | 17001624 | 599 days ago | IN | 0 ETH | 0.00278742 | ||||
Mint Whitelist A... | 16987960 | 601 days ago | IN | 0 ETH | 0.00293249 | ||||
Set Approval For... | 16960990 | 605 days ago | IN | 0 ETH | 0.00095244 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
16615662 | 653 days ago | Contract Creation | 0 ETH |
Loading...
Loading
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 = "Windchime"; string public prefixDiscounted = "Windchime"; string private baseTokenURI = ''; string public licenseTerms = ''; 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, 20) 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 setLicenseTerms(string memory _licenseTerms) public onlyOwner { licenseTerms = _licenseTerms; } 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 _hashMintWhitelistAmountAndPrice(string memory _prefix, address _address, uint256 _amount, uint256 _price) internal view returns (bytes32) { return keccak256(abi.encodePacked(_prefix, _address, _amount, _price)); } function mintWhitelistAmountAndPrice(bytes32 hash, bytes calldata signature, uint256 numberOfTokens, uint256 customLimit, uint256 price) external payable { require(_verify(hash, signature), "This hash's signature is invalid."); require(_hashMintWhitelistAmountAndPrice(prefixDiscounted, msg.sender, customLimit, price) == 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(price, 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 _airdropMint(address[] calldata recipients, uint256[] calldata amounts) internal { uint256 len = recipients.length; for(uint256 i = 0; i < len; i ++) { require( totalSupply() + amounts[i] <= reservedMax, "Sold out." ); if (amounts[i] < maxBatchSize) { _safeMint(recipients[i], amounts[i]); } else { require( amounts[i] % maxBatchSize == 0, "Can only mint a multiple of the maxBatchSize." ); uint256 numChunks = amounts[i] / maxBatchSize; for (uint256 i = 0; i < numChunks; i++) { _safeMint(recipients[i], maxBatchSize); } } } } function airdropMint(address[] calldata recipients, uint256[] calldata amounts) external onlyOwner { _airdropMint(recipients, amounts); } function airdropMintWithSignature( address[] calldata recipients, uint256[] calldata amounts, bytes calldata signature ) external { bytes32 hash = keccak256(abi.encodePacked(msg.sender, recipients, amounts)); require(_verify(hash, signature), "This hash's signature is invalid."); _airdropMint(recipients, amounts); } 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":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"airdropMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"airdropMintWithSignature","outputs":[],"stateMutability":"nonpayable","type":"function"},{"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":"licenseTerms","outputs":[{"internalType":"string","name":"","type":"string"}],"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"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"mintWhitelistAmountAndPrice","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":"string","name":"_licenseTerms","type":"string"}],"name":"setLicenseTerms","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
600080805560075560e0604052600960a08190526857696e646368696d6560b81b60c09081526200003491600f9190620004d1565b506040805180820190915260098082526857696e646368696d6560b81b60209092019182526200006791601091620004d1565b506040805160208101918290526000908190526200008891601191620004d1565b50604080516020810191829052600090819052620000a991601291620004d1565b50348015620000b757600080fd5b5060405162005ef238038062005ef2833981016040819052620000da9162000706565b6040805160c08101825260008152674563918244f400006020820152610384918101919091526706f05b59d3b2000060608201526009608082015260a08101600290526706f05b59d3b200008989601462000139565b60405180910390fd5b82516200014e906001906020860190620004d1565b50815162000164906002906020850190620004d1565b50608052506200017690503362000229565b6200018282826200027b565b50506001600e55601586905560168590556017839055620001a48385620008c9565b60185560006019819055601a55601b82905560248190556040518a908a90620001cd9062000560565b620001da929190620007f6565b604051809103906000f080158015620001f7573d6000803e3d6000fd5b50601c80546001600160a01b0319166001600160a01b0392909216919091179055506200094198505050505050505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b03163314620002d75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000130565b8082608001516001600160f81b0316836060015102836020015103146200034f5760405162461bcd60e51b815260206004820152602560248201527f4c696e656172447574636841756374696f6e3a20696e636f7272656374207265604482015264736572766560d81b606482015260840162000130565b60008260a0015160028111156200037657634e487b7160e01b600052602160045260246000fd5b1415620003d25760405162461bcd60e51b8152602060048201526024808201527f4c696e656172447574636841756374696f6e3a20756e737065636966696564206044820152631d5b9a5d60e21b606482015260840162000130565b60008260400151116200043b5760405162461bcd60e51b815260206004820152602a60248201527f4c696e656172447574636841756374696f6e3a207a65726f206465637265617360448201526919481a5b9d195c9d985b60b21b606482015260840162000130565b815160099081556020830151600a556040830151600b556060830151600c556080830151600d80547fff00000000000000000000000000000000000000000000000000000000000000166001600160f81b03909216918217815560a0850151859392909190600160f81b836002811115620004c657634e487b7160e01b600052602160045260246000fd5b021790555050505050565b828054620004df90620008ee565b90600052602060002090601f0160209004810192826200050357600085556200054e565b82601f106200051e57805160ff19168380011785556200054e565b828001600101855582156200054e579182015b828111156200054e57825182559160200191906001019062000531565b506200055c9291506200056e565b5090565b610b6a806200538883390190565b5b808211156200055c57600081556001016200056f565b600082601f83011262000596578081fd5b81516020620005af620005a983620008a3565b62000870565b80838252828201915082860187848660051b8901011115620005cf578586fd5b855b85811015620006045781516001600160a01b0381168114620005f1578788fd5b84529284019290840190600101620005d1565b5090979650505050505050565b600082601f83011262000622578081fd5b8151602062000635620005a983620008a3565b80838252828201915082860187848660051b890101111562000655578586fd5b855b85811015620006045781518452928401929084019060010162000657565b600082601f83011262000686578081fd5b81516001600160401b03811115620006a257620006a26200092b565b6020620006b8601f8301601f1916820162000870565b8281528582848701011115620006cc578384fd5b835b83811015620006eb578581018301518282018401528201620006ce565b83811115620006fc57848385840101525b5095945050505050565b6000806000806000806000806000806101408b8d03121562000726578586fd5b8a516001600160401b03808211156200073d578788fd5b6200074b8e838f0162000585565b9b5060208d015191508082111562000761578788fd5b6200076f8e838f0162000611565b9a5060408d015191508082111562000785578788fd5b620007938e838f0162000675565b995060608d0151915080821115620007a9578788fd5b50620007b88d828e0162000675565b97505060808b0151955060a08b0151945060c08b0151935060e08b015192506101008b015191506101208b015190509295989b9194979a5092959850565b604080825283519082018190526000906020906060840190828701845b828110156200083a5781516001600160a01b03168452928401929084019060010162000813565b50505083810382850152845180825285830191830190845b81811015620006045783518352928401929184019160010162000852565b604051601f8201601f191681016001600160401b03811182821017156200089b576200089b6200092b565b604052919050565b60006001600160401b03821115620008bf57620008bf6200092b565b5060051b60200190565b60008219821115620008e957634e487b7160e01b81526011600452602481fd5b500190565b600181811c908216806200090357607f821691505b602082108114156200092557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6080516149e5620009a360003960008181611a1001528181611a4501528181611a8e01528181611ac601528181612dca01528181612e8101528181612ef201528181612f89015281816130db01528181613105015261380c01526149e56000f3fe6080604052600436106104465760003560e01c80637bd07f8b11610234578063bcf161a21161012e578063d7224ba0116100b6578063e985e9c51161007a578063e985e9c514610c4b578063ea4194dc14610c94578063efd0cbf914610cb4578063f2fde38b14610cc7578063f4aa1b6714610ce757600080fd5b8063d7224ba014610bc9578063d73b2a6c14610bdf578063d921eb7814610bf5578063e0c5b0ed14610c0b578063e214696314610c2b57600080fd5b8063c85b380d116100fd578063c85b380d14610b3c578063c878813414610b5c578063c87b56dd14610b72578063cc04947314610b92578063d57e4eae14610ba757600080fd5b8063bcf161a214610acf578063bcf754bf14610ae4578063c0c3714914610b06578063c0fa501114610b1c57600080fd5b806395d89b41116101bc578063b27a87b011610180578063b27a87b014610a53578063b413e61a14610a66578063b882bacb14610a87578063b88d4fde14610a9a578063baffa90314610aba57600080fd5b806395d89b41146109c9578063a22cb465146109de578063a9501b73146109fe578063ab55abf514610a1e578063b1b54e9a14610a3e57600080fd5b806385cb593b1161020357806385cb593b146109455780638da5cb5b146109655780638e9e4e78146109835780638f3756c2146109965780639097548d146109a957600080fd5b80637bd07f8b146108ac578063808d5259146108fa5780638230d18d14610910578063846b41931461093057600080fd5b806334d79fff11610345578063571d34af116102cd57806370a082311161029157806370a082311461082c578063715018a61461084c578063722e141d1461086157806375dadb3214610877578063788183dd1461088c57600080fd5b8063571d34af146107ab578063590e1ae3146107c1578063631bbbba146107d65780636352211e146107f65780636ac5db191461081657600080fd5b80634f297ccc116103145780634f297ccc1461072d5780634f6ccce71461074357806351b7511514610763578063557007011461077657806355f804b31461078b57600080fd5b806334d79fff146106b857806339a2e659146106d857806339ae8c8f146106f857806342842e0e1461070d57600080fd5b80630e56a3c3116103d357806320def2a41161039757806320def2a41461062357806323aa0f9b1461064357806323b872dd14610658578063279a669e146106785780632f745c591461069857600080fd5b80630e56a3c31461058c57806318160ddd146105b957806319165587146105ce5780631a11e20d146105ee5780631fe9eabc1461060357600080fd5b8063057494a11161041a578063057494a1146104dc57806306fdde03146104fc578063081812fc1461051e578063095ea7b3146105565780630a23b7251461057657600080fd5b8062ab1fa31461044b57806301ffc9a71461046d578063022a11b4146104a2578063035fd8c2146104c6575b600080fd5b34801561045757600080fd5b5061046b6104663660046142ec565b610d08565b005b34801561047957600080fd5b5061048d6104883660046141e7565b610d40565b60405190151581526020015b60405180910390f35b3480156104ae57600080fd5b506104b8601f5481565b604051908152602001610499565b3480156104d257600080fd5b506104b860245481565b3480156104e857600080fd5b5061046b6104f73660046140c9565b610dad565b34801561050857600080fd5b50610511610df5565b604051610499919061452b565b34801561052a57600080fd5b5061053e6105393660046142ec565b610e87565b6040516001600160a01b039091168152602001610499565b34801561056257600080fd5b5061046b610571366004613fa1565b610f12565b34801561058257600080fd5b506104b860195481565b34801561059857600080fd5b506105a161102a565b6040516001600160401b039091168152602001610499565b3480156105c557600080fd5b506000546104b8565b3480156105da57600080fd5b5061046b6105e9366004613e70565b61105e565b3480156105fa57600080fd5b506105a16110c0565b34801561060f57600080fd5b5061046b61061e3660046142ec565b6110fa565b34801561062f57600080fd5b5061046b61063e3660046142ec565b611129565b34801561064f57600080fd5b506104b8611158565b34801561066457600080fd5b5061046b610673366004613ec4565b6111e5565b34801561068457600080fd5b5061046b610693366004613fcc565b6111f0565b3480156106a457600080fd5b506104b86106b3366004613fa1565b61122c565b3480156106c457600080fd5b5061046b6106d336600461421f565b611399565b3480156106e457600080fd5b5061046b6106f33660046142ec565b6113da565b34801561070457600080fd5b506104b8611409565b34801561071957600080fd5b5061046b610728366004613ec4565b61146a565b34801561073957600080fd5b506104b8601a5481565b34801561074f57600080fd5b506104b861075e3660046142ec565b611485565b61046b610771366004614146565b6114e7565b34801561078257600080fd5b506104b86116b7565b34801561079757600080fd5b5061046b6107a636600461421f565b611737565b3480156107b757600080fd5b506104b860165481565b3480156107cd57600080fd5b5061046b611774565b3480156107e257600080fd5b5061046b6107f1366004614304565b6119af565b34801561080257600080fd5b5061053e6108113660046142ec565b611afc565b34801561082257600080fd5b506104b860185481565b34801561083857600080fd5b506104b8610847366004613e70565b611b0e565b34801561085857600080fd5b5061046b611b9f565b34801561086d57600080fd5b506104b860155481565b34801561088357600080fd5b50610511611bd5565b34801561089857600080fd5b5061046b6108a73660046142ec565b611c63565b3480156108b857600080fd5b50600954600a54600b54600c54600d546108e894939291906001600160f81b03811690600160f81b900460ff1686565b6040516104999695949392919061475e565b34801561090657600080fd5b506104b8601e5481565b34801561091c57600080fd5b5061046b61092b366004614034565b611c92565b34801561093c57600080fd5b506104b8611d36565b34801561095157600080fd5b5061046b61096036600461421f565b611de4565b34801561097157600080fd5b506008546001600160a01b031661053e565b61046b6109913660046140e3565b611e21565b61046b6109a4366004614193565b611fff565b3480156109b557600080fd5b506104b86109c43660046142ec565b6120ef565b3480156109d557600080fd5b50610511612153565b3480156109ea57600080fd5b5061046b6109f9366004613f6d565b612162565b348015610a0a57600080fd5b5061046b610a193660046140c9565b612227565b348015610a2a57600080fd5b5061046b610a393660046140c9565b61226f565b348015610a4a57600080fd5b506105a16122b7565b61046b610a61366004614146565b6122ea565b348015610a7257600080fd5b50601c5461048d90600160a81b900460ff1681565b61046b610a953660046142ec565b6123aa565b348015610aa657600080fd5b5061046b610ab5366004613f04565b612469565b348015610ac657600080fd5b506105a161249c565b348015610adb57600080fd5b506105116124d6565b348015610af057600080fd5b50336000908152601460205260409020546104b8565b348015610b1257600080fd5b506104b860255481565b348015610b2857600080fd5b5061046b610b373660046140c9565b6124e3565b348015610b4857600080fd5b5061046b610b57366004614264565b61252b565b348015610b6857600080fd5b506104b8601b5481565b348015610b7e57600080fd5b50610511610b8d3660046142ec565b61272f565b348015610b9e57600080fd5b50610511612763565b348015610bb357600080fd5b50336000908152601360205260409020546104b8565b348015610bd557600080fd5b506104b860075481565b348015610beb57600080fd5b506104b860175481565b348015610c0157600080fd5b506104b8601d5481565b348015610c1757600080fd5b5061046b610c263660046142ec565b612770565b348015610c3757600080fd5b5061046b610c463660046142ec565b61279f565b348015610c5757600080fd5b5061048d610c66366004613e8c565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b348015610ca057600080fd5b5061046b610caf36600461421f565b6127ce565b61046b610cc23660046142ec565b61280b565b348015610cd357600080fd5b5061046b610ce2366004613e70565b6128eb565b348015610cf357600080fd5b50601c5461048d90600160a01b900460ff1681565b6008546001600160a01b03163314610d3b5760405162461bcd60e51b8152600401610d3290614604565b60405180910390fd5b601b55565b60006001600160e01b031982166380ac58cd60e01b1480610d7157506001600160e01b03198216635b5e139f60e01b145b80610d8c57506001600160e01b0319821663780e9d6360e01b145b80610da757506301ffc9a760e01b6001600160e01b03198316145b92915050565b6008546001600160a01b03163314610dd75760405162461bcd60e51b8152600401610d3290614604565b601c8054911515600160a01b0260ff60a01b19909216919091179055565b606060018054610e04906148d8565b80601f0160208091040260200160405190810160405280929190818152602001828054610e30906148d8565b8015610e7d5780601f10610e5257610100808354040283529160200191610e7d565b820191906000526020600020905b815481529060010190602001808311610e6057829003601f168201915b5050505050905090565b6000610e94826000541190565b610ef65760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b6064820152608401610d32565b506000908152600560205260409020546001600160a01b031690565b6000610f1d82611afc565b9050806001600160a01b0316836001600160a01b03161415610f8c5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610d32565b336001600160a01b0382161480610fa85750610fa88133610c66565b61101a5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610d32565b611025838383612983565b505050565b6008546000906001600160a01b031633146110575760405162461bcd60e51b8152600401610d3290614604565b5061038490565b601c54604051631916558760e01b81526001600160a01b03838116600483015290911690631916558790602401600060405180830381600087803b1580156110a557600080fd5b505af11580156110b9573d6000803e3d6000fd5b5050505050565b6008546000906001600160a01b031633146110ed5760405162461bcd60e51b8152600401610d3290614604565b506706f05b59d3b2000090565b6008546001600160a01b031633146111245760405162461bcd60e51b8152600401610d3290614604565b601855565b6008546001600160a01b031633146111535760405162461bcd60e51b8152600401610d3290614604565b602455565b601c54600090600160b81b900460ff16801561119e5750601e543360009081526023602052604090205461118c9190614837565b33600090815260226020526040902054115b156111df57601e54336000908152602360205260409020546111c09190614837565b336000908152602260205260409020546111da919061487e565b905090565b50600090565b6110258383836129df565b6008546001600160a01b0316331461121a5760405162461bcd60e51b8152600401610d3290614604565b61122684848484612d61565b50505050565b600061123783611b0e565b82106112905760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610d32565b600080549080805b83811015611339576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b031691830191909152156112ea57805192505b876001600160a01b0316836001600160a01b03161415611326578684141561131857509350610da792505050565b8361132281614913565b9450505b508061133181614913565b915050611298565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610d32565b6008546001600160a01b031633146113c35760405162461bcd60e51b8152600401610d3290614604565b80516113d6906012906020840190613ca0565b5050565b6008546001600160a01b031633146114045760405162461bcd60e51b8152600401610d3290614604565b601655565b601c54600090600160a01b900460ff1661145a5760405162461bcd60e51b81526020600482015260126024820152711c99599d5b99081b9bdd08185b1b1bddd95960721b6044820152606401610d32565b601e54601f546111da9190614837565b61102583838360405180602001604052806000815250612469565b6000805482106114e35760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610d32565b5090565b6114f18383612fd4565b61150d5760405162461bcd60e51b8152600401610d32906146e6565b826115a26010805461151e906148d8565b80601f016020809104026020016040519081016040528092919081815260200182805461154a906148d8565b80156115975780601f1061156c57610100808354040283529160200191611597565b820191906000526020600020905b81548152906001019060200180831161157a57829003601f168201915b50505050503361300c565b146115bf5760405162461bcd60e51b8152600401610d32906145b4565b601554336000908152601360205260409020546115dd90839061480b565b11156115fb5760405162461bcd60e51b8152600401610d329061468c565b3481601b5461160a9190614837565b146116275760405162461bcd60e51b8152600401610d329061453e565b336000908152601360205260408120805483929061164690849061480b565b9091555050336000908152602360205260408120805483929061166a90849061480b565b9250508190555080601f6000828254611683919061480b565b909155505033600090815260226020526040812080543492906116a790849061480b565b909155506110259050338261303f565b601c54600090600160a81b900460ff1680156116fc5750601e54336000908152601460205260409020546116eb9190614837565b336000908152602080526040902054115b156111df57601e543360009081526014602052604090205461171e9190614837565b3360009081526020805260409020546111da919061487e565b6008546001600160a01b031633146117615760405162461bcd60e51b8152600401610d3290614604565b80516113d6906011906020840190613ca0565b6002600e5414156117975760405162461bcd60e51b8152600401610d3290614727565b6002600e55601c54600160a01b900460ff1615156001146117ef5760405162461bcd60e51b81526020600482015260126024820152711c99599d5b99081b9bdd08185b1b1bddd95960721b6044820152606401610d32565b6000806117fa6116b7565b9050801561183357336000908152602080805260408083208390556014909152902054601f54919250829161182f919061487e565b601f555b61183b611d36565b905080156118905761184d818361480b565b336000908152602160209081526040808320839055602382528083205460139092529091205491935061187f9161487e565b601f5461188c919061487e565b601f555b611898611158565b905080156118da576118aa818361480b565b3360009081526022602090815260408083208390556023909152902054601f549193506118d69161487e565b601f555b816119145760405162461bcd60e51b815260206004820152600a6024820152696e6f20726566756e647360b01b6044820152606401610d32565b604051600090339084908381818185875af1925050503d8060008114611956576040519150601f19603f3d011682016040523d82523d6000602084013e61195b565b606091505b50909150506001811515146119a55760405162461bcd60e51b815260206004820152601060248201526f19985a5b1959081d1bc81c99599d5b9960821b6044820152606401610d32565b50506001600e5550565b6008546001600160a01b031633146119d95760405162461bcd60e51b8152600401610d3290614604565b601754826119e660005490565b6119f0919061480b565b1115611a0e5760405162461bcd60e51b8152600401610d32906146c3565b7f0000000000000000000000000000000000000000000000000000000000000000821015611a40576113d6818361303f565b611a6a7f00000000000000000000000000000000000000000000000000000000000000008361492e565b15611a875760405162461bcd60e51b8152600401610d3290614567565b6000611ab37f000000000000000000000000000000000000000000000000000000000000000084614823565b905060005b8181101561122657611aea837f000000000000000000000000000000000000000000000000000000000000000061303f565b80611af481614913565b915050611ab8565b6000611b0782613059565b5192915050565b60006001600160a01b038216611b7a5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610d32565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6008546001600160a01b03163314611bc95760405162461bcd60e51b8152600401610d3290614604565b611bd36000613202565b565b600f8054611be2906148d8565b80601f0160208091040260200160405190810160405280929190818152602001828054611c0e906148d8565b8015611c5b5780601f10611c3057610100808354040283529160200191611c5b565b820191906000526020600020905b815481529060010190602001808311611c3e57829003601f168201915b505050505081565b6008546001600160a01b03163314611c8d5760405162461bcd60e51b8152600401610d3290614604565b601e55565b60003387878787604051602001611cad959493929190614370565b604051602081830303815290604052805190602001209050611d058184848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612fd492505050565b611d215760405162461bcd60e51b8152600401610d32906146e6565b611d2d87878787612d61565b50505050505050565b601c54600090600160b01b900460ff168015611d925750601e5433600090815260236020908152604080832054601390925290912054611d76919061487e565b611d809190614837565b33600090815260216020526040902054115b156111df57601e5433600090815260236020908152604080832054601390925290912054611dc0919061487e565b611dca9190614837565b336000908152602160205260409020546111da919061487e565b6008546001600160a01b03163314611e0e5760405162461bcd60e51b8152600401610d3290614604565b80516113d690600f906020840190613ca0565b611e618686868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612fd492505050565b611e7d5760405162461bcd60e51b8152600401610d32906146e6565b85611f1460108054611e8e906148d8565b80601f0160208091040260200160405190810160405280929190818152602001828054611eba906148d8565b8015611f075780601f10611edc57610100808354040283529160200191611f07565b820191906000526020600020905b815481529060010190602001808311611eea57829003601f168201915b5050505050338585613254565b14611f515760405162461bcd60e51b815260206004820152600d60248201526c2430b9b41034b73b30b634b21760991b6044820152606401610d32565b336000908152601360205260409020548290611f6e90859061480b565b1115611f8c5760405162461bcd60e51b8152600401610d329061468c565b60155433600090815260136020526040902054611faa90859061480b565b1115611fc85760405162461bcd60e51b8152600401610d329061468c565b3360009081526013602052604081208054859290611fe790849061480b565b90915550611ff79050818461328e565b505050505050565b6120098484612fd4565b6120255760405162461bcd60e51b8152600401610d32906146e6565b604080513360601b6001600160601b031916602080830191909152603482018590526054808301859052835180840390910181526074909201909252805191012084146120845760405162461bcd60e51b8152600401610d32906145b4565b601554336000908152601360205260409020546120a290839061480b565b11156120c05760405162461bcd60e51b8152600401610d329061468c565b33600090815260136020526040812080548392906120df90849061480b565b909155506112269050828261328e565b600c54600b546009805460009391926121299161210c904261487e565b6121169190614823565b60048401546001600160f81b0316613401565b6121339190614837565b8160010154612142919061487e565b61214c9084614837565b9392505050565b606060028054610e04906148d8565b6001600160a01b0382163314156121bb5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610d32565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146122515760405162461bcd60e51b8152600401610d3290614604565b601c8054911515600160a81b0260ff60a81b19909216919091179055565b6008546001600160a01b031633146122995760405162461bcd60e51b8152600401610d3290614604565b601c8054911515600160b01b0260ff60b01b19909216919091179055565b6008546000906001600160a01b031633146122e45760405162461bcd60e51b8152600401610d3290614604565b50600990565b6122f48383612fd4565b6123105760405162461bcd60e51b8152600401610d32906146e6565b82612321600f805461151e906148d8565b1461233e5760405162461bcd60e51b8152600401610d32906145b4565b6015543360009081526013602052604090205461235c90839061480b565b111561237a5760405162461bcd60e51b8152600401610d329061468c565b336000908152601360205260408120805483929061239990849061480b565b909155506110259050816000613417565b6008546001600160a01b031633146123d45760405162461bcd60e51b8152600401610d3290614604565b601c546040516000916001600160a01b03169083908381818185875af1925050503d8060008114612421576040519150601f19603f3d011682016040523d82523d6000602084013e612426565b606091505b50509050806113d65760405162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b6044820152606401610d32565b6124748484846129df565b61248084848484613520565b6112265760405162461bcd60e51b8152600401610d3290614639565b6008546000906001600160a01b031633146124c95760405162461bcd60e51b8152600401610d3290614604565b50674563918244f4000090565b60108054611be2906148d8565b6008546001600160a01b0316331461250d5760405162461bcd60e51b8152600401610d3290614604565b601c8054911515600160b81b0260ff60b81b19909216919091179055565b6008546001600160a01b031633146125555760405162461bcd60e51b8152600401610d3290614604565b8082608001516001600160f81b0316836060015102836020015103146125cb5760405162461bcd60e51b815260206004820152602560248201527f4c696e656172447574636841756374696f6e3a20696e636f7272656374207265604482015264736572766560d81b6064820152608401610d32565b60008260a0015160028111156125f157634e487b7160e01b600052602160045260246000fd5b141561264b5760405162461bcd60e51b8152602060048201526024808201527f4c696e656172447574636841756374696f6e3a20756e737065636966696564206044820152631d5b9a5d60e21b6064820152608401610d32565b60008260400151116126b25760405162461bcd60e51b815260206004820152602a60248201527f4c696e656172447574636841756374696f6e3a207a65726f206465637265617360448201526919481a5b9d195c9d985b60b21b6064820152608401610d32565b815160099081556020830151600a556040830151600b556060830151600c556080830151600d80546001600160f81b0319166001600160f81b03909216918217815560a0850151859392909190600160f81b83600281111561272457634e487b7160e01b600052602160045260246000fd5b021790555050505050565b6060601161273c8361362a565b60405160200161274d92919061445b565b6040516020818303038152906040529050919050565b60128054611be2906148d8565b6008546001600160a01b0316331461279a5760405162461bcd60e51b8152600401610d3290614604565b600955565b6008546001600160a01b031633146127c95760405162461bcd60e51b8152600401610d3290614604565b601555565b6008546001600160a01b031633146127f85760405162461bcd60e51b8152600401610d3290614604565b80516113d6906010906020840190613ca0565b6016543360009081526013602090815260408083205460149092529091205483916128359161480b565b61283f919061480b565b111561285d5760405162461bcd60e51b8152600401610d329061468c565b806025600082825461286f919061480b565b909155505060245460255411156128b85760405162461bcd60e51b815260206004820152600d60248201526c195e18d9595908185b5bdd5b9d609a1b6044820152606401610d32565b33600090815260146020526040812080548392906128d790849061480b565b909155506128e89050816001613417565b50565b6008546001600160a01b031633146129155760405162461bcd60e51b8152600401610d3290614604565b6001600160a01b03811661297a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d32565b6128e881613202565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006129ea82613059565b80519091506000906001600160a01b0316336001600160a01b03161480612a21575033612a1684610e87565b6001600160a01b0316145b80612a3357508151612a339033610c66565b905080612a9d5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610d32565b846001600160a01b031682600001516001600160a01b031614612b115760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610d32565b6001600160a01b038416612b755760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610d32565b612b856000848460000151612983565b6001600160a01b0385166000908152600460205260408120805460019290612bb79084906001600160801b0316614856565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b03861660009081526004602052604081208054600194509092612c03918591166147e0565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526003909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055612c8a84600161480b565b6000818152600360205260409020549091506001600160a01b0316612d1b57612cb4816000541190565b15612d1b5760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611ff7565b8260005b81811015611ff757601754848483818110612d9057634e487b7160e01b600052603260045260246000fd5b90506020020135612da060005490565b612daa919061480b565b1115612dc85760405162461bcd60e51b8152600401610d32906146c3565b7f0000000000000000000000000000000000000000000000000000000000000000848483818110612e0957634e487b7160e01b600052603260045260246000fd5b905060200201351015612e7f57612e7a868683818110612e3957634e487b7160e01b600052603260045260246000fd5b9050602002016020810190612e4e9190613e70565b858584818110612e6e57634e487b7160e01b600052603260045260246000fd5b9050602002013561303f565b612fc2565b7f0000000000000000000000000000000000000000000000000000000000000000848483818110612ec057634e487b7160e01b600052603260045260246000fd5b90506020020135612ed1919061492e565b15612eee5760405162461bcd60e51b8152600401610d3290614567565b60007f0000000000000000000000000000000000000000000000000000000000000000858584818110612f3157634e487b7160e01b600052603260045260246000fd5b90506020020135612f429190614823565b905060005b81811015612fbf57612fad888883818110612f7257634e487b7160e01b600052603260045260246000fd5b9050602002016020810190612f879190613e70565b7f000000000000000000000000000000000000000000000000000000000000000061303f565b80612fb781614913565b915050612f47565b50505b80612fcc81614913565b915050612d65565b6000612fe86008546001600160a01b031690565b6001600160a01b0316612ffb8484613743565b6001600160a01b0316149392505050565b600082826040516020016130219291906143ea565b60405160208183030381529060405280519060200120905092915050565b6113d682826040518060200160405280600081525061374f565b6040805180820190915260008082526020820152613078826000541190565b6130d75760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610d32565b60007f000000000000000000000000000000000000000000000000000000000000000083106131385761312a7f00000000000000000000000000000000000000000000000000000000000000008461487e565b61313590600161480b565b90505b825b8181106131a1576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b0316918301919091521561318e57949350505050565b5080613199816148c1565b91505061313a565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b6064820152608401610d32565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008484848460405160200161326d949392919061441c565b6040516020818303038152906040528051906020012090505b949350505050565b6002600e5414156132b15760405162461bcd60e51b8152600401610d3290614727565b6002600e55601854816132c360005490565b6132cd919061480b565b11156132eb5760405162461bcd60e51b8152600401610d32906146c3565b60006132f78284614837565b9050348111156133195760405162461bcd60e51b8152600401610d329061453e565b613323338361303f565b81601f6000828254613335919061480b565b9091555050336000908152602160205260408120805483929061335990849061480b565b9091555050348110156119a5576000335b90506000613378833461487e565b9050600080836001600160a01b03168360405160006040518083038185875af1925050503d80600081146133c8576040519150601f19603f3d011682016040523d82523d6000602084013e6133cd565b606091505b50915091508181906133f25760405162461bcd60e51b8152600401610d32919061452b565b505050505050506001600e5550565b6000818310613410578161214c565b5090919050565b6002600e54141561343a5760405162461bcd60e51b8152600401610d3290614727565b6002600e556018548261344c60005490565b613456919061480b565b11156134745760405162461bcd60e51b8152600401610d32906146c3565b600061347f836120ef565b9050348111156134a15760405162461bcd60e51b8152600401610d329061453e565b6134ab338461303f565b82601f60008282546134bd919061480b565b909155505081156134f157336000908152602080526040812080548392906134e690849061480b565b909155506135109050565b336000908152602160205260408120805483929061335990849061480b565b803411156119a55760003361336a565b60006001600160a01b0384163b1561362257604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906135649033908990889088906004016144f8565b602060405180830381600087803b15801561357e57600080fd5b505af19250505080156135ae575060408051601f3d908101601f191682019092526135ab91810190614203565b60015b613608573d8080156135dc576040519150601f19603f3d011682016040523d82523d6000602084013e6135e1565b606091505b5080516136005760405162461bcd60e51b8152600401610d3290614639565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613286565b506001613286565b60608161364e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115613678578061366281614913565b91506136719050600a83614823565b9150613652565b6000816001600160401b038111156136a057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156136ca576020820181803683370190505b5090505b8415613286576136df60018361487e565b91506136ec600a8661492e565b6136f790603061480b565b60f81b81838151811061371a57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061373c600a86614823565b94506136ce565b600061214c8383613a29565b6000546001600160a01b0384166137b25760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610d32565b6137bd816000541190565b1561380a5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610d32565b7f00000000000000000000000000000000000000000000000000000000000000008311156138855760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b6064820152608401610d32565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b90910416918101919091528151808301909252805190919081906138e19087906147e0565b6001600160801b031681526020018583602001516138ff91906147e0565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015613a1e5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46139e26000888488613520565b6139fe5760405162461bcd60e51b8152600401610d3290614639565b81613a0881614913565b9250508080613a1690614913565b915050613995565b506000819055611ff7565b6000815160411415613a5d5760208201516040830151606084015160001a613a5386828585613acd565b9350505050610da7565b815160401415613a855760208201516040830151613a7c858383613c76565b92505050610da7565b60405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610d32565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115613b4a5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610d32565b8360ff16601b1480613b5f57508360ff16601c145b613bb65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610d32565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015613c0a573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116613c6d5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610d32565b95945050505050565b60006001600160ff1b03821660ff83901c601b01613c9686828785613acd565b9695505050505050565b828054613cac906148d8565b90600052602060002090601f016020900481019282613cce5760008555613d14565b82601f10613ce757805160ff1916838001178555613d14565b82800160010185558215613d14579182015b82811115613d14578251825591602001919060010190613cf9565b506114e39291505b808211156114e35760008155600101613d1c565b60006001600160401b0380841115613d4a57613d4a61496e565b604051601f8501601f19908116603f01168101908282118183101715613d7257613d7261496e565b81604052809350858152868686011115613d8b57600080fd5b858560208301376000602087830101525050509392505050565b60008083601f840112613db6578182fd5b5081356001600160401b03811115613dcc578182fd5b6020830191508360208260051b8501011115613de757600080fd5b9250929050565b80358015158114613dfe57600080fd5b919050565b60008083601f840112613e14578182fd5b5081356001600160401b03811115613e2a578182fd5b602083019150836020828501011115613de757600080fd5b600082601f830112613e52578081fd5b61214c83833560208501613d30565b803560038110613dfe57600080fd5b600060208284031215613e81578081fd5b813561214c81614984565b60008060408385031215613e9e578081fd5b8235613ea981614984565b91506020830135613eb981614984565b809150509250929050565b600080600060608486031215613ed8578081fd5b8335613ee381614984565b92506020840135613ef381614984565b929592945050506040919091013590565b60008060008060808587031215613f19578081fd5b8435613f2481614984565b93506020850135613f3481614984565b92506040850135915060608501356001600160401b03811115613f55578182fd5b613f6187828801613e42565b91505092959194509250565b60008060408385031215613f7f578182fd5b8235613f8a81614984565b9150613f9860208401613dee565b90509250929050565b60008060408385031215613fb3578182fd5b8235613fbe81614984565b946020939093013593505050565b60008060008060408587031215613fe1578182fd5b84356001600160401b0380821115613ff7578384fd5b61400388838901613da5565b9096509450602087013591508082111561401b578384fd5b5061402887828801613da5565b95989497509550505050565b6000806000806000806060878903121561404c578384fd5b86356001600160401b0380821115614062578586fd5b61406e8a838b01613da5565b90985096506020890135915080821115614086578586fd5b6140928a838b01613da5565b909650945060408901359150808211156140aa578384fd5b506140b789828a01613e03565b979a9699509497509295939492505050565b6000602082840312156140da578081fd5b61214c82613dee565b60008060008060008060a087890312156140fb578384fd5b8635955060208701356001600160401b03811115614117578485fd5b61412389828a01613e03565b979a90995096976040810135976060820135975060809091013595509350505050565b60008060006060848603121561415a578081fd5b8335925060208401356001600160401b03811115614176578182fd5b61418286828701613e42565b925050604084013590509250925092565b600080600080608085870312156141a8578182fd5b8435935060208501356001600160401b038111156141c4578283fd5b6141d087828801613e42565b949794965050505060408301359260600135919050565b6000602082840312156141f8578081fd5b813561214c81614999565b600060208284031215614214578081fd5b815161214c81614999565b600060208284031215614230578081fd5b81356001600160401b03811115614245578182fd5b8201601f81018413614255578182fd5b61328684823560208401613d30565b60008082840360e0811215614277578283fd5b60c0811215614284578283fd5b5061428d6147b8565b8335815260208085013590820152604080850135908201526060808501359082015260808401356001600160f81b03811681146142c8578384fd5b60808201526142d960a08501613e61565b60a08201529460c0939093013593505050565b6000602082840312156142fd578081fd5b5035919050565b60008060408385031215614316578182fd5b823591506020830135613eb981614984565b60008151808452614340816020860160208601614895565b601f01601f19169290920160200192915050565b60008151614366818560208601614895565b9290920192915050565b6bffffffffffffffffffffffff198660601b16815260006014820186825b878110156143bf5781356143a181614984565b6001600160a01b03168352602092830192919091019060010161438e565b50506001600160fb1b038411156143d4578182fd5b8360051b80868337019081529695505050505050565b600083516143fc818460208801614895565b60609390931b6001600160601b0319169190920190815260140192915050565b6000855161442e818460208a01614895565b60609590951b6001600160601b031916919094019081526014810192909252603482015260540192915050565b600080845482600182811c91508083168061447757607f831692505b602080841082141561449757634e487b7160e01b87526022600452602487fd5b8180156144ab57600181146144bc576144e8565b60ff198616895284890196506144e8565b60008b815260209020885b868110156144e05781548b8201529085019083016144c7565b505084890196505b505050505050613c6d8185614354565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613c9690830184614328565b60208152600061214c6020830184614328565b6020808252600f908201526e24b73b30b634b21030b6b7bab73a1760891b604082015260600190565b6020808252602d908201527f43616e206f6e6c79206d696e742061206d756c7469706c65206f66207468652060408201526c36b0bc2130ba31b429b4bd329760991b606082015260800190565b60208082526030908201527f5468652061646472657373206861736820646f6573206e6f74206d617463682060408201526f3a34329039b4b3b732b2103430b9b41760811b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6020808252601a908201527f596f752063616e6e6f74206d696e742074686973206d616e792e000000000000604082015260600190565b60208082526009908201526829b7b6321037baba1760b91b604082015260600190565b60208082526021908201527f5468697320686173682773207369676e617475726520697320696e76616c69646040820152601760f91b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b8681526020810186905260408101859052606081018490526001600160f81b038316608082015260c08101600383106147a757634e487b7160e01b600052602160045260246000fd5b8260a0830152979650505050505050565b60405160c081016001600160401b03811182821017156147da576147da61496e565b60405290565b60006001600160801b0380831681851680830382111561480257614802614942565b01949350505050565b6000821982111561481e5761481e614942565b500190565b60008261483257614832614958565b500490565b600081600019048311821515161561485157614851614942565b500290565b60006001600160801b038381169083168181101561487657614876614942565b039392505050565b60008282101561489057614890614942565b500390565b60005b838110156148b0578181015183820152602001614898565b838111156112265750506000910152565b6000816148d0576148d0614942565b506000190190565b600181811c908216806148ec57607f821691505b6020821081141561490d57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561492757614927614942565b5060010190565b60008261493d5761493d614958565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146128e857600080fd5b6001600160e01b0319811681146128e857600080fdfea264697066735822122067c14d2a6e4ba1006d0676b5582c30a86d45d4916731d8b8f8aab11ff90a5add64736f6c63430008040033608060405260405162000b6a38038062000b6a8339810160408190526200002691620003db565b8051825114620000985760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620000eb5760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f2070617965657300000000000060448201526064016200008f565b60005b82518110156200016f576200015a8382815181106200011d57634e487b7160e01b600052603260045260246000fd5b60200260200101518383815181106200014657634e487b7160e01b600052603260045260246000fd5b60200260200101516200017860201b60201c565b8062000166816200052c565b915050620000ee565b50505062000576565b6001600160a01b038216620001e55760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b60648201526084016200008f565b60008111620002375760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a2073686172657320617265203000000060448201526064016200008f565b6001600160a01b03821660009081526002602052604090205415620002b35760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b60648201526084016200008f565b60048054600181019091557f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0180546001600160a01b0319166001600160a01b0384169081179091556000908152600260205260408120829055546200031b90829062000511565b600055604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b600082601f83011262000375578081fd5b815160206200038e6200038883620004eb565b620004b8565b80838252828201915082860187848660051b8901011115620003ae578586fd5b855b85811015620003ce57815184529284019290840190600101620003b0565b5090979650505050505050565b60008060408385031215620003ee578182fd5b82516001600160401b038082111562000405578384fd5b818501915085601f83011262000419578384fd5b815160206200042c6200038883620004eb565b8083825282820191508286018a848660051b89010111156200044c578889fd5b8896505b84871015620004855780516001600160a01b03811681146200047057898afd5b83526001969096019591830191830162000450565b50918801519196509093505050808211156200049f578283fd5b50620004ae8582860162000364565b9150509250929050565b604051601f8201601f191681016001600160401b0381118282101715620004e357620004e362000560565b604052919050565b60006001600160401b0382111562000507576200050762000560565b5060051b60200190565b600082198211156200052757620005276200054a565b500190565b60006000198214156200054357620005436200054a565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6105e480620005866000396000f3fe6080604052600436106100595760003560e01c806319165587146100a75780633a98ef39146100c95780638b83209b146100ed5780639852595c14610125578063ce7c2ac21461015b578063e33b7de31461019157600080fd5b366100a2577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156100b357600080fd5b506100c76100c23660046104d7565b6101a6565b005b3480156100d557600080fd5b506000545b6040519081526020015b60405180910390f35b3480156100f957600080fd5b5061010d6101083660046104fa565b61037b565b6040516001600160a01b0390911681526020016100e4565b34801561013157600080fd5b506100da6101403660046104d7565b6001600160a01b031660009081526003602052604090205490565b34801561016757600080fd5b506100da6101763660046104d7565b6001600160a01b031660009081526002602052604090205490565b34801561019d57600080fd5b506001546100da565b6001600160a01b03811660009081526002602052604090205461021f5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b60648201526084015b60405180910390fd5b60006001544761022f9190610512565b6001600160a01b03831660009081526003602090815260408083205483546002909352908320549394509192610265908561054a565b61026f919061052a565b6102799190610569565b9050806102dc5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610216565b6001600160a01b038316600090815260036020526040902054610300908290610512565b6001600160a01b038416600090815260036020526040902055600154610327908290610512565b60015561033483826103b9565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b60006004828154811061039e57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031692915050565b804710156104095760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610216565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610456576040519150601f19603f3d011682016040523d82523d6000602084013e61045b565b606091505b50509050806104d25760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610216565b505050565b6000602082840312156104e8578081fd5b81356104f381610596565b9392505050565b60006020828403121561050b578081fd5b5035919050565b6000821982111561052557610525610580565b500190565b60008261054557634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561056457610564610580565b500290565b60008282101561057b5761057b610580565b500390565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b03811681146105ab57600080fd5b5056fea2646970667358221220c96491603802a35d8468b85d1304c5db15afa93e123878731b5049f1e77eb80d64736f6c634300080400330000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000186a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000004802385b07e4301db3d5854819ff85c4d4fc47fc0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000304c69766573206f66204173756e61202d20547261636b2031202d205365637265742047617264656e20426f75717565740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000304c69766573206f66204173756e61202d20547261636b2031202d205365637265742047617264656e20426f757175657400000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106104465760003560e01c80637bd07f8b11610234578063bcf161a21161012e578063d7224ba0116100b6578063e985e9c51161007a578063e985e9c514610c4b578063ea4194dc14610c94578063efd0cbf914610cb4578063f2fde38b14610cc7578063f4aa1b6714610ce757600080fd5b8063d7224ba014610bc9578063d73b2a6c14610bdf578063d921eb7814610bf5578063e0c5b0ed14610c0b578063e214696314610c2b57600080fd5b8063c85b380d116100fd578063c85b380d14610b3c578063c878813414610b5c578063c87b56dd14610b72578063cc04947314610b92578063d57e4eae14610ba757600080fd5b8063bcf161a214610acf578063bcf754bf14610ae4578063c0c3714914610b06578063c0fa501114610b1c57600080fd5b806395d89b41116101bc578063b27a87b011610180578063b27a87b014610a53578063b413e61a14610a66578063b882bacb14610a87578063b88d4fde14610a9a578063baffa90314610aba57600080fd5b806395d89b41146109c9578063a22cb465146109de578063a9501b73146109fe578063ab55abf514610a1e578063b1b54e9a14610a3e57600080fd5b806385cb593b1161020357806385cb593b146109455780638da5cb5b146109655780638e9e4e78146109835780638f3756c2146109965780639097548d146109a957600080fd5b80637bd07f8b146108ac578063808d5259146108fa5780638230d18d14610910578063846b41931461093057600080fd5b806334d79fff11610345578063571d34af116102cd57806370a082311161029157806370a082311461082c578063715018a61461084c578063722e141d1461086157806375dadb3214610877578063788183dd1461088c57600080fd5b8063571d34af146107ab578063590e1ae3146107c1578063631bbbba146107d65780636352211e146107f65780636ac5db191461081657600080fd5b80634f297ccc116103145780634f297ccc1461072d5780634f6ccce71461074357806351b7511514610763578063557007011461077657806355f804b31461078b57600080fd5b806334d79fff146106b857806339a2e659146106d857806339ae8c8f146106f857806342842e0e1461070d57600080fd5b80630e56a3c3116103d357806320def2a41161039757806320def2a41461062357806323aa0f9b1461064357806323b872dd14610658578063279a669e146106785780632f745c591461069857600080fd5b80630e56a3c31461058c57806318160ddd146105b957806319165587146105ce5780631a11e20d146105ee5780631fe9eabc1461060357600080fd5b8063057494a11161041a578063057494a1146104dc57806306fdde03146104fc578063081812fc1461051e578063095ea7b3146105565780630a23b7251461057657600080fd5b8062ab1fa31461044b57806301ffc9a71461046d578063022a11b4146104a2578063035fd8c2146104c6575b600080fd5b34801561045757600080fd5b5061046b6104663660046142ec565b610d08565b005b34801561047957600080fd5b5061048d6104883660046141e7565b610d40565b60405190151581526020015b60405180910390f35b3480156104ae57600080fd5b506104b8601f5481565b604051908152602001610499565b3480156104d257600080fd5b506104b860245481565b3480156104e857600080fd5b5061046b6104f73660046140c9565b610dad565b34801561050857600080fd5b50610511610df5565b604051610499919061452b565b34801561052a57600080fd5b5061053e6105393660046142ec565b610e87565b6040516001600160a01b039091168152602001610499565b34801561056257600080fd5b5061046b610571366004613fa1565b610f12565b34801561058257600080fd5b506104b860195481565b34801561059857600080fd5b506105a161102a565b6040516001600160401b039091168152602001610499565b3480156105c557600080fd5b506000546104b8565b3480156105da57600080fd5b5061046b6105e9366004613e70565b61105e565b3480156105fa57600080fd5b506105a16110c0565b34801561060f57600080fd5b5061046b61061e3660046142ec565b6110fa565b34801561062f57600080fd5b5061046b61063e3660046142ec565b611129565b34801561064f57600080fd5b506104b8611158565b34801561066457600080fd5b5061046b610673366004613ec4565b6111e5565b34801561068457600080fd5b5061046b610693366004613fcc565b6111f0565b3480156106a457600080fd5b506104b86106b3366004613fa1565b61122c565b3480156106c457600080fd5b5061046b6106d336600461421f565b611399565b3480156106e457600080fd5b5061046b6106f33660046142ec565b6113da565b34801561070457600080fd5b506104b8611409565b34801561071957600080fd5b5061046b610728366004613ec4565b61146a565b34801561073957600080fd5b506104b8601a5481565b34801561074f57600080fd5b506104b861075e3660046142ec565b611485565b61046b610771366004614146565b6114e7565b34801561078257600080fd5b506104b86116b7565b34801561079757600080fd5b5061046b6107a636600461421f565b611737565b3480156107b757600080fd5b506104b860165481565b3480156107cd57600080fd5b5061046b611774565b3480156107e257600080fd5b5061046b6107f1366004614304565b6119af565b34801561080257600080fd5b5061053e6108113660046142ec565b611afc565b34801561082257600080fd5b506104b860185481565b34801561083857600080fd5b506104b8610847366004613e70565b611b0e565b34801561085857600080fd5b5061046b611b9f565b34801561086d57600080fd5b506104b860155481565b34801561088357600080fd5b50610511611bd5565b34801561089857600080fd5b5061046b6108a73660046142ec565b611c63565b3480156108b857600080fd5b50600954600a54600b54600c54600d546108e894939291906001600160f81b03811690600160f81b900460ff1686565b6040516104999695949392919061475e565b34801561090657600080fd5b506104b8601e5481565b34801561091c57600080fd5b5061046b61092b366004614034565b611c92565b34801561093c57600080fd5b506104b8611d36565b34801561095157600080fd5b5061046b61096036600461421f565b611de4565b34801561097157600080fd5b506008546001600160a01b031661053e565b61046b6109913660046140e3565b611e21565b61046b6109a4366004614193565b611fff565b3480156109b557600080fd5b506104b86109c43660046142ec565b6120ef565b3480156109d557600080fd5b50610511612153565b3480156109ea57600080fd5b5061046b6109f9366004613f6d565b612162565b348015610a0a57600080fd5b5061046b610a193660046140c9565b612227565b348015610a2a57600080fd5b5061046b610a393660046140c9565b61226f565b348015610a4a57600080fd5b506105a16122b7565b61046b610a61366004614146565b6122ea565b348015610a7257600080fd5b50601c5461048d90600160a81b900460ff1681565b61046b610a953660046142ec565b6123aa565b348015610aa657600080fd5b5061046b610ab5366004613f04565b612469565b348015610ac657600080fd5b506105a161249c565b348015610adb57600080fd5b506105116124d6565b348015610af057600080fd5b50336000908152601460205260409020546104b8565b348015610b1257600080fd5b506104b860255481565b348015610b2857600080fd5b5061046b610b373660046140c9565b6124e3565b348015610b4857600080fd5b5061046b610b57366004614264565b61252b565b348015610b6857600080fd5b506104b8601b5481565b348015610b7e57600080fd5b50610511610b8d3660046142ec565b61272f565b348015610b9e57600080fd5b50610511612763565b348015610bb357600080fd5b50336000908152601360205260409020546104b8565b348015610bd557600080fd5b506104b860075481565b348015610beb57600080fd5b506104b860175481565b348015610c0157600080fd5b506104b8601d5481565b348015610c1757600080fd5b5061046b610c263660046142ec565b612770565b348015610c3757600080fd5b5061046b610c463660046142ec565b61279f565b348015610c5757600080fd5b5061048d610c66366004613e8c565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b348015610ca057600080fd5b5061046b610caf36600461421f565b6127ce565b61046b610cc23660046142ec565b61280b565b348015610cd357600080fd5b5061046b610ce2366004613e70565b6128eb565b348015610cf357600080fd5b50601c5461048d90600160a01b900460ff1681565b6008546001600160a01b03163314610d3b5760405162461bcd60e51b8152600401610d3290614604565b60405180910390fd5b601b55565b60006001600160e01b031982166380ac58cd60e01b1480610d7157506001600160e01b03198216635b5e139f60e01b145b80610d8c57506001600160e01b0319821663780e9d6360e01b145b80610da757506301ffc9a760e01b6001600160e01b03198316145b92915050565b6008546001600160a01b03163314610dd75760405162461bcd60e51b8152600401610d3290614604565b601c8054911515600160a01b0260ff60a01b19909216919091179055565b606060018054610e04906148d8565b80601f0160208091040260200160405190810160405280929190818152602001828054610e30906148d8565b8015610e7d5780601f10610e5257610100808354040283529160200191610e7d565b820191906000526020600020905b815481529060010190602001808311610e6057829003601f168201915b5050505050905090565b6000610e94826000541190565b610ef65760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b6064820152608401610d32565b506000908152600560205260409020546001600160a01b031690565b6000610f1d82611afc565b9050806001600160a01b0316836001600160a01b03161415610f8c5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610d32565b336001600160a01b0382161480610fa85750610fa88133610c66565b61101a5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610d32565b611025838383612983565b505050565b6008546000906001600160a01b031633146110575760405162461bcd60e51b8152600401610d3290614604565b5061038490565b601c54604051631916558760e01b81526001600160a01b03838116600483015290911690631916558790602401600060405180830381600087803b1580156110a557600080fd5b505af11580156110b9573d6000803e3d6000fd5b5050505050565b6008546000906001600160a01b031633146110ed5760405162461bcd60e51b8152600401610d3290614604565b506706f05b59d3b2000090565b6008546001600160a01b031633146111245760405162461bcd60e51b8152600401610d3290614604565b601855565b6008546001600160a01b031633146111535760405162461bcd60e51b8152600401610d3290614604565b602455565b601c54600090600160b81b900460ff16801561119e5750601e543360009081526023602052604090205461118c9190614837565b33600090815260226020526040902054115b156111df57601e54336000908152602360205260409020546111c09190614837565b336000908152602260205260409020546111da919061487e565b905090565b50600090565b6110258383836129df565b6008546001600160a01b0316331461121a5760405162461bcd60e51b8152600401610d3290614604565b61122684848484612d61565b50505050565b600061123783611b0e565b82106112905760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610d32565b600080549080805b83811015611339576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b031691830191909152156112ea57805192505b876001600160a01b0316836001600160a01b03161415611326578684141561131857509350610da792505050565b8361132281614913565b9450505b508061133181614913565b915050611298565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610d32565b6008546001600160a01b031633146113c35760405162461bcd60e51b8152600401610d3290614604565b80516113d6906012906020840190613ca0565b5050565b6008546001600160a01b031633146114045760405162461bcd60e51b8152600401610d3290614604565b601655565b601c54600090600160a01b900460ff1661145a5760405162461bcd60e51b81526020600482015260126024820152711c99599d5b99081b9bdd08185b1b1bddd95960721b6044820152606401610d32565b601e54601f546111da9190614837565b61102583838360405180602001604052806000815250612469565b6000805482106114e35760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610d32565b5090565b6114f18383612fd4565b61150d5760405162461bcd60e51b8152600401610d32906146e6565b826115a26010805461151e906148d8565b80601f016020809104026020016040519081016040528092919081815260200182805461154a906148d8565b80156115975780601f1061156c57610100808354040283529160200191611597565b820191906000526020600020905b81548152906001019060200180831161157a57829003601f168201915b50505050503361300c565b146115bf5760405162461bcd60e51b8152600401610d32906145b4565b601554336000908152601360205260409020546115dd90839061480b565b11156115fb5760405162461bcd60e51b8152600401610d329061468c565b3481601b5461160a9190614837565b146116275760405162461bcd60e51b8152600401610d329061453e565b336000908152601360205260408120805483929061164690849061480b565b9091555050336000908152602360205260408120805483929061166a90849061480b565b9250508190555080601f6000828254611683919061480b565b909155505033600090815260226020526040812080543492906116a790849061480b565b909155506110259050338261303f565b601c54600090600160a81b900460ff1680156116fc5750601e54336000908152601460205260409020546116eb9190614837565b336000908152602080526040902054115b156111df57601e543360009081526014602052604090205461171e9190614837565b3360009081526020805260409020546111da919061487e565b6008546001600160a01b031633146117615760405162461bcd60e51b8152600401610d3290614604565b80516113d6906011906020840190613ca0565b6002600e5414156117975760405162461bcd60e51b8152600401610d3290614727565b6002600e55601c54600160a01b900460ff1615156001146117ef5760405162461bcd60e51b81526020600482015260126024820152711c99599d5b99081b9bdd08185b1b1bddd95960721b6044820152606401610d32565b6000806117fa6116b7565b9050801561183357336000908152602080805260408083208390556014909152902054601f54919250829161182f919061487e565b601f555b61183b611d36565b905080156118905761184d818361480b565b336000908152602160209081526040808320839055602382528083205460139092529091205491935061187f9161487e565b601f5461188c919061487e565b601f555b611898611158565b905080156118da576118aa818361480b565b3360009081526022602090815260408083208390556023909152902054601f549193506118d69161487e565b601f555b816119145760405162461bcd60e51b815260206004820152600a6024820152696e6f20726566756e647360b01b6044820152606401610d32565b604051600090339084908381818185875af1925050503d8060008114611956576040519150601f19603f3d011682016040523d82523d6000602084013e61195b565b606091505b50909150506001811515146119a55760405162461bcd60e51b815260206004820152601060248201526f19985a5b1959081d1bc81c99599d5b9960821b6044820152606401610d32565b50506001600e5550565b6008546001600160a01b031633146119d95760405162461bcd60e51b8152600401610d3290614604565b601754826119e660005490565b6119f0919061480b565b1115611a0e5760405162461bcd60e51b8152600401610d32906146c3565b7f0000000000000000000000000000000000000000000000000000000000000014821015611a40576113d6818361303f565b611a6a7f00000000000000000000000000000000000000000000000000000000000000148361492e565b15611a875760405162461bcd60e51b8152600401610d3290614567565b6000611ab37f000000000000000000000000000000000000000000000000000000000000001484614823565b905060005b8181101561122657611aea837f000000000000000000000000000000000000000000000000000000000000001461303f565b80611af481614913565b915050611ab8565b6000611b0782613059565b5192915050565b60006001600160a01b038216611b7a5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610d32565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6008546001600160a01b03163314611bc95760405162461bcd60e51b8152600401610d3290614604565b611bd36000613202565b565b600f8054611be2906148d8565b80601f0160208091040260200160405190810160405280929190818152602001828054611c0e906148d8565b8015611c5b5780601f10611c3057610100808354040283529160200191611c5b565b820191906000526020600020905b815481529060010190602001808311611c3e57829003601f168201915b505050505081565b6008546001600160a01b03163314611c8d5760405162461bcd60e51b8152600401610d3290614604565b601e55565b60003387878787604051602001611cad959493929190614370565b604051602081830303815290604052805190602001209050611d058184848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612fd492505050565b611d215760405162461bcd60e51b8152600401610d32906146e6565b611d2d87878787612d61565b50505050505050565b601c54600090600160b01b900460ff168015611d925750601e5433600090815260236020908152604080832054601390925290912054611d76919061487e565b611d809190614837565b33600090815260216020526040902054115b156111df57601e5433600090815260236020908152604080832054601390925290912054611dc0919061487e565b611dca9190614837565b336000908152602160205260409020546111da919061487e565b6008546001600160a01b03163314611e0e5760405162461bcd60e51b8152600401610d3290614604565b80516113d690600f906020840190613ca0565b611e618686868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250612fd492505050565b611e7d5760405162461bcd60e51b8152600401610d32906146e6565b85611f1460108054611e8e906148d8565b80601f0160208091040260200160405190810160405280929190818152602001828054611eba906148d8565b8015611f075780601f10611edc57610100808354040283529160200191611f07565b820191906000526020600020905b815481529060010190602001808311611eea57829003601f168201915b5050505050338585613254565b14611f515760405162461bcd60e51b815260206004820152600d60248201526c2430b9b41034b73b30b634b21760991b6044820152606401610d32565b336000908152601360205260409020548290611f6e90859061480b565b1115611f8c5760405162461bcd60e51b8152600401610d329061468c565b60155433600090815260136020526040902054611faa90859061480b565b1115611fc85760405162461bcd60e51b8152600401610d329061468c565b3360009081526013602052604081208054859290611fe790849061480b565b90915550611ff79050818461328e565b505050505050565b6120098484612fd4565b6120255760405162461bcd60e51b8152600401610d32906146e6565b604080513360601b6001600160601b031916602080830191909152603482018590526054808301859052835180840390910181526074909201909252805191012084146120845760405162461bcd60e51b8152600401610d32906145b4565b601554336000908152601360205260409020546120a290839061480b565b11156120c05760405162461bcd60e51b8152600401610d329061468c565b33600090815260136020526040812080548392906120df90849061480b565b909155506112269050828261328e565b600c54600b546009805460009391926121299161210c904261487e565b6121169190614823565b60048401546001600160f81b0316613401565b6121339190614837565b8160010154612142919061487e565b61214c9084614837565b9392505050565b606060028054610e04906148d8565b6001600160a01b0382163314156121bb5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610d32565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146122515760405162461bcd60e51b8152600401610d3290614604565b601c8054911515600160a81b0260ff60a81b19909216919091179055565b6008546001600160a01b031633146122995760405162461bcd60e51b8152600401610d3290614604565b601c8054911515600160b01b0260ff60b01b19909216919091179055565b6008546000906001600160a01b031633146122e45760405162461bcd60e51b8152600401610d3290614604565b50600990565b6122f48383612fd4565b6123105760405162461bcd60e51b8152600401610d32906146e6565b82612321600f805461151e906148d8565b1461233e5760405162461bcd60e51b8152600401610d32906145b4565b6015543360009081526013602052604090205461235c90839061480b565b111561237a5760405162461bcd60e51b8152600401610d329061468c565b336000908152601360205260408120805483929061239990849061480b565b909155506110259050816000613417565b6008546001600160a01b031633146123d45760405162461bcd60e51b8152600401610d3290614604565b601c546040516000916001600160a01b03169083908381818185875af1925050503d8060008114612421576040519150601f19603f3d011682016040523d82523d6000602084013e612426565b606091505b50509050806113d65760405162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b6044820152606401610d32565b6124748484846129df565b61248084848484613520565b6112265760405162461bcd60e51b8152600401610d3290614639565b6008546000906001600160a01b031633146124c95760405162461bcd60e51b8152600401610d3290614604565b50674563918244f4000090565b60108054611be2906148d8565b6008546001600160a01b0316331461250d5760405162461bcd60e51b8152600401610d3290614604565b601c8054911515600160b81b0260ff60b81b19909216919091179055565b6008546001600160a01b031633146125555760405162461bcd60e51b8152600401610d3290614604565b8082608001516001600160f81b0316836060015102836020015103146125cb5760405162461bcd60e51b815260206004820152602560248201527f4c696e656172447574636841756374696f6e3a20696e636f7272656374207265604482015264736572766560d81b6064820152608401610d32565b60008260a0015160028111156125f157634e487b7160e01b600052602160045260246000fd5b141561264b5760405162461bcd60e51b8152602060048201526024808201527f4c696e656172447574636841756374696f6e3a20756e737065636966696564206044820152631d5b9a5d60e21b6064820152608401610d32565b60008260400151116126b25760405162461bcd60e51b815260206004820152602a60248201527f4c696e656172447574636841756374696f6e3a207a65726f206465637265617360448201526919481a5b9d195c9d985b60b21b6064820152608401610d32565b815160099081556020830151600a556040830151600b556060830151600c556080830151600d80546001600160f81b0319166001600160f81b03909216918217815560a0850151859392909190600160f81b83600281111561272457634e487b7160e01b600052602160045260246000fd5b021790555050505050565b6060601161273c8361362a565b60405160200161274d92919061445b565b6040516020818303038152906040529050919050565b60128054611be2906148d8565b6008546001600160a01b0316331461279a5760405162461bcd60e51b8152600401610d3290614604565b600955565b6008546001600160a01b031633146127c95760405162461bcd60e51b8152600401610d3290614604565b601555565b6008546001600160a01b031633146127f85760405162461bcd60e51b8152600401610d3290614604565b80516113d6906010906020840190613ca0565b6016543360009081526013602090815260408083205460149092529091205483916128359161480b565b61283f919061480b565b111561285d5760405162461bcd60e51b8152600401610d329061468c565b806025600082825461286f919061480b565b909155505060245460255411156128b85760405162461bcd60e51b815260206004820152600d60248201526c195e18d9595908185b5bdd5b9d609a1b6044820152606401610d32565b33600090815260146020526040812080548392906128d790849061480b565b909155506128e89050816001613417565b50565b6008546001600160a01b031633146129155760405162461bcd60e51b8152600401610d3290614604565b6001600160a01b03811661297a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d32565b6128e881613202565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006129ea82613059565b80519091506000906001600160a01b0316336001600160a01b03161480612a21575033612a1684610e87565b6001600160a01b0316145b80612a3357508151612a339033610c66565b905080612a9d5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610d32565b846001600160a01b031682600001516001600160a01b031614612b115760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610d32565b6001600160a01b038416612b755760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610d32565b612b856000848460000151612983565b6001600160a01b0385166000908152600460205260408120805460019290612bb79084906001600160801b0316614856565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b03861660009081526004602052604081208054600194509092612c03918591166147e0565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526003909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055612c8a84600161480b565b6000818152600360205260409020549091506001600160a01b0316612d1b57612cb4816000541190565b15612d1b5760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611ff7565b8260005b81811015611ff757601754848483818110612d9057634e487b7160e01b600052603260045260246000fd5b90506020020135612da060005490565b612daa919061480b565b1115612dc85760405162461bcd60e51b8152600401610d32906146c3565b7f0000000000000000000000000000000000000000000000000000000000000014848483818110612e0957634e487b7160e01b600052603260045260246000fd5b905060200201351015612e7f57612e7a868683818110612e3957634e487b7160e01b600052603260045260246000fd5b9050602002016020810190612e4e9190613e70565b858584818110612e6e57634e487b7160e01b600052603260045260246000fd5b9050602002013561303f565b612fc2565b7f0000000000000000000000000000000000000000000000000000000000000014848483818110612ec057634e487b7160e01b600052603260045260246000fd5b90506020020135612ed1919061492e565b15612eee5760405162461bcd60e51b8152600401610d3290614567565b60007f0000000000000000000000000000000000000000000000000000000000000014858584818110612f3157634e487b7160e01b600052603260045260246000fd5b90506020020135612f429190614823565b905060005b81811015612fbf57612fad888883818110612f7257634e487b7160e01b600052603260045260246000fd5b9050602002016020810190612f879190613e70565b7f000000000000000000000000000000000000000000000000000000000000001461303f565b80612fb781614913565b915050612f47565b50505b80612fcc81614913565b915050612d65565b6000612fe86008546001600160a01b031690565b6001600160a01b0316612ffb8484613743565b6001600160a01b0316149392505050565b600082826040516020016130219291906143ea565b60405160208183030381529060405280519060200120905092915050565b6113d682826040518060200160405280600081525061374f565b6040805180820190915260008082526020820152613078826000541190565b6130d75760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610d32565b60007f000000000000000000000000000000000000000000000000000000000000001483106131385761312a7f00000000000000000000000000000000000000000000000000000000000000148461487e565b61313590600161480b565b90505b825b8181106131a1576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b0316918301919091521561318e57949350505050565b5080613199816148c1565b91505061313a565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b6064820152608401610d32565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008484848460405160200161326d949392919061441c565b6040516020818303038152906040528051906020012090505b949350505050565b6002600e5414156132b15760405162461bcd60e51b8152600401610d3290614727565b6002600e55601854816132c360005490565b6132cd919061480b565b11156132eb5760405162461bcd60e51b8152600401610d32906146c3565b60006132f78284614837565b9050348111156133195760405162461bcd60e51b8152600401610d329061453e565b613323338361303f565b81601f6000828254613335919061480b565b9091555050336000908152602160205260408120805483929061335990849061480b565b9091555050348110156119a5576000335b90506000613378833461487e565b9050600080836001600160a01b03168360405160006040518083038185875af1925050503d80600081146133c8576040519150601f19603f3d011682016040523d82523d6000602084013e6133cd565b606091505b50915091508181906133f25760405162461bcd60e51b8152600401610d32919061452b565b505050505050506001600e5550565b6000818310613410578161214c565b5090919050565b6002600e54141561343a5760405162461bcd60e51b8152600401610d3290614727565b6002600e556018548261344c60005490565b613456919061480b565b11156134745760405162461bcd60e51b8152600401610d32906146c3565b600061347f836120ef565b9050348111156134a15760405162461bcd60e51b8152600401610d329061453e565b6134ab338461303f565b82601f60008282546134bd919061480b565b909155505081156134f157336000908152602080526040812080548392906134e690849061480b565b909155506135109050565b336000908152602160205260408120805483929061335990849061480b565b803411156119a55760003361336a565b60006001600160a01b0384163b1561362257604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906135649033908990889088906004016144f8565b602060405180830381600087803b15801561357e57600080fd5b505af19250505080156135ae575060408051601f3d908101601f191682019092526135ab91810190614203565b60015b613608573d8080156135dc576040519150601f19603f3d011682016040523d82523d6000602084013e6135e1565b606091505b5080516136005760405162461bcd60e51b8152600401610d3290614639565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613286565b506001613286565b60608161364e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115613678578061366281614913565b91506136719050600a83614823565b9150613652565b6000816001600160401b038111156136a057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156136ca576020820181803683370190505b5090505b8415613286576136df60018361487e565b91506136ec600a8661492e565b6136f790603061480b565b60f81b81838151811061371a57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061373c600a86614823565b94506136ce565b600061214c8383613a29565b6000546001600160a01b0384166137b25760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610d32565b6137bd816000541190565b1561380a5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610d32565b7f00000000000000000000000000000000000000000000000000000000000000148311156138855760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b6064820152608401610d32565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b90910416918101919091528151808301909252805190919081906138e19087906147e0565b6001600160801b031681526020018583602001516138ff91906147e0565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015613a1e5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46139e26000888488613520565b6139fe5760405162461bcd60e51b8152600401610d3290614639565b81613a0881614913565b9250508080613a1690614913565b915050613995565b506000819055611ff7565b6000815160411415613a5d5760208201516040830151606084015160001a613a5386828585613acd565b9350505050610da7565b815160401415613a855760208201516040830151613a7c858383613c76565b92505050610da7565b60405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610d32565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115613b4a5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610d32565b8360ff16601b1480613b5f57508360ff16601c145b613bb65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610d32565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015613c0a573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116613c6d5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610d32565b95945050505050565b60006001600160ff1b03821660ff83901c601b01613c9686828785613acd565b9695505050505050565b828054613cac906148d8565b90600052602060002090601f016020900481019282613cce5760008555613d14565b82601f10613ce757805160ff1916838001178555613d14565b82800160010185558215613d14579182015b82811115613d14578251825591602001919060010190613cf9565b506114e39291505b808211156114e35760008155600101613d1c565b60006001600160401b0380841115613d4a57613d4a61496e565b604051601f8501601f19908116603f01168101908282118183101715613d7257613d7261496e565b81604052809350858152868686011115613d8b57600080fd5b858560208301376000602087830101525050509392505050565b60008083601f840112613db6578182fd5b5081356001600160401b03811115613dcc578182fd5b6020830191508360208260051b8501011115613de757600080fd5b9250929050565b80358015158114613dfe57600080fd5b919050565b60008083601f840112613e14578182fd5b5081356001600160401b03811115613e2a578182fd5b602083019150836020828501011115613de757600080fd5b600082601f830112613e52578081fd5b61214c83833560208501613d30565b803560038110613dfe57600080fd5b600060208284031215613e81578081fd5b813561214c81614984565b60008060408385031215613e9e578081fd5b8235613ea981614984565b91506020830135613eb981614984565b809150509250929050565b600080600060608486031215613ed8578081fd5b8335613ee381614984565b92506020840135613ef381614984565b929592945050506040919091013590565b60008060008060808587031215613f19578081fd5b8435613f2481614984565b93506020850135613f3481614984565b92506040850135915060608501356001600160401b03811115613f55578182fd5b613f6187828801613e42565b91505092959194509250565b60008060408385031215613f7f578182fd5b8235613f8a81614984565b9150613f9860208401613dee565b90509250929050565b60008060408385031215613fb3578182fd5b8235613fbe81614984565b946020939093013593505050565b60008060008060408587031215613fe1578182fd5b84356001600160401b0380821115613ff7578384fd5b61400388838901613da5565b9096509450602087013591508082111561401b578384fd5b5061402887828801613da5565b95989497509550505050565b6000806000806000806060878903121561404c578384fd5b86356001600160401b0380821115614062578586fd5b61406e8a838b01613da5565b90985096506020890135915080821115614086578586fd5b6140928a838b01613da5565b909650945060408901359150808211156140aa578384fd5b506140b789828a01613e03565b979a9699509497509295939492505050565b6000602082840312156140da578081fd5b61214c82613dee565b60008060008060008060a087890312156140fb578384fd5b8635955060208701356001600160401b03811115614117578485fd5b61412389828a01613e03565b979a90995096976040810135976060820135975060809091013595509350505050565b60008060006060848603121561415a578081fd5b8335925060208401356001600160401b03811115614176578182fd5b61418286828701613e42565b925050604084013590509250925092565b600080600080608085870312156141a8578182fd5b8435935060208501356001600160401b038111156141c4578283fd5b6141d087828801613e42565b949794965050505060408301359260600135919050565b6000602082840312156141f8578081fd5b813561214c81614999565b600060208284031215614214578081fd5b815161214c81614999565b600060208284031215614230578081fd5b81356001600160401b03811115614245578182fd5b8201601f81018413614255578182fd5b61328684823560208401613d30565b60008082840360e0811215614277578283fd5b60c0811215614284578283fd5b5061428d6147b8565b8335815260208085013590820152604080850135908201526060808501359082015260808401356001600160f81b03811681146142c8578384fd5b60808201526142d960a08501613e61565b60a08201529460c0939093013593505050565b6000602082840312156142fd578081fd5b5035919050565b60008060408385031215614316578182fd5b823591506020830135613eb981614984565b60008151808452614340816020860160208601614895565b601f01601f19169290920160200192915050565b60008151614366818560208601614895565b9290920192915050565b6bffffffffffffffffffffffff198660601b16815260006014820186825b878110156143bf5781356143a181614984565b6001600160a01b03168352602092830192919091019060010161438e565b50506001600160fb1b038411156143d4578182fd5b8360051b80868337019081529695505050505050565b600083516143fc818460208801614895565b60609390931b6001600160601b0319169190920190815260140192915050565b6000855161442e818460208a01614895565b60609590951b6001600160601b031916919094019081526014810192909252603482015260540192915050565b600080845482600182811c91508083168061447757607f831692505b602080841082141561449757634e487b7160e01b87526022600452602487fd5b8180156144ab57600181146144bc576144e8565b60ff198616895284890196506144e8565b60008b815260209020885b868110156144e05781548b8201529085019083016144c7565b505084890196505b505050505050613c6d8185614354565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613c9690830184614328565b60208152600061214c6020830184614328565b6020808252600f908201526e24b73b30b634b21030b6b7bab73a1760891b604082015260600190565b6020808252602d908201527f43616e206f6e6c79206d696e742061206d756c7469706c65206f66207468652060408201526c36b0bc2130ba31b429b4bd329760991b606082015260800190565b60208082526030908201527f5468652061646472657373206861736820646f6573206e6f74206d617463682060408201526f3a34329039b4b3b732b2103430b9b41760811b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6020808252601a908201527f596f752063616e6e6f74206d696e742074686973206d616e792e000000000000604082015260600190565b60208082526009908201526829b7b6321037baba1760b91b604082015260600190565b60208082526021908201527f5468697320686173682773207369676e617475726520697320696e76616c69646040820152601760f91b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b8681526020810186905260408101859052606081018490526001600160f81b038316608082015260c08101600383106147a757634e487b7160e01b600052602160045260246000fd5b8260a0830152979650505050505050565b60405160c081016001600160401b03811182821017156147da576147da61496e565b60405290565b60006001600160801b0380831681851680830382111561480257614802614942565b01949350505050565b6000821982111561481e5761481e614942565b500190565b60008261483257614832614958565b500490565b600081600019048311821515161561485157614851614942565b500290565b60006001600160801b038381169083168181101561487657614876614942565b039392505050565b60008282101561489057614890614942565b500390565b60005b838110156148b0578181015183820152602001614898565b838111156112265750506000910152565b6000816148d0576148d0614942565b506000190190565b600181811c908216806148ec57607f821691505b6020821081141561490d57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561492757614927614942565b5060010190565b60008261493d5761493d614958565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146128e857600080fd5b6001600160e01b0319811681146128e857600080fdfea264697066735822122067c14d2a6e4ba1006d0676b5582c30a86d45d4916731d8b8f8aab11ff90a5add64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000186a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000004802385b07e4301db3d5854819ff85c4d4fc47fc0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000304c69766573206f66204173756e61202d20547261636b2031202d205365637265742047617264656e20426f75717565740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000304c69766573206f66204173756e61202d20547261636b2031202d205365637265742047617264656e20426f757175657400000000000000000000000000000000
-----Decoded View---------------
Arg [0] : payees (address[]): 0x4802385b07e4301DB3d5854819ff85c4d4fC47fC
Arg [1] : shares (uint256[]): 1
Arg [2] : name (string): Lives of Asuna - Track 1 - Secret Garden Bouquet
Arg [3] : symbol (string): Lives of Asuna - Track 1 - Secret Garden Bouquet
Arg [4] : _whitelistMaxMint (uint256): 1
Arg [5] : _publicListMaxMint (uint256): 0
Arg [6] : _nonReservedMax (uint256): 100000
Arg [7] : _reservedMax (uint256): 0
Arg [8] : _discountedPrice (uint256): 0
Arg [9] : _publicTotalMaxMint (uint256): 0
-----Encoded View---------------
20 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [6] : 00000000000000000000000000000000000000000000000000000000000186a0
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [11] : 0000000000000000000000004802385b07e4301db3d5854819ff85c4d4fc47fc
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000030
Arg [15] : 4c69766573206f66204173756e61202d20547261636b2031202d205365637265
Arg [16] : 742047617264656e20426f757175657400000000000000000000000000000000
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000030
Arg [18] : 4c69766573206f66204173756e61202d20547261636b2031202d205365637265
Arg [19] : 742047617264656e20426f757175657400000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.