ERC-1155
Overview
Max Total Supply
7,452 VXSL
Holders
1,922
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:
VoxSoulsLunchboxes
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** * db db .d88b. db db .d8888. .d88b. db db db .d8888. * 88 88 .8P Y8. `8b d8' 88' YP .8P Y8. 88 88 88 88' YP * Y8 8P 88 88 `8bd8' `8bo. 88 88 88 88 88 `8bo. * `8b d8' 88 88 .dPYb. `Y8b. 88 88 88 88 88 `Y8b. * `8bd8' `8b d8' .8P Y8. db 8D `8b d8' 88b d88 88booo. db 8D * YP `Y88P' YP YP `8888Y' `Y88P' ~Y8888P' Y88888P `8888Y' */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./signing.sol"; contract VoxSoulsLunchboxes is ERC1155, Ownable, Pausable, ReentrancyGuard, Signing { // _isMinted[contract][tokenId]=bool mapping(address => mapping(uint256 => bool)) private _isMinted; mapping(address => uint256) private _allowListCount; mapping(address => bool) private _allowList; uint256 private constant MAX_LUNCHBOXES = 26664; uint256 public maxAvailableLunchboxes = 2664; uint256 private currentLunchboxes; uint256 private currentSaleCount; string private name_ = "VoxSoulsLunchboxes"; string private symbol_ = "VXSL"; bool public allowListEvent; uint256 public cost = 0; event SoulMinted( address indexed owner, address _conract, uint256 tokenId, uint256 indexed soulId ); constructor(address _importantAddress, string memory _baseURI) ERC1155(_baseURI) Signing(_importantAddress) { importantAddress = _importantAddress; } /** * @notice Add an allow list * @param addresses The addresses to add to the allow list */ function setAllowList(address[] calldata addresses) public onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { _allowList[addresses[i]] = true; } } /** * @notice Remove an allow list address. * @param addr The address to remove from the allow list. */ function clearAllowList(address[] calldata addr) public onlyOwner { for (uint256 i = 0; i < addr.length; i++) { _allowList[addr[i]] = false; _allowListCount[addr[i]] = 0; } } /** * @notice Set the number of lunchboxes for sale. * @param _maxAvailableLunchboxes The number of lunchboxes for sale. * @dev The number of lunchboxes can not be more than MAX_LUNCHBOXES. * @dev The number of lunchboxes can not be less than 0. * @dev The number of lunchboxes for sale cannot be less than the quantity of lunchboxes already minted. */ function setMaxAvailableLunchboxes(uint256 _maxAvailableLunchboxes) public onlyOwner { require( _maxAvailableLunchboxes <= MAX_LUNCHBOXES, "Lunchboxes must <= 26664" ); require(_maxAvailableLunchboxes >= 0, "Lunchboxes must >= 0"); require( _maxAvailableLunchboxes >= currentLunchboxes, "Must >= currentLunchboxes" ); maxAvailableLunchboxes = _maxAvailableLunchboxes; } /** * @notice Set the cost of Mint. */ function setCost(uint256 _cost) public onlyOwner { cost = _cost; } /** * @notice start for allow list mint event */ function openAllowListMint() public onlyOwner { allowListEvent = true; } /** * @notice End allow list mint event */ function closeAllowListMint() public onlyOwner { allowListEvent = false; } /** * Set the base URI for the contract. */ function setURI(string memory newuri) public onlyOwner { _setURI(newuri); } /** * @notice Pause the contract Minting */ function pause() public onlyOwner { _pause(); } /** * @notice Unpause the contract Minting */ function unpause() public onlyOwner { _unpause(); } /** * @notice Get the base cost for minting a soul. */ function getCost() public view returns (uint256) { if (!allowListEvent) { return cost; } return 0; } /** * @notice Internal function to handle the mechanics of minting a new soul. * @param _contract The contract address. * @param id the VOX ID. * @param mintTime the time the VOX was minted. */ function _mintSoul( address account, address _contract, uint256 id, uint256 mintTime ) private { require(!_isMinted[_contract][id], "Lunchbox already minted."); require( currentLunchboxes + 1 <= MAX_LUNCHBOXES, "Max lunchboxes minted." ); // Check to see if we need to take the allowList event into accouont. if (allowListEvent) { require(_allowList[account], "Please wait for public mint!"); require( _allowListCount[account] <= 0, "Only One mint during the event!" ); _allowListCount[account] = 1; } else { require( currentSaleCount + 1 <= maxAvailableLunchboxes, "No more lunchboxes for sale." ); currentSaleCount++; } uint256 voxSign = (mintTime % 60) % 12; _isMinted[_contract][id] = true; currentLunchboxes++; _mint(account, voxSign, 1, "0x0"); emit SoulMinted(account, _contract, id, voxSign); } /** * @notice Mint a lunchbox! Create a new soul. * @dev Mint a lunchbox for the given mintTime seconds. * @dev Mint costs .08 ether. * @dev Check to make sure the token for contract has not minted a soul. * @param account The account that will own the lunchbox. * @param mintTime The mintTime seconds the Vox was minted. * @param _contract The Vox contract address. * @param id The VOX ID. * @param sig The transaction signature. */ function mintLunchbox( address account, address _contract, uint256 id, uint256 mintTime, bytes memory sig ) public payable nonReentrant whenNotPaused { bool isValid = isValidData(account, _contract, id, mintTime, sig); require(isValid, "Invalid signature"); require(msg.value == getCost(), "wrong eth value."); _mintSoul(account, _contract, id, mintTime); } /** * @notice Batch mint Lunchboxes! * @dev Requires valid signature. * @dev Requires 0.08 ether fee. * @dev Requires that the contract has not minted a soul. * @param account The account that will own the lunchbox. * @param _contract The Vox contract address. * @param id VOX ID. * @param mintTime The mintTime seconds the Vox was minted. * @param sig The transaction signature. */ function batchMintLunchboxes( address account, address[] calldata _contract, uint256[] calldata id, uint256[] calldata mintTime, bytes memory sig ) public payable nonReentrant whenNotPaused { // The signature will be based off of the first entry in the arrays. bool isValid = isValidData( account, _contract[0], id[0], mintTime[0], sig ); require(isValid, "Invalid signature"); require(msg.value == getCost() * id.length, "Wrong eth value."); for (uint256 i = 0; i < id.length; i++) { _mintSoul(account, _contract[i], id[i], mintTime[i]); } } /** * @notice Mint a lunchbox as an admin without paying the fee. * @param _type the type of lunchbox to mint. */ function batchAdminMintLunchboxes(uint256[] calldata _type) public onlyOwner nonReentrant { for (uint256 i = 0; i < _type.length; i++) { require(_type[i] >= 0 && _type[i] <= 12, "Invalid lunchbox type."); _mint(msg.sender, _type[i], 1, "0x0"); } } /** * @notice Get the name of the token. Added for OpenSea support. */ function name() public view returns (string memory) { return name_; } /** * @notice Get the symbol for the token. Added for Opensea support. */ function symbol() public view returns (string memory) { return symbol_; } /** * @notice Get the URI for a luncbox given the Token ID. */ function uri(uint256 _id) public view override returns (string memory) { return string( abi.encodePacked(super.uri(_id), Strings.toString(_id), ".json") ); } /** * @notice Withdraw the balance from the contract. */ function withdraw() public onlyOwner { payable(msg.sender).transfer(address(this).balance); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.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: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); 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}. * * 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` * * 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}. * * 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 a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} /** * @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 v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/extensions/ERC1155Supply.sol) pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of ERC1155 that adds tracking of total supply per id. * * Useful for scenarios where Fungible and Non-fungible tokens have to be * clearly identified. Note: While a totalSupply of 1 might mean the * corresponding is an NFT, there is no guarantees that no other token with the * same id are not going to be minted. */ abstract contract ERC1155Supply is ERC1155 { mapping(uint256 => uint256) private _totalSupply; /** * @dev Total amount of tokens in with a given id. */ function totalSupply(uint256 id) public view virtual returns (uint256) { return _totalSupply[id]; } /** * @dev Indicates whether any token exist with a given id, or not. */ function exists(uint256 id) public view virtual returns (bool) { return ERC1155Supply.totalSupply(id) > 0; } /** * @dev See {ERC1155-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); if (from == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] += amounts[i]; } } if (to == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 supply = _totalSupply[id]; require(supply >= amount, "ERC1155: burn amount exceeds totalSupply"); unchecked { _totalSupply[id] = supply - amount; } } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; contract Signing is Ownable { address public importantAddress; constructor(address _importantAddress) { importantAddress = _importantAddress; } /** * @notice Set the Important Address for the contract. * @param _importantAddress The address of the Important Address. */ function setImportantAddress(address _importantAddress) public onlyOwner { importantAddress = _importantAddress; } /** * @notice Return the sign for the given mintTime seconds. * @param account The account to check * @param _contract The contract address * @param mintTime mintTime seconds * @param sig The signature */ function isValidData( address account, address _contract, uint256 id, uint256 mintTime, bytes memory sig ) public view returns (bool) { bytes32 message = keccak256( abi.encodePacked(account, _contract, id, mintTime) ); return (recoverSigner(message, sig) == importantAddress); } /** * @notice Recover the message signer. * @param message The message to recover the signer. * @param sig The signature. */ function recoverSigner(bytes32 message, bytes memory sig) internal pure returns (address) { uint8 v; bytes32 r; bytes32 s; (v, r, s) = splitSignature(sig); return ecrecover(message, v, r, s); } /** * @notice Split the signature into v, r, s. * @param sig The signature. */ function splitSignature(bytes memory sig) internal pure returns ( uint8, bytes32, bytes32 ) { require(sig.length == 65, "Signature must be 65 bytes long"); bytes32 r; bytes32 s; uint8 v; assembly { // first 32 bytes, after the length prefix r := mload(add(sig, 32)) // second 32 bytes s := mload(add(sig, 64)) // final byte (first byte of the next 32 bytes) v := byte(0, mload(add(sig, 96))) } return (v, r, s); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (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 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 (last updated v4.5.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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
{ "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":"address","name":"_importantAddress","type":"address"},{"internalType":"string","name":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"address","name":"_conract","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"soulId","type":"uint256"}],"name":"SoulMinted","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":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"allowListEvent","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_type","type":"uint256[]"}],"name":"batchAdminMintLunchboxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address[]","name":"_contract","type":"address[]"},{"internalType":"uint256[]","name":"id","type":"uint256[]"},{"internalType":"uint256[]","name":"mintTime","type":"uint256[]"},{"internalType":"bytes","name":"sig","type":"bytes"}],"name":"batchMintLunchboxes","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addr","type":"address[]"}],"name":"clearAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"closeAllowListMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"importantAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"_contract","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"mintTime","type":"uint256"},{"internalType":"bytes","name":"sig","type":"bytes"}],"name":"isValidData","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxAvailableLunchboxes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"_contract","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"mintTime","type":"uint256"},{"internalType":"bytes","name":"sig","type":"bytes"}],"name":"mintLunchbox","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openAllowListMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"setAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_importantAddress","type":"address"}],"name":"setImportantAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxAvailableLunchboxes","type":"uint256"}],"name":"setMaxAvailableLunchboxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052610a686009556040518060400160405280601281526020017f566f78536f756c734c756e6368626f7865730000000000000000000000000000815250600c908051906020019062000057929190620002aa565b506040518060400160405280600481526020017f5658534c00000000000000000000000000000000000000000000000000000000815250600d9080519060200190620000a5929190620002aa565b506000600f55348015620000b857600080fd5b5060405162005ffd38038062005ffd8339818101604052810190620000de9190620003e3565b8181620000f181620001c060201b60201c565b506200011262000106620001dc60201b60201c565b620001e460201b60201c565b6000600360146101000a81548160ff021916908315150217905550600160048190555080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050620005fb565b8060029080519060200190620001d8929190620002aa565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002b89062000506565b90600052602060002090601f016020900481019282620002dc576000855562000328565b82601f10620002f757805160ff191683800117855562000328565b8280016001018555821562000328579182015b82811115620003275782518255916020019190600101906200030a565b5b5090506200033791906200033b565b5090565b5b80821115620003565760008160009055506001016200033c565b5090565b6000620003716200036b8462000466565b6200043d565b9050828152602081018484840111156200038a57600080fd5b62000397848285620004d0565b509392505050565b600081519050620003b081620005e1565b92915050565b600082601f830112620003c857600080fd5b8151620003da8482602086016200035a565b91505092915050565b60008060408385031215620003f757600080fd5b600062000407858286016200039f565b925050602083015167ffffffffffffffff8111156200042557600080fd5b6200043385828601620003b6565b9150509250929050565b6000620004496200045c565b90506200045782826200053c565b919050565b6000604051905090565b600067ffffffffffffffff821115620004845762000483620005a1565b5b6200048f82620005d0565b9050602081019050919050565b6000620004a982620004b0565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015620004f0578082015181840152602081019050620004d3565b8381111562000500576000848401525b50505050565b600060028204905060018216806200051f57607f821691505b6020821081141562000536576200053562000572565b5b50919050565b6200054782620005d0565b810181811067ffffffffffffffff82111715620005695762000568620005a1565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b620005ec816200049c565b8114620005f857600080fd5b50565b6159f2806200060b6000396000f3fe6080604052600436106101f85760003560e01c8063715018a61161010d578063a22cb465116100a0578063c351ea1e1161006f578063c351ea1e14610690578063da0eff2a146106bb578063e985e9c5146106e4578063f242432a14610721578063f2fde38b1461074a576101f8565b8063a22cb465146105fc578063af483b6614610625578063af9ff38a1461064e578063bd3e19d414610665576101f8565b80638da5cb5b116100dc5780638da5cb5b1461055457806395d89b411461057f5780639901481f146105aa578063a05d0de3146105d3576101f8565b8063715018a6146104ee578063750c018d146105055780637c853536146105215780638456cb591461053d576101f8565b806320076e1f116101905780633f4ba83a1161015f5780633f4ba83a1461041d57806344a0d68a146104345780634e1273f41461045d5780635c975abb1461049a5780636447c35d146104c5576101f8565b806320076e1f146103755780632eb2c2d6146103b25780633ccfd60b146103db5780633db208dd146103f2576101f8565b806307dc2617116101cc57806307dc2617146102cb5780630e89341c146102e25780631398b4441461031f57806313faede61461034a576101f8565b8062fdd58e146101fd57806301ffc9a71461023a57806302fe53051461027757806306fdde03146102a0575b600080fd5b34801561020957600080fd5b50610224600480360381019061021f9190613ef8565b610773565b6040516102319190614c9f565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c919061402a565b61083c565b60405161026e919061487d565b60405180910390f35b34801561028357600080fd5b5061029e6004803603810190610299919061407c565b61091e565b005b3480156102ac57600080fd5b506102b56109a6565b6040516102c291906148dd565b60405180910390f35b3480156102d757600080fd5b506102e0610a38565b005b3480156102ee57600080fd5b50610309600480360381019061030491906140bd565b610ad1565b60405161031691906148dd565b60405180910390f35b34801561032b57600080fd5b50610334610b0c565b604051610341919061471e565b60405180910390f35b34801561035657600080fd5b5061035f610b32565b60405161036c9190614c9f565b60405180910390f35b34801561038157600080fd5b5061039c60048036038101906103979190613d49565b610b38565b6040516103a9919061487d565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d49190613c8a565b610bd0565b005b3480156103e757600080fd5b506103f0610c71565b005b3480156103fe57600080fd5b50610407610d36565b6040516104149190614c9f565b60405180910390f35b34801561042957600080fd5b50610432610d3c565b005b34801561044057600080fd5b5061045b600480360381019061045691906140bd565b610dc2565b005b34801561046957600080fd5b50610484600480360381019061047f9190613f79565b610e48565b6040516104919190614824565b60405180910390f35b3480156104a657600080fd5b506104af610ff9565b6040516104bc919061487d565b60405180910390f35b3480156104d157600080fd5b506104ec60048036038101906104e79190613f34565b611010565b005b3480156104fa57600080fd5b50610503611157565b005b61051f600480360381019061051a9190613dd8565b6111df565b005b61053b60048036038101906105369190613d49565b6114f7565b005b34801561054957600080fd5b50610552611643565b005b34801561056057600080fd5b506105696116c9565b604051610576919061471e565b60405180910390f35b34801561058b57600080fd5b506105946116f3565b6040516105a191906148dd565b60405180910390f35b3480156105b657600080fd5b506105d160048036038101906105cc91906140bd565b611785565b005b3480156105df57600080fd5b506105fa60048036038101906105f59190613c25565b6118d9565b005b34801561060857600080fd5b50610623600480360381019061061e9190613ebc565b611999565b005b34801561063157600080fd5b5061064c60048036038101906106479190613f34565b6119af565b005b34801561065a57600080fd5b50610663611b88565b005b34801561067157600080fd5b5061067a611c21565b6040516106879190614c9f565b60405180910390f35b34801561069c57600080fd5b506106a5611c49565b6040516106b2919061487d565b60405180910390f35b3480156106c757600080fd5b506106e260048036038101906106dd9190613fe5565b611c5c565b005b3480156106f057600080fd5b5061070b60048036038101906107069190613c4e565b611ea4565b604051610718919061487d565b60405180910390f35b34801561072d57600080fd5b5061074860048036038101906107439190613d49565b611f38565b005b34801561075657600080fd5b50610771600480360381019061076c9190613c25565b611fd9565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107db9061499f565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061090757507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109175750610916826120d1565b5b9050919050565b61092661213b565b73ffffffffffffffffffffffffffffffffffffffff166109446116c9565b73ffffffffffffffffffffffffffffffffffffffff161461099a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099190614b9f565b60405180910390fd5b6109a381612143565b50565b6060600c80546109b590615020565b80601f01602080910402602001604051908101604052809291908181526020018280546109e190615020565b8015610a2e5780601f10610a0357610100808354040283529160200191610a2e565b820191906000526020600020905b815481529060010190602001808311610a1157829003601f168201915b5050505050905090565b610a4061213b565b73ffffffffffffffffffffffffffffffffffffffff16610a5e6116c9565b73ffffffffffffffffffffffffffffffffffffffff1614610ab4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aab90614b9f565b60405180910390fd5b6001600e60006101000a81548160ff021916908315150217905550565b6060610adc8261215d565b610ae5836121f1565b604051602001610af69291906146ef565b6040516020818303038152906040529050919050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600f5481565b60008086868686604051602001610b5294939291906146a1565b604051602081830303815290604052805190602001209050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610bad828561239e565b73ffffffffffffffffffffffffffffffffffffffff161491505095945050505050565b610bd861213b565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610c1e5750610c1d85610c1861213b565b611ea4565b5b610c5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5490614b1f565b60405180910390fd5b610c6a8585858585612413565b5050505050565b610c7961213b565b73ffffffffffffffffffffffffffffffffffffffff16610c976116c9565b73ffffffffffffffffffffffffffffffffffffffff1614610ced576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce490614b9f565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610d33573d6000803e3d6000fd5b50565b60095481565b610d4461213b565b73ffffffffffffffffffffffffffffffffffffffff16610d626116c9565b73ffffffffffffffffffffffffffffffffffffffff1614610db8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610daf90614b9f565b60405180910390fd5b610dc0612781565b565b610dca61213b565b73ffffffffffffffffffffffffffffffffffffffff16610de86116c9565b73ffffffffffffffffffffffffffffffffffffffff1614610e3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3590614b9f565b60405180910390fd5b80600f8190555050565b60608151835114610e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8590614bff565b60405180910390fd5b6000835167ffffffffffffffff811115610ed1577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610eff5781602001602082028036833780820191505090505b50905060005b8451811015610fee57610f98858281518110610f4a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610f8b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610773565b828281518110610fd1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610fe790615083565b9050610f05565b508091505092915050565b6000600360149054906101000a900460ff16905090565b61101861213b565b73ffffffffffffffffffffffffffffffffffffffff166110366116c9565b73ffffffffffffffffffffffffffffffffffffffff161461108c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108390614b9f565b60405180910390fd5b60005b82829050811015611152576001600860008585858181106110d9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906110ee9190613c25565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061114a90615083565b91505061108f565b505050565b61115f61213b565b73ffffffffffffffffffffffffffffffffffffffff1661117d6116c9565b73ffffffffffffffffffffffffffffffffffffffff16146111d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ca90614b9f565b60405180910390fd5b6111dd6000612823565b565b60026004541415611225576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121c90614c5f565b60405180910390fd5b6002600481905550611235610ff9565b15611275576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126c90614abf565b60405180910390fd5b600061135289898960008181106112b5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906112ca9190613c25565b88886000818110611304577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013587876000818110611345577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013586610b38565b905080611394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138b90614a7f565b60405180910390fd5b858590506113a0611c21565b6113aa9190614ec5565b34146113eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e29061491f565b60405180910390fd5b60005b868690508110156114e3576114d08a8a8a84818110611436577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061144b9190613c25565b898985818110611484577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201358888868181106114c4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356128e9565b80806114db90615083565b9150506113ee565b505060016004819055505050505050505050565b6002600454141561153d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153490614c5f565b60405180910390fd5b600260048190555061154d610ff9565b1561158d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158490614abf565b60405180910390fd5b600061159c8686868686610b38565b9050806115de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d590614a7f565b60405180910390fd5b6115e6611c21565b3414611627576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161e90614a9f565b60405180910390fd5b611633868686866128e9565b5060016004819055505050505050565b61164b61213b565b73ffffffffffffffffffffffffffffffffffffffff166116696116c9565b73ffffffffffffffffffffffffffffffffffffffff16146116bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b690614b9f565b60405180910390fd5b6116c7612cec565b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600d805461170290615020565b80601f016020809104026020016040519081016040528092919081815260200182805461172e90615020565b801561177b5780601f106117505761010080835404028352916020019161177b565b820191906000526020600020905b81548152906001019060200180831161175e57829003601f168201915b5050505050905090565b61178d61213b565b73ffffffffffffffffffffffffffffffffffffffff166117ab6116c9565b73ffffffffffffffffffffffffffffffffffffffff1614611801576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f890614b9f565b60405180910390fd5b616828811115611846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183d906149ff565b60405180910390fd5b600081101561188a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611881906149df565b60405180910390fd5b600a548110156118cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c69061497f565b60405180910390fd5b8060098190555050565b6118e161213b565b73ffffffffffffffffffffffffffffffffffffffff166118ff6116c9565b73ffffffffffffffffffffffffffffffffffffffff1614611955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194c90614b9f565b60405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6119ab6119a461213b565b8383612d8f565b5050565b6119b761213b565b73ffffffffffffffffffffffffffffffffffffffff166119d56116c9565b73ffffffffffffffffffffffffffffffffffffffff1614611a2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2290614b9f565b60405180910390fd5b60005b82829050811015611b8357600060086000858585818110611a78577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611a8d9190613c25565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600060076000858585818110611b1d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611b329190613c25565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080611b7b90615083565b915050611a2e565b505050565b611b9061213b565b73ffffffffffffffffffffffffffffffffffffffff16611bae6116c9565b73ffffffffffffffffffffffffffffffffffffffff1614611c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfb90614b9f565b60405180910390fd5b6000600e60006101000a81548160ff021916908315150217905550565b6000600e60009054906101000a900460ff16611c4157600f549050611c46565b600090505b90565b600e60009054906101000a900460ff1681565b611c6461213b565b73ffffffffffffffffffffffffffffffffffffffff16611c826116c9565b73ffffffffffffffffffffffffffffffffffffffff1614611cd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccf90614b9f565b60405180910390fd5b60026004541415611d1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1590614c5f565b60405180910390fd5b600260048190555060005b82829050811015611e97576000838383818110611d6f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013510158015611dc45750600c838383818110611dba577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013511155b611e03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfa90614b7f565b60405180910390fd5b611e8433848484818110611e40577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013560016040518060400160405280600381526020017f3078300000000000000000000000000000000000000000000000000000000000815250612efc565b8080611e8f90615083565b915050611d29565b5060016004819055505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f4061213b565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611f865750611f8585611f8061213b565b611ea4565b5b611fc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbc90614a3f565b60405180910390fd5b611fd285858585856130ad565b5050505050565b611fe161213b565b73ffffffffffffffffffffffffffffffffffffffff16611fff6116c9565b73ffffffffffffffffffffffffffffffffffffffff1614612055576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204c90614b9f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120bc906149bf565b60405180910390fd5b6120ce81612823565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b8060029080519060200190612159929190613889565b5050565b60606002805461216c90615020565b80601f016020809104026020016040519081016040528092919081815260200182805461219890615020565b80156121e55780601f106121ba576101008083540402835291602001916121e5565b820191906000526020600020905b8154815290600101906020018083116121c857829003601f168201915b50505050509050919050565b60606000821415612239576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612399565b600082905060005b6000821461226b57808061225490615083565b915050600a826122649190614e94565b9150612241565b60008167ffffffffffffffff8111156122ad577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156122df5781602001600182028036833780820191505090505b5090505b60008514612392576001826122f89190614f1f565b9150600a8561230791906150fa565b60306123139190614e3e565b60f81b81838151811061234f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561238b9190614e94565b94506122e3565b8093505050505b919050565b6000806000806123ad85613349565b809350819450829550505050600186848484604051600081526020016040526040516123dc9493929190614898565b6020604051602081039080840390855afa1580156123fe573d6000803e3d6000fd5b50505060206040510351935050505092915050565b8151835114612457576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244e90614c1f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156124c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124be90614aff565b60405180910390fd5b60006124d161213b565b90506124e18187878787876133c2565b60005b84518110156126de576000858281518110612528577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600085838151811061256d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561260e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260590614b5f565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126c39190614e3e565b92505081905550505050806126d790615083565b90506124e4565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612755929190614846565b60405180910390a461276b8187878787876133ca565b6127798187878787876133d2565b505050505050565b612789610ff9565b6127c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127bf9061495f565b60405180910390fd5b6000600360146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61280c61213b565b604051612819919061471e565b60405180910390a1565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900460ff1615612987576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297e90614bbf565b60405180910390fd5b6168286001600a546129999190614e3e565b11156129da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d190614adf565b60405180910390fd5b600e60009054906101000a900460ff1615612b4857600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612a7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7290614a1f565b60405180910390fd5b6000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115612afe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af590614a5f565b60405180910390fd5b6001600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612bb4565b6009546001600b54612b5a9190614e3e565b1115612b9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9290614c7f565b60405180910390fd5b600b6000815480929190612bae90615083565b91905055505b6000600c603c83612bc591906150fa565b612bcf91906150fa565b90506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060006101000a81548160ff021916908315150217905550600a6000815480929190612c4d90615083565b9190505550612c94858260016040518060400160405280600381526020017f3078300000000000000000000000000000000000000000000000000000000000815250612efc565b808573ffffffffffffffffffffffffffffffffffffffff167f784deec5ea13bd598452a2569547bd4fe6082d1a16f2cc2eacdddd540b01575b8686604051612cdd9291906147fb565b60405180910390a35050505050565b612cf4610ff9565b15612d34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2b90614abf565b60405180910390fd5b6001600360146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612d7861213b565b604051612d85919061471e565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612dfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612df590614bdf565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612eef919061487d565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6390614c3f565b60405180910390fd5b6000612f7661213b565b90506000612f83856135b9565b90506000612f90856135b9565b9050612fa1836000898585896133c2565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130009190614e3e565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62898960405161307e929190614cba565b60405180910390a4613095836000898585896133ca565b6130a48360008989898961367f565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561311d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161311490614aff565b60405180910390fd5b600061312761213b565b90506000613134856135b9565b90506000613141856135b9565b90506131518389898585896133c2565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050858110156131e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131df90614b5f565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461329d9190614e3e565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a60405161331a929190614cba565b60405180910390a4613330848a8a86868a6133ca565b61333e848a8a8a8a8a61367f565b505050505050505050565b60008060006041845114613392576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338990614b3f565b60405180910390fd5b60008060006020870151925060408701519150606087015160001a90508083839550955095505050509193909250565b505050505050565b505050505050565b6133f18473ffffffffffffffffffffffffffffffffffffffff16613866565b156135b1578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401613437959493929190614739565b602060405180830381600087803b15801561345157600080fd5b505af192505050801561348257506040513d601f19601f8201168201806040525081019061347f9190614053565b60015b6135285761348e6151e7565b806308c379a014156134eb57506134a36158ca565b806134ae57506134ed565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134e291906148dd565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161351f906148ff565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146135af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135a69061493f565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff8111156135fe577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561362c5781602001602082028036833780820191505090505b509050828160008151811061366a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b61369e8473ffffffffffffffffffffffffffffffffffffffff16613866565b1561385e578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016136e49594939291906147a1565b602060405180830381600087803b1580156136fe57600080fd5b505af192505050801561372f57506040513d601f19601f8201168201806040525081019061372c9190614053565b60015b6137d55761373b6151e7565b806308c379a0141561379857506137506158ca565b8061375b575061379a565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161378f91906148dd565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137cc906148ff565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461385c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138539061493f565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461389590615020565b90600052602060002090601f0160209004810192826138b757600085556138fe565b82601f106138d057805160ff19168380011785556138fe565b828001600101855582156138fe579182015b828111156138fd5782518255916020019190600101906138e2565b5b50905061390b919061390f565b5090565b5b80821115613928576000816000905550600101613910565b5090565b600061393f61393a84614d08565b614ce3565b9050808382526020820190508285602086028201111561395e57600080fd5b60005b8581101561398e57816139748882613a80565b845260208401935060208301925050600181019050613961565b5050509392505050565b60006139ab6139a684614d34565b614ce3565b905080838252602082019050828560208602820111156139ca57600080fd5b60005b858110156139fa57816139e08882613c10565b8452602084019350602083019250506001810190506139cd565b5050509392505050565b6000613a17613a1284614d60565b614ce3565b905082815260208101848484011115613a2f57600080fd5b613a3a848285614fde565b509392505050565b6000613a55613a5084614d91565b614ce3565b905082815260208101848484011115613a6d57600080fd5b613a78848285614fde565b509392505050565b600081359050613a8f81615960565b92915050565b60008083601f840112613aa757600080fd5b8235905067ffffffffffffffff811115613ac057600080fd5b602083019150836020820283011115613ad857600080fd5b9250929050565b600082601f830112613af057600080fd5b8135613b0084826020860161392c565b91505092915050565b60008083601f840112613b1b57600080fd5b8235905067ffffffffffffffff811115613b3457600080fd5b602083019150836020820283011115613b4c57600080fd5b9250929050565b600082601f830112613b6457600080fd5b8135613b74848260208601613998565b91505092915050565b600081359050613b8c81615977565b92915050565b600081359050613ba18161598e565b92915050565b600081519050613bb68161598e565b92915050565b600082601f830112613bcd57600080fd5b8135613bdd848260208601613a04565b91505092915050565b600082601f830112613bf757600080fd5b8135613c07848260208601613a42565b91505092915050565b600081359050613c1f816159a5565b92915050565b600060208284031215613c3757600080fd5b6000613c4584828501613a80565b91505092915050565b60008060408385031215613c6157600080fd5b6000613c6f85828601613a80565b9250506020613c8085828601613a80565b9150509250929050565b600080600080600060a08688031215613ca257600080fd5b6000613cb088828901613a80565b9550506020613cc188828901613a80565b945050604086013567ffffffffffffffff811115613cde57600080fd5b613cea88828901613b53565b935050606086013567ffffffffffffffff811115613d0757600080fd5b613d1388828901613b53565b925050608086013567ffffffffffffffff811115613d3057600080fd5b613d3c88828901613bbc565b9150509295509295909350565b600080600080600060a08688031215613d6157600080fd5b6000613d6f88828901613a80565b9550506020613d8088828901613a80565b9450506040613d9188828901613c10565b9350506060613da288828901613c10565b925050608086013567ffffffffffffffff811115613dbf57600080fd5b613dcb88828901613bbc565b9150509295509295909350565b60008060008060008060008060a0898b031215613df457600080fd5b6000613e028b828c01613a80565b985050602089013567ffffffffffffffff811115613e1f57600080fd5b613e2b8b828c01613a95565b9750975050604089013567ffffffffffffffff811115613e4a57600080fd5b613e568b828c01613b09565b9550955050606089013567ffffffffffffffff811115613e7557600080fd5b613e818b828c01613b09565b9350935050608089013567ffffffffffffffff811115613ea057600080fd5b613eac8b828c01613bbc565b9150509295985092959890939650565b60008060408385031215613ecf57600080fd5b6000613edd85828601613a80565b9250506020613eee85828601613b7d565b9150509250929050565b60008060408385031215613f0b57600080fd5b6000613f1985828601613a80565b9250506020613f2a85828601613c10565b9150509250929050565b60008060208385031215613f4757600080fd5b600083013567ffffffffffffffff811115613f6157600080fd5b613f6d85828601613a95565b92509250509250929050565b60008060408385031215613f8c57600080fd5b600083013567ffffffffffffffff811115613fa657600080fd5b613fb285828601613adf565b925050602083013567ffffffffffffffff811115613fcf57600080fd5b613fdb85828601613b53565b9150509250929050565b60008060208385031215613ff857600080fd5b600083013567ffffffffffffffff81111561401257600080fd5b61401e85828601613b09565b92509250509250929050565b60006020828403121561403c57600080fd5b600061404a84828501613b92565b91505092915050565b60006020828403121561406557600080fd5b600061407384828501613ba7565b91505092915050565b60006020828403121561408e57600080fd5b600082013567ffffffffffffffff8111156140a857600080fd5b6140b484828501613be6565b91505092915050565b6000602082840312156140cf57600080fd5b60006140dd84828501613c10565b91505092915050565b60006140f2838361465d565b60208301905092915050565b61410781614f53565b82525050565b61411e61411982614f53565b6150cc565b82525050565b600061412f82614dd2565b6141398185614e00565b935061414483614dc2565b8060005b8381101561417557815161415c88826140e6565b975061416783614df3565b925050600181019050614148565b5085935050505092915050565b61418b81614f65565b82525050565b61419a81614f71565b82525050565b60006141ab82614ddd565b6141b58185614e11565b93506141c5818560208601614fed565b6141ce81615209565b840191505092915050565b60006141e482614de8565b6141ee8185614e22565b93506141fe818560208601614fed565b61420781615209565b840191505092915050565b600061421d82614de8565b6142278185614e33565b9350614237818560208601614fed565b80840191505092915050565b6000614250603483614e22565b915061425b82615234565b604082019050919050565b6000614273601083614e22565b915061427e82615283565b602082019050919050565b6000614296602883614e22565b91506142a1826152ac565b604082019050919050565b60006142b9601483614e22565b91506142c4826152fb565b602082019050919050565b60006142dc601983614e22565b91506142e782615324565b602082019050919050565b60006142ff602b83614e22565b915061430a8261534d565b604082019050919050565b6000614322602683614e22565b915061432d8261539c565b604082019050919050565b6000614345601483614e22565b9150614350826153eb565b602082019050919050565b6000614368601883614e22565b915061437382615414565b602082019050919050565b600061438b601c83614e22565b91506143968261543d565b602082019050919050565b60006143ae602983614e22565b91506143b982615466565b604082019050919050565b60006143d1601f83614e22565b91506143dc826154b5565b602082019050919050565b60006143f4601183614e22565b91506143ff826154de565b602082019050919050565b6000614417601083614e22565b915061442282615507565b602082019050919050565b600061443a601083614e22565b915061444582615530565b602082019050919050565b600061445d601683614e22565b915061446882615559565b602082019050919050565b6000614480602583614e22565b915061448b82615582565b604082019050919050565b60006144a3603283614e22565b91506144ae826155d1565b604082019050919050565b60006144c6601f83614e22565b91506144d182615620565b602082019050919050565b60006144e9602a83614e22565b91506144f482615649565b604082019050919050565b600061450c601683614e22565b915061451782615698565b602082019050919050565b600061452f600583614e33565b915061453a826156c1565b600582019050919050565b6000614552602083614e22565b915061455d826156ea565b602082019050919050565b6000614575601883614e22565b915061458082615713565b602082019050919050565b6000614598602983614e22565b91506145a38261573c565b604082019050919050565b60006145bb602983614e22565b91506145c68261578b565b604082019050919050565b60006145de602883614e22565b91506145e9826157da565b604082019050919050565b6000614601602183614e22565b915061460c82615829565b604082019050919050565b6000614624601f83614e22565b915061462f82615878565b602082019050919050565b6000614647601c83614e22565b9150614652826158a1565b602082019050919050565b61466681614fc7565b82525050565b61467581614fc7565b82525050565b61468c61468782614fc7565b6150f0565b82525050565b61469b81614fd1565b82525050565b60006146ad828761410d565b6014820191506146bd828661410d565b6014820191506146cd828561467b565b6020820191506146dd828461467b565b60208201915081905095945050505050565b60006146fb8285614212565b91506147078284614212565b915061471282614522565b91508190509392505050565b600060208201905061473360008301846140fe565b92915050565b600060a08201905061474e60008301886140fe565b61475b60208301876140fe565b818103604083015261476d8186614124565b905081810360608301526147818185614124565b9050818103608083015261479581846141a0565b90509695505050505050565b600060a0820190506147b660008301886140fe565b6147c360208301876140fe565b6147d0604083018661466c565b6147dd606083018561466c565b81810360808301526147ef81846141a0565b90509695505050505050565b600060408201905061481060008301856140fe565b61481d602083018461466c565b9392505050565b6000602082019050818103600083015261483e8184614124565b905092915050565b600060408201905081810360008301526148608185614124565b905081810360208301526148748184614124565b90509392505050565b60006020820190506148926000830184614182565b92915050565b60006080820190506148ad6000830187614191565b6148ba6020830186614692565b6148c76040830185614191565b6148d46060830184614191565b95945050505050565b600060208201905081810360008301526148f781846141d9565b905092915050565b6000602082019050818103600083015261491881614243565b9050919050565b6000602082019050818103600083015261493881614266565b9050919050565b6000602082019050818103600083015261495881614289565b9050919050565b60006020820190508181036000830152614978816142ac565b9050919050565b60006020820190508181036000830152614998816142cf565b9050919050565b600060208201905081810360008301526149b8816142f2565b9050919050565b600060208201905081810360008301526149d881614315565b9050919050565b600060208201905081810360008301526149f881614338565b9050919050565b60006020820190508181036000830152614a188161435b565b9050919050565b60006020820190508181036000830152614a388161437e565b9050919050565b60006020820190508181036000830152614a58816143a1565b9050919050565b60006020820190508181036000830152614a78816143c4565b9050919050565b60006020820190508181036000830152614a98816143e7565b9050919050565b60006020820190508181036000830152614ab88161440a565b9050919050565b60006020820190508181036000830152614ad88161442d565b9050919050565b60006020820190508181036000830152614af881614450565b9050919050565b60006020820190508181036000830152614b1881614473565b9050919050565b60006020820190508181036000830152614b3881614496565b9050919050565b60006020820190508181036000830152614b58816144b9565b9050919050565b60006020820190508181036000830152614b78816144dc565b9050919050565b60006020820190508181036000830152614b98816144ff565b9050919050565b60006020820190508181036000830152614bb881614545565b9050919050565b60006020820190508181036000830152614bd881614568565b9050919050565b60006020820190508181036000830152614bf88161458b565b9050919050565b60006020820190508181036000830152614c18816145ae565b9050919050565b60006020820190508181036000830152614c38816145d1565b9050919050565b60006020820190508181036000830152614c58816145f4565b9050919050565b60006020820190508181036000830152614c7881614617565b9050919050565b60006020820190508181036000830152614c988161463a565b9050919050565b6000602082019050614cb4600083018461466c565b92915050565b6000604082019050614ccf600083018561466c565b614cdc602083018461466c565b9392505050565b6000614ced614cfe565b9050614cf98282615052565b919050565b6000604051905090565b600067ffffffffffffffff821115614d2357614d226151b8565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614d4f57614d4e6151b8565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614d7b57614d7a6151b8565b5b614d8482615209565b9050602081019050919050565b600067ffffffffffffffff821115614dac57614dab6151b8565b5b614db582615209565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614e4982614fc7565b9150614e5483614fc7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e8957614e8861512b565b5b828201905092915050565b6000614e9f82614fc7565b9150614eaa83614fc7565b925082614eba57614eb961515a565b5b828204905092915050565b6000614ed082614fc7565b9150614edb83614fc7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f1457614f1361512b565b5b828202905092915050565b6000614f2a82614fc7565b9150614f3583614fc7565b925082821015614f4857614f4761512b565b5b828203905092915050565b6000614f5e82614fa7565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561500b578082015181840152602081019050614ff0565b8381111561501a576000848401525b50505050565b6000600282049050600182168061503857607f821691505b6020821081141561504c5761504b615189565b5b50919050565b61505b82615209565b810181811067ffffffffffffffff8211171561507a576150796151b8565b5b80604052505050565b600061508e82614fc7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156150c1576150c061512b565b5b600182019050919050565b60006150d7826150de565b9050919050565b60006150e98261521a565b9050919050565b6000819050919050565b600061510582614fc7565b915061511083614fc7565b9250826151205761511f61515a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156152065760046000803e615203600051615227565b90505b90565b6000601f19601f8301169050919050565b60008160601b9050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f57726f6e67206574682076616c75652e00000000000000000000000000000000600082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4d757374203e3d2063757272656e744c756e6368626f78657300000000000000600082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4c756e6368626f786573206d757374203e3d2030000000000000000000000000600082015250565b7f4c756e6368626f786573206d757374203c3d2032363636340000000000000000600082015250565b7f506c65617365207761697420666f72207075626c6963206d696e742100000000600082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f4f6e6c79204f6e65206d696e7420647572696e6720746865206576656e742100600082015250565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b7f77726f6e67206574682076616c75652e00000000000000000000000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4d6178206c756e6368626f786573206d696e7465642e00000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f5369676e6174757265206d757374206265203635206279746573206c6f6e6700600082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f496e76616c6964206c756e6368626f7820747970652e00000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4c756e6368626f7820616c7265616479206d696e7465642e0000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f4e6f206d6f7265206c756e6368626f78657320666f722073616c652e00000000600082015250565b600060443d10156158da5761595d565b6158e2614cfe565b60043d036004823e80513d602482011167ffffffffffffffff8211171561590a57505061595d565b808201805167ffffffffffffffff811115615928575050505061595d565b80602083010160043d03850181111561594557505050505061595d565b61595482602001850186615052565b82955050505050505b90565b61596981614f53565b811461597457600080fd5b50565b61598081614f65565b811461598b57600080fd5b50565b61599781614f7b565b81146159a257600080fd5b50565b6159ae81614fc7565b81146159b957600080fd5b5056fea26469706673582212204d8af2a4b6ce17b1d5509ecfbe0916a4c422847aeb4fb80fa9496610c5c59e8a64736f6c63430008040033000000000000000000000000ddb7dc32fd0a0f65e6ac01c4dc551e10741a9abc00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d57574541483539697431316e34474c6a613133664b6d327533714a4833426d77676978766f4c6a55677459762f00000000000000000000
Deployed Bytecode
0x6080604052600436106101f85760003560e01c8063715018a61161010d578063a22cb465116100a0578063c351ea1e1161006f578063c351ea1e14610690578063da0eff2a146106bb578063e985e9c5146106e4578063f242432a14610721578063f2fde38b1461074a576101f8565b8063a22cb465146105fc578063af483b6614610625578063af9ff38a1461064e578063bd3e19d414610665576101f8565b80638da5cb5b116100dc5780638da5cb5b1461055457806395d89b411461057f5780639901481f146105aa578063a05d0de3146105d3576101f8565b8063715018a6146104ee578063750c018d146105055780637c853536146105215780638456cb591461053d576101f8565b806320076e1f116101905780633f4ba83a1161015f5780633f4ba83a1461041d57806344a0d68a146104345780634e1273f41461045d5780635c975abb1461049a5780636447c35d146104c5576101f8565b806320076e1f146103755780632eb2c2d6146103b25780633ccfd60b146103db5780633db208dd146103f2576101f8565b806307dc2617116101cc57806307dc2617146102cb5780630e89341c146102e25780631398b4441461031f57806313faede61461034a576101f8565b8062fdd58e146101fd57806301ffc9a71461023a57806302fe53051461027757806306fdde03146102a0575b600080fd5b34801561020957600080fd5b50610224600480360381019061021f9190613ef8565b610773565b6040516102319190614c9f565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c919061402a565b61083c565b60405161026e919061487d565b60405180910390f35b34801561028357600080fd5b5061029e6004803603810190610299919061407c565b61091e565b005b3480156102ac57600080fd5b506102b56109a6565b6040516102c291906148dd565b60405180910390f35b3480156102d757600080fd5b506102e0610a38565b005b3480156102ee57600080fd5b50610309600480360381019061030491906140bd565b610ad1565b60405161031691906148dd565b60405180910390f35b34801561032b57600080fd5b50610334610b0c565b604051610341919061471e565b60405180910390f35b34801561035657600080fd5b5061035f610b32565b60405161036c9190614c9f565b60405180910390f35b34801561038157600080fd5b5061039c60048036038101906103979190613d49565b610b38565b6040516103a9919061487d565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d49190613c8a565b610bd0565b005b3480156103e757600080fd5b506103f0610c71565b005b3480156103fe57600080fd5b50610407610d36565b6040516104149190614c9f565b60405180910390f35b34801561042957600080fd5b50610432610d3c565b005b34801561044057600080fd5b5061045b600480360381019061045691906140bd565b610dc2565b005b34801561046957600080fd5b50610484600480360381019061047f9190613f79565b610e48565b6040516104919190614824565b60405180910390f35b3480156104a657600080fd5b506104af610ff9565b6040516104bc919061487d565b60405180910390f35b3480156104d157600080fd5b506104ec60048036038101906104e79190613f34565b611010565b005b3480156104fa57600080fd5b50610503611157565b005b61051f600480360381019061051a9190613dd8565b6111df565b005b61053b60048036038101906105369190613d49565b6114f7565b005b34801561054957600080fd5b50610552611643565b005b34801561056057600080fd5b506105696116c9565b604051610576919061471e565b60405180910390f35b34801561058b57600080fd5b506105946116f3565b6040516105a191906148dd565b60405180910390f35b3480156105b657600080fd5b506105d160048036038101906105cc91906140bd565b611785565b005b3480156105df57600080fd5b506105fa60048036038101906105f59190613c25565b6118d9565b005b34801561060857600080fd5b50610623600480360381019061061e9190613ebc565b611999565b005b34801561063157600080fd5b5061064c60048036038101906106479190613f34565b6119af565b005b34801561065a57600080fd5b50610663611b88565b005b34801561067157600080fd5b5061067a611c21565b6040516106879190614c9f565b60405180910390f35b34801561069c57600080fd5b506106a5611c49565b6040516106b2919061487d565b60405180910390f35b3480156106c757600080fd5b506106e260048036038101906106dd9190613fe5565b611c5c565b005b3480156106f057600080fd5b5061070b60048036038101906107069190613c4e565b611ea4565b604051610718919061487d565b60405180910390f35b34801561072d57600080fd5b5061074860048036038101906107439190613d49565b611f38565b005b34801561075657600080fd5b50610771600480360381019061076c9190613c25565b611fd9565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107db9061499f565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061090757507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109175750610916826120d1565b5b9050919050565b61092661213b565b73ffffffffffffffffffffffffffffffffffffffff166109446116c9565b73ffffffffffffffffffffffffffffffffffffffff161461099a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099190614b9f565b60405180910390fd5b6109a381612143565b50565b6060600c80546109b590615020565b80601f01602080910402602001604051908101604052809291908181526020018280546109e190615020565b8015610a2e5780601f10610a0357610100808354040283529160200191610a2e565b820191906000526020600020905b815481529060010190602001808311610a1157829003601f168201915b5050505050905090565b610a4061213b565b73ffffffffffffffffffffffffffffffffffffffff16610a5e6116c9565b73ffffffffffffffffffffffffffffffffffffffff1614610ab4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aab90614b9f565b60405180910390fd5b6001600e60006101000a81548160ff021916908315150217905550565b6060610adc8261215d565b610ae5836121f1565b604051602001610af69291906146ef565b6040516020818303038152906040529050919050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600f5481565b60008086868686604051602001610b5294939291906146a1565b604051602081830303815290604052805190602001209050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610bad828561239e565b73ffffffffffffffffffffffffffffffffffffffff161491505095945050505050565b610bd861213b565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610c1e5750610c1d85610c1861213b565b611ea4565b5b610c5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5490614b1f565b60405180910390fd5b610c6a8585858585612413565b5050505050565b610c7961213b565b73ffffffffffffffffffffffffffffffffffffffff16610c976116c9565b73ffffffffffffffffffffffffffffffffffffffff1614610ced576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce490614b9f565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610d33573d6000803e3d6000fd5b50565b60095481565b610d4461213b565b73ffffffffffffffffffffffffffffffffffffffff16610d626116c9565b73ffffffffffffffffffffffffffffffffffffffff1614610db8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610daf90614b9f565b60405180910390fd5b610dc0612781565b565b610dca61213b565b73ffffffffffffffffffffffffffffffffffffffff16610de86116c9565b73ffffffffffffffffffffffffffffffffffffffff1614610e3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3590614b9f565b60405180910390fd5b80600f8190555050565b60608151835114610e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8590614bff565b60405180910390fd5b6000835167ffffffffffffffff811115610ed1577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610eff5781602001602082028036833780820191505090505b50905060005b8451811015610fee57610f98858281518110610f4a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610f8b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610773565b828281518110610fd1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610fe790615083565b9050610f05565b508091505092915050565b6000600360149054906101000a900460ff16905090565b61101861213b565b73ffffffffffffffffffffffffffffffffffffffff166110366116c9565b73ffffffffffffffffffffffffffffffffffffffff161461108c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108390614b9f565b60405180910390fd5b60005b82829050811015611152576001600860008585858181106110d9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906110ee9190613c25565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061114a90615083565b91505061108f565b505050565b61115f61213b565b73ffffffffffffffffffffffffffffffffffffffff1661117d6116c9565b73ffffffffffffffffffffffffffffffffffffffff16146111d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ca90614b9f565b60405180910390fd5b6111dd6000612823565b565b60026004541415611225576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121c90614c5f565b60405180910390fd5b6002600481905550611235610ff9565b15611275576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126c90614abf565b60405180910390fd5b600061135289898960008181106112b5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906112ca9190613c25565b88886000818110611304577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013587876000818110611345577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013586610b38565b905080611394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138b90614a7f565b60405180910390fd5b858590506113a0611c21565b6113aa9190614ec5565b34146113eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e29061491f565b60405180910390fd5b60005b868690508110156114e3576114d08a8a8a84818110611436577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061144b9190613c25565b898985818110611484577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201358888868181106114c4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356128e9565b80806114db90615083565b9150506113ee565b505060016004819055505050505050505050565b6002600454141561153d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153490614c5f565b60405180910390fd5b600260048190555061154d610ff9565b1561158d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158490614abf565b60405180910390fd5b600061159c8686868686610b38565b9050806115de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d590614a7f565b60405180910390fd5b6115e6611c21565b3414611627576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161e90614a9f565b60405180910390fd5b611633868686866128e9565b5060016004819055505050505050565b61164b61213b565b73ffffffffffffffffffffffffffffffffffffffff166116696116c9565b73ffffffffffffffffffffffffffffffffffffffff16146116bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b690614b9f565b60405180910390fd5b6116c7612cec565b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600d805461170290615020565b80601f016020809104026020016040519081016040528092919081815260200182805461172e90615020565b801561177b5780601f106117505761010080835404028352916020019161177b565b820191906000526020600020905b81548152906001019060200180831161175e57829003601f168201915b5050505050905090565b61178d61213b565b73ffffffffffffffffffffffffffffffffffffffff166117ab6116c9565b73ffffffffffffffffffffffffffffffffffffffff1614611801576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f890614b9f565b60405180910390fd5b616828811115611846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183d906149ff565b60405180910390fd5b600081101561188a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611881906149df565b60405180910390fd5b600a548110156118cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c69061497f565b60405180910390fd5b8060098190555050565b6118e161213b565b73ffffffffffffffffffffffffffffffffffffffff166118ff6116c9565b73ffffffffffffffffffffffffffffffffffffffff1614611955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194c90614b9f565b60405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6119ab6119a461213b565b8383612d8f565b5050565b6119b761213b565b73ffffffffffffffffffffffffffffffffffffffff166119d56116c9565b73ffffffffffffffffffffffffffffffffffffffff1614611a2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2290614b9f565b60405180910390fd5b60005b82829050811015611b8357600060086000858585818110611a78577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611a8d9190613c25565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600060076000858585818110611b1d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611b329190613c25565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080611b7b90615083565b915050611a2e565b505050565b611b9061213b565b73ffffffffffffffffffffffffffffffffffffffff16611bae6116c9565b73ffffffffffffffffffffffffffffffffffffffff1614611c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfb90614b9f565b60405180910390fd5b6000600e60006101000a81548160ff021916908315150217905550565b6000600e60009054906101000a900460ff16611c4157600f549050611c46565b600090505b90565b600e60009054906101000a900460ff1681565b611c6461213b565b73ffffffffffffffffffffffffffffffffffffffff16611c826116c9565b73ffffffffffffffffffffffffffffffffffffffff1614611cd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccf90614b9f565b60405180910390fd5b60026004541415611d1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1590614c5f565b60405180910390fd5b600260048190555060005b82829050811015611e97576000838383818110611d6f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013510158015611dc45750600c838383818110611dba577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013511155b611e03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfa90614b7f565b60405180910390fd5b611e8433848484818110611e40577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013560016040518060400160405280600381526020017f3078300000000000000000000000000000000000000000000000000000000000815250612efc565b8080611e8f90615083565b915050611d29565b5060016004819055505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f4061213b565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611f865750611f8585611f8061213b565b611ea4565b5b611fc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbc90614a3f565b60405180910390fd5b611fd285858585856130ad565b5050505050565b611fe161213b565b73ffffffffffffffffffffffffffffffffffffffff16611fff6116c9565b73ffffffffffffffffffffffffffffffffffffffff1614612055576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204c90614b9f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156120c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120bc906149bf565b60405180910390fd5b6120ce81612823565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b8060029080519060200190612159929190613889565b5050565b60606002805461216c90615020565b80601f016020809104026020016040519081016040528092919081815260200182805461219890615020565b80156121e55780601f106121ba576101008083540402835291602001916121e5565b820191906000526020600020905b8154815290600101906020018083116121c857829003601f168201915b50505050509050919050565b60606000821415612239576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612399565b600082905060005b6000821461226b57808061225490615083565b915050600a826122649190614e94565b9150612241565b60008167ffffffffffffffff8111156122ad577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156122df5781602001600182028036833780820191505090505b5090505b60008514612392576001826122f89190614f1f565b9150600a8561230791906150fa565b60306123139190614e3e565b60f81b81838151811061234f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561238b9190614e94565b94506122e3565b8093505050505b919050565b6000806000806123ad85613349565b809350819450829550505050600186848484604051600081526020016040526040516123dc9493929190614898565b6020604051602081039080840390855afa1580156123fe573d6000803e3d6000fd5b50505060206040510351935050505092915050565b8151835114612457576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244e90614c1f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156124c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124be90614aff565b60405180910390fd5b60006124d161213b565b90506124e18187878787876133c2565b60005b84518110156126de576000858281518110612528577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600085838151811061256d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561260e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260590614b5f565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126c39190614e3e565b92505081905550505050806126d790615083565b90506124e4565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612755929190614846565b60405180910390a461276b8187878787876133ca565b6127798187878787876133d2565b505050505050565b612789610ff9565b6127c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127bf9061495f565b60405180910390fd5b6000600360146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61280c61213b565b604051612819919061471e565b60405180910390a1565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002060009054906101000a900460ff1615612987576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297e90614bbf565b60405180910390fd5b6168286001600a546129999190614e3e565b11156129da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d190614adf565b60405180910390fd5b600e60009054906101000a900460ff1615612b4857600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16612a7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7290614a1f565b60405180910390fd5b6000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115612afe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af590614a5f565b60405180910390fd5b6001600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612bb4565b6009546001600b54612b5a9190614e3e565b1115612b9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9290614c7f565b60405180910390fd5b600b6000815480929190612bae90615083565b91905055505b6000600c603c83612bc591906150fa565b612bcf91906150fa565b90506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600085815260200190815260200160002060006101000a81548160ff021916908315150217905550600a6000815480929190612c4d90615083565b9190505550612c94858260016040518060400160405280600381526020017f3078300000000000000000000000000000000000000000000000000000000000815250612efc565b808573ffffffffffffffffffffffffffffffffffffffff167f784deec5ea13bd598452a2569547bd4fe6082d1a16f2cc2eacdddd540b01575b8686604051612cdd9291906147fb565b60405180910390a35050505050565b612cf4610ff9565b15612d34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2b90614abf565b60405180910390fd5b6001600360146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612d7861213b565b604051612d85919061471e565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612dfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612df590614bdf565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612eef919061487d565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6390614c3f565b60405180910390fd5b6000612f7661213b565b90506000612f83856135b9565b90506000612f90856135b9565b9050612fa1836000898585896133c2565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130009190614e3e565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62898960405161307e929190614cba565b60405180910390a4613095836000898585896133ca565b6130a48360008989898961367f565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561311d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161311490614aff565b60405180910390fd5b600061312761213b565b90506000613134856135b9565b90506000613141856135b9565b90506131518389898585896133c2565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050858110156131e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131df90614b5f565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461329d9190614e3e565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a60405161331a929190614cba565b60405180910390a4613330848a8a86868a6133ca565b61333e848a8a8a8a8a61367f565b505050505050505050565b60008060006041845114613392576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338990614b3f565b60405180910390fd5b60008060006020870151925060408701519150606087015160001a90508083839550955095505050509193909250565b505050505050565b505050505050565b6133f18473ffffffffffffffffffffffffffffffffffffffff16613866565b156135b1578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401613437959493929190614739565b602060405180830381600087803b15801561345157600080fd5b505af192505050801561348257506040513d601f19601f8201168201806040525081019061347f9190614053565b60015b6135285761348e6151e7565b806308c379a014156134eb57506134a36158ca565b806134ae57506134ed565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134e291906148dd565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161351f906148ff565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146135af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135a69061493f565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff8111156135fe577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561362c5781602001602082028036833780820191505090505b509050828160008151811061366a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b61369e8473ffffffffffffffffffffffffffffffffffffffff16613866565b1561385e578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016136e49594939291906147a1565b602060405180830381600087803b1580156136fe57600080fd5b505af192505050801561372f57506040513d601f19601f8201168201806040525081019061372c9190614053565b60015b6137d55761373b6151e7565b806308c379a0141561379857506137506158ca565b8061375b575061379a565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161378f91906148dd565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137cc906148ff565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461385c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138539061493f565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461389590615020565b90600052602060002090601f0160209004810192826138b757600085556138fe565b82601f106138d057805160ff19168380011785556138fe565b828001600101855582156138fe579182015b828111156138fd5782518255916020019190600101906138e2565b5b50905061390b919061390f565b5090565b5b80821115613928576000816000905550600101613910565b5090565b600061393f61393a84614d08565b614ce3565b9050808382526020820190508285602086028201111561395e57600080fd5b60005b8581101561398e57816139748882613a80565b845260208401935060208301925050600181019050613961565b5050509392505050565b60006139ab6139a684614d34565b614ce3565b905080838252602082019050828560208602820111156139ca57600080fd5b60005b858110156139fa57816139e08882613c10565b8452602084019350602083019250506001810190506139cd565b5050509392505050565b6000613a17613a1284614d60565b614ce3565b905082815260208101848484011115613a2f57600080fd5b613a3a848285614fde565b509392505050565b6000613a55613a5084614d91565b614ce3565b905082815260208101848484011115613a6d57600080fd5b613a78848285614fde565b509392505050565b600081359050613a8f81615960565b92915050565b60008083601f840112613aa757600080fd5b8235905067ffffffffffffffff811115613ac057600080fd5b602083019150836020820283011115613ad857600080fd5b9250929050565b600082601f830112613af057600080fd5b8135613b0084826020860161392c565b91505092915050565b60008083601f840112613b1b57600080fd5b8235905067ffffffffffffffff811115613b3457600080fd5b602083019150836020820283011115613b4c57600080fd5b9250929050565b600082601f830112613b6457600080fd5b8135613b74848260208601613998565b91505092915050565b600081359050613b8c81615977565b92915050565b600081359050613ba18161598e565b92915050565b600081519050613bb68161598e565b92915050565b600082601f830112613bcd57600080fd5b8135613bdd848260208601613a04565b91505092915050565b600082601f830112613bf757600080fd5b8135613c07848260208601613a42565b91505092915050565b600081359050613c1f816159a5565b92915050565b600060208284031215613c3757600080fd5b6000613c4584828501613a80565b91505092915050565b60008060408385031215613c6157600080fd5b6000613c6f85828601613a80565b9250506020613c8085828601613a80565b9150509250929050565b600080600080600060a08688031215613ca257600080fd5b6000613cb088828901613a80565b9550506020613cc188828901613a80565b945050604086013567ffffffffffffffff811115613cde57600080fd5b613cea88828901613b53565b935050606086013567ffffffffffffffff811115613d0757600080fd5b613d1388828901613b53565b925050608086013567ffffffffffffffff811115613d3057600080fd5b613d3c88828901613bbc565b9150509295509295909350565b600080600080600060a08688031215613d6157600080fd5b6000613d6f88828901613a80565b9550506020613d8088828901613a80565b9450506040613d9188828901613c10565b9350506060613da288828901613c10565b925050608086013567ffffffffffffffff811115613dbf57600080fd5b613dcb88828901613bbc565b9150509295509295909350565b60008060008060008060008060a0898b031215613df457600080fd5b6000613e028b828c01613a80565b985050602089013567ffffffffffffffff811115613e1f57600080fd5b613e2b8b828c01613a95565b9750975050604089013567ffffffffffffffff811115613e4a57600080fd5b613e568b828c01613b09565b9550955050606089013567ffffffffffffffff811115613e7557600080fd5b613e818b828c01613b09565b9350935050608089013567ffffffffffffffff811115613ea057600080fd5b613eac8b828c01613bbc565b9150509295985092959890939650565b60008060408385031215613ecf57600080fd5b6000613edd85828601613a80565b9250506020613eee85828601613b7d565b9150509250929050565b60008060408385031215613f0b57600080fd5b6000613f1985828601613a80565b9250506020613f2a85828601613c10565b9150509250929050565b60008060208385031215613f4757600080fd5b600083013567ffffffffffffffff811115613f6157600080fd5b613f6d85828601613a95565b92509250509250929050565b60008060408385031215613f8c57600080fd5b600083013567ffffffffffffffff811115613fa657600080fd5b613fb285828601613adf565b925050602083013567ffffffffffffffff811115613fcf57600080fd5b613fdb85828601613b53565b9150509250929050565b60008060208385031215613ff857600080fd5b600083013567ffffffffffffffff81111561401257600080fd5b61401e85828601613b09565b92509250509250929050565b60006020828403121561403c57600080fd5b600061404a84828501613b92565b91505092915050565b60006020828403121561406557600080fd5b600061407384828501613ba7565b91505092915050565b60006020828403121561408e57600080fd5b600082013567ffffffffffffffff8111156140a857600080fd5b6140b484828501613be6565b91505092915050565b6000602082840312156140cf57600080fd5b60006140dd84828501613c10565b91505092915050565b60006140f2838361465d565b60208301905092915050565b61410781614f53565b82525050565b61411e61411982614f53565b6150cc565b82525050565b600061412f82614dd2565b6141398185614e00565b935061414483614dc2565b8060005b8381101561417557815161415c88826140e6565b975061416783614df3565b925050600181019050614148565b5085935050505092915050565b61418b81614f65565b82525050565b61419a81614f71565b82525050565b60006141ab82614ddd565b6141b58185614e11565b93506141c5818560208601614fed565b6141ce81615209565b840191505092915050565b60006141e482614de8565b6141ee8185614e22565b93506141fe818560208601614fed565b61420781615209565b840191505092915050565b600061421d82614de8565b6142278185614e33565b9350614237818560208601614fed565b80840191505092915050565b6000614250603483614e22565b915061425b82615234565b604082019050919050565b6000614273601083614e22565b915061427e82615283565b602082019050919050565b6000614296602883614e22565b91506142a1826152ac565b604082019050919050565b60006142b9601483614e22565b91506142c4826152fb565b602082019050919050565b60006142dc601983614e22565b91506142e782615324565b602082019050919050565b60006142ff602b83614e22565b915061430a8261534d565b604082019050919050565b6000614322602683614e22565b915061432d8261539c565b604082019050919050565b6000614345601483614e22565b9150614350826153eb565b602082019050919050565b6000614368601883614e22565b915061437382615414565b602082019050919050565b600061438b601c83614e22565b91506143968261543d565b602082019050919050565b60006143ae602983614e22565b91506143b982615466565b604082019050919050565b60006143d1601f83614e22565b91506143dc826154b5565b602082019050919050565b60006143f4601183614e22565b91506143ff826154de565b602082019050919050565b6000614417601083614e22565b915061442282615507565b602082019050919050565b600061443a601083614e22565b915061444582615530565b602082019050919050565b600061445d601683614e22565b915061446882615559565b602082019050919050565b6000614480602583614e22565b915061448b82615582565b604082019050919050565b60006144a3603283614e22565b91506144ae826155d1565b604082019050919050565b60006144c6601f83614e22565b91506144d182615620565b602082019050919050565b60006144e9602a83614e22565b91506144f482615649565b604082019050919050565b600061450c601683614e22565b915061451782615698565b602082019050919050565b600061452f600583614e33565b915061453a826156c1565b600582019050919050565b6000614552602083614e22565b915061455d826156ea565b602082019050919050565b6000614575601883614e22565b915061458082615713565b602082019050919050565b6000614598602983614e22565b91506145a38261573c565b604082019050919050565b60006145bb602983614e22565b91506145c68261578b565b604082019050919050565b60006145de602883614e22565b91506145e9826157da565b604082019050919050565b6000614601602183614e22565b915061460c82615829565b604082019050919050565b6000614624601f83614e22565b915061462f82615878565b602082019050919050565b6000614647601c83614e22565b9150614652826158a1565b602082019050919050565b61466681614fc7565b82525050565b61467581614fc7565b82525050565b61468c61468782614fc7565b6150f0565b82525050565b61469b81614fd1565b82525050565b60006146ad828761410d565b6014820191506146bd828661410d565b6014820191506146cd828561467b565b6020820191506146dd828461467b565b60208201915081905095945050505050565b60006146fb8285614212565b91506147078284614212565b915061471282614522565b91508190509392505050565b600060208201905061473360008301846140fe565b92915050565b600060a08201905061474e60008301886140fe565b61475b60208301876140fe565b818103604083015261476d8186614124565b905081810360608301526147818185614124565b9050818103608083015261479581846141a0565b90509695505050505050565b600060a0820190506147b660008301886140fe565b6147c360208301876140fe565b6147d0604083018661466c565b6147dd606083018561466c565b81810360808301526147ef81846141a0565b90509695505050505050565b600060408201905061481060008301856140fe565b61481d602083018461466c565b9392505050565b6000602082019050818103600083015261483e8184614124565b905092915050565b600060408201905081810360008301526148608185614124565b905081810360208301526148748184614124565b90509392505050565b60006020820190506148926000830184614182565b92915050565b60006080820190506148ad6000830187614191565b6148ba6020830186614692565b6148c76040830185614191565b6148d46060830184614191565b95945050505050565b600060208201905081810360008301526148f781846141d9565b905092915050565b6000602082019050818103600083015261491881614243565b9050919050565b6000602082019050818103600083015261493881614266565b9050919050565b6000602082019050818103600083015261495881614289565b9050919050565b60006020820190508181036000830152614978816142ac565b9050919050565b60006020820190508181036000830152614998816142cf565b9050919050565b600060208201905081810360008301526149b8816142f2565b9050919050565b600060208201905081810360008301526149d881614315565b9050919050565b600060208201905081810360008301526149f881614338565b9050919050565b60006020820190508181036000830152614a188161435b565b9050919050565b60006020820190508181036000830152614a388161437e565b9050919050565b60006020820190508181036000830152614a58816143a1565b9050919050565b60006020820190508181036000830152614a78816143c4565b9050919050565b60006020820190508181036000830152614a98816143e7565b9050919050565b60006020820190508181036000830152614ab88161440a565b9050919050565b60006020820190508181036000830152614ad88161442d565b9050919050565b60006020820190508181036000830152614af881614450565b9050919050565b60006020820190508181036000830152614b1881614473565b9050919050565b60006020820190508181036000830152614b3881614496565b9050919050565b60006020820190508181036000830152614b58816144b9565b9050919050565b60006020820190508181036000830152614b78816144dc565b9050919050565b60006020820190508181036000830152614b98816144ff565b9050919050565b60006020820190508181036000830152614bb881614545565b9050919050565b60006020820190508181036000830152614bd881614568565b9050919050565b60006020820190508181036000830152614bf88161458b565b9050919050565b60006020820190508181036000830152614c18816145ae565b9050919050565b60006020820190508181036000830152614c38816145d1565b9050919050565b60006020820190508181036000830152614c58816145f4565b9050919050565b60006020820190508181036000830152614c7881614617565b9050919050565b60006020820190508181036000830152614c988161463a565b9050919050565b6000602082019050614cb4600083018461466c565b92915050565b6000604082019050614ccf600083018561466c565b614cdc602083018461466c565b9392505050565b6000614ced614cfe565b9050614cf98282615052565b919050565b6000604051905090565b600067ffffffffffffffff821115614d2357614d226151b8565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614d4f57614d4e6151b8565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614d7b57614d7a6151b8565b5b614d8482615209565b9050602081019050919050565b600067ffffffffffffffff821115614dac57614dab6151b8565b5b614db582615209565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614e4982614fc7565b9150614e5483614fc7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e8957614e8861512b565b5b828201905092915050565b6000614e9f82614fc7565b9150614eaa83614fc7565b925082614eba57614eb961515a565b5b828204905092915050565b6000614ed082614fc7565b9150614edb83614fc7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f1457614f1361512b565b5b828202905092915050565b6000614f2a82614fc7565b9150614f3583614fc7565b925082821015614f4857614f4761512b565b5b828203905092915050565b6000614f5e82614fa7565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561500b578082015181840152602081019050614ff0565b8381111561501a576000848401525b50505050565b6000600282049050600182168061503857607f821691505b6020821081141561504c5761504b615189565b5b50919050565b61505b82615209565b810181811067ffffffffffffffff8211171561507a576150796151b8565b5b80604052505050565b600061508e82614fc7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156150c1576150c061512b565b5b600182019050919050565b60006150d7826150de565b9050919050565b60006150e98261521a565b9050919050565b6000819050919050565b600061510582614fc7565b915061511083614fc7565b9250826151205761511f61515a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156152065760046000803e615203600051615227565b90505b90565b6000601f19601f8301169050919050565b60008160601b9050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f57726f6e67206574682076616c75652e00000000000000000000000000000000600082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4d757374203e3d2063757272656e744c756e6368626f78657300000000000000600082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4c756e6368626f786573206d757374203e3d2030000000000000000000000000600082015250565b7f4c756e6368626f786573206d757374203c3d2032363636340000000000000000600082015250565b7f506c65617365207761697420666f72207075626c6963206d696e742100000000600082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f4f6e6c79204f6e65206d696e7420647572696e6720746865206576656e742100600082015250565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b7f77726f6e67206574682076616c75652e00000000000000000000000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4d6178206c756e6368626f786573206d696e7465642e00000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f5369676e6174757265206d757374206265203635206279746573206c6f6e6700600082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f496e76616c6964206c756e6368626f7820747970652e00000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4c756e6368626f7820616c7265616479206d696e7465642e0000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f4e6f206d6f7265206c756e6368626f78657320666f722073616c652e00000000600082015250565b600060443d10156158da5761595d565b6158e2614cfe565b60043d036004823e80513d602482011167ffffffffffffffff8211171561590a57505061595d565b808201805167ffffffffffffffff811115615928575050505061595d565b80602083010160043d03850181111561594557505050505061595d565b61595482602001850186615052565b82955050505050505b90565b61596981614f53565b811461597457600080fd5b50565b61598081614f65565b811461598b57600080fd5b50565b61599781614f7b565b81146159a257600080fd5b50565b6159ae81614fc7565b81146159b957600080fd5b5056fea26469706673582212204d8af2a4b6ce17b1d5509ecfbe0916a4c422847aeb4fb80fa9496610c5c59e8a64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000ddb7dc32fd0a0f65e6ac01c4dc551e10741a9abc00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d57574541483539697431316e34474c6a613133664b6d327533714a4833426d77676978766f4c6a55677459762f00000000000000000000
-----Decoded View---------------
Arg [0] : _importantAddress (address): 0xdDb7DC32fd0a0f65E6AC01C4dc551e10741A9AbC
Arg [1] : _baseURI (string): ipfs://QmWWEAH59it11n4GLja13fKm2u3qJH3BmwgixvoLjUgtYv/
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000ddb7dc32fd0a0f65e6ac01c4dc551e10741a9abc
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [3] : 697066733a2f2f516d57574541483539697431316e34474c6a613133664b6d32
Arg [4] : 7533714a4833426d77676978766f4c6a55677459762f00000000000000000000
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.