Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
0 NNC76
Holders
100
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 NNC76Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NFTNewsCert
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 "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "base64-sol/base64.sol"; import "hardhat/console.sol"; contract NFTNewsCert is ERC721, Ownable{ uint256 private currentTokenId = 0; bool sw = false; uint256 totalNumer = 100; uint256 limit = 1; uint256 mintPrice = 0.003 ether; enum Color {Black, Red, Blue, Green, Yellow, White, Pink} string[] colorArray; mapping(Color => string) colorString; mapping(uint256 => Color) tokenColor; mapping(uint256 => string) tokenSignature; mapping(address => uint256) numOfMinted; mapping(bytes32 => bool) mintedParameterHash; event Mint(address indexed minter, string indexed color,string signature); constructor( string memory _name, string memory _symbol ) ERC721(_name, _symbol) { colorString[Color.Black] = "black"; colorString[Color.Red] = "red"; colorString[Color.Blue] = "blue"; colorString[Color.Green] = "green"; colorString[Color.Yellow] = "yellow"; colorString[Color.White] = "white"; colorString[Color.Pink] = "pink"; colorArray = ["black","red", "blue", "green", "yellow", "white", "pink"]; } // internal functions function xPosition(uint256 _tokenId) private pure returns (uint256){ return (_tokenId- 1) % 10 * 24 + 12 + 30 + 10; } function yPosition(uint256 _tokenId) private pure returns (uint256){ return (_tokenId- 1) / 10 * 24 + 12 + 60 + 10; } function _getNextTokenId() private view returns (uint256) { return currentTokenId+1; } function _incrementTokenId() private { currentTokenId++; } function isTokenExist(uint256 _tokenId) private view returns (bool) { if(_tokenId < 1 || currentTokenId < _tokenId){return false;} return tokenColor[_tokenId] != Color.Black; } // external functions function getNumberOfAccountMinted(address _address) public view returns (uint256) { return numOfMinted[_address]; } function getNumberOfMinted() public view returns (uint256) { return currentTokenId ; } function getMintStatus() public view returns (bool) { return sw; } function setMintStatus(bool _sw) onlyOwner public { sw = _sw; } function getLimit() public view returns (uint256) { return limit; } function setLimit(uint256 _limit) onlyOwner public { limit = _limit; } function getSignature(uint256 _tokenId) public view returns (string memory) { return tokenSignature[_tokenId]; } function setSignature(uint256 _tokenId, string memory _signature) public { require(ownerOf(_tokenId) == msg.sender, "Only owner can set signature"); tokenSignature[_tokenId] = _signature; } function withdraw() external onlyOwner { uint256 balance = address(this).balance; if(balance > 0){ Address.sendValue(payable(owner()), balance); } } function isMintableCombination(string memory _color, string memory _signature) public view returns (bool) { bytes32 convination = keccak256(abi.encodePacked( _color, _signature)); return mintedParameterHash[convination] == false; } function isInLimit() public view returns (bool) { return numOfMinted[msg.sender] < limit || msg.sender == owner(); } function mintRed( string memory yourName) public payable { mintTo( Color.Red, yourName); } function mintBlue(string memory yourName) public payable { mintTo(Color.Blue, yourName); } function mintGreen(string memory yourName) public payable { mintTo(Color.Green, yourName); } function mintYellow(string memory yourName) public payable { mintTo(Color.Yellow, yourName); } function mintWhite(string memory yourName) public payable { mintTo(Color.White, yourName); } function mintPink(string memory yourName) public payable { mintTo(Color.Pink, yourName); } function mintTo(Color _color,string memory _name) private{ address _to = msg.sender; bytes32 convination = keccak256(abi.encodePacked( colorString[_color], _name)); require(sw || msg.sender == owner(), "Minting window is not open"); require(currentTokenId < totalNumer, "Token amount is full)"); require(numOfMinted[_to] < limit || msg.sender == owner(), "You reached mint limit"); require(mintPrice <= msg.value, "Ether value is not correct"); require(mintedParameterHash[convination] == false, "unacceptable"); uint256 newTokenId = _getNextTokenId(); _safeMint(_to, newTokenId); tokenSignature[newTokenId] = _name; tokenColor[newTokenId] = _color; numOfMinted[_to]++; mintedParameterHash[convination] = true; Address.sendValue(payable(msg.sender), mintPrice); emit Mint(_to, colorString[_color], _name); _incrementTokenId(); } function tokenURI(uint256 _tokenId) override public view returns (string memory) { require(isTokenExist(_tokenId), "tokenId must be exist"); string[6] memory p; p[0] = string(abi.encodePacked( '<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 320 320">', '<style>.base { fill: white; font-family: serif; font-size: 14px;}</style>', '<defs><filter id="f"><feGaussianBlur in="SourceGraphic" stdDeviation="3" /></filter>' )); for(uint256 i = 0; i< colorArray.length; i++){ string memory color = colorArray[i]; p[1] = string(abi.encodePacked( p[1], '<linearGradient id="', color, 'LG"><stop offset="0%" stop-color="',color,'"/><stop offset="100%"/>', '</linearGradient><circle id="',color, '" cx="0" cy="0" r="10" fill="url(#', color, 'LG)"/>' )); } p[2] = '</defs><rect width="100%" height="100%" fill="#222" rx="15" ry="15"/>'; string memory xo = Strings.toString(xPosition(_tokenId)); string memory yo = Strings.toString((yPosition(_tokenId))); p[3] = string(abi.encodePacked( '<circle id="F" cx="', xo, '" cy="', yo, '" r="21" fill="#ddd" filter="url(#f)"/>', '<circle id="F" cx="', xo, '" cy="', yo, '" r="14" fill="#aaa" filter="url(#f)"/>' )); for(uint256 i = 1; i <= 100; i++){ if(tokenColor[i] == Color.Black){continue;} string memory ref = colorString[tokenColor[i]]; string memory x = Strings.toString(xPosition(i)); string memory y = Strings.toString(yPosition(i)); p[4] = string(abi.encodePacked(p[4],'<use href="#',ref,'" x="',x,'" y="', y,'"/>')); } p[5] = string(abi.encodePacked( '<text x="30" y="25" class="base">NFT News Certification #76</text>', '<text x="30" y="45" class="base">ID: ', Strings.toString(_tokenId), '</text><text x="30" y="65" class="base"> Minter: ', tokenSignature[_tokenId], '</text></svg>' )); string memory svg = string(abi.encodePacked(p[0], p[1], p[2], p[3], p[4], p[5])); string memory meta = string(abi.encodePacked( '{"name": "NFTNewsCertification #', Strings.toString(_tokenId), '","description": "NFT News Reading Certification.",', '"attributes": [{"trait_type":"Color","value":"', colorString[tokenColor[_tokenId]], '"}],', '"image": "data:image/svg+xml;base64,' )); string memory json = Base64.encode(bytes(string(abi.encodePacked(meta, Base64.encode(bytes(svg)), '"}')))); string memory output = string(abi.encodePacked('data:application/json;base64,', json)); return output; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @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 virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @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) { _requireMinted(tokenId); 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 overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_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 { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _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 { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @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. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * 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 ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0; /// @title Base64 /// @author Brecht Devos - <[email protected]> /// @notice Provides functions for encoding/decoding base64 library Base64 { string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; bytes internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000" hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000" hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000" hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000"; function encode(bytes memory data) internal pure returns (string memory) { if (data.length == 0) return ''; // load the table into memory string memory table = TABLE_ENCODE; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((data.length + 2) / 3); // add some extra buffer at the end required for the writing string memory result = new string(encodedLen + 32); assembly { // set the actual output length mstore(result, encodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 3 bytes at a time for {} lt(dataPtr, endPtr) {} { // read 3 bytes dataPtr := add(dataPtr, 3) let input := mload(dataPtr) // write 4 characters mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and( input, 0x3F)))) resultPtr := add(resultPtr, 1) } // padding with '=' switch mod(mload(data), 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } } return result; } function decode(string memory _data) internal pure returns (bytes memory) { bytes memory data = bytes(_data); if (data.length == 0) return new bytes(0); require(data.length % 4 == 0, "invalid base64 decoder input"); // load the table into memory bytes memory table = TABLE_DECODE; // every 4 characters represent 3 bytes uint256 decodedLen = (data.length / 4) * 3; // add some extra buffer at the end required for the writing bytes memory result = new bytes(decodedLen + 32); assembly { // padding with '=' let lastBytes := mload(add(data, mload(data))) if eq(and(lastBytes, 0xFF), 0x3d) { decodedLen := sub(decodedLen, 1) if eq(and(lastBytes, 0xFFFF), 0x3d3d) { decodedLen := sub(decodedLen, 1) } } // set the actual output length mstore(result, decodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 4 characters at a time for {} lt(dataPtr, endPtr) {} { // read 4 characters dataPtr := add(dataPtr, 4) let input := mload(dataPtr) // write 3 bytes let output := add( add( shl(18, and(mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF)), shl(12, and(mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF))), add( shl( 6, and(mload(add(tablePtr, and(shr( 8, input), 0xFF))), 0xFF)), and(mload(add(tablePtr, and( input , 0xFF))), 0xFF) ) ) mstore(resultPtr, shl(232, output)) resultPtr := add(resultPtr, 3) } } return result; } }
// 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 // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.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.7.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 /// @solidity memory-safe-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/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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
{ "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":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"minter","type":"address"},{"indexed":true,"internalType":"string","name":"color","type":"string"},{"indexed":false,"internalType":"string","name":"signature","type":"string"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getNumberOfAccountMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getSignature","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isInLimit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_color","type":"string"},{"internalType":"string","name":"_signature","type":"string"}],"name":"isMintableCombination","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"yourName","type":"string"}],"name":"mintBlue","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"yourName","type":"string"}],"name":"mintGreen","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"yourName","type":"string"}],"name":"mintPink","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"yourName","type":"string"}],"name":"mintRed","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"yourName","type":"string"}],"name":"mintWhite","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"yourName","type":"string"}],"name":"mintYellow","outputs":[],"stateMutability":"payable","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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_sw","type":"bool"}],"name":"setMintStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_signature","type":"string"}],"name":"setSignature","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":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260006007556000600860006101000a81548160ff02191690831515021790555060646009556001600a55660aa87bee538000600b553480156200004657600080fd5b5060405162005fce38038062005fce83398181016040528101906200006c919062000a37565b818181600090805190602001906200008692919062000715565b5080600190805190602001906200009f92919062000715565b505050620000c2620000b66200064760201b60201c565b6200064f60201b60201c565b6040518060400160405280600581526020017f626c61636b000000000000000000000000000000000000000000000000000000815250600d600080600681111562000112576200011162000abc565b5b600681111562000127576200012662000abc565b5b815260200190815260200160002090805190602001906200014a92919062000715565b506040518060400160405280600381526020017f7265640000000000000000000000000000000000000000000000000000000000815250600d6000600160068111156200019c576200019b62000abc565b5b6006811115620001b157620001b062000abc565b5b81526020019081526020016000209080519060200190620001d492919062000715565b506040518060400160405280600481526020017f626c756500000000000000000000000000000000000000000000000000000000815250600d60006002600681111562000226576200022562000abc565b5b60068111156200023b576200023a62000abc565b5b815260200190815260200160002090805190602001906200025e92919062000715565b506040518060400160405280600581526020017f677265656e000000000000000000000000000000000000000000000000000000815250600d600060036006811115620002b057620002af62000abc565b5b6006811115620002c557620002c462000abc565b5b81526020019081526020016000209080519060200190620002e892919062000715565b506040518060400160405280600681526020017f79656c6c6f770000000000000000000000000000000000000000000000000000815250600d6000600460068111156200033a576200033962000abc565b5b60068111156200034f576200034e62000abc565b5b815260200190815260200160002090805190602001906200037292919062000715565b506040518060400160405280600581526020017f7768697465000000000000000000000000000000000000000000000000000000815250600d600060056006811115620003c457620003c362000abc565b5b6006811115620003d957620003d862000abc565b5b81526020019081526020016000209080519060200190620003fc92919062000715565b506040518060400160405280600481526020017f70696e6b00000000000000000000000000000000000000000000000000000000815250600d60006006808111156200044d576200044c62000abc565b5b600681111562000462576200046162000abc565b5b815260200190815260200160002090805190602001906200048592919062000715565b506040518060e001604052806040518060400160405280600581526020017f626c61636b00000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600381526020017f726564000000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f626c75650000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f677265656e00000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f79656c6c6f77000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f776869746500000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f70696e6b00000000000000000000000000000000000000000000000000000000815250815250600c9060076200063e929190620007a6565b50505062000b50565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620007239062000b1a565b90600052602060002090601f01602090048101928262000747576000855562000793565b82601f106200076257805160ff191683800117855562000793565b8280016001018555821562000793579182015b828111156200079257825182559160200191906001019062000775565b5b509050620007a291906200080d565b5090565b828054828255906000526020600020908101928215620007fa579160200282015b82811115620007f9578251829080519060200190620007e892919062000715565b5091602001919060010190620007c7565b5b5090506200080991906200082c565b5090565b5b80821115620008285760008160009055506001016200080e565b5090565b5b8082111562000850576000818162000846919062000854565b506001016200082d565b5090565b508054620008629062000b1a565b6000825580601f1062000876575062000897565b601f0160209004906000526020600020908101906200089691906200080d565b5b50565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200090382620008b8565b810181811067ffffffffffffffff82111715620009255762000924620008c9565b5b80604052505050565b60006200093a6200089a565b9050620009488282620008f8565b919050565b600067ffffffffffffffff8211156200096b576200096a620008c9565b5b6200097682620008b8565b9050602081019050919050565b60005b83811015620009a357808201518184015260208101905062000986565b83811115620009b3576000848401525b50505050565b6000620009d0620009ca846200094d565b6200092e565b905082815260208101848484011115620009ef57620009ee620008b3565b5b620009fc84828562000983565b509392505050565b600082601f83011262000a1c5762000a1b620008ae565b5b815162000a2e848260208601620009b9565b91505092915050565b6000806040838503121562000a515762000a50620008a4565b5b600083015167ffffffffffffffff81111562000a725762000a71620008a9565b5b62000a808582860162000a04565b925050602083015167ffffffffffffffff81111562000aa45762000aa3620008a9565b5b62000ab28582860162000a04565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000b3357607f821691505b6020821081141562000b4a5762000b4962000aeb565b5b50919050565b61546e8062000b606000396000f3fe6080604052600436106101ee5760003560e01c80638da5cb5b1161010d578063be4603c3116100a0578063dcdeb9bd1161006f578063dcdeb9bd146106a4578063e93d40cf146106cd578063e985e9c51461070a578063f2fde38b14610747578063f69b852614610770576101ee565b8063be4603c314610613578063c6ae94751461062f578063c87b56dd1461064b578063cdefbb1214610688576101ee565b8063a22cb465116100dc578063a22cb46514610559578063b0255fc614610582578063b295a00e146105bf578063b88d4fde146105ea576101ee565b80638da5cb5b146104ad578063929761c5146104d8578063941ada0e1461050357806395d89b411461052e576101ee565b80633ccfd60b1161018557806359e5fad61161015457806359e5fad6146104005780636352211e1461041c57806370a0823114610459578063715018a614610496576101ee565b80633ccfd60b14610379578063424294e41461039057806342842e0e146103bb5780634d79957b146103e4576101ee565b8063095ea7b3116101c1578063095ea7b3146102d55780631f85e3ca146102fe57806323b872dd1461032757806327ea6f2b14610350576101ee565b806301ffc9a7146101f357806302a569e61461023057806306fdde031461026d578063081812fc14610298575b600080fd5b3480156101ff57600080fd5b5061021a60048036038101906102159190612edd565b61078c565b6040516102279190612f25565b60405180910390f35b34801561023c57600080fd5b5061025760048036038101906102529190612f76565b61086e565b604051610264919061303c565b60405180910390f35b34801561027957600080fd5b50610282610913565b60405161028f919061303c565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba9190612f76565b6109a5565b6040516102cc919061309f565b60405180910390f35b3480156102e157600080fd5b506102fc60048036038101906102f791906130e6565b6109eb565b005b34801561030a57600080fd5b5061032560048036038101906103209190613152565b610b03565b005b34801561033357600080fd5b5061034e6004803603810190610349919061317f565b610b28565b005b34801561035c57600080fd5b5061037760048036038101906103729190612f76565b610b88565b005b34801561038557600080fd5b5061038e610b9a565b005b34801561039c57600080fd5b506103a5610bc5565b6040516103b291906131e1565b60405180910390f35b3480156103c757600080fd5b506103e260048036038101906103dd919061317f565b610bcf565b005b6103fe60048036038101906103f99190613331565b610bef565b005b61041a60048036038101906104159190613331565b610bfd565b005b34801561042857600080fd5b50610443600480360381019061043e9190612f76565b610c0b565b604051610450919061309f565b60405180910390f35b34801561046557600080fd5b50610480600480360381019061047b919061337a565b610cbd565b60405161048d91906131e1565b60405180910390f35b3480156104a257600080fd5b506104ab610d75565b005b3480156104b957600080fd5b506104c2610d89565b6040516104cf919061309f565b60405180910390f35b3480156104e457600080fd5b506104ed610db3565b6040516104fa9190612f25565b60405180910390f35b34801561050f57600080fd5b50610518610e3b565b6040516105259190612f25565b60405180910390f35b34801561053a57600080fd5b50610543610e52565b604051610550919061303c565b60405180910390f35b34801561056557600080fd5b50610580600480360381019061057b91906133a7565b610ee4565b005b34801561058e57600080fd5b506105a960048036038101906105a491906133e7565b610efa565b6040516105b69190612f25565b60405180910390f35b3480156105cb57600080fd5b506105d4610f59565b6040516105e191906131e1565b60405180910390f35b3480156105f657600080fd5b50610611600480360381019061060c9190613500565b610f63565b005b61062d60048036038101906106289190613331565b610fc5565b005b61064960048036038101906106449190613331565b610fd3565b005b34801561065757600080fd5b50610672600480360381019061066d9190612f76565b610fe1565b60405161067f919061303c565b60405180910390f35b6106a2600480360381019061069d9190613331565b61161e565b005b3480156106b057600080fd5b506106cb60048036038101906106c69190613583565b61162c565b005b3480156106d957600080fd5b506106f460048036038101906106ef919061337a565b6116ce565b60405161070191906131e1565b60405180910390f35b34801561071657600080fd5b50610731600480360381019061072c91906135df565b611717565b60405161073e9190612f25565b60405180910390f35b34801561075357600080fd5b5061076e6004803603810190610769919061337a565b6117ab565b005b61078a60048036038101906107859190613331565b61182f565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061085757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061086757506108668261183d565b5b9050919050565b6060600f6000838152602001908152602001600020805461088e9061364e565b80601f01602080910402602001604051908101604052809291908181526020018280546108ba9061364e565b80156109075780601f106108dc57610100808354040283529160200191610907565b820191906000526020600020905b8154815290600101906020018083116108ea57829003601f168201915b50505050509050919050565b6060600080546109229061364e565b80601f016020809104026020016040519081016040528092919081815260200182805461094e9061364e565b801561099b5780601f106109705761010080835404028352916020019161099b565b820191906000526020600020905b81548152906001019060200180831161097e57829003601f168201915b5050505050905090565b60006109b0826118a7565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109f682610c0b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5e906136f2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a866118f2565b73ffffffffffffffffffffffffffffffffffffffff161480610ab55750610ab481610aaf6118f2565b611717565b5b610af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aeb90613784565b60405180910390fd5b610afe83836118fa565b505050565b610b0b6119b3565b80600860006101000a81548160ff02191690831515021790555050565b610b39610b336118f2565b82611a31565b610b78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6f90613816565b60405180910390fd5b610b83838383611ac6565b505050565b610b906119b3565b80600a8190555050565b610ba26119b3565b60004790506000811115610bc257610bc1610bbb610d89565b82611d2d565b5b50565b6000600754905090565b610bea83838360405180602001604052806000815250610f63565b505050565b610bfa600482611e21565b50565b610c08600282611e21565b50565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610cb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cab90613882565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2590613914565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d7d6119b3565b610d876000612276565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600a54601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541080610e365750610e07610d89565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b905090565b6000600860009054906101000a900460ff16905090565b606060018054610e619061364e565b80601f0160208091040260200160405190810160405280929190818152602001828054610e8d9061364e565b8015610eda5780601f10610eaf57610100808354040283529160200191610eda565b820191906000526020600020905b815481529060010190602001808311610ebd57829003601f168201915b5050505050905090565b610ef6610eef6118f2565b838361233c565b5050565b6000808383604051602001610f10929190613970565b604051602081830303815290604052805190602001209050600015156011600083815260200190815260200160002060009054906101000a900460ff1615151491505092915050565b6000600a54905090565b610f74610f6e6118f2565b83611a31565b610fb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610faa90613816565b60405180910390fd5b610fbf848484846124a9565b50505050565b610fd0600582611e21565b50565b610fde600182611e21565b50565b6060610fec82612505565b61102b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611022906139e0565b60405180910390fd5b611033612da7565b60405160200161104290613bee565b6040516020818303038152906040528160006006811061106557611064613c19565b5b602002018190525060005b600c80549050811015611198576000600c828154811061109357611092613c19565b5b9060005260206000200180546110a89061364e565b80601f01602080910402602001604051908101604052809291908181526020018280546110d49061364e565b80156111215780601f106110f657610100808354040283529160200191611121565b820191906000526020600020905b81548152906001019060200180831161110457829003601f168201915b505050505090508260016006811061113c5761113b613c19565b5b602002015181828384604051602001611159959493929190613e5c565b6040516020818303038152906040528360016006811061117c5761117b613c19565b5b602002018190525050808061119090613f18565b915050611070565b506040518060800160405280604581526020016153f460459139816002600681106111c6576111c5613c19565b5b602002018190525060006111e16111dc85612576565b6125c8565b905060006111f66111f186612729565b6125c8565b90508181838360405160200161120f94939291906140dd565b6040516020818303038152906040528360036006811061123257611231613c19565b5b60200201819052506000600190505b6064811161141a576000600681111561125d5761125c61415d565b5b600e600083815260200190815260200160002060009054906101000a900460ff1660068111156112905761128f61415d565b5b141561129b57611407565b6000600d6000600e600085815260200190815260200160002060009054906101000a900460ff1660068111156112d4576112d361415d565b5b60068111156112e6576112e561415d565b5b815260200190815260200160002080546112ff9061364e565b80601f016020809104026020016040519081016040528092919081815260200182805461132b9061364e565b80156113785780601f1061134d57610100808354040283529160200191611378565b820191906000526020600020905b81548152906001019060200180831161135b57829003601f168201915b50505050509050600061139261138d84612576565b6125c8565b905060006113a76113a285612729565b6125c8565b9050866004600681106113bd576113bc613c19565b5b60200201518383836040516020016113d894939291906142bc565b604051602081830303815290604052876004600681106113fb576113fa613c19565b5b60200201819052505050505b808061141290613f18565b915050611241565b50611424856125c8565b600f6000878152602001908152602001600020604051602001611448929190614582565b6040516020818303038152906040528360056006811061146b5761146a613c19565b5b602002018190525060008360006006811061148957611488613c19565b5b6020020151846001600681106114a2576114a1613c19565b5b6020020151856002600681106114bb576114ba613c19565b5b6020020151866003600681106114d4576114d3613c19565b5b6020020151876004600681106114ed576114ec613c19565b5b60200201518860056006811061150657611505613c19565b5b6020020151604051602001611520969594939291906145d2565b6040516020818303038152906040529050600061153c876125c8565b600d6000600e60008b815260200190815260200160002060009054906101000a900460ff1660068111156115735761157261415d565b5b60068111156115855761158461415d565b5b81526020019081526020016000206040516020016115a4929190614818565b604051602081830303815290604052905060006115e9826115c48561277b565b6040516020016115d59291906148bf565b60405160208183030381529060405261277b565b90506000816040516020016115fe919061493a565b604051602081830303815290604052905080975050505050505050919050565b611629600382611e21565b50565b3373ffffffffffffffffffffffffffffffffffffffff1661164c83610c0b565b73ffffffffffffffffffffffffffffffffffffffff16146116a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611699906149a8565b60405180910390fd5b80600f600084815260200190815260200160002090805190602001906116c9929190612dce565b505050565b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6117b36119b3565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611823576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181a90614a3a565b60405180910390fd5b61182c81612276565b50565b61183a600682611e21565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6118b0816128f4565b6118ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e690613882565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661196d83610c0b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6119bb6118f2565b73ffffffffffffffffffffffffffffffffffffffff166119d9610d89565b73ffffffffffffffffffffffffffffffffffffffff1614611a2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2690614aa6565b60405180910390fd5b565b600080611a3d83610c0b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611a7f5750611a7e8185611717565b5b80611abd57508373ffffffffffffffffffffffffffffffffffffffff16611aa5846109a5565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ae682610c0b565b73ffffffffffffffffffffffffffffffffffffffff1614611b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3390614b38565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba390614bca565b60405180910390fd5b611bb7838383612960565b611bc26000826118fa565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c129190614bea565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c699190614c1e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611d28838383612965565b505050565b80471015611d70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6790614cc0565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611d9690614d11565b60006040518083038185875af1925050503d8060008114611dd3576040519150601f19603f3d011682016040523d82523d6000602084013e611dd8565b606091505b5050905080611e1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1390614d98565b60405180910390fd5b505050565b60003390506000600d6000856006811115611e3f57611e3e61415d565b5b6006811115611e5157611e5061415d565b5b815260200190815260200160002083604051602001611e71929190614db8565b604051602081830303815290604052805190602001209050600860009054906101000a900460ff1680611ed65750611ea7610d89565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611f15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0c90614e28565b60405180910390fd5b60095460075410611f5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5290614e94565b60405180910390fd5b600a54601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541080611fdc5750611fad610d89565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61201b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201290614f00565b60405180910390fd5b34600b541115612060576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205790614f6c565b60405180910390fd5b600015156011600083815260200190815260200160002060009054906101000a900460ff161515146120c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120be90614fd8565b60405180910390fd5b60006120d161296a565b90506120dd8382612980565b83600f60008381526020019081526020016000209080519060200190612104929190612dce565b5084600e600083815260200190815260200160002060006101000a81548160ff0219169083600681111561213b5761213a61415d565b5b0217905550601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061219090613f18565b919050555060016011600084815260200190815260200160002060006101000a81548160ff0219169083151502179055506121cd33600b54611d2d565b600d60008660068111156121e4576121e361415d565b5b60068111156121f6576121f561415d565b5b81526020019081526020016000206040516122119190614ff8565b60405180910390208373ffffffffffffffffffffffffffffffffffffffff167f35a0e34ee6c196b20f530d94282b96d57c4beda09ba5f603fe1baa387661d3c38660405161225f919061303c565b60405180910390a361226f61299e565b5050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156123ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a29061505b565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161249c9190612f25565b60405180910390a3505050565b6124b4848484611ac6565b6124c0848484846129b8565b6124ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f6906150ed565b60405180910390fd5b50505050565b60006001821080612517575081600754105b156125255760009050612571565b600060068111156125395761253861415d565b5b600e600084815260200190815260200160002060009054906101000a900460ff16600681111561256c5761256b61415d565b5b141590505b919050565b6000600a601e600c6018600a60018761258f9190614bea565b612599919061513c565b6125a3919061516d565b6125ad9190614c1e565b6125b79190614c1e565b6125c19190614c1e565b9050919050565b60606000821415612610576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612724565b600082905060005b6000821461264257808061262b90613f18565b915050600a8261263b91906151c7565b9150612618565b60008167ffffffffffffffff81111561265e5761265d613206565b5b6040519080825280601f01601f1916602001820160405280156126905781602001600182028036833780820191505090505b5090505b6000851461271d576001826126a99190614bea565b9150600a856126b8919061513c565b60306126c49190614c1e565b60f81b8183815181106126da576126d9613c19565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561271691906151c7565b9450612694565b8093505050505b919050565b6000600a603c600c6018600a6001876127429190614bea565b61274c91906151c7565b612756919061516d565b6127609190614c1e565b61276a9190614c1e565b6127749190614c1e565b9050919050565b606060008251141561279e576040518060200160405280600081525090506128ef565b60006040518060600160405280604081526020016153b460409139905060006003600285516127cd9190614c1e565b6127d791906151c7565b60046127e3919061516d565b905060006020826127f49190614c1e565b67ffffffffffffffff81111561280d5761280c613206565b5b6040519080825280601f01601f19166020018201604052801561283f5781602001600182028036833780820191505090505b509050818152600183018586518101602084015b818310156128ae576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050612853565b6003895106600181146128c857600281146128d8576128e3565b613d3d60f01b60028303526128e3565b603d60f81b60018303525b50505050508093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b6000600160075461297b9190614c1e565b905090565b61299a828260405180602001604052806000815250612b4f565b5050565b600760008154809291906129b190613f18565b9190505550565b60006129d98473ffffffffffffffffffffffffffffffffffffffff16612baa565b15612b42578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a026118f2565b8786866040518563ffffffff1660e01b8152600401612a24949392919061524d565b602060405180830381600087803b158015612a3e57600080fd5b505af1925050508015612a6f57506040513d601f19601f82011682018060405250810190612a6c91906152ae565b60015b612af2573d8060008114612a9f576040519150601f19603f3d011682016040523d82523d6000602084013e612aa4565b606091505b50600081511415612aea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae1906150ed565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b47565b600190505b949350505050565b612b598383612bcd565b612b6660008484846129b8565b612ba5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9c906150ed565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3490615327565b60405180910390fd5b612c46816128f4565b15612c86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7d90615393565b60405180910390fd5b612c9260008383612960565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ce29190614c1e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612da360008383612965565b5050565b6040518060c001604052806006905b6060815260200190600190039081612db65790505090565b828054612dda9061364e565b90600052602060002090601f016020900481019282612dfc5760008555612e43565b82601f10612e1557805160ff1916838001178555612e43565b82800160010185558215612e43579182015b82811115612e42578251825591602001919060010190612e27565b5b509050612e509190612e54565b5090565b5b80821115612e6d576000816000905550600101612e55565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612eba81612e85565b8114612ec557600080fd5b50565b600081359050612ed781612eb1565b92915050565b600060208284031215612ef357612ef2612e7b565b5b6000612f0184828501612ec8565b91505092915050565b60008115159050919050565b612f1f81612f0a565b82525050565b6000602082019050612f3a6000830184612f16565b92915050565b6000819050919050565b612f5381612f40565b8114612f5e57600080fd5b50565b600081359050612f7081612f4a565b92915050565b600060208284031215612f8c57612f8b612e7b565b5b6000612f9a84828501612f61565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612fdd578082015181840152602081019050612fc2565b83811115612fec576000848401525b50505050565b6000601f19601f8301169050919050565b600061300e82612fa3565b6130188185612fae565b9350613028818560208601612fbf565b61303181612ff2565b840191505092915050565b600060208201905081810360008301526130568184613003565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006130898261305e565b9050919050565b6130998161307e565b82525050565b60006020820190506130b46000830184613090565b92915050565b6130c38161307e565b81146130ce57600080fd5b50565b6000813590506130e0816130ba565b92915050565b600080604083850312156130fd576130fc612e7b565b5b600061310b858286016130d1565b925050602061311c85828601612f61565b9150509250929050565b61312f81612f0a565b811461313a57600080fd5b50565b60008135905061314c81613126565b92915050565b60006020828403121561316857613167612e7b565b5b60006131768482850161313d565b91505092915050565b60008060006060848603121561319857613197612e7b565b5b60006131a6868287016130d1565b93505060206131b7868287016130d1565b92505060406131c886828701612f61565b9150509250925092565b6131db81612f40565b82525050565b60006020820190506131f660008301846131d2565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61323e82612ff2565b810181811067ffffffffffffffff8211171561325d5761325c613206565b5b80604052505050565b6000613270612e71565b905061327c8282613235565b919050565b600067ffffffffffffffff82111561329c5761329b613206565b5b6132a582612ff2565b9050602081019050919050565b82818337600083830152505050565b60006132d46132cf84613281565b613266565b9050828152602081018484840111156132f0576132ef613201565b5b6132fb8482856132b2565b509392505050565b600082601f830112613318576133176131fc565b5b81356133288482602086016132c1565b91505092915050565b60006020828403121561334757613346612e7b565b5b600082013567ffffffffffffffff81111561336557613364612e80565b5b61337184828501613303565b91505092915050565b6000602082840312156133905761338f612e7b565b5b600061339e848285016130d1565b91505092915050565b600080604083850312156133be576133bd612e7b565b5b60006133cc858286016130d1565b92505060206133dd8582860161313d565b9150509250929050565b600080604083850312156133fe576133fd612e7b565b5b600083013567ffffffffffffffff81111561341c5761341b612e80565b5b61342885828601613303565b925050602083013567ffffffffffffffff81111561344957613448612e80565b5b61345585828601613303565b9150509250929050565b600067ffffffffffffffff82111561347a57613479613206565b5b61348382612ff2565b9050602081019050919050565b60006134a361349e8461345f565b613266565b9050828152602081018484840111156134bf576134be613201565b5b6134ca8482856132b2565b509392505050565b600082601f8301126134e7576134e66131fc565b5b81356134f7848260208601613490565b91505092915050565b6000806000806080858703121561351a57613519612e7b565b5b6000613528878288016130d1565b9450506020613539878288016130d1565b935050604061354a87828801612f61565b925050606085013567ffffffffffffffff81111561356b5761356a612e80565b5b613577878288016134d2565b91505092959194509250565b6000806040838503121561359a57613599612e7b565b5b60006135a885828601612f61565b925050602083013567ffffffffffffffff8111156135c9576135c8612e80565b5b6135d585828601613303565b9150509250929050565b600080604083850312156135f6576135f5612e7b565b5b6000613604858286016130d1565b9250506020613615858286016130d1565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061366657607f821691505b6020821081141561367a5761367961361f565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006136dc602183612fae565b91506136e782613680565b604082019050919050565b6000602082019050818103600083015261370b816136cf565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b600061376e603e83612fae565b915061377982613712565b604082019050919050565b6000602082019050818103600083015261379d81613761565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613800602e83612fae565b915061380b826137a4565b604082019050919050565b6000602082019050818103600083015261382f816137f3565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b600061386c601883612fae565b915061387782613836565b602082019050919050565b6000602082019050818103600083015261389b8161385f565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006138fe602983612fae565b9150613909826138a2565b604082019050919050565b6000602082019050818103600083015261392d816138f1565b9050919050565b600081905092915050565b600061394a82612fa3565b6139548185613934565b9350613964818560208601612fbf565b80840191505092915050565b600061397c828561393f565b9150613988828461393f565b91508190509392505050565b7f746f6b656e4964206d7573742062652065786973740000000000000000000000600082015250565b60006139ca601583612fae565b91506139d582613994565b602082019050919050565b600060208201905081810360008301526139f9816139bd565b9050919050565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323060008201527f30302f73766722207072657365727665417370656374526174696f3d22784d6960208201527f6e594d696e206d656574222076696577426f783d22302030203332302033323060408201527f223e000000000000000000000000000000000000000000000000000000000000606082015250565b6000613aa8606283613934565b9150613ab382613a00565b606282019050919050565b7f3c7374796c653e2e62617365207b2066696c6c3a2077686974653b20666f6e7460008201527f2d66616d696c793a2073657269663b20666f6e742d73697a653a20313470783b60208201527f7d3c2f7374796c653e0000000000000000000000000000000000000000000000604082015250565b6000613b40604983613934565b9150613b4b82613abe565b604982019050919050565b7f3c646566733e3c66696c7465722069643d2266223e3c6665476175737369616e60008201527f426c757220696e3d22536f75726365477261706869632220737464446576696160208201527f74696f6e3d223322202f3e3c2f66696c7465723e000000000000000000000000604082015250565b6000613bd8605483613934565b9150613be382613b56565b605482019050919050565b6000613bf982613a9b565b9150613c0482613b33565b9150613c0f82613bcb565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f3c6c696e6561724772616469656e742069643d22000000000000000000000000600082015250565b6000613c7e601483613934565b9150613c8982613c48565b601482019050919050565b7f4c47223e3c73746f70206f66667365743d223025222073746f702d636f6c6f7260008201527f3d22000000000000000000000000000000000000000000000000000000000000602082015250565b6000613cf0602283613934565b9150613cfb82613c94565b602282019050919050565b7f222f3e3c73746f70206f66667365743d2231303025222f3e0000000000000000600082015250565b6000613d3c601883613934565b9150613d4782613d06565b601882019050919050565b7f3c2f6c696e6561724772616469656e743e3c636972636c652069643d22000000600082015250565b6000613d88601d83613934565b9150613d9382613d52565b601d82019050919050565b7f222063783d2230222063793d22302220723d223130222066696c6c3d2275726c60008201527f2823000000000000000000000000000000000000000000000000000000000000602082015250565b6000613dfa602283613934565b9150613e0582613d9e565b602282019050919050565b7f4c4729222f3e0000000000000000000000000000000000000000000000000000600082015250565b6000613e46600683613934565b9150613e5182613e10565b600682019050919050565b6000613e68828861393f565b9150613e7382613c71565b9150613e7f828761393f565b9150613e8a82613ce3565b9150613e96828661393f565b9150613ea182613d2f565b9150613eac82613d7b565b9150613eb8828561393f565b9150613ec382613ded565b9150613ecf828461393f565b9150613eda82613e39565b91508190509695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613f2382612f40565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f5657613f55613ee9565b5b600182019050919050565b7f3c636972636c652069643d2246222063783d2200000000000000000000000000600082015250565b6000613f97601383613934565b9150613fa282613f61565b601382019050919050565b7f222063793d220000000000000000000000000000000000000000000000000000600082015250565b6000613fe3600683613934565b9150613fee82613fad565b600682019050919050565b7f2220723d223231222066696c6c3d2223646464222066696c7465723d2275726c60008201527f28236629222f3e00000000000000000000000000000000000000000000000000602082015250565b6000614055602783613934565b915061406082613ff9565b602782019050919050565b7f2220723d223134222066696c6c3d2223616161222066696c7465723d2275726c60008201527f28236629222f3e00000000000000000000000000000000000000000000000000602082015250565b60006140c7602783613934565b91506140d28261406b565b602782019050919050565b60006140e882613f8a565b91506140f4828761393f565b91506140ff82613fd6565b915061410b828661393f565b915061411682614048565b915061412182613f8a565b915061412d828561393f565b915061413882613fd6565b9150614144828461393f565b915061414f826140ba565b915081905095945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f3c75736520687265663d22230000000000000000000000000000000000000000600082015250565b60006141c2600c83613934565b91506141cd8261418c565b600c82019050919050565b7f2220783d22000000000000000000000000000000000000000000000000000000600082015250565b600061420e600583613934565b9150614219826141d8565b600582019050919050565b7f2220793d22000000000000000000000000000000000000000000000000000000600082015250565b600061425a600583613934565b915061426582614224565b600582019050919050565b7f222f3e0000000000000000000000000000000000000000000000000000000000600082015250565b60006142a6600383613934565b91506142b182614270565b600382019050919050565b60006142c8828761393f565b91506142d3826141b5565b91506142df828661393f565b91506142ea82614201565b91506142f6828561393f565b91506143018261424d565b915061430d828461393f565b915061431882614299565b915081905095945050505050565b7f3c7465787420783d2233302220793d2232352220636c6173733d22626173652260008201527f3e4e4654204e6577732043657274696669636174696f6e202337363c2f74657860208201527f743e000000000000000000000000000000000000000000000000000000000000604082015250565b60006143a8604283613934565b91506143b382614326565b604282019050919050565b7f3c7465787420783d2233302220793d2234352220636c6173733d22626173652260008201527f3e49443a20000000000000000000000000000000000000000000000000000000602082015250565b600061441a602583613934565b9150614425826143be565b602582019050919050565b7f3c2f746578743e3c7465787420783d2233302220793d2236352220636c61737360008201527f3d2262617365223e204d696e7465723a20000000000000000000000000000000602082015250565b600061448c603183613934565b915061449782614430565b603182019050919050565b60008190508160005260206000209050919050565b600081546144c48161364e565b6144ce8186613934565b945060018216600081146144e957600181146144fa5761452d565b60ff1983168652818601935061452d565b614503856144a2565b60005b8381101561452557815481890152600182019150602081019050614506565b838801955050505b50505092915050565b7f3c2f746578743e3c2f7376673e00000000000000000000000000000000000000600082015250565b600061456c600d83613934565b915061457782614536565b600d82019050919050565b600061458d8261439b565b91506145988261440d565b91506145a4828561393f565b91506145af8261447f565b91506145bb82846144b7565b91506145c68261455f565b91508190509392505050565b60006145de828961393f565b91506145ea828861393f565b91506145f6828761393f565b9150614602828661393f565b915061460e828561393f565b915061461a828461393f565b9150819050979650505050505050565b7f7b226e616d65223a20224e46544e65777343657274696669636174696f6e2023600082015250565b6000614660602083613934565b915061466b8261462a565b602082019050919050565b7f222c226465736372697074696f6e223a20224e4654204e65777320526561646960008201527f6e672043657274696669636174696f6e2e222c00000000000000000000000000602082015250565b60006146d2603383613934565b91506146dd82614676565b603382019050919050565b7f2261747472696275746573223a205b7b2274726169745f74797065223a22436f60008201527f6c6f72222c2276616c7565223a22000000000000000000000000000000000000602082015250565b6000614744602e83613934565b915061474f826146e8565b602e82019050919050565b7f227d5d2c00000000000000000000000000000000000000000000000000000000600082015250565b6000614790600483613934565b915061479b8261475a565b600482019050919050565b7f22696d616765223a2022646174613a696d6167652f7376672b786d6c3b62617360008201527f6536342c00000000000000000000000000000000000000000000000000000000602082015250565b6000614802602483613934565b915061480d826147a6565b602482019050919050565b600061482382614653565b915061482f828561393f565b915061483a826146c5565b915061484582614737565b915061485182846144b7565b915061485c82614783565b9150614867826147f5565b91508190509392505050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b60006148a9600283613934565b91506148b482614873565b600282019050919050565b60006148cb828561393f565b91506148d7828461393f565b91506148e28261489c565b91508190509392505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000614924601d83613934565b915061492f826148ee565b601d82019050919050565b600061494582614917565b9150614951828461393f565b915081905092915050565b7f4f6e6c79206f776e65722063616e20736574207369676e617475726500000000600082015250565b6000614992601c83612fae565b915061499d8261495c565b602082019050919050565b600060208201905081810360008301526149c181614985565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614a24602683612fae565b9150614a2f826149c8565b604082019050919050565b60006020820190508181036000830152614a5381614a17565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614a90602083612fae565b9150614a9b82614a5a565b602082019050919050565b60006020820190508181036000830152614abf81614a83565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614b22602583612fae565b9150614b2d82614ac6565b604082019050919050565b60006020820190508181036000830152614b5181614b15565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614bb4602483612fae565b9150614bbf82614b58565b604082019050919050565b60006020820190508181036000830152614be381614ba7565b9050919050565b6000614bf582612f40565b9150614c0083612f40565b925082821015614c1357614c12613ee9565b5b828203905092915050565b6000614c2982612f40565b9150614c3483612f40565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614c6957614c68613ee9565b5b828201905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000614caa601d83612fae565b9150614cb582614c74565b602082019050919050565b60006020820190508181036000830152614cd981614c9d565b9050919050565b600081905092915050565b50565b6000614cfb600083614ce0565b9150614d0682614ceb565b600082019050919050565b6000614d1c82614cee565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000614d82603a83612fae565b9150614d8d82614d26565b604082019050919050565b60006020820190508181036000830152614db181614d75565b9050919050565b6000614dc482856144b7565b9150614dd0828461393f565b91508190509392505050565b7f4d696e74696e672077696e646f77206973206e6f74206f70656e000000000000600082015250565b6000614e12601a83612fae565b9150614e1d82614ddc565b602082019050919050565b60006020820190508181036000830152614e4181614e05565b9050919050565b7f546f6b656e20616d6f756e742069732066756c6c290000000000000000000000600082015250565b6000614e7e601583612fae565b9150614e8982614e48565b602082019050919050565b60006020820190508181036000830152614ead81614e71565b9050919050565b7f596f752072656163686564206d696e74206c696d697400000000000000000000600082015250565b6000614eea601683612fae565b9150614ef582614eb4565b602082019050919050565b60006020820190508181036000830152614f1981614edd565b9050919050565b7f45746865722076616c7565206973206e6f7420636f7272656374000000000000600082015250565b6000614f56601a83612fae565b9150614f6182614f20565b602082019050919050565b60006020820190508181036000830152614f8581614f49565b9050919050565b7f756e61636365707461626c650000000000000000000000000000000000000000600082015250565b6000614fc2600c83612fae565b9150614fcd82614f8c565b602082019050919050565b60006020820190508181036000830152614ff181614fb5565b9050919050565b600061500482846144b7565b915081905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615045601983612fae565b91506150508261500f565b602082019050919050565b6000602082019050818103600083015261507481615038565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006150d7603283612fae565b91506150e28261507b565b604082019050919050565b60006020820190508181036000830152615106816150ca565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061514782612f40565b915061515283612f40565b9250826151625761516161510d565b5b828206905092915050565b600061517882612f40565b915061518383612f40565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156151bc576151bb613ee9565b5b828202905092915050565b60006151d282612f40565b91506151dd83612f40565b9250826151ed576151ec61510d565b5b828204905092915050565b600081519050919050565b600082825260208201905092915050565b600061521f826151f8565b6152298185615203565b9350615239818560208601612fbf565b61524281612ff2565b840191505092915050565b60006080820190506152626000830187613090565b61526f6020830186613090565b61527c60408301856131d2565b818103606083015261528e8184615214565b905095945050505050565b6000815190506152a881612eb1565b92915050565b6000602082840312156152c4576152c3612e7b565b5b60006152d284828501615299565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615311602083612fae565b915061531c826152db565b602082019050919050565b6000602082019050818103600083015261534081615304565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061537d601c83612fae565b915061538882615347565b602082019050919050565b600060208201905081810360008301526153ac81615370565b905091905056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c2f646566733e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d2223323232222072783d223135222072793d223135222f3ea2646970667358221220f728f8457b56b1326e383356e78b0223b84219323508fcd9f0436c8859bfff1b64736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000d4e46544e6577734365727437360000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054e4e433736000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101ee5760003560e01c80638da5cb5b1161010d578063be4603c3116100a0578063dcdeb9bd1161006f578063dcdeb9bd146106a4578063e93d40cf146106cd578063e985e9c51461070a578063f2fde38b14610747578063f69b852614610770576101ee565b8063be4603c314610613578063c6ae94751461062f578063c87b56dd1461064b578063cdefbb1214610688576101ee565b8063a22cb465116100dc578063a22cb46514610559578063b0255fc614610582578063b295a00e146105bf578063b88d4fde146105ea576101ee565b80638da5cb5b146104ad578063929761c5146104d8578063941ada0e1461050357806395d89b411461052e576101ee565b80633ccfd60b1161018557806359e5fad61161015457806359e5fad6146104005780636352211e1461041c57806370a0823114610459578063715018a614610496576101ee565b80633ccfd60b14610379578063424294e41461039057806342842e0e146103bb5780634d79957b146103e4576101ee565b8063095ea7b3116101c1578063095ea7b3146102d55780631f85e3ca146102fe57806323b872dd1461032757806327ea6f2b14610350576101ee565b806301ffc9a7146101f357806302a569e61461023057806306fdde031461026d578063081812fc14610298575b600080fd5b3480156101ff57600080fd5b5061021a60048036038101906102159190612edd565b61078c565b6040516102279190612f25565b60405180910390f35b34801561023c57600080fd5b5061025760048036038101906102529190612f76565b61086e565b604051610264919061303c565b60405180910390f35b34801561027957600080fd5b50610282610913565b60405161028f919061303c565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba9190612f76565b6109a5565b6040516102cc919061309f565b60405180910390f35b3480156102e157600080fd5b506102fc60048036038101906102f791906130e6565b6109eb565b005b34801561030a57600080fd5b5061032560048036038101906103209190613152565b610b03565b005b34801561033357600080fd5b5061034e6004803603810190610349919061317f565b610b28565b005b34801561035c57600080fd5b5061037760048036038101906103729190612f76565b610b88565b005b34801561038557600080fd5b5061038e610b9a565b005b34801561039c57600080fd5b506103a5610bc5565b6040516103b291906131e1565b60405180910390f35b3480156103c757600080fd5b506103e260048036038101906103dd919061317f565b610bcf565b005b6103fe60048036038101906103f99190613331565b610bef565b005b61041a60048036038101906104159190613331565b610bfd565b005b34801561042857600080fd5b50610443600480360381019061043e9190612f76565b610c0b565b604051610450919061309f565b60405180910390f35b34801561046557600080fd5b50610480600480360381019061047b919061337a565b610cbd565b60405161048d91906131e1565b60405180910390f35b3480156104a257600080fd5b506104ab610d75565b005b3480156104b957600080fd5b506104c2610d89565b6040516104cf919061309f565b60405180910390f35b3480156104e457600080fd5b506104ed610db3565b6040516104fa9190612f25565b60405180910390f35b34801561050f57600080fd5b50610518610e3b565b6040516105259190612f25565b60405180910390f35b34801561053a57600080fd5b50610543610e52565b604051610550919061303c565b60405180910390f35b34801561056557600080fd5b50610580600480360381019061057b91906133a7565b610ee4565b005b34801561058e57600080fd5b506105a960048036038101906105a491906133e7565b610efa565b6040516105b69190612f25565b60405180910390f35b3480156105cb57600080fd5b506105d4610f59565b6040516105e191906131e1565b60405180910390f35b3480156105f657600080fd5b50610611600480360381019061060c9190613500565b610f63565b005b61062d60048036038101906106289190613331565b610fc5565b005b61064960048036038101906106449190613331565b610fd3565b005b34801561065757600080fd5b50610672600480360381019061066d9190612f76565b610fe1565b60405161067f919061303c565b60405180910390f35b6106a2600480360381019061069d9190613331565b61161e565b005b3480156106b057600080fd5b506106cb60048036038101906106c69190613583565b61162c565b005b3480156106d957600080fd5b506106f460048036038101906106ef919061337a565b6116ce565b60405161070191906131e1565b60405180910390f35b34801561071657600080fd5b50610731600480360381019061072c91906135df565b611717565b60405161073e9190612f25565b60405180910390f35b34801561075357600080fd5b5061076e6004803603810190610769919061337a565b6117ab565b005b61078a60048036038101906107859190613331565b61182f565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061085757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061086757506108668261183d565b5b9050919050565b6060600f6000838152602001908152602001600020805461088e9061364e565b80601f01602080910402602001604051908101604052809291908181526020018280546108ba9061364e565b80156109075780601f106108dc57610100808354040283529160200191610907565b820191906000526020600020905b8154815290600101906020018083116108ea57829003601f168201915b50505050509050919050565b6060600080546109229061364e565b80601f016020809104026020016040519081016040528092919081815260200182805461094e9061364e565b801561099b5780601f106109705761010080835404028352916020019161099b565b820191906000526020600020905b81548152906001019060200180831161097e57829003601f168201915b5050505050905090565b60006109b0826118a7565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109f682610c0b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5e906136f2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a866118f2565b73ffffffffffffffffffffffffffffffffffffffff161480610ab55750610ab481610aaf6118f2565b611717565b5b610af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aeb90613784565b60405180910390fd5b610afe83836118fa565b505050565b610b0b6119b3565b80600860006101000a81548160ff02191690831515021790555050565b610b39610b336118f2565b82611a31565b610b78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6f90613816565b60405180910390fd5b610b83838383611ac6565b505050565b610b906119b3565b80600a8190555050565b610ba26119b3565b60004790506000811115610bc257610bc1610bbb610d89565b82611d2d565b5b50565b6000600754905090565b610bea83838360405180602001604052806000815250610f63565b505050565b610bfa600482611e21565b50565b610c08600282611e21565b50565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610cb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cab90613882565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2590613914565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d7d6119b3565b610d876000612276565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600a54601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541080610e365750610e07610d89565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b905090565b6000600860009054906101000a900460ff16905090565b606060018054610e619061364e565b80601f0160208091040260200160405190810160405280929190818152602001828054610e8d9061364e565b8015610eda5780601f10610eaf57610100808354040283529160200191610eda565b820191906000526020600020905b815481529060010190602001808311610ebd57829003601f168201915b5050505050905090565b610ef6610eef6118f2565b838361233c565b5050565b6000808383604051602001610f10929190613970565b604051602081830303815290604052805190602001209050600015156011600083815260200190815260200160002060009054906101000a900460ff1615151491505092915050565b6000600a54905090565b610f74610f6e6118f2565b83611a31565b610fb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610faa90613816565b60405180910390fd5b610fbf848484846124a9565b50505050565b610fd0600582611e21565b50565b610fde600182611e21565b50565b6060610fec82612505565b61102b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611022906139e0565b60405180910390fd5b611033612da7565b60405160200161104290613bee565b6040516020818303038152906040528160006006811061106557611064613c19565b5b602002018190525060005b600c80549050811015611198576000600c828154811061109357611092613c19565b5b9060005260206000200180546110a89061364e565b80601f01602080910402602001604051908101604052809291908181526020018280546110d49061364e565b80156111215780601f106110f657610100808354040283529160200191611121565b820191906000526020600020905b81548152906001019060200180831161110457829003601f168201915b505050505090508260016006811061113c5761113b613c19565b5b602002015181828384604051602001611159959493929190613e5c565b6040516020818303038152906040528360016006811061117c5761117b613c19565b5b602002018190525050808061119090613f18565b915050611070565b506040518060800160405280604581526020016153f460459139816002600681106111c6576111c5613c19565b5b602002018190525060006111e16111dc85612576565b6125c8565b905060006111f66111f186612729565b6125c8565b90508181838360405160200161120f94939291906140dd565b6040516020818303038152906040528360036006811061123257611231613c19565b5b60200201819052506000600190505b6064811161141a576000600681111561125d5761125c61415d565b5b600e600083815260200190815260200160002060009054906101000a900460ff1660068111156112905761128f61415d565b5b141561129b57611407565b6000600d6000600e600085815260200190815260200160002060009054906101000a900460ff1660068111156112d4576112d361415d565b5b60068111156112e6576112e561415d565b5b815260200190815260200160002080546112ff9061364e565b80601f016020809104026020016040519081016040528092919081815260200182805461132b9061364e565b80156113785780601f1061134d57610100808354040283529160200191611378565b820191906000526020600020905b81548152906001019060200180831161135b57829003601f168201915b50505050509050600061139261138d84612576565b6125c8565b905060006113a76113a285612729565b6125c8565b9050866004600681106113bd576113bc613c19565b5b60200201518383836040516020016113d894939291906142bc565b604051602081830303815290604052876004600681106113fb576113fa613c19565b5b60200201819052505050505b808061141290613f18565b915050611241565b50611424856125c8565b600f6000878152602001908152602001600020604051602001611448929190614582565b6040516020818303038152906040528360056006811061146b5761146a613c19565b5b602002018190525060008360006006811061148957611488613c19565b5b6020020151846001600681106114a2576114a1613c19565b5b6020020151856002600681106114bb576114ba613c19565b5b6020020151866003600681106114d4576114d3613c19565b5b6020020151876004600681106114ed576114ec613c19565b5b60200201518860056006811061150657611505613c19565b5b6020020151604051602001611520969594939291906145d2565b6040516020818303038152906040529050600061153c876125c8565b600d6000600e60008b815260200190815260200160002060009054906101000a900460ff1660068111156115735761157261415d565b5b60068111156115855761158461415d565b5b81526020019081526020016000206040516020016115a4929190614818565b604051602081830303815290604052905060006115e9826115c48561277b565b6040516020016115d59291906148bf565b60405160208183030381529060405261277b565b90506000816040516020016115fe919061493a565b604051602081830303815290604052905080975050505050505050919050565b611629600382611e21565b50565b3373ffffffffffffffffffffffffffffffffffffffff1661164c83610c0b565b73ffffffffffffffffffffffffffffffffffffffff16146116a2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611699906149a8565b60405180910390fd5b80600f600084815260200190815260200160002090805190602001906116c9929190612dce565b505050565b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6117b36119b3565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611823576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181a90614a3a565b60405180910390fd5b61182c81612276565b50565b61183a600682611e21565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6118b0816128f4565b6118ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e690613882565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661196d83610c0b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6119bb6118f2565b73ffffffffffffffffffffffffffffffffffffffff166119d9610d89565b73ffffffffffffffffffffffffffffffffffffffff1614611a2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2690614aa6565b60405180910390fd5b565b600080611a3d83610c0b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611a7f5750611a7e8185611717565b5b80611abd57508373ffffffffffffffffffffffffffffffffffffffff16611aa5846109a5565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ae682610c0b565b73ffffffffffffffffffffffffffffffffffffffff1614611b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3390614b38565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba390614bca565b60405180910390fd5b611bb7838383612960565b611bc26000826118fa565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c129190614bea565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c699190614c1e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611d28838383612965565b505050565b80471015611d70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6790614cc0565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611d9690614d11565b60006040518083038185875af1925050503d8060008114611dd3576040519150601f19603f3d011682016040523d82523d6000602084013e611dd8565b606091505b5050905080611e1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1390614d98565b60405180910390fd5b505050565b60003390506000600d6000856006811115611e3f57611e3e61415d565b5b6006811115611e5157611e5061415d565b5b815260200190815260200160002083604051602001611e71929190614db8565b604051602081830303815290604052805190602001209050600860009054906101000a900460ff1680611ed65750611ea7610d89565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611f15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0c90614e28565b60405180910390fd5b60095460075410611f5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5290614e94565b60405180910390fd5b600a54601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541080611fdc5750611fad610d89565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61201b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201290614f00565b60405180910390fd5b34600b541115612060576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205790614f6c565b60405180910390fd5b600015156011600083815260200190815260200160002060009054906101000a900460ff161515146120c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120be90614fd8565b60405180910390fd5b60006120d161296a565b90506120dd8382612980565b83600f60008381526020019081526020016000209080519060200190612104929190612dce565b5084600e600083815260200190815260200160002060006101000a81548160ff0219169083600681111561213b5761213a61415d565b5b0217905550601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061219090613f18565b919050555060016011600084815260200190815260200160002060006101000a81548160ff0219169083151502179055506121cd33600b54611d2d565b600d60008660068111156121e4576121e361415d565b5b60068111156121f6576121f561415d565b5b81526020019081526020016000206040516122119190614ff8565b60405180910390208373ffffffffffffffffffffffffffffffffffffffff167f35a0e34ee6c196b20f530d94282b96d57c4beda09ba5f603fe1baa387661d3c38660405161225f919061303c565b60405180910390a361226f61299e565b5050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156123ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a29061505b565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161249c9190612f25565b60405180910390a3505050565b6124b4848484611ac6565b6124c0848484846129b8565b6124ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f6906150ed565b60405180910390fd5b50505050565b60006001821080612517575081600754105b156125255760009050612571565b600060068111156125395761253861415d565b5b600e600084815260200190815260200160002060009054906101000a900460ff16600681111561256c5761256b61415d565b5b141590505b919050565b6000600a601e600c6018600a60018761258f9190614bea565b612599919061513c565b6125a3919061516d565b6125ad9190614c1e565b6125b79190614c1e565b6125c19190614c1e565b9050919050565b60606000821415612610576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612724565b600082905060005b6000821461264257808061262b90613f18565b915050600a8261263b91906151c7565b9150612618565b60008167ffffffffffffffff81111561265e5761265d613206565b5b6040519080825280601f01601f1916602001820160405280156126905781602001600182028036833780820191505090505b5090505b6000851461271d576001826126a99190614bea565b9150600a856126b8919061513c565b60306126c49190614c1e565b60f81b8183815181106126da576126d9613c19565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561271691906151c7565b9450612694565b8093505050505b919050565b6000600a603c600c6018600a6001876127429190614bea565b61274c91906151c7565b612756919061516d565b6127609190614c1e565b61276a9190614c1e565b6127749190614c1e565b9050919050565b606060008251141561279e576040518060200160405280600081525090506128ef565b60006040518060600160405280604081526020016153b460409139905060006003600285516127cd9190614c1e565b6127d791906151c7565b60046127e3919061516d565b905060006020826127f49190614c1e565b67ffffffffffffffff81111561280d5761280c613206565b5b6040519080825280601f01601f19166020018201604052801561283f5781602001600182028036833780820191505090505b509050818152600183018586518101602084015b818310156128ae576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050612853565b6003895106600181146128c857600281146128d8576128e3565b613d3d60f01b60028303526128e3565b603d60f81b60018303525b50505050508093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b6000600160075461297b9190614c1e565b905090565b61299a828260405180602001604052806000815250612b4f565b5050565b600760008154809291906129b190613f18565b9190505550565b60006129d98473ffffffffffffffffffffffffffffffffffffffff16612baa565b15612b42578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a026118f2565b8786866040518563ffffffff1660e01b8152600401612a24949392919061524d565b602060405180830381600087803b158015612a3e57600080fd5b505af1925050508015612a6f57506040513d601f19601f82011682018060405250810190612a6c91906152ae565b60015b612af2573d8060008114612a9f576040519150601f19603f3d011682016040523d82523d6000602084013e612aa4565b606091505b50600081511415612aea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae1906150ed565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b47565b600190505b949350505050565b612b598383612bcd565b612b6660008484846129b8565b612ba5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9c906150ed565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3490615327565b60405180910390fd5b612c46816128f4565b15612c86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7d90615393565b60405180910390fd5b612c9260008383612960565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ce29190614c1e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612da360008383612965565b5050565b6040518060c001604052806006905b6060815260200190600190039081612db65790505090565b828054612dda9061364e565b90600052602060002090601f016020900481019282612dfc5760008555612e43565b82601f10612e1557805160ff1916838001178555612e43565b82800160010185558215612e43579182015b82811115612e42578251825591602001919060010190612e27565b5b509050612e509190612e54565b5090565b5b80821115612e6d576000816000905550600101612e55565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612eba81612e85565b8114612ec557600080fd5b50565b600081359050612ed781612eb1565b92915050565b600060208284031215612ef357612ef2612e7b565b5b6000612f0184828501612ec8565b91505092915050565b60008115159050919050565b612f1f81612f0a565b82525050565b6000602082019050612f3a6000830184612f16565b92915050565b6000819050919050565b612f5381612f40565b8114612f5e57600080fd5b50565b600081359050612f7081612f4a565b92915050565b600060208284031215612f8c57612f8b612e7b565b5b6000612f9a84828501612f61565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612fdd578082015181840152602081019050612fc2565b83811115612fec576000848401525b50505050565b6000601f19601f8301169050919050565b600061300e82612fa3565b6130188185612fae565b9350613028818560208601612fbf565b61303181612ff2565b840191505092915050565b600060208201905081810360008301526130568184613003565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006130898261305e565b9050919050565b6130998161307e565b82525050565b60006020820190506130b46000830184613090565b92915050565b6130c38161307e565b81146130ce57600080fd5b50565b6000813590506130e0816130ba565b92915050565b600080604083850312156130fd576130fc612e7b565b5b600061310b858286016130d1565b925050602061311c85828601612f61565b9150509250929050565b61312f81612f0a565b811461313a57600080fd5b50565b60008135905061314c81613126565b92915050565b60006020828403121561316857613167612e7b565b5b60006131768482850161313d565b91505092915050565b60008060006060848603121561319857613197612e7b565b5b60006131a6868287016130d1565b93505060206131b7868287016130d1565b92505060406131c886828701612f61565b9150509250925092565b6131db81612f40565b82525050565b60006020820190506131f660008301846131d2565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61323e82612ff2565b810181811067ffffffffffffffff8211171561325d5761325c613206565b5b80604052505050565b6000613270612e71565b905061327c8282613235565b919050565b600067ffffffffffffffff82111561329c5761329b613206565b5b6132a582612ff2565b9050602081019050919050565b82818337600083830152505050565b60006132d46132cf84613281565b613266565b9050828152602081018484840111156132f0576132ef613201565b5b6132fb8482856132b2565b509392505050565b600082601f830112613318576133176131fc565b5b81356133288482602086016132c1565b91505092915050565b60006020828403121561334757613346612e7b565b5b600082013567ffffffffffffffff81111561336557613364612e80565b5b61337184828501613303565b91505092915050565b6000602082840312156133905761338f612e7b565b5b600061339e848285016130d1565b91505092915050565b600080604083850312156133be576133bd612e7b565b5b60006133cc858286016130d1565b92505060206133dd8582860161313d565b9150509250929050565b600080604083850312156133fe576133fd612e7b565b5b600083013567ffffffffffffffff81111561341c5761341b612e80565b5b61342885828601613303565b925050602083013567ffffffffffffffff81111561344957613448612e80565b5b61345585828601613303565b9150509250929050565b600067ffffffffffffffff82111561347a57613479613206565b5b61348382612ff2565b9050602081019050919050565b60006134a361349e8461345f565b613266565b9050828152602081018484840111156134bf576134be613201565b5b6134ca8482856132b2565b509392505050565b600082601f8301126134e7576134e66131fc565b5b81356134f7848260208601613490565b91505092915050565b6000806000806080858703121561351a57613519612e7b565b5b6000613528878288016130d1565b9450506020613539878288016130d1565b935050604061354a87828801612f61565b925050606085013567ffffffffffffffff81111561356b5761356a612e80565b5b613577878288016134d2565b91505092959194509250565b6000806040838503121561359a57613599612e7b565b5b60006135a885828601612f61565b925050602083013567ffffffffffffffff8111156135c9576135c8612e80565b5b6135d585828601613303565b9150509250929050565b600080604083850312156135f6576135f5612e7b565b5b6000613604858286016130d1565b9250506020613615858286016130d1565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061366657607f821691505b6020821081141561367a5761367961361f565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006136dc602183612fae565b91506136e782613680565b604082019050919050565b6000602082019050818103600083015261370b816136cf565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b600061376e603e83612fae565b915061377982613712565b604082019050919050565b6000602082019050818103600083015261379d81613761565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000613800602e83612fae565b915061380b826137a4565b604082019050919050565b6000602082019050818103600083015261382f816137f3565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b600061386c601883612fae565b915061387782613836565b602082019050919050565b6000602082019050818103600083015261389b8161385f565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006138fe602983612fae565b9150613909826138a2565b604082019050919050565b6000602082019050818103600083015261392d816138f1565b9050919050565b600081905092915050565b600061394a82612fa3565b6139548185613934565b9350613964818560208601612fbf565b80840191505092915050565b600061397c828561393f565b9150613988828461393f565b91508190509392505050565b7f746f6b656e4964206d7573742062652065786973740000000000000000000000600082015250565b60006139ca601583612fae565b91506139d582613994565b602082019050919050565b600060208201905081810360008301526139f9816139bd565b9050919050565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323060008201527f30302f73766722207072657365727665417370656374526174696f3d22784d6960208201527f6e594d696e206d656574222076696577426f783d22302030203332302033323060408201527f223e000000000000000000000000000000000000000000000000000000000000606082015250565b6000613aa8606283613934565b9150613ab382613a00565b606282019050919050565b7f3c7374796c653e2e62617365207b2066696c6c3a2077686974653b20666f6e7460008201527f2d66616d696c793a2073657269663b20666f6e742d73697a653a20313470783b60208201527f7d3c2f7374796c653e0000000000000000000000000000000000000000000000604082015250565b6000613b40604983613934565b9150613b4b82613abe565b604982019050919050565b7f3c646566733e3c66696c7465722069643d2266223e3c6665476175737369616e60008201527f426c757220696e3d22536f75726365477261706869632220737464446576696160208201527f74696f6e3d223322202f3e3c2f66696c7465723e000000000000000000000000604082015250565b6000613bd8605483613934565b9150613be382613b56565b605482019050919050565b6000613bf982613a9b565b9150613c0482613b33565b9150613c0f82613bcb565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f3c6c696e6561724772616469656e742069643d22000000000000000000000000600082015250565b6000613c7e601483613934565b9150613c8982613c48565b601482019050919050565b7f4c47223e3c73746f70206f66667365743d223025222073746f702d636f6c6f7260008201527f3d22000000000000000000000000000000000000000000000000000000000000602082015250565b6000613cf0602283613934565b9150613cfb82613c94565b602282019050919050565b7f222f3e3c73746f70206f66667365743d2231303025222f3e0000000000000000600082015250565b6000613d3c601883613934565b9150613d4782613d06565b601882019050919050565b7f3c2f6c696e6561724772616469656e743e3c636972636c652069643d22000000600082015250565b6000613d88601d83613934565b9150613d9382613d52565b601d82019050919050565b7f222063783d2230222063793d22302220723d223130222066696c6c3d2275726c60008201527f2823000000000000000000000000000000000000000000000000000000000000602082015250565b6000613dfa602283613934565b9150613e0582613d9e565b602282019050919050565b7f4c4729222f3e0000000000000000000000000000000000000000000000000000600082015250565b6000613e46600683613934565b9150613e5182613e10565b600682019050919050565b6000613e68828861393f565b9150613e7382613c71565b9150613e7f828761393f565b9150613e8a82613ce3565b9150613e96828661393f565b9150613ea182613d2f565b9150613eac82613d7b565b9150613eb8828561393f565b9150613ec382613ded565b9150613ecf828461393f565b9150613eda82613e39565b91508190509695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613f2382612f40565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f5657613f55613ee9565b5b600182019050919050565b7f3c636972636c652069643d2246222063783d2200000000000000000000000000600082015250565b6000613f97601383613934565b9150613fa282613f61565b601382019050919050565b7f222063793d220000000000000000000000000000000000000000000000000000600082015250565b6000613fe3600683613934565b9150613fee82613fad565b600682019050919050565b7f2220723d223231222066696c6c3d2223646464222066696c7465723d2275726c60008201527f28236629222f3e00000000000000000000000000000000000000000000000000602082015250565b6000614055602783613934565b915061406082613ff9565b602782019050919050565b7f2220723d223134222066696c6c3d2223616161222066696c7465723d2275726c60008201527f28236629222f3e00000000000000000000000000000000000000000000000000602082015250565b60006140c7602783613934565b91506140d28261406b565b602782019050919050565b60006140e882613f8a565b91506140f4828761393f565b91506140ff82613fd6565b915061410b828661393f565b915061411682614048565b915061412182613f8a565b915061412d828561393f565b915061413882613fd6565b9150614144828461393f565b915061414f826140ba565b915081905095945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f3c75736520687265663d22230000000000000000000000000000000000000000600082015250565b60006141c2600c83613934565b91506141cd8261418c565b600c82019050919050565b7f2220783d22000000000000000000000000000000000000000000000000000000600082015250565b600061420e600583613934565b9150614219826141d8565b600582019050919050565b7f2220793d22000000000000000000000000000000000000000000000000000000600082015250565b600061425a600583613934565b915061426582614224565b600582019050919050565b7f222f3e0000000000000000000000000000000000000000000000000000000000600082015250565b60006142a6600383613934565b91506142b182614270565b600382019050919050565b60006142c8828761393f565b91506142d3826141b5565b91506142df828661393f565b91506142ea82614201565b91506142f6828561393f565b91506143018261424d565b915061430d828461393f565b915061431882614299565b915081905095945050505050565b7f3c7465787420783d2233302220793d2232352220636c6173733d22626173652260008201527f3e4e4654204e6577732043657274696669636174696f6e202337363c2f74657860208201527f743e000000000000000000000000000000000000000000000000000000000000604082015250565b60006143a8604283613934565b91506143b382614326565b604282019050919050565b7f3c7465787420783d2233302220793d2234352220636c6173733d22626173652260008201527f3e49443a20000000000000000000000000000000000000000000000000000000602082015250565b600061441a602583613934565b9150614425826143be565b602582019050919050565b7f3c2f746578743e3c7465787420783d2233302220793d2236352220636c61737360008201527f3d2262617365223e204d696e7465723a20000000000000000000000000000000602082015250565b600061448c603183613934565b915061449782614430565b603182019050919050565b60008190508160005260206000209050919050565b600081546144c48161364e565b6144ce8186613934565b945060018216600081146144e957600181146144fa5761452d565b60ff1983168652818601935061452d565b614503856144a2565b60005b8381101561452557815481890152600182019150602081019050614506565b838801955050505b50505092915050565b7f3c2f746578743e3c2f7376673e00000000000000000000000000000000000000600082015250565b600061456c600d83613934565b915061457782614536565b600d82019050919050565b600061458d8261439b565b91506145988261440d565b91506145a4828561393f565b91506145af8261447f565b91506145bb82846144b7565b91506145c68261455f565b91508190509392505050565b60006145de828961393f565b91506145ea828861393f565b91506145f6828761393f565b9150614602828661393f565b915061460e828561393f565b915061461a828461393f565b9150819050979650505050505050565b7f7b226e616d65223a20224e46544e65777343657274696669636174696f6e2023600082015250565b6000614660602083613934565b915061466b8261462a565b602082019050919050565b7f222c226465736372697074696f6e223a20224e4654204e65777320526561646960008201527f6e672043657274696669636174696f6e2e222c00000000000000000000000000602082015250565b60006146d2603383613934565b91506146dd82614676565b603382019050919050565b7f2261747472696275746573223a205b7b2274726169745f74797065223a22436f60008201527f6c6f72222c2276616c7565223a22000000000000000000000000000000000000602082015250565b6000614744602e83613934565b915061474f826146e8565b602e82019050919050565b7f227d5d2c00000000000000000000000000000000000000000000000000000000600082015250565b6000614790600483613934565b915061479b8261475a565b600482019050919050565b7f22696d616765223a2022646174613a696d6167652f7376672b786d6c3b62617360008201527f6536342c00000000000000000000000000000000000000000000000000000000602082015250565b6000614802602483613934565b915061480d826147a6565b602482019050919050565b600061482382614653565b915061482f828561393f565b915061483a826146c5565b915061484582614737565b915061485182846144b7565b915061485c82614783565b9150614867826147f5565b91508190509392505050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b60006148a9600283613934565b91506148b482614873565b600282019050919050565b60006148cb828561393f565b91506148d7828461393f565b91506148e28261489c565b91508190509392505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000614924601d83613934565b915061492f826148ee565b601d82019050919050565b600061494582614917565b9150614951828461393f565b915081905092915050565b7f4f6e6c79206f776e65722063616e20736574207369676e617475726500000000600082015250565b6000614992601c83612fae565b915061499d8261495c565b602082019050919050565b600060208201905081810360008301526149c181614985565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614a24602683612fae565b9150614a2f826149c8565b604082019050919050565b60006020820190508181036000830152614a5381614a17565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614a90602083612fae565b9150614a9b82614a5a565b602082019050919050565b60006020820190508181036000830152614abf81614a83565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614b22602583612fae565b9150614b2d82614ac6565b604082019050919050565b60006020820190508181036000830152614b5181614b15565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614bb4602483612fae565b9150614bbf82614b58565b604082019050919050565b60006020820190508181036000830152614be381614ba7565b9050919050565b6000614bf582612f40565b9150614c0083612f40565b925082821015614c1357614c12613ee9565b5b828203905092915050565b6000614c2982612f40565b9150614c3483612f40565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614c6957614c68613ee9565b5b828201905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000614caa601d83612fae565b9150614cb582614c74565b602082019050919050565b60006020820190508181036000830152614cd981614c9d565b9050919050565b600081905092915050565b50565b6000614cfb600083614ce0565b9150614d0682614ceb565b600082019050919050565b6000614d1c82614cee565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000614d82603a83612fae565b9150614d8d82614d26565b604082019050919050565b60006020820190508181036000830152614db181614d75565b9050919050565b6000614dc482856144b7565b9150614dd0828461393f565b91508190509392505050565b7f4d696e74696e672077696e646f77206973206e6f74206f70656e000000000000600082015250565b6000614e12601a83612fae565b9150614e1d82614ddc565b602082019050919050565b60006020820190508181036000830152614e4181614e05565b9050919050565b7f546f6b656e20616d6f756e742069732066756c6c290000000000000000000000600082015250565b6000614e7e601583612fae565b9150614e8982614e48565b602082019050919050565b60006020820190508181036000830152614ead81614e71565b9050919050565b7f596f752072656163686564206d696e74206c696d697400000000000000000000600082015250565b6000614eea601683612fae565b9150614ef582614eb4565b602082019050919050565b60006020820190508181036000830152614f1981614edd565b9050919050565b7f45746865722076616c7565206973206e6f7420636f7272656374000000000000600082015250565b6000614f56601a83612fae565b9150614f6182614f20565b602082019050919050565b60006020820190508181036000830152614f8581614f49565b9050919050565b7f756e61636365707461626c650000000000000000000000000000000000000000600082015250565b6000614fc2600c83612fae565b9150614fcd82614f8c565b602082019050919050565b60006020820190508181036000830152614ff181614fb5565b9050919050565b600061500482846144b7565b915081905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615045601983612fae565b91506150508261500f565b602082019050919050565b6000602082019050818103600083015261507481615038565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006150d7603283612fae565b91506150e28261507b565b604082019050919050565b60006020820190508181036000830152615106816150ca565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061514782612f40565b915061515283612f40565b9250826151625761516161510d565b5b828206905092915050565b600061517882612f40565b915061518383612f40565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156151bc576151bb613ee9565b5b828202905092915050565b60006151d282612f40565b91506151dd83612f40565b9250826151ed576151ec61510d565b5b828204905092915050565b600081519050919050565b600082825260208201905092915050565b600061521f826151f8565b6152298185615203565b9350615239818560208601612fbf565b61524281612ff2565b840191505092915050565b60006080820190506152626000830187613090565b61526f6020830186613090565b61527c60408301856131d2565b818103606083015261528e8184615214565b905095945050505050565b6000815190506152a881612eb1565b92915050565b6000602082840312156152c4576152c3612e7b565b5b60006152d284828501615299565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615311602083612fae565b915061531c826152db565b602082019050919050565b6000602082019050818103600083015261534081615304565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061537d601c83612fae565b915061538882615347565b602082019050919050565b600060208201905081810360008301526153ac81615370565b905091905056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c2f646566733e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d2223323232222072783d223135222072793d223135222f3ea2646970667358221220f728f8457b56b1326e383356e78b0223b84219323508fcd9f0436c8859bfff1b64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000d4e46544e6577734365727437360000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054e4e433736000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): NFTNewsCert76
Arg [1] : _symbol (string): NNC76
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [3] : 4e46544e65777343657274373600000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 4e4e433736000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.