Feature Tip: Add private address tag to any address under My Name Tag !
ERC-1155
Overview
Max Total Supply
391 BUDS
Holders
310
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
RebudCollection
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; /** * @title Rebud Collection ERC1155 Smart Contract * @dev Extends ERC1155 */ contract RebudCollection is ERC1155, ERC1155Supply, ERC1155Burnable, Ownable, ReentrancyGuard { string private _contractURI; address public minterAddress; string _name = "Rebud"; string _symbol = "BUDS"; uint256 public mintingTokenID = 0; uint256 public numberMintedTotal = 0; uint256 public maxTokens = 420; uint256 public maxPerWallet = 50; /// PUBLIC MINT uint256 public tokenPricePublic = 0.089 ether; bool public mintIsActivePublic = false; uint256 public maxTokensPerTransactionPublic = 50; uint256 public numberMintedPublic = 0; uint256 public maxTokensPublic = 420; // PRESALE MINT uint256 public tokenPricePresale = 0.089 ether; bool public mintIsActivePresale = false; mapping (uint256 => mapping (address => bool) ) public presaleWalletList; uint256 public maxTokensPerTransactionPresale = 50; uint256 public numberMintedPresale = 0; uint256 public maxTokensPresale = 420; // FREE WALLET BASED MINT bool public mintIsActiveFree = false; uint256 public numberFreeToMint = 1; mapping (uint256 => mapping (address => bool) ) public freeWalletList; // PRESALE MERKLE MINT mapping (uint256 => mapping (address => bool) ) public presaleMerkleWalletList; bytes32 public presaleMerkleRoot; /** * @notice sets Merkle Root for presale */ function setMerkleRoot(bytes32 _presaleMerkleRoot) public onlyOwner { presaleMerkleRoot = _presaleMerkleRoot; } /** * @notice view function to check if a merkleProof is valid before sending presale mint function */ function isOnPresaleMerkle(bytes32[] calldata _merkleProof) public view returns(bool) { bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); return MerkleProof.verify(_merkleProof, presaleMerkleRoot, leaf); } constructor() ERC1155(""){} // PUBLIC MINT /** * @notice turn on/off public mint */ function flipMintStatePublic() external onlyOwner { mintIsActivePublic = !mintIsActivePublic; } /** * @notice Public mint function */ function mint(uint256 numberOfTokens) external payable nonReentrant { require(mintIsActivePublic, "Public mint is not active"); require(balanceOf(msg.sender, mintingTokenID) <= maxPerWallet); require( numberOfTokens <= maxTokensPerTransactionPublic, "You went over max tokens per transaction" ); require( msg.value >= tokenPricePublic * numberOfTokens, "You sent the incorrect amount of ETH" ); require( numberMintedPublic + numberOfTokens <= maxTokensPublic, "Not enough Public Mint tokens left to mint that many" ); require( numberMintedTotal + numberOfTokens <= maxTokens, "Not enough Total tokens left to mint that many" ); numberMintedPublic += numberOfTokens; numberMintedTotal += numberOfTokens; _mint(msg.sender, mintingTokenID, numberOfTokens, ""); } // PRESALE WALLET MINT /** * @notice Turn on/off presale wallet mint */ function flipPresaleMintState() external onlyOwner { mintIsActivePresale = !mintIsActivePresale; } /** * @notice useful to reset a list of addresses to be able to presale mint again. */ function initPresaleWalletList(address[] memory walletList) external onlyOwner { for (uint i; i < walletList.length; i++) { presaleWalletList[mintingTokenID][walletList[i]] = true; } } /** * @notice check if address is on presale list */ function checkAddressOnPresaleList(uint256 tokenId, address wallet) public view returns (bool) { return presaleWalletList[tokenId][wallet]; } /** * @notice Presale wallet list mint */ function mintPresale(uint256 numberOfTokens) external payable nonReentrant { require(mintIsActivePresale, "Presale mint is not active"); require( numberOfTokens <= maxTokensPerTransactionPresale, "You went over max tokens per transaction" ); require( msg.value >= tokenPricePresale * numberOfTokens, "You sent the incorrect amount of ETH" ); require( presaleWalletList[mintingTokenID][msg.sender] == true, "You are not on the presale wallet list or have already minted" ); require( numberMintedPresale + numberOfTokens <= maxTokensPresale, "Not enough tokens left to mint that many" ); require( numberMintedTotal + numberOfTokens <= maxTokens, "Not enough tokens left to mint that many" ); numberMintedPresale += numberOfTokens; numberMintedTotal += numberOfTokens; presaleWalletList[mintingTokenID][msg.sender] = false; _mint(msg.sender, mintingTokenID, numberOfTokens, ""); } // PRESALE WALLET MERKLE MINT /** * @notice useful to reset a list of addresses to be able to presale mint again. */ function initPresaleMerkleWalletList(address[] memory walletList) external onlyOwner { for (uint i; i < walletList.length; i++) { presaleMerkleWalletList[mintingTokenID][walletList[i]] = false; } } /** * @notice check if address is on presale list */ function checkAddressOnPresaleMerkleWalletList(uint256 tokenId, address wallet) public view returns (bool) { return presaleMerkleWalletList[tokenId][wallet]; } /** * @notice Presale wallet list mint */ function mintPresaleMerkle(uint256 numberOfTokens, bytes32[] calldata _merkleProof) external payable nonReentrant{ require(mintIsActivePresale, "Presale mint is not active"); require( numberOfTokens <= maxTokensPerTransactionPresale, "You went over max tokens per transaction" ); require( msg.value >= tokenPricePresale * numberOfTokens, "You sent the incorrect amount of ETH" ); require( presaleMerkleWalletList[mintingTokenID][msg.sender] == false, "You are not on the presale wallet list or have already minted" ); require( numberMintedPresale + numberOfTokens <= maxTokensPresale, "Not enough tokens left to mint that many" ); require( numberMintedTotal + numberOfTokens <= maxTokens, "Not enough tokens left to mint that many" ); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_merkleProof, presaleMerkleRoot, leaf), "Invalid Proof"); numberMintedPresale += numberOfTokens; numberMintedTotal += numberOfTokens; presaleMerkleWalletList[mintingTokenID][msg.sender] = true; _mint(msg.sender, mintingTokenID, numberOfTokens, ""); } // Free Wallet Mint /** * @notice turn on/off free wallet mint */ function flipFreeWalletState() external onlyOwner { mintIsActiveFree = !mintIsActiveFree; } /** * @notice data structure for uploading free mint wallets */ function initFreeWalletList(address[] memory walletList) external onlyOwner { for (uint256 i = 0; i < walletList.length; i++) { freeWalletList[mintingTokenID][walletList[i]] = true; } } /** * @notice check if address is on free wallet list */ function checkAddressOnFreeWalletList(uint256 tokenId, address wallet) public view returns (bool) { return freeWalletList[tokenId][wallet]; } /** * @notice Free mint for wallets in freeWalletList */ function mintFreeWalletList() external nonReentrant { require(mintIsActiveFree, "Free mint is not active"); require( numberMintedTotal + numberFreeToMint <= maxTokens, "Not enough tokens left to mint that many" ); require( freeWalletList[mintingTokenID][msg.sender] == true, "You are not on the free wallet list or have already minted" ); numberMintedTotal += numberFreeToMint; freeWalletList[mintingTokenID][msg.sender] = false; _mint(msg.sender, mintingTokenID, numberFreeToMint, ""); } /** * @notice set address of minter for airdrops */ function setMinterAddress(address minter) public onlyOwner { minterAddress = minter; } modifier onlyMinter { require(minterAddress == msg.sender || owner() == msg.sender, "You must have the Minter role"); _; } /** * @notice mint a collection to the contract wallet */ function mintReserve(uint256 amount) public onlyOwner { _mint(msg.sender, mintingTokenID, amount, ""); } /** * @notice mint a batch of token collections to the contract wallet */ function mintBatch( uint256[] memory ids, uint256[] memory amounts ) public onlyMinter { _mintBatch(msg.sender, ids, amounts, ""); } /** * @notice mint a collection to a wallet */ function mintToWallet(address toWallet, uint256 amount) public onlyOwner { _mint(toWallet, mintingTokenID, amount, ""); } /** * @notice airdrop a specific token to a list of addresses */ function airdrop(address[] calldata addresses, uint id, uint amt_each) public onlyMinter { for (uint i=0; i < addresses.length; i++) { _mint(addresses[i], id, amt_each, ""); } } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function contractURI() public view returns (string memory) { return _contractURI; } // @title SETTER FUNCTIONS /** * @notice set token base uri */ function setURI(string memory baseURI) public onlyMinter { _setURI(baseURI); } /** * @notice set contract uri https://docs.opensea.io/docs/contract-level-metadata */ function setContractURI(string memory newContractURI) public onlyOwner { _contractURI = newContractURI; } /** * @notice Set token price of presale - tokenPricePublic */ function setTokenPricePublic(uint256 tokenPrice) external onlyOwner { require(tokenPrice >= 0, "Must be greater or equal then zer0"); tokenPricePublic = tokenPrice; } /** * @notice Set max tokens allowed minted in public sale - maxTokensPublic */ function setMaxTokens (uint256 amount) external onlyOwner { require(amount >= 0, "Must be greater or equal than zer0"); maxTokens = amount; } /** * @notice Set total number of tokens minted in public sale - numberMintedPublic */ function setNumberMintedTotal(uint256 amount) external onlyOwner { require(amount >= 0, "Must be greater or equal than zer0"); numberMintedTotal = amount; } /** * @notice Set max tokens allowed minted in public sale - maxTokensPublic */ function setMaxTokensPublic (uint256 amount) external onlyOwner { require(amount >= 0, "Must be greater or equal than zer0"); maxTokensPublic = amount; } /** * @notice Set total number of tokens minted in public sale - numberMintedPublic */ function setNumberMintedPublic(uint256 amount) external onlyOwner { require(amount >= 0, "Must be greater or equal than zer0"); numberMintedPublic = amount; } /** * @notice Set max tokens per transaction for public sale - maxTokensPerTransactionPublic */ function setMaxTokensPerTransactionPublic(uint256 amount) external onlyOwner { require(amount >= 0, "Invalid amount"); maxTokensPerTransactionPublic = amount; } /** * @notice Set token price of presale - tokenPricePresale */ function setTokenPricePresale(uint256 tokenPrice) external onlyOwner { require(tokenPrice >= 0, "Must be greater or equal than zer0"); tokenPricePresale = tokenPrice; } /** * @notice Set max tokens allowed minted in presale - maxTokensPresale */ function setMaxTokensPresale(uint256 amount) external onlyOwner { require(amount >= 0, "Invalid amount"); maxTokensPresale = amount; } /** * @notice Set total number of tokens minted in presale - numberMintedPresale */ function setNumberMintedPresale(uint256 amount) external onlyOwner { require(amount >= 0, "Invalid amount"); numberMintedPresale = amount; } /** * @notice Set max tokens per transaction for presale - maxTokensPerTransactionPresale */ function setMaxTokensPerTransactionPresale(uint256 amount) external onlyOwner { require(amount >= 0, "Invalid amount"); maxTokensPerTransactionPresale = amount; } /** * @notice Set the current token ID minting - mintingTokenID */ function setMintingTokenID(uint256 tokenID) external onlyOwner { require(tokenID >= 0, "Invalid token id"); mintingTokenID = tokenID; } /** * @notice Set max tokens per wallet - maxPerWallet */ function setMaxPerWallet(uint256 amount) external onlyOwner { require(amount >= 0, "Invalid amount"); maxPerWallet = amount; } /** * @notice Set the current token ID minting and reset all counters and active mints to 0 and false respectively */ function setMintingTokenIdAndResetState(uint256 tokenID) external onlyOwner { require(tokenID >= 0, "Invalid token id"); mintingTokenID = tokenID; mintIsActivePublic = false; mintIsActivePresale = false; mintIsActiveFree = false; numberMintedTotal = 0; numberMintedPresale = 0; numberMintedPublic = 0; } /** * @notice Withdraw ETH in contract to ownership wallet */ function withdraw() external onlyOwner { uint256 balance = address(this).balance; Address.sendValue(payable(owner()), balance); } 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 (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/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 (token/ERC1155/extensions/ERC1155Burnable.sol) pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of {ERC1155} that allows token holders to destroy both their * own tokens and those that they have been approved to use. * * _Available since v3.1._ */ abstract contract ERC1155Burnable is ERC1155 { function burn( address account, uint256 id, uint256 value ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not owner nor approved" ); _burn(account, id, value); } function burnBatch( address account, uint256[] memory ids, uint256[] memory values ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not owner nor approved" ); _burnBatch(account, ids, values); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** @dev Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// 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
[{"inputs":[],"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":"addresses","type":"address[]"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amt_each","type":"uint256"}],"name":"airdrop","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":"tokenId","type":"uint256"},{"internalType":"address","name":"wallet","type":"address"}],"name":"checkAddressOnFreeWalletList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"wallet","type":"address"}],"name":"checkAddressOnPresaleList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"wallet","type":"address"}],"name":"checkAddressOnPresaleMerkleWalletList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipFreeWalletState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipMintStatePublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipPresaleMintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"freeWalletList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"walletList","type":"address[]"}],"name":"initFreeWalletList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"walletList","type":"address[]"}],"name":"initPresaleMerkleWalletList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"walletList","type":"address[]"}],"name":"initPresaleWalletList","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"isOnPresaleMerkle","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensPerTransactionPresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensPerTransactionPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensPresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintFreeWalletList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintIsActiveFree","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintIsActivePresale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintIsActivePublic","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mintPresaleMerkle","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintReserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"toWallet","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintToWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minterAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingTokenID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numberFreeToMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numberMintedPresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numberMintedPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numberMintedTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"presaleMerkleWalletList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"presaleWalletList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newContractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxTokensPerTransactionPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxTokensPerTransactionPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxTokensPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxTokensPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_presaleMerkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"setMinterAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"setMintingTokenID","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"setMintingTokenIdAndResetState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setNumberMintedPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setNumberMintedPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setNumberMintedTotal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenPrice","type":"uint256"}],"name":"setTokenPricePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenPrice","type":"uint256"}],"name":"setTokenPricePublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setURI","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":"tokenPricePresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPricePublic","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":"","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
60c060405260056080819052641499589d5960da1b60a09081526200002891600891906200017e565b50604080518082019091526004808252634255445360e01b602090920191825262000056916009916200017e565b506000600a819055600b8190556101a4600c8190556032600d81905567013c310749028000600e819055600f805460ff1990811690915560108390556011859055601284905560139190915560148054821690556016919091556017929092556018556019805490911690556001601a55348015620000d457600080fd5b50604080516020810190915260008152620000ef816200010f565b5062000104620000fe62000128565b6200012c565b600160055562000261565b8051620001249060029060208401906200017e565b5050565b3390565b600480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200018c9062000224565b90600052602060002090601f016020900481019282620001b05760008555620001fb565b82601f10620001cb57805160ff1916838001178555620001fb565b82800160010185558215620001fb579182015b82811115620001fb578251825591602001919060010190620001de565b50620002099291506200020d565b5090565b5b808211156200020957600081556001016200020e565b6002810460018216806200023957607f821691505b602082108114156200025b57634e487b7160e01b600052602260045260246000fd5b50919050565b6148b380620002716000396000f3fe6080604052600436106104eb5760003560e01c80638da5cb5b11610294578063cca979111161015e578063f242432a116100d6578063f931a4c21161008a578063fa5d78821161006f578063fa5d788214610cec578063fcb6c26314610d0c578063ff5a70c614610d2c576104eb565b8063f931a4c214610cb7578063f934688114610ccc576104eb565b8063f5298aca116100bb578063f5298aca14610c64578063f759867a14610c84578063f906751b14610c97576104eb565b8063f242432a14610c24578063f2fde38b14610c44576104eb565b8063d9a02e691161012d578063e831574211610112578063e831574214610bda578063e8a3d48514610bef578063e985e9c514610c04576104eb565b8063d9a02e6914610ba5578063e268e4d314610bba576104eb565b8063cca9791114610b30578063cd2c705214610b45578063d351cfdc14610b65578063d70c3dba14610b85576104eb565b8063a40d317b1161020c578063ba30360a116101c0578063bd85b039116101a5578063bd85b03914610adb578063c121d6f014610afb578063c7b6945914610b1b576104eb565b8063ba30360a14610a9b578063bce3375114610abb576104eb565b8063b8de970a116101f1578063b8de970a14610a51578063b92bc37514610a66578063b9dc644a14610a7b576104eb565b8063a40d317b14610a11578063a496dedf14610a31576104eb565b80639be51bea11610263578063a1e33d0211610248578063a1e33d02146109b1578063a22cb465146109d1578063a3106b95146109f1576104eb565b80639be51bea14610989578063a0712d681461099e576104eb565b80638da5cb5b1461092a5780638f4167da1461093f578063938e3d7b1461095457806395d89b4114610974576104eb565b8063453c2310116103d557806364d9ffd21161034d5780637521134c116103015780637de69d5f116102e65780637de69d5f146108e0578063894a8cac146108f55780638b13fde81461090a576104eb565b80637521134c146108a05780637cb64759146108c0576104eb565b80636de56d0e116103325780636de56d0e146108635780636e20d96814610878578063715018a61461088b576104eb565b806364d9ffd2146108235780636b20c45414610843576104eb565b80634f558e79116103a45780635071d017116103895780635071d017146107d957806359aefc59146107ee5780635d04aeab14610803576104eb565b80634f558e79146107995780634f699a43146107b9576104eb565b8063453c2310146107225780634576cdd51461073757806346ca1ab81461074c5780634e1273f41461076c576104eb565b8063259dbed011610468578063311df29a1161043757806335a4faf41161041c57806335a4faf4146106cd5780633ccfd60b146106ed57806343b43a5414610702576104eb565b8063311df29a1461068b57806334d722c9146106ab576104eb565b8063259dbed0146106165780632611f466146106365780632b038411146106565780632eb2c2d61461066b576104eb565b806306fdde03116104bf57806311e776fe116104a457806311e776fe146105cc5780631df09e47146105ec57806322212e2b14610601576104eb565b806306fdde031461058a5780630e89341c146105ac576104eb565b8062fdd58e146104f057806301ffc9a71461052657806302fe53051461055357806305461a6a14610575575b600080fd5b3480156104fc57600080fd5b5061051061050b366004613868565b610d41565b60405161051d9190613cce565b60405180910390f35b34801561053257600080fd5b50610546610541366004613a33565b610d98565b60405161051d9190613cc3565b34801561055f57600080fd5b5061057361056e366004613a6b565b610e12565b005b34801561058157600080fd5b50610546610e62565b34801561059657600080fd5b5061059f610e6b565b60405161051d9190613cd7565b3480156105b857600080fd5b5061059f6105c7366004613a1b565b610efe565b3480156105d857600080fd5b506105736105e7366004613a1b565b610f92565b3480156105f857600080fd5b50610510610fd6565b34801561060d57600080fd5b50610510610fdc565b34801561062257600080fd5b50610546610631366004613ab1565b610fe2565b34801561064257600080fd5b50610573610651366004613912565b611002565b34801561066257600080fd5b506105106110ca565b34801561067757600080fd5b506105736106863660046136b4565b6110d0565b34801561069757600080fd5b506105736106a6366004613a1b565b61112e565b3480156106b757600080fd5b506106c0611172565b60405161051d9190613bcd565b3480156106d957600080fd5b506105736106e8366004613a1b565b611181565b3480156106f957600080fd5b506105736111c5565b34801561070e57600080fd5b5061054661071d366004613ab1565b611216565b34801561072e57600080fd5b50610510611241565b34801561074357600080fd5b50610510611247565b34801561075857600080fd5b50610573610767366004613a1b565b61124d565b34801561077857600080fd5b5061078c610787366004613945565b611291565b60405161051d9190613c82565b3480156107a557600080fd5b506105466107b4366004613a1b565b6113b1565b3480156107c557600080fd5b506105736107d4366004613912565b6113c4565b3480156107e557600080fd5b5061051061148c565b3480156107fa57600080fd5b50610510611492565b34801561080f57600080fd5b5061057361081e366004613912565b611498565b34801561082f57600080fd5b5061054661083e366004613ab1565b611560565b34801561084f57600080fd5b5061057361085e3660046137bd565b61158b565b34801561086f57600080fd5b506105106115e5565b610573610886366004613ad3565b6115eb565b34801561089757600080fd5b50610573611826565b3480156108ac57600080fd5b506105736108bb366004613a1b565b611871565b3480156108cc57600080fd5b506105736108db366004613a1b565b6118b5565b3480156108ec57600080fd5b506105106118f9565b34801561090157600080fd5b506105736118ff565b34801561091657600080fd5b50610573610925366004613a1b565b611952565b34801561093657600080fd5b506106c0611996565b34801561094b57600080fd5b506105106119a5565b34801561096057600080fd5b5061057361096f366004613a6b565b6119ab565b34801561098057600080fd5b5061059f6119fd565b34801561099557600080fd5b50610510611a0c565b6105736109ac366004613a1b565b611a12565b3480156109bd57600080fd5b506105736109cc366004613a1b565b611b7a565b3480156109dd57600080fd5b506105736109ec36600461382e565b611beb565b3480156109fd57600080fd5b50610573610a0c366004613668565b611bfd565b348015610a1d57600080fd5b50610546610a2c3660046139a6565b611c6b565b348015610a3d57600080fd5b50610573610a4c3660046138c3565b611ce0565b348015610a5d57600080fd5b50610510611d90565b348015610a7257600080fd5b50610573611d96565b348015610a8757600080fd5b50610546610a96366004613ab1565b611de9565b348015610aa757600080fd5b50610546610ab6366004613ab1565b611e09565b348015610ac757600080fd5b50610546610ad6366004613ab1565b611e34565b348015610ae757600080fd5b50610510610af6366004613a1b565b611e54565b348015610b0757600080fd5b50610573610b16366004613a1b565b611e66565b348015610b2757600080fd5b50610546611eaa565b348015610b3c57600080fd5b50610573611eb3565b348015610b5157600080fd5b50610573610b60366004613a1b565b611fd1565b348015610b7157600080fd5b50610573610b803660046139e6565b612015565b348015610b9157600080fd5b50610573610ba0366004613a1b565b612074565b348015610bb157600080fd5b506105106120b8565b348015610bc657600080fd5b50610573610bd5366004613a1b565b6120be565b348015610be657600080fd5b50610510612102565b348015610bfb57600080fd5b5061059f612108565b348015610c1057600080fd5b50610546610c1f366004613682565b612117565b348015610c3057600080fd5b50610573610c3f36600461375a565b612145565b348015610c5057600080fd5b50610573610c5f366004613668565b61219c565b348015610c7057600080fd5b50610573610c7f366004613891565b61220a565b610573610c92366004613a1b565b61225f565b348015610ca357600080fd5b50610573610cb2366004613a1b565b612408565b348015610cc357600080fd5b50610573612464565b348015610cd857600080fd5b50610573610ce7366004613a1b565b6124b7565b348015610cf857600080fd5b50610573610d07366004613a1b565b6124fb565b348015610d1857600080fd5b50610573610d27366004613868565b61253f565b348015610d3857600080fd5b5061054661259b565b60006001600160a01b038316610d725760405162461bcd60e51b8152600401610d6990613ebb565b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b031982167fd9b67a26000000000000000000000000000000000000000000000000000000001480610dfb57506001600160e01b031982167f0e89341c00000000000000000000000000000000000000000000000000000000145b80610e0a5750610e0a826125a4565b90505b919050565b6007546001600160a01b0316331480610e3a575033610e2f611996565b6001600160a01b0316145b610e565760405162461bcd60e51b8152600401610d6990614248565b610e5f816125d6565b50565b60195460ff1681565b606060088054610e7a9061473a565b80601f0160208091040260200160405190810160405280929190818152602001828054610ea69061473a565b8015610ef35780601f10610ec857610100808354040283529160200191610ef3565b820191906000526020600020905b815481529060010190602001808311610ed657829003601f168201915b505050505090505b90565b606060028054610f0d9061473a565b80601f0160208091040260200160405190810160405280929190818152602001828054610f399061473a565b8015610f865780601f10610f5b57610100808354040283529160200191610f86565b820191906000526020600020905b815481529060010190602001808311610f6957829003601f168201915b50505050509050919050565b610f9a6125e9565b6001600160a01b0316610fab611996565b6001600160a01b031614610fd15760405162461bcd60e51b8152600401610d6990614339565b600c55565b60105481565b601d5481565b601b60209081526000928352604080842090915290825290205460ff1681565b61100a6125e9565b6001600160a01b031661101b611996565b6001600160a01b0316146110415760405162461bcd60e51b8152600401610d6990614339565b60005b81518110156110c657600a546000908152601c602052604081208351829085908590811061108257634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806110be81614775565b915050611044565b5050565b60135481565b6110d86125e9565b6001600160a01b0316856001600160a01b031614806110fe57506110fe85610c1f6125e9565b61111a5760405162461bcd60e51b8152600401610d6990614157565b61112785858585856125ed565b5050505050565b6111366125e9565b6001600160a01b0316611147611996565b6001600160a01b03161461116d5760405162461bcd60e51b8152600401610d6990614339565b601355565b6007546001600160a01b031681565b6111896125e9565b6001600160a01b031661119a611996565b6001600160a01b0316146111c05760405162461bcd60e51b8152600401610d6990614339565b601655565b6111cd6125e9565b6001600160a01b03166111de611996565b6001600160a01b0316146112045760405162461bcd60e51b8152600401610d6990614339565b47610e5f611210611996565b826127be565b6000918252601c602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600d5481565b600a5481565b6112556125e9565b6001600160a01b0316611266611996565b6001600160a01b03161461128c5760405162461bcd60e51b8152600401610d6990614339565b601855565b606081518351146112b45760405162461bcd60e51b8152600401610d69906144bc565b6000835167ffffffffffffffff8111156112de57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611307578160200160208202803683370190505b50905060005b84518110156113a95761136e85828151811061133957634e487b7160e01b600052603260045260246000fd5b602002602001015185838151811061136157634e487b7160e01b600052603260045260246000fd5b6020026020010151610d41565b82828151811061138e57634e487b7160e01b600052603260045260246000fd5b60209081029190910101526113a281614775565b905061130d565b509392505050565b6000806113bd83611e54565b1192915050565b6113cc6125e9565b6001600160a01b03166113dd611996565b6001600160a01b0316146114035760405162461bcd60e51b8152600401610d6990614339565b60005b81518110156110c657600160156000600a548152602001908152602001600020600084848151811061144857634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061148481614775565b915050611406565b601a5481565b60125481565b6114a06125e9565b6001600160a01b03166114b1611996565b6001600160a01b0316146114d75760405162461bcd60e51b8152600401610d6990614339565b60005b81518110156110c6576001601b6000600a548152602001908152602001600020600084848151811061151c57634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061155881614775565b9150506114da565b6000918252601b602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6115936125e9565b6001600160a01b0316836001600160a01b031614806115b957506115b983610c1f6125e9565b6115d55760405162461bcd60e51b8152600401610d6990613fd2565b6115e083838361285a565b505050565b600b5481565b6002600554141561160e5760405162461bcd60e51b8152600401610d69906145d3565b600260055560145460ff166116355760405162461bcd60e51b8152600401610d69906141b4565b6016548311156116575760405162461bcd60e51b8152600401610d6990613da4565b826013546116659190614704565b3410156116845760405162461bcd60e51b8152600401610d699061436e565b600a546000908152601c6020908152604080832033845290915290205460ff16156116c15760405162461bcd60e51b8152600401610d69906143cb565b601854836017546116d291906146ec565b11156116f05760405162461bcd60e51b8152600401610d6990613e01565b600c5483600b5461170191906146ec565b111561171f5760405162461bcd60e51b8152600401610d6990613e01565b6000336040516020016117329190613ba2565b60405160208183030381529060405280519060200120905061178b83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601d549150849050612a0b565b6117a75760405162461bcd60e51b8152600401610d6990614428565b83601760008282546117b991906146ec565b9250508190555083600b60008282546117d291906146ec565b9091555050600a80546000908152601c6020908152604080832033808552908352818420805460ff191660011790559354815192830190915291815261181b9291908790612a21565b505060016005555050565b61182e6125e9565b6001600160a01b031661183f611996565b6001600160a01b0316146118655760405162461bcd60e51b8152600401610d6990614339565b61186f6000612b10565b565b6118796125e9565b6001600160a01b031661188a611996565b6001600160a01b0316146118b05760405162461bcd60e51b8152600401610d6990614339565b601755565b6118bd6125e9565b6001600160a01b03166118ce611996565b6001600160a01b0316146118f45760405162461bcd60e51b8152600401610d6990614339565b601d55565b600e5481565b6119076125e9565b6001600160a01b0316611918611996565b6001600160a01b03161461193e5760405162461bcd60e51b8152600401610d6990614339565b6019805460ff19811660ff90911615179055565b61195a6125e9565b6001600160a01b031661196b611996565b6001600160a01b0316146119915760405162461bcd60e51b8152600401610d6990614339565b600a55565b6004546001600160a01b031690565b60175481565b6119b36125e9565b6001600160a01b03166119c4611996565b6001600160a01b0316146119ea5760405162461bcd60e51b8152600401610d6990614339565b80516110c6906006906020840190613424565b606060098054610e7a9061473a565b60165481565b60026005541415611a355760405162461bcd60e51b8152600401610d69906145d3565b6002600555600f5460ff16611a5c5760405162461bcd60e51b8152600401610d6990614667565b600d54611a6b33600a54610d41565b1115611a7657600080fd5b601054811115611a985760405162461bcd60e51b8152600401610d6990613da4565b80600e54611aa69190614704565b341015611ac55760405162461bcd60e51b8152600401610d699061436e565b60125481601154611ad691906146ec565b1115611af45760405162461bcd60e51b8152600401610d69906141eb565b600c5481600b54611b0591906146ec565b1115611b235760405162461bcd60e51b8152600401610d699061460a565b8060116000828254611b3591906146ec565b9250508190555080600b6000828254611b4e91906146ec565b92505081905550611b7233600a548360405180602001604052806000815250612a21565b506001600555565b611b826125e9565b6001600160a01b0316611b93611996565b6001600160a01b031614611bb95760405162461bcd60e51b8152600401610d6990614339565b600a55600f805460ff1990811690915560148054821690556019805490911690556000600b8190556017819055601155565b6110c6611bf66125e9565b8383612b6f565b611c056125e9565b6001600160a01b0316611c16611996565b6001600160a01b031614611c3c5760405162461bcd60e51b8152600401610d6990614339565b6007805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60008033604051602001611c7f9190613ba2565b604051602081830303815290604052805190602001209050611cd884848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601d549150849050612a0b565b949350505050565b6007546001600160a01b0316331480611d08575033611cfd611996565b6001600160a01b0316145b611d245760405162461bcd60e51b8152600401610d6990614248565b60005b8381101561112757611d7e858583818110611d5257634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611d679190613668565b848460405180602001604052806000815250612a21565b80611d8881614775565b915050611d27565b60185481565b611d9e6125e9565b6001600160a01b0316611daf611996565b6001600160a01b031614611dd55760405162461bcd60e51b8152600401610d6990614339565b600f805460ff19811660ff90911615179055565b601c60209081526000928352604080842090915290825290205460ff1681565b60009182526015602090815260408084206001600160a01b0393909316845291905290205460ff1690565b601560209081526000928352604080842090915290825290205460ff1681565b60009081526003602052604090205490565b611e6e6125e9565b6001600160a01b0316611e7f611996565b6001600160a01b031614611ea55760405162461bcd60e51b8152600401610d6990614339565b600b55565b600f5460ff1681565b60026005541415611ed65760405162461bcd60e51b8152600401610d69906145d3565b600260055560195460ff16611efd5760405162461bcd60e51b8152600401610d699061402f565b600c54601a54600b54611f1091906146ec565b1115611f2e5760405162461bcd60e51b8152600401610d6990613e01565b600a546000908152601b6020908152604080832033845290915290205460ff161515600114611f6f5760405162461bcd60e51b8152600401610d6990613e5e565b601a54600b6000828254611f8391906146ec565b9091555050600a80546000908152601b6020908152604080832033808552908352818420805460ff191690559354601a548251938401909252928252611fca939291612a21565b6001600555565b611fd96125e9565b6001600160a01b0316611fea611996565b6001600160a01b0316146120105760405162461bcd60e51b8152600401610d6990614339565b600e55565b6007546001600160a01b031633148061203d575033612032611996565b6001600160a01b0316145b6120595760405162461bcd60e51b8152600401610d6990614248565b6110c633838360405180602001604052806000815250612c12565b61207c6125e9565b6001600160a01b031661208d611996565b6001600160a01b0316146120b35760405162461bcd60e51b8152600401610d6990614339565b601255565b60115481565b6120c66125e9565b6001600160a01b03166120d7611996565b6001600160a01b0316146120fd5760405162461bcd60e51b8152600401610d6990614339565b600d55565b600c5481565b606060068054610e7a9061473a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b61214d6125e9565b6001600160a01b0316856001600160a01b03161480612173575061217385610c1f6125e9565b61218f5760405162461bcd60e51b8152600401610d6990613fd2565b6111278585858585612d93565b6121a46125e9565b6001600160a01b03166121b5611996565b6001600160a01b0316146121db5760405162461bcd60e51b8152600401610d6990614339565b6001600160a01b0381166122015760405162461bcd60e51b8152600401610d6990613f18565b610e5f81612b10565b6122126125e9565b6001600160a01b0316836001600160a01b03161480612238575061223883610c1f6125e9565b6122545760405162461bcd60e51b8152600401610d6990613fd2565b6115e0838383612ec7565b600260055414156122825760405162461bcd60e51b8152600401610d69906145d3565b600260055560145460ff166122a95760405162461bcd60e51b8152600401610d69906141b4565b6016548111156122cb5760405162461bcd60e51b8152600401610d6990613da4565b806013546122d99190614704565b3410156122f85760405162461bcd60e51b8152600401610d699061436e565b600a54600090815260156020908152604080832033845290915290205460ff1615156001146123395760405162461bcd60e51b8152600401610d69906143cb565b6018548160175461234a91906146ec565b11156123685760405162461bcd60e51b8152600401610d6990613e01565b600c5481600b5461237991906146ec565b11156123975760405162461bcd60e51b8152600401610d6990613e01565b80601760008282546123a991906146ec565b9250508190555080600b60008282546123c291906146ec565b9091555050600a8054600090815260156020908152604080832033808552908352818420805460ff1916905593548151928301909152918152611b729291908490612a21565b6124106125e9565b6001600160a01b0316612421611996565b6001600160a01b0316146124475760405162461bcd60e51b8152600401610d6990614339565b610e5f33600a548360405180602001604052806000815250612a21565b61246c6125e9565b6001600160a01b031661247d611996565b6001600160a01b0316146124a35760405162461bcd60e51b8152600401610d6990614339565b6014805460ff19811660ff90911615179055565b6124bf6125e9565b6001600160a01b03166124d0611996565b6001600160a01b0316146124f65760405162461bcd60e51b8152600401610d6990614339565b601155565b6125036125e9565b6001600160a01b0316612514611996565b6001600160a01b03161461253a5760405162461bcd60e51b8152600401610d6990614339565b601055565b6125476125e9565b6001600160a01b0316612558611996565b6001600160a01b03161461257e5760405162461bcd60e51b8152600401610d6990614339565b6110c682600a548360405180602001604052806000815250612a21565b60145460ff1681565b6001600160e01b031981167f01ffc9a70000000000000000000000000000000000000000000000000000000014919050565b80516110c6906002906020840190613424565b3390565b815183511461260e5760405162461bcd60e51b8152600401610d6990614519565b6001600160a01b0384166126345760405162461bcd60e51b8152600401610d69906140fa565b600061263e6125e9565b905061264e818787878787612fd6565b60005b845181101561275057600085828151811061267c57634e487b7160e01b600052603260045260246000fd5b6020026020010151905060008583815181106126a857634e487b7160e01b600052603260045260246000fd5b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156126f85760405162461bcd60e51b8152600401610d69906142dc565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906127359084906146ec565b925050819055505050508061274990614775565b9050612651565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516127a0929190613c95565b60405180910390a46127b6818787878787612fe4565b505050505050565b804710156127de5760405162461bcd60e51b8152600401610d69906140c3565b6000826001600160a01b0316826040516127f790610efb565b60006040518083038185875af1925050503d8060008114612834576040519150601f19603f3d011682016040523d82523d6000602084013e612839565b606091505b50509050806115e05760405162461bcd60e51b8152600401610d6990614066565b6001600160a01b0383166128805760405162461bcd60e51b8152600401610d699061427f565b80518251146128a15760405162461bcd60e51b8152600401610d6990614519565b60006128ab6125e9565b90506128cb81856000868660405180602001604052806000815250612fd6565b60005b83518110156129ac5760008482815181106128f957634e487b7160e01b600052603260045260246000fd5b60200260200101519050600084838151811061292557634e487b7160e01b600052603260045260246000fd5b602090810291909101810151600084815280835260408082206001600160a01b038c1683529093529190912054909150818110156129755760405162461bcd60e51b8152600401610d6990613f75565b6000928352602083815260408085206001600160a01b038b16865290915290922091039055806129a481614775565b9150506128ce565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516129fd929190613c95565b60405180910390a450505050565b600082612a1885846130f2565b14949350505050565b6001600160a01b038416612a475760405162461bcd60e51b8152600401610d6990614576565b6000612a516125e9565b9050612a7281600087612a63886131a2565b612a6c886131a2565b87612fd6565b6000848152602081815260408083206001600160a01b038916845290915281208054859290612aa29084906146ec565b92505081905550846001600160a01b031660006001600160a01b0316826001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612af9929190613bbf565b60405180910390a4611127816000878787876131fb565b600480546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415612ba15760405162461bcd60e51b8152600401610d699061445f565b6001600160a01b0383811660008181526001602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190612c05908590613cc3565b60405180910390a3505050565b6001600160a01b038416612c385760405162461bcd60e51b8152600401610d6990614576565b8151835114612c595760405162461bcd60e51b8152600401610d6990614519565b6000612c636125e9565b9050612c7481600087878787612fd6565b60005b8451811015612d2b57838181518110612ca057634e487b7160e01b600052603260045260246000fd5b6020026020010151600080878481518110612ccb57634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b031681526020019081526020016000206000828254612d1391906146ec565b90915550819050612d2381614775565b915050612c77565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612d7c929190613c95565b60405180910390a461112781600087878787612fe4565b6001600160a01b038416612db95760405162461bcd60e51b8152600401610d69906140fa565b6000612dc36125e9565b9050612dd4818787612a63886131a2565b6000848152602081815260408083206001600160a01b038a16845290915290205483811015612e155760405162461bcd60e51b8152600401610d69906142dc565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290612e529084906146ec565b92505081905550856001600160a01b0316876001600160a01b0316836001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612ea8929190613bbf565b60405180910390a4612ebe8288888888886131fb565b50505050505050565b6001600160a01b038316612eed5760405162461bcd60e51b8152600401610d699061427f565b6000612ef76125e9565b9050612f2781856000612f09876131a2565b612f12876131a2565b60405180602001604052806000815250612fd6565b6000838152602081815260408083206001600160a01b038816845290915290205482811015612f685760405162461bcd60e51b8152600401610d6990613f75565b6000848152602081815260408083206001600160a01b03808a16808652919093528184208786039055905190918516907fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6290612fc79089908990613bbf565b60405180910390a45050505050565b6127b68686868686866132cc565b612ff6846001600160a01b031661341e565b156127b65760405163bc197c8160e01b81526001600160a01b0385169063bc197c819061302f9089908990889088908890600401613be1565b602060405180830381600087803b15801561304957600080fd5b505af1925050508015613079575060408051601f3d908101601f1916820190925261307691810190613a4f565b60015b6130c2576130856147c2565b8061309057506130aa565b8060405162461bcd60e51b8152600401610d699190613cd7565b60405162461bcd60e51b8152600401610d6990613cea565b6001600160e01b0319811663bc197c8160e01b14612ebe5760405162461bcd60e51b8152600401610d6990613d47565b600081815b84518110156113a957600085828151811061312257634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311613163578281604051602001613146929190613bbf565b60405160208183030381529060405280519060200120925061318f565b8083604051602001613176929190613bbf565b6040516020818303038152906040528051906020012092505b508061319a81614775565b9150506130f7565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106131ea57634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b61320d846001600160a01b031661341e565b156127b65760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906132469089908990889088908890600401613c3f565b602060405180830381600087803b15801561326057600080fd5b505af1925050508015613290575060408051601f3d908101601f1916820190925261328d91810190613a4f565b60015b61329c576130856147c2565b6001600160e01b0319811663f23a6e6160e01b14612ebe5760405162461bcd60e51b8152600401610d6990613d47565b6132da8686868686866127b6565b6001600160a01b03851661337d5760005b835181101561337b5782818151811061331457634e487b7160e01b600052603260045260246000fd5b60200260200101516003600086848151811061334057634e487b7160e01b600052603260045260246000fd5b60200260200101518152602001908152602001600020600082825461336591906146ec565b90915550613374905081614775565b90506132eb565b505b6001600160a01b0384166127b65760005b8351811015612ebe578281815181106133b757634e487b7160e01b600052603260045260246000fd5b6020026020010151600360008684815181106133e357634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060008282546134089190614723565b90915550613417905081614775565b905061338e565b3b151590565b8280546134309061473a565b90600052602060002090601f0160209004810192826134525760008555613498565b82601f1061346b57805160ff1916838001178555613498565b82800160010185558215613498579182015b8281111561349857825182559160200191906001019061347d565b506134a49291506134a8565b5090565b5b808211156134a457600081556001016134a9565b600067ffffffffffffffff8311156134d7576134d76147a6565b6134ea601f8401601f191660200161469e565b90508281528383830111156134fe57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114610e0d57600080fd5b60008083601f84011261353d578182fd5b50813567ffffffffffffffff811115613554578182fd5b602083019150836020808302850101111561356e57600080fd5b9250929050565b600082601f830112613585578081fd5b8135602061359a613595836146c8565b61469e565b82815281810190858301838502870184018810156135b6578586fd5b855b858110156135db576135c982613515565b845292840192908401906001016135b8565b5090979650505050505050565b600082601f8301126135f8578081fd5b81356020613608613595836146c8565b8281528181019085830183850287018401881015613624578586fd5b855b858110156135db57813584529284019290840190600101613626565b600082601f830112613652578081fd5b613661838335602085016134bd565b9392505050565b600060208284031215613679578081fd5b61366182613515565b60008060408385031215613694578081fd5b61369d83613515565b91506136ab60208401613515565b90509250929050565b600080600080600060a086880312156136cb578081fd5b6136d486613515565b94506136e260208701613515565b9350604086013567ffffffffffffffff808211156136fe578283fd5b61370a89838a016135e8565b9450606088013591508082111561371f578283fd5b61372b89838a016135e8565b93506080880135915080821115613740578283fd5b5061374d88828901613642565b9150509295509295909350565b600080600080600060a08688031215613771578081fd5b61377a86613515565b945061378860208701613515565b93506040860135925060608601359150608086013567ffffffffffffffff8111156137b1578182fd5b61374d88828901613642565b6000806000606084860312156137d1578283fd5b6137da84613515565b9250602084013567ffffffffffffffff808211156137f6578384fd5b613802878388016135e8565b93506040860135915080821115613817578283fd5b50613824868287016135e8565b9150509250925092565b60008060408385031215613840578182fd5b61384983613515565b91506020830135801515811461385d578182fd5b809150509250929050565b6000806040838503121561387a578182fd5b61388383613515565b946020939093013593505050565b6000806000606084860312156138a5578081fd5b6138ae84613515565b95602085013595506040909401359392505050565b600080600080606085870312156138d8578182fd5b843567ffffffffffffffff8111156138ee578283fd5b6138fa8782880161352c565b90989097506020870135966040013595509350505050565b600060208284031215613923578081fd5b813567ffffffffffffffff811115613939578182fd5b611cd884828501613575565b60008060408385031215613957578182fd5b823567ffffffffffffffff8082111561396e578384fd5b61397a86838701613575565b9350602085013591508082111561398f578283fd5b5061399c858286016135e8565b9150509250929050565b600080602083850312156139b8578182fd5b823567ffffffffffffffff8111156139ce578283fd5b6139da8582860161352c565b90969095509350505050565b600080604083850312156139f8578182fd5b823567ffffffffffffffff80821115613a0f578384fd5b61397a868387016135e8565b600060208284031215613a2c578081fd5b5035919050565b600060208284031215613a44578081fd5b813561366181614867565b600060208284031215613a60578081fd5b815161366181614867565b600060208284031215613a7c578081fd5b813567ffffffffffffffff811115613a92578182fd5b8201601f81018413613aa2578182fd5b611cd8848235602084016134bd565b60008060408385031215613ac3578182fd5b823591506136ab60208401613515565b600080600060408486031215613ae7578081fd5b83359250602084013567ffffffffffffffff811115613b04578182fd5b613b108682870161352c565b9497909650939450505050565b6000815180845260208085019450808401835b83811015613b4c57815187529582019590820190600101613b30565b509495945050505050565b60008151808452815b81811015613b7c57602081850181015186830182015201613b60565b81811115613b8d5782602083870101525b50601f01601f19169290920160200192915050565b60609190911b6bffffffffffffffffffffffff1916815260140190565b918252602082015260400190565b6001600160a01b0391909116815260200190565b60006001600160a01b03808816835280871660208401525060a06040830152613c0d60a0830186613b1d565b8281036060840152613c1f8186613b1d565b90508281036080840152613c338185613b57565b98975050505050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a06080830152613c7760a0830184613b57565b979650505050505050565b6000602082526136616020830184613b1d565b600060408252613ca86040830185613b1d565b8281036020840152613cba8185613b1d565b95945050505050565b901515815260200190565b90815260200190565b6000602082526136616020830184613b57565b60208082526034908201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560408201527f526563656976657220696d706c656d656e746572000000000000000000000000606082015260800190565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a6563746560408201527f6420746f6b656e73000000000000000000000000000000000000000000000000606082015260800190565b60208082526028908201527f596f752077656e74206f766572206d617820746f6b656e73207065722074726160408201527f6e73616374696f6e000000000000000000000000000000000000000000000000606082015260800190565b60208082526028908201527f4e6f7420656e6f75676820746f6b656e73206c65667420746f206d696e74207460408201527f686174206d616e79000000000000000000000000000000000000000000000000606082015260800190565b6020808252603a908201527f596f7520617265206e6f74206f6e2074686520667265652077616c6c6574206c60408201527f697374206f72206861766520616c7265616479206d696e746564000000000000606082015260800190565b6020808252602b908201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60408201527f65726f2061646472657373000000000000000000000000000000000000000000606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60408201527f616e636500000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201527f20617070726f7665640000000000000000000000000000000000000000000000606082015260800190565b60208082526017908201527f46726565206d696e74206973206e6f7420616374697665000000000000000000604082015260600190565b6020808252603a908201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260408201527f6563697069656e74206d61792068617665207265766572746564000000000000606082015260800190565b6020808252601d908201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604082015260600190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526032908201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060408201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000606082015260800190565b6020808252601a908201527f50726573616c65206d696e74206973206e6f7420616374697665000000000000604082015260600190565b60208082526034908201527f4e6f7420656e6f756768205075626c6963204d696e7420746f6b656e73206c6560408201527f667420746f206d696e742074686174206d616e79000000000000000000000000606082015260800190565b6020808252601d908201527f596f75206d757374206861766520746865204d696e74657220726f6c65000000604082015260600190565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201527f6573730000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201527f72207472616e7366657200000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526024908201527f596f752073656e742074686520696e636f727265637420616d6f756e74206f6660408201527f2045544800000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252603d908201527f596f7520617265206e6f74206f6e207468652070726573616c652077616c6c6560408201527f74206c697374206f72206861766520616c7265616479206d696e746564000000606082015260800190565b6020808252600d908201527f496e76616c69642050726f6f6600000000000000000000000000000000000000604082015260600190565b60208082526029908201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360408201527f20666f722073656c660000000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860408201527f206d69736d617463680000000000000000000000000000000000000000000000606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060408201527f6d69736d61746368000000000000000000000000000000000000000000000000606082015260800190565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360408201527f7300000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252602e908201527f4e6f7420656e6f75676820546f74616c20746f6b656e73206c65667420746f2060408201527f6d696e742074686174206d616e79000000000000000000000000000000000000606082015260800190565b60208082526019908201527f5075626c6963206d696e74206973206e6f742061637469766500000000000000604082015260600190565b60405181810167ffffffffffffffff811182821017156146c0576146c06147a6565b604052919050565b600067ffffffffffffffff8211156146e2576146e26147a6565b5060209081020190565b600082198211156146ff576146ff614790565b500190565b600081600019048311821515161561471e5761471e614790565b500290565b60008282101561473557614735614790565b500390565b60028104600182168061474e57607f821691505b6020821081141561476f57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561478957614789614790565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60e01c90565b600060443d10156147d257610efb565b600481823e6308c379a06147e682516147bc565b146147f057610efb565b6040513d600319016004823e80513d67ffffffffffffffff81602484011181841117156148205750505050610efb565b8284019250825191508082111561483a5750505050610efb565b503d8301602082840101111561485257505050610efb565b601f01601f1916810160200160405291505090565b6001600160e01b031981168114610e5f57600080fdfea264697066735822122076ed69f9a2a154f754ba046158a18191b0d8d56f95c26271591af4fef7b1240964736f6c63430008000033
Deployed Bytecode
0x6080604052600436106104eb5760003560e01c80638da5cb5b11610294578063cca979111161015e578063f242432a116100d6578063f931a4c21161008a578063fa5d78821161006f578063fa5d788214610cec578063fcb6c26314610d0c578063ff5a70c614610d2c576104eb565b8063f931a4c214610cb7578063f934688114610ccc576104eb565b8063f5298aca116100bb578063f5298aca14610c64578063f759867a14610c84578063f906751b14610c97576104eb565b8063f242432a14610c24578063f2fde38b14610c44576104eb565b8063d9a02e691161012d578063e831574211610112578063e831574214610bda578063e8a3d48514610bef578063e985e9c514610c04576104eb565b8063d9a02e6914610ba5578063e268e4d314610bba576104eb565b8063cca9791114610b30578063cd2c705214610b45578063d351cfdc14610b65578063d70c3dba14610b85576104eb565b8063a40d317b1161020c578063ba30360a116101c0578063bd85b039116101a5578063bd85b03914610adb578063c121d6f014610afb578063c7b6945914610b1b576104eb565b8063ba30360a14610a9b578063bce3375114610abb576104eb565b8063b8de970a116101f1578063b8de970a14610a51578063b92bc37514610a66578063b9dc644a14610a7b576104eb565b8063a40d317b14610a11578063a496dedf14610a31576104eb565b80639be51bea11610263578063a1e33d0211610248578063a1e33d02146109b1578063a22cb465146109d1578063a3106b95146109f1576104eb565b80639be51bea14610989578063a0712d681461099e576104eb565b80638da5cb5b1461092a5780638f4167da1461093f578063938e3d7b1461095457806395d89b4114610974576104eb565b8063453c2310116103d557806364d9ffd21161034d5780637521134c116103015780637de69d5f116102e65780637de69d5f146108e0578063894a8cac146108f55780638b13fde81461090a576104eb565b80637521134c146108a05780637cb64759146108c0576104eb565b80636de56d0e116103325780636de56d0e146108635780636e20d96814610878578063715018a61461088b576104eb565b806364d9ffd2146108235780636b20c45414610843576104eb565b80634f558e79116103a45780635071d017116103895780635071d017146107d957806359aefc59146107ee5780635d04aeab14610803576104eb565b80634f558e79146107995780634f699a43146107b9576104eb565b8063453c2310146107225780634576cdd51461073757806346ca1ab81461074c5780634e1273f41461076c576104eb565b8063259dbed011610468578063311df29a1161043757806335a4faf41161041c57806335a4faf4146106cd5780633ccfd60b146106ed57806343b43a5414610702576104eb565b8063311df29a1461068b57806334d722c9146106ab576104eb565b8063259dbed0146106165780632611f466146106365780632b038411146106565780632eb2c2d61461066b576104eb565b806306fdde03116104bf57806311e776fe116104a457806311e776fe146105cc5780631df09e47146105ec57806322212e2b14610601576104eb565b806306fdde031461058a5780630e89341c146105ac576104eb565b8062fdd58e146104f057806301ffc9a71461052657806302fe53051461055357806305461a6a14610575575b600080fd5b3480156104fc57600080fd5b5061051061050b366004613868565b610d41565b60405161051d9190613cce565b60405180910390f35b34801561053257600080fd5b50610546610541366004613a33565b610d98565b60405161051d9190613cc3565b34801561055f57600080fd5b5061057361056e366004613a6b565b610e12565b005b34801561058157600080fd5b50610546610e62565b34801561059657600080fd5b5061059f610e6b565b60405161051d9190613cd7565b3480156105b857600080fd5b5061059f6105c7366004613a1b565b610efe565b3480156105d857600080fd5b506105736105e7366004613a1b565b610f92565b3480156105f857600080fd5b50610510610fd6565b34801561060d57600080fd5b50610510610fdc565b34801561062257600080fd5b50610546610631366004613ab1565b610fe2565b34801561064257600080fd5b50610573610651366004613912565b611002565b34801561066257600080fd5b506105106110ca565b34801561067757600080fd5b506105736106863660046136b4565b6110d0565b34801561069757600080fd5b506105736106a6366004613a1b565b61112e565b3480156106b757600080fd5b506106c0611172565b60405161051d9190613bcd565b3480156106d957600080fd5b506105736106e8366004613a1b565b611181565b3480156106f957600080fd5b506105736111c5565b34801561070e57600080fd5b5061054661071d366004613ab1565b611216565b34801561072e57600080fd5b50610510611241565b34801561074357600080fd5b50610510611247565b34801561075857600080fd5b50610573610767366004613a1b565b61124d565b34801561077857600080fd5b5061078c610787366004613945565b611291565b60405161051d9190613c82565b3480156107a557600080fd5b506105466107b4366004613a1b565b6113b1565b3480156107c557600080fd5b506105736107d4366004613912565b6113c4565b3480156107e557600080fd5b5061051061148c565b3480156107fa57600080fd5b50610510611492565b34801561080f57600080fd5b5061057361081e366004613912565b611498565b34801561082f57600080fd5b5061054661083e366004613ab1565b611560565b34801561084f57600080fd5b5061057361085e3660046137bd565b61158b565b34801561086f57600080fd5b506105106115e5565b610573610886366004613ad3565b6115eb565b34801561089757600080fd5b50610573611826565b3480156108ac57600080fd5b506105736108bb366004613a1b565b611871565b3480156108cc57600080fd5b506105736108db366004613a1b565b6118b5565b3480156108ec57600080fd5b506105106118f9565b34801561090157600080fd5b506105736118ff565b34801561091657600080fd5b50610573610925366004613a1b565b611952565b34801561093657600080fd5b506106c0611996565b34801561094b57600080fd5b506105106119a5565b34801561096057600080fd5b5061057361096f366004613a6b565b6119ab565b34801561098057600080fd5b5061059f6119fd565b34801561099557600080fd5b50610510611a0c565b6105736109ac366004613a1b565b611a12565b3480156109bd57600080fd5b506105736109cc366004613a1b565b611b7a565b3480156109dd57600080fd5b506105736109ec36600461382e565b611beb565b3480156109fd57600080fd5b50610573610a0c366004613668565b611bfd565b348015610a1d57600080fd5b50610546610a2c3660046139a6565b611c6b565b348015610a3d57600080fd5b50610573610a4c3660046138c3565b611ce0565b348015610a5d57600080fd5b50610510611d90565b348015610a7257600080fd5b50610573611d96565b348015610a8757600080fd5b50610546610a96366004613ab1565b611de9565b348015610aa757600080fd5b50610546610ab6366004613ab1565b611e09565b348015610ac757600080fd5b50610546610ad6366004613ab1565b611e34565b348015610ae757600080fd5b50610510610af6366004613a1b565b611e54565b348015610b0757600080fd5b50610573610b16366004613a1b565b611e66565b348015610b2757600080fd5b50610546611eaa565b348015610b3c57600080fd5b50610573611eb3565b348015610b5157600080fd5b50610573610b60366004613a1b565b611fd1565b348015610b7157600080fd5b50610573610b803660046139e6565b612015565b348015610b9157600080fd5b50610573610ba0366004613a1b565b612074565b348015610bb157600080fd5b506105106120b8565b348015610bc657600080fd5b50610573610bd5366004613a1b565b6120be565b348015610be657600080fd5b50610510612102565b348015610bfb57600080fd5b5061059f612108565b348015610c1057600080fd5b50610546610c1f366004613682565b612117565b348015610c3057600080fd5b50610573610c3f36600461375a565b612145565b348015610c5057600080fd5b50610573610c5f366004613668565b61219c565b348015610c7057600080fd5b50610573610c7f366004613891565b61220a565b610573610c92366004613a1b565b61225f565b348015610ca357600080fd5b50610573610cb2366004613a1b565b612408565b348015610cc357600080fd5b50610573612464565b348015610cd857600080fd5b50610573610ce7366004613a1b565b6124b7565b348015610cf857600080fd5b50610573610d07366004613a1b565b6124fb565b348015610d1857600080fd5b50610573610d27366004613868565b61253f565b348015610d3857600080fd5b5061054661259b565b60006001600160a01b038316610d725760405162461bcd60e51b8152600401610d6990613ebb565b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b031982167fd9b67a26000000000000000000000000000000000000000000000000000000001480610dfb57506001600160e01b031982167f0e89341c00000000000000000000000000000000000000000000000000000000145b80610e0a5750610e0a826125a4565b90505b919050565b6007546001600160a01b0316331480610e3a575033610e2f611996565b6001600160a01b0316145b610e565760405162461bcd60e51b8152600401610d6990614248565b610e5f816125d6565b50565b60195460ff1681565b606060088054610e7a9061473a565b80601f0160208091040260200160405190810160405280929190818152602001828054610ea69061473a565b8015610ef35780601f10610ec857610100808354040283529160200191610ef3565b820191906000526020600020905b815481529060010190602001808311610ed657829003601f168201915b505050505090505b90565b606060028054610f0d9061473a565b80601f0160208091040260200160405190810160405280929190818152602001828054610f399061473a565b8015610f865780601f10610f5b57610100808354040283529160200191610f86565b820191906000526020600020905b815481529060010190602001808311610f6957829003601f168201915b50505050509050919050565b610f9a6125e9565b6001600160a01b0316610fab611996565b6001600160a01b031614610fd15760405162461bcd60e51b8152600401610d6990614339565b600c55565b60105481565b601d5481565b601b60209081526000928352604080842090915290825290205460ff1681565b61100a6125e9565b6001600160a01b031661101b611996565b6001600160a01b0316146110415760405162461bcd60e51b8152600401610d6990614339565b60005b81518110156110c657600a546000908152601c602052604081208351829085908590811061108257634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806110be81614775565b915050611044565b5050565b60135481565b6110d86125e9565b6001600160a01b0316856001600160a01b031614806110fe57506110fe85610c1f6125e9565b61111a5760405162461bcd60e51b8152600401610d6990614157565b61112785858585856125ed565b5050505050565b6111366125e9565b6001600160a01b0316611147611996565b6001600160a01b03161461116d5760405162461bcd60e51b8152600401610d6990614339565b601355565b6007546001600160a01b031681565b6111896125e9565b6001600160a01b031661119a611996565b6001600160a01b0316146111c05760405162461bcd60e51b8152600401610d6990614339565b601655565b6111cd6125e9565b6001600160a01b03166111de611996565b6001600160a01b0316146112045760405162461bcd60e51b8152600401610d6990614339565b47610e5f611210611996565b826127be565b6000918252601c602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600d5481565b600a5481565b6112556125e9565b6001600160a01b0316611266611996565b6001600160a01b03161461128c5760405162461bcd60e51b8152600401610d6990614339565b601855565b606081518351146112b45760405162461bcd60e51b8152600401610d69906144bc565b6000835167ffffffffffffffff8111156112de57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611307578160200160208202803683370190505b50905060005b84518110156113a95761136e85828151811061133957634e487b7160e01b600052603260045260246000fd5b602002602001015185838151811061136157634e487b7160e01b600052603260045260246000fd5b6020026020010151610d41565b82828151811061138e57634e487b7160e01b600052603260045260246000fd5b60209081029190910101526113a281614775565b905061130d565b509392505050565b6000806113bd83611e54565b1192915050565b6113cc6125e9565b6001600160a01b03166113dd611996565b6001600160a01b0316146114035760405162461bcd60e51b8152600401610d6990614339565b60005b81518110156110c657600160156000600a548152602001908152602001600020600084848151811061144857634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061148481614775565b915050611406565b601a5481565b60125481565b6114a06125e9565b6001600160a01b03166114b1611996565b6001600160a01b0316146114d75760405162461bcd60e51b8152600401610d6990614339565b60005b81518110156110c6576001601b6000600a548152602001908152602001600020600084848151811061151c57634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061155881614775565b9150506114da565b6000918252601b602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6115936125e9565b6001600160a01b0316836001600160a01b031614806115b957506115b983610c1f6125e9565b6115d55760405162461bcd60e51b8152600401610d6990613fd2565b6115e083838361285a565b505050565b600b5481565b6002600554141561160e5760405162461bcd60e51b8152600401610d69906145d3565b600260055560145460ff166116355760405162461bcd60e51b8152600401610d69906141b4565b6016548311156116575760405162461bcd60e51b8152600401610d6990613da4565b826013546116659190614704565b3410156116845760405162461bcd60e51b8152600401610d699061436e565b600a546000908152601c6020908152604080832033845290915290205460ff16156116c15760405162461bcd60e51b8152600401610d69906143cb565b601854836017546116d291906146ec565b11156116f05760405162461bcd60e51b8152600401610d6990613e01565b600c5483600b5461170191906146ec565b111561171f5760405162461bcd60e51b8152600401610d6990613e01565b6000336040516020016117329190613ba2565b60405160208183030381529060405280519060200120905061178b83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601d549150849050612a0b565b6117a75760405162461bcd60e51b8152600401610d6990614428565b83601760008282546117b991906146ec565b9250508190555083600b60008282546117d291906146ec565b9091555050600a80546000908152601c6020908152604080832033808552908352818420805460ff191660011790559354815192830190915291815261181b9291908790612a21565b505060016005555050565b61182e6125e9565b6001600160a01b031661183f611996565b6001600160a01b0316146118655760405162461bcd60e51b8152600401610d6990614339565b61186f6000612b10565b565b6118796125e9565b6001600160a01b031661188a611996565b6001600160a01b0316146118b05760405162461bcd60e51b8152600401610d6990614339565b601755565b6118bd6125e9565b6001600160a01b03166118ce611996565b6001600160a01b0316146118f45760405162461bcd60e51b8152600401610d6990614339565b601d55565b600e5481565b6119076125e9565b6001600160a01b0316611918611996565b6001600160a01b03161461193e5760405162461bcd60e51b8152600401610d6990614339565b6019805460ff19811660ff90911615179055565b61195a6125e9565b6001600160a01b031661196b611996565b6001600160a01b0316146119915760405162461bcd60e51b8152600401610d6990614339565b600a55565b6004546001600160a01b031690565b60175481565b6119b36125e9565b6001600160a01b03166119c4611996565b6001600160a01b0316146119ea5760405162461bcd60e51b8152600401610d6990614339565b80516110c6906006906020840190613424565b606060098054610e7a9061473a565b60165481565b60026005541415611a355760405162461bcd60e51b8152600401610d69906145d3565b6002600555600f5460ff16611a5c5760405162461bcd60e51b8152600401610d6990614667565b600d54611a6b33600a54610d41565b1115611a7657600080fd5b601054811115611a985760405162461bcd60e51b8152600401610d6990613da4565b80600e54611aa69190614704565b341015611ac55760405162461bcd60e51b8152600401610d699061436e565b60125481601154611ad691906146ec565b1115611af45760405162461bcd60e51b8152600401610d69906141eb565b600c5481600b54611b0591906146ec565b1115611b235760405162461bcd60e51b8152600401610d699061460a565b8060116000828254611b3591906146ec565b9250508190555080600b6000828254611b4e91906146ec565b92505081905550611b7233600a548360405180602001604052806000815250612a21565b506001600555565b611b826125e9565b6001600160a01b0316611b93611996565b6001600160a01b031614611bb95760405162461bcd60e51b8152600401610d6990614339565b600a55600f805460ff1990811690915560148054821690556019805490911690556000600b8190556017819055601155565b6110c6611bf66125e9565b8383612b6f565b611c056125e9565b6001600160a01b0316611c16611996565b6001600160a01b031614611c3c5760405162461bcd60e51b8152600401610d6990614339565b6007805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60008033604051602001611c7f9190613ba2565b604051602081830303815290604052805190602001209050611cd884848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601d549150849050612a0b565b949350505050565b6007546001600160a01b0316331480611d08575033611cfd611996565b6001600160a01b0316145b611d245760405162461bcd60e51b8152600401610d6990614248565b60005b8381101561112757611d7e858583818110611d5257634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611d679190613668565b848460405180602001604052806000815250612a21565b80611d8881614775565b915050611d27565b60185481565b611d9e6125e9565b6001600160a01b0316611daf611996565b6001600160a01b031614611dd55760405162461bcd60e51b8152600401610d6990614339565b600f805460ff19811660ff90911615179055565b601c60209081526000928352604080842090915290825290205460ff1681565b60009182526015602090815260408084206001600160a01b0393909316845291905290205460ff1690565b601560209081526000928352604080842090915290825290205460ff1681565b60009081526003602052604090205490565b611e6e6125e9565b6001600160a01b0316611e7f611996565b6001600160a01b031614611ea55760405162461bcd60e51b8152600401610d6990614339565b600b55565b600f5460ff1681565b60026005541415611ed65760405162461bcd60e51b8152600401610d69906145d3565b600260055560195460ff16611efd5760405162461bcd60e51b8152600401610d699061402f565b600c54601a54600b54611f1091906146ec565b1115611f2e5760405162461bcd60e51b8152600401610d6990613e01565b600a546000908152601b6020908152604080832033845290915290205460ff161515600114611f6f5760405162461bcd60e51b8152600401610d6990613e5e565b601a54600b6000828254611f8391906146ec565b9091555050600a80546000908152601b6020908152604080832033808552908352818420805460ff191690559354601a548251938401909252928252611fca939291612a21565b6001600555565b611fd96125e9565b6001600160a01b0316611fea611996565b6001600160a01b0316146120105760405162461bcd60e51b8152600401610d6990614339565b600e55565b6007546001600160a01b031633148061203d575033612032611996565b6001600160a01b0316145b6120595760405162461bcd60e51b8152600401610d6990614248565b6110c633838360405180602001604052806000815250612c12565b61207c6125e9565b6001600160a01b031661208d611996565b6001600160a01b0316146120b35760405162461bcd60e51b8152600401610d6990614339565b601255565b60115481565b6120c66125e9565b6001600160a01b03166120d7611996565b6001600160a01b0316146120fd5760405162461bcd60e51b8152600401610d6990614339565b600d55565b600c5481565b606060068054610e7a9061473a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b61214d6125e9565b6001600160a01b0316856001600160a01b03161480612173575061217385610c1f6125e9565b61218f5760405162461bcd60e51b8152600401610d6990613fd2565b6111278585858585612d93565b6121a46125e9565b6001600160a01b03166121b5611996565b6001600160a01b0316146121db5760405162461bcd60e51b8152600401610d6990614339565b6001600160a01b0381166122015760405162461bcd60e51b8152600401610d6990613f18565b610e5f81612b10565b6122126125e9565b6001600160a01b0316836001600160a01b03161480612238575061223883610c1f6125e9565b6122545760405162461bcd60e51b8152600401610d6990613fd2565b6115e0838383612ec7565b600260055414156122825760405162461bcd60e51b8152600401610d69906145d3565b600260055560145460ff166122a95760405162461bcd60e51b8152600401610d69906141b4565b6016548111156122cb5760405162461bcd60e51b8152600401610d6990613da4565b806013546122d99190614704565b3410156122f85760405162461bcd60e51b8152600401610d699061436e565b600a54600090815260156020908152604080832033845290915290205460ff1615156001146123395760405162461bcd60e51b8152600401610d69906143cb565b6018548160175461234a91906146ec565b11156123685760405162461bcd60e51b8152600401610d6990613e01565b600c5481600b5461237991906146ec565b11156123975760405162461bcd60e51b8152600401610d6990613e01565b80601760008282546123a991906146ec565b9250508190555080600b60008282546123c291906146ec565b9091555050600a8054600090815260156020908152604080832033808552908352818420805460ff1916905593548151928301909152918152611b729291908490612a21565b6124106125e9565b6001600160a01b0316612421611996565b6001600160a01b0316146124475760405162461bcd60e51b8152600401610d6990614339565b610e5f33600a548360405180602001604052806000815250612a21565b61246c6125e9565b6001600160a01b031661247d611996565b6001600160a01b0316146124a35760405162461bcd60e51b8152600401610d6990614339565b6014805460ff19811660ff90911615179055565b6124bf6125e9565b6001600160a01b03166124d0611996565b6001600160a01b0316146124f65760405162461bcd60e51b8152600401610d6990614339565b601155565b6125036125e9565b6001600160a01b0316612514611996565b6001600160a01b03161461253a5760405162461bcd60e51b8152600401610d6990614339565b601055565b6125476125e9565b6001600160a01b0316612558611996565b6001600160a01b03161461257e5760405162461bcd60e51b8152600401610d6990614339565b6110c682600a548360405180602001604052806000815250612a21565b60145460ff1681565b6001600160e01b031981167f01ffc9a70000000000000000000000000000000000000000000000000000000014919050565b80516110c6906002906020840190613424565b3390565b815183511461260e5760405162461bcd60e51b8152600401610d6990614519565b6001600160a01b0384166126345760405162461bcd60e51b8152600401610d69906140fa565b600061263e6125e9565b905061264e818787878787612fd6565b60005b845181101561275057600085828151811061267c57634e487b7160e01b600052603260045260246000fd5b6020026020010151905060008583815181106126a857634e487b7160e01b600052603260045260246000fd5b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156126f85760405162461bcd60e51b8152600401610d69906142dc565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906127359084906146ec565b925050819055505050508061274990614775565b9050612651565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516127a0929190613c95565b60405180910390a46127b6818787878787612fe4565b505050505050565b804710156127de5760405162461bcd60e51b8152600401610d69906140c3565b6000826001600160a01b0316826040516127f790610efb565b60006040518083038185875af1925050503d8060008114612834576040519150601f19603f3d011682016040523d82523d6000602084013e612839565b606091505b50509050806115e05760405162461bcd60e51b8152600401610d6990614066565b6001600160a01b0383166128805760405162461bcd60e51b8152600401610d699061427f565b80518251146128a15760405162461bcd60e51b8152600401610d6990614519565b60006128ab6125e9565b90506128cb81856000868660405180602001604052806000815250612fd6565b60005b83518110156129ac5760008482815181106128f957634e487b7160e01b600052603260045260246000fd5b60200260200101519050600084838151811061292557634e487b7160e01b600052603260045260246000fd5b602090810291909101810151600084815280835260408082206001600160a01b038c1683529093529190912054909150818110156129755760405162461bcd60e51b8152600401610d6990613f75565b6000928352602083815260408085206001600160a01b038b16865290915290922091039055806129a481614775565b9150506128ce565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516129fd929190613c95565b60405180910390a450505050565b600082612a1885846130f2565b14949350505050565b6001600160a01b038416612a475760405162461bcd60e51b8152600401610d6990614576565b6000612a516125e9565b9050612a7281600087612a63886131a2565b612a6c886131a2565b87612fd6565b6000848152602081815260408083206001600160a01b038916845290915281208054859290612aa29084906146ec565b92505081905550846001600160a01b031660006001600160a01b0316826001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612af9929190613bbf565b60405180910390a4611127816000878787876131fb565b600480546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415612ba15760405162461bcd60e51b8152600401610d699061445f565b6001600160a01b0383811660008181526001602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190612c05908590613cc3565b60405180910390a3505050565b6001600160a01b038416612c385760405162461bcd60e51b8152600401610d6990614576565b8151835114612c595760405162461bcd60e51b8152600401610d6990614519565b6000612c636125e9565b9050612c7481600087878787612fd6565b60005b8451811015612d2b57838181518110612ca057634e487b7160e01b600052603260045260246000fd5b6020026020010151600080878481518110612ccb57634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b031681526020019081526020016000206000828254612d1391906146ec565b90915550819050612d2381614775565b915050612c77565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612d7c929190613c95565b60405180910390a461112781600087878787612fe4565b6001600160a01b038416612db95760405162461bcd60e51b8152600401610d69906140fa565b6000612dc36125e9565b9050612dd4818787612a63886131a2565b6000848152602081815260408083206001600160a01b038a16845290915290205483811015612e155760405162461bcd60e51b8152600401610d69906142dc565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290612e529084906146ec565b92505081905550856001600160a01b0316876001600160a01b0316836001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612ea8929190613bbf565b60405180910390a4612ebe8288888888886131fb565b50505050505050565b6001600160a01b038316612eed5760405162461bcd60e51b8152600401610d699061427f565b6000612ef76125e9565b9050612f2781856000612f09876131a2565b612f12876131a2565b60405180602001604052806000815250612fd6565b6000838152602081815260408083206001600160a01b038816845290915290205482811015612f685760405162461bcd60e51b8152600401610d6990613f75565b6000848152602081815260408083206001600160a01b03808a16808652919093528184208786039055905190918516907fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6290612fc79089908990613bbf565b60405180910390a45050505050565b6127b68686868686866132cc565b612ff6846001600160a01b031661341e565b156127b65760405163bc197c8160e01b81526001600160a01b0385169063bc197c819061302f9089908990889088908890600401613be1565b602060405180830381600087803b15801561304957600080fd5b505af1925050508015613079575060408051601f3d908101601f1916820190925261307691810190613a4f565b60015b6130c2576130856147c2565b8061309057506130aa565b8060405162461bcd60e51b8152600401610d699190613cd7565b60405162461bcd60e51b8152600401610d6990613cea565b6001600160e01b0319811663bc197c8160e01b14612ebe5760405162461bcd60e51b8152600401610d6990613d47565b600081815b84518110156113a957600085828151811061312257634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311613163578281604051602001613146929190613bbf565b60405160208183030381529060405280519060200120925061318f565b8083604051602001613176929190613bbf565b6040516020818303038152906040528051906020012092505b508061319a81614775565b9150506130f7565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106131ea57634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b61320d846001600160a01b031661341e565b156127b65760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906132469089908990889088908890600401613c3f565b602060405180830381600087803b15801561326057600080fd5b505af1925050508015613290575060408051601f3d908101601f1916820190925261328d91810190613a4f565b60015b61329c576130856147c2565b6001600160e01b0319811663f23a6e6160e01b14612ebe5760405162461bcd60e51b8152600401610d6990613d47565b6132da8686868686866127b6565b6001600160a01b03851661337d5760005b835181101561337b5782818151811061331457634e487b7160e01b600052603260045260246000fd5b60200260200101516003600086848151811061334057634e487b7160e01b600052603260045260246000fd5b60200260200101518152602001908152602001600020600082825461336591906146ec565b90915550613374905081614775565b90506132eb565b505b6001600160a01b0384166127b65760005b8351811015612ebe578281815181106133b757634e487b7160e01b600052603260045260246000fd5b6020026020010151600360008684815181106133e357634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060008282546134089190614723565b90915550613417905081614775565b905061338e565b3b151590565b8280546134309061473a565b90600052602060002090601f0160209004810192826134525760008555613498565b82601f1061346b57805160ff1916838001178555613498565b82800160010185558215613498579182015b8281111561349857825182559160200191906001019061347d565b506134a49291506134a8565b5090565b5b808211156134a457600081556001016134a9565b600067ffffffffffffffff8311156134d7576134d76147a6565b6134ea601f8401601f191660200161469e565b90508281528383830111156134fe57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114610e0d57600080fd5b60008083601f84011261353d578182fd5b50813567ffffffffffffffff811115613554578182fd5b602083019150836020808302850101111561356e57600080fd5b9250929050565b600082601f830112613585578081fd5b8135602061359a613595836146c8565b61469e565b82815281810190858301838502870184018810156135b6578586fd5b855b858110156135db576135c982613515565b845292840192908401906001016135b8565b5090979650505050505050565b600082601f8301126135f8578081fd5b81356020613608613595836146c8565b8281528181019085830183850287018401881015613624578586fd5b855b858110156135db57813584529284019290840190600101613626565b600082601f830112613652578081fd5b613661838335602085016134bd565b9392505050565b600060208284031215613679578081fd5b61366182613515565b60008060408385031215613694578081fd5b61369d83613515565b91506136ab60208401613515565b90509250929050565b600080600080600060a086880312156136cb578081fd5b6136d486613515565b94506136e260208701613515565b9350604086013567ffffffffffffffff808211156136fe578283fd5b61370a89838a016135e8565b9450606088013591508082111561371f578283fd5b61372b89838a016135e8565b93506080880135915080821115613740578283fd5b5061374d88828901613642565b9150509295509295909350565b600080600080600060a08688031215613771578081fd5b61377a86613515565b945061378860208701613515565b93506040860135925060608601359150608086013567ffffffffffffffff8111156137b1578182fd5b61374d88828901613642565b6000806000606084860312156137d1578283fd5b6137da84613515565b9250602084013567ffffffffffffffff808211156137f6578384fd5b613802878388016135e8565b93506040860135915080821115613817578283fd5b50613824868287016135e8565b9150509250925092565b60008060408385031215613840578182fd5b61384983613515565b91506020830135801515811461385d578182fd5b809150509250929050565b6000806040838503121561387a578182fd5b61388383613515565b946020939093013593505050565b6000806000606084860312156138a5578081fd5b6138ae84613515565b95602085013595506040909401359392505050565b600080600080606085870312156138d8578182fd5b843567ffffffffffffffff8111156138ee578283fd5b6138fa8782880161352c565b90989097506020870135966040013595509350505050565b600060208284031215613923578081fd5b813567ffffffffffffffff811115613939578182fd5b611cd884828501613575565b60008060408385031215613957578182fd5b823567ffffffffffffffff8082111561396e578384fd5b61397a86838701613575565b9350602085013591508082111561398f578283fd5b5061399c858286016135e8565b9150509250929050565b600080602083850312156139b8578182fd5b823567ffffffffffffffff8111156139ce578283fd5b6139da8582860161352c565b90969095509350505050565b600080604083850312156139f8578182fd5b823567ffffffffffffffff80821115613a0f578384fd5b61397a868387016135e8565b600060208284031215613a2c578081fd5b5035919050565b600060208284031215613a44578081fd5b813561366181614867565b600060208284031215613a60578081fd5b815161366181614867565b600060208284031215613a7c578081fd5b813567ffffffffffffffff811115613a92578182fd5b8201601f81018413613aa2578182fd5b611cd8848235602084016134bd565b60008060408385031215613ac3578182fd5b823591506136ab60208401613515565b600080600060408486031215613ae7578081fd5b83359250602084013567ffffffffffffffff811115613b04578182fd5b613b108682870161352c565b9497909650939450505050565b6000815180845260208085019450808401835b83811015613b4c57815187529582019590820190600101613b30565b509495945050505050565b60008151808452815b81811015613b7c57602081850181015186830182015201613b60565b81811115613b8d5782602083870101525b50601f01601f19169290920160200192915050565b60609190911b6bffffffffffffffffffffffff1916815260140190565b918252602082015260400190565b6001600160a01b0391909116815260200190565b60006001600160a01b03808816835280871660208401525060a06040830152613c0d60a0830186613b1d565b8281036060840152613c1f8186613b1d565b90508281036080840152613c338185613b57565b98975050505050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a06080830152613c7760a0830184613b57565b979650505050505050565b6000602082526136616020830184613b1d565b600060408252613ca86040830185613b1d565b8281036020840152613cba8185613b1d565b95945050505050565b901515815260200190565b90815260200190565b6000602082526136616020830184613b57565b60208082526034908201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560408201527f526563656976657220696d706c656d656e746572000000000000000000000000606082015260800190565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a6563746560408201527f6420746f6b656e73000000000000000000000000000000000000000000000000606082015260800190565b60208082526028908201527f596f752077656e74206f766572206d617820746f6b656e73207065722074726160408201527f6e73616374696f6e000000000000000000000000000000000000000000000000606082015260800190565b60208082526028908201527f4e6f7420656e6f75676820746f6b656e73206c65667420746f206d696e74207460408201527f686174206d616e79000000000000000000000000000000000000000000000000606082015260800190565b6020808252603a908201527f596f7520617265206e6f74206f6e2074686520667265652077616c6c6574206c60408201527f697374206f72206861766520616c7265616479206d696e746564000000000000606082015260800190565b6020808252602b908201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60408201527f65726f2061646472657373000000000000000000000000000000000000000000606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60408201527f616e636500000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201527f20617070726f7665640000000000000000000000000000000000000000000000606082015260800190565b60208082526017908201527f46726565206d696e74206973206e6f7420616374697665000000000000000000604082015260600190565b6020808252603a908201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260408201527f6563697069656e74206d61792068617665207265766572746564000000000000606082015260800190565b6020808252601d908201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604082015260600190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460408201527f6472657373000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526032908201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060408201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000606082015260800190565b6020808252601a908201527f50726573616c65206d696e74206973206e6f7420616374697665000000000000604082015260600190565b60208082526034908201527f4e6f7420656e6f756768205075626c6963204d696e7420746f6b656e73206c6560408201527f667420746f206d696e742074686174206d616e79000000000000000000000000606082015260800190565b6020808252601d908201527f596f75206d757374206861766520746865204d696e74657220726f6c65000000604082015260600190565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201527f6573730000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201527f72207472616e7366657200000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526024908201527f596f752073656e742074686520696e636f727265637420616d6f756e74206f6660408201527f2045544800000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252603d908201527f596f7520617265206e6f74206f6e207468652070726573616c652077616c6c6560408201527f74206c697374206f72206861766520616c7265616479206d696e746564000000606082015260800190565b6020808252600d908201527f496e76616c69642050726f6f6600000000000000000000000000000000000000604082015260600190565b60208082526029908201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360408201527f20666f722073656c660000000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860408201527f206d69736d617463680000000000000000000000000000000000000000000000606082015260800190565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060408201527f6d69736d61746368000000000000000000000000000000000000000000000000606082015260800190565b60208082526021908201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360408201527f7300000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252602e908201527f4e6f7420656e6f75676820546f74616c20746f6b656e73206c65667420746f2060408201527f6d696e742074686174206d616e79000000000000000000000000000000000000606082015260800190565b60208082526019908201527f5075626c6963206d696e74206973206e6f742061637469766500000000000000604082015260600190565b60405181810167ffffffffffffffff811182821017156146c0576146c06147a6565b604052919050565b600067ffffffffffffffff8211156146e2576146e26147a6565b5060209081020190565b600082198211156146ff576146ff614790565b500190565b600081600019048311821515161561471e5761471e614790565b500290565b60008282101561473557614735614790565b500390565b60028104600182168061474e57607f821691505b6020821081141561476f57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561478957614789614790565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60e01c90565b600060443d10156147d257610efb565b600481823e6308c379a06147e682516147bc565b146147f057610efb565b6040513d600319016004823e80513d67ffffffffffffffff81602484011181841117156148205750505050610efb565b8284019250825191508082111561483a5750505050610efb565b503d8301602082840101111561485257505050610efb565b601f01601f1916810160200160405291505090565b6001600160e01b031981168114610e5f57600080fdfea264697066735822122076ed69f9a2a154f754ba046158a18191b0d8d56f95c26271591af4fef7b1240964736f6c63430008000033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.