Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
Toucans2
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 999 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import './Toucans.sol'; contract Toucans2 is Toucans { function claim(uint256 /*index*/, address /*account*/, bytes32[] calldata /*proof*/) external override pure { revert("disabled"); } function mintAdmin(address account, uint256 count) external onlyOwner() onlyRemaining(count) { for (uint256 i = 0; i < count; ++i) { _mint(account); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@amxx/hre/contracts/ENSReverseRegistration.sol"; import "@openzeppelin/contracts/utils/structs/BitMaps.sol"; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/ERC721PausableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/utils/MulticallUpgradeable.sol"; import './extensions/ERC721DeckUpgradeable.sol'; import './extensions/ERC721IPFSUpgradeable.sol'; import './utils/Whitelisted.sol'; contract Toucans is OwnableUpgradeable, ERC721PausableUpgradeable, ERC721DeckUpgradeable, ERC721IPFSUpgradeable, MulticallUpgradeable, Whitelisted { using BitMaps for BitMaps.BitMap; BitMaps.BitMap private __claimedBitMap; /// @custom:oz-upgrades-unsafe-allow constructor constructor() initializer {} function initialize( string memory __name, string memory __symbol, string memory __ipfsHash, bytes32 __merkleRoot, uint256 __merkleLength ) public initializer() { __Ownable_init(); __ERC721_init(__name, __symbol); __ERC721Pausable_init(); __ERC721Deck_init(__merkleLength); __ERC721IPFS_init(__ipfsHash); _setWhitelist(__merkleRoot); } /** * Lazy-minting */ function isClaimed(uint256 index) external view returns (bool) { return __claimedBitMap.get(index); } function claim(uint256 index, address account, bytes32[] calldata proof) external virtual onlyWhitelisted(keccak256(abi.encodePacked(index, account)), proof) { require(!__claimedBitMap.get(index), "token already claimed"); __claimedBitMap.set(index); _mint(account); } /** * Admin operations: ens reverse registration and pausing */ function setName(address ensRegistry, string calldata ensName) external onlyOwner() { ENSReverseRegistration.setName(ensRegistry, ensName); } function pause() external onlyOwner() { _pause(); } function unpause() external onlyOwner() { _unpause(); } /** * Overrides */ function _baseURI() internal view virtual override(ERC721Upgradeable, ERC721IPFSUpgradeable) returns (string memory) { return super._baseURI(); } function _burn(uint256 tokenId) internal virtual override(ERC721Upgradeable, ERC721DeckUpgradeable) { super._burn(tokenId); } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override(ERC721Upgradeable, ERC721PausableUpgradeable) { super._beforeTokenTransfer(from, to, tokenId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IENS { event NewOwner(bytes32 indexed node, bytes32 indexed label, address owner); event Transfer(bytes32 indexed node, address owner); event NewResolver(bytes32 indexed node, address resolver); event NewTTL(bytes32 indexed node, uint64 ttl); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); function setRecord(bytes32, address, address, uint64) external; function setSubnodeRecord(bytes32, bytes32, address, address, uint64) external; function setSubnodeOwner(bytes32, bytes32, address) external returns(bytes32); function setResolver(bytes32, address) external; function setOwner(bytes32, address) external; function setTTL(bytes32, uint64) external; function setApprovalForAll(address, bool) external; function owner(bytes32) external view returns (address); function resolver(bytes32) external view returns (address); function ttl(bytes32) external view returns (uint64); function recordExists(bytes32) external view returns (bool); function isApprovedForAll(address, address) external view returns (bool); } interface IReverseRegistrar { function ADDR_REVERSE_NODE() external view returns (bytes32); function ens() external view returns (IENS); function defaultResolver() external view returns (address); function claim(address) external returns (bytes32); function claimWithResolver(address, address) external returns (bytes32); function setName(string calldata) external returns (bytes32); function node(address) external pure returns (bytes32); } library ENSReverseRegistration { // namehash('addr.reverse') bytes32 internal constant ADDR_REVERSE_NODE = 0x91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e2; function setName(address ensregistry, string calldata ensname) internal { IReverseRegistrar(IENS(ensregistry).owner(ADDR_REVERSE_NODE)).setName(ensname); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/structs/BitMaps.sol) pragma solidity ^0.8.0; /** * @dev Library for managing uint256 to bool mapping in a compact and efficient way, providing the keys are sequential. * Largelly inspired by Uniswap's https://github.com/Uniswap/merkle-distributor/blob/master/contracts/MerkleDistributor.sol[merkle-distributor]. */ library BitMaps { struct BitMap { mapping(uint256 => uint256) _data; } /** * @dev Returns whether the bit at `index` is set. */ function get(BitMap storage bitmap, uint256 index) internal view returns (bool) { uint256 bucket = index >> 8; uint256 mask = 1 << (index & 0xff); return bitmap._data[bucket] & mask != 0; } /** * @dev Sets the bit at `index` to the boolean `value`. */ function setTo( BitMap storage bitmap, uint256 index, bool value ) internal { if (value) { set(bitmap, index); } else { unset(bitmap, index); } } /** * @dev Sets the bit at `index`. */ function set(BitMap storage bitmap, uint256 index) internal { uint256 bucket = index >> 8; uint256 mask = 1 << (index & 0xff); bitmap._data[bucket] |= mask; } /** * @dev Unsets the bit at `index`. */ function unset(BitMap storage bitmap, uint256 index) internal { uint256 bucket = index >> 8; uint256 mask = 1 << (index & 0xff); bitmap._data[bucket] &= ~mask; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) 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 { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } uint256[49] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/ERC721Pausable.sol) pragma solidity ^0.8.0; import "../ERC721Upgradeable.sol"; import "../../../security/PausableUpgradeable.sol"; import "../../../proxy/utils/Initializable.sol"; /** * @dev ERC721 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having an emergency switch for freezing all token transfers in the * event of a large bug. */ abstract contract ERC721PausableUpgradeable is Initializable, ERC721Upgradeable, PausableUpgradeable { function __ERC721Pausable_init() internal initializer { __Context_init_unchained(); __ERC165_init_unchained(); __Pausable_init_unchained(); __ERC721Pausable_init_unchained(); } function __ERC721Pausable_init_unchained() internal initializer { } /** * @dev See {ERC721-_beforeTokenTransfer}. * * Requirements: * * - the contract must not be paused. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); require(!paused(), "ERC721Pausable: token transfer while paused"); } uint256[50] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Multicall.sol) pragma solidity ^0.8.0; import "./AddressUpgradeable.sol"; import "../proxy/utils/Initializable.sol"; /** * @dev Provides a function to batch together multiple calls in a single external call. * * _Available since v4.1._ */ abstract contract MulticallUpgradeable is Initializable { function __Multicall_init() internal initializer { __Multicall_init_unchained(); } function __Multicall_init_unchained() internal initializer { } /** * @dev Receives and executes a batch of function calls on this contract. */ function multicall(bytes[] calldata data) external returns (bytes[] memory results) { results = new bytes[](data.length); for (uint256 i = 0; i < data.length; i++) { results[i] = _functionDelegateCall(address(this), data[i]); } return results; } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function _functionDelegateCall(address target, bytes memory data) private returns (bytes memory) { require(AddressUpgradeable.isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return AddressUpgradeable.verifyCallResult(success, returndata, "Address: low-level delegate call failed"); } uint256[50] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol"; import "@amxx/hre/contracts/Random.sol"; import "../utils/TotalSupply.sol"; contract ERC721DeckUpgradeable is ERC721Upgradeable, TotalSupply { using Random for Random.Manifest; Random.Manifest private _manifest; modifier onlyRemaining(uint256 count) { require (remaining() >= count, 'Not enough tokens remaining'); _; } function __ERC721Deck_init(uint256 __length) internal { _manifest.setup(__length); _setTotalSupply(__length); } function remaining() public view returns (uint256) { return _manifest.remaining(); } function _mint(address account) internal { _mint(account, _manifest.draw()); } function _burn(uint256 tokenId) internal virtual override { _manifest.put(tokenId); } uint256[49] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol"; contract ERC721IPFSUpgradeable is ERC721Upgradeable { string private _ipfsHash; function __ERC721IPFS_init(string memory __ipfsHash) internal { _ipfsHash = __ipfsHash; } function _baseURI() internal view virtual override returns (string memory) { return string(bytes.concat("ipfs://", bytes(_ipfsHash), "/")); } uint256[49] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; abstract contract Whitelisted { bytes32 private _whitelistRoot; modifier onlyWhitelisted(bytes32 leaf, bytes32[] memory proof) { require(_whitelistRoot == bytes32(0) || MerkleProof.verify(proof, _whitelistRoot, leaf), "proof is not valid"); _; } function _setWhitelist(bytes32 root) internal { _whitelistRoot = root; } function getWhitelist() public view returns (bytes32) { return _whitelistRoot; } uint256[49] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) 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 // OpenZeppelin Contracts v4.4.0 (proxy/utils/Initializable.sol) 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. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To initialize the implementation contract, you can either invoke the * initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() initializer {} * ``` * ==== */ 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 // OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol) 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 { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = 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 Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try 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 // OpenZeppelin Contracts v4.4.0 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/ContextUpgradeable.sol"; import "../proxy/utils/Initializable.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract PausableUpgradeable is Initializable, ContextUpgradeable { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ function __Pausable_init() internal initializer { __Context_init_unchained(); __Pausable_init_unchained(); } function __Pausable_init_unchained() internal initializer { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } uint256[49] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol) 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 // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface 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 // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Metadata.sol) 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 // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) 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 // OpenZeppelin Contracts v4.4.0 (utils/Strings.sol) 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 // OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol) 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 // OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface 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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; library Random { function random() internal view returns (bytes32) { return keccak256(abi.encodePacked(blockhash(block.number - 1), block.timestamp, msg.sender)) ; } struct Manifest { uint256[] _data; } function setup(Manifest storage self, uint256 length) internal { uint256[] storage data = self._data; require(data.length == 0, 'cannot-setup-during-active-draw'); assembly { sstore(data.slot, length) } } function draw(Manifest storage self) internal returns (uint256) { return draw(self, random()); } function draw(Manifest storage self, bytes32 seed) internal returns (uint256) { uint256[] storage data = self._data; uint256 l = data.length; uint256 i = uint256(seed) % l; uint256 x = data[i]; uint256 y = data[--l]; if (x == 0) { x = i + 1; } if (y == 0) { y = l + 1; } if (i != l) { data[i] = y; } data.pop(); return x - 1; } function put(Manifest storage self, uint256 i) internal { self._data.push(i + 1); } function remaining(Manifest storage self) internal view returns (uint256) { return self._data.length; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract TotalSupply { uint256 private _totalSupply; function _setTotalSupply(uint256 __totalSupply) internal { _totalSupply = __totalSupply; } function totalSupply() public view returns (uint256) { return _totalSupply; } uint256[49] private __gap; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } }
{ "optimizer": { "enabled": true, "runs": 999 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"},{"internalType":"bytes32[]","name":"","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWhitelist","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"__name","type":"string"},{"internalType":"string","name":"__symbol","type":"string"},{"internalType":"string","name":"__ipfsHash","type":"string"},{"internalType":"bytes32","name":"__merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"__merkleLength","type":"uint256"}],"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":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"isClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mintAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remaining","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"address","name":"ensRegistry","type":"address"},{"internalType":"string","name":"ensName","type":"string"}],"name":"setName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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"}]
Contract Creation Code
60806040523480156200001157600080fd5b50600054610100900460ff16806200002c575060005460ff16155b620000945760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840160405180910390fd5b600054610100900460ff16158015620000b7576000805461ffff19166101011790555b8015620000ca576000805461ff00191690555b50612e0b80620000db6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80638456cb59116100f9578063b88d4fde11610097578063d01f63f511610071578063d01f63f51461038e578063e985e9c514610397578063f2fde38b146103d3578063f72d82cf146103e657600080fd5b8063b88d4fde14610355578063c3a7199914610368578063c87b56dd1461037b57600080fd5b80639a0c5fce116100d35780639a0c5fce146102fc5780639e34070f1461030f578063a22cb46514610322578063ac9650d81461033557600080fd5b80638456cb59146102db5780638da5cb5b146102e357806395d89b41146102f457600080fd5b80633f4ba83a116101665780635c975abb116101405780635c975abb146102a25780636352211e146102ad57806370a08231146102c0578063715018a6146102d357600080fd5b80633f4ba83a1461027f57806342842e0e1461028757806355234ec01461029a57600080fd5b8063095ea7b3116101a2578063095ea7b31461023157806318160ddd1461024657806323b872dd146102595780633121db1c1461026c57600080fd5b806301ffc9a7146101c957806306fdde03146101f1578063081812fc14610206575b600080fd5b6101dc6101d7366004612510565b6103f9565b60405190151581526020015b60405180910390f35b6101f9610496565b6040516101e89190612585565b610219610214366004612598565b610528565b6040516001600160a01b0390911681526020016101e8565b61024461023f3660046125c6565b6105c2565b005b61012d545b6040519081526020016101e8565b6102446102673660046125f2565b6106f4565b61024461027a366004612633565b61077b565b6102446107e0565b6102446102953660046125f2565b610844565b61024b61085f565b60c95460ff166101dc565b6102196102bb366004612598565b610870565b61024b6102ce3660046126b8565b6108fb565b610244610995565b6102446109f9565b6033546001600160a01b0316610219565b6101f9610a5b565b61024461030a366004612781565b610a6a565b6101dc61031d366004612598565b610b58565b61024461033036600461281b565b610b7c565b6103486103433660046128a5565b610b8b565b6040516101e891906128e7565b610244610363366004612949565b610c80565b6102446103763660046125c6565b610d0e565b6101f9610389366004612598565b610de4565b6101f55461024b565b6101dc6103a53660046129c9565b6001600160a01b039182166000908152609c6020908152604080832093909416825291909152205460ff1690565b6102446103e13660046126b8565b610ecd565b6102446103f43660046129f7565b610faf565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061045c57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061049057507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6060609780546104a590612a53565b80601f01602080910402602001604051908101604052809291908181526020018280546104d190612a53565b801561051e5780601f106104f35761010080835404028352916020019161051e565b820191906000526020600020905b81548152906001019060200180831161050157829003601f168201915b5050505050905090565b6000818152609960205260408120546001600160a01b03166105a65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152609b60205260409020546001600160a01b031690565b60006105cd82610870565b9050806001600160a01b0316836001600160a01b031614156106575760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f7200000000000000000000000000000000000000000000000000000000000000606482015260840161059d565b336001600160a01b0382161480610673575061067381336103a5565b6106e55760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161059d565b6106ef8383610ff7565b505050565b6106fe3382611072565b6107705760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161059d565b6106ef838383611169565b6033546001600160a01b031633146107d55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161059d565b6106ef83838361134e565b6033546001600160a01b0316331461083a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161059d565b61084261147d565b565b6106ef83838360405180602001604052806000815250610c80565b600061086b61015f5490565b905090565b6000818152609960205260408120546001600160a01b0316806104905760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606482015260840161059d565b60006001600160a01b0382166109795760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f206164647265737300000000000000000000000000000000000000000000606482015260840161059d565b506001600160a01b03166000908152609a602052604090205490565b6033546001600160a01b031633146109ef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161059d565b6108426000611519565b6033546001600160a01b03163314610a535760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161059d565b610842611578565b6060609880546104a590612a53565b600054610100900460ff1680610a83575060005460ff16155b610ae65760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161059d565b600054610100900460ff16158015610b08576000805461ffff19166101011790555b610b10611600565b610b1a86866116c2565b610b22611790565b610b2b8261184e565b610b3484611864565b610b3e836101f555565b8015610b50576000805461ff00191690555b505050505050565b600881901c60009081526102276020526040812054600160ff84161b161515610490565b610b87338383611878565b5050565b60608167ffffffffffffffff811115610ba657610ba66126d5565b604051908082528060200260200182016040528015610bd957816020015b6060815260200190600190039081610bc45790505b50905060005b82811015610c7957610c4930858584818110610bfd57610bfd612a8e565b9050602002810190610c0f9190612aa4565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061194792505050565b828281518110610c5b57610c5b612a8e565b60200260200101819052508080610c7190612b01565b915050610bdf565b5092915050565b610c8a3383611072565b610cfc5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161059d565b610d0884848484611a49565b50505050565b6033546001600160a01b03163314610d685760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161059d565b8080610d7261085f565b1015610dc05760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f75676820746f6b656e732072656d61696e696e670000000000604482015260640161059d565b60005b82811015610d0857610dd484611ad2565b610ddd81612b01565b9050610dc3565b6000818152609960205260409020546060906001600160a01b0316610e715760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606482015260840161059d565b6000610e7b611ae6565b90506000815111610e9b5760405180602001604052806000815250610ec6565b80610ea584611af0565b604051602001610eb6929190612b1c565b6040516020818303038152906040525b9392505050565b6033546001600160a01b03163314610f275760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161059d565b6001600160a01b038116610fa35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161059d565b610fac81611519565b50565b60405162461bcd60e51b815260206004820152600860248201527f64697361626c6564000000000000000000000000000000000000000000000000604482015260640161059d565b6000818152609b60205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155819061103982610870565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152609960205260408120546001600160a01b03166110eb5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161059d565b60006110f683610870565b9050806001600160a01b0316846001600160a01b031614806111315750836001600160a01b031661112684610528565b6001600160a01b0316145b8061116157506001600160a01b038082166000908152609c602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661117c82610870565b6001600160a01b0316146111f85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606482015260840161059d565b6001600160a01b0382166112735760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161059d565b61127e838383611c22565b611289600082610ff7565b6001600160a01b0383166000908152609a602052604081208054600192906112b2908490612b4b565b90915550506001600160a01b0382166000908152609a602052604081208054600192906112e0908490612b62565b9091555050600081815260996020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6040517f02571be30000000000000000000000000000000000000000000000000000000081527f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e260048201526001600160a01b038416906302571be39060240160206040518083038186803b1580156113c657600080fd5b505afa1580156113da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fe9190612b7a565b6001600160a01b031663c47f002783836040518363ffffffff1660e01b815260040161142b929190612b97565b602060405180830381600087803b15801561144557600080fd5b505af1158015611459573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d089190612bc6565b60c95460ff166114cf5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015260640161059d565b60c9805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b603380546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60c95460ff16156115cb5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161059d565b60c9805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586114fc3390565b600054610100900460ff1680611619575060005460ff16155b61167c5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161059d565b600054610100900460ff1615801561169e576000805461ffff19166101011790555b6116a6611c2d565b6116ae611cde565b8015610fac576000805461ff001916905550565b600054610100900460ff16806116db575060005460ff16155b61173e5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161059d565b600054610100900460ff16158015611760576000805461ffff19166101011790555b611768611c2d565b611770611c2d565b61177a8383611d85565b80156106ef576000805461ff0019169055505050565b600054610100900460ff16806117a9575060005460ff16155b61180c5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161059d565b600054610100900460ff1615801561182e576000805461ffff19166101011790555b611836611c2d565b61183e611c2d565b611846611e61565b6116ae611c2d565b61185a61015f82611f1d565b610fac8161012d55565b8051610b8790610191906020840190612461565b816001600160a01b0316836001600160a01b031614156118da5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161059d565b6001600160a01b038381166000818152609c6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6060823b6119bd5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e74726163740000000000000000000000000000000000000000000000000000606482015260840161059d565b600080846001600160a01b0316846040516119d89190612bdf565b600060405180830381855af49150503d8060008114611a13576040519150601f19603f3d011682016040523d82523d6000602084013e611a18565b606091505b5091509150611a408282604051806060016040528060278152602001612daf60279139611f72565b95945050505050565b611a54848484611169565b611a6084848484611fab565b610d085760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161059d565b610fac81611ae161015f61210e565b612121565b606061086b61227c565b606081611b3057505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611b5a5780611b4481612b01565b9150611b539050600a83612c11565b9150611b34565b60008167ffffffffffffffff811115611b7557611b756126d5565b6040519080825280601f01601f191660200182016040528015611b9f576020820181803683370190505b5090505b841561116157611bb4600183612b4b565b9150611bc1600a86612c25565b611bcc906030612b62565b60f81b818381518110611be157611be1612a8e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611c1b600a86612c11565b9450611ba3565b6106ef8383836122a5565b600054610100900460ff1680611c46575060005460ff16155b611ca95760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161059d565b600054610100900460ff161580156116ae576000805461ffff19166101011790558015610fac576000805461ff001916905550565b600054610100900460ff1680611cf7575060005460ff16155b611d5a5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161059d565b600054610100900460ff16158015611d7c576000805461ffff19166101011790555b6116ae33611519565b600054610100900460ff1680611d9e575060005460ff16155b611e015760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161059d565b600054610100900460ff16158015611e23576000805461ffff19166101011790555b8251611e36906097906020860190612461565b508151611e4a906098906020850190612461565b5080156106ef576000805461ff0019169055505050565b600054610100900460ff1680611e7a575060005460ff16155b611edd5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161059d565b600054610100900460ff16158015611eff576000805461ffff19166101011790555b60c9805460ff191690558015610fac576000805461ff001916905550565b8154829015611f6e5760405162461bcd60e51b815260206004820152601f60248201527f63616e6e6f742d73657475702d647572696e672d6163746976652d6472617700604482015260640161059d565b5550565b60608315611f81575081610ec6565b825115611f915782518084602001fd5b8160405162461bcd60e51b815260040161059d9190612585565b60006001600160a01b0384163b1561210357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611fef903390899088908890600401612c39565b602060405180830381600087803b15801561200957600080fd5b505af1925050508015612039575060408051601f3d908101601f1916820190925261203691810190612c75565b60015b6120e9573d808015612067576040519150601f19603f3d011682016040523d82523d6000602084013e61206c565b606091505b5080516120e15760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161059d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611161565b506001949350505050565b60006104908261211c61231e565b612372565b6001600160a01b0382166121775760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161059d565b6000818152609960205260409020546001600160a01b0316156121dc5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161059d565b6121e860008383611c22565b6001600160a01b0382166000908152609a60205260408120805460019290612211908490612b62565b9091555050600081815260996020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60606101916040516020016122919190612c92565b604051602081830303815290604052905090565b60c95460ff16156106ef5760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201527f68696c6520706175736564000000000000000000000000000000000000000000606482015260840161059d565b600061232b600143612b4b565b6040805191406020830152429082015233606090811b6bffffffffffffffffffffffff19169082015260740160405160208183030381529060405280519060200120905090565b81546000908390826123848286612c25565b9050600083828154811061239a5761239a612a8e565b60009182526020822001549150846123b185612d81565b945084815481106123c4576123c4612a8e565b9060005260206000200154905081600014156123e8576123e5836001612b62565b91505b806123fb576123f8846001612b62565b90505b838314612422578085848154811061241557612415612a8e565b6000918252602090912001555b8480548061243257612432612d98565b600190038181906000526020600020016000905590556001826124559190612b4b565b98975050505050505050565b82805461246d90612a53565b90600052602060002090601f01602090048101928261248f57600085556124d5565b82601f106124a857805160ff19168380011785556124d5565b828001600101855582156124d5579182015b828111156124d55782518255916020019190600101906124ba565b506124e19291506124e5565b5090565b5b808211156124e157600081556001016124e6565b6001600160e01b031981168114610fac57600080fd5b60006020828403121561252257600080fd5b8135610ec6816124fa565b60005b83811015612548578181015183820152602001612530565b83811115610d085750506000910152565b6000815180845261257181602086016020860161252d565b601f01601f19169290920160200192915050565b602081526000610ec66020830184612559565b6000602082840312156125aa57600080fd5b5035919050565b6001600160a01b0381168114610fac57600080fd5b600080604083850312156125d957600080fd5b82356125e4816125b1565b946020939093013593505050565b60008060006060848603121561260757600080fd5b8335612612816125b1565b92506020840135612622816125b1565b929592945050506040919091013590565b60008060006040848603121561264857600080fd5b8335612653816125b1565b9250602084013567ffffffffffffffff8082111561267057600080fd5b818601915086601f83011261268457600080fd5b81358181111561269357600080fd5b8760208285010111156126a557600080fd5b6020830194508093505050509250925092565b6000602082840312156126ca57600080fd5b8135610ec6816125b1565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612706576127066126d5565b604051601f8501601f19908116603f0116810190828211818310171561272e5761272e6126d5565b8160405280935085815286868601111561274757600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261277257600080fd5b610ec6838335602085016126eb565b600080600080600060a0868803121561279957600080fd5b853567ffffffffffffffff808211156127b157600080fd5b6127bd89838a01612761565b965060208801359150808211156127d357600080fd5b6127df89838a01612761565b955060408801359150808211156127f557600080fd5b5061280288828901612761565b9598949750949560608101359550608001359392505050565b6000806040838503121561282e57600080fd5b8235612839816125b1565b91506020830135801515811461284e57600080fd5b809150509250929050565b60008083601f84011261286b57600080fd5b50813567ffffffffffffffff81111561288357600080fd5b6020830191508360208260051b850101111561289e57600080fd5b9250929050565b600080602083850312156128b857600080fd5b823567ffffffffffffffff8111156128cf57600080fd5b6128db85828601612859565b90969095509350505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561293c57603f1988860301845261292a858351612559565b9450928501929085019060010161290e565b5092979650505050505050565b6000806000806080858703121561295f57600080fd5b843561296a816125b1565b9350602085013561297a816125b1565b925060408501359150606085013567ffffffffffffffff81111561299d57600080fd5b8501601f810187136129ae57600080fd5b6129bd878235602084016126eb565b91505092959194509250565b600080604083850312156129dc57600080fd5b82356129e7816125b1565b9150602083013561284e816125b1565b60008060008060608587031215612a0d57600080fd5b843593506020850135612a1f816125b1565b9250604085013567ffffffffffffffff811115612a3b57600080fd5b612a4787828801612859565b95989497509550505050565b600181811c90821680612a6757607f821691505b60208210811415612a8857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b6000808335601e19843603018112612abb57600080fd5b83018035915067ffffffffffffffff821115612ad657600080fd5b60200191503681900382131561289e57600080fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415612b1557612b15612aeb565b5060010190565b60008351612b2e81846020880161252d565b835190830190612b4281836020880161252d565b01949350505050565b600082821015612b5d57612b5d612aeb565b500390565b60008219821115612b7557612b75612aeb565b500190565b600060208284031215612b8c57600080fd5b8151610ec6816125b1565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b600060208284031215612bd857600080fd5b5051919050565b60008251612bf181846020870161252d565b9190910192915050565b634e487b7160e01b600052601260045260246000fd5b600082612c2057612c20612bfb565b500490565b600082612c3457612c34612bfb565b500690565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612c6b6080830184612559565b9695505050505050565b600060208284031215612c8757600080fd5b8151610ec6816124fa565b7f697066733a2f2f000000000000000000000000000000000000000000000000008152600060076000845481600182811c915080831680612cd457607f831692505b6020808410821415612cf457634e487b7160e01b86526022600452602486fd5b818015612d085760018114612d1d57612d4e565b60ff1986168a890152848a0188019650612d4e565b60008b81526020902060005b86811015612d445781548c82018b0152908501908301612d29565b505087858b010196505b50507f2f000000000000000000000000000000000000000000000000000000000000008552509092019695505050505050565b600081612d9057612d90612aeb565b506000190190565b634e487b7160e01b600052603160045260246000fdfe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122070e12f08e3ea6dac50c9506d02961372e35843f13cf966dbd5b9c69f759fe22264736f6c63430008090033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101c45760003560e01c80638456cb59116100f9578063b88d4fde11610097578063d01f63f511610071578063d01f63f51461038e578063e985e9c514610397578063f2fde38b146103d3578063f72d82cf146103e657600080fd5b8063b88d4fde14610355578063c3a7199914610368578063c87b56dd1461037b57600080fd5b80639a0c5fce116100d35780639a0c5fce146102fc5780639e34070f1461030f578063a22cb46514610322578063ac9650d81461033557600080fd5b80638456cb59146102db5780638da5cb5b146102e357806395d89b41146102f457600080fd5b80633f4ba83a116101665780635c975abb116101405780635c975abb146102a25780636352211e146102ad57806370a08231146102c0578063715018a6146102d357600080fd5b80633f4ba83a1461027f57806342842e0e1461028757806355234ec01461029a57600080fd5b8063095ea7b3116101a2578063095ea7b31461023157806318160ddd1461024657806323b872dd146102595780633121db1c1461026c57600080fd5b806301ffc9a7146101c957806306fdde03146101f1578063081812fc14610206575b600080fd5b6101dc6101d7366004612510565b6103f9565b60405190151581526020015b60405180910390f35b6101f9610496565b6040516101e89190612585565b610219610214366004612598565b610528565b6040516001600160a01b0390911681526020016101e8565b61024461023f3660046125c6565b6105c2565b005b61012d545b6040519081526020016101e8565b6102446102673660046125f2565b6106f4565b61024461027a366004612633565b61077b565b6102446107e0565b6102446102953660046125f2565b610844565b61024b61085f565b60c95460ff166101dc565b6102196102bb366004612598565b610870565b61024b6102ce3660046126b8565b6108fb565b610244610995565b6102446109f9565b6033546001600160a01b0316610219565b6101f9610a5b565b61024461030a366004612781565b610a6a565b6101dc61031d366004612598565b610b58565b61024461033036600461281b565b610b7c565b6103486103433660046128a5565b610b8b565b6040516101e891906128e7565b610244610363366004612949565b610c80565b6102446103763660046125c6565b610d0e565b6101f9610389366004612598565b610de4565b6101f55461024b565b6101dc6103a53660046129c9565b6001600160a01b039182166000908152609c6020908152604080832093909416825291909152205460ff1690565b6102446103e13660046126b8565b610ecd565b6102446103f43660046129f7565b610faf565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061045c57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061049057507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6060609780546104a590612a53565b80601f01602080910402602001604051908101604052809291908181526020018280546104d190612a53565b801561051e5780601f106104f35761010080835404028352916020019161051e565b820191906000526020600020905b81548152906001019060200180831161050157829003601f168201915b5050505050905090565b6000818152609960205260408120546001600160a01b03166105a65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152609b60205260409020546001600160a01b031690565b60006105cd82610870565b9050806001600160a01b0316836001600160a01b031614156106575760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f7200000000000000000000000000000000000000000000000000000000000000606482015260840161059d565b336001600160a01b0382161480610673575061067381336103a5565b6106e55760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161059d565b6106ef8383610ff7565b505050565b6106fe3382611072565b6107705760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161059d565b6106ef838383611169565b6033546001600160a01b031633146107d55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161059d565b6106ef83838361134e565b6033546001600160a01b0316331461083a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161059d565b61084261147d565b565b6106ef83838360405180602001604052806000815250610c80565b600061086b61015f5490565b905090565b6000818152609960205260408120546001600160a01b0316806104905760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606482015260840161059d565b60006001600160a01b0382166109795760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f206164647265737300000000000000000000000000000000000000000000606482015260840161059d565b506001600160a01b03166000908152609a602052604090205490565b6033546001600160a01b031633146109ef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161059d565b6108426000611519565b6033546001600160a01b03163314610a535760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161059d565b610842611578565b6060609880546104a590612a53565b600054610100900460ff1680610a83575060005460ff16155b610ae65760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161059d565b600054610100900460ff16158015610b08576000805461ffff19166101011790555b610b10611600565b610b1a86866116c2565b610b22611790565b610b2b8261184e565b610b3484611864565b610b3e836101f555565b8015610b50576000805461ff00191690555b505050505050565b600881901c60009081526102276020526040812054600160ff84161b161515610490565b610b87338383611878565b5050565b60608167ffffffffffffffff811115610ba657610ba66126d5565b604051908082528060200260200182016040528015610bd957816020015b6060815260200190600190039081610bc45790505b50905060005b82811015610c7957610c4930858584818110610bfd57610bfd612a8e565b9050602002810190610c0f9190612aa4565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061194792505050565b828281518110610c5b57610c5b612a8e565b60200260200101819052508080610c7190612b01565b915050610bdf565b5092915050565b610c8a3383611072565b610cfc5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161059d565b610d0884848484611a49565b50505050565b6033546001600160a01b03163314610d685760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161059d565b8080610d7261085f565b1015610dc05760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f75676820746f6b656e732072656d61696e696e670000000000604482015260640161059d565b60005b82811015610d0857610dd484611ad2565b610ddd81612b01565b9050610dc3565b6000818152609960205260409020546060906001600160a01b0316610e715760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606482015260840161059d565b6000610e7b611ae6565b90506000815111610e9b5760405180602001604052806000815250610ec6565b80610ea584611af0565b604051602001610eb6929190612b1c565b6040516020818303038152906040525b9392505050565b6033546001600160a01b03163314610f275760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161059d565b6001600160a01b038116610fa35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161059d565b610fac81611519565b50565b60405162461bcd60e51b815260206004820152600860248201527f64697361626c6564000000000000000000000000000000000000000000000000604482015260640161059d565b6000818152609b60205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155819061103982610870565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152609960205260408120546001600160a01b03166110eb5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161059d565b60006110f683610870565b9050806001600160a01b0316846001600160a01b031614806111315750836001600160a01b031661112684610528565b6001600160a01b0316145b8061116157506001600160a01b038082166000908152609c602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661117c82610870565b6001600160a01b0316146111f85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606482015260840161059d565b6001600160a01b0382166112735760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161059d565b61127e838383611c22565b611289600082610ff7565b6001600160a01b0383166000908152609a602052604081208054600192906112b2908490612b4b565b90915550506001600160a01b0382166000908152609a602052604081208054600192906112e0908490612b62565b9091555050600081815260996020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6040517f02571be30000000000000000000000000000000000000000000000000000000081527f91d1777781884d03a6757a803996e38de2a42967fb37eeaca72729271025a9e260048201526001600160a01b038416906302571be39060240160206040518083038186803b1580156113c657600080fd5b505afa1580156113da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fe9190612b7a565b6001600160a01b031663c47f002783836040518363ffffffff1660e01b815260040161142b929190612b97565b602060405180830381600087803b15801561144557600080fd5b505af1158015611459573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d089190612bc6565b60c95460ff166114cf5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015260640161059d565b60c9805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b603380546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60c95460ff16156115cb5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640161059d565b60c9805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586114fc3390565b600054610100900460ff1680611619575060005460ff16155b61167c5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161059d565b600054610100900460ff1615801561169e576000805461ffff19166101011790555b6116a6611c2d565b6116ae611cde565b8015610fac576000805461ff001916905550565b600054610100900460ff16806116db575060005460ff16155b61173e5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161059d565b600054610100900460ff16158015611760576000805461ffff19166101011790555b611768611c2d565b611770611c2d565b61177a8383611d85565b80156106ef576000805461ff0019169055505050565b600054610100900460ff16806117a9575060005460ff16155b61180c5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161059d565b600054610100900460ff1615801561182e576000805461ffff19166101011790555b611836611c2d565b61183e611c2d565b611846611e61565b6116ae611c2d565b61185a61015f82611f1d565b610fac8161012d55565b8051610b8790610191906020840190612461565b816001600160a01b0316836001600160a01b031614156118da5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161059d565b6001600160a01b038381166000818152609c6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6060823b6119bd5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f60448201527f6e74726163740000000000000000000000000000000000000000000000000000606482015260840161059d565b600080846001600160a01b0316846040516119d89190612bdf565b600060405180830381855af49150503d8060008114611a13576040519150601f19603f3d011682016040523d82523d6000602084013e611a18565b606091505b5091509150611a408282604051806060016040528060278152602001612daf60279139611f72565b95945050505050565b611a54848484611169565b611a6084848484611fab565b610d085760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161059d565b610fac81611ae161015f61210e565b612121565b606061086b61227c565b606081611b3057505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611b5a5780611b4481612b01565b9150611b539050600a83612c11565b9150611b34565b60008167ffffffffffffffff811115611b7557611b756126d5565b6040519080825280601f01601f191660200182016040528015611b9f576020820181803683370190505b5090505b841561116157611bb4600183612b4b565b9150611bc1600a86612c25565b611bcc906030612b62565b60f81b818381518110611be157611be1612a8e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611c1b600a86612c11565b9450611ba3565b6106ef8383836122a5565b600054610100900460ff1680611c46575060005460ff16155b611ca95760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161059d565b600054610100900460ff161580156116ae576000805461ffff19166101011790558015610fac576000805461ff001916905550565b600054610100900460ff1680611cf7575060005460ff16155b611d5a5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161059d565b600054610100900460ff16158015611d7c576000805461ffff19166101011790555b6116ae33611519565b600054610100900460ff1680611d9e575060005460ff16155b611e015760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161059d565b600054610100900460ff16158015611e23576000805461ffff19166101011790555b8251611e36906097906020860190612461565b508151611e4a906098906020850190612461565b5080156106ef576000805461ff0019169055505050565b600054610100900460ff1680611e7a575060005460ff16155b611edd5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161059d565b600054610100900460ff16158015611eff576000805461ffff19166101011790555b60c9805460ff191690558015610fac576000805461ff001916905550565b8154829015611f6e5760405162461bcd60e51b815260206004820152601f60248201527f63616e6e6f742d73657475702d647572696e672d6163746976652d6472617700604482015260640161059d565b5550565b60608315611f81575081610ec6565b825115611f915782518084602001fd5b8160405162461bcd60e51b815260040161059d9190612585565b60006001600160a01b0384163b1561210357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611fef903390899088908890600401612c39565b602060405180830381600087803b15801561200957600080fd5b505af1925050508015612039575060408051601f3d908101601f1916820190925261203691810190612c75565b60015b6120e9573d808015612067576040519150601f19603f3d011682016040523d82523d6000602084013e61206c565b606091505b5080516120e15760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161059d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611161565b506001949350505050565b60006104908261211c61231e565b612372565b6001600160a01b0382166121775760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161059d565b6000818152609960205260409020546001600160a01b0316156121dc5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161059d565b6121e860008383611c22565b6001600160a01b0382166000908152609a60205260408120805460019290612211908490612b62565b9091555050600081815260996020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60606101916040516020016122919190612c92565b604051602081830303815290604052905090565b60c95460ff16156106ef5760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201527f68696c6520706175736564000000000000000000000000000000000000000000606482015260840161059d565b600061232b600143612b4b565b6040805191406020830152429082015233606090811b6bffffffffffffffffffffffff19169082015260740160405160208183030381529060405280519060200120905090565b81546000908390826123848286612c25565b9050600083828154811061239a5761239a612a8e565b60009182526020822001549150846123b185612d81565b945084815481106123c4576123c4612a8e565b9060005260206000200154905081600014156123e8576123e5836001612b62565b91505b806123fb576123f8846001612b62565b90505b838314612422578085848154811061241557612415612a8e565b6000918252602090912001555b8480548061243257612432612d98565b600190038181906000526020600020016000905590556001826124559190612b4b565b98975050505050505050565b82805461246d90612a53565b90600052602060002090601f01602090048101928261248f57600085556124d5565b82601f106124a857805160ff19168380011785556124d5565b828001600101855582156124d5579182015b828111156124d55782518255916020019190600101906124ba565b506124e19291506124e5565b5090565b5b808211156124e157600081556001016124e6565b6001600160e01b031981168114610fac57600080fd5b60006020828403121561252257600080fd5b8135610ec6816124fa565b60005b83811015612548578181015183820152602001612530565b83811115610d085750506000910152565b6000815180845261257181602086016020860161252d565b601f01601f19169290920160200192915050565b602081526000610ec66020830184612559565b6000602082840312156125aa57600080fd5b5035919050565b6001600160a01b0381168114610fac57600080fd5b600080604083850312156125d957600080fd5b82356125e4816125b1565b946020939093013593505050565b60008060006060848603121561260757600080fd5b8335612612816125b1565b92506020840135612622816125b1565b929592945050506040919091013590565b60008060006040848603121561264857600080fd5b8335612653816125b1565b9250602084013567ffffffffffffffff8082111561267057600080fd5b818601915086601f83011261268457600080fd5b81358181111561269357600080fd5b8760208285010111156126a557600080fd5b6020830194508093505050509250925092565b6000602082840312156126ca57600080fd5b8135610ec6816125b1565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612706576127066126d5565b604051601f8501601f19908116603f0116810190828211818310171561272e5761272e6126d5565b8160405280935085815286868601111561274757600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261277257600080fd5b610ec6838335602085016126eb565b600080600080600060a0868803121561279957600080fd5b853567ffffffffffffffff808211156127b157600080fd5b6127bd89838a01612761565b965060208801359150808211156127d357600080fd5b6127df89838a01612761565b955060408801359150808211156127f557600080fd5b5061280288828901612761565b9598949750949560608101359550608001359392505050565b6000806040838503121561282e57600080fd5b8235612839816125b1565b91506020830135801515811461284e57600080fd5b809150509250929050565b60008083601f84011261286b57600080fd5b50813567ffffffffffffffff81111561288357600080fd5b6020830191508360208260051b850101111561289e57600080fd5b9250929050565b600080602083850312156128b857600080fd5b823567ffffffffffffffff8111156128cf57600080fd5b6128db85828601612859565b90969095509350505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561293c57603f1988860301845261292a858351612559565b9450928501929085019060010161290e565b5092979650505050505050565b6000806000806080858703121561295f57600080fd5b843561296a816125b1565b9350602085013561297a816125b1565b925060408501359150606085013567ffffffffffffffff81111561299d57600080fd5b8501601f810187136129ae57600080fd5b6129bd878235602084016126eb565b91505092959194509250565b600080604083850312156129dc57600080fd5b82356129e7816125b1565b9150602083013561284e816125b1565b60008060008060608587031215612a0d57600080fd5b843593506020850135612a1f816125b1565b9250604085013567ffffffffffffffff811115612a3b57600080fd5b612a4787828801612859565b95989497509550505050565b600181811c90821680612a6757607f821691505b60208210811415612a8857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b6000808335601e19843603018112612abb57600080fd5b83018035915067ffffffffffffffff821115612ad657600080fd5b60200191503681900382131561289e57600080fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415612b1557612b15612aeb565b5060010190565b60008351612b2e81846020880161252d565b835190830190612b4281836020880161252d565b01949350505050565b600082821015612b5d57612b5d612aeb565b500390565b60008219821115612b7557612b75612aeb565b500190565b600060208284031215612b8c57600080fd5b8151610ec6816125b1565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b600060208284031215612bd857600080fd5b5051919050565b60008251612bf181846020870161252d565b9190910192915050565b634e487b7160e01b600052601260045260246000fd5b600082612c2057612c20612bfb565b500490565b600082612c3457612c34612bfb565b500690565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612c6b6080830184612559565b9695505050505050565b600060208284031215612c8757600080fd5b8151610ec6816124fa565b7f697066733a2f2f000000000000000000000000000000000000000000000000008152600060076000845481600182811c915080831680612cd457607f831692505b6020808410821415612cf457634e487b7160e01b86526022600452602486fd5b818015612d085760018114612d1d57612d4e565b60ff1986168a890152848a0188019650612d4e565b60008b81526020902060005b86811015612d445781548c82018b0152908501908301612d29565b505087858b010196505b50507f2f000000000000000000000000000000000000000000000000000000000000008552509092019695505050505050565b600081612d9057612d90612aeb565b506000190190565b634e487b7160e01b600052603160045260246000fdfe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122070e12f08e3ea6dac50c9506d02961372e35843f13cf966dbd5b9c69f759fe22264736f6c63430008090033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 35 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
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.