Overview
TokenID
1020
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Vialz
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.13; import "@openzeppelin/contracts/interfaces/IERC2981.sol"; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; abstract contract CollectionInterface { function mintTransfer(address to) public virtual returns(uint256); } abstract contract ERC721 { function ownerOf(uint256 tokenId) public view virtual returns (address); } contract Vialz is ERC1155, ERC1155Burnable, IERC2981, Ownable, ReentrancyGuard { struct listParameters { bytes32 _root; uint256 _price; uint16 _available; } enum Stage { None, Pre, Wl, Pub } uint256 public constant MAX_SUPPLY = 9999; Stage public currentStageId = Stage.None; uint256 public tokenId = 0; uint256 public amountMinted = 0; bool public migrationStarted = false; uint256 public maxAmountPerTransactionPublic = 10; string public name = "VOLTZ Avatars MintVialz"; string public symbol = "VIALZ"; string public constant _baseURI = "ipfs://QmUjj4333BXDRi6bJJXF6cJPgSzjHp1xeWHCQtyxYiC5g8"; address private creator; address private collectionContractAddress; address private royaltiesAddress = 0x3aC8d44a7A6579145f4B83accbfbbD6a497509a2; address private withdrawAddress = 0xEb0FC5eDb13D0b42f7555AE181a173F592284F3f; uint256 private royaltiesPercentage = 75; mapping(address => uint256) public claimedExplorerTokens; mapping(address => uint256) public claimedGrantedTokens; mapping(address => uint256) public claimedPreSaleTokens; mapping(address => uint256) public claimedPublicTokens; mapping(uint256 => listParameters) private listsData; constructor(address payable owner) ERC1155(_baseURI) { require(owner != address(0), 'Zero address not allowed'); listsData[1] = listParameters(0x9979f64ba24c592bd32b9ad17c6408d6e0b412abaa9df6fdc1a32d9b6bbb6ec9, 0.05 ether, 4444); listsData[2] = listParameters(0x9b3e0fda6acce59669bda2c3475b3e04e6538ceccfa5e7bc3ceed8157b0eb16e, 0.05 ether, 2200); listsData[3] = listParameters(0xffcf42a4f71cca202bbb8332b98c87af8e941b7b37e13a906660201351702d17, 0 ether, 3355); listsData[4] = listParameters(0x0, 0 ether, 0); } function totalSupply() public pure returns (uint256) { return MAX_SUPPLY; } function contractURI() public pure returns (string memory) { return _baseURI; } function setMerkleRoot(bytes32 _merkleRoot, uint256 _listId) public onlyOwner returns (bool success) { listsData[_listId]._root = _merkleRoot; return true; } function setCollectionContract(address contractAddress) public onlyOwner returns (bool success) { require(contractAddress != address(0), 'Zero address not allowed'); collectionContractAddress = contractAddress; return true; } function setStage(uint8 stageId) public onlyOwner returns (bool success) { currentStageId = Stage(stageId); return true; } function setPublicPrice(uint256 price) public onlyOwner returns (bool success) { listsData[4]._price = price; return true; } function toggleMigration() public onlyOwner returns (bool success) { migrationStarted = !migrationStarted; return true; } modifier verifyProof(bytes32[] calldata _merkleProof, uint _maxAmount, uint256 _listId) { bytes32 leaf = encodeLeaf(msg.sender, _maxAmount, _listId); require((MerkleProof.verify(_merkleProof, listsData[_listId]._root, leaf) || _listId == 4), "Invalid proof of inclusion."); _; } function mintVial(bytes32[] calldata _merkleProof, uint _amount, uint _maxAmount, uint256 _listId) public payable nonReentrant() verifyProof(_merkleProof, _maxAmount, _listId) returns(uint256) { require((amountMinted + _amount) <= MAX_SUPPLY, "Max supply reached"); uint _price = _amount * listsData[_listId]._price; if (currentStageId == Stage.Pre) { if (_listId == 1) { require(claimedExplorerTokens[msg.sender] <= _maxAmount, "Address already claimed all his NFTs"); require(claimedExplorerTokens[msg.sender] + _amount <= _maxAmount, "Maximum amount exceeded"); require(listsData[1]._available != 0, "Explorer Tokens are sold out!"); require(msg.value >= _price, "Insufficient funds to mint"); for (uint i = 0; i < _amount; i++) { tokenId++; _mint(msg.sender, tokenId, 1, ""); amountMinted++; claimedExplorerTokens[msg.sender] += 1; listsData[1]._available -= 1; } if (msg.value > _price) { uint256 change = msg.value - _price; payable(msg.sender).transfer(change); } return tokenId; } else if (_listId == 2) { require(claimedGrantedTokens[msg.sender] <= _maxAmount, "Address already claimed all his NFTs"); require(claimedGrantedTokens[msg.sender] + _amount <= _maxAmount, "Maximum amount exceeded"); require(listsData[2]._available != 0, "Helmet Tokens are sold out!"); require(msg.value >= _price, "Insufficient funds to mint"); for (uint i = 0; i < _amount; i++) { tokenId++; _mint(msg.sender, tokenId, 1, ""); amountMinted++; claimedGrantedTokens[msg.sender] += 1; listsData[2]._available -= 1; } if (msg.value > _price) { uint256 change = msg.value - _price; payable(msg.sender).transfer(change); } return tokenId; } else { revert("List is not authorized at this stage"); } } else if (currentStageId == Stage.Wl) { if (_listId == 3) { require(claimedPreSaleTokens[msg.sender] <= _maxAmount, "Address already claimed all his NFTs"); require(claimedPreSaleTokens[msg.sender] + _amount <= _maxAmount, "Maximum amount exceeded"); require(listsData[3]._available != 0, "PreSale Tokens are sold out!"); for (uint i = 0; i < _amount; i++) { tokenId++; _mint(msg.sender, tokenId, 1, ""); amountMinted++; claimedPreSaleTokens[msg.sender] += 1; listsData[3]._available -= 1; } return tokenId; } else { revert("List is not authorized at this stage"); } } else if (currentStageId == Stage.Pub) { if (_listId == 4) { require(MAX_SUPPLY - amountMinted > 0, "Public Tokens are sold out!"); require(msg.value >= _price, "Insufficient funds to mint"); require(_amount <= maxAmountPerTransactionPublic, "Maximum amount per transaction exceeded"); for (uint i = 0; i < _amount; i++) { tokenId++; _mint(msg.sender, tokenId, 1, ""); amountMinted++; claimedPublicTokens[msg.sender] += 1; } if (msg.value > _price) { uint256 change = msg.value - _price; payable(msg.sender).transfer(change); } return tokenId; } else { revert("List is not authorized at this stage"); } } else { revert("Transaction is not authorized at this stage"); } } function supportsInterface(bytes4 interfaceId) public view virtual override (ERC1155, IERC165) returns (bool) { return (interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId)); } function _beforeTokenTransfer(address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) internal override(ERC1155) { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); } function _setRoyalties(address newRecipient) internal { require(newRecipient != address(0), "Royalties: new recipient is the zero address"); royaltiesAddress = newRecipient; } function setRoyalties(address newRecipient) external onlyOwner { _setRoyalties(newRecipient); } function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view override returns (address receiver, uint256 royaltyAmount) { return (royaltiesAddress, (_salePrice * royaltiesPercentage) / 1000); } function migrateToken(uint256 id) public returns(uint256) { require(migrationStarted == true, "Migration has not started"); require(balanceOf(msg.sender, id) > 0, "You do not own this token"); burn(msg.sender, id, 1); CollectionInterface collectionContract = CollectionInterface(collectionContractAddress); uint256 mintedId = collectionContract.mintTransfer(msg.sender); return mintedId; } function uintToStr(uint256 x) private pure returns (string memory) { if (x > 0) { string memory str; while (x > 0) { str = string(abi.encodePacked(uint8(x % 10 + 48), str)); x /= 10; } return str; } return "0"; } function addressToAsciiString(address x) internal pure returns (string memory) { bytes memory s = new bytes(40); for (uint i = 0; i < 20; i++) { bytes1 b = bytes1(uint8(uint(uint160(x)) / (2**(8*(19 - i))))); bytes1 hi = bytes1(uint8(b) / 16); bytes1 lo = bytes1(uint8(b) - 16 * uint8(hi)); s[2*i] = char(hi); s[2*i+1] = char(lo); } return string(s); } function char(bytes1 b) internal pure returns (bytes1 c) { if (uint8(b) < 10) return bytes1(uint8(b) + 0x30); else return bytes1(uint8(b) + 0x57); } function encodeLeaf(address _address, uint256 _maxAmount, uint256 _listId) internal pure returns(bytes32) { string memory prefix = "0x"; string memory space = " "; bytes memory _ba = bytes(prefix); bytes memory _bb = bytes(addressToAsciiString(_address)); bytes memory _bc = bytes(space); bytes memory _bd = bytes(uintToStr(_maxAmount)); bytes memory _be = bytes(space); bytes memory _bf = bytes(uintToStr(_listId)); string memory abcdef = new string(_ba.length + _bb.length + _bc.length + _bd.length + _be.length + _bf.length); bytes memory babcdef = bytes(abcdef); uint k = 0; for (uint i = 0; i < _ba.length; i++) babcdef[k++] = _ba[i]; for (uint i = 0; i < _bb.length; i++) babcdef[k++] = _bb[i]; for (uint i = 0; i < _bc.length; i++) babcdef[k++] = _bc[i]; for (uint i = 0; i < _bd.length; i++) babcdef[k++] = _bd[i]; for (uint i = 0; i < _be.length; i++) babcdef[k++] = _be[i]; for (uint i = 0; i < _bf.length; i++) babcdef[k++] = _bf[i]; return bytes32(keccak256(babcdef)); } function withdraw() public onlyOwner returns(bool) { payable(withdrawAddress).transfer(address(this).balance); return true; } function renounceOwnership() public view override onlyOwner { revert("Cannot renounce ownership"); } function getAvailableTokensByList(uint256 _listId) public view returns(uint256) { return listsData[_listId]._available; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard */ interface IERC2981 is IERC165 { /** * @dev Called with the sale price to determine how much royalty is owed and to whom. * @param tokenId - the NFT asset queried for royalty information * @param salePrice - the sale price of the NFT asset specified by `tokenId` * @return receiver - address of who should be sent the royalty payment * @return royaltyAmount - the royalty payment amount for `salePrice` */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); } /** * @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, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Burnable.sol) pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of {ERC1155} that allows token holders to destroy both their * own tokens and those that they have been approved to use. * * _Available since v3.1._ */ abstract contract ERC1155Burnable is ERC1155 { function burn( address account, uint256 id, uint256 value ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not owner nor approved" ); _burn(account, id, value); } function burnBatch( address account, uint256[] memory ids, uint256[] memory values ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not owner nor approved" ); _burnBatch(account, ids, values); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol";
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** @dev Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address payable","name":"owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"amountMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedExplorerTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedGrantedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedPreSaleTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedPublicTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"currentStageId","outputs":[{"internalType":"enum Vialz.Stage","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_listId","type":"uint256"}],"name":"getAvailableTokensByList","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxAmountPerTransactionPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"migrateToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrationStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_maxAmount","type":"uint256"},{"internalType":"uint256","name":"_listId","type":"uint256"}],"name":"mintVial","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","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":"contractAddress","type":"address"}],"name":"setCollectionContract","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"_listId","type":"uint256"}],"name":"setMerkleRoot","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPublicPrice","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRecipient","type":"address"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"stageId","type":"uint8"}],"name":"setStage","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"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":[],"name":"toggleMigration","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6005805460ff1990811690915560006006819055600755600880549091169055600a600981905560c0604052601760808190527f564f4c545a2041766174617273204d696e745669616c7a00000000000000000060a0908152620000649291620004e5565b50604080518082019091526005808252642b24a0a62d60d91b60209092019182526200009391600b91620004e5565b50600e80546001600160a01b0319908116733ac8d44a7a6579145f4b83accbfbbd6a497509a217909155600f805490911673eb0fc5edb13d0b42f7555ae181a173f592284f3f179055604b601055348015620000ee57600080fd5b50604051620048313803806200483183398101604081905262000111916200058b565b604051806060016040528060358152602001620047fc6035913962000136816200047a565b50620001423362000493565b60016004556001600160a01b038116620001a25760405162461bcd60e51b815260206004820152601860248201527f5a65726f2061646472657373206e6f7420616c6c6f7765640000000000000000604482015260640160405180910390fd5b5060408051606080820183527f9979f64ba24c592bd32b9ad17c6408d6e0b412abaa9df6fdc1a32d9b6bbb6ec9825266b1a2bc2ec50000602080840182815261115c85870190815260016000908152601580855296517f27739e4bb5e6f8b5e4b57a047dca8767cc9b982a011081e086cbb0dfa9de818d5591517f27739e4bb5e6f8b5e4b57a047dca8767cc9b982a011081e086cbb0dfa9de818e55517f27739e4bb5e6f8b5e4b57a047dca8767cc9b982a011081e086cbb0dfa9de818f805461ffff1990811661ffff93841617909155875180870189527f9b3e0fda6acce59669bda2c3475b3e04e6538ceccfa5e7bc3ceed8157b0eb16e8152808501958652610898818a019081526002855288865290517f07d4ff730d9753101d832555708a37d38c2c45fce8cacaefc99f06074e93fe0b5594517f07d4ff730d9753101d832555708a37d38c2c45fce8cacaefc99f06074e93fe0c5593517f07d4ff730d9753101d832555708a37d38c2c45fce8cacaefc99f06074e93fe0d80548616918316919091179055865180860188527fffcf42a4f71cca202bbb8332b98c87af8e941b7b37e13a906660201351702d178152808401838152610d1b828a019081526003855288865291517fb3a65e8276bd33b3e4f7d6081ebd9899187264822358758dca2e2bc37b2a9c2755517fb3a65e8276bd33b3e4f7d6081ebd9899187264822358758dca2e2bc37b2a9c2855517fb3a65e8276bd33b3e4f7d6081ebd9899187264822358758dca2e2bc37b2a9c29805486169183169190911790558651948501875281855284830182815296850182815260049092529490915291517f8191f4eb6b8bafbfe9a5389c8d07d7f5fd81137a7ee653fc4358269845ee1d2e5592517f8191f4eb6b8bafbfe9a5389c8d07d7f5fd81137a7ee653fc4358269845ee1d2f55517f8191f4eb6b8bafbfe9a5389c8d07d7f5fd81137a7ee653fc4358269845ee1d3080549093169116179055620005f9565b80516200048f906002906020840190620004e5565b5050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620004f390620005bd565b90600052602060002090601f01602090048101928262000517576000855562000562565b82601f106200053257805160ff191683800117855562000562565b8280016001018555821562000562579182015b828111156200056257825182559160200191906001019062000545565b506200057092915062000574565b5090565b5b8082111562000570576000815560010162000575565b6000602082840312156200059e57600080fd5b81516001600160a01b0381168114620005b657600080fd5b9392505050565b600181811c90821680620005d257607f821691505b602082108103620005f357634e487b7160e01b600052602260045260246000fd5b50919050565b6141f380620006096000396000f3fe60806040526004361061029f5760003560e01c8063743976a01161016e578063c6275255116100cb578063ec45127a1161007f578063f2fde38b11610064578063f2fde38b14610779578063f5298aca14610799578063f8480928146107b957600080fd5b8063ec45127a14610732578063f242432a1461075957600080fd5b8063ce3cd997116100b0578063ce3cd997146106b4578063e8a3d485146106d4578063e985e9c5146106e957600080fd5b8063c627525514610674578063c752957a1461069457600080fd5b806395d89b4111610122578063a22cb46511610107578063a22cb46514610614578063a63e147614610634578063a6da9ab71461066157600080fd5b806395d89b41146105cb5780639f1f9582146105e057600080fd5b80637c382d0b116101535780637c382d0b146105695780637c6e94e3146105895780638da5cb5b146105a357600080fd5b8063743976a01461053e5780637af284d51461055357600080fd5b80632eb2c2d61161021c578063587bc676116101d05780636b20c454116101b55780636b20c454146104dc5780636fafbbdd146104fc578063715018a61461052957600080fd5b8063587bc6761461048f5780635f6be614146104bc57600080fd5b80633ccfd60b116102015780633ccfd60b1461042057806348ad2e04146104355780634e1273f41461046257600080fd5b80632eb2c2d6146103ea57806332cb6b0c1461040a57600080fd5b806317d70f7c1161027357806321fec36c1161025857806321fec36c146103745780632a55205a146103895780632a9e63c6146103c857600080fd5b806317d70f7c1461034957806318160ddd1461035f57600080fd5b8062fdd58e146102a457806301ffc9a7146102d757806306fdde03146103075780630e89341c14610329575b600080fd5b3480156102b057600080fd5b506102c46102bf366004613663565b6107cf565b6040519081526020015b60405180910390f35b3480156102e357600080fd5b506102f76102f23660046136a3565b61087b565b60405190151581526020016102ce565b34801561031357600080fd5b5061031c6108b9565b6040516102ce9190613723565b34801561033557600080fd5b5061031c610344366004613736565b610947565b34801561035557600080fd5b506102c460065481565b34801561036b57600080fd5b5061270f6102c4565b34801561038057600080fd5b506102f76109db565b34801561039557600080fd5b506103a96103a436600461374f565b610a51565b604080516001600160a01b0390931683526020830191909152016102ce565b3480156103d457600080fd5b506103e86103e3366004613771565b610a8b565b005b3480156103f657600080fd5b506103e86104053660046138d8565b610af1565b34801561041657600080fd5b506102c461270f81565b34801561042c57600080fd5b506102f7610b93565b34801561044157600080fd5b506102c4610450366004613771565b60136020526000908152604090205481565b34801561046e57600080fd5b5061048261047d366004613982565b610c31565b6040516102ce9190613a88565b34801561049b57600080fd5b506102c46104aa366004613771565b60126020526000908152604090205481565b3480156104c857600080fd5b506102c46104d7366004613736565b610d6f565b3480156104e857600080fd5b506103e86104f7366004613a9b565b610ec2565b34801561050857600080fd5b506102c4610517366004613771565b60146020526000908152604090205481565b34801561053557600080fd5b506103e8610f4c565b34801561054a57600080fd5b5061031c610fee565b34801561055f57600080fd5b506102c460075481565b34801561057557600080fd5b506102f761058436600461374f565b61100a565b34801561059557600080fd5b506008546102f79060ff1681565b3480156105af57600080fd5b506003546040516001600160a01b0390911681526020016102ce565b3480156105d757600080fd5b5061031c61107c565b3480156105ec57600080fd5b506102c46105fb366004613736565b60009081526015602052604090206002015461ffff1690565b34801561062057600080fd5b506103e861062f366004613b0f565b611089565b34801561064057600080fd5b506102c461064f366004613771565b60116020526000908152604090205481565b6102c461066f366004613b4b565b611098565b34801561068057600080fd5b506102f761068f366004613736565b611cf3565b3480156106a057600080fd5b506102f76106af366004613771565b611d87565b3480156106c057600080fd5b506102f76106cf366004613bd6565b611e6c565b3480156106e057600080fd5b5061031c611f07565b3480156106f557600080fd5b506102f7610704366004613bf9565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b34801561073e57600080fd5b5060055461074c9060ff1681565b6040516102ce9190613c42565b34801561076557600080fd5b506103e8610774366004613c6a565b611f27565b34801561078557600080fd5b506103e8610794366004613771565b611fae565b3480156107a557600080fd5b506103e86107b4366004613ccf565b61208d565b3480156107c557600080fd5b506102c460095481565b60006001600160a01b0383166108525760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b031982167f2a55205a000000000000000000000000000000000000000000000000000000001480610875575061087582612112565b600a80546108c690613d02565b80601f01602080910402602001604051908101604052809291908181526020018280546108f290613d02565b801561093f5780601f106109145761010080835404028352916020019161093f565b820191906000526020600020905b81548152906001019060200180831161092257829003601f168201915b505050505081565b60606002805461095690613d02565b80601f016020809104026020016040519081016040528092919081815260200182805461098290613d02565b80156109cf5780601f106109a4576101008083540402835291602001916109cf565b820191906000526020600020905b8154815290600101906020018083116109b257829003601f168201915b50505050509050919050565b6003546000906001600160a01b03163314610a385760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610849565b506008805460ff19811660ff9091161517905560015b90565b600e5460105460009182916001600160a01b03909116906103e890610a769086613d52565b610a809190613d87565b915091509250929050565b6003546001600160a01b03163314610ae55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610849565b610aee816121ad565b50565b6001600160a01b038516331480610b0d5750610b0d8533610704565b610b7f5760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610849565b610b8c8585858585612258565b5050505050565b6003546000906001600160a01b03163314610bf05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610849565b600f546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610c29573d6000803e3d6000fd5b506001905090565b60608151835114610caa5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152608401610849565b6000835167ffffffffffffffff811115610cc657610cc661378c565b604051908082528060200260200182016040528015610cef578160200160208202803683370190505b50905060005b8451811015610d6757610d3a858281518110610d1357610d13613d9b565b6020026020010151858381518110610d2d57610d2d613d9b565b60200260200101516107cf565b828281518110610d4c57610d4c613d9b565b6020908102919091010152610d6081613db1565b9050610cf5565b509392505050565b60085460009060ff161515600114610dc95760405162461bcd60e51b815260206004820152601960248201527f4d6967726174696f6e20686173206e6f742073746172746564000000000000006044820152606401610849565b6000610dd533846107cf565b11610e225760405162461bcd60e51b815260206004820152601960248201527f596f7520646f206e6f74206f776e207468697320746f6b656e000000000000006044820152606401610849565b610e2e3383600161208d565b600d546040517f937f26080000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b0390911690600090829063937f2608906024016020604051808303816000875af1158015610e96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eba9190613dca565b949350505050565b6001600160a01b038316331480610ede5750610ede8333610704565b610f3c5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610849565b610f478383836124c4565b505050565b6003546001600160a01b03163314610fa65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610849565b60405162461bcd60e51b815260206004820152601960248201527f43616e6e6f742072656e6f756e6365206f776e657273686970000000000000006044820152606401610849565b6040518060600160405280603581526020016141896035913981565b6003546000906001600160a01b031633146110675760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610849565b50600090815260156020526040902055600190565b600b80546108c690613d02565b61109433838361270b565b5050565b60006002600454036110ec5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610849565b60026004558585848460006111023384846127ff565b905061114f8585808060200260200160405190810160405280939291908181526020018383602002808284376000920182905250878152601560205260409020549250859150612bec9050565b8061115a5750816004145b6111a65760405162461bcd60e51b815260206004820152601b60248201527f496e76616c69642070726f6f66206f6620696e636c7573696f6e2e00000000006044820152606401610849565b61270f896007546111b79190613de3565b11156112055760405162461bcd60e51b815260206004820152601260248201527f4d617820737570706c79207265616368656400000000000000000000000000006044820152606401610849565b600087815260156020526040812060010154611221908b613d52565b9050600160055460ff16600381111561123c5761123c613c2c565b0361182a578760010361152857336000908152601160205260409020548910156112b45760405162461bcd60e51b8152602060048201526024808201527f4164647265737320616c726561647920636c61696d656420616c6c20686973206044820152634e46547360e01b6064820152608401610849565b3360009081526011602052604090205489906112d1908c90613de3565b111561131f5760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d20616d6f756e742065786365656465640000000000000000006044820152606401610849565b6001600090815260156020527f27739e4bb5e6f8b5e4b57a047dca8767cc9b982a011081e086cbb0dfa9de818f5461ffff16900361139f5760405162461bcd60e51b815260206004820152601d60248201527f4578706c6f72657220546f6b656e732061726520736f6c64206f7574210000006044820152606401610849565b803410156113ef5760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e742066756e647320746f206d696e740000000000006044820152606401610849565b60005b8a8110156114d5576006805490600061140a83613db1565b919050555061142d33600654600160405180602001604052806000815250612c02565b6007805490600061143d83613db1565b9091555050336000908152601160205260408120805460019290611462908490613de3565b90915550506001600081815260156020527f27739e4bb5e6f8b5e4b57a047dca8767cc9b982a011081e086cbb0dfa9de818f80549091906114a890849061ffff16613dfb565b92506101000a81548161ffff021916908361ffff16021790555080806114cd90613db1565b9150506113f2565b508034111561151d5760006114ea8234613e1e565b604051909150339082156108fc029083906000818181858888f1935050505015801561151a573d6000803e3d6000fd5b50505b600654965050611cdf565b876002036117bd573360009081526012602052604090205489101561159b5760405162461bcd60e51b8152602060048201526024808201527f4164647265737320616c726561647920636c61696d656420616c6c20686973206044820152634e46547360e01b6064820152608401610849565b3360009081526012602052604090205489906115b8908c90613de3565b11156116065760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d20616d6f756e742065786365656465640000000000000000006044820152606401610849565b6002600090815260156020527f07d4ff730d9753101d832555708a37d38c2c45fce8cacaefc99f06074e93fe0d5461ffff1690036116865760405162461bcd60e51b815260206004820152601b60248201527f48656c6d657420546f6b656e732061726520736f6c64206f75742100000000006044820152606401610849565b803410156116d65760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e742066756e647320746f206d696e740000000000006044820152606401610849565b60005b8a8110156114d557600680549060006116f183613db1565b919050555061171433600654600160405180602001604052806000815250612c02565b6007805490600061172483613db1565b9091555050336000908152601260205260408120805460019290611749908490613de3565b90915550506002600090815260156020527f07d4ff730d9753101d832555708a37d38c2c45fce8cacaefc99f06074e93fe0d80546001929061179090849061ffff16613dfb565b92506101000a81548161ffff021916908361ffff16021790555080806117b590613db1565b9150506116d9565b60405162461bcd60e51b8152602060048201526024808201527f4c697374206973206e6f7420617574686f72697a65642061742074686973207360448201527f74616765000000000000000000000000000000000000000000000000000000006064820152608401610849565b600260055460ff16600381111561184357611843613c2c565b03611a9957876003036117bd57336000908152601360205260409020548910156118bb5760405162461bcd60e51b8152602060048201526024808201527f4164647265737320616c726561647920636c61696d656420616c6c20686973206044820152634e46547360e01b6064820152608401610849565b3360009081526013602052604090205489906118d8908c90613de3565b11156119265760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d20616d6f756e742065786365656465640000000000000000006044820152606401610849565b6003600090815260156020527fb3a65e8276bd33b3e4f7d6081ebd9899187264822358758dca2e2bc37b2a9c295461ffff1690036119a65760405162461bcd60e51b815260206004820152601c60248201527f50726553616c6520546f6b656e732061726520736f6c64206f757421000000006044820152606401610849565b60005b8a811015611a8d57600680549060006119c183613db1565b91905055506119e433600654600160405180602001604052806000815250612c02565b600780549060006119f483613db1565b9091555050336000908152601360205260408120805460019290611a19908490613de3565b90915550506003600090815260156020527fb3a65e8276bd33b3e4f7d6081ebd9899187264822358758dca2e2bc37b2a9c29805460019290611a6090849061ffff16613dfb565b92506101000a81548161ffff021916908361ffff1602179055508080611a8590613db1565b9150506119a9565b50600654965050611cdf565b600360055460ff166003811115611ab257611ab2613c2c565b03611c7157876004036117bd57600060075461270f611ad19190613e1e565b11611b1e5760405162461bcd60e51b815260206004820152601b60248201527f5075626c696320546f6b656e732061726520736f6c64206f75742100000000006044820152606401610849565b80341015611b6e5760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e742066756e647320746f206d696e740000000000006044820152606401610849565b6009548a1115611be65760405162461bcd60e51b815260206004820152602760248201527f4d6178696d756d20616d6f756e7420706572207472616e73616374696f6e206560448201527f78636565646564000000000000000000000000000000000000000000000000006064820152608401610849565b60005b8a8110156114d55760068054906000611c0183613db1565b9190505550611c2433600654600160405180602001604052806000815250612c02565b60078054906000611c3483613db1565b9091555050336000908152601460205260408120805460019290611c59908490613de3565b90915550819050611c6981613db1565b915050611be9565b60405162461bcd60e51b815260206004820152602b60248201527f5472616e73616374696f6e206973206e6f7420617574686f72697a656420617460448201527f20746869732073746167650000000000000000000000000000000000000000006064820152608401610849565b505060016004555091979650505050505050565b6003546000906001600160a01b03163314611d505760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610849565b50600460005260156020527f8191f4eb6b8bafbfe9a5389c8d07d7f5fd81137a7ee653fc4358269845ee1d2f81905560015b919050565b6003546000906001600160a01b03163314611de45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610849565b6001600160a01b038216611e3a5760405162461bcd60e51b815260206004820152601860248201527f5a65726f2061646472657373206e6f7420616c6c6f77656400000000000000006044820152606401610849565b50600d80546001600160a01b03831673ffffffffffffffffffffffffffffffffffffffff199091161790556001919050565b6003546000906001600160a01b03163314611ec95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610849565b8160ff166003811115611ede57611ede613c2c565b6005805460ff19166001836003811115611efa57611efa613c2c565b0217905550600192915050565b606060405180606001604052806035815260200161418960359139905090565b6001600160a01b038516331480611f435750611f438533610704565b611fa15760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610849565b610b8c8585858585612d2e565b6003546001600160a01b031633146120085760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610849565b6001600160a01b0381166120845760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610849565b610aee81612ecc565b6001600160a01b0383163314806120a957506120a98333610704565b6121075760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610849565b610f47838383612f2b565b60006001600160e01b031982167fd9b67a2600000000000000000000000000000000000000000000000000000000148061217557506001600160e01b031982167f0e89341c00000000000000000000000000000000000000000000000000000000145b8061087557507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610875565b6001600160a01b0381166122295760405162461bcd60e51b815260206004820152602c60248201527f526f79616c746965733a206e657720726563697069656e74206973207468652060448201527f7a65726f206164647265737300000000000000000000000000000000000000006064820152608401610849565b600e805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b81518351146122ba5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610849565b6001600160a01b03841661231e5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610849565b3361232d8187878787876130a4565b60005b845181101561245657600085828151811061234d5761234d613d9b565b60200260200101519050600085838151811061236b5761236b613d9b565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156123fe5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b6064820152608401610849565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061243b908490613de3565b925050819055505050508061244f90613db1565b9050612330565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516124a6929190613e35565b60405180910390a46124bc8187878787876130a9565b505050505050565b6001600160a01b0383166125265760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b6064820152608401610849565b80518251146125885760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610849565b60003390506125ab818560008686604051806020016040528060008152506130a4565b60005b83518110156126ac5760008482815181106125cb576125cb613d9b565b6020026020010151905060008483815181106125e9576125e9613d9b565b602090810291909101810151600084815280835260408082206001600160a01b038c1683529093529190912054909150818110156126755760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b6064820152608401610849565b6000928352602083815260408085206001600160a01b038b16865290915290922091039055806126a481613db1565b9150506125ae565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516126fd929190613e35565b60405180910390a450505050565b816001600160a01b0316836001600160a01b0316036127925760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152608401610849565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b604080518082018252600281527f30780000000000000000000000000000000000000000000000000000000000006020808301919091528251808401909352600183527f20000000000000000000000000000000000000000000000000000000000000009083015260009181836128758861324e565b905082600061288389613395565b90508460006128918a613395565b90506000815183518551875189518b516128ab9190613de3565b6128b59190613de3565b6128bf9190613de3565b6128c99190613de3565b6128d39190613de3565b67ffffffffffffffff8111156128eb576128eb61378c565b6040519080825280601f01601f191660200182016040528015612915576020820181803683370190505b509050806000805b895181101561298d5789818151811061293857612938613d9b565b01602001516001600160f81b031916838361295281613db1565b94508151811061296457612964613d9b565b60200101906001600160f81b031916908160001a9053508061298581613db1565b91505061291d565b5060005b8851811015612a01578881815181106129ac576129ac613d9b565b01602001516001600160f81b03191683836129c681613db1565b9450815181106129d8576129d8613d9b565b60200101906001600160f81b031916908160001a905350806129f981613db1565b915050612991565b5060005b8751811015612a7557878181518110612a2057612a20613d9b565b01602001516001600160f81b0319168383612a3a81613db1565b945081518110612a4c57612a4c613d9b565b60200101906001600160f81b031916908160001a90535080612a6d81613db1565b915050612a05565b5060005b8651811015612ae957868181518110612a9457612a94613d9b565b01602001516001600160f81b0319168383612aae81613db1565b945081518110612ac057612ac0613d9b565b60200101906001600160f81b031916908160001a90535080612ae181613db1565b915050612a79565b5060005b8551811015612b5d57858181518110612b0857612b08613d9b565b01602001516001600160f81b0319168383612b2281613db1565b945081518110612b3457612b34613d9b565b60200101906001600160f81b031916908160001a90535080612b5581613db1565b915050612aed565b5060005b8451811015612bd157848181518110612b7c57612b7c613d9b565b01602001516001600160f81b0319168383612b9681613db1565b945081518110612ba857612ba8613d9b565b60200101906001600160f81b031916908160001a90535080612bc981613db1565b915050612b61565b505080516020909101209d9c50505050505050505050505050565b600082612bf9858461342b565b14949350505050565b6001600160a01b038416612c7e5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610849565b33612c9e81600087612c8f886134cf565b612c98886134cf565b876130a4565b6000848152602081815260408083206001600160a01b038916845290915281208054859290612cce908490613de3565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610b8c8160008787878761351a565b6001600160a01b038416612d925760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610849565b33612da2818787612c8f886134cf565b6000848152602081815260408083206001600160a01b038a16845290915290205483811015612e265760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b6064820152608401610849565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290612e63908490613de3565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4612ec382888888888861351a565b50505050505050565b600380546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316612f8d5760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b6064820152608401610849565b33612fbc81856000612f9e876134cf565b612fa7876134cf565b604051806020016040528060008152506130a4565b6000838152602081815260408083206001600160a01b0388168452909152902054828110156130395760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b6064820152608401610849565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b6124bc565b6001600160a01b0384163b156124bc5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906130ed9089908990889088908890600401613e63565b6020604051808303816000875af1925050508015613128575060408051601f3d908101601f1916820190925261312591810190613ec1565b60015b6131dd57613134613ede565b806308c379a00361316d5750613148613ef9565b80613153575061316f565b8060405162461bcd60e51b81526004016108499190613723565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610849565b6001600160e01b0319811663bc197c8160e01b14612ec35760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608401610849565b60408051602880825260608281019093526000919060208201818036833701905050905060005b601481101561338e57600061328b826013613e1e565b613296906008613d52565b6132a1906002614067565b6132b4906001600160a01b038716613d87565b60f81b9050600060108260f81c6132cb9190614073565b60f81b905060008160f81c60106132e29190614095565b8360f81c6132f091906140b6565b60f81b90506132fe82613616565b8561330a866002613d52565b8151811061331a5761331a613d9b565b60200101906001600160f81b031916908160001a90535061333a81613616565b85613346866002613d52565b613351906001613de3565b8151811061336157613361613d9b565b60200101906001600160f81b031916908160001a905350505050808061338690613db1565b915050613275565b5092915050565b606081156133f25760605b8215610875576133b1600a846140d9565b6133bc906030613de3565b816040516020016133ce9291906140ed565b60408051601f1981840301815291905290506133eb600a84613d87565b92506133a0565b505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b600081815b8451811015610d6757600085828151811061344d5761344d613d9b565b6020026020010151905080831161348f5760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506134bc565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806134c781613db1565b915050613430565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061350957613509613d9b565b602090810291909101015292915050565b6001600160a01b0384163b156124bc5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e619061355e9089908990889088908890600401614120565b6020604051808303816000875af1925050508015613599575060408051601f3d908101601f1916820190925261359691810190613ec1565b60015b6135a557613134613ede565b6001600160e01b0319811663f23a6e6160e01b14612ec35760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608401610849565b6000600a60f883901c101561363d5761363460f883901c6030614163565b60f81b92915050565b61363460f883901c6057614163565b80356001600160a01b0381168114611d8257600080fd5b6000806040838503121561367657600080fd5b61367f8361364c565b946020939093013593505050565b6001600160e01b031981168114610aee57600080fd5b6000602082840312156136b557600080fd5b81356136c08161368d565b9392505050565b60005b838110156136e25781810151838201526020016136ca565b838111156136f1576000848401525b50505050565b6000815180845261370f8160208601602086016136c7565b601f01601f19169290920160200192915050565b6020815260006136c060208301846136f7565b60006020828403121561374857600080fd5b5035919050565b6000806040838503121561376257600080fd5b50508035926020909101359150565b60006020828403121561378357600080fd5b6136c08261364c565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff811182821017156137c8576137c861378c565b6040525050565b600067ffffffffffffffff8211156137e9576137e961378c565b5060051b60200190565b600082601f83011261380457600080fd5b81356020613811826137cf565b60405161381e82826137a2565b83815260059390931b850182019282810191508684111561383e57600080fd5b8286015b848110156138595780358352918301918301613842565b509695505050505050565b600082601f83011261387557600080fd5b813567ffffffffffffffff81111561388f5761388f61378c565b6040516138a6601f8301601f1916602001826137a2565b8181528460208386010111156138bb57600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a086880312156138f057600080fd5b6138f98661364c565b94506139076020870161364c565b9350604086013567ffffffffffffffff8082111561392457600080fd5b61393089838a016137f3565b9450606088013591508082111561394657600080fd5b61395289838a016137f3565b9350608088013591508082111561396857600080fd5b5061397588828901613864565b9150509295509295909350565b6000806040838503121561399557600080fd5b823567ffffffffffffffff808211156139ad57600080fd5b818501915085601f8301126139c157600080fd5b813560206139ce826137cf565b6040516139db82826137a2565b83815260059390931b85018201928281019150898411156139fb57600080fd5b948201945b83861015613a2057613a118661364c565b82529482019490820190613a00565b96505086013592505080821115613a3657600080fd5b50613a43858286016137f3565b9150509250929050565b600081518084526020808501945080840160005b83811015613a7d57815187529582019590820190600101613a61565b509495945050505050565b6020815260006136c06020830184613a4d565b600080600060608486031215613ab057600080fd5b613ab98461364c565b9250602084013567ffffffffffffffff80821115613ad657600080fd5b613ae2878388016137f3565b93506040860135915080821115613af857600080fd5b50613b05868287016137f3565b9150509250925092565b60008060408385031215613b2257600080fd5b613b2b8361364c565b915060208301358015158114613b4057600080fd5b809150509250929050565b600080600080600060808688031215613b6357600080fd5b853567ffffffffffffffff80821115613b7b57600080fd5b818801915088601f830112613b8f57600080fd5b813581811115613b9e57600080fd5b8960208260051b8501011115613bb357600080fd5b60209283019a909950918801359760408101359750606001359550909350505050565b600060208284031215613be857600080fd5b813560ff811681146136c057600080fd5b60008060408385031215613c0c57600080fd5b613c158361364c565b9150613c236020840161364c565b90509250929050565b634e487b7160e01b600052602160045260246000fd5b6020810160048310613c6457634e487b7160e01b600052602160045260246000fd5b91905290565b600080600080600060a08688031215613c8257600080fd5b613c8b8661364c565b9450613c996020870161364c565b93506040860135925060608601359150608086013567ffffffffffffffff811115613cc357600080fd5b61397588828901613864565b600080600060608486031215613ce457600080fd5b613ced8461364c565b95602085013595506040909401359392505050565b600181811c90821680613d1657607f821691505b602082108103613d3657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615613d6c57613d6c613d3c565b500290565b634e487b7160e01b600052601260045260246000fd5b600082613d9657613d96613d71565b500490565b634e487b7160e01b600052603260045260246000fd5b600060018201613dc357613dc3613d3c565b5060010190565b600060208284031215613ddc57600080fd5b5051919050565b60008219821115613df657613df6613d3c565b500190565b600061ffff83811690831681811015613e1657613e16613d3c565b039392505050565b600082821015613e3057613e30613d3c565b500390565b604081526000613e486040830185613a4d565b8281036020840152613e5a8185613a4d565b95945050505050565b60006001600160a01b03808816835280871660208401525060a06040830152613e8f60a0830186613a4d565b8281036060840152613ea18186613a4d565b90508281036080840152613eb581856136f7565b98975050505050505050565b600060208284031215613ed357600080fd5b81516136c08161368d565b600060033d1115610a4e5760046000803e5060005160e01c90565b600060443d1015613f075790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715613f3757505050505090565b8285019150815181811115613f4f5750505050505090565b843d8701016020828501011115613f695750505050505090565b613f78602082860101876137a2565b509095945050505050565b600181815b80851115613fbe578160001904821115613fa457613fa4613d3c565b80851615613fb157918102915b93841c9390800290613f88565b509250929050565b600082613fd557506001610875565b81613fe257506000610875565b8160018114613ff857600281146140025761401e565b6001915050610875565b60ff84111561401357614013613d3c565b50506001821b610875565b5060208310610133831016604e8410600b8410161715614041575081810a610875565b61404b8383613f83565b806000190482111561405f5761405f613d3c565b029392505050565b60006136c08383613fc6565b600060ff83168061408657614086613d71565b8060ff84160491505092915050565b600060ff821660ff84168160ff048111821515161561405f5761405f613d3c565b600060ff821660ff8416808210156140d0576140d0613d3c565b90039392505050565b6000826140e8576140e8613d71565b500690565b6001600160f81b03198360f81b168152600082516141128160018501602087016136c7565b919091016001019392505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a0608083015261415860a08301846136f7565b979650505050505050565b600060ff821660ff84168060ff0382111561418057614180613d3c565b01939250505056fe697066733a2f2f516d556a6a34333333425844526936624a4a584636634a5067537a6a487031786557484351747978596943356738a2646970667358221220c15a7ee8cc43601c0b4904656b2f7ca8c260a34a84b9cefcb4c384045d83de0e64736f6c634300080d0033697066733a2f2f516d556a6a34333333425844526936624a4a584636634a5067537a6a4870317865574843517479785969433567380000000000000000000000002843afe4a48277658c7841e7c90325700f42ed79
Deployed Bytecode
0x60806040526004361061029f5760003560e01c8063743976a01161016e578063c6275255116100cb578063ec45127a1161007f578063f2fde38b11610064578063f2fde38b14610779578063f5298aca14610799578063f8480928146107b957600080fd5b8063ec45127a14610732578063f242432a1461075957600080fd5b8063ce3cd997116100b0578063ce3cd997146106b4578063e8a3d485146106d4578063e985e9c5146106e957600080fd5b8063c627525514610674578063c752957a1461069457600080fd5b806395d89b4111610122578063a22cb46511610107578063a22cb46514610614578063a63e147614610634578063a6da9ab71461066157600080fd5b806395d89b41146105cb5780639f1f9582146105e057600080fd5b80637c382d0b116101535780637c382d0b146105695780637c6e94e3146105895780638da5cb5b146105a357600080fd5b8063743976a01461053e5780637af284d51461055357600080fd5b80632eb2c2d61161021c578063587bc676116101d05780636b20c454116101b55780636b20c454146104dc5780636fafbbdd146104fc578063715018a61461052957600080fd5b8063587bc6761461048f5780635f6be614146104bc57600080fd5b80633ccfd60b116102015780633ccfd60b1461042057806348ad2e04146104355780634e1273f41461046257600080fd5b80632eb2c2d6146103ea57806332cb6b0c1461040a57600080fd5b806317d70f7c1161027357806321fec36c1161025857806321fec36c146103745780632a55205a146103895780632a9e63c6146103c857600080fd5b806317d70f7c1461034957806318160ddd1461035f57600080fd5b8062fdd58e146102a457806301ffc9a7146102d757806306fdde03146103075780630e89341c14610329575b600080fd5b3480156102b057600080fd5b506102c46102bf366004613663565b6107cf565b6040519081526020015b60405180910390f35b3480156102e357600080fd5b506102f76102f23660046136a3565b61087b565b60405190151581526020016102ce565b34801561031357600080fd5b5061031c6108b9565b6040516102ce9190613723565b34801561033557600080fd5b5061031c610344366004613736565b610947565b34801561035557600080fd5b506102c460065481565b34801561036b57600080fd5b5061270f6102c4565b34801561038057600080fd5b506102f76109db565b34801561039557600080fd5b506103a96103a436600461374f565b610a51565b604080516001600160a01b0390931683526020830191909152016102ce565b3480156103d457600080fd5b506103e86103e3366004613771565b610a8b565b005b3480156103f657600080fd5b506103e86104053660046138d8565b610af1565b34801561041657600080fd5b506102c461270f81565b34801561042c57600080fd5b506102f7610b93565b34801561044157600080fd5b506102c4610450366004613771565b60136020526000908152604090205481565b34801561046e57600080fd5b5061048261047d366004613982565b610c31565b6040516102ce9190613a88565b34801561049b57600080fd5b506102c46104aa366004613771565b60126020526000908152604090205481565b3480156104c857600080fd5b506102c46104d7366004613736565b610d6f565b3480156104e857600080fd5b506103e86104f7366004613a9b565b610ec2565b34801561050857600080fd5b506102c4610517366004613771565b60146020526000908152604090205481565b34801561053557600080fd5b506103e8610f4c565b34801561054a57600080fd5b5061031c610fee565b34801561055f57600080fd5b506102c460075481565b34801561057557600080fd5b506102f761058436600461374f565b61100a565b34801561059557600080fd5b506008546102f79060ff1681565b3480156105af57600080fd5b506003546040516001600160a01b0390911681526020016102ce565b3480156105d757600080fd5b5061031c61107c565b3480156105ec57600080fd5b506102c46105fb366004613736565b60009081526015602052604090206002015461ffff1690565b34801561062057600080fd5b506103e861062f366004613b0f565b611089565b34801561064057600080fd5b506102c461064f366004613771565b60116020526000908152604090205481565b6102c461066f366004613b4b565b611098565b34801561068057600080fd5b506102f761068f366004613736565b611cf3565b3480156106a057600080fd5b506102f76106af366004613771565b611d87565b3480156106c057600080fd5b506102f76106cf366004613bd6565b611e6c565b3480156106e057600080fd5b5061031c611f07565b3480156106f557600080fd5b506102f7610704366004613bf9565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b34801561073e57600080fd5b5060055461074c9060ff1681565b6040516102ce9190613c42565b34801561076557600080fd5b506103e8610774366004613c6a565b611f27565b34801561078557600080fd5b506103e8610794366004613771565b611fae565b3480156107a557600080fd5b506103e86107b4366004613ccf565b61208d565b3480156107c557600080fd5b506102c460095481565b60006001600160a01b0383166108525760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b031982167f2a55205a000000000000000000000000000000000000000000000000000000001480610875575061087582612112565b600a80546108c690613d02565b80601f01602080910402602001604051908101604052809291908181526020018280546108f290613d02565b801561093f5780601f106109145761010080835404028352916020019161093f565b820191906000526020600020905b81548152906001019060200180831161092257829003601f168201915b505050505081565b60606002805461095690613d02565b80601f016020809104026020016040519081016040528092919081815260200182805461098290613d02565b80156109cf5780601f106109a4576101008083540402835291602001916109cf565b820191906000526020600020905b8154815290600101906020018083116109b257829003601f168201915b50505050509050919050565b6003546000906001600160a01b03163314610a385760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610849565b506008805460ff19811660ff9091161517905560015b90565b600e5460105460009182916001600160a01b03909116906103e890610a769086613d52565b610a809190613d87565b915091509250929050565b6003546001600160a01b03163314610ae55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610849565b610aee816121ad565b50565b6001600160a01b038516331480610b0d5750610b0d8533610704565b610b7f5760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610849565b610b8c8585858585612258565b5050505050565b6003546000906001600160a01b03163314610bf05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610849565b600f546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610c29573d6000803e3d6000fd5b506001905090565b60608151835114610caa5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152608401610849565b6000835167ffffffffffffffff811115610cc657610cc661378c565b604051908082528060200260200182016040528015610cef578160200160208202803683370190505b50905060005b8451811015610d6757610d3a858281518110610d1357610d13613d9b565b6020026020010151858381518110610d2d57610d2d613d9b565b60200260200101516107cf565b828281518110610d4c57610d4c613d9b565b6020908102919091010152610d6081613db1565b9050610cf5565b509392505050565b60085460009060ff161515600114610dc95760405162461bcd60e51b815260206004820152601960248201527f4d6967726174696f6e20686173206e6f742073746172746564000000000000006044820152606401610849565b6000610dd533846107cf565b11610e225760405162461bcd60e51b815260206004820152601960248201527f596f7520646f206e6f74206f776e207468697320746f6b656e000000000000006044820152606401610849565b610e2e3383600161208d565b600d546040517f937f26080000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b0390911690600090829063937f2608906024016020604051808303816000875af1158015610e96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eba9190613dca565b949350505050565b6001600160a01b038316331480610ede5750610ede8333610704565b610f3c5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610849565b610f478383836124c4565b505050565b6003546001600160a01b03163314610fa65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610849565b60405162461bcd60e51b815260206004820152601960248201527f43616e6e6f742072656e6f756e6365206f776e657273686970000000000000006044820152606401610849565b6040518060600160405280603581526020016141896035913981565b6003546000906001600160a01b031633146110675760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610849565b50600090815260156020526040902055600190565b600b80546108c690613d02565b61109433838361270b565b5050565b60006002600454036110ec5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610849565b60026004558585848460006111023384846127ff565b905061114f8585808060200260200160405190810160405280939291908181526020018383602002808284376000920182905250878152601560205260409020549250859150612bec9050565b8061115a5750816004145b6111a65760405162461bcd60e51b815260206004820152601b60248201527f496e76616c69642070726f6f66206f6620696e636c7573696f6e2e00000000006044820152606401610849565b61270f896007546111b79190613de3565b11156112055760405162461bcd60e51b815260206004820152601260248201527f4d617820737570706c79207265616368656400000000000000000000000000006044820152606401610849565b600087815260156020526040812060010154611221908b613d52565b9050600160055460ff16600381111561123c5761123c613c2c565b0361182a578760010361152857336000908152601160205260409020548910156112b45760405162461bcd60e51b8152602060048201526024808201527f4164647265737320616c726561647920636c61696d656420616c6c20686973206044820152634e46547360e01b6064820152608401610849565b3360009081526011602052604090205489906112d1908c90613de3565b111561131f5760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d20616d6f756e742065786365656465640000000000000000006044820152606401610849565b6001600090815260156020527f27739e4bb5e6f8b5e4b57a047dca8767cc9b982a011081e086cbb0dfa9de818f5461ffff16900361139f5760405162461bcd60e51b815260206004820152601d60248201527f4578706c6f72657220546f6b656e732061726520736f6c64206f7574210000006044820152606401610849565b803410156113ef5760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e742066756e647320746f206d696e740000000000006044820152606401610849565b60005b8a8110156114d5576006805490600061140a83613db1565b919050555061142d33600654600160405180602001604052806000815250612c02565b6007805490600061143d83613db1565b9091555050336000908152601160205260408120805460019290611462908490613de3565b90915550506001600081815260156020527f27739e4bb5e6f8b5e4b57a047dca8767cc9b982a011081e086cbb0dfa9de818f80549091906114a890849061ffff16613dfb565b92506101000a81548161ffff021916908361ffff16021790555080806114cd90613db1565b9150506113f2565b508034111561151d5760006114ea8234613e1e565b604051909150339082156108fc029083906000818181858888f1935050505015801561151a573d6000803e3d6000fd5b50505b600654965050611cdf565b876002036117bd573360009081526012602052604090205489101561159b5760405162461bcd60e51b8152602060048201526024808201527f4164647265737320616c726561647920636c61696d656420616c6c20686973206044820152634e46547360e01b6064820152608401610849565b3360009081526012602052604090205489906115b8908c90613de3565b11156116065760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d20616d6f756e742065786365656465640000000000000000006044820152606401610849565b6002600090815260156020527f07d4ff730d9753101d832555708a37d38c2c45fce8cacaefc99f06074e93fe0d5461ffff1690036116865760405162461bcd60e51b815260206004820152601b60248201527f48656c6d657420546f6b656e732061726520736f6c64206f75742100000000006044820152606401610849565b803410156116d65760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e742066756e647320746f206d696e740000000000006044820152606401610849565b60005b8a8110156114d557600680549060006116f183613db1565b919050555061171433600654600160405180602001604052806000815250612c02565b6007805490600061172483613db1565b9091555050336000908152601260205260408120805460019290611749908490613de3565b90915550506002600090815260156020527f07d4ff730d9753101d832555708a37d38c2c45fce8cacaefc99f06074e93fe0d80546001929061179090849061ffff16613dfb565b92506101000a81548161ffff021916908361ffff16021790555080806117b590613db1565b9150506116d9565b60405162461bcd60e51b8152602060048201526024808201527f4c697374206973206e6f7420617574686f72697a65642061742074686973207360448201527f74616765000000000000000000000000000000000000000000000000000000006064820152608401610849565b600260055460ff16600381111561184357611843613c2c565b03611a9957876003036117bd57336000908152601360205260409020548910156118bb5760405162461bcd60e51b8152602060048201526024808201527f4164647265737320616c726561647920636c61696d656420616c6c20686973206044820152634e46547360e01b6064820152608401610849565b3360009081526013602052604090205489906118d8908c90613de3565b11156119265760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d20616d6f756e742065786365656465640000000000000000006044820152606401610849565b6003600090815260156020527fb3a65e8276bd33b3e4f7d6081ebd9899187264822358758dca2e2bc37b2a9c295461ffff1690036119a65760405162461bcd60e51b815260206004820152601c60248201527f50726553616c6520546f6b656e732061726520736f6c64206f757421000000006044820152606401610849565b60005b8a811015611a8d57600680549060006119c183613db1565b91905055506119e433600654600160405180602001604052806000815250612c02565b600780549060006119f483613db1565b9091555050336000908152601360205260408120805460019290611a19908490613de3565b90915550506003600090815260156020527fb3a65e8276bd33b3e4f7d6081ebd9899187264822358758dca2e2bc37b2a9c29805460019290611a6090849061ffff16613dfb565b92506101000a81548161ffff021916908361ffff1602179055508080611a8590613db1565b9150506119a9565b50600654965050611cdf565b600360055460ff166003811115611ab257611ab2613c2c565b03611c7157876004036117bd57600060075461270f611ad19190613e1e565b11611b1e5760405162461bcd60e51b815260206004820152601b60248201527f5075626c696320546f6b656e732061726520736f6c64206f75742100000000006044820152606401610849565b80341015611b6e5760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e742066756e647320746f206d696e740000000000006044820152606401610849565b6009548a1115611be65760405162461bcd60e51b815260206004820152602760248201527f4d6178696d756d20616d6f756e7420706572207472616e73616374696f6e206560448201527f78636565646564000000000000000000000000000000000000000000000000006064820152608401610849565b60005b8a8110156114d55760068054906000611c0183613db1565b9190505550611c2433600654600160405180602001604052806000815250612c02565b60078054906000611c3483613db1565b9091555050336000908152601460205260408120805460019290611c59908490613de3565b90915550819050611c6981613db1565b915050611be9565b60405162461bcd60e51b815260206004820152602b60248201527f5472616e73616374696f6e206973206e6f7420617574686f72697a656420617460448201527f20746869732073746167650000000000000000000000000000000000000000006064820152608401610849565b505060016004555091979650505050505050565b6003546000906001600160a01b03163314611d505760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610849565b50600460005260156020527f8191f4eb6b8bafbfe9a5389c8d07d7f5fd81137a7ee653fc4358269845ee1d2f81905560015b919050565b6003546000906001600160a01b03163314611de45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610849565b6001600160a01b038216611e3a5760405162461bcd60e51b815260206004820152601860248201527f5a65726f2061646472657373206e6f7420616c6c6f77656400000000000000006044820152606401610849565b50600d80546001600160a01b03831673ffffffffffffffffffffffffffffffffffffffff199091161790556001919050565b6003546000906001600160a01b03163314611ec95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610849565b8160ff166003811115611ede57611ede613c2c565b6005805460ff19166001836003811115611efa57611efa613c2c565b0217905550600192915050565b606060405180606001604052806035815260200161418960359139905090565b6001600160a01b038516331480611f435750611f438533610704565b611fa15760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610849565b610b8c8585858585612d2e565b6003546001600160a01b031633146120085760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610849565b6001600160a01b0381166120845760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610849565b610aee81612ecc565b6001600160a01b0383163314806120a957506120a98333610704565b6121075760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610849565b610f47838383612f2b565b60006001600160e01b031982167fd9b67a2600000000000000000000000000000000000000000000000000000000148061217557506001600160e01b031982167f0e89341c00000000000000000000000000000000000000000000000000000000145b8061087557507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610875565b6001600160a01b0381166122295760405162461bcd60e51b815260206004820152602c60248201527f526f79616c746965733a206e657720726563697069656e74206973207468652060448201527f7a65726f206164647265737300000000000000000000000000000000000000006064820152608401610849565b600e805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b81518351146122ba5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610849565b6001600160a01b03841661231e5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610849565b3361232d8187878787876130a4565b60005b845181101561245657600085828151811061234d5761234d613d9b565b60200260200101519050600085838151811061236b5761236b613d9b565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156123fe5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b6064820152608401610849565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061243b908490613de3565b925050819055505050508061244f90613db1565b9050612330565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516124a6929190613e35565b60405180910390a46124bc8187878787876130a9565b505050505050565b6001600160a01b0383166125265760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b6064820152608401610849565b80518251146125885760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610849565b60003390506125ab818560008686604051806020016040528060008152506130a4565b60005b83518110156126ac5760008482815181106125cb576125cb613d9b565b6020026020010151905060008483815181106125e9576125e9613d9b565b602090810291909101810151600084815280835260408082206001600160a01b038c1683529093529190912054909150818110156126755760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b6064820152608401610849565b6000928352602083815260408085206001600160a01b038b16865290915290922091039055806126a481613db1565b9150506125ae565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516126fd929190613e35565b60405180910390a450505050565b816001600160a01b0316836001600160a01b0316036127925760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152608401610849565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b604080518082018252600281527f30780000000000000000000000000000000000000000000000000000000000006020808301919091528251808401909352600183527f20000000000000000000000000000000000000000000000000000000000000009083015260009181836128758861324e565b905082600061288389613395565b90508460006128918a613395565b90506000815183518551875189518b516128ab9190613de3565b6128b59190613de3565b6128bf9190613de3565b6128c99190613de3565b6128d39190613de3565b67ffffffffffffffff8111156128eb576128eb61378c565b6040519080825280601f01601f191660200182016040528015612915576020820181803683370190505b509050806000805b895181101561298d5789818151811061293857612938613d9b565b01602001516001600160f81b031916838361295281613db1565b94508151811061296457612964613d9b565b60200101906001600160f81b031916908160001a9053508061298581613db1565b91505061291d565b5060005b8851811015612a01578881815181106129ac576129ac613d9b565b01602001516001600160f81b03191683836129c681613db1565b9450815181106129d8576129d8613d9b565b60200101906001600160f81b031916908160001a905350806129f981613db1565b915050612991565b5060005b8751811015612a7557878181518110612a2057612a20613d9b565b01602001516001600160f81b0319168383612a3a81613db1565b945081518110612a4c57612a4c613d9b565b60200101906001600160f81b031916908160001a90535080612a6d81613db1565b915050612a05565b5060005b8651811015612ae957868181518110612a9457612a94613d9b565b01602001516001600160f81b0319168383612aae81613db1565b945081518110612ac057612ac0613d9b565b60200101906001600160f81b031916908160001a90535080612ae181613db1565b915050612a79565b5060005b8551811015612b5d57858181518110612b0857612b08613d9b565b01602001516001600160f81b0319168383612b2281613db1565b945081518110612b3457612b34613d9b565b60200101906001600160f81b031916908160001a90535080612b5581613db1565b915050612aed565b5060005b8451811015612bd157848181518110612b7c57612b7c613d9b565b01602001516001600160f81b0319168383612b9681613db1565b945081518110612ba857612ba8613d9b565b60200101906001600160f81b031916908160001a90535080612bc981613db1565b915050612b61565b505080516020909101209d9c50505050505050505050505050565b600082612bf9858461342b565b14949350505050565b6001600160a01b038416612c7e5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610849565b33612c9e81600087612c8f886134cf565b612c98886134cf565b876130a4565b6000848152602081815260408083206001600160a01b038916845290915281208054859290612cce908490613de3565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610b8c8160008787878761351a565b6001600160a01b038416612d925760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610849565b33612da2818787612c8f886134cf565b6000848152602081815260408083206001600160a01b038a16845290915290205483811015612e265760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b6064820152608401610849565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290612e63908490613de3565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4612ec382888888888861351a565b50505050505050565b600380546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316612f8d5760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b6064820152608401610849565b33612fbc81856000612f9e876134cf565b612fa7876134cf565b604051806020016040528060008152506130a4565b6000838152602081815260408083206001600160a01b0388168452909152902054828110156130395760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b6064820152608401610849565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b6124bc565b6001600160a01b0384163b156124bc5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906130ed9089908990889088908890600401613e63565b6020604051808303816000875af1925050508015613128575060408051601f3d908101601f1916820190925261312591810190613ec1565b60015b6131dd57613134613ede565b806308c379a00361316d5750613148613ef9565b80613153575061316f565b8060405162461bcd60e51b81526004016108499190613723565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610849565b6001600160e01b0319811663bc197c8160e01b14612ec35760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608401610849565b60408051602880825260608281019093526000919060208201818036833701905050905060005b601481101561338e57600061328b826013613e1e565b613296906008613d52565b6132a1906002614067565b6132b4906001600160a01b038716613d87565b60f81b9050600060108260f81c6132cb9190614073565b60f81b905060008160f81c60106132e29190614095565b8360f81c6132f091906140b6565b60f81b90506132fe82613616565b8561330a866002613d52565b8151811061331a5761331a613d9b565b60200101906001600160f81b031916908160001a90535061333a81613616565b85613346866002613d52565b613351906001613de3565b8151811061336157613361613d9b565b60200101906001600160f81b031916908160001a905350505050808061338690613db1565b915050613275565b5092915050565b606081156133f25760605b8215610875576133b1600a846140d9565b6133bc906030613de3565b816040516020016133ce9291906140ed565b60408051601f1981840301815291905290506133eb600a84613d87565b92506133a0565b505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b600081815b8451811015610d6757600085828151811061344d5761344d613d9b565b6020026020010151905080831161348f5760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506134bc565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806134c781613db1565b915050613430565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061350957613509613d9b565b602090810291909101015292915050565b6001600160a01b0384163b156124bc5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e619061355e9089908990889088908890600401614120565b6020604051808303816000875af1925050508015613599575060408051601f3d908101601f1916820190925261359691810190613ec1565b60015b6135a557613134613ede565b6001600160e01b0319811663f23a6e6160e01b14612ec35760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608401610849565b6000600a60f883901c101561363d5761363460f883901c6030614163565b60f81b92915050565b61363460f883901c6057614163565b80356001600160a01b0381168114611d8257600080fd5b6000806040838503121561367657600080fd5b61367f8361364c565b946020939093013593505050565b6001600160e01b031981168114610aee57600080fd5b6000602082840312156136b557600080fd5b81356136c08161368d565b9392505050565b60005b838110156136e25781810151838201526020016136ca565b838111156136f1576000848401525b50505050565b6000815180845261370f8160208601602086016136c7565b601f01601f19169290920160200192915050565b6020815260006136c060208301846136f7565b60006020828403121561374857600080fd5b5035919050565b6000806040838503121561376257600080fd5b50508035926020909101359150565b60006020828403121561378357600080fd5b6136c08261364c565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff811182821017156137c8576137c861378c565b6040525050565b600067ffffffffffffffff8211156137e9576137e961378c565b5060051b60200190565b600082601f83011261380457600080fd5b81356020613811826137cf565b60405161381e82826137a2565b83815260059390931b850182019282810191508684111561383e57600080fd5b8286015b848110156138595780358352918301918301613842565b509695505050505050565b600082601f83011261387557600080fd5b813567ffffffffffffffff81111561388f5761388f61378c565b6040516138a6601f8301601f1916602001826137a2565b8181528460208386010111156138bb57600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a086880312156138f057600080fd5b6138f98661364c565b94506139076020870161364c565b9350604086013567ffffffffffffffff8082111561392457600080fd5b61393089838a016137f3565b9450606088013591508082111561394657600080fd5b61395289838a016137f3565b9350608088013591508082111561396857600080fd5b5061397588828901613864565b9150509295509295909350565b6000806040838503121561399557600080fd5b823567ffffffffffffffff808211156139ad57600080fd5b818501915085601f8301126139c157600080fd5b813560206139ce826137cf565b6040516139db82826137a2565b83815260059390931b85018201928281019150898411156139fb57600080fd5b948201945b83861015613a2057613a118661364c565b82529482019490820190613a00565b96505086013592505080821115613a3657600080fd5b50613a43858286016137f3565b9150509250929050565b600081518084526020808501945080840160005b83811015613a7d57815187529582019590820190600101613a61565b509495945050505050565b6020815260006136c06020830184613a4d565b600080600060608486031215613ab057600080fd5b613ab98461364c565b9250602084013567ffffffffffffffff80821115613ad657600080fd5b613ae2878388016137f3565b93506040860135915080821115613af857600080fd5b50613b05868287016137f3565b9150509250925092565b60008060408385031215613b2257600080fd5b613b2b8361364c565b915060208301358015158114613b4057600080fd5b809150509250929050565b600080600080600060808688031215613b6357600080fd5b853567ffffffffffffffff80821115613b7b57600080fd5b818801915088601f830112613b8f57600080fd5b813581811115613b9e57600080fd5b8960208260051b8501011115613bb357600080fd5b60209283019a909950918801359760408101359750606001359550909350505050565b600060208284031215613be857600080fd5b813560ff811681146136c057600080fd5b60008060408385031215613c0c57600080fd5b613c158361364c565b9150613c236020840161364c565b90509250929050565b634e487b7160e01b600052602160045260246000fd5b6020810160048310613c6457634e487b7160e01b600052602160045260246000fd5b91905290565b600080600080600060a08688031215613c8257600080fd5b613c8b8661364c565b9450613c996020870161364c565b93506040860135925060608601359150608086013567ffffffffffffffff811115613cc357600080fd5b61397588828901613864565b600080600060608486031215613ce457600080fd5b613ced8461364c565b95602085013595506040909401359392505050565b600181811c90821680613d1657607f821691505b602082108103613d3657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615613d6c57613d6c613d3c565b500290565b634e487b7160e01b600052601260045260246000fd5b600082613d9657613d96613d71565b500490565b634e487b7160e01b600052603260045260246000fd5b600060018201613dc357613dc3613d3c565b5060010190565b600060208284031215613ddc57600080fd5b5051919050565b60008219821115613df657613df6613d3c565b500190565b600061ffff83811690831681811015613e1657613e16613d3c565b039392505050565b600082821015613e3057613e30613d3c565b500390565b604081526000613e486040830185613a4d565b8281036020840152613e5a8185613a4d565b95945050505050565b60006001600160a01b03808816835280871660208401525060a06040830152613e8f60a0830186613a4d565b8281036060840152613ea18186613a4d565b90508281036080840152613eb581856136f7565b98975050505050505050565b600060208284031215613ed357600080fd5b81516136c08161368d565b600060033d1115610a4e5760046000803e5060005160e01c90565b600060443d1015613f075790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715613f3757505050505090565b8285019150815181811115613f4f5750505050505090565b843d8701016020828501011115613f695750505050505090565b613f78602082860101876137a2565b509095945050505050565b600181815b80851115613fbe578160001904821115613fa457613fa4613d3c565b80851615613fb157918102915b93841c9390800290613f88565b509250929050565b600082613fd557506001610875565b81613fe257506000610875565b8160018114613ff857600281146140025761401e565b6001915050610875565b60ff84111561401357614013613d3c565b50506001821b610875565b5060208310610133831016604e8410600b8410161715614041575081810a610875565b61404b8383613f83565b806000190482111561405f5761405f613d3c565b029392505050565b60006136c08383613fc6565b600060ff83168061408657614086613d71565b8060ff84160491505092915050565b600060ff821660ff84168160ff048111821515161561405f5761405f613d3c565b600060ff821660ff8416808210156140d0576140d0613d3c565b90039392505050565b6000826140e8576140e8613d71565b500690565b6001600160f81b03198360f81b168152600082516141128160018501602087016136c7565b919091016001019392505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a0608083015261415860a08301846136f7565b979650505050505050565b600060ff821660ff84168060ff0382111561418057614180613d3c565b01939250505056fe697066733a2f2f516d556a6a34333333425844526936624a4a584636634a5067537a6a487031786557484351747978596943356738a2646970667358221220c15a7ee8cc43601c0b4904656b2f7ca8c260a34a84b9cefcb4c384045d83de0e64736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000002843afe4a48277658c7841e7c90325700f42ed79
-----Decoded View---------------
Arg [0] : owner (address): 0x2843afe4a48277658C7841E7c90325700f42Ed79
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000002843afe4a48277658c7841e7c90325700f42ed79
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.