Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 13313001 | 1005 days ago | IN | Create: Club721NFTV1 | 0 ETH | 0.21634499 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
Club721NFTV1
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import {OwnableUpgradeable} from "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import {ERC721EnumerableUpgradeable} from "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/ERC721EnumerableUpgradeable.sol"; import {IERC721Upgradeable} from "@openzeppelin/contracts-upgradeable/token/ERC721/IERC721Upgradeable.sol"; import {IERC20Upgradeable} from "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol"; import {Initializable} from "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import {EIP712Upgradeable} from "@openzeppelin/contracts-upgradeable/utils/cryptography/draft-EIP712Upgradeable.sol"; import {ECDSAUpgradeable} from "@openzeppelin/contracts-upgradeable/utils/cryptography/ECDSAUpgradeable.sol"; contract Club721NFTV1 is OwnableUpgradeable, EIP712Upgradeable, ERC721EnumerableUpgradeable { // $ sha256sum club721member.mp4 string public constant provenanceHash = "32821497793b2290db4071bfcacfab4e3e73f143054cce38705abdbc3c9a7c22"; bytes32 public constant MINT_CALL_HASH_TYPE = keccak256("mint(address receiver,uint256 maxMember)"); uint256 public maxMember; uint256 public ogCount; string public ogURI; string public contractURI; string public baseURI; address public clubSigner; bool public paused; mapping(bytes32 => bool) public digestUsed; modifier whenNotPaused() { require(!paused, "Club721NFT: paused"); _; } function initialize(address _newOwner) public initializer { __Context_init_unchained(); __Ownable_init_unchained(); __EIP712_init_unchained('Club721NFT', '1'); __ERC165_init_unchained(); __ERC721_init_unchained('Club721 Membership', 'Club721'); __ERC721Enumerable_init_unchained(); paused = true; clubSigner = 0xaAE9B47610c7bEB41CDe4e6897C82F5181AF5fBE; maxMember = 307; ogCount = 307; contractURI = "https://infura-ipfs.io/ipfs/QmVtQZv3amc2ra4A2EynD9iD43QKD66fEKiiKXWBappHgH"; baseURI = "https://infura-ipfs.io/ipfs/QmeLtPiVp6565mGVwtdqhw5AnPKUnsgWn6W8czEiPuoZsd"; ogURI = "https://infura-ipfs.io/ipfs/QmSqNh26UVnkjtguPa14nVn9nKffkYkUWGVVZocArSZu8Y"; _mint(0x8c0d2B62F133Db265EC8554282eE60EcA0Fd5a9E, 0); _mint(0x0D342C14B14044bff092418B1D05e2Ab8aB61c11, 1); _mint(0x8c0d2B62F133Db265EC8554282eE60EcA0Fd5a9E, 2); _mint(0x1E57e21CC3de9407749edA5Bfc544eB7c58da9d2, 3); _mint(0x0dee503261FA153BC9372f5b201C56Ead3b33721, 4); _mint(0x142ec4245e4e64b975FD0A5596BE8AbcC0378888, 5); _mint(0x11D3D7a8E98e25081fA16D5660ADab6eB3952999, 6); transferOwnership(_newOwner); } /// @custom:oz-upgrades-unsafe-allow constructor constructor() initializer {} function mint(bytes memory signature) external whenNotPaused { uint256 total = totalSupply(); require(total + 1 <= maxMember, "Club721NFT: Exceed the max supply"); address sender = msg.sender; bytes32 digest = getDigestWithPrefix(sender); require(!digestUsed[digest], "Club721NFT: digest used"); address _signer = ECDSAUpgradeable.recover(digest, signature); require(clubSigner == _signer, "Club721NFT: Invalid signer"); digestUsed[digest] = true; _safeMint(sender, total); } function getDigestWithPrefix(address sender) public view returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", getDigest(sender))); } function getDigest(address sender) public view returns (bytes32) { return _hashTypedDataV4(keccak256(abi.encode(MINT_CALL_HASH_TYPE, sender, maxMember))); } function _baseURI() internal view override returns (string memory) { return baseURI; } function tokenURI(uint256 tokenId) public view override returns (string memory) { if (tokenId < ogCount) { return ogURI; } return baseURI; } function ownerMint(address to, uint256 count) public onlyOwner { require(count > 0, "Club721NFT: Mint zero nft"); uint256 total = totalSupply(); require(total + count <= maxMember, "Club721NFT: Exceed the max supply"); for (uint256 i = 0; i < count; i++) { _mint(to, total + i); } } function doPause() external onlyOwner { paused = true; } function unpause() external onlyOwner { paused = false; } function setSigner(address _signer) external onlyOwner { clubSigner = _signer; } function setMaxMember(uint256 _maxMember) external onlyOwner { maxMember = _maxMember; } function setOgCount(uint256 _ogCount) external onlyOwner { ogCount = _ogCount; } function setOgURI(string calldata _uri) external onlyOwner { ogURI = _uri; } function setBaseURI(string calldata _uri) external onlyOwner { baseURI = _uri; } function setContractURI(string calldata _uri) external onlyOwner { contractURI = _uri; } function approveERC721(IERC721Upgradeable _nft, address who, bool approved) external onlyOwner { _nft.setApprovalForAll(who, approved); } function approveERC20(IERC20Upgradeable _token, address who, uint256 amount) external onlyOwner { _token.approve(who, amount); } function withdraw() external onlyOwner { payable(msg.sender).transfer(address(this).balance); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/ContextUpgradeable.sol"; import "../proxy/utils/Initializable.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 OwnableUpgradeable is Initializable, ContextUpgradeable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal initializer { __Context_init_unchained(); __Ownable_init_unchained(); } function __Ownable_init_unchained() internal initializer { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } uint256[49] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721Upgradeable.sol"; import "./IERC721EnumerableUpgradeable.sol"; import "../../../proxy/utils/Initializable.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 ERC721EnumerableUpgradeable is Initializable, ERC721Upgradeable, IERC721EnumerableUpgradeable { function __ERC721Enumerable_init() internal initializer { __Context_init_unchained(); __ERC165_init_unchained(); __ERC721Enumerable_init_unchained(); } function __ERC721Enumerable_init_unchained() internal initializer { } // 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(IERC165Upgradeable, ERC721Upgradeable) returns (bool) { return interfaceId == type(IERC721EnumerableUpgradeable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721Upgradeable.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 < ERC721EnumerableUpgradeable.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 = ERC721Upgradeable.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 = ERC721Upgradeable.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(); } uint256[46] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165Upgradeable.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721Upgradeable is IERC165Upgradeable { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20Upgradeable { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Modifier to protect an initializer function from being invoked twice. */ modifier initializer() { require(_initializing || !_initialized, "Initializable: contract is already initialized"); bool isTopLevelCall = !_initializing; if (isTopLevelCall) { _initializing = true; _initialized = true; } _; if (isTopLevelCall) { _initializing = false; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ECDSAUpgradeable.sol"; import "../../proxy/utils/Initializable.sol"; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * _Available since v3.4._ */ abstract contract EIP712Upgradeable is Initializable { /* solhint-disable var-name-mixedcase */ bytes32 private _HASHED_NAME; bytes32 private _HASHED_VERSION; bytes32 private constant _TYPE_HASH = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"); /* solhint-enable var-name-mixedcase */ /** * @dev Initializes the domain separator and parameter caches. * * The meaning of `name` and `version` is specified in * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: * * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. * - `version`: the current major version of the signing domain. * * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart * contract upgrade]. */ function __EIP712_init(string memory name, string memory version) internal initializer { __EIP712_init_unchained(name, version); } function __EIP712_init_unchained(string memory name, string memory version) internal initializer { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { return _buildDomainSeparator(_TYPE_HASH, _EIP712NameHash(), _EIP712VersionHash()); } function _buildDomainSeparator( bytes32 typeHash, bytes32 nameHash, bytes32 versionHash ) private view returns (bytes32) { return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this))); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return ECDSAUpgradeable.toTypedDataHash(_domainSeparatorV4(), structHash); } /** * @dev The hash of the name parameter for the EIP712 domain. * * NOTE: This function reads from storage by default, but can be redefined to return a constant value if gas costs * are a concern. */ function _EIP712NameHash() internal virtual view returns (bytes32) { return _HASHED_NAME; } /** * @dev The hash of the version parameter for the EIP712 domain. * * NOTE: This function reads from storage by default, but can be redefined to return a constant value if gas costs * are a concern. */ function _EIP712VersionHash() internal virtual view returns (bytes32) { return _HASHED_VERSION; } uint256[50] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSAUpgradeable { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../proxy/utils/Initializable.sol"; /** * @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 ContextUpgradeable is Initializable { function __Context_init() internal initializer { __Context_init_unchained(); } function __Context_init_unchained() internal initializer { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } uint256[50] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721Upgradeable.sol"; import "./IERC721ReceiverUpgradeable.sol"; import "./extensions/IERC721MetadataUpgradeable.sol"; import "../../utils/AddressUpgradeable.sol"; import "../../utils/ContextUpgradeable.sol"; import "../../utils/StringsUpgradeable.sol"; import "../../utils/introspection/ERC165Upgradeable.sol"; import "../../proxy/utils/Initializable.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 ERC721Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC721Upgradeable, IERC721MetadataUpgradeable { using AddressUpgradeable for address; using StringsUpgradeable 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. */ function __ERC721_init(string memory name_, string memory symbol_) internal initializer { __Context_init_unchained(); __ERC165_init_unchained(); __ERC721_init_unchained(name_, symbol_); } function __ERC721_init_unchained(string memory name_, string memory symbol_) internal initializer { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165Upgradeable, IERC165Upgradeable) returns (bool) { return interfaceId == type(IERC721Upgradeable).interfaceId || interfaceId == type(IERC721MetadataUpgradeable).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 = ERC721Upgradeable.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 { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public 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 = ERC721Upgradeable.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 = ERC721Upgradeable.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(ERC721Upgradeable.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(ERC721Upgradeable.ownerOf(tokenId), to, tokenId); } /** * @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 IERC721ReceiverUpgradeable(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721ReceiverUpgradeable.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 {} uint256[44] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721Upgradeable.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721EnumerableUpgradeable is IERC721Upgradeable { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721ReceiverUpgradeable { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721Upgradeable.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721MetadataUpgradeable is IERC721Upgradeable { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @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 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 pragma solidity ^0.8.0; /** * @dev String operations. */ library StringsUpgradeable { 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; import "./IERC165Upgradeable.sol"; import "../../proxy/utils/Initializable.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 ERC165Upgradeable is Initializable, IERC165Upgradeable { function __ERC165_init() internal initializer { __ERC165_init_unchained(); } function __ERC165_init_unchained() internal initializer { } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165Upgradeable).interfaceId; } uint256[50] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165Upgradeable { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "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":[],"name":"MINT_CALL_HASH_TYPE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20Upgradeable","name":"_token","type":"address"},{"internalType":"address","name":"who","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approveERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC721Upgradeable","name":"_nft","type":"address"},{"internalType":"address","name":"who","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"approveERC721","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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"clubSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"digestUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"doPause","outputs":[],"stateMutability":"nonpayable","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":"sender","type":"address"}],"name":"getDigest","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"getDigestWithPrefix","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMember","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogURI","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":"address","name":"to","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenanceHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMember","type":"uint256"}],"name":"setMaxMember","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ogCount","type":"uint256"}],"name":"setOgCount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setOgURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"setSigner","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":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50600054610100900460ff16806200002c575060005460ff16155b620000945760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840160405180910390fd5b600054610100900460ff16158015620000b7576000805461ffff19166101011790555b8015620000ca576000805461ff00191690555b506135c280620000db6000396000f3fe608060405234801561001057600080fd5b50600436106102ff5760003560e01c80636c19e7831161019c578063b88d4fde116100ee578063d1ca131f11610097578063e985e9c511610071578063e985e9c514610612578063f2fde38b1461064e578063fbec14ea1461066157600080fd5b8063d1ca131f146105e4578063d88c869b146105f7578063e8a3d4851461060a57600080fd5b8063c6ab67a3116100c8578063c6ab67a3146105b6578063c87b56dd146105be578063cd526c73146105d157600080fd5b8063b88d4fde14610569578063c4d66de81461057c578063c688387f1461058f57600080fd5b80638da5cb5b1161015057806395d89b411161012a57806395d89b411461053b578063a22cb46514610543578063a8e5e4aa1461055657600080fd5b80638da5cb5b1461050d578063938e3d7b1461051e5780639457990a1461053157600080fd5b8063715018a611610181578063715018a6146104ce57806372a8dba6146104d65780637ba0e2e7146104fa57600080fd5b80636c19e783146104a857806370a08231146104bb57600080fd5b8063427512a31161025557806355d1fe16116102095780636352211e116101e35780636352211e1461048557806367d0661d146104985780636c0360eb146104a057600080fd5b806355d1fe161461044a57806355f804b31461045d5780635c975abb1461047057600080fd5b8063484b973c1161023a578063484b973c146104115780634cc8a7ae146104245780634f6ccce71461043757600080fd5b8063427512a3146103ea57806342842e0e146103fe57600080fd5b806318160ddd116102b75780632f745c59116102915780632f745c59146103c75780633ccfd60b146103da5780633f4ba83a146103e257600080fd5b806318160ddd1461039957806323b872dd146103a15780632b17bbd7146103b457600080fd5b806306fdde03116102e857806306fdde0314610344578063081812fc14610359578063095ea7b31461038457600080fd5b806301ffc9a71461030457806303e3c9ac1461032c575b600080fd5b610317610312366004613194565b610669565b60405190151581526020015b60405180910390f35b61033661012f5481565b604051908152602001610323565b61034c6106ad565b6040516103239190613351565b61036c61036736600461317c565b61073f565b6040516001600160a01b039091168152602001610323565b610397610392366004613135565b6107d9565b005b60ff54610336565b6103976103af36600461305e565b61090b565b6103976103c236600461325d565b610992565b6103366103d5366004613135565b6109e7565b610397610a8f565b610397610b06565b6101345461036c906001600160a01b031681565b61039761040c36600461305e565b610b5e565b61039761041f366004613135565b610b79565b61039761043236600461317c565b610cbb565b61033661044536600461317c565b610d09565b61039761045836600461317c565b610dbb565b61039761046b36600461325d565b610e09565b6101345461031790600160a01b900460ff1681565b61036c61049336600461317c565b610e5e565b610397610ee9565b61034c610f47565b6103976104b6366004613003565b610fd6565b6103366104c9366004613003565b611041565b6103976110db565b6103176104e436600461317c565b6101356020526000908152604090205460ff1681565b6103976105083660046131cc565b61112f565b6033546001600160a01b031661036c565b61039761052c36600461325d565b611306565b6103366101305481565b61034c61135b565b610397610551366004613108565b61136a565b6103976105643660046131ff565b61142f565b61039761057736600461309e565b611512565b61039761058a366004613003565b61159a565b6103367f86e84332dddc2afd7b4f74b4e192877138f3ea85792b3f269832121b23a0cde781565b61034c611911565b61034c6105cc36600461317c565b61192d565b6103366105df366004613003565b6119db565b6103366105f2366004613003565b611a37565b610397610605366004613213565b611aa9565b61034c611b72565b610317610620366004613026565b6001600160a01b03918216600090815260d06020908152604080832093909416825291909152205460ff1690565b61039761065c366004613003565b611b80565b61034c611c4d565b60006001600160e01b031982167f780e9d630000000000000000000000000000000000000000000000000000000014806106a757506106a782611c5b565b92915050565b606060cb80546106bc90613393565b80601f01602080910402602001604051908101604052809291908181526020018280546106e890613393565b80156107355780601f1061070a57610100808354040283529160200191610735565b820191906000526020600020905b81548152906001019060200180831161071857829003601f168201915b5050505050905090565b600081815260cd60205260408120546001600160a01b03166107bd5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b50600090815260cf60205260409020546001600160a01b031690565b60006107e482610e5e565b9050806001600160a01b0316836001600160a01b0316141561086e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016107b4565b336001600160a01b038216148061088a575061088a8133610620565b6108fc5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107b4565b6109068383611cf6565b505050565b6109153382611d64565b6109875760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107b4565b610906838383611e5b565b6033546001600160a01b031633146109da5760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b6109066101318383612e6f565b60006109f283611041565b8210610a665760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e647300000000000000000000000000000000000000000060648201526084016107b4565b506001600160a01b0391909116600090815260fd60209081526040808320938352929052205490565b6033546001600160a01b03163314610ad75760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b60405133904780156108fc02916000818181858888f19350505050158015610b03573d6000803e3d6000fd5b50565b6033546001600160a01b03163314610b4e5760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b610134805460ff60a01b19169055565b61090683838360405180602001604052806000815250611512565b6033546001600160a01b03163314610bc15760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b60008111610c115760405162461bcd60e51b815260206004820152601960248201527f436c75623732314e46543a204d696e74207a65726f206e66740000000000000060448201526064016107b4565b6000610c1c60ff5490565b61012f54909150610c2d8383613364565b1115610c855760405162461bcd60e51b815260206004820152602160248201527f436c75623732314e46543a2045786365656420746865206d617820737570706c6044820152607960f81b60648201526084016107b4565b60005b82811015610cb557610ca384610c9e8385613364565b612033565b80610cad816133ce565b915050610c88565b50505050565b6033546001600160a01b03163314610d035760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b61013055565b6000610d1460ff5490565b8210610d885760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e6473000000000000000000000000000000000000000060648201526084016107b4565b60ff8281548110610da957634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6033546001600160a01b03163314610e035760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b61012f55565b6033546001600160a01b03163314610e515760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b6109066101338383612e6f565b600081815260cd60205260408120546001600160a01b0316806106a75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016107b4565b6033546001600160a01b03163314610f315760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b610134805460ff60a01b1916600160a01b179055565b6101338054610f5590613393565b80601f0160208091040260200160405190810160405280929190818152602001828054610f8190613393565b8015610fce5780601f10610fa357610100808354040283529160200191610fce565b820191906000526020600020905b815481529060010190602001808311610fb157829003601f168201915b505050505081565b6033546001600160a01b0316331461101e5760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b61013480546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b0382166110bf5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016107b4565b506001600160a01b0316600090815260ce602052604090205490565b6033546001600160a01b031633146111235760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b61112d6000612181565b565b61013454600160a01b900460ff161561118a5760405162461bcd60e51b815260206004820152601260248201527f436c75623732314e46543a20706175736564000000000000000000000000000060448201526064016107b4565b600061119560ff5490565b61012f549091506111a7826001613364565b11156111ff5760405162461bcd60e51b815260206004820152602160248201527f436c75623732314e46543a2045786365656420746865206d617820737570706c6044820152607960f81b60648201526084016107b4565b33600061120b826119db565b6000818152610135602052604090205490915060ff161561126e5760405162461bcd60e51b815260206004820152601760248201527f436c75623732314e46543a20646967657374207573656400000000000000000060448201526064016107b4565b600061127a82866121d3565b610134549091506001600160a01b038083169116146112db5760405162461bcd60e51b815260206004820152601a60248201527f436c75623732314e46543a20496e76616c6964207369676e657200000000000060448201526064016107b4565b600082815261013560205260409020805460ff191660011790556112ff83856121f7565b5050505050565b6033546001600160a01b0316331461134e5760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b6109066101328383612e6f565b606060cc80546106bc90613393565b6001600160a01b0382163314156113c35760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107b4565b33600081815260d0602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6033546001600160a01b031633146114775760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b6040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b0383811660048301526024820183905284169063095ea7b390604401602060405180830381600087803b1580156114da57600080fd5b505af11580156114ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb59190613160565b61151c3383611d64565b61158e5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107b4565b610cb584848484612211565b600054610100900460ff16806115b3575060005460ff16155b6116165760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016107b4565b600054610100900460ff16158015611638576000805461ffff19166101011790555b61164061228f565b611648612341565b6116bc6040518060400160405280600a81526020017f436c75623732314e4654000000000000000000000000000000000000000000008152506040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152506123e8565b6116c461228f565b6117386040518060400160405280601281526020017f436c7562373231204d656d6265727368697000000000000000000000000000008152506040518060400160405280600781526020017f436c7562373231000000000000000000000000000000000000000000000000008152506124b9565b61174061228f565b61013480547fffffffffffffffffffffff000000000000000000000000000000000000000000167401aae9b47610c7beb41cde4e6897c82f5181af5fbe17905561013361012f819055610130556040805160808101909152604a808252613543602083013980516117ba9161013291602090910190612ef3565b506040518060800160405280604a815260200161344f604a913980516117e99161013391602090910190612ef3565b506040518060800160405280604a81526020016134d9604a913980516118189161013191602090910190612ef3565b50611838738c0d2b62f133db265ec8554282ee60eca0fd5a9e6000612033565b611857730d342c14b14044bff092418b1d05e2ab8ab61c116001612033565b611876738c0d2b62f133db265ec8554282ee60eca0fd5a9e6002612033565b611895731e57e21cc3de9407749eda5bfc544eb7c58da9d26003612033565b6118b4730dee503261fa153bc9372f5b201c56ead3b337216004612033565b6118d373142ec4245e4e64b975fd0a5596be8abcc03788886005612033565b6118f27311d3d7a8e98e25081fa16d5660adab6eb39529996006612033565b6118fb82611b80565b801561190d576000805461ff00191690555b5050565b6040518060600160405280604081526020016134996040913981565b6060610130548210156119cd57610131805461194890613393565b80601f016020809104026020016040519081016040528092919081815260200182805461197490613393565b80156119c15780601f10611996576101008083540402835291602001916119c1565b820191906000526020600020905b8154815290600101906020018083116119a457829003601f168201915b50505050509050919050565b610133805461194890613393565b60006119e682611a37565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c810191909152605c01604051602081830303815290604052805190602001209050919050565b60006106a77f86e84332dddc2afd7b4f74b4e192877138f3ea85792b3f269832121b23a0cde78361012f54604051602001611a8e939291909283526001600160a01b03919091166020830152604082015260600190565b60405160208183030381529060405280519060200120612595565b6033546001600160a01b03163314611af15760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b6040517fa22cb4650000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152821515602483015284169063a22cb46590604401600060405180830381600087803b158015611b5557600080fd5b505af1158015611b69573d6000803e3d6000fd5b50505050505050565b6101328054610f5590613393565b6033546001600160a01b03163314611bc85760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b6001600160a01b038116611c445760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107b4565b610b0381612181565b6101318054610f5590613393565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480611cbe57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806106a757507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316146106a7565b600081815260cf6020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611d2b82610e5e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081815260cd60205260408120546001600160a01b0316611ddd5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107b4565b6000611de883610e5e565b9050806001600160a01b0316846001600160a01b03161480611e235750836001600160a01b0316611e188461073f565b6001600160a01b0316145b80611e5357506001600160a01b03808216600090815260d0602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611e6e82610e5e565b6001600160a01b031614611eea5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016107b4565b6001600160a01b038216611f655760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016107b4565b611f708383836125fe565b611f7b600082611cf6565b6001600160a01b038316600090815260ce60205260408120805460019290611fa490849061337c565b90915550506001600160a01b038216600090815260ce60205260408120805460019290611fd2908490613364565b9091555050600081815260cd602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b0382166120895760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107b4565b600081815260cd60205260409020546001600160a01b0316156120ee5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107b4565b6120fa600083836125fe565b6001600160a01b038216600090815260ce60205260408120805460019290612123908490613364565b9091555050600081815260cd602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008060006121e285856126b7565b915091506121ef81612727565b509392505050565b61190d828260405180602001604052806000815250612928565b61221c848484611e5b565b612228848484846129a6565b610cb55760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016107b4565b600054610100900460ff16806122a8575060005460ff16155b61230b5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016107b4565b600054610100900460ff1615801561232d576000805461ffff19166101011790555b8015610b03576000805461ff001916905550565b600054610100900460ff168061235a575060005460ff16155b6123bd5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016107b4565b600054610100900460ff161580156123df576000805461ffff19166101011790555b61232d33612181565b600054610100900460ff1680612401575060005460ff16155b6124645760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016107b4565b600054610100900460ff16158015612486576000805461ffff19166101011790555b82516020808501919091208351918401919091206065919091556066558015610906576000805461ff0019169055505050565b600054610100900460ff16806124d2575060005460ff16155b6125355760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016107b4565b600054610100900460ff16158015612557576000805461ffff19166101011790555b825161256a9060cb906020860190612ef3565b50815161257e9060cc906020850190612ef3565b508015610906576000805461ff0019169055505050565b60006106a76125a2612afe565b836040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6001600160a01b03831661265a576126558160ff8054600083815261010060205260408120829055600182018355919091527fe08ec2af2cfc251225e1968fd6ca21e4044f129bffa95bac3503be8bdb30a3670155565b61267d565b816001600160a01b0316836001600160a01b03161461267d5761267d8382612b7e565b6001600160a01b0382166126945761090681612c1b565b826001600160a01b0316826001600160a01b031614610906576109068282612cf6565b6000808251604114156126ee5760208301516040840151606085015160001a6126e287828585612d3a565b94509450505050612720565b825160401415612718576020830151604084015161270d868383612e27565b935093505050612720565b506000905060025b9250929050565b600081600481111561274957634e487b7160e01b600052602160045260246000fd5b14156127525750565b600181600481111561277457634e487b7160e01b600052602160045260246000fd5b14156127c25760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016107b4565b60028160048111156127e457634e487b7160e01b600052602160045260246000fd5b14156128325760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016107b4565b600381600481111561285457634e487b7160e01b600052602160045260246000fd5b14156128ad5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016107b4565b60048160048111156128cf57634e487b7160e01b600052602160045260246000fd5b1415610b035760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016107b4565b6129328383612033565b61293f60008484846129a6565b6109065760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016107b4565b60006001600160a01b0384163b15612af357604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906129ea903390899088908890600401613315565b602060405180830381600087803b158015612a0457600080fd5b505af1925050508015612a34575060408051601f3d908101601f19168201909252612a31918101906131b0565b60015b612ad9573d808015612a62576040519150601f19603f3d011682016040523d82523d6000602084013e612a67565b606091505b508051612ad15760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016107b4565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611e53565b506001949350505050565b6000612b797f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f612b2d60655490565b6066546040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b905090565b60006001612b8b84611041565b612b95919061337c565b600083815260fe6020526040902054909150808214612be8576001600160a01b038416600090815260fd60209081526040808320858452825280832054848452818420819055835260fe90915290208190555b50600091825260fe602090815260408084208490556001600160a01b03909416835260fd81528383209183525290812055565b60ff54600090612c2d9060019061337c565b6000838152610100602052604081205460ff8054939450909284908110612c6457634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060ff8381548110612c9357634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152610100909152604080822084905585825281205560ff805480612cda57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612d0183611041565b6001600160a01b03909316600090815260fd60209081526040808320868452825280832085905593825260fe9052919091209190915550565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612d715750600090506003612e1e565b8460ff16601b14158015612d8957508460ff16601c14155b15612d9a5750600090506004612e1e565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612dee573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612e1757600060019250925050612e1e565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831660ff84901c601b01612e6187828885612d3a565b935093505050935093915050565b828054612e7b90613393565b90600052602060002090601f016020900481019282612e9d5760008555612ee3565b82601f10612eb65782800160ff19823516178555612ee3565b82800160010185558215612ee3579182015b82811115612ee3578235825591602001919060010190612ec8565b50612eef929150612f67565b5090565b828054612eff90613393565b90600052602060002090601f016020900481019282612f215760008555612ee3565b82601f10612f3a57805160ff1916838001178555612ee3565b82800160010185558215612ee3579182015b82811115612ee3578251825591602001919060010190612f4c565b5b80821115612eef5760008155600101612f68565b600082601f830112612f8c578081fd5b813567ffffffffffffffff80821115612fa757612fa76133ff565b604051601f8301601f19908116603f01168101908282118183101715612fcf57612fcf6133ff565b81604052838152866020858801011115612fe7578485fd5b8360208701602083013792830160200193909352509392505050565b600060208284031215613014578081fd5b813561301f81613415565b9392505050565b60008060408385031215613038578081fd5b823561304381613415565b9150602083013561305381613415565b809150509250929050565b600080600060608486031215613072578081fd5b833561307d81613415565b9250602084013561308d81613415565b929592945050506040919091013590565b600080600080608085870312156130b3578081fd5b84356130be81613415565b935060208501356130ce81613415565b925060408501359150606085013567ffffffffffffffff8111156130f0578182fd5b6130fc87828801612f7c565b91505092959194509250565b6000806040838503121561311a578182fd5b823561312581613415565b915060208301356130538161342a565b60008060408385031215613147578182fd5b823561315281613415565b946020939093013593505050565b600060208284031215613171578081fd5b815161301f8161342a565b60006020828403121561318d578081fd5b5035919050565b6000602082840312156131a5578081fd5b813561301f81613438565b6000602082840312156131c1578081fd5b815161301f81613438565b6000602082840312156131dd578081fd5b813567ffffffffffffffff8111156131f3578182fd5b611e5384828501612f7c565b600080600060608486031215613072578283fd5b600080600060608486031215613227578283fd5b833561323281613415565b9250602084013561324281613415565b915060408401356132528161342a565b809150509250925092565b6000806020838503121561326f578182fd5b823567ffffffffffffffff80821115613286578384fd5b818501915085601f830112613299578384fd5b8135818111156132a7578485fd5b8660208285010111156132b8578485fd5b60209290920196919550909350505050565b60008151808452815b818110156132ef576020818501810151868301820152016132d3565b818111156133005782602083870101525b50601f01601f19169290920160200192915050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261334760808301846132ca565b9695505050505050565b60208152600061301f60208301846132ca565b60008219821115613377576133776133e9565b500190565b60008282101561338e5761338e6133e9565b500390565b600181811c908216806133a757607f821691505b602082108114156133c857634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156133e2576133e26133e9565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610b0357600080fd5b8015158114610b0357600080fd5b6001600160e01b031981168114610b0357600080fdfe68747470733a2f2f696e667572612d697066732e696f2f697066732f516d654c7450695670363536356d475677746471687735416e504b556e7367576e365738637a456950756f5a73643332383231343937373933623232393064623430373162666361636661623465336537336631343330353463636533383730356162646263336339613763323268747470733a2f2f696e667572612d697066732e696f2f697066732f516d53714e68323655566e6b6a746775506131346e566e396e4b66666b596b55574756565a6f634172535a7538594f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657268747470733a2f2f696e667572612d697066732e696f2f697066732f516d5674515a7633616d6332726134413245796e443969443433514b44363666454b69694b585742617070486748a26469706673582212205054257dd9f8c126ac29a57587e700be43a6eafc9e58c2eaa21d28235d05b84064736f6c63430008040033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102ff5760003560e01c80636c19e7831161019c578063b88d4fde116100ee578063d1ca131f11610097578063e985e9c511610071578063e985e9c514610612578063f2fde38b1461064e578063fbec14ea1461066157600080fd5b8063d1ca131f146105e4578063d88c869b146105f7578063e8a3d4851461060a57600080fd5b8063c6ab67a3116100c8578063c6ab67a3146105b6578063c87b56dd146105be578063cd526c73146105d157600080fd5b8063b88d4fde14610569578063c4d66de81461057c578063c688387f1461058f57600080fd5b80638da5cb5b1161015057806395d89b411161012a57806395d89b411461053b578063a22cb46514610543578063a8e5e4aa1461055657600080fd5b80638da5cb5b1461050d578063938e3d7b1461051e5780639457990a1461053157600080fd5b8063715018a611610181578063715018a6146104ce57806372a8dba6146104d65780637ba0e2e7146104fa57600080fd5b80636c19e783146104a857806370a08231146104bb57600080fd5b8063427512a31161025557806355d1fe16116102095780636352211e116101e35780636352211e1461048557806367d0661d146104985780636c0360eb146104a057600080fd5b806355d1fe161461044a57806355f804b31461045d5780635c975abb1461047057600080fd5b8063484b973c1161023a578063484b973c146104115780634cc8a7ae146104245780634f6ccce71461043757600080fd5b8063427512a3146103ea57806342842e0e146103fe57600080fd5b806318160ddd116102b75780632f745c59116102915780632f745c59146103c75780633ccfd60b146103da5780633f4ba83a146103e257600080fd5b806318160ddd1461039957806323b872dd146103a15780632b17bbd7146103b457600080fd5b806306fdde03116102e857806306fdde0314610344578063081812fc14610359578063095ea7b31461038457600080fd5b806301ffc9a71461030457806303e3c9ac1461032c575b600080fd5b610317610312366004613194565b610669565b60405190151581526020015b60405180910390f35b61033661012f5481565b604051908152602001610323565b61034c6106ad565b6040516103239190613351565b61036c61036736600461317c565b61073f565b6040516001600160a01b039091168152602001610323565b610397610392366004613135565b6107d9565b005b60ff54610336565b6103976103af36600461305e565b61090b565b6103976103c236600461325d565b610992565b6103366103d5366004613135565b6109e7565b610397610a8f565b610397610b06565b6101345461036c906001600160a01b031681565b61039761040c36600461305e565b610b5e565b61039761041f366004613135565b610b79565b61039761043236600461317c565b610cbb565b61033661044536600461317c565b610d09565b61039761045836600461317c565b610dbb565b61039761046b36600461325d565b610e09565b6101345461031790600160a01b900460ff1681565b61036c61049336600461317c565b610e5e565b610397610ee9565b61034c610f47565b6103976104b6366004613003565b610fd6565b6103366104c9366004613003565b611041565b6103976110db565b6103176104e436600461317c565b6101356020526000908152604090205460ff1681565b6103976105083660046131cc565b61112f565b6033546001600160a01b031661036c565b61039761052c36600461325d565b611306565b6103366101305481565b61034c61135b565b610397610551366004613108565b61136a565b6103976105643660046131ff565b61142f565b61039761057736600461309e565b611512565b61039761058a366004613003565b61159a565b6103367f86e84332dddc2afd7b4f74b4e192877138f3ea85792b3f269832121b23a0cde781565b61034c611911565b61034c6105cc36600461317c565b61192d565b6103366105df366004613003565b6119db565b6103366105f2366004613003565b611a37565b610397610605366004613213565b611aa9565b61034c611b72565b610317610620366004613026565b6001600160a01b03918216600090815260d06020908152604080832093909416825291909152205460ff1690565b61039761065c366004613003565b611b80565b61034c611c4d565b60006001600160e01b031982167f780e9d630000000000000000000000000000000000000000000000000000000014806106a757506106a782611c5b565b92915050565b606060cb80546106bc90613393565b80601f01602080910402602001604051908101604052809291908181526020018280546106e890613393565b80156107355780601f1061070a57610100808354040283529160200191610735565b820191906000526020600020905b81548152906001019060200180831161071857829003601f168201915b5050505050905090565b600081815260cd60205260408120546001600160a01b03166107bd5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b50600090815260cf60205260409020546001600160a01b031690565b60006107e482610e5e565b9050806001600160a01b0316836001600160a01b0316141561086e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016107b4565b336001600160a01b038216148061088a575061088a8133610620565b6108fc5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107b4565b6109068383611cf6565b505050565b6109153382611d64565b6109875760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107b4565b610906838383611e5b565b6033546001600160a01b031633146109da5760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b6109066101318383612e6f565b60006109f283611041565b8210610a665760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e647300000000000000000000000000000000000000000060648201526084016107b4565b506001600160a01b0391909116600090815260fd60209081526040808320938352929052205490565b6033546001600160a01b03163314610ad75760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b60405133904780156108fc02916000818181858888f19350505050158015610b03573d6000803e3d6000fd5b50565b6033546001600160a01b03163314610b4e5760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b610134805460ff60a01b19169055565b61090683838360405180602001604052806000815250611512565b6033546001600160a01b03163314610bc15760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b60008111610c115760405162461bcd60e51b815260206004820152601960248201527f436c75623732314e46543a204d696e74207a65726f206e66740000000000000060448201526064016107b4565b6000610c1c60ff5490565b61012f54909150610c2d8383613364565b1115610c855760405162461bcd60e51b815260206004820152602160248201527f436c75623732314e46543a2045786365656420746865206d617820737570706c6044820152607960f81b60648201526084016107b4565b60005b82811015610cb557610ca384610c9e8385613364565b612033565b80610cad816133ce565b915050610c88565b50505050565b6033546001600160a01b03163314610d035760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b61013055565b6000610d1460ff5490565b8210610d885760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e6473000000000000000000000000000000000000000060648201526084016107b4565b60ff8281548110610da957634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6033546001600160a01b03163314610e035760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b61012f55565b6033546001600160a01b03163314610e515760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b6109066101338383612e6f565b600081815260cd60205260408120546001600160a01b0316806106a75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016107b4565b6033546001600160a01b03163314610f315760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b610134805460ff60a01b1916600160a01b179055565b6101338054610f5590613393565b80601f0160208091040260200160405190810160405280929190818152602001828054610f8190613393565b8015610fce5780601f10610fa357610100808354040283529160200191610fce565b820191906000526020600020905b815481529060010190602001808311610fb157829003601f168201915b505050505081565b6033546001600160a01b0316331461101e5760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b61013480546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b0382166110bf5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016107b4565b506001600160a01b0316600090815260ce602052604090205490565b6033546001600160a01b031633146111235760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b61112d6000612181565b565b61013454600160a01b900460ff161561118a5760405162461bcd60e51b815260206004820152601260248201527f436c75623732314e46543a20706175736564000000000000000000000000000060448201526064016107b4565b600061119560ff5490565b61012f549091506111a7826001613364565b11156111ff5760405162461bcd60e51b815260206004820152602160248201527f436c75623732314e46543a2045786365656420746865206d617820737570706c6044820152607960f81b60648201526084016107b4565b33600061120b826119db565b6000818152610135602052604090205490915060ff161561126e5760405162461bcd60e51b815260206004820152601760248201527f436c75623732314e46543a20646967657374207573656400000000000000000060448201526064016107b4565b600061127a82866121d3565b610134549091506001600160a01b038083169116146112db5760405162461bcd60e51b815260206004820152601a60248201527f436c75623732314e46543a20496e76616c6964207369676e657200000000000060448201526064016107b4565b600082815261013560205260409020805460ff191660011790556112ff83856121f7565b5050505050565b6033546001600160a01b0316331461134e5760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b6109066101328383612e6f565b606060cc80546106bc90613393565b6001600160a01b0382163314156113c35760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107b4565b33600081815260d0602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6033546001600160a01b031633146114775760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b6040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b0383811660048301526024820183905284169063095ea7b390604401602060405180830381600087803b1580156114da57600080fd5b505af11580156114ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb59190613160565b61151c3383611d64565b61158e5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107b4565b610cb584848484612211565b600054610100900460ff16806115b3575060005460ff16155b6116165760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016107b4565b600054610100900460ff16158015611638576000805461ffff19166101011790555b61164061228f565b611648612341565b6116bc6040518060400160405280600a81526020017f436c75623732314e4654000000000000000000000000000000000000000000008152506040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152506123e8565b6116c461228f565b6117386040518060400160405280601281526020017f436c7562373231204d656d6265727368697000000000000000000000000000008152506040518060400160405280600781526020017f436c7562373231000000000000000000000000000000000000000000000000008152506124b9565b61174061228f565b61013480547fffffffffffffffffffffff000000000000000000000000000000000000000000167401aae9b47610c7beb41cde4e6897c82f5181af5fbe17905561013361012f819055610130556040805160808101909152604a808252613543602083013980516117ba9161013291602090910190612ef3565b506040518060800160405280604a815260200161344f604a913980516117e99161013391602090910190612ef3565b506040518060800160405280604a81526020016134d9604a913980516118189161013191602090910190612ef3565b50611838738c0d2b62f133db265ec8554282ee60eca0fd5a9e6000612033565b611857730d342c14b14044bff092418b1d05e2ab8ab61c116001612033565b611876738c0d2b62f133db265ec8554282ee60eca0fd5a9e6002612033565b611895731e57e21cc3de9407749eda5bfc544eb7c58da9d26003612033565b6118b4730dee503261fa153bc9372f5b201c56ead3b337216004612033565b6118d373142ec4245e4e64b975fd0a5596be8abcc03788886005612033565b6118f27311d3d7a8e98e25081fa16d5660adab6eb39529996006612033565b6118fb82611b80565b801561190d576000805461ff00191690555b5050565b6040518060600160405280604081526020016134996040913981565b6060610130548210156119cd57610131805461194890613393565b80601f016020809104026020016040519081016040528092919081815260200182805461197490613393565b80156119c15780601f10611996576101008083540402835291602001916119c1565b820191906000526020600020905b8154815290600101906020018083116119a457829003601f168201915b50505050509050919050565b610133805461194890613393565b60006119e682611a37565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c810191909152605c01604051602081830303815290604052805190602001209050919050565b60006106a77f86e84332dddc2afd7b4f74b4e192877138f3ea85792b3f269832121b23a0cde78361012f54604051602001611a8e939291909283526001600160a01b03919091166020830152604082015260600190565b60405160208183030381529060405280519060200120612595565b6033546001600160a01b03163314611af15760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b6040517fa22cb4650000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152821515602483015284169063a22cb46590604401600060405180830381600087803b158015611b5557600080fd5b505af1158015611b69573d6000803e3d6000fd5b50505050505050565b6101328054610f5590613393565b6033546001600160a01b03163314611bc85760405162461bcd60e51b8152602060048201819052602482015260008051602061352383398151915260448201526064016107b4565b6001600160a01b038116611c445760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107b4565b610b0381612181565b6101318054610f5590613393565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480611cbe57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806106a757507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316146106a7565b600081815260cf6020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611d2b82610e5e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081815260cd60205260408120546001600160a01b0316611ddd5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107b4565b6000611de883610e5e565b9050806001600160a01b0316846001600160a01b03161480611e235750836001600160a01b0316611e188461073f565b6001600160a01b0316145b80611e5357506001600160a01b03808216600090815260d0602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611e6e82610e5e565b6001600160a01b031614611eea5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016107b4565b6001600160a01b038216611f655760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016107b4565b611f708383836125fe565b611f7b600082611cf6565b6001600160a01b038316600090815260ce60205260408120805460019290611fa490849061337c565b90915550506001600160a01b038216600090815260ce60205260408120805460019290611fd2908490613364565b9091555050600081815260cd602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b0382166120895760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107b4565b600081815260cd60205260409020546001600160a01b0316156120ee5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107b4565b6120fa600083836125fe565b6001600160a01b038216600090815260ce60205260408120805460019290612123908490613364565b9091555050600081815260cd602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008060006121e285856126b7565b915091506121ef81612727565b509392505050565b61190d828260405180602001604052806000815250612928565b61221c848484611e5b565b612228848484846129a6565b610cb55760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016107b4565b600054610100900460ff16806122a8575060005460ff16155b61230b5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016107b4565b600054610100900460ff1615801561232d576000805461ffff19166101011790555b8015610b03576000805461ff001916905550565b600054610100900460ff168061235a575060005460ff16155b6123bd5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016107b4565b600054610100900460ff161580156123df576000805461ffff19166101011790555b61232d33612181565b600054610100900460ff1680612401575060005460ff16155b6124645760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016107b4565b600054610100900460ff16158015612486576000805461ffff19166101011790555b82516020808501919091208351918401919091206065919091556066558015610906576000805461ff0019169055505050565b600054610100900460ff16806124d2575060005460ff16155b6125355760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016107b4565b600054610100900460ff16158015612557576000805461ffff19166101011790555b825161256a9060cb906020860190612ef3565b50815161257e9060cc906020850190612ef3565b508015610906576000805461ff0019169055505050565b60006106a76125a2612afe565b836040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6001600160a01b03831661265a576126558160ff8054600083815261010060205260408120829055600182018355919091527fe08ec2af2cfc251225e1968fd6ca21e4044f129bffa95bac3503be8bdb30a3670155565b61267d565b816001600160a01b0316836001600160a01b03161461267d5761267d8382612b7e565b6001600160a01b0382166126945761090681612c1b565b826001600160a01b0316826001600160a01b031614610906576109068282612cf6565b6000808251604114156126ee5760208301516040840151606085015160001a6126e287828585612d3a565b94509450505050612720565b825160401415612718576020830151604084015161270d868383612e27565b935093505050612720565b506000905060025b9250929050565b600081600481111561274957634e487b7160e01b600052602160045260246000fd5b14156127525750565b600181600481111561277457634e487b7160e01b600052602160045260246000fd5b14156127c25760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016107b4565b60028160048111156127e457634e487b7160e01b600052602160045260246000fd5b14156128325760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016107b4565b600381600481111561285457634e487b7160e01b600052602160045260246000fd5b14156128ad5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016107b4565b60048160048111156128cf57634e487b7160e01b600052602160045260246000fd5b1415610b035760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016107b4565b6129328383612033565b61293f60008484846129a6565b6109065760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016107b4565b60006001600160a01b0384163b15612af357604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906129ea903390899088908890600401613315565b602060405180830381600087803b158015612a0457600080fd5b505af1925050508015612a34575060408051601f3d908101601f19168201909252612a31918101906131b0565b60015b612ad9573d808015612a62576040519150601f19603f3d011682016040523d82523d6000602084013e612a67565b606091505b508051612ad15760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016107b4565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611e53565b506001949350505050565b6000612b797f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f612b2d60655490565b6066546040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b905090565b60006001612b8b84611041565b612b95919061337c565b600083815260fe6020526040902054909150808214612be8576001600160a01b038416600090815260fd60209081526040808320858452825280832054848452818420819055835260fe90915290208190555b50600091825260fe602090815260408084208490556001600160a01b03909416835260fd81528383209183525290812055565b60ff54600090612c2d9060019061337c565b6000838152610100602052604081205460ff8054939450909284908110612c6457634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060ff8381548110612c9357634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152610100909152604080822084905585825281205560ff805480612cda57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612d0183611041565b6001600160a01b03909316600090815260fd60209081526040808320868452825280832085905593825260fe9052919091209190915550565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612d715750600090506003612e1e565b8460ff16601b14158015612d8957508460ff16601c14155b15612d9a5750600090506004612e1e565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612dee573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612e1757600060019250925050612e1e565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831660ff84901c601b01612e6187828885612d3a565b935093505050935093915050565b828054612e7b90613393565b90600052602060002090601f016020900481019282612e9d5760008555612ee3565b82601f10612eb65782800160ff19823516178555612ee3565b82800160010185558215612ee3579182015b82811115612ee3578235825591602001919060010190612ec8565b50612eef929150612f67565b5090565b828054612eff90613393565b90600052602060002090601f016020900481019282612f215760008555612ee3565b82601f10612f3a57805160ff1916838001178555612ee3565b82800160010185558215612ee3579182015b82811115612ee3578251825591602001919060010190612f4c565b5b80821115612eef5760008155600101612f68565b600082601f830112612f8c578081fd5b813567ffffffffffffffff80821115612fa757612fa76133ff565b604051601f8301601f19908116603f01168101908282118183101715612fcf57612fcf6133ff565b81604052838152866020858801011115612fe7578485fd5b8360208701602083013792830160200193909352509392505050565b600060208284031215613014578081fd5b813561301f81613415565b9392505050565b60008060408385031215613038578081fd5b823561304381613415565b9150602083013561305381613415565b809150509250929050565b600080600060608486031215613072578081fd5b833561307d81613415565b9250602084013561308d81613415565b929592945050506040919091013590565b600080600080608085870312156130b3578081fd5b84356130be81613415565b935060208501356130ce81613415565b925060408501359150606085013567ffffffffffffffff8111156130f0578182fd5b6130fc87828801612f7c565b91505092959194509250565b6000806040838503121561311a578182fd5b823561312581613415565b915060208301356130538161342a565b60008060408385031215613147578182fd5b823561315281613415565b946020939093013593505050565b600060208284031215613171578081fd5b815161301f8161342a565b60006020828403121561318d578081fd5b5035919050565b6000602082840312156131a5578081fd5b813561301f81613438565b6000602082840312156131c1578081fd5b815161301f81613438565b6000602082840312156131dd578081fd5b813567ffffffffffffffff8111156131f3578182fd5b611e5384828501612f7c565b600080600060608486031215613072578283fd5b600080600060608486031215613227578283fd5b833561323281613415565b9250602084013561324281613415565b915060408401356132528161342a565b809150509250925092565b6000806020838503121561326f578182fd5b823567ffffffffffffffff80821115613286578384fd5b818501915085601f830112613299578384fd5b8135818111156132a7578485fd5b8660208285010111156132b8578485fd5b60209290920196919550909350505050565b60008151808452815b818110156132ef576020818501810151868301820152016132d3565b818111156133005782602083870101525b50601f01601f19169290920160200192915050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261334760808301846132ca565b9695505050505050565b60208152600061301f60208301846132ca565b60008219821115613377576133776133e9565b500190565b60008282101561338e5761338e6133e9565b500390565b600181811c908216806133a757607f821691505b602082108114156133c857634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156133e2576133e26133e9565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610b0357600080fd5b8015158114610b0357600080fd5b6001600160e01b031981168114610b0357600080fdfe68747470733a2f2f696e667572612d697066732e696f2f697066732f516d654c7450695670363536356d475677746471687735416e504b556e7367576e365738637a456950756f5a73643332383231343937373933623232393064623430373162666361636661623465336537336631343330353463636533383730356162646263336339613763323268747470733a2f2f696e667572612d697066732e696f2f697066732f516d53714e68323655566e6b6a746775506131346e566e396e4b66666b596b55574756565a6f634172535a7538594f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657268747470733a2f2f696e667572612d697066732e696f2f697066732f516d5674515a7633616d6332726134413245796e443969443433514b44363666454b69694b585742617070486748a26469706673582212205054257dd9f8c126ac29a57587e700be43a6eafc9e58c2eaa21d28235d05b84064736f6c63430008040033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.