Overview
ETH Balance
4.9 ETH
Eth Value
$13,662.44 (@ $2,788.25/ETH)Token Holdings
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 146 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 18905033 | 236 days ago | IN | 0 ETH | 0.00070777 | ||||
Set Approval For... | 17613861 | 417 days ago | IN | 0 ETH | 0.00101063 | ||||
Set Approval For... | 16221629 | 613 days ago | IN | 0 ETH | 0.00148131 | ||||
Safe Transfer Fr... | 15694194 | 686 days ago | IN | 0 ETH | 0.00043262 | ||||
Safe Transfer Fr... | 15694185 | 686 days ago | IN | 0 ETH | 0.00038232 | ||||
Safe Transfer Fr... | 15694180 | 686 days ago | IN | 0 ETH | 0.00037517 | ||||
Safe Transfer Fr... | 15694175 | 686 days ago | IN | 0 ETH | 0.00046678 | ||||
Set Approval For... | 15611919 | 698 days ago | IN | 0 ETH | 0.00018931 | ||||
Set Approval For... | 15611919 | 698 days ago | IN | 0 ETH | 0.00018931 | ||||
Set Approval For... | 15549268 | 706 days ago | IN | 0 ETH | 0.00014091 | ||||
Mint | 15385943 | 733 days ago | IN | 0.02 ETH | 0.0008265 | ||||
Set Approval For... | 15276593 | 750 days ago | IN | 0 ETH | 0.00120373 | ||||
Set Approval For... | 14958767 | 801 days ago | IN | 0 ETH | 0.00166551 | ||||
Set Approval For... | 14913823 | 809 days ago | IN | 0 ETH | 0.00163895 | ||||
Set Approval For... | 14554584 | 866 days ago | IN | 0 ETH | 0.00228722 | ||||
Set Approval For... | 14512705 | 873 days ago | IN | 0 ETH | 0.00170473 | ||||
Set Approval For... | 14486379 | 877 days ago | IN | 0 ETH | 0.00142309 | ||||
Set Approval For... | 14470404 | 880 days ago | IN | 0 ETH | 0.00144646 | ||||
Set Approval For... | 14418570 | 888 days ago | IN | 0 ETH | 0.00117301 | ||||
Transfer From | 14292301 | 907 days ago | IN | 0 ETH | 0.00486783 | ||||
Set Approval For... | 14261643 | 912 days ago | IN | 0 ETH | 0.00247143 | ||||
Set Approval For... | 14260372 | 912 days ago | IN | 0 ETH | 0.00265347 | ||||
Set Approval For... | 14239869 | 915 days ago | IN | 0 ETH | 0.00591564 | ||||
Set Approval For... | 14234239 | 916 days ago | IN | 0 ETH | 0.00252711 | ||||
Set Approval For... | 14234237 | 916 days ago | IN | 0 ETH | 0.00150826 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
HexApeYachtClub
Compiler Version
v0.8.4+commit.c7e474f2
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.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "libraries/Base64.sol"; contract HexApeYachtClub is ERC721Enumerable, ReentrancyGuard, Ownable { uint256 constant fixedSupply = 10000; uint256 constant maxPerAddress = 10; uint256 constant minPriceInWei = 20000000000000000; // 0.020 ETH constructor() ERC721("HexApeYachtClub", "HAYC") Ownable() {} /// Token URI function tokenURI(uint256 tokenId) public pure override returns (string memory) { string memory output = string( abi.encodePacked( "https://gateway.pinata.cloud/ipfs/Qmeh7GWT6tm2wMNSXXHa6VpB4jAZ81gzacTevT7U7pAso3/", Strings.toString(tokenId+1), ".png" ) ); string memory json = Base64.encode( bytes( string( abi.encodePacked( '{"name": "HAYC #', Strings.toString(tokenId + 1), '", "description": "The Hex Ape Yacht Club is a collection of 10K unique Hex Ape NFTs, unique digital collectibles living on the Ethereum blockchain. Inspired, but not affiliated with BAYC.", "image": "', output, '"}' ) ) ) ); output = string( abi.encodePacked("data:application/json;base64,", json) ); return output; } /// Reserve for Owner function reserveForOwner() public onlyOwner returns (uint256) { uint256 supply = totalSupply(); for (uint256 i = 0; i < 50; i++) { _safeMint(msg.sender, supply + i); } return totalSupply(); } /// Mint tokens /// @param amount Amount function mint(uint256 amount) public payable returns (uint256) { uint256 currSupply = totalSupply(); require(currSupply + amount <= fixedSupply, "Mint already at max supply"); require(balanceOf(_msgSender()) + amount <= maxPerAddress, "Mint cap exceeded"); require( msg.value >= minPriceInWei * amount, "Sent amount too low" ); for (uint256 i = 0; i < amount; i++) { _safeMint(_msgSender(), currSupply + i); } return amount; } /// Withdraw for owner function withdraw() public onlyOwner returns (bool) { uint256 balance = address(this).balance; payable(_msgSender()).transfer(balance); return true; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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: balance query for the zero address"); 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: owner query for nonexistent token"); 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) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public 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 owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); 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: transfer caller is not 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: transfer caller is not 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) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, 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); } /** * @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); } /** * @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 of token that is not own"); 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); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {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 a {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 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 { 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 {} }
// 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 v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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 v4.4.1 (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 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
{ "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":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"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":[{"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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"reserveForOwner","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280600f81526020017f4865784170655961636874436c756200000000000000000000000000000000008152506040518060400160405280600481526020017f4841594300000000000000000000000000000000000000000000000000000000815250816000908051906020019062000096929190620001ae565b508060019080519060200190620000af929190620001ae565b5050506001600a81905550620000da620000ce620000e060201b60201c565b620000e860201b60201c565b620002c3565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001bc906200025e565b90600052602060002090601f016020900481019282620001e057600085556200022c565b82601f10620001fb57805160ff19168380011785556200022c565b828001600101855582156200022c579182015b828111156200022b5782518255916020019190600101906200020e565b5b5090506200023b91906200023f565b5090565b5b808211156200025a57600081600090555060010162000240565b5090565b600060028204905060018216806200027757607f821691505b602082108114156200028e576200028d62000294565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b613d8380620002d36000396000f3fe6080604052600436106101355760003560e01c806370a08231116100ab578063a0712d681161006f578063a0712d681461043c578063a22cb4651461046c578063b88d4fde14610495578063c87b56dd146104be578063e985e9c5146104fb578063f2fde38b1461053857610135565b806370a0823114610367578063715018a6146103a45780638be7dfbb146103bb5780638da5cb5b146103e657806395d89b411461041157610135565b806323b872dd116100fd57806323b872dd146102335780632f745c591461025c5780633ccfd60b1461029957806342842e0e146102c45780634f6ccce7146102ed5780636352211e1461032a57610135565b806301ffc9a71461013a57806306fdde0314610177578063081812fc146101a2578063095ea7b3146101df57806318160ddd14610208575b600080fd5b34801561014657600080fd5b50610161600480360381019061015c91906128af565b610561565b60405161016e9190612e83565b60405180910390f35b34801561018357600080fd5b5061018c6105db565b6040516101999190612e9e565b60405180910390f35b3480156101ae57600080fd5b506101c960048036038101906101c49190612901565b61066d565b6040516101d69190612e1c565b60405180910390f35b3480156101eb57600080fd5b5061020660048036038101906102019190612873565b6106f2565b005b34801561021457600080fd5b5061021d61080a565b60405161022a9190613140565b60405180910390f35b34801561023f57600080fd5b5061025a6004803603810190610255919061276d565b610817565b005b34801561026857600080fd5b50610283600480360381019061027e9190612873565b610877565b6040516102909190613140565b60405180910390f35b3480156102a557600080fd5b506102ae61091c565b6040516102bb9190612e83565b60405180910390f35b3480156102d057600080fd5b506102eb60048036038101906102e6919061276d565b6109f5565b005b3480156102f957600080fd5b50610314600480360381019061030f9190612901565b610a15565b6040516103219190613140565b60405180910390f35b34801561033657600080fd5b50610351600480360381019061034c9190612901565b610aac565b60405161035e9190612e1c565b60405180910390f35b34801561037357600080fd5b5061038e60048036038101906103899190612708565b610b5e565b60405161039b9190613140565b60405180910390f35b3480156103b057600080fd5b506103b9610c16565b005b3480156103c757600080fd5b506103d0610c9e565b6040516103dd9190613140565b60405180910390f35b3480156103f257600080fd5b506103fb610d6b565b6040516104089190612e1c565b60405180910390f35b34801561041d57600080fd5b50610426610d95565b6040516104339190612e9e565b60405180910390f35b61045660048036038101906104519190612901565b610e27565b6040516104639190613140565b60405180910390f35b34801561047857600080fd5b50610493600480360381019061048e9190612837565b610f7b565b005b3480156104a157600080fd5b506104bc60048036038101906104b791906127bc565b610f91565b005b3480156104ca57600080fd5b506104e560048036038101906104e09190612901565b610ff3565b6040516104f29190612e9e565b60405180910390f35b34801561050757600080fd5b50610522600480360381019061051d9190612731565b61109b565b60405161052f9190612e83565b60405180910390f35b34801561054457600080fd5b5061055f600480360381019061055a9190612708565b61112f565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105d457506105d382611227565b5b9050919050565b6060600080546105ea906133bf565b80601f0160208091040260200160405190810160405280929190818152602001828054610616906133bf565b80156106635780601f1061063857610100808354040283529160200191610663565b820191906000526020600020905b81548152906001019060200180831161064657829003601f168201915b5050505050905090565b600061067882611309565b6106b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ae90613040565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106fd82610aac565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561076e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610765906130a0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661078d611375565b73ffffffffffffffffffffffffffffffffffffffff1614806107bc57506107bb816107b6611375565b61109b565b5b6107fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f290612fa0565b60405180910390fd5b610805838361137d565b505050565b6000600880549050905090565b610828610822611375565b82611436565b610867576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085e906130c0565b60405180910390fd5b610872838383611514565b505050565b600061088283610b5e565b82106108c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ba90612ec0565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000610926611375565b73ffffffffffffffffffffffffffffffffffffffff16610944610d6b565b73ffffffffffffffffffffffffffffffffffffffff161461099a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099190613060565b60405180910390fd5b60004790506109a7611375565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156109ec573d6000803e3d6000fd5b50600191505090565b610a1083838360405180602001604052806000815250610f91565b505050565b6000610a1f61080a565b8210610a60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a57906130e0565b60405180910390fd5b60088281548110610a9a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610b55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4c90612fe0565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc690612fc0565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610c1e611375565b73ffffffffffffffffffffffffffffffffffffffff16610c3c610d6b565b73ffffffffffffffffffffffffffffffffffffffff1614610c92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8990613060565b60405180910390fd5b610c9c6000611770565b565b6000610ca8611375565b73ffffffffffffffffffffffffffffffffffffffff16610cc6610d6b565b73ffffffffffffffffffffffffffffffffffffffff1614610d1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1390613060565b60405180910390fd5b6000610d2661080a565b905060005b6032811015610d5c57610d49338284610d4491906131f4565b611836565b8080610d5490613422565b915050610d2b565b50610d6561080a565b91505090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610da4906133bf565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd0906133bf565b8015610e1d5780601f10610df257610100808354040283529160200191610e1d565b820191906000526020600020905b815481529060010190602001808311610e0057829003601f168201915b5050505050905090565b600080610e3261080a565b90506127108382610e4391906131f4565b1115610e84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7b90613000565b60405180910390fd5b600a83610e97610e92611375565b610b5e565b610ea191906131f4565b1115610ee2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed990613100565b60405180910390fd5b8266470de4df820000610ef5919061327b565b341015610f37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2e90613120565b60405180910390fd5b60005b83811015610f7157610f5e610f4d611375565b8284610f5991906131f4565b611836565b8080610f6990613422565b915050610f3a565b5082915050919050565b610f8d610f86611375565b8383611854565b5050565b610fa2610f9c611375565b83611436565b610fe1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd8906130c0565b60405180910390fd5b610fed848484846119c1565b50505050565b6060600061100c60018461100791906131f4565b611a1d565b60405160200161101c9190612dcd565b6040516020818303038152906040529050600061106d61104760018661104291906131f4565b611a1d565b83604051602001611059929190612d88565b604051602081830303815290604052611bca565b9050806040516020016110809190612dfa565b60405160208183030381529060405291508192505050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611137611375565b73ffffffffffffffffffffffffffffffffffffffff16611155610d6b565b73ffffffffffffffffffffffffffffffffffffffff16146111ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a290613060565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561121b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121290612f00565b60405180910390fd5b61122481611770565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806112f257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611302575061130182611d69565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166113f083610aac565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061144182611309565b611480576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147790612f80565b60405180910390fd5b600061148b83610aac565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806114fa57508373ffffffffffffffffffffffffffffffffffffffff166114e28461066d565b73ffffffffffffffffffffffffffffffffffffffff16145b8061150b575061150a818561109b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661153482610aac565b73ffffffffffffffffffffffffffffffffffffffff161461158a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158190613080565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f190612f40565b60405180910390fd5b611605838383611dd3565b61161060008261137d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461166091906132d5565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116b791906131f4565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611850828260405180602001604052806000815250611ee7565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156118c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ba90612f60565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119b49190612e83565b60405180910390a3505050565b6119cc848484611514565b6119d884848484611f42565b611a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0e90612ee0565b60405180910390fd5b50505050565b60606000821415611a65576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611bc5565b600082905060005b60008214611a97578080611a8090613422565b915050600a82611a90919061324a565b9150611a6d565b60008167ffffffffffffffff811115611ad9577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611b0b5781602001600182028036833780820191505090505b5090505b60008514611bbe57600182611b2491906132d5565b9150600a85611b33919061346b565b6030611b3f91906131f4565b60f81b818381518110611b7b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611bb7919061324a565b9450611b0f565b8093505050505b919050565b6060600082511415611bed57604051806020016040528060008152509050611d64565b6000604051806060016040528060408152602001613d0e6040913990506000600360028551611c1c91906131f4565b611c26919061324a565b6004611c32919061327b565b90506000602082611c4391906131f4565b67ffffffffffffffff811115611c82577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611cb45781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015611d23576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050611cc8565b600389510660018114611d3d5760028114611d4d57611d58565b613d3d60f01b6002830352611d58565b603d60f81b60018303525b50505050508093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611dde8383836120d9565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e2157611e1c816120de565b611e60565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611e5f57611e5e8382612127565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ea357611e9e81612294565b611ee2565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611ee157611ee082826123d7565b5b5b505050565b611ef18383612456565b611efe6000848484611f42565b611f3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3490612ee0565b60405180910390fd5b505050565b6000611f638473ffffffffffffffffffffffffffffffffffffffff16612624565b156120cc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611f8c611375565b8786866040518563ffffffff1660e01b8152600401611fae9493929190612e37565b602060405180830381600087803b158015611fc857600080fd5b505af1925050508015611ff957506040513d601f19601f82011682018060405250810190611ff691906128d8565b60015b61207c573d8060008114612029576040519150601f19603f3d011682016040523d82523d6000602084013e61202e565b606091505b50600081511415612074576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206b90612ee0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506120d1565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161213484610b5e565b61213e91906132d5565b9050600060076000848152602001908152602001600020549050818114612223576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506122a891906132d5565b90506000600960008481526020019081526020016000205490506000600883815481106122fe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612346577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806123bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006123e283610b5e565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124bd90613020565b60405180910390fd5b6124cf81611309565b1561250f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250690612f20565b60405180910390fd5b61251b60008383611dd3565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461256b91906131f4565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b600061264a61264584613180565b61315b565b90508281526020810184848401111561266257600080fd5b61266d84828561337d565b509392505050565b60008135905061268481613cb1565b92915050565b60008135905061269981613cc8565b92915050565b6000813590506126ae81613cdf565b92915050565b6000815190506126c381613cdf565b92915050565b600082601f8301126126da57600080fd5b81356126ea848260208601612637565b91505092915050565b60008135905061270281613cf6565b92915050565b60006020828403121561271a57600080fd5b600061272884828501612675565b91505092915050565b6000806040838503121561274457600080fd5b600061275285828601612675565b925050602061276385828601612675565b9150509250929050565b60008060006060848603121561278257600080fd5b600061279086828701612675565b93505060206127a186828701612675565b92505060406127b2868287016126f3565b9150509250925092565b600080600080608085870312156127d257600080fd5b60006127e087828801612675565b94505060206127f187828801612675565b9350506040612802878288016126f3565b925050606085013567ffffffffffffffff81111561281f57600080fd5b61282b878288016126c9565b91505092959194509250565b6000806040838503121561284a57600080fd5b600061285885828601612675565b92505060206128698582860161268a565b9150509250929050565b6000806040838503121561288657600080fd5b600061289485828601612675565b92505060206128a5858286016126f3565b9150509250929050565b6000602082840312156128c157600080fd5b60006128cf8482850161269f565b91505092915050565b6000602082840312156128ea57600080fd5b60006128f8848285016126b4565b91505092915050565b60006020828403121561291357600080fd5b6000612921848285016126f3565b91505092915050565b61293381613309565b82525050565b6129428161331b565b82525050565b6000612953826131b1565b61295d81856131c7565b935061296d81856020860161338c565b61297681613558565b840191505092915050565b600061298c826131bc565b61299681856131d8565b93506129a681856020860161338c565b6129af81613558565b840191505092915050565b60006129c5826131bc565b6129cf81856131e9565b93506129df81856020860161338c565b80840191505092915050565b60006129f8602b836131d8565b9150612a0382613569565b604082019050919050565b6000612a1b6032836131d8565b9150612a26826135b8565b604082019050919050565b6000612a3e6026836131d8565b9150612a4982613607565b604082019050919050565b6000612a61601c836131d8565b9150612a6c82613656565b602082019050919050565b6000612a8460c9836131e9565b9150612a8f8261367f565b60c982019050919050565b6000612aa76004836131e9565b9150612ab28261378c565b600482019050919050565b6000612aca6010836131e9565b9150612ad5826137b5565b601082019050919050565b6000612aed6024836131d8565b9150612af8826137de565b604082019050919050565b6000612b106019836131d8565b9150612b1b8261382d565b602082019050919050565b6000612b33602c836131d8565b9150612b3e82613856565b604082019050919050565b6000612b566051836131e9565b9150612b61826138a5565b605182019050919050565b6000612b796038836131d8565b9150612b848261391a565b604082019050919050565b6000612b9c602a836131d8565b9150612ba782613969565b604082019050919050565b6000612bbf6029836131d8565b9150612bca826139b8565b604082019050919050565b6000612be26002836131e9565b9150612bed82613a07565b600282019050919050565b6000612c05601a836131d8565b9150612c1082613a30565b602082019050919050565b6000612c286020836131d8565b9150612c3382613a59565b602082019050919050565b6000612c4b602c836131d8565b9150612c5682613a82565b604082019050919050565b6000612c6e6020836131d8565b9150612c7982613ad1565b602082019050919050565b6000612c916029836131d8565b9150612c9c82613afa565b604082019050919050565b6000612cb46021836131d8565b9150612cbf82613b49565b604082019050919050565b6000612cd7601d836131e9565b9150612ce282613b98565b601d82019050919050565b6000612cfa6031836131d8565b9150612d0582613bc1565b604082019050919050565b6000612d1d602c836131d8565b9150612d2882613c10565b604082019050919050565b6000612d406011836131d8565b9150612d4b82613c5f565b602082019050919050565b6000612d636013836131d8565b9150612d6e82613c88565b602082019050919050565b612d8281613373565b82525050565b6000612d9382612abd565b9150612d9f82856129ba565b9150612daa82612a77565b9150612db682846129ba565b9150612dc182612bd5565b91508190509392505050565b6000612dd882612b49565b9150612de482846129ba565b9150612def82612a9a565b915081905092915050565b6000612e0582612cca565b9150612e1182846129ba565b915081905092915050565b6000602082019050612e31600083018461292a565b92915050565b6000608082019050612e4c600083018761292a565b612e59602083018661292a565b612e666040830185612d79565b8181036060830152612e788184612948565b905095945050505050565b6000602082019050612e986000830184612939565b92915050565b60006020820190508181036000830152612eb88184612981565b905092915050565b60006020820190508181036000830152612ed9816129eb565b9050919050565b60006020820190508181036000830152612ef981612a0e565b9050919050565b60006020820190508181036000830152612f1981612a31565b9050919050565b60006020820190508181036000830152612f3981612a54565b9050919050565b60006020820190508181036000830152612f5981612ae0565b9050919050565b60006020820190508181036000830152612f7981612b03565b9050919050565b60006020820190508181036000830152612f9981612b26565b9050919050565b60006020820190508181036000830152612fb981612b6c565b9050919050565b60006020820190508181036000830152612fd981612b8f565b9050919050565b60006020820190508181036000830152612ff981612bb2565b9050919050565b6000602082019050818103600083015261301981612bf8565b9050919050565b6000602082019050818103600083015261303981612c1b565b9050919050565b6000602082019050818103600083015261305981612c3e565b9050919050565b6000602082019050818103600083015261307981612c61565b9050919050565b6000602082019050818103600083015261309981612c84565b9050919050565b600060208201905081810360008301526130b981612ca7565b9050919050565b600060208201905081810360008301526130d981612ced565b9050919050565b600060208201905081810360008301526130f981612d10565b9050919050565b6000602082019050818103600083015261311981612d33565b9050919050565b6000602082019050818103600083015261313981612d56565b9050919050565b60006020820190506131556000830184612d79565b92915050565b6000613165613176565b905061317182826133f1565b919050565b6000604051905090565b600067ffffffffffffffff82111561319b5761319a613529565b5b6131a482613558565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006131ff82613373565b915061320a83613373565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561323f5761323e61349c565b5b828201905092915050565b600061325582613373565b915061326083613373565b9250826132705761326f6134cb565b5b828204905092915050565b600061328682613373565b915061329183613373565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156132ca576132c961349c565b5b828202905092915050565b60006132e082613373565b91506132eb83613373565b9250828210156132fe576132fd61349c565b5b828203905092915050565b600061331482613353565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156133aa57808201518184015260208101905061338f565b838111156133b9576000848401525b50505050565b600060028204905060018216806133d757607f821691505b602082108114156133eb576133ea6134fa565b5b50919050565b6133fa82613558565b810181811067ffffffffffffffff8211171561341957613418613529565b5b80604052505050565b600061342d82613373565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156134605761345f61349c565b5b600182019050919050565b600061347682613373565b915061348183613373565b925082613491576134906134cb565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f222c20226465736372697074696f6e223a20225468652048657820417065205960008201527f6163687420436c7562206973206120636f6c6c656374696f6e206f662031304b60208201527f20756e697175652048657820417065204e4654732c20756e697175652064696760408201527f6974616c20636f6c6c65637469626c6573206c6976696e67206f6e207468652060608201527f457468657265756d20626c6f636b636861696e2e20496e7370697265642c206260808201527f7574206e6f7420616666696c6961746564207769746820424159432e222c202260a08201527f696d616765223a2022000000000000000000000000000000000000000000000060c082015250565b7f2e706e6700000000000000000000000000000000000000000000000000000000600082015250565b7f7b226e616d65223a202248415943202300000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f68747470733a2f2f676174657761792e70696e6174612e636c6f75642f69706660008201527f732f516d65683747575436746d32774d4e535858486136567042346a415a383160208201527f677a6163546576543755377041736f332f000000000000000000000000000000604082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f4d696e7420616c7265616479206174206d617820737570706c79000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4d696e7420636170206578636565646564000000000000000000000000000000600082015250565b7f53656e7420616d6f756e7420746f6f206c6f7700000000000000000000000000600082015250565b613cba81613309565b8114613cc557600080fd5b50565b613cd18161331b565b8114613cdc57600080fd5b50565b613ce881613327565b8114613cf357600080fd5b50565b613cff81613373565b8114613d0a57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212200f5ba632df3db6dc7fbbdacc05590ca99d6a70b986e7dc88da01a9516a033e0164736f6c63430008040033
Deployed Bytecode
0x6080604052600436106101355760003560e01c806370a08231116100ab578063a0712d681161006f578063a0712d681461043c578063a22cb4651461046c578063b88d4fde14610495578063c87b56dd146104be578063e985e9c5146104fb578063f2fde38b1461053857610135565b806370a0823114610367578063715018a6146103a45780638be7dfbb146103bb5780638da5cb5b146103e657806395d89b411461041157610135565b806323b872dd116100fd57806323b872dd146102335780632f745c591461025c5780633ccfd60b1461029957806342842e0e146102c45780634f6ccce7146102ed5780636352211e1461032a57610135565b806301ffc9a71461013a57806306fdde0314610177578063081812fc146101a2578063095ea7b3146101df57806318160ddd14610208575b600080fd5b34801561014657600080fd5b50610161600480360381019061015c91906128af565b610561565b60405161016e9190612e83565b60405180910390f35b34801561018357600080fd5b5061018c6105db565b6040516101999190612e9e565b60405180910390f35b3480156101ae57600080fd5b506101c960048036038101906101c49190612901565b61066d565b6040516101d69190612e1c565b60405180910390f35b3480156101eb57600080fd5b5061020660048036038101906102019190612873565b6106f2565b005b34801561021457600080fd5b5061021d61080a565b60405161022a9190613140565b60405180910390f35b34801561023f57600080fd5b5061025a6004803603810190610255919061276d565b610817565b005b34801561026857600080fd5b50610283600480360381019061027e9190612873565b610877565b6040516102909190613140565b60405180910390f35b3480156102a557600080fd5b506102ae61091c565b6040516102bb9190612e83565b60405180910390f35b3480156102d057600080fd5b506102eb60048036038101906102e6919061276d565b6109f5565b005b3480156102f957600080fd5b50610314600480360381019061030f9190612901565b610a15565b6040516103219190613140565b60405180910390f35b34801561033657600080fd5b50610351600480360381019061034c9190612901565b610aac565b60405161035e9190612e1c565b60405180910390f35b34801561037357600080fd5b5061038e60048036038101906103899190612708565b610b5e565b60405161039b9190613140565b60405180910390f35b3480156103b057600080fd5b506103b9610c16565b005b3480156103c757600080fd5b506103d0610c9e565b6040516103dd9190613140565b60405180910390f35b3480156103f257600080fd5b506103fb610d6b565b6040516104089190612e1c565b60405180910390f35b34801561041d57600080fd5b50610426610d95565b6040516104339190612e9e565b60405180910390f35b61045660048036038101906104519190612901565b610e27565b6040516104639190613140565b60405180910390f35b34801561047857600080fd5b50610493600480360381019061048e9190612837565b610f7b565b005b3480156104a157600080fd5b506104bc60048036038101906104b791906127bc565b610f91565b005b3480156104ca57600080fd5b506104e560048036038101906104e09190612901565b610ff3565b6040516104f29190612e9e565b60405180910390f35b34801561050757600080fd5b50610522600480360381019061051d9190612731565b61109b565b60405161052f9190612e83565b60405180910390f35b34801561054457600080fd5b5061055f600480360381019061055a9190612708565b61112f565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105d457506105d382611227565b5b9050919050565b6060600080546105ea906133bf565b80601f0160208091040260200160405190810160405280929190818152602001828054610616906133bf565b80156106635780601f1061063857610100808354040283529160200191610663565b820191906000526020600020905b81548152906001019060200180831161064657829003601f168201915b5050505050905090565b600061067882611309565b6106b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ae90613040565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106fd82610aac565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561076e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610765906130a0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661078d611375565b73ffffffffffffffffffffffffffffffffffffffff1614806107bc57506107bb816107b6611375565b61109b565b5b6107fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f290612fa0565b60405180910390fd5b610805838361137d565b505050565b6000600880549050905090565b610828610822611375565b82611436565b610867576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085e906130c0565b60405180910390fd5b610872838383611514565b505050565b600061088283610b5e565b82106108c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ba90612ec0565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000610926611375565b73ffffffffffffffffffffffffffffffffffffffff16610944610d6b565b73ffffffffffffffffffffffffffffffffffffffff161461099a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099190613060565b60405180910390fd5b60004790506109a7611375565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156109ec573d6000803e3d6000fd5b50600191505090565b610a1083838360405180602001604052806000815250610f91565b505050565b6000610a1f61080a565b8210610a60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a57906130e0565b60405180910390fd5b60088281548110610a9a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610b55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4c90612fe0565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc690612fc0565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610c1e611375565b73ffffffffffffffffffffffffffffffffffffffff16610c3c610d6b565b73ffffffffffffffffffffffffffffffffffffffff1614610c92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8990613060565b60405180910390fd5b610c9c6000611770565b565b6000610ca8611375565b73ffffffffffffffffffffffffffffffffffffffff16610cc6610d6b565b73ffffffffffffffffffffffffffffffffffffffff1614610d1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1390613060565b60405180910390fd5b6000610d2661080a565b905060005b6032811015610d5c57610d49338284610d4491906131f4565b611836565b8080610d5490613422565b915050610d2b565b50610d6561080a565b91505090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610da4906133bf565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd0906133bf565b8015610e1d5780601f10610df257610100808354040283529160200191610e1d565b820191906000526020600020905b815481529060010190602001808311610e0057829003601f168201915b5050505050905090565b600080610e3261080a565b90506127108382610e4391906131f4565b1115610e84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7b90613000565b60405180910390fd5b600a83610e97610e92611375565b610b5e565b610ea191906131f4565b1115610ee2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed990613100565b60405180910390fd5b8266470de4df820000610ef5919061327b565b341015610f37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2e90613120565b60405180910390fd5b60005b83811015610f7157610f5e610f4d611375565b8284610f5991906131f4565b611836565b8080610f6990613422565b915050610f3a565b5082915050919050565b610f8d610f86611375565b8383611854565b5050565b610fa2610f9c611375565b83611436565b610fe1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd8906130c0565b60405180910390fd5b610fed848484846119c1565b50505050565b6060600061100c60018461100791906131f4565b611a1d565b60405160200161101c9190612dcd565b6040516020818303038152906040529050600061106d61104760018661104291906131f4565b611a1d565b83604051602001611059929190612d88565b604051602081830303815290604052611bca565b9050806040516020016110809190612dfa565b60405160208183030381529060405291508192505050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611137611375565b73ffffffffffffffffffffffffffffffffffffffff16611155610d6b565b73ffffffffffffffffffffffffffffffffffffffff16146111ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a290613060565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561121b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121290612f00565b60405180910390fd5b61122481611770565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806112f257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611302575061130182611d69565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166113f083610aac565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061144182611309565b611480576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147790612f80565b60405180910390fd5b600061148b83610aac565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806114fa57508373ffffffffffffffffffffffffffffffffffffffff166114e28461066d565b73ffffffffffffffffffffffffffffffffffffffff16145b8061150b575061150a818561109b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661153482610aac565b73ffffffffffffffffffffffffffffffffffffffff161461158a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158190613080565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f190612f40565b60405180910390fd5b611605838383611dd3565b61161060008261137d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461166091906132d5565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116b791906131f4565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611850828260405180602001604052806000815250611ee7565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156118c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ba90612f60565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119b49190612e83565b60405180910390a3505050565b6119cc848484611514565b6119d884848484611f42565b611a17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0e90612ee0565b60405180910390fd5b50505050565b60606000821415611a65576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611bc5565b600082905060005b60008214611a97578080611a8090613422565b915050600a82611a90919061324a565b9150611a6d565b60008167ffffffffffffffff811115611ad9577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611b0b5781602001600182028036833780820191505090505b5090505b60008514611bbe57600182611b2491906132d5565b9150600a85611b33919061346b565b6030611b3f91906131f4565b60f81b818381518110611b7b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611bb7919061324a565b9450611b0f565b8093505050505b919050565b6060600082511415611bed57604051806020016040528060008152509050611d64565b6000604051806060016040528060408152602001613d0e6040913990506000600360028551611c1c91906131f4565b611c26919061324a565b6004611c32919061327b565b90506000602082611c4391906131f4565b67ffffffffffffffff811115611c82577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611cb45781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015611d23576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050611cc8565b600389510660018114611d3d5760028114611d4d57611d58565b613d3d60f01b6002830352611d58565b603d60f81b60018303525b50505050508093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611dde8383836120d9565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e2157611e1c816120de565b611e60565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611e5f57611e5e8382612127565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ea357611e9e81612294565b611ee2565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611ee157611ee082826123d7565b5b5b505050565b611ef18383612456565b611efe6000848484611f42565b611f3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3490612ee0565b60405180910390fd5b505050565b6000611f638473ffffffffffffffffffffffffffffffffffffffff16612624565b156120cc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611f8c611375565b8786866040518563ffffffff1660e01b8152600401611fae9493929190612e37565b602060405180830381600087803b158015611fc857600080fd5b505af1925050508015611ff957506040513d601f19601f82011682018060405250810190611ff691906128d8565b60015b61207c573d8060008114612029576040519150601f19603f3d011682016040523d82523d6000602084013e61202e565b606091505b50600081511415612074576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206b90612ee0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506120d1565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161213484610b5e565b61213e91906132d5565b9050600060076000848152602001908152602001600020549050818114612223576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506122a891906132d5565b90506000600960008481526020019081526020016000205490506000600883815481106122fe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612346577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806123bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006123e283610b5e565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124bd90613020565b60405180910390fd5b6124cf81611309565b1561250f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250690612f20565b60405180910390fd5b61251b60008383611dd3565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461256b91906131f4565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b600061264a61264584613180565b61315b565b90508281526020810184848401111561266257600080fd5b61266d84828561337d565b509392505050565b60008135905061268481613cb1565b92915050565b60008135905061269981613cc8565b92915050565b6000813590506126ae81613cdf565b92915050565b6000815190506126c381613cdf565b92915050565b600082601f8301126126da57600080fd5b81356126ea848260208601612637565b91505092915050565b60008135905061270281613cf6565b92915050565b60006020828403121561271a57600080fd5b600061272884828501612675565b91505092915050565b6000806040838503121561274457600080fd5b600061275285828601612675565b925050602061276385828601612675565b9150509250929050565b60008060006060848603121561278257600080fd5b600061279086828701612675565b93505060206127a186828701612675565b92505060406127b2868287016126f3565b9150509250925092565b600080600080608085870312156127d257600080fd5b60006127e087828801612675565b94505060206127f187828801612675565b9350506040612802878288016126f3565b925050606085013567ffffffffffffffff81111561281f57600080fd5b61282b878288016126c9565b91505092959194509250565b6000806040838503121561284a57600080fd5b600061285885828601612675565b92505060206128698582860161268a565b9150509250929050565b6000806040838503121561288657600080fd5b600061289485828601612675565b92505060206128a5858286016126f3565b9150509250929050565b6000602082840312156128c157600080fd5b60006128cf8482850161269f565b91505092915050565b6000602082840312156128ea57600080fd5b60006128f8848285016126b4565b91505092915050565b60006020828403121561291357600080fd5b6000612921848285016126f3565b91505092915050565b61293381613309565b82525050565b6129428161331b565b82525050565b6000612953826131b1565b61295d81856131c7565b935061296d81856020860161338c565b61297681613558565b840191505092915050565b600061298c826131bc565b61299681856131d8565b93506129a681856020860161338c565b6129af81613558565b840191505092915050565b60006129c5826131bc565b6129cf81856131e9565b93506129df81856020860161338c565b80840191505092915050565b60006129f8602b836131d8565b9150612a0382613569565b604082019050919050565b6000612a1b6032836131d8565b9150612a26826135b8565b604082019050919050565b6000612a3e6026836131d8565b9150612a4982613607565b604082019050919050565b6000612a61601c836131d8565b9150612a6c82613656565b602082019050919050565b6000612a8460c9836131e9565b9150612a8f8261367f565b60c982019050919050565b6000612aa76004836131e9565b9150612ab28261378c565b600482019050919050565b6000612aca6010836131e9565b9150612ad5826137b5565b601082019050919050565b6000612aed6024836131d8565b9150612af8826137de565b604082019050919050565b6000612b106019836131d8565b9150612b1b8261382d565b602082019050919050565b6000612b33602c836131d8565b9150612b3e82613856565b604082019050919050565b6000612b566051836131e9565b9150612b61826138a5565b605182019050919050565b6000612b796038836131d8565b9150612b848261391a565b604082019050919050565b6000612b9c602a836131d8565b9150612ba782613969565b604082019050919050565b6000612bbf6029836131d8565b9150612bca826139b8565b604082019050919050565b6000612be26002836131e9565b9150612bed82613a07565b600282019050919050565b6000612c05601a836131d8565b9150612c1082613a30565b602082019050919050565b6000612c286020836131d8565b9150612c3382613a59565b602082019050919050565b6000612c4b602c836131d8565b9150612c5682613a82565b604082019050919050565b6000612c6e6020836131d8565b9150612c7982613ad1565b602082019050919050565b6000612c916029836131d8565b9150612c9c82613afa565b604082019050919050565b6000612cb46021836131d8565b9150612cbf82613b49565b604082019050919050565b6000612cd7601d836131e9565b9150612ce282613b98565b601d82019050919050565b6000612cfa6031836131d8565b9150612d0582613bc1565b604082019050919050565b6000612d1d602c836131d8565b9150612d2882613c10565b604082019050919050565b6000612d406011836131d8565b9150612d4b82613c5f565b602082019050919050565b6000612d636013836131d8565b9150612d6e82613c88565b602082019050919050565b612d8281613373565b82525050565b6000612d9382612abd565b9150612d9f82856129ba565b9150612daa82612a77565b9150612db682846129ba565b9150612dc182612bd5565b91508190509392505050565b6000612dd882612b49565b9150612de482846129ba565b9150612def82612a9a565b915081905092915050565b6000612e0582612cca565b9150612e1182846129ba565b915081905092915050565b6000602082019050612e31600083018461292a565b92915050565b6000608082019050612e4c600083018761292a565b612e59602083018661292a565b612e666040830185612d79565b8181036060830152612e788184612948565b905095945050505050565b6000602082019050612e986000830184612939565b92915050565b60006020820190508181036000830152612eb88184612981565b905092915050565b60006020820190508181036000830152612ed9816129eb565b9050919050565b60006020820190508181036000830152612ef981612a0e565b9050919050565b60006020820190508181036000830152612f1981612a31565b9050919050565b60006020820190508181036000830152612f3981612a54565b9050919050565b60006020820190508181036000830152612f5981612ae0565b9050919050565b60006020820190508181036000830152612f7981612b03565b9050919050565b60006020820190508181036000830152612f9981612b26565b9050919050565b60006020820190508181036000830152612fb981612b6c565b9050919050565b60006020820190508181036000830152612fd981612b8f565b9050919050565b60006020820190508181036000830152612ff981612bb2565b9050919050565b6000602082019050818103600083015261301981612bf8565b9050919050565b6000602082019050818103600083015261303981612c1b565b9050919050565b6000602082019050818103600083015261305981612c3e565b9050919050565b6000602082019050818103600083015261307981612c61565b9050919050565b6000602082019050818103600083015261309981612c84565b9050919050565b600060208201905081810360008301526130b981612ca7565b9050919050565b600060208201905081810360008301526130d981612ced565b9050919050565b600060208201905081810360008301526130f981612d10565b9050919050565b6000602082019050818103600083015261311981612d33565b9050919050565b6000602082019050818103600083015261313981612d56565b9050919050565b60006020820190506131556000830184612d79565b92915050565b6000613165613176565b905061317182826133f1565b919050565b6000604051905090565b600067ffffffffffffffff82111561319b5761319a613529565b5b6131a482613558565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006131ff82613373565b915061320a83613373565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561323f5761323e61349c565b5b828201905092915050565b600061325582613373565b915061326083613373565b9250826132705761326f6134cb565b5b828204905092915050565b600061328682613373565b915061329183613373565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156132ca576132c961349c565b5b828202905092915050565b60006132e082613373565b91506132eb83613373565b9250828210156132fe576132fd61349c565b5b828203905092915050565b600061331482613353565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156133aa57808201518184015260208101905061338f565b838111156133b9576000848401525b50505050565b600060028204905060018216806133d757607f821691505b602082108114156133eb576133ea6134fa565b5b50919050565b6133fa82613558565b810181811067ffffffffffffffff8211171561341957613418613529565b5b80604052505050565b600061342d82613373565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156134605761345f61349c565b5b600182019050919050565b600061347682613373565b915061348183613373565b925082613491576134906134cb565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f222c20226465736372697074696f6e223a20225468652048657820417065205960008201527f6163687420436c7562206973206120636f6c6c656374696f6e206f662031304b60208201527f20756e697175652048657820417065204e4654732c20756e697175652064696760408201527f6974616c20636f6c6c65637469626c6573206c6976696e67206f6e207468652060608201527f457468657265756d20626c6f636b636861696e2e20496e7370697265642c206260808201527f7574206e6f7420616666696c6961746564207769746820424159432e222c202260a08201527f696d616765223a2022000000000000000000000000000000000000000000000060c082015250565b7f2e706e6700000000000000000000000000000000000000000000000000000000600082015250565b7f7b226e616d65223a202248415943202300000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f68747470733a2f2f676174657761792e70696e6174612e636c6f75642f69706660008201527f732f516d65683747575436746d32774d4e535858486136567042346a415a383160208201527f677a6163546576543755377041736f332f000000000000000000000000000000604082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f4d696e7420616c7265616479206174206d617820737570706c79000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4d696e7420636170206578636565646564000000000000000000000000000000600082015250565b7f53656e7420616d6f756e7420746f6f206c6f7700000000000000000000000000600082015250565b613cba81613309565b8114613cc557600080fd5b50565b613cd18161331b565b8114613cdc57600080fd5b50565b613ce881613327565b8114613cf357600080fd5b50565b613cff81613373565b8114613d0a57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212200f5ba632df3db6dc7fbbdacc05590ca99d6a70b986e7dc88da01a9516a033e0164736f6c63430008040033
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.