Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 748 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Safe Transfer Fr... | 20820112 | 64 days ago | IN | 0 ETH | 0.00162965 | ||||
Set Approval For... | 19007647 | 317 days ago | IN | 0 ETH | 0.00094628 | ||||
Set Approval For... | 18957100 | 324 days ago | IN | 0 ETH | 0.0015534 | ||||
Transfer From | 18901414 | 332 days ago | IN | 0 ETH | 0.00091958 | ||||
Transfer From | 18901414 | 332 days ago | IN | 0 ETH | 0.00129088 | ||||
Transfer From | 18901414 | 332 days ago | IN | 0 ETH | 0.00129088 | ||||
Transfer From | 18901414 | 332 days ago | IN | 0 ETH | 0.00129088 | ||||
Transfer From | 18901414 | 332 days ago | IN | 0 ETH | 0.00129088 | ||||
Transfer From | 18901414 | 332 days ago | IN | 0 ETH | 0.00129088 | ||||
Transfer From | 18901414 | 332 days ago | IN | 0 ETH | 0.00129088 | ||||
Transfer From | 18901414 | 332 days ago | IN | 0 ETH | 0.00129088 | ||||
Transfer From | 18901414 | 332 days ago | IN | 0 ETH | 0.00129088 | ||||
Transfer From | 18901414 | 332 days ago | IN | 0 ETH | 0.00159868 | ||||
Set Approval For... | 18893303 | 333 days ago | IN | 0 ETH | 0.00100226 | ||||
Set Approval For... | 18878451 | 335 days ago | IN | 0 ETH | 0.00212955 | ||||
Set Approval For... | 17850282 | 479 days ago | IN | 0 ETH | 0.00076915 | ||||
Set Approval For... | 17701278 | 500 days ago | IN | 0 ETH | 0.00077033 | ||||
Set Approval For... | 17482970 | 531 days ago | IN | 0 ETH | 0.00065356 | ||||
Set Approval For... | 17466940 | 533 days ago | IN | 0 ETH | 0.00063202 | ||||
Set Approval For... | 17465149 | 534 days ago | IN | 0 ETH | 0.00085267 | ||||
Set Approval For... | 17464787 | 534 days ago | IN | 0 ETH | 0.00157437 | ||||
Set Approval For... | 17152159 | 578 days ago | IN | 0 ETH | 0.00147471 | ||||
Set Approval For... | 17130587 | 581 days ago | IN | 0 ETH | 0.00168518 | ||||
Set Approval For... | 17123289 | 582 days ago | IN | 0 ETH | 0.0017147 | ||||
Set Approval For... | 17122839 | 582 days ago | IN | 0 ETH | 0.00151016 |
Loading...
Loading
Contract Name:
HexMountain
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "erc721a/contracts/ERC721A.sol"; import "erc721a/contracts/extensions/ERC721AQueryable.sol"; import "hardhat/console.sol"; import "./ERC721Woodable.sol"; contract VMountainInterface { function balanceOf(address) public returns (uint) {} function tokenOfOwnerByIndex(address, uint) public returns (uint) {} } contract HexMountain is ERC721A, ERC721AQueryable, ERC721Woodable { address private immutable contractAddress; address public owner; VMountainInterface private immutable _vMountainContract; mapping (uint => bool) _vMountainUsedForMint; uint constant public cap = 1200; uint public mintPrice = 7 ether / 100; uint public lasercuttingVoucherPrice = 10 ether / 100; bool public freeSaleActive = false; bool public saleActive = false; bool public lasercuttingVoucherSaleActive = false; // Donations going to Ethereum protocol contributors via the Protocol guild // https://twitter.com/StatefulWorks/status/1477006979704967169 // https://stateful.mirror.xyz/mEDvFXGCKdDhR-N320KRtsq60Y2OPk8rHcHBCFVryXY // https://protocol-guild.readthedocs.io/en/latest/ address public donationAddress = 0xF29Ff96aaEa6C9A1fBa851f74737f3c069d4f1a9; string private __baseURI; string private __woodBaseURI; constructor(address vMountainContractAddress) ERC721A("HexMountain", "HEXM") { contractAddress = address(this); owner = msg.sender; _vMountainContract = VMountainInterface(vMountainContractAddress); __baseURI = "https://nand.fr/assets/hmountain/metadata/"; __woodBaseURI = "https://nand.fr/assets/hmountain/wnft/metadata/"; } function mint(uint64 quantity) external payable noDelegateCall { require(tx.origin == msg.sender, "ser plz"); require(_totalMinted() + quantity <= cap, "Cap reached"); require(saleActive || freeSaleActive, "Sale not active yet"); require(quantity <= 20, "Max 20 per tx"); uint64 quantityToPay = quantity; // Free mints for VMountain owners for(uint i = 0; i < _vMountainContract.balanceOf(msg.sender); i++) { uint tokenId = _vMountainContract.tokenOfOwnerByIndex(msg.sender, i); if(_vMountainUsedForMint[tokenId] == false) { quantityToPay--; _vMountainUsedForMint[tokenId] = true; if(quantityToPay == 0) { break; } } } // Free mint for whitelisted ppl uint32 freeWLMints = _getWLCount(msg.sender); if(freeWLMints > 0 && quantityToPay > 0) { uint32 freeWLMintsToConsume = uint64(freeWLMints) >= quantityToPay ? uint32(quantityToPay) : freeWLMints; quantityToPay -= freeWLMintsToConsume; _setWLCount(msg.sender, freeWLMints - freeWLMintsToConsume); } // If there are things to pay, ensure the main sale is active require(saleActive || quantityToPay == 0, "Sale active for free mint only"); // Check price require(msg.value == quantityToPay * mintPrice, "Incorrect price"); // Mint all _safeMint(msg.sender, quantity); } function _afterTokenTransfers(address from, address to, uint256 startTokenId, uint256 quantity) internal override { // If you minted a token ending with a "5", you get the free woodification of your NFT! if(from == address(0)) { for(uint tokenId = startTokenId; tokenId < startTokenId + quantity; tokenId++) { if(tokenId % 10 == 5) { _setLasercuttingVouchers(to, _getLasercuttingVouchers(to) + 1); } } } } function buyLasercuttingVouchers(uint32 ticketCount) external payable { require(msg.value == lasercuttingVoucherPrice * ticketCount, "Incorrect price"); require(lasercuttingVoucherSaleActive, "Lasercutting voucher sale not active yet"); _setLasercuttingVouchers(msg.sender, _getLasercuttingVouchers(msg.sender) + ticketCount); } function mintByOwner(uint64 quantity) public onlyOwner { _safeMint(msg.sender, quantity); } /** * The owner register a wood NFT he is doing for a given NFT. */ function woodMintByOwner(uint256 tokenId, address initialOwner) public onlyOwner { require(_exists(tokenId), "Token does not exist"); _safeWoodMint(tokenId, initialOwner); } function _startTokenId() internal pure override returns (uint256) { return 1; } function hasVMountainBeenUsedForFreeMint(uint tokenId) public view returns (bool) { return _vMountainUsedForMint[tokenId]; } function setBaseURI(string memory newBaseURI) public onlyOwner { __baseURI = newBaseURI; } function _baseURI() internal view override returns (string memory) { return __baseURI; } function setWoodBaseURI(string memory newBaseURI) public onlyOwner { __woodBaseURI = newBaseURI; } function _woodBaseURI() internal view override returns (string memory) { return __woodBaseURI; } function gibWhitelist(address whitelistedAddress, uint32 whitelistedAmount) public onlyOwner { _setWLCount(whitelistedAddress, whitelistedAmount); } function hasWhitelistAmount(address addr) public view returns (uint32) { return _getWLCount(addr); } function gibLasercuttingVouchers(address whitelistedAddress, uint32 whitelistedAmount) public onlyOwner { _setLasercuttingVouchers(whitelistedAddress, whitelistedAmount); } function hasLasercuttingVoucherAmount(address addr) public view returns (uint32) { return _getLasercuttingVouchers(addr); } function setFreeSaleActive(bool active) public onlyOwner { freeSaleActive = active; } function setSaleActive(bool active) public onlyOwner { saleActive = active; } function setLasercuttingVoucherSaleActive(bool active) public onlyOwner { lasercuttingVoucherSaleActive = active; } function setLasercuttingVoucherPrice(uint price) public onlyOwner { lasercuttingVoucherPrice = price; } function setMintPrice(uint price) public onlyOwner { mintPrice = price; } function fetchSaleFunds() public onlyOwner { uint balance = address(this).balance; // Donation is 20% of all sales uint donation = balance / 5; uint remainingBalance = balance - donation; payable(donationAddress).transfer(donation); payable(msg.sender).transfer(remainingBalance); } // WL Count in left 32 bits of aux 64 bits function _getWLCount(address addr) internal view returns (uint32) { return uint32(_getAux(addr) / 2 ** 32); } function _setWLCount(address addr, uint32 wlCount) internal { _setAux(addr, uint64(_getLasercuttingVouchers(addr)) | (uint64(wlCount) * 2 ** 32)); } // Lasercutting vouchers in right 32 bits of aux 64 bits function _getLasercuttingVouchers(address addr) internal view returns (uint32) { return uint32(_getAux(addr) % 2 ** 32); } function _setLasercuttingVouchers(address addr, uint32 voucherCount) internal { _setAux(addr, uint64(voucherCount) | (uint64(_getWLCount(addr)) * 2 ** 32)); } function transferOwnership(address newOwner) public onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); owner = newOwner; } modifier onlyOwner() { require(msg.sender == owner, "Caller is not the owner"); _; } function isNotDelegated() private view { require(address(this) == contractAddress, "ser plz"); } modifier noDelegateCall() { isNotDelegated(); _; } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; 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/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @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) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); 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); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _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 virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = 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; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is equivalent to _burn(tokenId, false) */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev 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); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try 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 TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import '../ERC721A.sol'; error InvalidQueryRange(); /** * @title ERC721A Queryable * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * - `addr` = `address(0)` * - `startTimestamp` = `0` * - `burned` = `false` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` */ function explicitOwnershipOf(uint256 tokenId) public view returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _currentIndex) { return ownership; } ownership = _ownerships[tokenId]; if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start` < `stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _currentIndex; // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, _currentIndex)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownerships[i]; if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(totalSupply) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K pfp collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownerships[i]; if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } }
// 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.9; /** * Ser, you want to woodify your NFTs? * This extension allows you to mint WNFTs (wood NFTs) from your NFTs. */ abstract contract ERC721Woodable { // Wood tokens list, pointing to their tokens mapping (uint256 => uint256) private _woodTokens; // Current number of wood tokens having been minted uint256 private _woodTokensCount = 0; /** * A WNFT (wood NFT) is created from a NFT. */ event WoodMint(uint256 woodTokenId, uint256 tokenId, address initialOwner); /** * Mint a WNFT (wood NFT) from an NFT. * Ser, for safe mint, plz follow safety regulations of your wood machinery. * Requirement : You need to check tokenId exists. * initialOwner is optional and is if you want to record the initial owner */ function _safeWoodMint(uint256 tokenId, address initialOwner) internal virtual { // Starting at id 1 _woodTokensCount++; _woodTokens[_woodTokensCount] = tokenId; emit WoodMint(_woodTokensCount, tokenId, initialOwner); } /** * Get the token which was used to mint the wood token. */ function tokenOfWoodToken(uint256 woodTokenId) public view returns (uint256) { return _woodTokens[woodTokenId]; } /** * Get the total amount of WNFTs in the wild. */ function totalWoodTokenSupply() public view returns (uint256) { return _woodTokensCount; } /** * The URI for the metadata of this WNTF. */ function woodTokenURI(uint256 woodTokenId) public view virtual returns (string memory) { require(woodTokenId <= _woodTokensCount, "Wood Token does not exist"); string memory baseURI = _woodBaseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, uint2str(woodTokenId))) : ''; } function _woodBaseURI() internal view virtual returns (string memory) { return ''; } /** * Uint to string, credits to * https://stackoverflow.com/questions/47129173/how-to-convert-uint-to-string-in-solidity */ function uint2str(uint _i) internal pure returns (string memory _uintAsString) { if (_i == 0) { return "0"; } uint j = _i; uint len; while (j != 0) { len++; j /= 10; } bytes memory bstr = new bytes(len); uint k = len; while (_i != 0) { k = k-1; uint8 temp = (48 + uint8(_i - _i / 10 * 10)); bytes1 b1 = bytes1(temp); bstr[k] = b1; _i /= 10; } return string(bstr); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, 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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) 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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) 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 // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal 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 // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) 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 // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "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":"vMountainContractAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"woodTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"initialOwner","type":"address"}],"name":"WoodMint","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"ticketCount","type":"uint32"}],"name":"buyLasercuttingVouchers","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"donationAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct ERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fetchSaleFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"whitelistedAddress","type":"address"},{"internalType":"uint32","name":"whitelistedAmount","type":"uint32"}],"name":"gibLasercuttingVouchers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"whitelistedAddress","type":"address"},{"internalType":"uint32","name":"whitelistedAmount","type":"uint32"}],"name":"gibWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"hasLasercuttingVoucherAmount","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"hasVMountainBeenUsedForFreeMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"hasWhitelistAmount","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"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":"lasercuttingVoucherPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lasercuttingVoucherSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"quantity","type":"uint64"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint64","name":"quantity","type":"uint64"}],"name":"mintByOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"active","type":"bool"}],"name":"setFreeSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setLasercuttingVoucherPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"active","type":"bool"}],"name":"setLasercuttingVoucherSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"active","type":"bool"}],"name":"setSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setWoodBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"woodTokenId","type":"uint256"}],"name":"tokenOfWoodToken","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalWoodTokenSupply","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"initialOwner","type":"address"}],"name":"woodMintByOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"woodTokenId","type":"uint256"}],"name":"woodTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60c0604052600060095566f8b0a10e470000600c5567016345785d8a0000600d556000600e60006101000a81548160ff0219169083151502179055506000600e60016101000a81548160ff0219169083151502179055506000600e60026101000a81548160ff02191690831515021790555073f29ff96aaea6c9a1fba851f74737f3c069d4f1a9600e60036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620000d357600080fd5b5060405162005dfe38038062005dfe8339818101604052810190620000f99190620003e6565b6040518060400160405280600b81526020017f4865784d6f756e7461696e0000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4845584d0000000000000000000000000000000000000000000000000000000081525081600290805190602001906200017d929190620002cc565b50806003908051906020019062000196929190620002cc565b50620001a7620002c360201b60201c565b60008190555050503073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505033600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff16815250506040518060600160405280602a815260200162005da5602a9139600f908051906020019062000289929190620002cc565b506040518060600160405280602f815260200162005dcf602f913960109080519060200190620002bb929190620002cc565b50506200047d565b60006001905090565b828054620002da9062000447565b90600052602060002090601f016020900481019282620002fe57600085556200034a565b82601f106200031957805160ff19168380011785556200034a565b828001600101855582156200034a579182015b82811115620003495782518255916020019190600101906200032c565b5b5090506200035991906200035d565b5090565b5b80821115620003785760008160009055506001016200035e565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003ae8262000381565b9050919050565b620003c081620003a1565b8114620003cc57600080fd5b50565b600081519050620003e081620003b5565b92915050565b600060208284031215620003ff57620003fe6200037c565b5b60006200040f84828501620003cf565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200046057607f821691505b6020821081141562000477576200047662000418565b5b50919050565b60805160a0516158fb620004aa600039600081816127c5015261287901526000613aad01526158fb6000f3fe6080604052600436106102885760003560e01c80637bc293251161015a578063c87b56dd116100c1578063ef75fdc11161007a578063ef75fdc114610a41578063f2fde38b14610a58578063f36f2bf014610a81578063f4a0a52814610aaa578063f839d07b14610ad3578063fb9d09c814610b1057610288565b8063c87b56dd1461091d578063c8d1045e1461095a578063ca77d63e14610985578063db10436f146109b0578063e985e9c5146109d9578063ec034bed14610a1657610288565b806399a2557a1161011357806399a2557a146107d7578063a22cb46514610814578063b88d4fde1461083d578063c23dc68f14610866578063c44a72b9146108a3578063c519ad2c146108e057610288565b80637bc29325146106c7578063841718a6146106f05780638462151c146107195780638da5cb5b1461075657806395d89b411461078157806396a550cf146107ac57610288565b80632b21babe116101fe5780635bbb2177116101b75780635bbb2177146105915780636352211e146105ce578063643e1c9a1461060b5780636817c76c1461063457806368428a1b1461065f57806370a082311461068a57610288565b80632b21babe14610499578063355274ea146104c257806342842e0e146104ed5780634fb23e4f14610516578063519164f81461053f57806355f804b31461056857610288565b806318160ddd1161025057806318160ddd146103985780631a7a3d32146103c357806322f492891461040057806323b872dd1461041c57806324ca30c71461044557806324edc9451461047057610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b31461033257806312cd1b1d1461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af91906141f0565b610b2c565b6040516102c19190614238565b60405180910390f35b3480156102d657600080fd5b506102df610c0e565b6040516102ec91906142ec565b60405180910390f35b34801561030157600080fd5b5061031c60048036038101906103179190614344565b610ca0565b60405161032991906143b2565b60405180910390f35b34801561033e57600080fd5b50610359600480360381019061035491906143f9565b610d1c565b005b34801561036757600080fd5b50610382600480360381019061037d9190614439565b610e27565b60405161038f9190614485565b60405180910390f35b3480156103a457600080fd5b506103ad610e39565b6040516103ba91906144af565b60405180910390f35b3480156103cf57600080fd5b506103ea60048036038101906103e59190614344565b610e50565b6040516103f79190614238565b60405180910390f35b61041a600480360381019061041591906144f6565b610e7a565b005b34801561042857600080fd5b50610443600480360381019061043e9190614523565b610f3e565b005b34801561045157600080fd5b5061045a610f4e565b60405161046791906144af565b60405180910390f35b34801561047c57600080fd5b5061049760048036038101906104929190614576565b610f54565b005b3480156104a557600080fd5b506104c060048036038101906104bb91906145e2565b61103a565b005b3480156104ce57600080fd5b506104d76110e7565b6040516104e491906144af565b60405180910390f35b3480156104f957600080fd5b50610514600480360381019061050f9190614523565b6110ed565b005b34801561052257600080fd5b5061053d6004803603810190610538919061460f565b61110d565b005b34801561054b57600080fd5b50610566600480360381019061056191906145e2565b6111ab565b005b34801561057457600080fd5b5061058f600480360381019061058a9190614784565b611258565b005b34801561059d57600080fd5b506105b860048036038101906105b39190614895565b611302565b6040516105c59190614a10565b60405180910390f35b3480156105da57600080fd5b506105f560048036038101906105f09190614344565b6113c3565b60405161060291906143b2565b60405180910390f35b34801561061757600080fd5b50610632600480360381019061062d9190614a5e565b6113d9565b005b34801561064057600080fd5b50610649611480565b60405161065691906144af565b60405180910390f35b34801561066b57600080fd5b50610674611486565b6040516106819190614238565b60405180910390f35b34801561069657600080fd5b506106b160048036038101906106ac9190614439565b611499565b6040516106be91906144af565b60405180910390f35b3480156106d357600080fd5b506106ee60048036038101906106e99190614784565b611569565b005b3480156106fc57600080fd5b50610717600480360381019061071291906145e2565b611613565b005b34801561072557600080fd5b50610740600480360381019061073b9190614439565b6116c0565b60405161074d9190614b49565b60405180910390f35b34801561076257600080fd5b5061076b6118c2565b60405161077891906143b2565b60405180910390f35b34801561078d57600080fd5b506107966118e8565b6040516107a391906142ec565b60405180910390f35b3480156107b857600080fd5b506107c161197a565b6040516107ce91906144af565b60405180910390f35b3480156107e357600080fd5b506107fe60048036038101906107f99190614b6b565b611984565b60405161080b9190614b49565b60405180910390f35b34801561082057600080fd5b5061083b60048036038101906108369190614bbe565b611c4b565b005b34801561084957600080fd5b50610864600480360381019061085f9190614c9f565b611dc3565b005b34801561087257600080fd5b5061088d60048036038101906108889190614344565b611e3f565b60405161089a9190614d64565b60405180910390f35b3480156108af57600080fd5b506108ca60048036038101906108c59190614344565b611f5c565b6040516108d791906144af565b60405180910390f35b3480156108ec57600080fd5b5061090760048036038101906109029190614344565b611f79565b60405161091491906142ec565b60405180910390f35b34801561092957600080fd5b50610944600480360381019061093f9190614344565b61201e565b60405161095191906142ec565b60405180910390f35b34801561096657600080fd5b5061096f6120bd565b60405161097c9190614238565b60405180910390f35b34801561099157600080fd5b5061099a6120d0565b6040516109a79190614238565b60405180910390f35b3480156109bc57600080fd5b506109d760048036038101906109d2919061460f565b6120e3565b005b3480156109e557600080fd5b50610a0060048036038101906109fb9190614d7f565b612181565b604051610a0d9190614238565b60405180910390f35b348015610a2257600080fd5b50610a2b612215565b604051610a3891906143b2565b60405180910390f35b348015610a4d57600080fd5b50610a5661223b565b005b348015610a6457600080fd5b50610a7f6004803603810190610a7a9190614439565b6123a6565b005b348015610a8d57600080fd5b50610aa86004803603810190610aa39190614344565b6124ea565b005b348015610ab657600080fd5b50610ad16004803603810190610acc9190614344565b612584565b005b348015610adf57600080fd5b50610afa6004803603810190610af59190614439565b61261e565b604051610b079190614485565b60405180910390f35b610b2a6004803603810190610b259190614a5e565b612630565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bf757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c075750610c0682612b1d565b5b9050919050565b606060028054610c1d90614dee565b80601f0160208091040260200160405190810160405280929190818152602001828054610c4990614dee565b8015610c965780601f10610c6b57610100808354040283529160200191610c96565b820191906000526020600020905b815481529060010190602001808311610c7957829003601f168201915b5050505050905090565b6000610cab82612b87565b610ce1576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d27826113c3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d8f576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dae612bd5565b73ffffffffffffffffffffffffffffffffffffffff1614158015610de05750610dde81610dd9612bd5565b612181565b155b15610e17576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e22838383612bdd565b505050565b6000610e3282612c8f565b9050919050565b6000610e43612cb1565b6001546000540303905090565b6000600b600083815260200190815260200160002060009054906101000a900460ff169050919050565b8063ffffffff16600d54610e8e9190614e4f565b3414610ecf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec690614ef5565b60405180910390fd5b600e60029054906101000a900460ff16610f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1590614f87565b60405180910390fd5b610f3b3382610f2c33612cba565b610f369190614fa7565b612cdc565b50565b610f49838383612d10565b505050565b600d5481565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fe4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fdb9061502d565b60405180910390fd5b610fed82612b87565b61102c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102390615099565b60405180910390fd5b61103682826131c6565b5050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146110ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c19061502d565b60405180910390fd5b80600e60026101000a81548160ff02191690831515021790555050565b6104b081565b61110883838360405180602001604052806000815250611dc3565b505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461119d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111949061502d565b60405180910390fd5b6111a78282612cdc565b5050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461123b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112329061502d565b60405180910390fd5b80600e60006101000a81548160ff02191690831515021790555050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112df9061502d565b60405180910390fd5b80600f90805190602001906112fe92919061409e565b5050565b606060008251905060008167ffffffffffffffff81111561132657611325614659565b5b60405190808252806020026020018201604052801561135f57816020015b61134c614124565b8152602001906001900390816113445790505b50905060005b8281146113b85761138f858281518110611382576113816150b9565b5b6020026020010151611e3f565b8282815181106113a2576113a16150b9565b5b6020026020010181905250806001019050611365565b508092505050919050565b60006113ce82613239565b600001519050919050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611469576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114609061502d565b60405180910390fd5b61147d338267ffffffffffffffff166134c8565b50565b600c5481565b600e60019054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611501576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f09061502d565b60405180910390fd5b806010908051906020019061160f92919061409e565b5050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146116a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169a9061502d565b60405180910390fd5b80600e60016101000a81548160ff02191690831515021790555050565b606060008060006116d085611499565b905060008167ffffffffffffffff8111156116ee576116ed614659565b5b60405190808252806020026020018201604052801561171c5781602001602082028036833780820191505090505b509050611727614124565b6000611731612cb1565b90505b8386146118b457600460008281526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050915081604001511561180d576118a9565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461184d57816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156118a8578083878060010198508151811061189b5761189a6150b9565b5b6020026020010181815250505b5b806001019050611734565b508195505050505050919050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600380546118f790614dee565b80601f016020809104026020016040519081016040528092919081815260200182805461192390614dee565b80156119705780601f1061194557610100808354040283529160200191611970565b820191906000526020600020905b81548152906001019060200180831161195357829003601f168201915b5050505050905090565b6000600954905090565b60608183106119bf576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060005490506119cf612cb1565b8510156119e1576119de612cb1565b94505b808411156119ed578093505b60006119f887611499565b905084861015611a1b576000868603905081811015611a15578091505b50611a20565b600090505b60008167ffffffffffffffff811115611a3c57611a3b614659565b5b604051908082528060200260200182016040528015611a6a5781602001602082028036833780820191505090505b5090506000821415611a825780945050505050611c44565b6000611a8d88611e3f565b905060008160400151611aa257816000015190505b60008990505b888114158015611ab85750848714155b15611c3657600460008281526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509250826040015115611b8f57611c2b565b600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614611bcf57826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c2a5780848880600101995081518110611c1d57611c1c6150b9565b5b6020026020010181815250505b5b806001019050611aa8565b508583528296505050505050505b9392505050565b611c53612bd5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cb8576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611cc5612bd5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d72612bd5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611db79190614238565b60405180910390a35050565b611dce848484612d10565b611ded8373ffffffffffffffffffffffffffffffffffffffff166134e6565b8015611e025750611e0084848484613509565b155b15611e39576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b611e47614124565b611e4f614124565b611e57612cb1565b831080611e6657506000548310155b15611e745780915050611f57565b600460008481526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015115611f4a5780915050611f57565b611f5383613239565b9150505b919050565b600060086000838152602001908152602001600020549050919050565b6060600954821115611fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb790615134565b60405180910390fd5b6000611fca613669565b9050600081511415611feb5760405180602001604052806000815250612016565b80611ff5846136fb565b604051602001612006929190615190565b6040516020818303038152906040525b915050919050565b606061202982612b87565b61205f576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612069613884565b905060008151141561208a57604051806020016040528060008152506120b5565b8061209484613916565b6040516020016120a5929190615190565b6040516020818303038152906040525b915050919050565b600e60029054906101000a900460ff1681565b600e60009054906101000a900460ff1681565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612173576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216a9061502d565b60405180910390fd5b61217d8282613a77565b5050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146122cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c29061502d565b60405180910390fd5b600047905060006005826122df91906151e3565b9050600081836122ef9190615214565b9050600e60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015612359573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156123a0573d6000803e3d6000fd5b50505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612436576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242d9061502d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249d906152ba565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461257a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125719061502d565b60405180910390fd5b80600d8190555050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612614576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260b9061502d565b60405180910390fd5b80600c8190555050565b600061262982612cba565b9050919050565b612638613aab565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146126a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269d90615326565b60405180910390fd5b6104b08167ffffffffffffffff166126bc613b3b565b6126c69190615346565b1115612707576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126fe906153e8565b60405180910390fd5b600e60019054906101000a900460ff168061272e5750600e60009054906101000a900460ff165b61276d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276490615454565b60405180910390fd5b60148167ffffffffffffffff1611156127bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b2906154c0565b60405180910390fd5b600081905060005b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161281c91906143b2565b602060405180830381600087803b15801561283657600080fd5b505af115801561284a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061286e91906154f5565b8110156129bb5760007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632f745c5933846040518363ffffffff1660e01b81526004016128d2929190615522565b602060405180830381600087803b1580156128ec57600080fd5b505af1158015612900573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061292491906154f5565b905060001515600b600083815260200190815260200160002060009054906101000a900460ff16151514156129a757828061295e9061554b565b9350506001600b600083815260200190815260200160002060006101000a81548160ff02191690831515021790555060008367ffffffffffffffff1614156129a657506129bb565b5b5080806129b390615575565b9150506127c3565b5060006129c733612c8f565b905060008163ffffffff161180156129e9575060008267ffffffffffffffff16115b15612a475760008267ffffffffffffffff168263ffffffff1667ffffffffffffffff161015612a185781612a1a565b825b90508063ffffffff1683612a2e91906155be565b9250612a45338284612a4091906155f2565b613a77565b505b600e60019054906101000a900460ff1680612a6c575060008267ffffffffffffffff16145b612aab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa290615672565b60405180910390fd5b600c548267ffffffffffffffff16612ac39190614e4f565b3414612b04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612afb90614ef5565b60405180910390fd5b612b18338467ffffffffffffffff166134c8565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612b92612cb1565b11158015612ba1575060005482105b8015612bce575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000640100000000612ca083613b4e565b612caa9190615692565b9050919050565b60006001905090565b6000640100000000612ccb83613b4e565b612cd591906156c3565b9050919050565b612d0c82640100000000612cef85612c8f565b63ffffffff16612cff91906156f4565b8363ffffffff1617613bae565b5050565b6000612d1b82613239565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612d86576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612da7612bd5565b73ffffffffffffffffffffffffffffffffffffffff161480612dd65750612dd585612dd0612bd5565b612181565b5b80612e1b5750612de4612bd5565b73ffffffffffffffffffffffffffffffffffffffff16612e0384610ca0565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612e54576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612ebb576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612ec88585856001613c1b565b612ed460008487612bdd565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561315457600054821461315357878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131bf8585856001613c21565b5050505050565b600960008154809291906131d990615575565b919050555081600860006009548152602001908152602001600020819055507f4b649e67e1b56ec3cf29812daed8ca689a4753f2d3070b09d23d4ae15cdaf3bb600954838360405161322d93929190615736565b60405180910390a15050565b613241614124565b60008290508061324f612cb1565b1115801561325e575060005481105b15613491576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161348f57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146133735780925050506134c3565b5b60011561348e57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146134895780925050506134c3565b613374565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6134e2828260405180602001604052806000815250613cbe565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261352f612bd5565b8786866040518563ffffffff1660e01b815260040161355194939291906157c2565b602060405180830381600087803b15801561356b57600080fd5b505af192505050801561359c57506040513d601f19601f820116820180604052508101906135999190615823565b60015b613616573d80600081146135cc576040519150601f19603f3d011682016040523d82523d6000602084013e6135d1565b606091505b5060008151141561360e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606010805461367890614dee565b80601f01602080910402602001604051908101604052809291908181526020018280546136a490614dee565b80156136f15780601f106136c6576101008083540402835291602001916136f1565b820191906000526020600020905b8154815290600101906020018083116136d457829003601f168201915b5050505050905090565b60606000821415613743576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061387f565b600082905060005b6000821461377557808061375e90615575565b915050600a8261376e91906151e3565b915061374b565b60008167ffffffffffffffff81111561379157613790614659565b5b6040519080825280601f01601f1916602001820160405280156137c35781602001600182028036833780820191505090505b50905060008290505b60008614613877576001816137e19190615214565b90506000600a80886137f391906151e3565b6137fd9190614e4f565b876138089190615214565b6030613814919061585d565b905060008160f81b905080848481518110613832576138316150b9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8861386e91906151e3565b975050506137cc565b819450505050505b919050565b6060600f805461389390614dee565b80601f01602080910402602001604051908101604052809291908181526020018280546138bf90614dee565b801561390c5780601f106138e15761010080835404028352916020019161390c565b820191906000526020600020905b8154815290600101906020018083116138ef57829003601f168201915b5050505050905090565b6060600082141561395e576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613a72565b600082905060005b6000821461399057808061397990615575565b915050600a8261398991906151e3565b9150613966565b60008167ffffffffffffffff8111156139ac576139ab614659565b5b6040519080825280601f01601f1916602001820160405280156139de5781602001600182028036833780820191505090505b5090505b60008514613a6b576001826139f79190615214565b9150600a85613a069190615894565b6030613a129190615346565b60f81b818381518110613a2857613a276150b9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613a6491906151e3565b94506139e2565b8093505050505b919050565b613aa7826401000000008363ffffffff16613a9291906156f4565b613a9b85612cba565b63ffffffff1617613bae565b5050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1614613b39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b3090615326565b60405180910390fd5b565b6000613b45612cb1565b60005403905090565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160189054906101000a900467ffffffffffffffff169050919050565b80600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160186101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505050565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613cb85760008290505b8183613c689190615346565b811015613cb6576005600a82613c7e9190615894565b1415613ca357613ca2846001613c9387612cba565b613c9d9190614fa7565b612cdc565b5b8080613cae90615575565b915050613c5c565b505b50505050565b613ccb8383836001613cd0565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613d3d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613d78576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613d856000868387613c1b565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015613f4f5750613f4e8773ffffffffffffffffffffffffffffffffffffffff166134e6565b5b15614015575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613fc46000888480600101955088613509565b613ffa576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415613f5557826000541461401057600080fd5b614081565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415614016575b8160008190555050506140976000868387613c21565b5050505050565b8280546140aa90614dee565b90600052602060002090601f0160209004810192826140cc5760008555614113565b82601f106140e557805160ff1916838001178555614113565b82800160010185558215614113579182015b828111156141125782518255916020019190600101906140f7565b5b5090506141209190614167565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115614180576000816000905550600101614168565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6141cd81614198565b81146141d857600080fd5b50565b6000813590506141ea816141c4565b92915050565b6000602082840312156142065761420561418e565b5b6000614214848285016141db565b91505092915050565b60008115159050919050565b6142328161421d565b82525050565b600060208201905061424d6000830184614229565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561428d578082015181840152602081019050614272565b8381111561429c576000848401525b50505050565b6000601f19601f8301169050919050565b60006142be82614253565b6142c8818561425e565b93506142d881856020860161426f565b6142e1816142a2565b840191505092915050565b6000602082019050818103600083015261430681846142b3565b905092915050565b6000819050919050565b6143218161430e565b811461432c57600080fd5b50565b60008135905061433e81614318565b92915050565b60006020828403121561435a5761435961418e565b5b60006143688482850161432f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061439c82614371565b9050919050565b6143ac81614391565b82525050565b60006020820190506143c760008301846143a3565b92915050565b6143d681614391565b81146143e157600080fd5b50565b6000813590506143f3816143cd565b92915050565b600080604083850312156144105761440f61418e565b5b600061441e858286016143e4565b925050602061442f8582860161432f565b9150509250929050565b60006020828403121561444f5761444e61418e565b5b600061445d848285016143e4565b91505092915050565b600063ffffffff82169050919050565b61447f81614466565b82525050565b600060208201905061449a6000830184614476565b92915050565b6144a98161430e565b82525050565b60006020820190506144c460008301846144a0565b92915050565b6144d381614466565b81146144de57600080fd5b50565b6000813590506144f0816144ca565b92915050565b60006020828403121561450c5761450b61418e565b5b600061451a848285016144e1565b91505092915050565b60008060006060848603121561453c5761453b61418e565b5b600061454a868287016143e4565b935050602061455b868287016143e4565b925050604061456c8682870161432f565b9150509250925092565b6000806040838503121561458d5761458c61418e565b5b600061459b8582860161432f565b92505060206145ac858286016143e4565b9150509250929050565b6145bf8161421d565b81146145ca57600080fd5b50565b6000813590506145dc816145b6565b92915050565b6000602082840312156145f8576145f761418e565b5b6000614606848285016145cd565b91505092915050565b600080604083850312156146265761462561418e565b5b6000614634858286016143e4565b9250506020614645858286016144e1565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614691826142a2565b810181811067ffffffffffffffff821117156146b0576146af614659565b5b80604052505050565b60006146c3614184565b90506146cf8282614688565b919050565b600067ffffffffffffffff8211156146ef576146ee614659565b5b6146f8826142a2565b9050602081019050919050565b82818337600083830152505050565b6000614727614722846146d4565b6146b9565b90508281526020810184848401111561474357614742614654565b5b61474e848285614705565b509392505050565b600082601f83011261476b5761476a61464f565b5b813561477b848260208601614714565b91505092915050565b60006020828403121561479a5761479961418e565b5b600082013567ffffffffffffffff8111156147b8576147b7614193565b5b6147c484828501614756565b91505092915050565b600067ffffffffffffffff8211156147e8576147e7614659565b5b602082029050602081019050919050565b600080fd5b600061481161480c846147cd565b6146b9565b90508083825260208201905060208402830185811115614834576148336147f9565b5b835b8181101561485d5780614849888261432f565b845260208401935050602081019050614836565b5050509392505050565b600082601f83011261487c5761487b61464f565b5b813561488c8482602086016147fe565b91505092915050565b6000602082840312156148ab576148aa61418e565b5b600082013567ffffffffffffffff8111156148c9576148c8614193565b5b6148d584828501614867565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61491381614391565b82525050565b600067ffffffffffffffff82169050919050565b61493681614919565b82525050565b6149458161421d565b82525050565b606082016000820151614961600085018261490a565b506020820151614974602085018261492d565b506040820151614987604085018261493c565b50505050565b6000614999838361494b565b60608301905092915050565b6000602082019050919050565b60006149bd826148de565b6149c781856148e9565b93506149d2836148fa565b8060005b83811015614a035781516149ea888261498d565b97506149f5836149a5565b9250506001810190506149d6565b5085935050505092915050565b60006020820190508181036000830152614a2a81846149b2565b905092915050565b614a3b81614919565b8114614a4657600080fd5b50565b600081359050614a5881614a32565b92915050565b600060208284031215614a7457614a7361418e565b5b6000614a8284828501614a49565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614ac08161430e565b82525050565b6000614ad28383614ab7565b60208301905092915050565b6000602082019050919050565b6000614af682614a8b565b614b008185614a96565b9350614b0b83614aa7565b8060005b83811015614b3c578151614b238882614ac6565b9750614b2e83614ade565b925050600181019050614b0f565b5085935050505092915050565b60006020820190508181036000830152614b638184614aeb565b905092915050565b600080600060608486031215614b8457614b8361418e565b5b6000614b92868287016143e4565b9350506020614ba38682870161432f565b9250506040614bb48682870161432f565b9150509250925092565b60008060408385031215614bd557614bd461418e565b5b6000614be3858286016143e4565b9250506020614bf4858286016145cd565b9150509250929050565b600067ffffffffffffffff821115614c1957614c18614659565b5b614c22826142a2565b9050602081019050919050565b6000614c42614c3d84614bfe565b6146b9565b905082815260208101848484011115614c5e57614c5d614654565b5b614c69848285614705565b509392505050565b600082601f830112614c8657614c8561464f565b5b8135614c96848260208601614c2f565b91505092915050565b60008060008060808587031215614cb957614cb861418e565b5b6000614cc7878288016143e4565b9450506020614cd8878288016143e4565b9350506040614ce98782880161432f565b925050606085013567ffffffffffffffff811115614d0a57614d09614193565b5b614d1687828801614c71565b91505092959194509250565b606082016000820151614d38600085018261490a565b506020820151614d4b602085018261492d565b506040820151614d5e604085018261493c565b50505050565b6000606082019050614d796000830184614d22565b92915050565b60008060408385031215614d9657614d9561418e565b5b6000614da4858286016143e4565b9250506020614db5858286016143e4565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614e0657607f821691505b60208210811415614e1a57614e19614dbf565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614e5a8261430e565b9150614e658361430e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e9e57614e9d614e20565b5b828202905092915050565b7f496e636f72726563742070726963650000000000000000000000000000000000600082015250565b6000614edf600f8361425e565b9150614eea82614ea9565b602082019050919050565b60006020820190508181036000830152614f0e81614ed2565b9050919050565b7f4c6173657263757474696e6720766f75636865722073616c65206e6f7420616360008201527f7469766520796574000000000000000000000000000000000000000000000000602082015250565b6000614f7160288361425e565b9150614f7c82614f15565b604082019050919050565b60006020820190508181036000830152614fa081614f64565b9050919050565b6000614fb282614466565b9150614fbd83614466565b92508263ffffffff03821115614fd657614fd5614e20565b5b828201905092915050565b7f43616c6c6572206973206e6f7420746865206f776e6572000000000000000000600082015250565b600061501760178361425e565b915061502282614fe1565b602082019050919050565b600060208201905081810360008301526150468161500a565b9050919050565b7f546f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b600061508360148361425e565b915061508e8261504d565b602082019050919050565b600060208201905081810360008301526150b281615076565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f576f6f6420546f6b656e20646f6573206e6f7420657869737400000000000000600082015250565b600061511e60198361425e565b9150615129826150e8565b602082019050919050565b6000602082019050818103600083015261514d81615111565b9050919050565b600081905092915050565b600061516a82614253565b6151748185615154565b935061518481856020860161426f565b80840191505092915050565b600061519c828561515f565b91506151a8828461515f565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006151ee8261430e565b91506151f98361430e565b925082615209576152086151b4565b5b828204905092915050565b600061521f8261430e565b915061522a8361430e565b92508282101561523d5761523c614e20565b5b828203905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006152a460268361425e565b91506152af82615248565b604082019050919050565b600060208201905081810360008301526152d381615297565b9050919050565b7f73657220706c7a00000000000000000000000000000000000000000000000000600082015250565b600061531060078361425e565b915061531b826152da565b602082019050919050565b6000602082019050818103600083015261533f81615303565b9050919050565b60006153518261430e565b915061535c8361430e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561539157615390614e20565b5b828201905092915050565b7f4361702072656163686564000000000000000000000000000000000000000000600082015250565b60006153d2600b8361425e565b91506153dd8261539c565b602082019050919050565b60006020820190508181036000830152615401816153c5565b9050919050565b7f53616c65206e6f74206163746976652079657400000000000000000000000000600082015250565b600061543e60138361425e565b915061544982615408565b602082019050919050565b6000602082019050818103600083015261546d81615431565b9050919050565b7f4d61782032302070657220747800000000000000000000000000000000000000600082015250565b60006154aa600d8361425e565b91506154b582615474565b602082019050919050565b600060208201905081810360008301526154d98161549d565b9050919050565b6000815190506154ef81614318565b92915050565b60006020828403121561550b5761550a61418e565b5b6000615519848285016154e0565b91505092915050565b600060408201905061553760008301856143a3565b61554460208301846144a0565b9392505050565b600061555682614919565b9150600082141561556a57615569614e20565b5b600182039050919050565b60006155808261430e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156155b3576155b2614e20565b5b600182019050919050565b60006155c982614919565b91506155d483614919565b9250828210156155e7576155e6614e20565b5b828203905092915050565b60006155fd82614466565b915061560883614466565b92508282101561561b5761561a614e20565b5b828203905092915050565b7f53616c652061637469766520666f722066726565206d696e74206f6e6c790000600082015250565b600061565c601e8361425e565b915061566782615626565b602082019050919050565b6000602082019050818103600083015261568b8161564f565b9050919050565b600061569d82614919565b91506156a883614919565b9250826156b8576156b76151b4565b5b828204905092915050565b60006156ce82614919565b91506156d983614919565b9250826156e9576156e86151b4565b5b828206905092915050565b60006156ff82614919565b915061570a83614919565b92508167ffffffffffffffff048311821515161561572b5761572a614e20565b5b828202905092915050565b600060608201905061574b60008301866144a0565b61575860208301856144a0565b61576560408301846143a3565b949350505050565b600081519050919050565b600082825260208201905092915050565b60006157948261576d565b61579e8185615778565b93506157ae81856020860161426f565b6157b7816142a2565b840191505092915050565b60006080820190506157d760008301876143a3565b6157e460208301866143a3565b6157f160408301856144a0565b81810360608301526158038184615789565b905095945050505050565b60008151905061581d816141c4565b92915050565b6000602082840312156158395761583861418e565b5b60006158478482850161580e565b91505092915050565b600060ff82169050919050565b600061586882615850565b915061587383615850565b92508260ff0382111561588957615888614e20565b5b828201905092915050565b600061589f8261430e565b91506158aa8361430e565b9250826158ba576158b96151b4565b5b82820690509291505056fea26469706673582212202b2546041ce9eb923955778b5c8b03ece270292a5d3bfa122ba671313854dc3764736f6c6343000809003368747470733a2f2f6e616e642e66722f6173736574732f686d6f756e7461696e2f6d657461646174612f68747470733a2f2f6e616e642e66722f6173736574732f686d6f756e7461696e2f776e66742f6d657461646174612f000000000000000000000000af31805e63473fd8985eb631dd1092a03b234bea
Deployed Bytecode
0x6080604052600436106102885760003560e01c80637bc293251161015a578063c87b56dd116100c1578063ef75fdc11161007a578063ef75fdc114610a41578063f2fde38b14610a58578063f36f2bf014610a81578063f4a0a52814610aaa578063f839d07b14610ad3578063fb9d09c814610b1057610288565b8063c87b56dd1461091d578063c8d1045e1461095a578063ca77d63e14610985578063db10436f146109b0578063e985e9c5146109d9578063ec034bed14610a1657610288565b806399a2557a1161011357806399a2557a146107d7578063a22cb46514610814578063b88d4fde1461083d578063c23dc68f14610866578063c44a72b9146108a3578063c519ad2c146108e057610288565b80637bc29325146106c7578063841718a6146106f05780638462151c146107195780638da5cb5b1461075657806395d89b411461078157806396a550cf146107ac57610288565b80632b21babe116101fe5780635bbb2177116101b75780635bbb2177146105915780636352211e146105ce578063643e1c9a1461060b5780636817c76c1461063457806368428a1b1461065f57806370a082311461068a57610288565b80632b21babe14610499578063355274ea146104c257806342842e0e146104ed5780634fb23e4f14610516578063519164f81461053f57806355f804b31461056857610288565b806318160ddd1161025057806318160ddd146103985780631a7a3d32146103c357806322f492891461040057806323b872dd1461041c57806324ca30c71461044557806324edc9451461047057610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b31461033257806312cd1b1d1461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af91906141f0565b610b2c565b6040516102c19190614238565b60405180910390f35b3480156102d657600080fd5b506102df610c0e565b6040516102ec91906142ec565b60405180910390f35b34801561030157600080fd5b5061031c60048036038101906103179190614344565b610ca0565b60405161032991906143b2565b60405180910390f35b34801561033e57600080fd5b50610359600480360381019061035491906143f9565b610d1c565b005b34801561036757600080fd5b50610382600480360381019061037d9190614439565b610e27565b60405161038f9190614485565b60405180910390f35b3480156103a457600080fd5b506103ad610e39565b6040516103ba91906144af565b60405180910390f35b3480156103cf57600080fd5b506103ea60048036038101906103e59190614344565b610e50565b6040516103f79190614238565b60405180910390f35b61041a600480360381019061041591906144f6565b610e7a565b005b34801561042857600080fd5b50610443600480360381019061043e9190614523565b610f3e565b005b34801561045157600080fd5b5061045a610f4e565b60405161046791906144af565b60405180910390f35b34801561047c57600080fd5b5061049760048036038101906104929190614576565b610f54565b005b3480156104a557600080fd5b506104c060048036038101906104bb91906145e2565b61103a565b005b3480156104ce57600080fd5b506104d76110e7565b6040516104e491906144af565b60405180910390f35b3480156104f957600080fd5b50610514600480360381019061050f9190614523565b6110ed565b005b34801561052257600080fd5b5061053d6004803603810190610538919061460f565b61110d565b005b34801561054b57600080fd5b50610566600480360381019061056191906145e2565b6111ab565b005b34801561057457600080fd5b5061058f600480360381019061058a9190614784565b611258565b005b34801561059d57600080fd5b506105b860048036038101906105b39190614895565b611302565b6040516105c59190614a10565b60405180910390f35b3480156105da57600080fd5b506105f560048036038101906105f09190614344565b6113c3565b60405161060291906143b2565b60405180910390f35b34801561061757600080fd5b50610632600480360381019061062d9190614a5e565b6113d9565b005b34801561064057600080fd5b50610649611480565b60405161065691906144af565b60405180910390f35b34801561066b57600080fd5b50610674611486565b6040516106819190614238565b60405180910390f35b34801561069657600080fd5b506106b160048036038101906106ac9190614439565b611499565b6040516106be91906144af565b60405180910390f35b3480156106d357600080fd5b506106ee60048036038101906106e99190614784565b611569565b005b3480156106fc57600080fd5b50610717600480360381019061071291906145e2565b611613565b005b34801561072557600080fd5b50610740600480360381019061073b9190614439565b6116c0565b60405161074d9190614b49565b60405180910390f35b34801561076257600080fd5b5061076b6118c2565b60405161077891906143b2565b60405180910390f35b34801561078d57600080fd5b506107966118e8565b6040516107a391906142ec565b60405180910390f35b3480156107b857600080fd5b506107c161197a565b6040516107ce91906144af565b60405180910390f35b3480156107e357600080fd5b506107fe60048036038101906107f99190614b6b565b611984565b60405161080b9190614b49565b60405180910390f35b34801561082057600080fd5b5061083b60048036038101906108369190614bbe565b611c4b565b005b34801561084957600080fd5b50610864600480360381019061085f9190614c9f565b611dc3565b005b34801561087257600080fd5b5061088d60048036038101906108889190614344565b611e3f565b60405161089a9190614d64565b60405180910390f35b3480156108af57600080fd5b506108ca60048036038101906108c59190614344565b611f5c565b6040516108d791906144af565b60405180910390f35b3480156108ec57600080fd5b5061090760048036038101906109029190614344565b611f79565b60405161091491906142ec565b60405180910390f35b34801561092957600080fd5b50610944600480360381019061093f9190614344565b61201e565b60405161095191906142ec565b60405180910390f35b34801561096657600080fd5b5061096f6120bd565b60405161097c9190614238565b60405180910390f35b34801561099157600080fd5b5061099a6120d0565b6040516109a79190614238565b60405180910390f35b3480156109bc57600080fd5b506109d760048036038101906109d2919061460f565b6120e3565b005b3480156109e557600080fd5b50610a0060048036038101906109fb9190614d7f565b612181565b604051610a0d9190614238565b60405180910390f35b348015610a2257600080fd5b50610a2b612215565b604051610a3891906143b2565b60405180910390f35b348015610a4d57600080fd5b50610a5661223b565b005b348015610a6457600080fd5b50610a7f6004803603810190610a7a9190614439565b6123a6565b005b348015610a8d57600080fd5b50610aa86004803603810190610aa39190614344565b6124ea565b005b348015610ab657600080fd5b50610ad16004803603810190610acc9190614344565b612584565b005b348015610adf57600080fd5b50610afa6004803603810190610af59190614439565b61261e565b604051610b079190614485565b60405180910390f35b610b2a6004803603810190610b259190614a5e565b612630565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bf757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c075750610c0682612b1d565b5b9050919050565b606060028054610c1d90614dee565b80601f0160208091040260200160405190810160405280929190818152602001828054610c4990614dee565b8015610c965780601f10610c6b57610100808354040283529160200191610c96565b820191906000526020600020905b815481529060010190602001808311610c7957829003601f168201915b5050505050905090565b6000610cab82612b87565b610ce1576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d27826113c3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d8f576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dae612bd5565b73ffffffffffffffffffffffffffffffffffffffff1614158015610de05750610dde81610dd9612bd5565b612181565b155b15610e17576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e22838383612bdd565b505050565b6000610e3282612c8f565b9050919050565b6000610e43612cb1565b6001546000540303905090565b6000600b600083815260200190815260200160002060009054906101000a900460ff169050919050565b8063ffffffff16600d54610e8e9190614e4f565b3414610ecf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec690614ef5565b60405180910390fd5b600e60029054906101000a900460ff16610f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1590614f87565b60405180910390fd5b610f3b3382610f2c33612cba565b610f369190614fa7565b612cdc565b50565b610f49838383612d10565b505050565b600d5481565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610fe4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fdb9061502d565b60405180910390fd5b610fed82612b87565b61102c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102390615099565b60405180910390fd5b61103682826131c6565b5050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146110ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c19061502d565b60405180910390fd5b80600e60026101000a81548160ff02191690831515021790555050565b6104b081565b61110883838360405180602001604052806000815250611dc3565b505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461119d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111949061502d565b60405180910390fd5b6111a78282612cdc565b5050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461123b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112329061502d565b60405180910390fd5b80600e60006101000a81548160ff02191690831515021790555050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112df9061502d565b60405180910390fd5b80600f90805190602001906112fe92919061409e565b5050565b606060008251905060008167ffffffffffffffff81111561132657611325614659565b5b60405190808252806020026020018201604052801561135f57816020015b61134c614124565b8152602001906001900390816113445790505b50905060005b8281146113b85761138f858281518110611382576113816150b9565b5b6020026020010151611e3f565b8282815181106113a2576113a16150b9565b5b6020026020010181905250806001019050611365565b508092505050919050565b60006113ce82613239565b600001519050919050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611469576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114609061502d565b60405180910390fd5b61147d338267ffffffffffffffff166134c8565b50565b600c5481565b600e60019054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611501576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f09061502d565b60405180910390fd5b806010908051906020019061160f92919061409e565b5050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146116a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169a9061502d565b60405180910390fd5b80600e60016101000a81548160ff02191690831515021790555050565b606060008060006116d085611499565b905060008167ffffffffffffffff8111156116ee576116ed614659565b5b60405190808252806020026020018201604052801561171c5781602001602082028036833780820191505090505b509050611727614124565b6000611731612cb1565b90505b8386146118b457600460008281526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050915081604001511561180d576118a9565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461184d57816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156118a8578083878060010198508151811061189b5761189a6150b9565b5b6020026020010181815250505b5b806001019050611734565b508195505050505050919050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600380546118f790614dee565b80601f016020809104026020016040519081016040528092919081815260200182805461192390614dee565b80156119705780601f1061194557610100808354040283529160200191611970565b820191906000526020600020905b81548152906001019060200180831161195357829003601f168201915b5050505050905090565b6000600954905090565b60608183106119bf576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060005490506119cf612cb1565b8510156119e1576119de612cb1565b94505b808411156119ed578093505b60006119f887611499565b905084861015611a1b576000868603905081811015611a15578091505b50611a20565b600090505b60008167ffffffffffffffff811115611a3c57611a3b614659565b5b604051908082528060200260200182016040528015611a6a5781602001602082028036833780820191505090505b5090506000821415611a825780945050505050611c44565b6000611a8d88611e3f565b905060008160400151611aa257816000015190505b60008990505b888114158015611ab85750848714155b15611c3657600460008281526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509250826040015115611b8f57611c2b565b600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614611bcf57826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c2a5780848880600101995081518110611c1d57611c1c6150b9565b5b6020026020010181815250505b5b806001019050611aa8565b508583528296505050505050505b9392505050565b611c53612bd5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cb8576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611cc5612bd5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d72612bd5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611db79190614238565b60405180910390a35050565b611dce848484612d10565b611ded8373ffffffffffffffffffffffffffffffffffffffff166134e6565b8015611e025750611e0084848484613509565b155b15611e39576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b611e47614124565b611e4f614124565b611e57612cb1565b831080611e6657506000548310155b15611e745780915050611f57565b600460008481526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015115611f4a5780915050611f57565b611f5383613239565b9150505b919050565b600060086000838152602001908152602001600020549050919050565b6060600954821115611fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb790615134565b60405180910390fd5b6000611fca613669565b9050600081511415611feb5760405180602001604052806000815250612016565b80611ff5846136fb565b604051602001612006929190615190565b6040516020818303038152906040525b915050919050565b606061202982612b87565b61205f576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612069613884565b905060008151141561208a57604051806020016040528060008152506120b5565b8061209484613916565b6040516020016120a5929190615190565b6040516020818303038152906040525b915050919050565b600e60029054906101000a900460ff1681565b600e60009054906101000a900460ff1681565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612173576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216a9061502d565b60405180910390fd5b61217d8282613a77565b5050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146122cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c29061502d565b60405180910390fd5b600047905060006005826122df91906151e3565b9050600081836122ef9190615214565b9050600e60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015612359573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156123a0573d6000803e3d6000fd5b50505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612436576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242d9061502d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249d906152ba565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461257a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125719061502d565b60405180910390fd5b80600d8190555050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612614576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260b9061502d565b60405180910390fd5b80600c8190555050565b600061262982612cba565b9050919050565b612638613aab565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146126a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269d90615326565b60405180910390fd5b6104b08167ffffffffffffffff166126bc613b3b565b6126c69190615346565b1115612707576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126fe906153e8565b60405180910390fd5b600e60019054906101000a900460ff168061272e5750600e60009054906101000a900460ff165b61276d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276490615454565b60405180910390fd5b60148167ffffffffffffffff1611156127bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b2906154c0565b60405180910390fd5b600081905060005b7f000000000000000000000000af31805e63473fd8985eb631dd1092a03b234bea73ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161281c91906143b2565b602060405180830381600087803b15801561283657600080fd5b505af115801561284a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061286e91906154f5565b8110156129bb5760007f000000000000000000000000af31805e63473fd8985eb631dd1092a03b234bea73ffffffffffffffffffffffffffffffffffffffff16632f745c5933846040518363ffffffff1660e01b81526004016128d2929190615522565b602060405180830381600087803b1580156128ec57600080fd5b505af1158015612900573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061292491906154f5565b905060001515600b600083815260200190815260200160002060009054906101000a900460ff16151514156129a757828061295e9061554b565b9350506001600b600083815260200190815260200160002060006101000a81548160ff02191690831515021790555060008367ffffffffffffffff1614156129a657506129bb565b5b5080806129b390615575565b9150506127c3565b5060006129c733612c8f565b905060008163ffffffff161180156129e9575060008267ffffffffffffffff16115b15612a475760008267ffffffffffffffff168263ffffffff1667ffffffffffffffff161015612a185781612a1a565b825b90508063ffffffff1683612a2e91906155be565b9250612a45338284612a4091906155f2565b613a77565b505b600e60019054906101000a900460ff1680612a6c575060008267ffffffffffffffff16145b612aab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa290615672565b60405180910390fd5b600c548267ffffffffffffffff16612ac39190614e4f565b3414612b04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612afb90614ef5565b60405180910390fd5b612b18338467ffffffffffffffff166134c8565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612b92612cb1565b11158015612ba1575060005482105b8015612bce575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000640100000000612ca083613b4e565b612caa9190615692565b9050919050565b60006001905090565b6000640100000000612ccb83613b4e565b612cd591906156c3565b9050919050565b612d0c82640100000000612cef85612c8f565b63ffffffff16612cff91906156f4565b8363ffffffff1617613bae565b5050565b6000612d1b82613239565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612d86576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612da7612bd5565b73ffffffffffffffffffffffffffffffffffffffff161480612dd65750612dd585612dd0612bd5565b612181565b5b80612e1b5750612de4612bd5565b73ffffffffffffffffffffffffffffffffffffffff16612e0384610ca0565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612e54576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612ebb576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612ec88585856001613c1b565b612ed460008487612bdd565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561315457600054821461315357878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131bf8585856001613c21565b5050505050565b600960008154809291906131d990615575565b919050555081600860006009548152602001908152602001600020819055507f4b649e67e1b56ec3cf29812daed8ca689a4753f2d3070b09d23d4ae15cdaf3bb600954838360405161322d93929190615736565b60405180910390a15050565b613241614124565b60008290508061324f612cb1565b1115801561325e575060005481105b15613491576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161348f57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146133735780925050506134c3565b5b60011561348e57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146134895780925050506134c3565b613374565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6134e2828260405180602001604052806000815250613cbe565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261352f612bd5565b8786866040518563ffffffff1660e01b815260040161355194939291906157c2565b602060405180830381600087803b15801561356b57600080fd5b505af192505050801561359c57506040513d601f19601f820116820180604052508101906135999190615823565b60015b613616573d80600081146135cc576040519150601f19603f3d011682016040523d82523d6000602084013e6135d1565b606091505b5060008151141561360e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606010805461367890614dee565b80601f01602080910402602001604051908101604052809291908181526020018280546136a490614dee565b80156136f15780601f106136c6576101008083540402835291602001916136f1565b820191906000526020600020905b8154815290600101906020018083116136d457829003601f168201915b5050505050905090565b60606000821415613743576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061387f565b600082905060005b6000821461377557808061375e90615575565b915050600a8261376e91906151e3565b915061374b565b60008167ffffffffffffffff81111561379157613790614659565b5b6040519080825280601f01601f1916602001820160405280156137c35781602001600182028036833780820191505090505b50905060008290505b60008614613877576001816137e19190615214565b90506000600a80886137f391906151e3565b6137fd9190614e4f565b876138089190615214565b6030613814919061585d565b905060008160f81b905080848481518110613832576138316150b9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8861386e91906151e3565b975050506137cc565b819450505050505b919050565b6060600f805461389390614dee565b80601f01602080910402602001604051908101604052809291908181526020018280546138bf90614dee565b801561390c5780601f106138e15761010080835404028352916020019161390c565b820191906000526020600020905b8154815290600101906020018083116138ef57829003601f168201915b5050505050905090565b6060600082141561395e576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613a72565b600082905060005b6000821461399057808061397990615575565b915050600a8261398991906151e3565b9150613966565b60008167ffffffffffffffff8111156139ac576139ab614659565b5b6040519080825280601f01601f1916602001820160405280156139de5781602001600182028036833780820191505090505b5090505b60008514613a6b576001826139f79190615214565b9150600a85613a069190615894565b6030613a129190615346565b60f81b818381518110613a2857613a276150b9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613a6491906151e3565b94506139e2565b8093505050505b919050565b613aa7826401000000008363ffffffff16613a9291906156f4565b613a9b85612cba565b63ffffffff1617613bae565b5050565b7f000000000000000000000000b304bcebcacf64141708a7c0ac72eba40f703ded73ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff1614613b39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b3090615326565b60405180910390fd5b565b6000613b45612cb1565b60005403905090565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160189054906101000a900467ffffffffffffffff169050919050565b80600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160186101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505050565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613cb85760008290505b8183613c689190615346565b811015613cb6576005600a82613c7e9190615894565b1415613ca357613ca2846001613c9387612cba565b613c9d9190614fa7565b612cdc565b5b8080613cae90615575565b915050613c5c565b505b50505050565b613ccb8383836001613cd0565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613d3d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613d78576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613d856000868387613c1b565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015613f4f5750613f4e8773ffffffffffffffffffffffffffffffffffffffff166134e6565b5b15614015575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613fc46000888480600101955088613509565b613ffa576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415613f5557826000541461401057600080fd5b614081565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415614016575b8160008190555050506140976000868387613c21565b5050505050565b8280546140aa90614dee565b90600052602060002090601f0160209004810192826140cc5760008555614113565b82601f106140e557805160ff1916838001178555614113565b82800160010185558215614113579182015b828111156141125782518255916020019190600101906140f7565b5b5090506141209190614167565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115614180576000816000905550600101614168565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6141cd81614198565b81146141d857600080fd5b50565b6000813590506141ea816141c4565b92915050565b6000602082840312156142065761420561418e565b5b6000614214848285016141db565b91505092915050565b60008115159050919050565b6142328161421d565b82525050565b600060208201905061424d6000830184614229565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561428d578082015181840152602081019050614272565b8381111561429c576000848401525b50505050565b6000601f19601f8301169050919050565b60006142be82614253565b6142c8818561425e565b93506142d881856020860161426f565b6142e1816142a2565b840191505092915050565b6000602082019050818103600083015261430681846142b3565b905092915050565b6000819050919050565b6143218161430e565b811461432c57600080fd5b50565b60008135905061433e81614318565b92915050565b60006020828403121561435a5761435961418e565b5b60006143688482850161432f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061439c82614371565b9050919050565b6143ac81614391565b82525050565b60006020820190506143c760008301846143a3565b92915050565b6143d681614391565b81146143e157600080fd5b50565b6000813590506143f3816143cd565b92915050565b600080604083850312156144105761440f61418e565b5b600061441e858286016143e4565b925050602061442f8582860161432f565b9150509250929050565b60006020828403121561444f5761444e61418e565b5b600061445d848285016143e4565b91505092915050565b600063ffffffff82169050919050565b61447f81614466565b82525050565b600060208201905061449a6000830184614476565b92915050565b6144a98161430e565b82525050565b60006020820190506144c460008301846144a0565b92915050565b6144d381614466565b81146144de57600080fd5b50565b6000813590506144f0816144ca565b92915050565b60006020828403121561450c5761450b61418e565b5b600061451a848285016144e1565b91505092915050565b60008060006060848603121561453c5761453b61418e565b5b600061454a868287016143e4565b935050602061455b868287016143e4565b925050604061456c8682870161432f565b9150509250925092565b6000806040838503121561458d5761458c61418e565b5b600061459b8582860161432f565b92505060206145ac858286016143e4565b9150509250929050565b6145bf8161421d565b81146145ca57600080fd5b50565b6000813590506145dc816145b6565b92915050565b6000602082840312156145f8576145f761418e565b5b6000614606848285016145cd565b91505092915050565b600080604083850312156146265761462561418e565b5b6000614634858286016143e4565b9250506020614645858286016144e1565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614691826142a2565b810181811067ffffffffffffffff821117156146b0576146af614659565b5b80604052505050565b60006146c3614184565b90506146cf8282614688565b919050565b600067ffffffffffffffff8211156146ef576146ee614659565b5b6146f8826142a2565b9050602081019050919050565b82818337600083830152505050565b6000614727614722846146d4565b6146b9565b90508281526020810184848401111561474357614742614654565b5b61474e848285614705565b509392505050565b600082601f83011261476b5761476a61464f565b5b813561477b848260208601614714565b91505092915050565b60006020828403121561479a5761479961418e565b5b600082013567ffffffffffffffff8111156147b8576147b7614193565b5b6147c484828501614756565b91505092915050565b600067ffffffffffffffff8211156147e8576147e7614659565b5b602082029050602081019050919050565b600080fd5b600061481161480c846147cd565b6146b9565b90508083825260208201905060208402830185811115614834576148336147f9565b5b835b8181101561485d5780614849888261432f565b845260208401935050602081019050614836565b5050509392505050565b600082601f83011261487c5761487b61464f565b5b813561488c8482602086016147fe565b91505092915050565b6000602082840312156148ab576148aa61418e565b5b600082013567ffffffffffffffff8111156148c9576148c8614193565b5b6148d584828501614867565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61491381614391565b82525050565b600067ffffffffffffffff82169050919050565b61493681614919565b82525050565b6149458161421d565b82525050565b606082016000820151614961600085018261490a565b506020820151614974602085018261492d565b506040820151614987604085018261493c565b50505050565b6000614999838361494b565b60608301905092915050565b6000602082019050919050565b60006149bd826148de565b6149c781856148e9565b93506149d2836148fa565b8060005b83811015614a035781516149ea888261498d565b97506149f5836149a5565b9250506001810190506149d6565b5085935050505092915050565b60006020820190508181036000830152614a2a81846149b2565b905092915050565b614a3b81614919565b8114614a4657600080fd5b50565b600081359050614a5881614a32565b92915050565b600060208284031215614a7457614a7361418e565b5b6000614a8284828501614a49565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614ac08161430e565b82525050565b6000614ad28383614ab7565b60208301905092915050565b6000602082019050919050565b6000614af682614a8b565b614b008185614a96565b9350614b0b83614aa7565b8060005b83811015614b3c578151614b238882614ac6565b9750614b2e83614ade565b925050600181019050614b0f565b5085935050505092915050565b60006020820190508181036000830152614b638184614aeb565b905092915050565b600080600060608486031215614b8457614b8361418e565b5b6000614b92868287016143e4565b9350506020614ba38682870161432f565b9250506040614bb48682870161432f565b9150509250925092565b60008060408385031215614bd557614bd461418e565b5b6000614be3858286016143e4565b9250506020614bf4858286016145cd565b9150509250929050565b600067ffffffffffffffff821115614c1957614c18614659565b5b614c22826142a2565b9050602081019050919050565b6000614c42614c3d84614bfe565b6146b9565b905082815260208101848484011115614c5e57614c5d614654565b5b614c69848285614705565b509392505050565b600082601f830112614c8657614c8561464f565b5b8135614c96848260208601614c2f565b91505092915050565b60008060008060808587031215614cb957614cb861418e565b5b6000614cc7878288016143e4565b9450506020614cd8878288016143e4565b9350506040614ce98782880161432f565b925050606085013567ffffffffffffffff811115614d0a57614d09614193565b5b614d1687828801614c71565b91505092959194509250565b606082016000820151614d38600085018261490a565b506020820151614d4b602085018261492d565b506040820151614d5e604085018261493c565b50505050565b6000606082019050614d796000830184614d22565b92915050565b60008060408385031215614d9657614d9561418e565b5b6000614da4858286016143e4565b9250506020614db5858286016143e4565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614e0657607f821691505b60208210811415614e1a57614e19614dbf565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614e5a8261430e565b9150614e658361430e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e9e57614e9d614e20565b5b828202905092915050565b7f496e636f72726563742070726963650000000000000000000000000000000000600082015250565b6000614edf600f8361425e565b9150614eea82614ea9565b602082019050919050565b60006020820190508181036000830152614f0e81614ed2565b9050919050565b7f4c6173657263757474696e6720766f75636865722073616c65206e6f7420616360008201527f7469766520796574000000000000000000000000000000000000000000000000602082015250565b6000614f7160288361425e565b9150614f7c82614f15565b604082019050919050565b60006020820190508181036000830152614fa081614f64565b9050919050565b6000614fb282614466565b9150614fbd83614466565b92508263ffffffff03821115614fd657614fd5614e20565b5b828201905092915050565b7f43616c6c6572206973206e6f7420746865206f776e6572000000000000000000600082015250565b600061501760178361425e565b915061502282614fe1565b602082019050919050565b600060208201905081810360008301526150468161500a565b9050919050565b7f546f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b600061508360148361425e565b915061508e8261504d565b602082019050919050565b600060208201905081810360008301526150b281615076565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f576f6f6420546f6b656e20646f6573206e6f7420657869737400000000000000600082015250565b600061511e60198361425e565b9150615129826150e8565b602082019050919050565b6000602082019050818103600083015261514d81615111565b9050919050565b600081905092915050565b600061516a82614253565b6151748185615154565b935061518481856020860161426f565b80840191505092915050565b600061519c828561515f565b91506151a8828461515f565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006151ee8261430e565b91506151f98361430e565b925082615209576152086151b4565b5b828204905092915050565b600061521f8261430e565b915061522a8361430e565b92508282101561523d5761523c614e20565b5b828203905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006152a460268361425e565b91506152af82615248565b604082019050919050565b600060208201905081810360008301526152d381615297565b9050919050565b7f73657220706c7a00000000000000000000000000000000000000000000000000600082015250565b600061531060078361425e565b915061531b826152da565b602082019050919050565b6000602082019050818103600083015261533f81615303565b9050919050565b60006153518261430e565b915061535c8361430e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561539157615390614e20565b5b828201905092915050565b7f4361702072656163686564000000000000000000000000000000000000000000600082015250565b60006153d2600b8361425e565b91506153dd8261539c565b602082019050919050565b60006020820190508181036000830152615401816153c5565b9050919050565b7f53616c65206e6f74206163746976652079657400000000000000000000000000600082015250565b600061543e60138361425e565b915061544982615408565b602082019050919050565b6000602082019050818103600083015261546d81615431565b9050919050565b7f4d61782032302070657220747800000000000000000000000000000000000000600082015250565b60006154aa600d8361425e565b91506154b582615474565b602082019050919050565b600060208201905081810360008301526154d98161549d565b9050919050565b6000815190506154ef81614318565b92915050565b60006020828403121561550b5761550a61418e565b5b6000615519848285016154e0565b91505092915050565b600060408201905061553760008301856143a3565b61554460208301846144a0565b9392505050565b600061555682614919565b9150600082141561556a57615569614e20565b5b600182039050919050565b60006155808261430e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156155b3576155b2614e20565b5b600182019050919050565b60006155c982614919565b91506155d483614919565b9250828210156155e7576155e6614e20565b5b828203905092915050565b60006155fd82614466565b915061560883614466565b92508282101561561b5761561a614e20565b5b828203905092915050565b7f53616c652061637469766520666f722066726565206d696e74206f6e6c790000600082015250565b600061565c601e8361425e565b915061566782615626565b602082019050919050565b6000602082019050818103600083015261568b8161564f565b9050919050565b600061569d82614919565b91506156a883614919565b9250826156b8576156b76151b4565b5b828204905092915050565b60006156ce82614919565b91506156d983614919565b9250826156e9576156e86151b4565b5b828206905092915050565b60006156ff82614919565b915061570a83614919565b92508167ffffffffffffffff048311821515161561572b5761572a614e20565b5b828202905092915050565b600060608201905061574b60008301866144a0565b61575860208301856144a0565b61576560408301846143a3565b949350505050565b600081519050919050565b600082825260208201905092915050565b60006157948261576d565b61579e8185615778565b93506157ae81856020860161426f565b6157b7816142a2565b840191505092915050565b60006080820190506157d760008301876143a3565b6157e460208301866143a3565b6157f160408301856144a0565b81810360608301526158038184615789565b905095945050505050565b60008151905061581d816141c4565b92915050565b6000602082840312156158395761583861418e565b5b60006158478482850161580e565b91505092915050565b600060ff82169050919050565b600061586882615850565b915061587383615850565b92508260ff0382111561588957615888614e20565b5b828201905092915050565b600061589f8261430e565b91506158aa8361430e565b9250826158ba576158b96151b4565b5b82820690509291505056fea26469706673582212202b2546041ce9eb923955778b5c8b03ece270292a5d3bfa122ba671313854dc3764736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000af31805e63473fd8985eb631dd1092a03b234bea
-----Decoded View---------------
Arg [0] : vMountainContractAddress (address): 0xaF31805e63473fd8985eb631dD1092a03B234bEA
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000af31805e63473fd8985eb631dd1092a03b234bea
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.