Overview
TokenID
0
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:
KurayamiMintPass
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// Kurayami Mint Pass (www.projectkurayami.com) // SPDX-License-Identifier: MIT pragma solidity ^0.8; import "@openzeppelin/contracts/utils/Strings.sol"; import "./AbstractERC1155.sol"; contract KurayamiMintPass is AbstractERC1155 { constructor(string memory _metadataUri) AbstractERC1155("Kurayami Mint Pass", "KMP") { baseURI = _metadataUri; tokenMaxSupply[0] = 77; } /** * @dev Opens the public sale */ bool public saleOpen = false; bool public saleLocked = false; modifier publicSaleOpen() { require(saleOpen, "Sale Not Open"); _; } modifier saleNotLocked() { require(!saleLocked, "Sale Locked!"); _; } function togglePublicSale() external onlyOwner saleNotLocked { saleOpen = !saleOpen; } function lockSaleForever() external onlyOwner { saleLocked = true; saleOpen = false; } /** * @dev Mutable token supply */ uint256 public saleTokenId = 0; uint256 public salePrice = 0.099 ether; function setCurrentSale(uint256 _tokenId, uint256 _price) external onlyOwner { saleTokenId = _tokenId; salePrice = _price; saleOpen = false; } /** * @dev General Mint */ mapping(address => mapping(uint256 => bool)) public mintedPass; modifier withinMaximumSupply(uint256 _tokenId, uint256 _quantity) { require( totalSupply(_tokenId) + _quantity <= tokenMaxSupply[_tokenId], "Hit Limit" ); _; } modifier hasCorrectAmount() { require(msg.value >= salePrice, "Insufficent Funds"); _; } modifier hasNotMintedToken(uint256 _tokenId) { require(!mintedPass[msg.sender][_tokenId], "Already Minted"); _; } function mint() public payable publicSaleOpen hasCorrectAmount withinMaximumSupply(saleTokenId, 1) hasNotMintedToken(saleTokenId) { mintedPass[msg.sender][saleTokenId] = true; _mint(msg.sender, saleTokenId, 1, ""); } /** * @dev Mutable token supply */ mapping(uint256 => uint256) public tokenMaxSupply; function setTokenMaxSupply(uint256 _tokenId, uint256 _supply) external onlyOwner { if (tokenMaxSupply[_tokenId] != 0) { require( _supply <= tokenMaxSupply[_tokenId], "Cannot Increase Supply" ); require( _supply >= totalSupply(_tokenId), "Must Be Above Minted Amount" ); } tokenMaxSupply[_tokenId] = _supply; } /** * @dev Admin mint */ function adminMint( address _recipient, uint256 _tokenId, uint256 _quantity ) public onlyOwner withinMaximumSupply(_tokenId, _quantity) saleNotLocked { _mint(_recipient, _tokenId, _quantity, ""); } /** * @dev Base URI */ string private baseURI; function setBaseURI(string memory baseURI_) external onlyOwner { baseURI = baseURI_; } function uri(uint256 _tokenId) public view virtual override returns (string memory) { return string(abi.encodePacked(baseURI, Strings.toString(_tokenId))); } /** * @dev Burn on redemption */ address erc721Contract; function redeem( address _account, uint256 _tokenId, uint256 _amount ) external { require(erc721Contract == msg.sender, "Not Official Contract"); _burn(_account, _tokenId, _amount); } function setErc721Contract(address _erc721Contract) external onlyOwner { require(erc721Contract == address(0), "Contract Already Set"); erc721Contract = _erc721Contract; } /** * @dev Payout mechanism */ address private constant payoutAddress1 = 0xbaF153A8AfF8352cB6539CF9168255442Def0a02; address private constant payoutAddress2 = 0x942d44A7B2F9Dc4c2cA60e6FEcDbA4c0Fa4981e0; address private constant payoutAddress3 = 0xba859AAdf1F87aAB4fB117AcFa04Ca3B834CD427; function withdraw() external onlyOwner { uint256 balance = address(this).balance; Address.sendValue(payable(payoutAddress1), (balance * 40) / 100); Address.sendValue(payable(payoutAddress2), (balance * 40) / 100); Address.sendValue(payable(payoutAddress3), (balance * 20) / 100); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; abstract contract AbstractERC1155 is ERC1155Supply, ERC1155Burnable, Ownable { // Token name string private _name; // Token symbol string private _symbol; constructor(string memory name_, string memory symbol_) ERC1155("") { _name = name_; _symbol = symbol_; } /** * @dev Name of the token */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Symbol of the token */ function symbol() public view virtual returns (string memory) { return _symbol; } function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override(ERC1155, ERC1155Supply) { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); } }
// 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 (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 (token/ERC1155/extensions/ERC1155Supply.sol) pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of ERC1155 that adds tracking of total supply per id. * * Useful for scenarios where Fungible and Non-fungible tokens have to be * clearly identified. Note: While a totalSupply of 1 might mean the * corresponding is an NFT, there is no guarantees that no other token with the * same id are not going to be minted. */ abstract contract ERC1155Supply is ERC1155 { mapping(uint256 => uint256) private _totalSupply; /** * @dev Total amount of tokens in with a given id. */ function totalSupply(uint256 id) public view virtual returns (uint256) { return _totalSupply[id]; } /** * @dev Indicates whether any token exist with a given id, or not. */ function exists(uint256 id) public view virtual returns (bool) { return ERC1155Supply.totalSupply(id) > 0; } /** * @dev See {ERC1155-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); if (from == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] += amounts[i]; } } if (to == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] -= amounts[i]; } } } }
// 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 (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/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/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "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
Contract ABI
API[{"inputs":[{"internalType":"string","name":"_metadataUri","type":"string"}],"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":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"lockSaleForever","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintedPass","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"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":[],"name":"saleLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"salePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setCurrentSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_erc721Contract","type":"address"}],"name":"setErc721Contract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setTokenMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526007805461ffff19169055600060085567015fb7f9b8c380006009553480156200002d57600080fd5b50604051620033f6380380620033f6833981016040819052620000509162000263565b604051806040016040528060128152602001714b75726179616d69204d696e74205061737360701b8152506040518060400160405280600381526020016204b4d560ec1b81525060405180602001604052806000815250620000b8816200013c60201b60201c565b50620000c43362000155565b8151620000d9906005906020850190620001a7565b508051620000ef906006906020840190620001a7565b50508151620001079150600c906020840190620001a7565b505060008052600b602052604d7fdf7de25b7f1fd6d0b5205f0e18f1f35bd7b8d84cce336588d184533ce43a6f76556200037c565b805162000151906002906020840190620001a7565b5050565b600480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001b5906200033f565b90600052602060002090601f016020900481019282620001d9576000855562000224565b82601f10620001f457805160ff191683800117855562000224565b8280016001018555821562000224579182015b828111156200022457825182559160200191906001019062000207565b506200023292915062000236565b5090565b5b8082111562000232576000815560010162000237565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200027757600080fd5b82516001600160401b03808211156200028f57600080fd5b818501915085601f830112620002a457600080fd5b815181811115620002b957620002b96200024d565b604051601f8201601f19908116603f01168101908382118183101715620002e457620002e46200024d565b816040528281528886848701011115620002fd57600080fd5b600093505b8284101562000321578484018601518185018701529285019262000302565b82841115620003335760008684830101525b98975050505050505050565b600181811c908216806200035457607f821691505b602082108114156200037657634e487b7160e01b600052602260045260246000fd5b50919050565b61306a806200038c6000396000f3fe6080604052600436106101fb5760003560e01c806355f804b31161011d578063b6ea4671116100b0578063e985e9c51161007f578063f2fde38b11610064578063f2fde38b14610609578063f51f96dd14610629578063f5298aca1461063f57600080fd5b8063e985e9c5146105a0578063f242432a146105e957600080fd5b8063b6ea46711461051e578063bd85b0391461053e578063e10816351461056b578063e222c7f91461058b57600080fd5b80638da5cb5b116100ec5780638da5cb5b146104a757806395d89b41146104cf57806399288dbb146104e4578063a22cb465146104fe57600080fd5b806355f804b314610417578063677b1100146104375780636b20c45414610472578063715018a61461049257600080fd5b806312822a751161019557806338ebee821161016457806338ebee82146103915780633ccfd60b146103a65780634e1273f4146103bb5780634f558e79146103e857600080fd5b806312822a751461031257806314cff58d146103315780632b83cccd146103515780632eb2c2d61461037157600080fd5b806306fdde03116101d157806306fdde03146102b25780630e89341c146102d457806310168e59146102f45780631249c58b1461030a57600080fd5b80624221f0146102005780624a84cb14610240578062fdd58e1461026257806301ffc9a714610282575b600080fd5b34801561020c57600080fd5b5061022d61021b3660046126b8565b600b6020526000908152604090205481565b6040519081526020015b60405180910390f35b34801561024c57600080fd5b5061026061025b3660046126ed565b61065f565b005b34801561026e57600080fd5b5061022d61027d366004612720565b61078b565b34801561028e57600080fd5b506102a261029d366004612760565b61082f565b6040519015158152602001610237565b3480156102be57600080fd5b506102c76108cc565b60405161023791906127e0565b3480156102e057600080fd5b506102c76102ef3660046126b8565b61095e565b34801561030057600080fd5b5061022d60085481565b610260610992565b34801561031e57600080fd5b506007546102a290610100900460ff1681565b34801561033d57600080fd5b5061026061034c3660046127f3565b610b5e565b34801561035d57600080fd5b5061026061036c3660046126ed565b610c40565b34801561037d57600080fd5b5061026061038c366004612964565b610ca5565b34801561039d57600080fd5b50610260610d40565b3480156103b257600080fd5b50610260610dab565b3480156103c757600080fd5b506103db6103d6366004612a0e565b610e87565b6040516102379190612b14565b3480156103f457600080fd5b506102a26104033660046126b8565b600090815260036020526040902054151590565b34801561042357600080fd5b50610260610432366004612b27565b610fc5565b34801561044357600080fd5b506102a2610452366004612720565b600a60209081526000928352604080842090915290825290205460ff1681565b34801561047e57600080fd5b5061026061048d366004612b70565b611036565b34801561049e57600080fd5b506102606110bb565b3480156104b357600080fd5b506004546040516001600160a01b039091168152602001610237565b3480156104db57600080fd5b506102c7611121565b3480156104f057600080fd5b506007546102a29060ff1681565b34801561050a57600080fd5b50610260610519366004612be4565b611130565b34801561052a57600080fd5b50610260610539366004612c20565b61113b565b34801561054a57600080fd5b5061022d6105593660046126b8565b60009081526003602052604090205490565b34801561057757600080fd5b50610260610586366004612c20565b611277565b34801561059757600080fd5b506102606112e6565b3480156105ac57600080fd5b506102a26105bb366004612c42565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b3480156105f557600080fd5b50610260610604366004612c75565b61139b565b34801561061557600080fd5b506102606106243660046127f3565b611422565b34801561063557600080fd5b5061022d60095481565b34801561064b57600080fd5b5061026061065a3660046126ed565b611501565b6004546001600160a01b031633146106be5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6000828152600b6020908152604080832054600390925290912054839183916106e8908390612cf0565b11156107225760405162461bcd60e51b8152602060048201526009602482015268121a5d08131a5b5a5d60ba1b60448201526064016106b5565b600754610100900460ff16156107695760405162461bcd60e51b815260206004820152600c60248201526b53616c65204c6f636b65642160a01b60448201526064016106b5565b6107848585856040518060200160405280600081525061157b565b5050505050565b60006001600160a01b0383166108095760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084016106b5565b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b031982167fd9b67a2600000000000000000000000000000000000000000000000000000000148061089257506001600160e01b031982167f0e89341c00000000000000000000000000000000000000000000000000000000145b806108c657507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6060600580546108db90612d08565b80601f016020809104026020016040519081016040528092919081815260200182805461090790612d08565b80156109545780601f1061092957610100808354040283529160200191610954565b820191906000526020600020905b81548152906001019060200180831161093757829003601f168201915b5050505050905090565b6060600c61096b836116a7565b60405160200161097c929190612d5f565b6040516020818303038152906040529050919050565b60075460ff166109e45760405162461bcd60e51b815260206004820152600d60248201527f53616c65204e6f74204f70656e0000000000000000000000000000000000000060448201526064016106b5565b600954341015610a365760405162461bcd60e51b815260206004820152601160248201527f496e737566666963656e742046756e647300000000000000000000000000000060448201526064016106b5565b6008546000818152600b602052604090205460019081610a628460009081526003602052604090205490565b610a6c9190612cf0565b1115610aa65760405162461bcd60e51b8152602060048201526009602482015268121a5d08131a5b5a5d60ba1b60448201526064016106b5565b600854336000908152600a6020908152604080832084845290915290205460ff1615610b145760405162461bcd60e51b815260206004820152600e60248201527f416c7265616479204d696e74656400000000000000000000000000000000000060448201526064016106b5565b336000818152600a60209081526040808320600880548552908352818420805460ff1916600190811790915590548251938401909252928252610b599392909161157b565b505050565b6004546001600160a01b03163314610bb85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106b5565b600d546001600160a01b031615610c115760405162461bcd60e51b815260206004820152601460248201527f436f6e747261637420416c72656164792053657400000000000000000000000060448201526064016106b5565b600d805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b600d546001600160a01b03163314610c9a5760405162461bcd60e51b815260206004820152601560248201527f4e6f74204f6666696369616c20436f6e7472616374000000000000000000000060448201526064016106b5565b610b598383836117e1565b6001600160a01b038516331480610cc15750610cc185336105bb565b610d335760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f766564000000000000000000000000000060648201526084016106b5565b610784858585858561195a565b6004546001600160a01b03163314610d9a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106b5565b6007805461ffff1916610100179055565b6004546001600160a01b03163314610e055760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106b5565b47610e3a73baf153a8aff8352cb6539cf9168255442def0a026064610e2b846028612e06565b610e359190612e3b565b611bc6565b610e5f73942d44a7b2f9dc4c2ca60e6fecdba4c0fa4981e06064610e2b846028612e06565b610e8473ba859aadf1f87aab4fb117acfa04ca3b834cd4276064610e2b846014612e06565b50565b60608151835114610f005760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d61746368000000000000000000000000000000000000000000000060648201526084016106b5565b6000835167ffffffffffffffff811115610f1c57610f1c61280e565b604051908082528060200260200182016040528015610f45578160200160208202803683370190505b50905060005b8451811015610fbd57610f90858281518110610f6957610f69612e4f565b6020026020010151858381518110610f8357610f83612e4f565b602002602001015161078b565b828281518110610fa257610fa2612e4f565b6020908102919091010152610fb681612e65565b9050610f4b565b509392505050565b6004546001600160a01b0316331461101f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106b5565b805161103290600c90602084019061261f565b5050565b6001600160a01b038316331480611052575061105283336105bb565b6110b05760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b60648201526084016106b5565b610b59838383611cdf565b6004546001600160a01b031633146111155760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106b5565b61111f6000611f26565b565b6060600680546108db90612d08565b611032338383611f85565b6004546001600160a01b031633146111955760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106b5565b6000828152600b602052604090205415611265576000828152600b60205260409020548111156112075760405162461bcd60e51b815260206004820152601660248201527f43616e6e6f7420496e63726561736520537570706c790000000000000000000060448201526064016106b5565b6000828152600360205260409020548110156112655760405162461bcd60e51b815260206004820152601b60248201527f4d7573742042652041626f7665204d696e74656420416d6f756e74000000000060448201526064016106b5565b6000918252600b602052604090912055565b6004546001600160a01b031633146112d15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106b5565b6008919091556009556007805460ff19169055565b6004546001600160a01b031633146113405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106b5565b600754610100900460ff16156113875760405162461bcd60e51b815260206004820152600c60248201526b53616c65204c6f636b65642160a01b60448201526064016106b5565b6007805460ff19811660ff90911615179055565b6001600160a01b0385163314806113b757506113b785336105bb565b6114155760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b60648201526084016106b5565b610784858585858561207a565b6004546001600160a01b0316331461147c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106b5565b6001600160a01b0381166114f85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016106b5565b610e8481611f26565b6001600160a01b03831633148061151d575061151d83336105bb565b610c9a5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b60648201526084016106b5565b6001600160a01b0384166115f75760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016106b5565b336116178160008761160888612218565b61161188612218565b87612263565b6000848152602081815260408083206001600160a01b038916845290915281208054859290611647908490612cf0565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461078481600087878787612271565b6060816116e757505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561171157806116fb81612e65565b915061170a9050600a83612e3b565b91506116eb565b60008167ffffffffffffffff81111561172c5761172c61280e565b6040519080825280601f01601f191660200182016040528015611756576020820181803683370190505b5090505b84156117d95761176b600183612e80565b9150611778600a86612e97565b611783906030612cf0565b60f81b81838151811061179857611798612e4f565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506117d2600a86612e3b565b945061175a565b949350505050565b6001600160a01b0383166118435760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b60648201526084016106b5565b336118728185600061185487612218565b61185d87612218565b60405180602001604052806000815250612263565b6000838152602081815260408083206001600160a01b0388168452909152902054828110156118ef5760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b60648201526084016106b5565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b81518351146119bc5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b60648201526084016106b5565b6001600160a01b038416611a205760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016106b5565b33611a2f818787878787612263565b60005b8451811015611b58576000858281518110611a4f57611a4f612e4f565b602002602001015190506000858381518110611a6d57611a6d612e4f565b602090810291909101810151600084815280835260408082206001600160a01b038e168352909352919091205490915081811015611b005760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b60648201526084016106b5565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290611b3d908490612cf0565b9250508190555050505080611b5190612e65565b9050611a32565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611ba8929190612eab565b60405180910390a4611bbe818787878787612417565b505050505050565b80471015611c165760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016106b5565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611c63576040519150601f19603f3d011682016040523d82523d6000602084013e611c68565b606091505b5050905080610b595760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016106b5565b6001600160a01b038316611d415760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b60648201526084016106b5565b8051825114611da35760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b60648201526084016106b5565b6000339050611dc681856000868660405180602001604052806000815250612263565b60005b8351811015611ec7576000848281518110611de657611de6612e4f565b602002602001015190506000848381518110611e0457611e04612e4f565b602090810291909101810151600084815280835260408082206001600160a01b038c168352909352919091205490915081811015611e905760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b60648201526084016106b5565b6000928352602083815260408085206001600160a01b038b1686529091529092209103905580611ebf81612e65565b915050611dc9565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611f18929190612eab565b60405180910390a450505050565b600480546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316141561200d5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c66000000000000000000000000000000000000000000000060648201526084016106b5565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0384166120de5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016106b5565b336120ee81878761160888612218565b6000848152602081815260408083206001600160a01b038a168452909152902054838110156121725760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b60648201526084016106b5565b6000858152602081815260408083206001600160a01b038b81168552925280832087850390559088168252812080548692906121af908490612cf0565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461220f828888888888612271565b50505050505050565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061225257612252612e4f565b602090810291909101015292915050565b611bbe868686868686612513565b6001600160a01b0384163b15611bbe5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906122b59089908990889088908890600401612ed0565b6020604051808303816000875af19250505080156122f0575060408051601f3d908101601f191682019092526122ed91810190612f13565b60015b6123a6576122fc612f30565b806308c379a014156123365750612311612f4c565b8061231c5750612338565b8060405162461bcd60e51b81526004016106b591906127e0565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e74657200000000000000000000000060648201526084016106b5565b6001600160e01b0319811663f23a6e6160e01b1461220f5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b60648201526084016106b5565b6001600160a01b0384163b15611bbe5760405163bc197c8160e01b81526001600160a01b0385169063bc197c819061245b9089908990889088908890600401612fd6565b6020604051808303816000875af1925050508015612496575060408051601f3d908101601f1916820190925261249391810190612f13565b60015b6124a2576122fc612f30565b6001600160e01b0319811663bc197c8160e01b1461220f5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b60648201526084016106b5565b6001600160a01b03851661259a5760005b83518110156125985782818151811061253f5761253f612e4f565b60200260200101516003600086848151811061255d5761255d612e4f565b6020026020010151815260200190815260200160002060008282546125829190612cf0565b90915550612591905081612e65565b9050612524565b505b6001600160a01b038416611bbe5760005b835181101561220f578281815181106125c6576125c6612e4f565b6020026020010151600360008684815181106125e4576125e4612e4f565b6020026020010151815260200190815260200160002060008282546126099190612e80565b90915550612618905081612e65565b90506125ab565b82805461262b90612d08565b90600052602060002090601f01602090048101928261264d5760008555612693565b82601f1061266657805160ff1916838001178555612693565b82800160010185558215612693579182015b82811115612693578251825591602001919060010190612678565b5061269f9291506126a3565b5090565b5b8082111561269f57600081556001016126a4565b6000602082840312156126ca57600080fd5b5035919050565b80356001600160a01b03811681146126e857600080fd5b919050565b60008060006060848603121561270257600080fd5b61270b846126d1565b95602085013595506040909401359392505050565b6000806040838503121561273357600080fd5b61273c836126d1565b946020939093013593505050565b6001600160e01b031981168114610e8457600080fd5b60006020828403121561277257600080fd5b813561277d8161274a565b9392505050565b60005b8381101561279f578181015183820152602001612787565b838111156127ae576000848401525b50505050565b600081518084526127cc816020860160208601612784565b601f01601f19169290920160200192915050565b60208152600061277d60208301846127b4565b60006020828403121561280557600080fd5b61277d826126d1565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff8111828210171561284a5761284a61280e565b6040525050565b600067ffffffffffffffff82111561286b5761286b61280e565b5060051b60200190565b600082601f83011261288657600080fd5b8135602061289382612851565b6040516128a08282612824565b83815260059390931b85018201928281019150868411156128c057600080fd5b8286015b848110156128db57803583529183019183016128c4565b509695505050505050565b600067ffffffffffffffff8311156129005761290061280e565b604051612917601f8501601f191660200182612824565b80915083815284848401111561292c57600080fd5b83836020830137600060208583010152509392505050565b600082601f83011261295557600080fd5b61277d838335602085016128e6565b600080600080600060a0868803121561297c57600080fd5b612985866126d1565b9450612993602087016126d1565b9350604086013567ffffffffffffffff808211156129b057600080fd5b6129bc89838a01612875565b945060608801359150808211156129d257600080fd5b6129de89838a01612875565b935060808801359150808211156129f457600080fd5b50612a0188828901612944565b9150509295509295909350565b60008060408385031215612a2157600080fd5b823567ffffffffffffffff80821115612a3957600080fd5b818501915085601f830112612a4d57600080fd5b81356020612a5a82612851565b604051612a678282612824565b83815260059390931b8501820192828101915089841115612a8757600080fd5b948201945b83861015612aac57612a9d866126d1565b82529482019490820190612a8c565b96505086013592505080821115612ac257600080fd5b50612acf85828601612875565b9150509250929050565b600081518084526020808501945080840160005b83811015612b0957815187529582019590820190600101612aed565b509495945050505050565b60208152600061277d6020830184612ad9565b600060208284031215612b3957600080fd5b813567ffffffffffffffff811115612b5057600080fd5b8201601f81018413612b6157600080fd5b6117d9848235602084016128e6565b600080600060608486031215612b8557600080fd5b612b8e846126d1565b9250602084013567ffffffffffffffff80821115612bab57600080fd5b612bb787838801612875565b93506040860135915080821115612bcd57600080fd5b50612bda86828701612875565b9150509250925092565b60008060408385031215612bf757600080fd5b612c00836126d1565b915060208301358015158114612c1557600080fd5b809150509250929050565b60008060408385031215612c3357600080fd5b50508035926020909101359150565b60008060408385031215612c5557600080fd5b612c5e836126d1565b9150612c6c602084016126d1565b90509250929050565b600080600080600060a08688031215612c8d57600080fd5b612c96866126d1565b9450612ca4602087016126d1565b93506040860135925060608601359150608086013567ffffffffffffffff811115612cce57600080fd5b612a0188828901612944565b634e487b7160e01b600052601160045260246000fd5b60008219821115612d0357612d03612cda565b500190565b600181811c90821680612d1c57607f821691505b60208210811415612d3d57634e487b7160e01b600052602260045260246000fd5b50919050565b60008151612d55818560208601612784565b9290920192915050565b600080845481600182811c915080831680612d7b57607f831692505b6020808410821415612d9b57634e487b7160e01b86526022600452602486fd5b818015612daf5760018114612dc057612ded565b60ff19861689528489019650612ded565b60008b81526020902060005b86811015612de55781548b820152908501908301612dcc565b505084890196505b505050505050612dfd8185612d43565b95945050505050565b6000816000190483118215151615612e2057612e20612cda565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612e4a57612e4a612e25565b500490565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612e7957612e79612cda565b5060010190565b600082821015612e9257612e92612cda565b500390565b600082612ea657612ea6612e25565b500690565b604081526000612ebe6040830185612ad9565b8281036020840152612dfd8185612ad9565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a06080830152612f0860a08301846127b4565b979650505050505050565b600060208284031215612f2557600080fd5b815161277d8161274a565b600060033d1115612f495760046000803e5060005160e01c5b90565b600060443d1015612f5a5790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715612f8a57505050505090565b8285019150815181811115612fa25750505050505090565b843d8701016020828501011115612fbc5750505050505090565b612fcb60208286010187612824565b509095945050505050565b60006001600160a01b03808816835280871660208401525060a0604083015261300260a0830186612ad9565b82810360608401526130148186612ad9565b9050828103608084015261302881856127b4565b9897505050505050505056fea264697066735822122042611e30cf613e01fd749b2b8a4f162d84397f9c244734aa75d72670e41ada5464736f6c634300080b003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d63703155654d614e5a73434257547455743536597145527042713468314c5535473838765841327a4e7664632f00000000000000000000
Deployed Bytecode
0x6080604052600436106101fb5760003560e01c806355f804b31161011d578063b6ea4671116100b0578063e985e9c51161007f578063f2fde38b11610064578063f2fde38b14610609578063f51f96dd14610629578063f5298aca1461063f57600080fd5b8063e985e9c5146105a0578063f242432a146105e957600080fd5b8063b6ea46711461051e578063bd85b0391461053e578063e10816351461056b578063e222c7f91461058b57600080fd5b80638da5cb5b116100ec5780638da5cb5b146104a757806395d89b41146104cf57806399288dbb146104e4578063a22cb465146104fe57600080fd5b806355f804b314610417578063677b1100146104375780636b20c45414610472578063715018a61461049257600080fd5b806312822a751161019557806338ebee821161016457806338ebee82146103915780633ccfd60b146103a65780634e1273f4146103bb5780634f558e79146103e857600080fd5b806312822a751461031257806314cff58d146103315780632b83cccd146103515780632eb2c2d61461037157600080fd5b806306fdde03116101d157806306fdde03146102b25780630e89341c146102d457806310168e59146102f45780631249c58b1461030a57600080fd5b80624221f0146102005780624a84cb14610240578062fdd58e1461026257806301ffc9a714610282575b600080fd5b34801561020c57600080fd5b5061022d61021b3660046126b8565b600b6020526000908152604090205481565b6040519081526020015b60405180910390f35b34801561024c57600080fd5b5061026061025b3660046126ed565b61065f565b005b34801561026e57600080fd5b5061022d61027d366004612720565b61078b565b34801561028e57600080fd5b506102a261029d366004612760565b61082f565b6040519015158152602001610237565b3480156102be57600080fd5b506102c76108cc565b60405161023791906127e0565b3480156102e057600080fd5b506102c76102ef3660046126b8565b61095e565b34801561030057600080fd5b5061022d60085481565b610260610992565b34801561031e57600080fd5b506007546102a290610100900460ff1681565b34801561033d57600080fd5b5061026061034c3660046127f3565b610b5e565b34801561035d57600080fd5b5061026061036c3660046126ed565b610c40565b34801561037d57600080fd5b5061026061038c366004612964565b610ca5565b34801561039d57600080fd5b50610260610d40565b3480156103b257600080fd5b50610260610dab565b3480156103c757600080fd5b506103db6103d6366004612a0e565b610e87565b6040516102379190612b14565b3480156103f457600080fd5b506102a26104033660046126b8565b600090815260036020526040902054151590565b34801561042357600080fd5b50610260610432366004612b27565b610fc5565b34801561044357600080fd5b506102a2610452366004612720565b600a60209081526000928352604080842090915290825290205460ff1681565b34801561047e57600080fd5b5061026061048d366004612b70565b611036565b34801561049e57600080fd5b506102606110bb565b3480156104b357600080fd5b506004546040516001600160a01b039091168152602001610237565b3480156104db57600080fd5b506102c7611121565b3480156104f057600080fd5b506007546102a29060ff1681565b34801561050a57600080fd5b50610260610519366004612be4565b611130565b34801561052a57600080fd5b50610260610539366004612c20565b61113b565b34801561054a57600080fd5b5061022d6105593660046126b8565b60009081526003602052604090205490565b34801561057757600080fd5b50610260610586366004612c20565b611277565b34801561059757600080fd5b506102606112e6565b3480156105ac57600080fd5b506102a26105bb366004612c42565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b3480156105f557600080fd5b50610260610604366004612c75565b61139b565b34801561061557600080fd5b506102606106243660046127f3565b611422565b34801561063557600080fd5b5061022d60095481565b34801561064b57600080fd5b5061026061065a3660046126ed565b611501565b6004546001600160a01b031633146106be5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6000828152600b6020908152604080832054600390925290912054839183916106e8908390612cf0565b11156107225760405162461bcd60e51b8152602060048201526009602482015268121a5d08131a5b5a5d60ba1b60448201526064016106b5565b600754610100900460ff16156107695760405162461bcd60e51b815260206004820152600c60248201526b53616c65204c6f636b65642160a01b60448201526064016106b5565b6107848585856040518060200160405280600081525061157b565b5050505050565b60006001600160a01b0383166108095760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084016106b5565b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b031982167fd9b67a2600000000000000000000000000000000000000000000000000000000148061089257506001600160e01b031982167f0e89341c00000000000000000000000000000000000000000000000000000000145b806108c657507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6060600580546108db90612d08565b80601f016020809104026020016040519081016040528092919081815260200182805461090790612d08565b80156109545780601f1061092957610100808354040283529160200191610954565b820191906000526020600020905b81548152906001019060200180831161093757829003601f168201915b5050505050905090565b6060600c61096b836116a7565b60405160200161097c929190612d5f565b6040516020818303038152906040529050919050565b60075460ff166109e45760405162461bcd60e51b815260206004820152600d60248201527f53616c65204e6f74204f70656e0000000000000000000000000000000000000060448201526064016106b5565b600954341015610a365760405162461bcd60e51b815260206004820152601160248201527f496e737566666963656e742046756e647300000000000000000000000000000060448201526064016106b5565b6008546000818152600b602052604090205460019081610a628460009081526003602052604090205490565b610a6c9190612cf0565b1115610aa65760405162461bcd60e51b8152602060048201526009602482015268121a5d08131a5b5a5d60ba1b60448201526064016106b5565b600854336000908152600a6020908152604080832084845290915290205460ff1615610b145760405162461bcd60e51b815260206004820152600e60248201527f416c7265616479204d696e74656400000000000000000000000000000000000060448201526064016106b5565b336000818152600a60209081526040808320600880548552908352818420805460ff1916600190811790915590548251938401909252928252610b599392909161157b565b505050565b6004546001600160a01b03163314610bb85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106b5565b600d546001600160a01b031615610c115760405162461bcd60e51b815260206004820152601460248201527f436f6e747261637420416c72656164792053657400000000000000000000000060448201526064016106b5565b600d805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b600d546001600160a01b03163314610c9a5760405162461bcd60e51b815260206004820152601560248201527f4e6f74204f6666696369616c20436f6e7472616374000000000000000000000060448201526064016106b5565b610b598383836117e1565b6001600160a01b038516331480610cc15750610cc185336105bb565b610d335760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f766564000000000000000000000000000060648201526084016106b5565b610784858585858561195a565b6004546001600160a01b03163314610d9a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106b5565b6007805461ffff1916610100179055565b6004546001600160a01b03163314610e055760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106b5565b47610e3a73baf153a8aff8352cb6539cf9168255442def0a026064610e2b846028612e06565b610e359190612e3b565b611bc6565b610e5f73942d44a7b2f9dc4c2ca60e6fecdba4c0fa4981e06064610e2b846028612e06565b610e8473ba859aadf1f87aab4fb117acfa04ca3b834cd4276064610e2b846014612e06565b50565b60608151835114610f005760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d61746368000000000000000000000000000000000000000000000060648201526084016106b5565b6000835167ffffffffffffffff811115610f1c57610f1c61280e565b604051908082528060200260200182016040528015610f45578160200160208202803683370190505b50905060005b8451811015610fbd57610f90858281518110610f6957610f69612e4f565b6020026020010151858381518110610f8357610f83612e4f565b602002602001015161078b565b828281518110610fa257610fa2612e4f565b6020908102919091010152610fb681612e65565b9050610f4b565b509392505050565b6004546001600160a01b0316331461101f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106b5565b805161103290600c90602084019061261f565b5050565b6001600160a01b038316331480611052575061105283336105bb565b6110b05760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b60648201526084016106b5565b610b59838383611cdf565b6004546001600160a01b031633146111155760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106b5565b61111f6000611f26565b565b6060600680546108db90612d08565b611032338383611f85565b6004546001600160a01b031633146111955760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106b5565b6000828152600b602052604090205415611265576000828152600b60205260409020548111156112075760405162461bcd60e51b815260206004820152601660248201527f43616e6e6f7420496e63726561736520537570706c790000000000000000000060448201526064016106b5565b6000828152600360205260409020548110156112655760405162461bcd60e51b815260206004820152601b60248201527f4d7573742042652041626f7665204d696e74656420416d6f756e74000000000060448201526064016106b5565b6000918252600b602052604090912055565b6004546001600160a01b031633146112d15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106b5565b6008919091556009556007805460ff19169055565b6004546001600160a01b031633146113405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106b5565b600754610100900460ff16156113875760405162461bcd60e51b815260206004820152600c60248201526b53616c65204c6f636b65642160a01b60448201526064016106b5565b6007805460ff19811660ff90911615179055565b6001600160a01b0385163314806113b757506113b785336105bb565b6114155760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b60648201526084016106b5565b610784858585858561207a565b6004546001600160a01b0316331461147c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106b5565b6001600160a01b0381166114f85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016106b5565b610e8481611f26565b6001600160a01b03831633148061151d575061151d83336105bb565b610c9a5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b60648201526084016106b5565b6001600160a01b0384166115f75760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016106b5565b336116178160008761160888612218565b61161188612218565b87612263565b6000848152602081815260408083206001600160a01b038916845290915281208054859290611647908490612cf0565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461078481600087878787612271565b6060816116e757505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561171157806116fb81612e65565b915061170a9050600a83612e3b565b91506116eb565b60008167ffffffffffffffff81111561172c5761172c61280e565b6040519080825280601f01601f191660200182016040528015611756576020820181803683370190505b5090505b84156117d95761176b600183612e80565b9150611778600a86612e97565b611783906030612cf0565b60f81b81838151811061179857611798612e4f565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506117d2600a86612e3b565b945061175a565b949350505050565b6001600160a01b0383166118435760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b60648201526084016106b5565b336118728185600061185487612218565b61185d87612218565b60405180602001604052806000815250612263565b6000838152602081815260408083206001600160a01b0388168452909152902054828110156118ef5760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b60648201526084016106b5565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b81518351146119bc5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b60648201526084016106b5565b6001600160a01b038416611a205760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016106b5565b33611a2f818787878787612263565b60005b8451811015611b58576000858281518110611a4f57611a4f612e4f565b602002602001015190506000858381518110611a6d57611a6d612e4f565b602090810291909101810151600084815280835260408082206001600160a01b038e168352909352919091205490915081811015611b005760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b60648201526084016106b5565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290611b3d908490612cf0565b9250508190555050505080611b5190612e65565b9050611a32565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611ba8929190612eab565b60405180910390a4611bbe818787878787612417565b505050505050565b80471015611c165760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016106b5565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611c63576040519150601f19603f3d011682016040523d82523d6000602084013e611c68565b606091505b5050905080610b595760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016106b5565b6001600160a01b038316611d415760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b60648201526084016106b5565b8051825114611da35760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b60648201526084016106b5565b6000339050611dc681856000868660405180602001604052806000815250612263565b60005b8351811015611ec7576000848281518110611de657611de6612e4f565b602002602001015190506000848381518110611e0457611e04612e4f565b602090810291909101810151600084815280835260408082206001600160a01b038c168352909352919091205490915081811015611e905760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b60648201526084016106b5565b6000928352602083815260408085206001600160a01b038b1686529091529092209103905580611ebf81612e65565b915050611dc9565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611f18929190612eab565b60405180910390a450505050565b600480546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316141561200d5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c66000000000000000000000000000000000000000000000060648201526084016106b5565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0384166120de5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016106b5565b336120ee81878761160888612218565b6000848152602081815260408083206001600160a01b038a168452909152902054838110156121725760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b60648201526084016106b5565b6000858152602081815260408083206001600160a01b038b81168552925280832087850390559088168252812080548692906121af908490612cf0565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461220f828888888888612271565b50505050505050565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061225257612252612e4f565b602090810291909101015292915050565b611bbe868686868686612513565b6001600160a01b0384163b15611bbe5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906122b59089908990889088908890600401612ed0565b6020604051808303816000875af19250505080156122f0575060408051601f3d908101601f191682019092526122ed91810190612f13565b60015b6123a6576122fc612f30565b806308c379a014156123365750612311612f4c565b8061231c5750612338565b8060405162461bcd60e51b81526004016106b591906127e0565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e74657200000000000000000000000060648201526084016106b5565b6001600160e01b0319811663f23a6e6160e01b1461220f5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b60648201526084016106b5565b6001600160a01b0384163b15611bbe5760405163bc197c8160e01b81526001600160a01b0385169063bc197c819061245b9089908990889088908890600401612fd6565b6020604051808303816000875af1925050508015612496575060408051601f3d908101601f1916820190925261249391810190612f13565b60015b6124a2576122fc612f30565b6001600160e01b0319811663bc197c8160e01b1461220f5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b60648201526084016106b5565b6001600160a01b03851661259a5760005b83518110156125985782818151811061253f5761253f612e4f565b60200260200101516003600086848151811061255d5761255d612e4f565b6020026020010151815260200190815260200160002060008282546125829190612cf0565b90915550612591905081612e65565b9050612524565b505b6001600160a01b038416611bbe5760005b835181101561220f578281815181106125c6576125c6612e4f565b6020026020010151600360008684815181106125e4576125e4612e4f565b6020026020010151815260200190815260200160002060008282546126099190612e80565b90915550612618905081612e65565b90506125ab565b82805461262b90612d08565b90600052602060002090601f01602090048101928261264d5760008555612693565b82601f1061266657805160ff1916838001178555612693565b82800160010185558215612693579182015b82811115612693578251825591602001919060010190612678565b5061269f9291506126a3565b5090565b5b8082111561269f57600081556001016126a4565b6000602082840312156126ca57600080fd5b5035919050565b80356001600160a01b03811681146126e857600080fd5b919050565b60008060006060848603121561270257600080fd5b61270b846126d1565b95602085013595506040909401359392505050565b6000806040838503121561273357600080fd5b61273c836126d1565b946020939093013593505050565b6001600160e01b031981168114610e8457600080fd5b60006020828403121561277257600080fd5b813561277d8161274a565b9392505050565b60005b8381101561279f578181015183820152602001612787565b838111156127ae576000848401525b50505050565b600081518084526127cc816020860160208601612784565b601f01601f19169290920160200192915050565b60208152600061277d60208301846127b4565b60006020828403121561280557600080fd5b61277d826126d1565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff8111828210171561284a5761284a61280e565b6040525050565b600067ffffffffffffffff82111561286b5761286b61280e565b5060051b60200190565b600082601f83011261288657600080fd5b8135602061289382612851565b6040516128a08282612824565b83815260059390931b85018201928281019150868411156128c057600080fd5b8286015b848110156128db57803583529183019183016128c4565b509695505050505050565b600067ffffffffffffffff8311156129005761290061280e565b604051612917601f8501601f191660200182612824565b80915083815284848401111561292c57600080fd5b83836020830137600060208583010152509392505050565b600082601f83011261295557600080fd5b61277d838335602085016128e6565b600080600080600060a0868803121561297c57600080fd5b612985866126d1565b9450612993602087016126d1565b9350604086013567ffffffffffffffff808211156129b057600080fd5b6129bc89838a01612875565b945060608801359150808211156129d257600080fd5b6129de89838a01612875565b935060808801359150808211156129f457600080fd5b50612a0188828901612944565b9150509295509295909350565b60008060408385031215612a2157600080fd5b823567ffffffffffffffff80821115612a3957600080fd5b818501915085601f830112612a4d57600080fd5b81356020612a5a82612851565b604051612a678282612824565b83815260059390931b8501820192828101915089841115612a8757600080fd5b948201945b83861015612aac57612a9d866126d1565b82529482019490820190612a8c565b96505086013592505080821115612ac257600080fd5b50612acf85828601612875565b9150509250929050565b600081518084526020808501945080840160005b83811015612b0957815187529582019590820190600101612aed565b509495945050505050565b60208152600061277d6020830184612ad9565b600060208284031215612b3957600080fd5b813567ffffffffffffffff811115612b5057600080fd5b8201601f81018413612b6157600080fd5b6117d9848235602084016128e6565b600080600060608486031215612b8557600080fd5b612b8e846126d1565b9250602084013567ffffffffffffffff80821115612bab57600080fd5b612bb787838801612875565b93506040860135915080821115612bcd57600080fd5b50612bda86828701612875565b9150509250925092565b60008060408385031215612bf757600080fd5b612c00836126d1565b915060208301358015158114612c1557600080fd5b809150509250929050565b60008060408385031215612c3357600080fd5b50508035926020909101359150565b60008060408385031215612c5557600080fd5b612c5e836126d1565b9150612c6c602084016126d1565b90509250929050565b600080600080600060a08688031215612c8d57600080fd5b612c96866126d1565b9450612ca4602087016126d1565b93506040860135925060608601359150608086013567ffffffffffffffff811115612cce57600080fd5b612a0188828901612944565b634e487b7160e01b600052601160045260246000fd5b60008219821115612d0357612d03612cda565b500190565b600181811c90821680612d1c57607f821691505b60208210811415612d3d57634e487b7160e01b600052602260045260246000fd5b50919050565b60008151612d55818560208601612784565b9290920192915050565b600080845481600182811c915080831680612d7b57607f831692505b6020808410821415612d9b57634e487b7160e01b86526022600452602486fd5b818015612daf5760018114612dc057612ded565b60ff19861689528489019650612ded565b60008b81526020902060005b86811015612de55781548b820152908501908301612dcc565b505084890196505b505050505050612dfd8185612d43565b95945050505050565b6000816000190483118215151615612e2057612e20612cda565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612e4a57612e4a612e25565b500490565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612e7957612e79612cda565b5060010190565b600082821015612e9257612e92612cda565b500390565b600082612ea657612ea6612e25565b500690565b604081526000612ebe6040830185612ad9565b8281036020840152612dfd8185612ad9565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a06080830152612f0860a08301846127b4565b979650505050505050565b600060208284031215612f2557600080fd5b815161277d8161274a565b600060033d1115612f495760046000803e5060005160e01c5b90565b600060443d1015612f5a5790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715612f8a57505050505090565b8285019150815181811115612fa25750505050505090565b843d8701016020828501011115612fbc5750505050505090565b612fcb60208286010187612824565b509095945050505050565b60006001600160a01b03808816835280871660208401525060a0604083015261300260a0830186612ad9565b82810360608401526130148186612ad9565b9050828103608084015261302881856127b4565b9897505050505050505056fea264697066735822122042611e30cf613e01fd749b2b8a4f162d84397f9c244734aa75d72670e41ada5464736f6c634300080b0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d63703155654d614e5a73434257547455743536597145527042713468314c5535473838765841327a4e7664632f00000000000000000000
-----Decoded View---------------
Arg [0] : _metadataUri (string): ipfs://Qmcp1UeMaNZsCBWTtUt56YqERpBq4h1LU5G88vXA2zNvdc/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d63703155654d614e5a7343425754745574353659714552
Arg [3] : 7042713468314c5535473838765841327a4e7664632f00000000000000000000
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.