ERC-1155
Overview
Max Total Supply
0
Holders
23
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:
Packages
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; //only set to abstract for set up of project contract Packages is ERC1155, Ownable, ERC1155Burnable { using Strings for uint256; address private _recipient; bool public saleActive = false; bool public whitelistSaleActive = false; uint256 public constant ONE_CARD_PACK_ID = 0; uint256 public constant FIVE_CARD_PACK_ID = 1; uint256 public constant TWENTY_CARD_PACK_ID = 2; /// @dev Package price mapping(uint256 => uint256) public packagePrice; /// @dev Total supply for each token. mapping(uint256 => uint256) public totalSupply; /// @dev Supply limit for each token. mapping(uint256 => uint256) public supplyLimit; mapping(address => bool) private whitelist; //mapping of address to card pack string private baseUri; // @dev Wallet to receive funds from contract address payable public payoutWallet; constructor( string memory baseUri_, uint256[3] memory supplyLimit_, uint256[3] memory packagePrice_, address payable payoutWallet_ ) payable ERC1155("") { baseUri = baseUri_; payoutWallet = payoutWallet_; supplyLimit[ONE_CARD_PACK_ID] = supplyLimit_[ONE_CARD_PACK_ID]; supplyLimit[FIVE_CARD_PACK_ID] = supplyLimit_[FIVE_CARD_PACK_ID]; supplyLimit[TWENTY_CARD_PACK_ID] = supplyLimit_[TWENTY_CARD_PACK_ID]; packagePrice[ONE_CARD_PACK_ID] = packagePrice_[ONE_CARD_PACK_ID]; packagePrice[FIVE_CARD_PACK_ID] = packagePrice_[FIVE_CARD_PACK_ID]; packagePrice[TWENTY_CARD_PACK_ID] = packagePrice_[TWENTY_CARD_PACK_ID]; } function setBaseURI(string memory _baseURI) public onlyOwner { baseUri = _baseURI; emit BaseUriSet(baseUri); } function setPackagePrices(uint256[3] memory packagePrices) public onlyOwner { require(packagePrices.length == 3, "Invalid array length"); packagePrice[ONE_CARD_PACK_ID] = packagePrices[0]; packagePrice[FIVE_CARD_PACK_ID] = packagePrices[1]; packagePrice[TWENTY_CARD_PACK_ID] = packagePrices[2]; emit PackagePricesSet(packagePrices); } function tokenURI(uint256 _tokenId) public view returns (string memory) { require(totalSupply[_tokenId] > 0, "Token does not exist"); return string(abi.encodePacked(baseUri, _tokenId.toString())); } function getNumberOfPackagesAvailable(uint256 cardPackType) public view returns (uint256) { return supplyLimit[cardPackType] - totalSupply[cardPackType]; } function getTotalSupply() public view returns (uint256[3] memory) { return [ totalSupply[ONE_CARD_PACK_ID], totalSupply[FIVE_CARD_PACK_ID], totalSupply[TWENTY_CARD_PACK_ID] ]; } function getPackagePrices() public view returns (uint256[3] memory) { return [ packagePrice[ONE_CARD_PACK_ID], packagePrice[FIVE_CARD_PACK_ID], packagePrice[TWENTY_CARD_PACK_ID] ]; } function buyCardPacks(uint256[3] memory numberOfCardpacks) public payable { require(saleActive, "Sale is not active"); mintCardPacks(numberOfCardpacks); } /// @dev Input an array of number of cards to mint for each pack type /// [Number of one card packs, Number of five card packs, Number of twenty card packs] function whiteListBuy(uint256[3] memory numberOfCardpacks) public payable { require( whitelistSaleActive || saleActive, "Whitelist sale is not active" ); require(whitelist[msg.sender], "Not whitelisted"); mintCardPacks(numberOfCardpacks); } function mintCardPacks(uint256[3] memory numberOfCardpacks) internal { require( (numberOfCardpacks[ONE_CARD_PACK_ID] > 0 || numberOfCardpacks[FIVE_CARD_PACK_ID] > 0 || numberOfCardpacks[TWENTY_CARD_PACK_ID] > 0), "You need to buy atleast one card pack" ); require( msg.value >= ((packagePrice[ONE_CARD_PACK_ID] * numberOfCardpacks[ONE_CARD_PACK_ID]) + (packagePrice[FIVE_CARD_PACK_ID] * numberOfCardpacks[FIVE_CARD_PACK_ID]) + (packagePrice[TWENTY_CARD_PACK_ID] * numberOfCardpacks[TWENTY_CARD_PACK_ID])), "Insufficient funds" ); require( getNumberOfPackagesAvailable(ONE_CARD_PACK_ID) >= numberOfCardpacks[ONE_CARD_PACK_ID] && getNumberOfPackagesAvailable(FIVE_CARD_PACK_ID) >= numberOfCardpacks[FIVE_CARD_PACK_ID] && getNumberOfPackagesAvailable(TWENTY_CARD_PACK_ID) >= numberOfCardpacks[TWENTY_CARD_PACK_ID], "Not enough packages available" ); for (uint256 i = 0; i < 3; i++) { if (numberOfCardpacks[i] > 0) { _mint(msg.sender, i, numberOfCardpacks[i], ""); totalSupply[i] += numberOfCardpacks[i]; emit CardPackMinted(msg.sender, i, numberOfCardpacks[i]); } } } function setSaleActive(bool saleActive_) public onlyOwner { saleActive = saleActive_; emit SaleActive(saleActive_); } function getSaleActive() public view returns (bool) { return saleActive; } function setWhitelistSaleActive(bool whitelistSaleActive_) external onlyOwner { whitelistSaleActive = whitelistSaleActive_; emit WhiteListSaleActive(whitelistSaleActive_); } function getWhitelistSaleActive() public view returns (bool) { return whitelistSaleActive; } function setPayoutWallet(address payable payoutWallet_) public onlyOwner { payoutWallet = payoutWallet_; } function withdraw() public onlyOwner { uint256 balance = address(this).balance; payoutWallet.transfer(balance); } function addtoWhiteList(address[] memory _addresses) public onlyOwner { for (uint256 i = 0; i < _addresses.length; i++) { whitelist[_addresses[i]] = true; } emit AddedToWhiteList(_addresses); } function removeFromWhiteList(address _address) public onlyOwner { whitelist[_address] = false; } function isWhitelisted(address _address) public view returns (bool) { return whitelist[_address]; } function burnCardPackages(uint256[3] memory numberOfCardpacks) public returns (bool) { // Are there any way of burning someone elses card pack? uint256[3] memory cardPackBalances = [ balanceOf(tx.origin, ONE_CARD_PACK_ID), balanceOf(tx.origin, FIVE_CARD_PACK_ID), balanceOf(tx.origin, TWENTY_CARD_PACK_ID) ]; for (uint256 cardPackTypeId = 0; cardPackTypeId < 3; cardPackTypeId++) { require( cardPackBalances[cardPackTypeId] >= numberOfCardpacks[cardPackTypeId], "Not enough card packs" ); _burn(tx.origin, cardPackTypeId, numberOfCardpacks[cardPackTypeId]); emit CardPackBurned( tx.origin, numberOfCardpacks[cardPackTypeId], cardPackTypeId ); } return true; } function giftCardPackages( address[] calldata walletAddressList, uint256[] calldata packageTypeId, uint256[] calldata numberOfCardpacks ) public onlyOwner { require( walletAddressList.length == packageTypeId.length && walletAddressList.length == numberOfCardpacks.length, "Input arrays must be of same length" ); uint256 nOnePacks = 0; uint256 nFivePacks = 0; uint256 nTwentyPacks = 0; for (uint256 i = 0; i < walletAddressList.length; i++) { if (packageTypeId[i] == ONE_CARD_PACK_ID) { nOnePacks += numberOfCardpacks[i]; } else if (packageTypeId[i] == FIVE_CARD_PACK_ID) { nFivePacks += numberOfCardpacks[i]; } else if (packageTypeId[i] == TWENTY_CARD_PACK_ID) { nTwentyPacks += numberOfCardpacks[i]; } else { revert("Package type ID is not valid"); } } require( nOnePacks <= getNumberOfPackagesAvailable(ONE_CARD_PACK_ID), "Not enough one card packs available" ); require( nFivePacks <= getNumberOfPackagesAvailable(FIVE_CARD_PACK_ID), "Not enough five card packs available" ); require( nTwentyPacks <= getNumberOfPackagesAvailable(TWENTY_CARD_PACK_ID), "Not enough twenty card packs available" ); for (uint256 i = 0; i < walletAddressList.length; i++) { _mint( walletAddressList[i], packageTypeId[i], numberOfCardpacks[i], "" ); totalSupply[packageTypeId[i]] += numberOfCardpacks[i]; emit CardPackMintedWhitelist( walletAddressList[i], packageTypeId[i], numberOfCardpacks[i] ); } emit GiftCardPackages( walletAddressList, packageTypeId, numberOfCardpacks ); } event CardPackMinted( address indexed _address, uint256 cardPackType, uint256 amount ); event CardPackMintedWhitelist( address indexed _address, uint256 cardPackType, uint256 amount ); event GiftCardPackages( address[] indexed _address, uint256[] cardPackType, uint256[] numberOfPacks ); event BaseUriSet(string baseUri); event SaleActive(bool saleActive_); event WhiteListSaleActive(bool whiteListSaleActive); event Withdraw(address address_); event AddedToWhiteList(address[] indexed _address); event CardPackBurned( address indexed _address, uint256 numberOfCardPacks, uint256 cardPackType ); event PackagePricesSet(uint256[3] packagePrices_); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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: address zero is not a valid owner"); 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 token 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: caller is not token 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(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, to, ids, amounts, 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); _afterTokenTransfer(operator, from, to, ids, amounts, data); _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); _afterTokenTransfer(operator, from, to, ids, amounts, data); _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(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * 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 _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); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Emits a {TransferSingle} event. * * 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(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); 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); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Emits a {TransferBatch} event. * * 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); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {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 `ids` and `amounts` 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 {} /** * @dev Hook that is called after 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 _afterTokenTransfer( 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 (last updated v4.7.0) (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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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 (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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 token 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 token owner nor approved" ); _burnBatch(account, ids, values); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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 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 (last updated v4.5.0) (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. * * NOTE: 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. * * NOTE: 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 (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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 /// @solidity memory-safe-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 (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/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": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseUri_","type":"string"},{"internalType":"uint256[3]","name":"supplyLimit_","type":"uint256[3]"},{"internalType":"uint256[3]","name":"packagePrice_","type":"uint256[3]"},{"internalType":"address payable","name":"payoutWallet_","type":"address"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address[]","name":"_address","type":"address[]"}],"name":"AddedToWhiteList","type":"event"},{"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":false,"internalType":"string","name":"baseUri","type":"string"}],"name":"BaseUriSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"uint256","name":"numberOfCardPacks","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"cardPackType","type":"uint256"}],"name":"CardPackBurned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"uint256","name":"cardPackType","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"CardPackMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"uint256","name":"cardPackType","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"CardPackMintedWhitelist","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address[]","name":"_address","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"cardPackType","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"numberOfPacks","type":"uint256[]"}],"name":"GiftCardPackages","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[3]","name":"packagePrices_","type":"uint256[3]"}],"name":"PackagePricesSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"saleActive_","type":"bool"}],"name":"SaleActive","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"whiteListSaleActive","type":"bool"}],"name":"WhiteListSaleActive","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"address_","type":"address"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"FIVE_CARD_PACK_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ONE_CARD_PACK_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TWENTY_CARD_PACK_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"addtoWhiteList","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[3]","name":"numberOfCardpacks","type":"uint256[3]"}],"name":"burnCardPackages","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[3]","name":"numberOfCardpacks","type":"uint256[3]"}],"name":"buyCardPacks","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"cardPackType","type":"uint256"}],"name":"getNumberOfPackagesAvailable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPackagePrices","outputs":[{"internalType":"uint256[3]","name":"","type":"uint256[3]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalSupply","outputs":[{"internalType":"uint256[3]","name":"","type":"uint256[3]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWhitelistSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"walletAddressList","type":"address[]"},{"internalType":"uint256[]","name":"packageTypeId","type":"uint256[]"},{"internalType":"uint256[]","name":"numberOfCardpacks","type":"uint256[]"}],"name":"giftCardPackages","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":"address","name":"_address","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"packagePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"payoutWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeFromWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[3]","name":"packagePrices","type":"uint256[3]"}],"name":"setPackagePrices","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"payoutWallet_","type":"address"}],"name":"setPayoutWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"saleActive_","type":"bool"}],"name":"setSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"whitelistSaleActive_","type":"bool"}],"name":"setWhitelistSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"supplyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","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":[{"internalType":"uint256[3]","name":"numberOfCardpacks","type":"uint256[3]"}],"name":"whiteListBuy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600460146101000a81548160ff0219169083151502179055506000600460156101000a81548160ff0219169083151502179055506040516200671e3803806200671e83398181016040528101906200005f9190620006db565b6040518060200160405280600081525062000080816200023b60201b60201c565b50620000a1620000956200025760201b60201c565b6200025f60201b60201c565b8360099080519060200190620000b992919062000325565b5080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550826000600381106200011257620001116200076d565b5b60200201516007600080815260200190815260200160002081905550826001600381106200014557620001446200076d565b5b6020020151600760006001815260200190815260200160002081905550826002600381106200017957620001786200076d565b5b602002015160076000600281526020019081526020016000208190555081600060038110620001ad57620001ac6200076d565b5b6020020151600560008081526020019081526020016000208190555081600160038110620001e057620001df6200076d565b5b6020020151600560006001815260200190815260200160002081905550816002600381106200021457620002136200076d565b5b60200201516005600060028152602001908152602001600020819055505050505062000801565b80600290805190602001906200025392919062000325565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200033390620007cb565b90600052602060002090601f016020900481019282620003575760008555620003a3565b82601f106200037257805160ff1916838001178555620003a3565b82800160010185558215620003a3579182015b82811115620003a257825182559160200191906001019062000385565b5b509050620003b29190620003b6565b5090565b5b80821115620003d1576000816000905550600101620003b7565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200043e82620003f3565b810181811067ffffffffffffffff8211171562000460576200045f62000404565b5b80604052505050565b600062000475620003d5565b905062000483828262000433565b919050565b600067ffffffffffffffff821115620004a657620004a562000404565b5b620004b182620003f3565b9050602081019050919050565b60005b83811015620004de578082015181840152602081019050620004c1565b83811115620004ee576000848401525b50505050565b60006200050b620005058462000488565b62000469565b9050828152602081018484840111156200052a5762000529620003ee565b5b62000537848285620004be565b509392505050565b600082601f830112620005575762000556620003e9565b5b815162000569848260208601620004f4565b91505092915050565b600067ffffffffffffffff82111562000590576200058f62000404565b5b602082029050919050565b600080fd5b6000819050919050565b620005b581620005a0565b8114620005c157600080fd5b50565b600081519050620005d581620005aa565b92915050565b6000620005f2620005ec8462000572565b62000469565b905080602084028301858111156200060f576200060e6200059b565b5b835b818110156200063c5780620006278882620005c4565b84526020840193505060208101905062000611565b5050509392505050565b600082601f8301126200065e576200065d620003e9565b5b60036200066d848285620005db565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620006a38262000676565b9050919050565b620006b58162000696565b8114620006c157600080fd5b50565b600081519050620006d581620006aa565b92915050565b6000806000806101008587031215620006f957620006f8620003df565b5b600085015167ffffffffffffffff8111156200071a5762000719620003e4565b5b62000728878288016200053f565b94505060206200073b8782880162000646565b93505060806200074e8782880162000646565b92505060e06200076187828801620006c4565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620007e457607f821691505b60208210811415620007fb57620007fa6200079c565b5b50919050565b615f0d80620008116000396000f3fe6080604052600436106102455760003560e01c8063715018a611610139578063a22cb465116100b6578063cb1335c51161007a578063cb1335c514610897578063e985e9c5146108c0578063f242432a146108fd578063f2fde38b14610926578063f5298aca1461094f578063f58733441461097857610245565b8063a22cb4651461079e578063bd85b039146107c7578063c2dced3c14610804578063c4e41b221461082f578063c87b56dd1461085a57610245565b80638da5cb5b116100fd5780638da5cb5b146106c957806397db4fe3146106f45780639b5569571461071f5780639bc9cc881461074a5780639c23be4e1461077557610245565b8063715018a6146105f6578063720224511461060d57806378416adb14610638578063841718a6146106755780638488bb4e1461069e57610245565b80634385170f116101c757806365cab5e01161018b57806365cab5e01461052757806368428a1b146105505780636a78f2271461057b5780636b20c454146105a45780636b8f9c43146105cd57610245565b80634385170f1461044c57806344f03900146104685780634e1273f41461048457806355f804b3146104c15780635e67b0d6146104ea57610245565b806320fe8e6e1161020e57806320fe8e6e146103675780632eb2c2d6146103a45780633ad7f56c146103cd5780633af32abf146103f85780633ccfd60b1461043557610245565b8062fdd58e1461024a57806301bf66481461028757806301ffc9a7146102b05780630e89341c146102ed5780630f5d66e01461032a575b600080fd5b34801561025657600080fd5b50610271600480360381019061026c9190613978565b6109a3565b60405161027e91906139c7565b60405180910390f35b34801561029357600080fd5b506102ae60048036038101906102a991906139e2565b610a6c565b005b3480156102bc57600080fd5b506102d760048036038101906102d29190613a67565b610acf565b6040516102e49190613aaf565b60405180910390f35b3480156102f957600080fd5b50610314600480360381019061030f9190613aca565b610bb1565b6040516103219190613b90565b60405180910390f35b34801561033657600080fd5b50610351600480360381019061034c9190613ce8565b610c45565b60405161035e9190613aaf565b60405180910390f35b34801561037357600080fd5b5061038e60048036038101906103899190613aca565b610da7565b60405161039b91906139c7565b60405180910390f35b3480156103b057600080fd5b506103cb60048036038101906103c69190613e8d565b610dbf565b005b3480156103d957600080fd5b506103e2610e60565b6040516103ef9190613aaf565b60405180910390f35b34801561040457600080fd5b5061041f600480360381019061041a91906139e2565b610e73565b60405161042c9190613aaf565b60405180910390f35b34801561044157600080fd5b5061044a610ec9565b005b61046660048036038101906104619190613ce8565b610f42565b005b610482600480360381019061047d9190613ce8565b611040565b005b34801561049057600080fd5b506104ab60048036038101906104a6919061401f565b61109b565b6040516104b89190614155565b60405180910390f35b3480156104cd57600080fd5b506104e860048036038101906104e39190614218565b6111b4565b005b3480156104f657600080fd5b50610511600480360381019061050c9190613aca565b61120e565b60405161051e91906139c7565b60405180910390f35b34801561053357600080fd5b5061054e60048036038101906105499190614312565b611249565b005b34801561055c57600080fd5b506105656116d6565b6040516105729190613aaf565b60405180910390f35b34801561058757600080fd5b506105a2600480360381019061059d91906143f2565b6116e9565b005b3480156105b057600080fd5b506105cb60048036038101906105c6919061441f565b611745565b005b3480156105d957600080fd5b506105f460048036038101906105ef91906144e8565b6117e2565b005b34801561060257600080fd5b5061060b61182e565b005b34801561061957600080fd5b50610622611842565b60405161062f9190614599565b60405180910390f35b34801561064457600080fd5b5061065f600480360381019061065a9190613aca565b6118a5565b60405161066c91906139c7565b60405180910390f35b34801561068157600080fd5b5061069c600480360381019061069791906143f2565b6118bd565b005b3480156106aa57600080fd5b506106b3611919565b6040516106c091906145c3565b60405180910390f35b3480156106d557600080fd5b506106de61193f565b6040516106eb91906145ed565b60405180910390f35b34801561070057600080fd5b50610709611969565b6040516107169190613aaf565b60405180910390f35b34801561072b57600080fd5b50610734611980565b60405161074191906139c7565b60405180910390f35b34801561075657600080fd5b5061075f611985565b60405161076c9190613aaf565b60405180910390f35b34801561078157600080fd5b5061079c60048036038101906107979190614608565b61199c565b005b3480156107aa57600080fd5b506107c560048036038101906107c09190614651565b611a7b565b005b3480156107d357600080fd5b506107ee60048036038101906107e99190613aca565b611a91565b6040516107fb91906139c7565b60405180910390f35b34801561081057600080fd5b50610819611aa9565b60405161082691906139c7565b60405180910390f35b34801561083b57600080fd5b50610844611aae565b6040516108519190614599565b60405180910390f35b34801561086657600080fd5b50610881600480360381019061087c9190613aca565b611b11565b60405161088e9190613b90565b60405180910390f35b3480156108a357600080fd5b506108be60048036038101906108b99190613ce8565b611b9b565b005b3480156108cc57600080fd5b506108e760048036038101906108e29190614691565b611cb2565b6040516108f49190613aaf565b60405180910390f35b34801561090957600080fd5b50610924600480360381019061091f91906146d1565b611d46565b005b34801561093257600080fd5b5061094d600480360381019061094891906139e2565b611de7565b005b34801561095b57600080fd5b5061097660048036038101906109719190614768565b611e6b565b005b34801561098457600080fd5b5061098d611f08565b60405161099a91906139c7565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0b9061482d565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610a74611f0d565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b9a57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610baa5750610ba982611f8b565b5b9050919050565b606060028054610bc09061487c565b80601f0160208091040260200160405190810160405280929190818152602001828054610bec9061487c565b8015610c395780601f10610c0e57610100808354040283529160200191610c39565b820191906000526020600020905b815481529060010190602001808311610c1c57829003601f168201915b50505050509050919050565b6000806040518060600160405280610c5e3260006109a3565b8152602001610c6e3260016109a3565b8152602001610c7e3260026109a3565b815250905060005b6003811015610d9c57838160038110610ca257610ca16148ae565b5b6020020151828260038110610cba57610cb96148ae565b5b60200201511015610d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf790614929565b60405180910390fd5b610d223282868460038110610d1857610d176148ae565b5b6020020151611ff5565b3273ffffffffffffffffffffffffffffffffffffffff167f4edabdaacf0790c8f7419e5e884fff31b85fe00cebea263cef250115a9b06b73858360038110610d6d57610d6c6148ae565b5b602002015183604051610d81929190614949565b60405180910390a28080610d94906149a1565b915050610c86565b506001915050919050565b60056020528060005260406000206000915090505481565b610dc761223c565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610e0d5750610e0c85610e0761223c565b611cb2565b5b610e4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4390614a5c565b60405180910390fd5b610e598585858585612244565b5050505050565b600460159054906101000a900460ff1681565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610ed1611f0d565b6000479050600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610f3e573d6000803e3d6000fd5b5050565b600460159054906101000a900460ff1680610f695750600460149054906101000a900460ff165b610fa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9f90614ac8565b60405180910390fd5b600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102b90614b34565b60405180910390fd5b61103d81612566565b50565b600460149054906101000a900460ff1661108f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108690614ba0565b60405180910390fd5b61109881612566565b50565b606081518351146110e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d890614c32565b60405180910390fd5b6000835167ffffffffffffffff8111156110fe576110fd613bb7565b5b60405190808252806020026020018201604052801561112c5781602001602082028036833780820191505090505b50905060005b84518110156111a957611179858281518110611151576111506148ae565b5b602002602001015185838151811061116c5761116b6148ae565b5b60200260200101516109a3565b82828151811061118c5761118b6148ae565b5b602002602001018181525050806111a2906149a1565b9050611132565b508091505092915050565b6111bc611f0d565b80600990805190602001906111d292919061380b565b507fec7aa76ee322bd9ff6b9f70d62a749a4bfadba7751d8b4bb089b22ff0ed09bd260096040516112039190614ce7565b60405180910390a150565b6000600660008381526020019081526020016000205460076000848152602001908152602001600020546112429190614d09565b9050919050565b611251611f0d565b838390508686905014801561126b57508181905086869050145b6112aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a190614daf565b60405180910390fd5b6000806000805b898990508110156113f65760008888838181106112d1576112d06148ae565b5b90506020020135141561130a578585828181106112f1576112f06148ae565b5b90506020020135846113039190614dcf565b93506113e3565b600188888381811061131f5761131e6148ae565b5b9050602002013514156113585785858281811061133f5761133e6148ae565b5b90506020020135836113519190614dcf565b92506113e2565b600288888381811061136d5761136c6148ae565b5b9050602002013514156113a65785858281811061138d5761138c6148ae565b5b905060200201358261139f9190614dcf565b91506113e1565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d890614e71565b60405180910390fd5b5b5b80806113ee906149a1565b9150506112b1565b50611401600061120e565b831115611443576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143a90614f03565b60405180910390fd5b61144d600161120e565b82111561148f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148690614f95565b60405180910390fd5b611499600261120e565b8111156114db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d290615027565b60405180910390fd5b60005b898990508110156116755761155d8a8a838181106114ff576114fe6148ae565b5b905060200201602081019061151491906139e2565b898984818110611527576115266148ae565b5b90506020020135888885818110611541576115406148ae565b5b90506020020135604051806020016040528060008152506128e0565b8585828181106115705761156f6148ae565b5b90506020020135600660008a8a8581811061158e5761158d6148ae565b5b90506020020135815260200190815260200160002060008282546115b29190614dcf565b925050819055508989828181106115cc576115cb6148ae565b5b90506020020160208101906115e191906139e2565b73ffffffffffffffffffffffffffffffffffffffff167fda5296545baed51f8de16779791781dc3fc9b238a62220dfb361c86a84e53ff989898481811061162b5761162a6148ae565b5b90506020020135888885818110611645576116446148ae565b5b9050602002013560405161165a929190614949565b60405180910390a2808061166d906149a1565b9150506114de565b508888604051611686929190615104565b60405180910390207ffa4e5edd00fcf513aed2e6021de800ae69350eb606a400ce0ba0702f6dbe68a6888888886040516116c3949392919061517e565b60405180910390a2505050505050505050565b600460149054906101000a900460ff1681565b6116f1611f0d565b80600460156101000a81548160ff0219169083151502179055507f385b12dc4f5df3afd686346d723ade8f311f00e5b7dadb60c0a1c6ae1ee739e48160405161173a9190613aaf565b60405180910390a150565b61174d61223c565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061179357506117928361178d61223c565b611cb2565b5b6117d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c990614a5c565b60405180910390fd5b6117dd838383612a91565b505050565b6117ea611f0d565b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611836611f0d565b6118406000612d60565b565b61184a613891565b6040518060600160405280600560008081526020019081526020016000205481526020016005600060018152602001908152602001600020548152602001600560006002815260200190815260200160002054815250905090565b60076020528060005260406000206000915090505481565b6118c5611f0d565b80600460146101000a81548160ff0219169083151502179055507fe8a4303c22d8b575a6f175ea4803f56b0a4551ac9e22153304feb0ddfd6143558160405161190e9190613aaf565b60405180910390a150565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600460149054906101000a900460ff16905090565b600281565b6000600460159054906101000a900460ff16905090565b6119a4611f0d565b60005b8151811015611a35576001600860008484815181106119c9576119c86148ae565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611a2d906149a1565b9150506119a7565b5080604051611a44919061523f565b60405180910390207fa9fae9e5321f5de47ae7fbd85580ea00ad0829d0ab433fe0ad12b6c7b17baff460405160405180910390a250565b611a8d611a8661223c565b8383612e26565b5050565b60066020528060005260406000206000915090505481565b600081565b611ab6613891565b6040518060600160405280600660008081526020019081526020016000205481526020016006600060018152602001908152602001600020548152602001600660006002815260200190815260200160002054815250905090565b60606000600660008481526020019081526020016000205411611b69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b60906152a2565b60405180910390fd5b6009611b7483612f93565b604051602001611b8592919061537d565b6040516020818303038152906040529050919050565b611ba3611f0d565b60038014611be6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdd906153ed565b60405180910390fd5b80600060038110611bfa57611bf96148ae565b5b6020020151600560008081526020019081526020016000208190555080600160038110611c2a57611c296148ae565b5b602002015160056000600181526020019081526020016000208190555080600260038110611c5b57611c5a6148ae565b5b60200201516005600060028152602001908152602001600020819055507fd96b8d8af72c14d8121561b8f05718358157d66da9fb124d7c8aa0e4e7f4a0cf81604051611ca79190614599565b60405180910390a150565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d4e61223c565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611d945750611d9385611d8e61223c565b611cb2565b5b611dd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dca90614a5c565b60405180910390fd5b611de085858585856130f4565b5050505050565b611def611f0d565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e569061547f565b60405180910390fd5b611e6881612d60565b50565b611e7361223c565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480611eb95750611eb883611eb361223c565b611cb2565b5b611ef8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eef90614a5c565b60405180910390fd5b611f03838383611ff5565b505050565b600181565b611f1561223c565b73ffffffffffffffffffffffffffffffffffffffff16611f3361193f565b73ffffffffffffffffffffffffffffffffffffffff1614611f89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f80906154eb565b60405180910390fd5b565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612065576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205c9061557d565b60405180910390fd5b600061206f61223c565b9050600061207c84613390565b9050600061208984613390565b90506120a98387600085856040518060200160405280600081525061340a565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015612140576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121379061560f565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62898960405161220d929190614949565b60405180910390a461223384886000868660405180602001604052806000815250613412565b50505050505050565b600033905090565b8151835114612288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227f906156a1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156122f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ef90615733565b60405180910390fd5b600061230261223c565b905061231281878787878761340a565b60005b84518110156124c3576000858281518110612333576123326148ae565b5b602002602001015190506000858381518110612352576123516148ae565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156123f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ea906157c5565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124a89190614dcf565b92505081905550505050806124bc906149a1565b9050612315565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161253a9291906157e5565b60405180910390a4612550818787878787613412565b61255e81878787878761341a565b505050505050565b60008160006003811061257c5761257b6148ae565b5b602002015111806125a5575060008160016003811061259e5761259d6148ae565b5b6020020151115b806125c857506000816002600381106125c1576125c06148ae565b5b6020020151115b612607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125fe9061588e565b60405180910390fd5b8060026003811061261b5761261a6148ae565b5b602002015160056000600281526020019081526020016000205461263f91906158ae565b81600160038110612653576126526148ae565b5b602002015160056000600181526020019081526020016000205461267791906158ae565b8260006003811061268b5761268a6148ae565b5b602002015160056000808152602001908152602001600020546126ae91906158ae565b6126b89190614dcf565b6126c29190614dcf565b341015612704576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126fb90615954565b60405180910390fd5b80600060038110612718576127176148ae565b5b6020020151612727600061120e565b10158015612756575080600160038110612744576127436148ae565b5b6020020151612753600161120e565b10155b8015612783575080600260038110612771576127706148ae565b5b6020020151612780600261120e565b10155b6127c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b9906159c0565b60405180910390fd5b60005b60038110156128dc5760008282600381106127e3576127e26148ae565b5b602002015111156128c9576128203382848460038110612806576128056148ae565b5b6020020151604051806020016040528060008152506128e0565b818160038110612833576128326148ae565b5b602002015160066000838152602001908152602001600020600082825461285a9190614dcf565b925050819055503373ffffffffffffffffffffffffffffffffffffffff167f2a4ae543db367672c5d2903cf8952fe8a4513dea266b22e801b51984c3d37830828484600381106128ad576128ac6148ae565b5b60200201516040516128c0929190614949565b60405180910390a25b80806128d4906149a1565b9150506127c5565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612950576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294790615a52565b60405180910390fd5b600061295a61223c565b9050600061296785613390565b9050600061297485613390565b90506129858360008985858961340a565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129e49190614dcf565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612a62929190614949565b60405180910390a4612a7983600089858589613412565b612a8883600089898989613601565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af89061557d565b60405180910390fd5b8051825114612b45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3c906156a1565b60405180910390fd5b6000612b4f61223c565b9050612b6f8185600086866040518060200160405280600081525061340a565b60005b8351811015612cbc576000848281518110612b9057612b8f6148ae565b5b602002602001015190506000848381518110612baf57612bae6148ae565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612c50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c479061560f565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080612cb4906149a1565b915050612b72565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051612d349291906157e5565b60405180910390a4612d5a81856000868660405180602001604052806000815250613412565b50505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8c90615ae4565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612f869190613aaf565b60405180910390a3505050565b60606000821415612fdb576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506130ef565b600082905060005b6000821461300d578080612ff6906149a1565b915050600a826130069190615b33565b9150612fe3565b60008167ffffffffffffffff81111561302957613028613bb7565b5b6040519080825280601f01601f19166020018201604052801561305b5781602001600182028036833780820191505090505b5090505b600085146130e8576001826130749190614d09565b9150600a856130839190615b64565b603061308f9190614dcf565b60f81b8183815181106130a5576130a46148ae565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130e19190615b33565b945061305f565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315b90615733565b60405180910390fd5b600061316e61223c565b9050600061317b85613390565b9050600061318885613390565b905061319883898985858961340a565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508581101561322f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613226906157c5565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132e49190614dcf565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051613361929190614949565b60405180910390a4613377848a8a86868a613412565b613385848a8a8a8a8a613601565b505050505050505050565b60606000600167ffffffffffffffff8111156133af576133ae613bb7565b5b6040519080825280602002602001820160405280156133dd5781602001602082028036833780820191505090505b50905082816000815181106133f5576133f46148ae565b5b60200260200101818152505080915050919050565b505050505050565b505050505050565b6134398473ffffffffffffffffffffffffffffffffffffffff166137e8565b156135f9578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161347f959493929190615bea565b602060405180830381600087803b15801561349957600080fd5b505af19250505080156134ca57506040513d601f19601f820116820180604052508101906134c79190615c67565b60015b613570576134d6615ca1565b806308c379a0141561353357506134eb615cc3565b806134f65750613535565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352a9190613b90565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161356790615dcb565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146135f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135ee90615e5d565b60405180910390fd5b505b505050505050565b6136208473ffffffffffffffffffffffffffffffffffffffff166137e8565b156137e0578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401613666959493929190615e7d565b602060405180830381600087803b15801561368057600080fd5b505af19250505080156136b157506040513d601f19601f820116820180604052508101906136ae9190615c67565b60015b613757576136bd615ca1565b806308c379a0141561371a57506136d2615cc3565b806136dd575061371c565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137119190613b90565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161374e90615dcb565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146137de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137d590615e5d565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546138179061487c565b90600052602060002090601f0160209004810192826138395760008555613880565b82601f1061385257805160ff1916838001178555613880565b82800160010185558215613880579182015b8281111561387f578251825591602001919060010190613864565b5b50905061388d91906138b3565b5090565b6040518060600160405280600390602082028036833780820191505090505090565b5b808211156138cc5760008160009055506001016138b4565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061390f826138e4565b9050919050565b61391f81613904565b811461392a57600080fd5b50565b60008135905061393c81613916565b92915050565b6000819050919050565b61395581613942565b811461396057600080fd5b50565b6000813590506139728161394c565b92915050565b6000806040838503121561398f5761398e6138da565b5b600061399d8582860161392d565b92505060206139ae85828601613963565b9150509250929050565b6139c181613942565b82525050565b60006020820190506139dc60008301846139b8565b92915050565b6000602082840312156139f8576139f76138da565b5b6000613a068482850161392d565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613a4481613a0f565b8114613a4f57600080fd5b50565b600081359050613a6181613a3b565b92915050565b600060208284031215613a7d57613a7c6138da565b5b6000613a8b84828501613a52565b91505092915050565b60008115159050919050565b613aa981613a94565b82525050565b6000602082019050613ac46000830184613aa0565b92915050565b600060208284031215613ae057613adf6138da565b5b6000613aee84828501613963565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613b31578082015181840152602081019050613b16565b83811115613b40576000848401525b50505050565b6000601f19601f8301169050919050565b6000613b6282613af7565b613b6c8185613b02565b9350613b7c818560208601613b13565b613b8581613b46565b840191505092915050565b60006020820190508181036000830152613baa8184613b57565b905092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613bef82613b46565b810181811067ffffffffffffffff82111715613c0e57613c0d613bb7565b5b80604052505050565b6000613c216138d0565b9050613c2d8282613be6565b919050565b600067ffffffffffffffff821115613c4d57613c4c613bb7565b5b602082029050919050565b600080fd5b6000613c70613c6b84613c32565b613c17565b90508060208402830185811115613c8a57613c89613c58565b5b835b81811015613cb35780613c9f8882613963565b845260208401935050602081019050613c8c565b5050509392505050565b600082601f830112613cd257613cd1613bb2565b5b6003613cdf848285613c5d565b91505092915050565b600060608284031215613cfe57613cfd6138da565b5b6000613d0c84828501613cbd565b91505092915050565b600067ffffffffffffffff821115613d3057613d2f613bb7565b5b602082029050602081019050919050565b6000613d54613d4f84613d15565b613c17565b90508083825260208201905060208402830185811115613d7757613d76613c58565b5b835b81811015613da05780613d8c8882613963565b845260208401935050602081019050613d79565b5050509392505050565b600082601f830112613dbf57613dbe613bb2565b5b8135613dcf848260208601613d41565b91505092915050565b600080fd5b600067ffffffffffffffff821115613df857613df7613bb7565b5b613e0182613b46565b9050602081019050919050565b82818337600083830152505050565b6000613e30613e2b84613ddd565b613c17565b905082815260208101848484011115613e4c57613e4b613dd8565b5b613e57848285613e0e565b509392505050565b600082601f830112613e7457613e73613bb2565b5b8135613e84848260208601613e1d565b91505092915050565b600080600080600060a08688031215613ea957613ea86138da565b5b6000613eb78882890161392d565b9550506020613ec88882890161392d565b945050604086013567ffffffffffffffff811115613ee957613ee86138df565b5b613ef588828901613daa565b935050606086013567ffffffffffffffff811115613f1657613f156138df565b5b613f2288828901613daa565b925050608086013567ffffffffffffffff811115613f4357613f426138df565b5b613f4f88828901613e5f565b9150509295509295909350565b600067ffffffffffffffff821115613f7757613f76613bb7565b5b602082029050602081019050919050565b6000613f9b613f9684613f5c565b613c17565b90508083825260208201905060208402830185811115613fbe57613fbd613c58565b5b835b81811015613fe75780613fd3888261392d565b845260208401935050602081019050613fc0565b5050509392505050565b600082601f83011261400657614005613bb2565b5b8135614016848260208601613f88565b91505092915050565b60008060408385031215614036576140356138da565b5b600083013567ffffffffffffffff811115614054576140536138df565b5b61406085828601613ff1565b925050602083013567ffffffffffffffff811115614081576140806138df565b5b61408d85828601613daa565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6140cc81613942565b82525050565b60006140de83836140c3565b60208301905092915050565b6000602082019050919050565b600061410282614097565b61410c81856140a2565b9350614117836140b3565b8060005b8381101561414857815161412f88826140d2565b975061413a836140ea565b92505060018101905061411b565b5085935050505092915050565b6000602082019050818103600083015261416f81846140f7565b905092915050565b600067ffffffffffffffff82111561419257614191613bb7565b5b61419b82613b46565b9050602081019050919050565b60006141bb6141b684614177565b613c17565b9050828152602081018484840111156141d7576141d6613dd8565b5b6141e2848285613e0e565b509392505050565b600082601f8301126141ff576141fe613bb2565b5b813561420f8482602086016141a8565b91505092915050565b60006020828403121561422e5761422d6138da565b5b600082013567ffffffffffffffff81111561424c5761424b6138df565b5b614258848285016141ea565b91505092915050565b600080fd5b60008083601f84011261427c5761427b613bb2565b5b8235905067ffffffffffffffff81111561429957614298614261565b5b6020830191508360208202830111156142b5576142b4613c58565b5b9250929050565b60008083601f8401126142d2576142d1613bb2565b5b8235905067ffffffffffffffff8111156142ef576142ee614261565b5b60208301915083602082028301111561430b5761430a613c58565b5b9250929050565b6000806000806000806060878903121561432f5761432e6138da565b5b600087013567ffffffffffffffff81111561434d5761434c6138df565b5b61435989828a01614266565b9650965050602087013567ffffffffffffffff81111561437c5761437b6138df565b5b61438889828a016142bc565b9450945050604087013567ffffffffffffffff8111156143ab576143aa6138df565b5b6143b789828a016142bc565b92509250509295509295509295565b6143cf81613a94565b81146143da57600080fd5b50565b6000813590506143ec816143c6565b92915050565b600060208284031215614408576144076138da565b5b6000614416848285016143dd565b91505092915050565b600080600060608486031215614438576144376138da565b5b60006144468682870161392d565b935050602084013567ffffffffffffffff811115614467576144666138df565b5b61447386828701613daa565b925050604084013567ffffffffffffffff811115614494576144936138df565b5b6144a086828701613daa565b9150509250925092565b60006144b5826138e4565b9050919050565b6144c5816144aa565b81146144d057600080fd5b50565b6000813590506144e2816144bc565b92915050565b6000602082840312156144fe576144fd6138da565b5b600061450c848285016144d3565b91505092915050565b600060039050919050565b600081905092915050565b6000819050919050565b6000602082019050919050565b61454b81614515565b6145558184614520565b92506145608261452b565b8060005b8381101561459157815161457887826140d2565b965061458383614535565b925050600181019050614564565b505050505050565b60006060820190506145ae6000830184614542565b92915050565b6145bd816144aa565b82525050565b60006020820190506145d860008301846145b4565b92915050565b6145e781613904565b82525050565b600060208201905061460260008301846145de565b92915050565b60006020828403121561461e5761461d6138da565b5b600082013567ffffffffffffffff81111561463c5761463b6138df565b5b61464884828501613ff1565b91505092915050565b60008060408385031215614668576146676138da565b5b60006146768582860161392d565b9250506020614687858286016143dd565b9150509250929050565b600080604083850312156146a8576146a76138da565b5b60006146b68582860161392d565b92505060206146c78582860161392d565b9150509250929050565b600080600080600060a086880312156146ed576146ec6138da565b5b60006146fb8882890161392d565b955050602061470c8882890161392d565b945050604061471d88828901613963565b935050606061472e88828901613963565b925050608086013567ffffffffffffffff81111561474f5761474e6138df565b5b61475b88828901613e5f565b9150509295509295909350565b600080600060608486031215614781576147806138da565b5b600061478f8682870161392d565b93505060206147a086828701613963565b92505060406147b186828701613963565b9150509250925092565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000614817602a83613b02565b9150614822826147bb565b604082019050919050565b600060208201905081810360008301526148468161480a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061489457607f821691505b602082108114156148a8576148a761484d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e6f7420656e6f7567682063617264207061636b730000000000000000000000600082015250565b6000614913601583613b02565b915061491e826148dd565b602082019050919050565b6000602082019050818103600083015261494281614906565b9050919050565b600060408201905061495e60008301856139b8565b61496b60208301846139b8565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006149ac82613942565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156149df576149de614972565b5b600182019050919050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b6000614a46602f83613b02565b9150614a51826149ea565b604082019050919050565b60006020820190508181036000830152614a7581614a39565b9050919050565b7f57686974656c6973742073616c65206973206e6f742061637469766500000000600082015250565b6000614ab2601c83613b02565b9150614abd82614a7c565b602082019050919050565b60006020820190508181036000830152614ae181614aa5565b9050919050565b7f4e6f742077686974656c69737465640000000000000000000000000000000000600082015250565b6000614b1e600f83613b02565b9150614b2982614ae8565b602082019050919050565b60006020820190508181036000830152614b4d81614b11565b9050919050565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b6000614b8a601283613b02565b9150614b9582614b54565b602082019050919050565b60006020820190508181036000830152614bb981614b7d565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000614c1c602983613b02565b9150614c2782614bc0565b604082019050919050565b60006020820190508181036000830152614c4b81614c0f565b9050919050565b60008190508160005260206000209050919050565b60008154614c748161487c565b614c7e8186613b02565b94506001821660008114614c995760018114614cab57614cde565b60ff1983168652602086019350614cde565b614cb485614c52565b60005b83811015614cd657815481890152600182019150602081019050614cb7565b808801955050505b50505092915050565b60006020820190508181036000830152614d018184614c67565b905092915050565b6000614d1482613942565b9150614d1f83613942565b925082821015614d3257614d31614972565b5b828203905092915050565b7f496e70757420617272617973206d757374206265206f662073616d65206c656e60008201527f6774680000000000000000000000000000000000000000000000000000000000602082015250565b6000614d99602383613b02565b9150614da482614d3d565b604082019050919050565b60006020820190508181036000830152614dc881614d8c565b9050919050565b6000614dda82613942565b9150614de583613942565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e1a57614e19614972565b5b828201905092915050565b7f5061636b6167652074797065204944206973206e6f742076616c696400000000600082015250565b6000614e5b601c83613b02565b9150614e6682614e25565b602082019050919050565b60006020820190508181036000830152614e8a81614e4e565b9050919050565b7f4e6f7420656e6f756768206f6e652063617264207061636b7320617661696c6160008201527f626c650000000000000000000000000000000000000000000000000000000000602082015250565b6000614eed602383613b02565b9150614ef882614e91565b604082019050919050565b60006020820190508181036000830152614f1c81614ee0565b9050919050565b7f4e6f7420656e6f75676820666976652063617264207061636b7320617661696c60008201527f61626c6500000000000000000000000000000000000000000000000000000000602082015250565b6000614f7f602483613b02565b9150614f8a82614f23565b604082019050919050565b60006020820190508181036000830152614fae81614f72565b9050919050565b7f4e6f7420656e6f756768207477656e74792063617264207061636b732061766160008201527f696c61626c650000000000000000000000000000000000000000000000000000602082015250565b6000615011602683613b02565b915061501c82614fb5565b604082019050919050565b6000602082019050818103600083015261504081615004565b9050919050565b600081905092915050565b6000819050919050565b61506581613904565b82525050565b6000615077838361505c565b60208301905092915050565b6000615092602084018461392d565b905092915050565b6000602082019050919050565b60006150b38385615047565b93506150be82615052565b8060005b858110156150f7576150d48284615083565b6150de888261506b565b97506150e98361509a565b9250506001810190506150c2565b5085925050509392505050565b60006151118284866150a7565b91508190509392505050565b600080fd5b600061512e83856140a2565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8311156151615761516061511d565b5b602083029250615172838584613e0e565b82840190509392505050565b60006040820190508181036000830152615199818688615122565b905081810360208301526151ae818486615122565b905095945050505050565b600081519050919050565b6000819050602082019050919050565b6000602082019050919050565b60006151ec826151b9565b6151f68185615047565b9350615201836151c4565b8060005b83811015615232578151615219888261506b565b9750615224836151d4565b925050600181019050615205565b5085935050505092915050565b600061524b82846151e1565b915081905092915050565b7f546f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b600061528c601483613b02565b915061529782615256565b602082019050919050565b600060208201905081810360008301526152bb8161527f565b9050919050565b600081905092915050565b600081546152da8161487c565b6152e481866152c2565b945060018216600081146152ff576001811461531057615343565b60ff19831686528186019350615343565b61531985614c52565b60005b8381101561533b5781548189015260018201915060208101905061531c565b838801955050505b50505092915050565b600061535782613af7565b61536181856152c2565b9350615371818560208601613b13565b80840191505092915050565b600061538982856152cd565b9150615395828461534c565b91508190509392505050565b7f496e76616c6964206172726179206c656e677468000000000000000000000000600082015250565b60006153d7601483613b02565b91506153e2826153a1565b602082019050919050565b60006020820190508181036000830152615406816153ca565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615469602683613b02565b91506154748261540d565b604082019050919050565b600060208201905081810360008301526154988161545c565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006154d5602083613b02565b91506154e08261549f565b602082019050919050565b60006020820190508181036000830152615504816154c8565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000615567602383613b02565b91506155728261550b565b604082019050919050565b600060208201905081810360008301526155968161555a565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b60006155f9602483613b02565b91506156048261559d565b604082019050919050565b60006020820190508181036000830152615628816155ec565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061568b602883613b02565b91506156968261562f565b604082019050919050565b600060208201905081810360008301526156ba8161567e565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061571d602583613b02565b9150615728826156c1565b604082019050919050565b6000602082019050818103600083015261574c81615710565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006157af602a83613b02565b91506157ba82615753565b604082019050919050565b600060208201905081810360008301526157de816157a2565b9050919050565b600060408201905081810360008301526157ff81856140f7565b9050818103602083015261581381846140f7565b90509392505050565b7f596f75206e65656420746f206275792061746c65617374206f6e65206361726460008201527f207061636b000000000000000000000000000000000000000000000000000000602082015250565b6000615878602583613b02565b91506158838261581c565b604082019050919050565b600060208201905081810360008301526158a78161586b565b9050919050565b60006158b982613942565b91506158c483613942565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156158fd576158fc614972565b5b828202905092915050565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b600061593e601283613b02565b915061594982615908565b602082019050919050565b6000602082019050818103600083015261596d81615931565b9050919050565b7f4e6f7420656e6f756768207061636b6167657320617661696c61626c65000000600082015250565b60006159aa601d83613b02565b91506159b582615974565b602082019050919050565b600060208201905081810360008301526159d98161599d565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000615a3c602183613b02565b9150615a47826159e0565b604082019050919050565b60006020820190508181036000830152615a6b81615a2f565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000615ace602983613b02565b9150615ad982615a72565b604082019050919050565b60006020820190508181036000830152615afd81615ac1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615b3e82613942565b9150615b4983613942565b925082615b5957615b58615b04565b5b828204905092915050565b6000615b6f82613942565b9150615b7a83613942565b925082615b8a57615b89615b04565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000615bbc82615b95565b615bc68185615ba0565b9350615bd6818560208601613b13565b615bdf81613b46565b840191505092915050565b600060a082019050615bff60008301886145de565b615c0c60208301876145de565b8181036040830152615c1e81866140f7565b90508181036060830152615c3281856140f7565b90508181036080830152615c468184615bb1565b90509695505050505050565b600081519050615c6181613a3b565b92915050565b600060208284031215615c7d57615c7c6138da565b5b6000615c8b84828501615c52565b91505092915050565b60008160e01c9050919050565b600060033d1115615cc05760046000803e615cbd600051615c94565b90505b90565b600060443d1015615cd357615d56565b615cdb6138d0565b60043d036004823e80513d602482011167ffffffffffffffff82111715615d03575050615d56565b808201805167ffffffffffffffff811115615d215750505050615d56565b80602083010160043d038501811115615d3e575050505050615d56565b615d4d82602001850186613be6565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000615db5603483613b02565b9150615dc082615d59565b604082019050919050565b60006020820190508181036000830152615de481615da8565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000615e47602883613b02565b9150615e5282615deb565b604082019050919050565b60006020820190508181036000830152615e7681615e3a565b9050919050565b600060a082019050615e9260008301886145de565b615e9f60208301876145de565b615eac60408301866139b8565b615eb960608301856139b8565b8181036080830152615ecb8184615bb1565b9050969550505050505056fea2646970667358221220cecc4a735a10748c7c52323d13ffb485c4cd16be56117db3c89575fece51b2f464736f6c6343000809003300000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000008c000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000016345785d8a000000000000000000000000000000000000000000000000000006f05b59d3b200000000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000a63fe6a745447952d964ca4f02b917da60bcbc70000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d61766662663747464c34313970646f536d4d4b69336155474e4a43416f3742625463724c364341356f6b61612f00000000000000000000
Deployed Bytecode
0x6080604052600436106102455760003560e01c8063715018a611610139578063a22cb465116100b6578063cb1335c51161007a578063cb1335c514610897578063e985e9c5146108c0578063f242432a146108fd578063f2fde38b14610926578063f5298aca1461094f578063f58733441461097857610245565b8063a22cb4651461079e578063bd85b039146107c7578063c2dced3c14610804578063c4e41b221461082f578063c87b56dd1461085a57610245565b80638da5cb5b116100fd5780638da5cb5b146106c957806397db4fe3146106f45780639b5569571461071f5780639bc9cc881461074a5780639c23be4e1461077557610245565b8063715018a6146105f6578063720224511461060d57806378416adb14610638578063841718a6146106755780638488bb4e1461069e57610245565b80634385170f116101c757806365cab5e01161018b57806365cab5e01461052757806368428a1b146105505780636a78f2271461057b5780636b20c454146105a45780636b8f9c43146105cd57610245565b80634385170f1461044c57806344f03900146104685780634e1273f41461048457806355f804b3146104c15780635e67b0d6146104ea57610245565b806320fe8e6e1161020e57806320fe8e6e146103675780632eb2c2d6146103a45780633ad7f56c146103cd5780633af32abf146103f85780633ccfd60b1461043557610245565b8062fdd58e1461024a57806301bf66481461028757806301ffc9a7146102b05780630e89341c146102ed5780630f5d66e01461032a575b600080fd5b34801561025657600080fd5b50610271600480360381019061026c9190613978565b6109a3565b60405161027e91906139c7565b60405180910390f35b34801561029357600080fd5b506102ae60048036038101906102a991906139e2565b610a6c565b005b3480156102bc57600080fd5b506102d760048036038101906102d29190613a67565b610acf565b6040516102e49190613aaf565b60405180910390f35b3480156102f957600080fd5b50610314600480360381019061030f9190613aca565b610bb1565b6040516103219190613b90565b60405180910390f35b34801561033657600080fd5b50610351600480360381019061034c9190613ce8565b610c45565b60405161035e9190613aaf565b60405180910390f35b34801561037357600080fd5b5061038e60048036038101906103899190613aca565b610da7565b60405161039b91906139c7565b60405180910390f35b3480156103b057600080fd5b506103cb60048036038101906103c69190613e8d565b610dbf565b005b3480156103d957600080fd5b506103e2610e60565b6040516103ef9190613aaf565b60405180910390f35b34801561040457600080fd5b5061041f600480360381019061041a91906139e2565b610e73565b60405161042c9190613aaf565b60405180910390f35b34801561044157600080fd5b5061044a610ec9565b005b61046660048036038101906104619190613ce8565b610f42565b005b610482600480360381019061047d9190613ce8565b611040565b005b34801561049057600080fd5b506104ab60048036038101906104a6919061401f565b61109b565b6040516104b89190614155565b60405180910390f35b3480156104cd57600080fd5b506104e860048036038101906104e39190614218565b6111b4565b005b3480156104f657600080fd5b50610511600480360381019061050c9190613aca565b61120e565b60405161051e91906139c7565b60405180910390f35b34801561053357600080fd5b5061054e60048036038101906105499190614312565b611249565b005b34801561055c57600080fd5b506105656116d6565b6040516105729190613aaf565b60405180910390f35b34801561058757600080fd5b506105a2600480360381019061059d91906143f2565b6116e9565b005b3480156105b057600080fd5b506105cb60048036038101906105c6919061441f565b611745565b005b3480156105d957600080fd5b506105f460048036038101906105ef91906144e8565b6117e2565b005b34801561060257600080fd5b5061060b61182e565b005b34801561061957600080fd5b50610622611842565b60405161062f9190614599565b60405180910390f35b34801561064457600080fd5b5061065f600480360381019061065a9190613aca565b6118a5565b60405161066c91906139c7565b60405180910390f35b34801561068157600080fd5b5061069c600480360381019061069791906143f2565b6118bd565b005b3480156106aa57600080fd5b506106b3611919565b6040516106c091906145c3565b60405180910390f35b3480156106d557600080fd5b506106de61193f565b6040516106eb91906145ed565b60405180910390f35b34801561070057600080fd5b50610709611969565b6040516107169190613aaf565b60405180910390f35b34801561072b57600080fd5b50610734611980565b60405161074191906139c7565b60405180910390f35b34801561075657600080fd5b5061075f611985565b60405161076c9190613aaf565b60405180910390f35b34801561078157600080fd5b5061079c60048036038101906107979190614608565b61199c565b005b3480156107aa57600080fd5b506107c560048036038101906107c09190614651565b611a7b565b005b3480156107d357600080fd5b506107ee60048036038101906107e99190613aca565b611a91565b6040516107fb91906139c7565b60405180910390f35b34801561081057600080fd5b50610819611aa9565b60405161082691906139c7565b60405180910390f35b34801561083b57600080fd5b50610844611aae565b6040516108519190614599565b60405180910390f35b34801561086657600080fd5b50610881600480360381019061087c9190613aca565b611b11565b60405161088e9190613b90565b60405180910390f35b3480156108a357600080fd5b506108be60048036038101906108b99190613ce8565b611b9b565b005b3480156108cc57600080fd5b506108e760048036038101906108e29190614691565b611cb2565b6040516108f49190613aaf565b60405180910390f35b34801561090957600080fd5b50610924600480360381019061091f91906146d1565b611d46565b005b34801561093257600080fd5b5061094d600480360381019061094891906139e2565b611de7565b005b34801561095b57600080fd5b5061097660048036038101906109719190614768565b611e6b565b005b34801561098457600080fd5b5061098d611f08565b60405161099a91906139c7565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0b9061482d565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610a74611f0d565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b9a57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610baa5750610ba982611f8b565b5b9050919050565b606060028054610bc09061487c565b80601f0160208091040260200160405190810160405280929190818152602001828054610bec9061487c565b8015610c395780601f10610c0e57610100808354040283529160200191610c39565b820191906000526020600020905b815481529060010190602001808311610c1c57829003601f168201915b50505050509050919050565b6000806040518060600160405280610c5e3260006109a3565b8152602001610c6e3260016109a3565b8152602001610c7e3260026109a3565b815250905060005b6003811015610d9c57838160038110610ca257610ca16148ae565b5b6020020151828260038110610cba57610cb96148ae565b5b60200201511015610d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf790614929565b60405180910390fd5b610d223282868460038110610d1857610d176148ae565b5b6020020151611ff5565b3273ffffffffffffffffffffffffffffffffffffffff167f4edabdaacf0790c8f7419e5e884fff31b85fe00cebea263cef250115a9b06b73858360038110610d6d57610d6c6148ae565b5b602002015183604051610d81929190614949565b60405180910390a28080610d94906149a1565b915050610c86565b506001915050919050565b60056020528060005260406000206000915090505481565b610dc761223c565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610e0d5750610e0c85610e0761223c565b611cb2565b5b610e4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4390614a5c565b60405180910390fd5b610e598585858585612244565b5050505050565b600460159054906101000a900460ff1681565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b610ed1611f0d565b6000479050600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610f3e573d6000803e3d6000fd5b5050565b600460159054906101000a900460ff1680610f695750600460149054906101000a900460ff165b610fa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9f90614ac8565b60405180910390fd5b600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611034576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102b90614b34565b60405180910390fd5b61103d81612566565b50565b600460149054906101000a900460ff1661108f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108690614ba0565b60405180910390fd5b61109881612566565b50565b606081518351146110e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d890614c32565b60405180910390fd5b6000835167ffffffffffffffff8111156110fe576110fd613bb7565b5b60405190808252806020026020018201604052801561112c5781602001602082028036833780820191505090505b50905060005b84518110156111a957611179858281518110611151576111506148ae565b5b602002602001015185838151811061116c5761116b6148ae565b5b60200260200101516109a3565b82828151811061118c5761118b6148ae565b5b602002602001018181525050806111a2906149a1565b9050611132565b508091505092915050565b6111bc611f0d565b80600990805190602001906111d292919061380b565b507fec7aa76ee322bd9ff6b9f70d62a749a4bfadba7751d8b4bb089b22ff0ed09bd260096040516112039190614ce7565b60405180910390a150565b6000600660008381526020019081526020016000205460076000848152602001908152602001600020546112429190614d09565b9050919050565b611251611f0d565b838390508686905014801561126b57508181905086869050145b6112aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a190614daf565b60405180910390fd5b6000806000805b898990508110156113f65760008888838181106112d1576112d06148ae565b5b90506020020135141561130a578585828181106112f1576112f06148ae565b5b90506020020135846113039190614dcf565b93506113e3565b600188888381811061131f5761131e6148ae565b5b9050602002013514156113585785858281811061133f5761133e6148ae565b5b90506020020135836113519190614dcf565b92506113e2565b600288888381811061136d5761136c6148ae565b5b9050602002013514156113a65785858281811061138d5761138c6148ae565b5b905060200201358261139f9190614dcf565b91506113e1565b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d890614e71565b60405180910390fd5b5b5b80806113ee906149a1565b9150506112b1565b50611401600061120e565b831115611443576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143a90614f03565b60405180910390fd5b61144d600161120e565b82111561148f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148690614f95565b60405180910390fd5b611499600261120e565b8111156114db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d290615027565b60405180910390fd5b60005b898990508110156116755761155d8a8a838181106114ff576114fe6148ae565b5b905060200201602081019061151491906139e2565b898984818110611527576115266148ae565b5b90506020020135888885818110611541576115406148ae565b5b90506020020135604051806020016040528060008152506128e0565b8585828181106115705761156f6148ae565b5b90506020020135600660008a8a8581811061158e5761158d6148ae565b5b90506020020135815260200190815260200160002060008282546115b29190614dcf565b925050819055508989828181106115cc576115cb6148ae565b5b90506020020160208101906115e191906139e2565b73ffffffffffffffffffffffffffffffffffffffff167fda5296545baed51f8de16779791781dc3fc9b238a62220dfb361c86a84e53ff989898481811061162b5761162a6148ae565b5b90506020020135888885818110611645576116446148ae565b5b9050602002013560405161165a929190614949565b60405180910390a2808061166d906149a1565b9150506114de565b508888604051611686929190615104565b60405180910390207ffa4e5edd00fcf513aed2e6021de800ae69350eb606a400ce0ba0702f6dbe68a6888888886040516116c3949392919061517e565b60405180910390a2505050505050505050565b600460149054906101000a900460ff1681565b6116f1611f0d565b80600460156101000a81548160ff0219169083151502179055507f385b12dc4f5df3afd686346d723ade8f311f00e5b7dadb60c0a1c6ae1ee739e48160405161173a9190613aaf565b60405180910390a150565b61174d61223c565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061179357506117928361178d61223c565b611cb2565b5b6117d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c990614a5c565b60405180910390fd5b6117dd838383612a91565b505050565b6117ea611f0d565b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611836611f0d565b6118406000612d60565b565b61184a613891565b6040518060600160405280600560008081526020019081526020016000205481526020016005600060018152602001908152602001600020548152602001600560006002815260200190815260200160002054815250905090565b60076020528060005260406000206000915090505481565b6118c5611f0d565b80600460146101000a81548160ff0219169083151502179055507fe8a4303c22d8b575a6f175ea4803f56b0a4551ac9e22153304feb0ddfd6143558160405161190e9190613aaf565b60405180910390a150565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600460149054906101000a900460ff16905090565b600281565b6000600460159054906101000a900460ff16905090565b6119a4611f0d565b60005b8151811015611a35576001600860008484815181106119c9576119c86148ae565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611a2d906149a1565b9150506119a7565b5080604051611a44919061523f565b60405180910390207fa9fae9e5321f5de47ae7fbd85580ea00ad0829d0ab433fe0ad12b6c7b17baff460405160405180910390a250565b611a8d611a8661223c565b8383612e26565b5050565b60066020528060005260406000206000915090505481565b600081565b611ab6613891565b6040518060600160405280600660008081526020019081526020016000205481526020016006600060018152602001908152602001600020548152602001600660006002815260200190815260200160002054815250905090565b60606000600660008481526020019081526020016000205411611b69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b60906152a2565b60405180910390fd5b6009611b7483612f93565b604051602001611b8592919061537d565b6040516020818303038152906040529050919050565b611ba3611f0d565b60038014611be6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdd906153ed565b60405180910390fd5b80600060038110611bfa57611bf96148ae565b5b6020020151600560008081526020019081526020016000208190555080600160038110611c2a57611c296148ae565b5b602002015160056000600181526020019081526020016000208190555080600260038110611c5b57611c5a6148ae565b5b60200201516005600060028152602001908152602001600020819055507fd96b8d8af72c14d8121561b8f05718358157d66da9fb124d7c8aa0e4e7f4a0cf81604051611ca79190614599565b60405180910390a150565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d4e61223c565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611d945750611d9385611d8e61223c565b611cb2565b5b611dd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dca90614a5c565b60405180910390fd5b611de085858585856130f4565b5050505050565b611def611f0d565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e569061547f565b60405180910390fd5b611e6881612d60565b50565b611e7361223c565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480611eb95750611eb883611eb361223c565b611cb2565b5b611ef8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eef90614a5c565b60405180910390fd5b611f03838383611ff5565b505050565b600181565b611f1561223c565b73ffffffffffffffffffffffffffffffffffffffff16611f3361193f565b73ffffffffffffffffffffffffffffffffffffffff1614611f89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f80906154eb565b60405180910390fd5b565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612065576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205c9061557d565b60405180910390fd5b600061206f61223c565b9050600061207c84613390565b9050600061208984613390565b90506120a98387600085856040518060200160405280600081525061340a565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015612140576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121379061560f565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62898960405161220d929190614949565b60405180910390a461223384886000868660405180602001604052806000815250613412565b50505050505050565b600033905090565b8151835114612288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227f906156a1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156122f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ef90615733565b60405180910390fd5b600061230261223c565b905061231281878787878761340a565b60005b84518110156124c3576000858281518110612333576123326148ae565b5b602002602001015190506000858381518110612352576123516148ae565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156123f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ea906157c5565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124a89190614dcf565b92505081905550505050806124bc906149a1565b9050612315565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161253a9291906157e5565b60405180910390a4612550818787878787613412565b61255e81878787878761341a565b505050505050565b60008160006003811061257c5761257b6148ae565b5b602002015111806125a5575060008160016003811061259e5761259d6148ae565b5b6020020151115b806125c857506000816002600381106125c1576125c06148ae565b5b6020020151115b612607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125fe9061588e565b60405180910390fd5b8060026003811061261b5761261a6148ae565b5b602002015160056000600281526020019081526020016000205461263f91906158ae565b81600160038110612653576126526148ae565b5b602002015160056000600181526020019081526020016000205461267791906158ae565b8260006003811061268b5761268a6148ae565b5b602002015160056000808152602001908152602001600020546126ae91906158ae565b6126b89190614dcf565b6126c29190614dcf565b341015612704576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126fb90615954565b60405180910390fd5b80600060038110612718576127176148ae565b5b6020020151612727600061120e565b10158015612756575080600160038110612744576127436148ae565b5b6020020151612753600161120e565b10155b8015612783575080600260038110612771576127706148ae565b5b6020020151612780600261120e565b10155b6127c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b9906159c0565b60405180910390fd5b60005b60038110156128dc5760008282600381106127e3576127e26148ae565b5b602002015111156128c9576128203382848460038110612806576128056148ae565b5b6020020151604051806020016040528060008152506128e0565b818160038110612833576128326148ae565b5b602002015160066000838152602001908152602001600020600082825461285a9190614dcf565b925050819055503373ffffffffffffffffffffffffffffffffffffffff167f2a4ae543db367672c5d2903cf8952fe8a4513dea266b22e801b51984c3d37830828484600381106128ad576128ac6148ae565b5b60200201516040516128c0929190614949565b60405180910390a25b80806128d4906149a1565b9150506127c5565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612950576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294790615a52565b60405180910390fd5b600061295a61223c565b9050600061296785613390565b9050600061297485613390565b90506129858360008985858961340a565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129e49190614dcf565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612a62929190614949565b60405180910390a4612a7983600089858589613412565b612a8883600089898989613601565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af89061557d565b60405180910390fd5b8051825114612b45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3c906156a1565b60405180910390fd5b6000612b4f61223c565b9050612b6f8185600086866040518060200160405280600081525061340a565b60005b8351811015612cbc576000848281518110612b9057612b8f6148ae565b5b602002602001015190506000848381518110612baf57612bae6148ae565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612c50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c479061560f565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080612cb4906149a1565b915050612b72565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051612d349291906157e5565b60405180910390a4612d5a81856000868660405180602001604052806000815250613412565b50505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8c90615ae4565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612f869190613aaf565b60405180910390a3505050565b60606000821415612fdb576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506130ef565b600082905060005b6000821461300d578080612ff6906149a1565b915050600a826130069190615b33565b9150612fe3565b60008167ffffffffffffffff81111561302957613028613bb7565b5b6040519080825280601f01601f19166020018201604052801561305b5781602001600182028036833780820191505090505b5090505b600085146130e8576001826130749190614d09565b9150600a856130839190615b64565b603061308f9190614dcf565b60f81b8183815181106130a5576130a46148ae565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130e19190615b33565b945061305f565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315b90615733565b60405180910390fd5b600061316e61223c565b9050600061317b85613390565b9050600061318885613390565b905061319883898985858961340a565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508581101561322f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613226906157c5565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132e49190614dcf565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051613361929190614949565b60405180910390a4613377848a8a86868a613412565b613385848a8a8a8a8a613601565b505050505050505050565b60606000600167ffffffffffffffff8111156133af576133ae613bb7565b5b6040519080825280602002602001820160405280156133dd5781602001602082028036833780820191505090505b50905082816000815181106133f5576133f46148ae565b5b60200260200101818152505080915050919050565b505050505050565b505050505050565b6134398473ffffffffffffffffffffffffffffffffffffffff166137e8565b156135f9578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161347f959493929190615bea565b602060405180830381600087803b15801561349957600080fd5b505af19250505080156134ca57506040513d601f19601f820116820180604052508101906134c79190615c67565b60015b613570576134d6615ca1565b806308c379a0141561353357506134eb615cc3565b806134f65750613535565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352a9190613b90565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161356790615dcb565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146135f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135ee90615e5d565b60405180910390fd5b505b505050505050565b6136208473ffffffffffffffffffffffffffffffffffffffff166137e8565b156137e0578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401613666959493929190615e7d565b602060405180830381600087803b15801561368057600080fd5b505af19250505080156136b157506040513d601f19601f820116820180604052508101906136ae9190615c67565b60015b613757576136bd615ca1565b806308c379a0141561371a57506136d2615cc3565b806136dd575061371c565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137119190613b90565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161374e90615dcb565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146137de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137d590615e5d565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546138179061487c565b90600052602060002090601f0160209004810192826138395760008555613880565b82601f1061385257805160ff1916838001178555613880565b82800160010185558215613880579182015b8281111561387f578251825591602001919060010190613864565b5b50905061388d91906138b3565b5090565b6040518060600160405280600390602082028036833780820191505090505090565b5b808211156138cc5760008160009055506001016138b4565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061390f826138e4565b9050919050565b61391f81613904565b811461392a57600080fd5b50565b60008135905061393c81613916565b92915050565b6000819050919050565b61395581613942565b811461396057600080fd5b50565b6000813590506139728161394c565b92915050565b6000806040838503121561398f5761398e6138da565b5b600061399d8582860161392d565b92505060206139ae85828601613963565b9150509250929050565b6139c181613942565b82525050565b60006020820190506139dc60008301846139b8565b92915050565b6000602082840312156139f8576139f76138da565b5b6000613a068482850161392d565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613a4481613a0f565b8114613a4f57600080fd5b50565b600081359050613a6181613a3b565b92915050565b600060208284031215613a7d57613a7c6138da565b5b6000613a8b84828501613a52565b91505092915050565b60008115159050919050565b613aa981613a94565b82525050565b6000602082019050613ac46000830184613aa0565b92915050565b600060208284031215613ae057613adf6138da565b5b6000613aee84828501613963565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613b31578082015181840152602081019050613b16565b83811115613b40576000848401525b50505050565b6000601f19601f8301169050919050565b6000613b6282613af7565b613b6c8185613b02565b9350613b7c818560208601613b13565b613b8581613b46565b840191505092915050565b60006020820190508181036000830152613baa8184613b57565b905092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613bef82613b46565b810181811067ffffffffffffffff82111715613c0e57613c0d613bb7565b5b80604052505050565b6000613c216138d0565b9050613c2d8282613be6565b919050565b600067ffffffffffffffff821115613c4d57613c4c613bb7565b5b602082029050919050565b600080fd5b6000613c70613c6b84613c32565b613c17565b90508060208402830185811115613c8a57613c89613c58565b5b835b81811015613cb35780613c9f8882613963565b845260208401935050602081019050613c8c565b5050509392505050565b600082601f830112613cd257613cd1613bb2565b5b6003613cdf848285613c5d565b91505092915050565b600060608284031215613cfe57613cfd6138da565b5b6000613d0c84828501613cbd565b91505092915050565b600067ffffffffffffffff821115613d3057613d2f613bb7565b5b602082029050602081019050919050565b6000613d54613d4f84613d15565b613c17565b90508083825260208201905060208402830185811115613d7757613d76613c58565b5b835b81811015613da05780613d8c8882613963565b845260208401935050602081019050613d79565b5050509392505050565b600082601f830112613dbf57613dbe613bb2565b5b8135613dcf848260208601613d41565b91505092915050565b600080fd5b600067ffffffffffffffff821115613df857613df7613bb7565b5b613e0182613b46565b9050602081019050919050565b82818337600083830152505050565b6000613e30613e2b84613ddd565b613c17565b905082815260208101848484011115613e4c57613e4b613dd8565b5b613e57848285613e0e565b509392505050565b600082601f830112613e7457613e73613bb2565b5b8135613e84848260208601613e1d565b91505092915050565b600080600080600060a08688031215613ea957613ea86138da565b5b6000613eb78882890161392d565b9550506020613ec88882890161392d565b945050604086013567ffffffffffffffff811115613ee957613ee86138df565b5b613ef588828901613daa565b935050606086013567ffffffffffffffff811115613f1657613f156138df565b5b613f2288828901613daa565b925050608086013567ffffffffffffffff811115613f4357613f426138df565b5b613f4f88828901613e5f565b9150509295509295909350565b600067ffffffffffffffff821115613f7757613f76613bb7565b5b602082029050602081019050919050565b6000613f9b613f9684613f5c565b613c17565b90508083825260208201905060208402830185811115613fbe57613fbd613c58565b5b835b81811015613fe75780613fd3888261392d565b845260208401935050602081019050613fc0565b5050509392505050565b600082601f83011261400657614005613bb2565b5b8135614016848260208601613f88565b91505092915050565b60008060408385031215614036576140356138da565b5b600083013567ffffffffffffffff811115614054576140536138df565b5b61406085828601613ff1565b925050602083013567ffffffffffffffff811115614081576140806138df565b5b61408d85828601613daa565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6140cc81613942565b82525050565b60006140de83836140c3565b60208301905092915050565b6000602082019050919050565b600061410282614097565b61410c81856140a2565b9350614117836140b3565b8060005b8381101561414857815161412f88826140d2565b975061413a836140ea565b92505060018101905061411b565b5085935050505092915050565b6000602082019050818103600083015261416f81846140f7565b905092915050565b600067ffffffffffffffff82111561419257614191613bb7565b5b61419b82613b46565b9050602081019050919050565b60006141bb6141b684614177565b613c17565b9050828152602081018484840111156141d7576141d6613dd8565b5b6141e2848285613e0e565b509392505050565b600082601f8301126141ff576141fe613bb2565b5b813561420f8482602086016141a8565b91505092915050565b60006020828403121561422e5761422d6138da565b5b600082013567ffffffffffffffff81111561424c5761424b6138df565b5b614258848285016141ea565b91505092915050565b600080fd5b60008083601f84011261427c5761427b613bb2565b5b8235905067ffffffffffffffff81111561429957614298614261565b5b6020830191508360208202830111156142b5576142b4613c58565b5b9250929050565b60008083601f8401126142d2576142d1613bb2565b5b8235905067ffffffffffffffff8111156142ef576142ee614261565b5b60208301915083602082028301111561430b5761430a613c58565b5b9250929050565b6000806000806000806060878903121561432f5761432e6138da565b5b600087013567ffffffffffffffff81111561434d5761434c6138df565b5b61435989828a01614266565b9650965050602087013567ffffffffffffffff81111561437c5761437b6138df565b5b61438889828a016142bc565b9450945050604087013567ffffffffffffffff8111156143ab576143aa6138df565b5b6143b789828a016142bc565b92509250509295509295509295565b6143cf81613a94565b81146143da57600080fd5b50565b6000813590506143ec816143c6565b92915050565b600060208284031215614408576144076138da565b5b6000614416848285016143dd565b91505092915050565b600080600060608486031215614438576144376138da565b5b60006144468682870161392d565b935050602084013567ffffffffffffffff811115614467576144666138df565b5b61447386828701613daa565b925050604084013567ffffffffffffffff811115614494576144936138df565b5b6144a086828701613daa565b9150509250925092565b60006144b5826138e4565b9050919050565b6144c5816144aa565b81146144d057600080fd5b50565b6000813590506144e2816144bc565b92915050565b6000602082840312156144fe576144fd6138da565b5b600061450c848285016144d3565b91505092915050565b600060039050919050565b600081905092915050565b6000819050919050565b6000602082019050919050565b61454b81614515565b6145558184614520565b92506145608261452b565b8060005b8381101561459157815161457887826140d2565b965061458383614535565b925050600181019050614564565b505050505050565b60006060820190506145ae6000830184614542565b92915050565b6145bd816144aa565b82525050565b60006020820190506145d860008301846145b4565b92915050565b6145e781613904565b82525050565b600060208201905061460260008301846145de565b92915050565b60006020828403121561461e5761461d6138da565b5b600082013567ffffffffffffffff81111561463c5761463b6138df565b5b61464884828501613ff1565b91505092915050565b60008060408385031215614668576146676138da565b5b60006146768582860161392d565b9250506020614687858286016143dd565b9150509250929050565b600080604083850312156146a8576146a76138da565b5b60006146b68582860161392d565b92505060206146c78582860161392d565b9150509250929050565b600080600080600060a086880312156146ed576146ec6138da565b5b60006146fb8882890161392d565b955050602061470c8882890161392d565b945050604061471d88828901613963565b935050606061472e88828901613963565b925050608086013567ffffffffffffffff81111561474f5761474e6138df565b5b61475b88828901613e5f565b9150509295509295909350565b600080600060608486031215614781576147806138da565b5b600061478f8682870161392d565b93505060206147a086828701613963565b92505060406147b186828701613963565b9150509250925092565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000614817602a83613b02565b9150614822826147bb565b604082019050919050565b600060208201905081810360008301526148468161480a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061489457607f821691505b602082108114156148a8576148a761484d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e6f7420656e6f7567682063617264207061636b730000000000000000000000600082015250565b6000614913601583613b02565b915061491e826148dd565b602082019050919050565b6000602082019050818103600083015261494281614906565b9050919050565b600060408201905061495e60008301856139b8565b61496b60208301846139b8565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006149ac82613942565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156149df576149de614972565b5b600182019050919050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b6000614a46602f83613b02565b9150614a51826149ea565b604082019050919050565b60006020820190508181036000830152614a7581614a39565b9050919050565b7f57686974656c6973742073616c65206973206e6f742061637469766500000000600082015250565b6000614ab2601c83613b02565b9150614abd82614a7c565b602082019050919050565b60006020820190508181036000830152614ae181614aa5565b9050919050565b7f4e6f742077686974656c69737465640000000000000000000000000000000000600082015250565b6000614b1e600f83613b02565b9150614b2982614ae8565b602082019050919050565b60006020820190508181036000830152614b4d81614b11565b9050919050565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b6000614b8a601283613b02565b9150614b9582614b54565b602082019050919050565b60006020820190508181036000830152614bb981614b7d565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000614c1c602983613b02565b9150614c2782614bc0565b604082019050919050565b60006020820190508181036000830152614c4b81614c0f565b9050919050565b60008190508160005260206000209050919050565b60008154614c748161487c565b614c7e8186613b02565b94506001821660008114614c995760018114614cab57614cde565b60ff1983168652602086019350614cde565b614cb485614c52565b60005b83811015614cd657815481890152600182019150602081019050614cb7565b808801955050505b50505092915050565b60006020820190508181036000830152614d018184614c67565b905092915050565b6000614d1482613942565b9150614d1f83613942565b925082821015614d3257614d31614972565b5b828203905092915050565b7f496e70757420617272617973206d757374206265206f662073616d65206c656e60008201527f6774680000000000000000000000000000000000000000000000000000000000602082015250565b6000614d99602383613b02565b9150614da482614d3d565b604082019050919050565b60006020820190508181036000830152614dc881614d8c565b9050919050565b6000614dda82613942565b9150614de583613942565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e1a57614e19614972565b5b828201905092915050565b7f5061636b6167652074797065204944206973206e6f742076616c696400000000600082015250565b6000614e5b601c83613b02565b9150614e6682614e25565b602082019050919050565b60006020820190508181036000830152614e8a81614e4e565b9050919050565b7f4e6f7420656e6f756768206f6e652063617264207061636b7320617661696c6160008201527f626c650000000000000000000000000000000000000000000000000000000000602082015250565b6000614eed602383613b02565b9150614ef882614e91565b604082019050919050565b60006020820190508181036000830152614f1c81614ee0565b9050919050565b7f4e6f7420656e6f75676820666976652063617264207061636b7320617661696c60008201527f61626c6500000000000000000000000000000000000000000000000000000000602082015250565b6000614f7f602483613b02565b9150614f8a82614f23565b604082019050919050565b60006020820190508181036000830152614fae81614f72565b9050919050565b7f4e6f7420656e6f756768207477656e74792063617264207061636b732061766160008201527f696c61626c650000000000000000000000000000000000000000000000000000602082015250565b6000615011602683613b02565b915061501c82614fb5565b604082019050919050565b6000602082019050818103600083015261504081615004565b9050919050565b600081905092915050565b6000819050919050565b61506581613904565b82525050565b6000615077838361505c565b60208301905092915050565b6000615092602084018461392d565b905092915050565b6000602082019050919050565b60006150b38385615047565b93506150be82615052565b8060005b858110156150f7576150d48284615083565b6150de888261506b565b97506150e98361509a565b9250506001810190506150c2565b5085925050509392505050565b60006151118284866150a7565b91508190509392505050565b600080fd5b600061512e83856140a2565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8311156151615761516061511d565b5b602083029250615172838584613e0e565b82840190509392505050565b60006040820190508181036000830152615199818688615122565b905081810360208301526151ae818486615122565b905095945050505050565b600081519050919050565b6000819050602082019050919050565b6000602082019050919050565b60006151ec826151b9565b6151f68185615047565b9350615201836151c4565b8060005b83811015615232578151615219888261506b565b9750615224836151d4565b925050600181019050615205565b5085935050505092915050565b600061524b82846151e1565b915081905092915050565b7f546f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b600061528c601483613b02565b915061529782615256565b602082019050919050565b600060208201905081810360008301526152bb8161527f565b9050919050565b600081905092915050565b600081546152da8161487c565b6152e481866152c2565b945060018216600081146152ff576001811461531057615343565b60ff19831686528186019350615343565b61531985614c52565b60005b8381101561533b5781548189015260018201915060208101905061531c565b838801955050505b50505092915050565b600061535782613af7565b61536181856152c2565b9350615371818560208601613b13565b80840191505092915050565b600061538982856152cd565b9150615395828461534c565b91508190509392505050565b7f496e76616c6964206172726179206c656e677468000000000000000000000000600082015250565b60006153d7601483613b02565b91506153e2826153a1565b602082019050919050565b60006020820190508181036000830152615406816153ca565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615469602683613b02565b91506154748261540d565b604082019050919050565b600060208201905081810360008301526154988161545c565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006154d5602083613b02565b91506154e08261549f565b602082019050919050565b60006020820190508181036000830152615504816154c8565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000615567602383613b02565b91506155728261550b565b604082019050919050565b600060208201905081810360008301526155968161555a565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b60006155f9602483613b02565b91506156048261559d565b604082019050919050565b60006020820190508181036000830152615628816155ec565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061568b602883613b02565b91506156968261562f565b604082019050919050565b600060208201905081810360008301526156ba8161567e565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061571d602583613b02565b9150615728826156c1565b604082019050919050565b6000602082019050818103600083015261574c81615710565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006157af602a83613b02565b91506157ba82615753565b604082019050919050565b600060208201905081810360008301526157de816157a2565b9050919050565b600060408201905081810360008301526157ff81856140f7565b9050818103602083015261581381846140f7565b90509392505050565b7f596f75206e65656420746f206275792061746c65617374206f6e65206361726460008201527f207061636b000000000000000000000000000000000000000000000000000000602082015250565b6000615878602583613b02565b91506158838261581c565b604082019050919050565b600060208201905081810360008301526158a78161586b565b9050919050565b60006158b982613942565b91506158c483613942565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156158fd576158fc614972565b5b828202905092915050565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b600061593e601283613b02565b915061594982615908565b602082019050919050565b6000602082019050818103600083015261596d81615931565b9050919050565b7f4e6f7420656e6f756768207061636b6167657320617661696c61626c65000000600082015250565b60006159aa601d83613b02565b91506159b582615974565b602082019050919050565b600060208201905081810360008301526159d98161599d565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000615a3c602183613b02565b9150615a47826159e0565b604082019050919050565b60006020820190508181036000830152615a6b81615a2f565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000615ace602983613b02565b9150615ad982615a72565b604082019050919050565b60006020820190508181036000830152615afd81615ac1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615b3e82613942565b9150615b4983613942565b925082615b5957615b58615b04565b5b828204905092915050565b6000615b6f82613942565b9150615b7a83613942565b925082615b8a57615b89615b04565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000615bbc82615b95565b615bc68185615ba0565b9350615bd6818560208601613b13565b615bdf81613b46565b840191505092915050565b600060a082019050615bff60008301886145de565b615c0c60208301876145de565b8181036040830152615c1e81866140f7565b90508181036060830152615c3281856140f7565b90508181036080830152615c468184615bb1565b90509695505050505050565b600081519050615c6181613a3b565b92915050565b600060208284031215615c7d57615c7c6138da565b5b6000615c8b84828501615c52565b91505092915050565b60008160e01c9050919050565b600060033d1115615cc05760046000803e615cbd600051615c94565b90505b90565b600060443d1015615cd357615d56565b615cdb6138d0565b60043d036004823e80513d602482011167ffffffffffffffff82111715615d03575050615d56565b808201805167ffffffffffffffff811115615d215750505050615d56565b80602083010160043d038501811115615d3e575050505050615d56565b615d4d82602001850186613be6565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000615db5603483613b02565b9150615dc082615d59565b604082019050919050565b60006020820190508181036000830152615de481615da8565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000615e47602883613b02565b9150615e5282615deb565b604082019050919050565b60006020820190508181036000830152615e7681615e3a565b9050919050565b600060a082019050615e9260008301886145de565b615e9f60208301876145de565b615eac60408301866139b8565b615eb960608301856139b8565b8181036080830152615ecb8184615bb1565b9050969550505050505056fea2646970667358221220cecc4a735a10748c7c52323d13ffb485c4cd16be56117db3c89575fece51b2f464736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000064000000000000000000000000000000000000000000000000000000000000008c000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000016345785d8a000000000000000000000000000000000000000000000000000006f05b59d3b200000000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000a63fe6a745447952d964ca4f02b917da60bcbc70000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d61766662663747464c34313970646f536d4d4b69336155474e4a43416f3742625463724c364341356f6b61612f00000000000000000000
-----Decoded View---------------
Arg [0] : baseUri_ (string): ipfs://Qmavfbf7GFL419pdoSmMKi3aUGNJCAo7BbTcrL6CA5okaa/
Arg [1] : supplyLimit_ (uint256[3]): 100,140,10
Arg [2] : packagePrice_ (uint256[3]): 100000000000000000,500000000000000000,1000000000000000000
Arg [3] : payoutWallet_ (address): 0x0A63FE6A745447952D964ca4f02B917Da60BCBc7
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [2] : 000000000000000000000000000000000000000000000000000000000000008c
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [4] : 000000000000000000000000000000000000000000000000016345785d8a0000
Arg [5] : 00000000000000000000000000000000000000000000000006f05b59d3b20000
Arg [6] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [7] : 0000000000000000000000000a63fe6a745447952d964ca4f02b917da60bcbc7
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [9] : 697066733a2f2f516d61766662663747464c34313970646f536d4d4b69336155
Arg [10] : 474e4a43416f3742625463724c364341356f6b61612f00000000000000000000
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.