ERC-1155
Overview
Max Total Supply
0 F3KBOX
Holders
120
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:
Fantasy3K1155
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// contracts/Fantasy3k1155.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC1155.sol"; import "./access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; contract Fantasy3K1155 is ERC1155, Ownable, Pausable { using SafeMath for uint256; string public name; string public symbol; uint256 private _nextTokenId = 1; event MintBlindBox(address to, uint256 amountToMint); constructor(string memory _url) ERC1155(_url) { name = "Fantasy3K Box"; symbol = "F3KBOX"; } struct BoxIdx { uint256 _start; uint256 _end; uint256 _height; } mapping (uint256 => BoxIdx) boxIdxs; // Mint function function mint(address to, uint256 amountToMint) public onlyAdmin { uint256 amount = amountToMint; require(amount > 0, "Fantasy3k: invalid count"); _mint(to, _nextTokenId, amount, ""); _nextTokenId++; emit MintBlindBox(to, amountToMint); } function burnToken(address account, uint256 id, uint256 value) public { require( account == _msgSender() || isApprovedForAll(account, _msgSender()) || msg.sender == admin(), "ERC1155: caller is not owner nor approved" ); _burn(account, id, value); } function nextTokenId() public view returns (uint256) { return _nextTokenId; } function pauseContract() external onlyOwner { _pause(); } function unpauseContract() external onlyOwner { _unpause(); } 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); require(!paused(), "ERC1155Pausable: token transfer while paused"); } function setURI(string memory newuri) external onlyOwner { _setURI(newuri); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/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 tokenId) public view virtual override returns (string memory) { return string(abi.encodePacked(_uri, Strings.toString(tokenId))); } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance == amount, "F3K ERC1155: transfer amount must equl balance"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance == amount, "F3K ERC1155: transfer amount must equl balance"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 fromBalance = _balances[id][from]; require(fromBalance == amount, "F3K ERC1155: burn amount must equl balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "@openzeppelin/contracts/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; address private _admin; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); event AdminshipTransferred(address indexed previousAdmin, address indexed newAdmin); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); _transferAdminship(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Returns the address of the current owner. */ function admin() public view virtual returns (address) { return _admin; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } modifier onlyAdmin() { require(admin() == _msgSender(), "Ownable: caller is not the admin"); _; } /** * @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)); } function renounceAdminship() public virtual onlyAdmin { _transferAdminship(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); } function transferAdminship(address newAdmin) public virtual onlyOwner { require(newAdmin != address(0), "Ownable: new admin is the zero address"); _transferAdminship(newAdmin); } /** * @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); } function _transferAdminship(address newAdmin) internal virtual { address oldAdmin = _admin; _admin = newAdmin; emit AdminshipTransferred(oldAdmin, newAdmin); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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 v4.4.0 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.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. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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.0 (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.0 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_url","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":true,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminshipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountToMint","type":"uint256"}],"name":"MintBlindBox","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":"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":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amountToMint","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceAdminship","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","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":"newAdmin","type":"address"}],"name":"transferAdminship","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpauseContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405260016007553480156200001657600080fd5b50604051620046b7380380620046b783398181016040528101906200003c91906200041f565b806200004e816200014d60201b60201c565b506200006f620000636200016960201b60201c565b6200017160201b60201c565b6200008f620000836200016960201b60201c565b6200023760201b60201c565b6000600460146101000a81548160ff0219169083151502179055506040518060400160405280600d81526020017f46616e74617379334b20426f780000000000000000000000000000000000000081525060059080519060200190620000f7929190620002fd565b506040518060400160405280600681526020017f46334b424f5800000000000000000000000000000000000000000000000000008152506006908051906020019062000145929190620002fd565b505062000595565b806002908051906020019062000165929190620002fd565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f2931ebb3d190545dcf6801c37aa686b74f2e1000e753d0fac6e471a2aa5a621360405160405180910390a35050565b8280546200030b9062000501565b90600052602060002090601f0160209004810192826200032f57600085556200037b565b82601f106200034a57805160ff19168380011785556200037b565b828001600101855582156200037b579182015b828111156200037a5782518255916020019190600101906200035d565b5b5090506200038a91906200038e565b5090565b5b80821115620003a95760008160009055506001016200038f565b5090565b6000620003c4620003be8462000498565b62000464565b905082815260208101848484011115620003dd57600080fd5b620003ea848285620004cb565b509392505050565b600082601f8301126200040457600080fd5b815162000416848260208601620003ad565b91505092915050565b6000602082840312156200043257600080fd5b600082015167ffffffffffffffff8111156200044d57600080fd5b6200045b84828501620003f2565b91505092915050565b6000604051905081810181811067ffffffffffffffff821117156200048e576200048d62000566565b5b8060405250919050565b600067ffffffffffffffff821115620004b657620004b562000566565b5b601f19601f8301169050602081019050919050565b60005b83811015620004eb578082015181840152602081019050620004ce565b83811115620004fb576000848401525b50505050565b600060028204905060018216806200051a57607f821691505b6020821081141562000531576200053062000537565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61411280620005a56000396000f3fe608060405234801561001057600080fd5b506004361061014c5760003560e01c8063715018a6116100c3578063b33712c51161007c578063b33712c514610351578063e985e9c51461035b578063ed8c59381461038b578063f242432a146103a7578063f2fde38b146103c3578063f851a440146103df5761014c565b8063715018a6146102c757806375794a3c146102d15780638da5cb5b146102ef57806395d89b411461030d5780639bed25d81461032b578063a22cb465146103355761014c565b80632eb2c2d6116101155780632eb2c2d61461021b57806340c10f1914610237578063439766ce146102535780634e1273f41461025d5780635be7cc161461028d5780635c975abb146102a95761014c565b8062fdd58e1461015157806301ffc9a71461018157806302fe5305146101b157806306fdde03146101cd5780630e89341c146101eb575b600080fd5b61016b60048036038101906101669190612b8e565b6103fd565b6040516101789190613b15565b60405180910390f35b61019b60048036038101906101969190612c85565b6104c6565b6040516101a89190613838565b60405180910390f35b6101cb60048036038101906101c69190612cd7565b6105a8565b005b6101d5610630565b6040516101e29190613853565b60405180910390f35b61020560048036038101906102009190612d18565b6106be565b6040516102129190613853565b60405180910390f35b61023560048036038101906102309190612a04565b6106f2565b005b610251600480360381019061024c9190612b8e565b610793565b005b61025b6108ca565b005b61027760048036038101906102729190612c19565b610950565b60405161028491906137df565b60405180910390f35b6102a760048036038101906102a2919061299f565b610b01565b005b6102b1610bf9565b6040516102be9190613838565b60405180910390f35b6102cf610c10565b005b6102d9610c98565b6040516102e69190613b15565b60405180910390f35b6102f7610ca2565b60405161030491906136d9565b60405180910390f35b610315610ccc565b6040516103229190613853565b60405180910390f35b610333610d5a565b005b61034f600480360381019061034a9190612b52565b610de2565b005b610359610df8565b005b610375600480360381019061037091906129c8565b610e7e565b6040516103829190613838565b60405180910390f35b6103a560048036038101906103a09190612bca565b610f12565b005b6103c160048036038101906103bc9190612ac3565b610fec565b005b6103dd60048036038101906103d8919061299f565b61108d565b005b6103e7611185565b6040516103f491906136d9565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561046e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610465906138d5565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061059157507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105a157506105a0826111af565b5b9050919050565b6105b0611219565b73ffffffffffffffffffffffffffffffffffffffff166105ce610ca2565b73ffffffffffffffffffffffffffffffffffffffff1614610624576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061b90613a35565b60405180910390fd5b61062d81611221565b50565b6005805461063d90613e44565b80601f016020809104026020016040519081016040528092919081815260200182805461066990613e44565b80156106b65780601f1061068b576101008083540402835291602001916106b6565b820191906000526020600020905b81548152906001019060200180831161069957829003601f168201915b505050505081565b606060026106cb8361123b565b6040516020016106dc9291906136b5565b6040516020818303038152906040529050919050565b6106fa611219565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610740575061073f8561073a611219565b610e7e565b5b61077f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610776906139d5565b60405180910390fd5b61078c85858585856113e8565b5050505050565b61079b611219565b73ffffffffffffffffffffffffffffffffffffffff166107b9611185565b73ffffffffffffffffffffffffffffffffffffffff161461080f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610806906139f5565b60405180910390fd5b600081905060008111610857576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084e90613a75565b60405180910390fd5b610874836007548360405180602001604052806000815250611747565b6007600081548092919061088790613e76565b91905055507fa8d1c8a8235643ced7ac4110147fb8a3f8c4e334fe0976112566d218a7bfb21283836040516108bd9291906137b6565b60405180910390a1505050565b6108d2611219565b73ffffffffffffffffffffffffffffffffffffffff166108f0610ca2565b73ffffffffffffffffffffffffffffffffffffffff1614610946576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093d90613a35565b60405180910390fd5b61094e6118dd565b565b60608151835114610996576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098d90613ab5565b60405180910390fd5b6000835167ffffffffffffffff8111156109d9577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610a075781602001602082028036833780820191505090505b50905060005b8451811015610af657610aa0858281518110610a52577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610a93577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516103fd565b828281518110610ad9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610aef90613e76565b9050610a0d565b508091505092915050565b610b09611219565b73ffffffffffffffffffffffffffffffffffffffff16610b27610ca2565b73ffffffffffffffffffffffffffffffffffffffff1614610b7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7490613a35565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be490613995565b60405180910390fd5b610bf681611980565b50565b6000600460149054906101000a900460ff16905090565b610c18611219565b73ffffffffffffffffffffffffffffffffffffffff16610c36610ca2565b73ffffffffffffffffffffffffffffffffffffffff1614610c8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8390613a35565b60405180910390fd5b610c966000611a46565b565b6000600754905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60068054610cd990613e44565b80601f0160208091040260200160405190810160405280929190818152602001828054610d0590613e44565b8015610d525780601f10610d2757610100808354040283529160200191610d52565b820191906000526020600020905b815481529060010190602001808311610d3557829003601f168201915b505050505081565b610d62611219565b73ffffffffffffffffffffffffffffffffffffffff16610d80611185565b73ffffffffffffffffffffffffffffffffffffffff1614610dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcd906139f5565b60405180910390fd5b610de06000611980565b565b610df4610ded611219565b8383611b0c565b5050565b610e00611219565b73ffffffffffffffffffffffffffffffffffffffff16610e1e610ca2565b73ffffffffffffffffffffffffffffffffffffffff1614610e74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6b90613a35565b60405180910390fd5b610e7c611c79565b565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610f1a611219565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610f605750610f5f83610f5a611219565b610e7e565b5b80610f9d5750610f6e611185565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610fdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd390613955565b60405180910390fd5b610fe7838383611d1b565b505050565b610ff4611219565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061103a575061103985611034611219565b610e7e565b5b611079576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107090613955565b60405180910390fd5b6110868585858585611f37565b5050505050565b611095611219565b73ffffffffffffffffffffffffffffffffffffffff166110b3610ca2565b73ffffffffffffffffffffffffffffffffffffffff1614611109576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110090613a35565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611179576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611170906138f5565b60405180910390fd5b61118281611a46565b50565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b8060029080519060200190611237929190612697565b5050565b60606000821415611283576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506113e3565b600082905060005b600082146112b557808061129e90613e76565b915050600a826112ae9190613d29565b915061128b565b60008167ffffffffffffffff8111156112f7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156113295781602001600182028036833780820191505090505b5090505b600085146113dc576001826113429190613d5a565b9150600a856113519190613ebf565b603061135d9190613cd3565b60f81b818381518110611399577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856113d59190613d29565b945061132d565b8093505050505b919050565b815183511461142c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142390613ad5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561149c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611493906139b5565b60405180910390fd5b60006114a6611219565b90506114b68187878787876121b8565b60005b84518110156116b25760008582815181106114fd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110611542577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181146115e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d990613915565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116979190613cd3565b92505081905550505050806116ab90613e76565b90506114b9565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611729929190613801565b60405180910390a461173f818787878787612216565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156117b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ae90613af5565b60405180910390fd5b60006117c1611219565b90506117e2816000876117d3886123e6565b6117dc886123e6565b876121b8565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118419190613cd3565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516118bf929190613b30565b60405180910390a46118d6816000878787876124ac565b5050505050565b6118e5610bf9565b15611925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191c90613975565b60405180910390fd5b6001600460146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611969611219565b60405161197691906136d9565b60405180910390a1565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f2931ebb3d190545dcf6801c37aa686b74f2e1000e753d0fac6e471a2aa5a621360405160405180910390a35050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7290613a95565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c6c9190613838565b60405180910390a3505050565b611c81610bf9565b611cc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb7906138b5565b60405180910390fd5b6000600460146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611d04611219565b604051611d1191906136d9565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8290613a15565b60405180910390fd5b6000611d95611219565b9050611dc581856000611da7876123e6565b611db0876123e6565b604051806020016040528060008152506121b8565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828114611e5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5290613a55565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611f28929190613b30565b60405180910390a45050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611fa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9e906139b5565b60405180910390fd5b6000611fb1611219565b9050611fd1818787611fc2886123e6565b611fcb886123e6565b876121b8565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838114612067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205e90613915565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461211c9190613cd3565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612199929190613b30565b60405180910390a46121af8288888888886124ac565b50505050505050565b6121c686868686868661267c565b6121ce610bf9565b1561220e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220590613935565b60405180910390fd5b505050505050565b6122358473ffffffffffffffffffffffffffffffffffffffff16612684565b156123de578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161227b9594939291906136f4565b602060405180830381600087803b15801561229557600080fd5b505af19250505080156122c657506040513d601f19601f820116820180604052508101906122c39190612cae565b60015b612355576122d2613fca565b806122dd575061231a565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123119190613853565b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234c90613875565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146123dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d390613895565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561242b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156124595781602001602082028036833780820191505090505b5090508281600081518110612497577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b6124cb8473ffffffffffffffffffffffffffffffffffffffff16612684565b15612674578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161251195949392919061375c565b602060405180830381600087803b15801561252b57600080fd5b505af192505050801561255c57506040513d601f19601f820116820180604052508101906125599190612cae565b60015b6125eb57612568613fca565b8061257357506125b0565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a79190613853565b60405180910390fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e290613875565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612672576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266990613895565b60405180910390fd5b505b505050505050565b505050505050565b600080823b905060008111915050919050565b8280546126a390613e44565b90600052602060002090601f0160209004810192826126c5576000855561270c565b82601f106126de57805160ff191683800117855561270c565b8280016001018555821561270c579182015b8281111561270b5782518255916020019190600101906126f0565b5b509050612719919061271d565b5090565b5b8082111561273657600081600090555060010161271e565b5090565b600061274d61274884613b8a565b613b59565b9050808382526020820190508285602086028201111561276c57600080fd5b60005b8581101561279c5781612782888261288e565b84526020840193506020830192505060018101905061276f565b5050509392505050565b60006127b96127b484613bb6565b613b59565b905080838252602082019050828560208602820111156127d857600080fd5b60005b8581101561280857816127ee888261298a565b8452602084019350602083019250506001810190506127db565b5050509392505050565b600061282561282084613be2565b613b59565b90508281526020810184848401111561283d57600080fd5b612848848285613e02565b509392505050565b600061286361285e84613c12565b613b59565b90508281526020810184848401111561287b57600080fd5b612886848285613e02565b509392505050565b60008135905061289d81614080565b92915050565b600082601f8301126128b457600080fd5b81356128c484826020860161273a565b91505092915050565b600082601f8301126128de57600080fd5b81356128ee8482602086016127a6565b91505092915050565b60008135905061290681614097565b92915050565b60008135905061291b816140ae565b92915050565b600081519050612930816140ae565b92915050565b600082601f83011261294757600080fd5b8135612957848260208601612812565b91505092915050565b600082601f83011261297157600080fd5b8135612981848260208601612850565b91505092915050565b600081359050612999816140c5565b92915050565b6000602082840312156129b157600080fd5b60006129bf8482850161288e565b91505092915050565b600080604083850312156129db57600080fd5b60006129e98582860161288e565b92505060206129fa8582860161288e565b9150509250929050565b600080600080600060a08688031215612a1c57600080fd5b6000612a2a8882890161288e565b9550506020612a3b8882890161288e565b945050604086013567ffffffffffffffff811115612a5857600080fd5b612a64888289016128cd565b935050606086013567ffffffffffffffff811115612a8157600080fd5b612a8d888289016128cd565b925050608086013567ffffffffffffffff811115612aaa57600080fd5b612ab688828901612936565b9150509295509295909350565b600080600080600060a08688031215612adb57600080fd5b6000612ae98882890161288e565b9550506020612afa8882890161288e565b9450506040612b0b8882890161298a565b9350506060612b1c8882890161298a565b925050608086013567ffffffffffffffff811115612b3957600080fd5b612b4588828901612936565b9150509295509295909350565b60008060408385031215612b6557600080fd5b6000612b738582860161288e565b9250506020612b84858286016128f7565b9150509250929050565b60008060408385031215612ba157600080fd5b6000612baf8582860161288e565b9250506020612bc08582860161298a565b9150509250929050565b600080600060608486031215612bdf57600080fd5b6000612bed8682870161288e565b9350506020612bfe8682870161298a565b9250506040612c0f8682870161298a565b9150509250925092565b60008060408385031215612c2c57600080fd5b600083013567ffffffffffffffff811115612c4657600080fd5b612c52858286016128a3565b925050602083013567ffffffffffffffff811115612c6f57600080fd5b612c7b858286016128cd565b9150509250929050565b600060208284031215612c9757600080fd5b6000612ca58482850161290c565b91505092915050565b600060208284031215612cc057600080fd5b6000612cce84828501612921565b91505092915050565b600060208284031215612ce957600080fd5b600082013567ffffffffffffffff811115612d0357600080fd5b612d0f84828501612960565b91505092915050565b600060208284031215612d2a57600080fd5b6000612d388482850161298a565b91505092915050565b6000612d4d8383613697565b60208301905092915050565b612d6281613d8e565b82525050565b6000612d7382613c67565b612d7d8185613c95565b9350612d8883613c42565b8060005b83811015612db9578151612da08882612d41565b9750612dab83613c88565b925050600181019050612d8c565b5085935050505092915050565b612dcf81613da0565b82525050565b6000612de082613c72565b612dea8185613ca6565b9350612dfa818560208601613e11565b612e0381613fac565b840191505092915050565b6000612e1982613c7d565b612e238185613cb7565b9350612e33818560208601613e11565b612e3c81613fac565b840191505092915050565b6000612e5282613c7d565b612e5c8185613cc8565b9350612e6c818560208601613e11565b80840191505092915050565b60008154612e8581613e44565b612e8f8186613cc8565b94506001821660008114612eaa5760018114612ebb57612eee565b60ff19831686528186019350612eee565b612ec485613c52565b60005b83811015612ee657815481890152600182019150602081019050612ec7565b838801955050505b50505092915050565b6000612f04603483613cb7565b91507f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008301527f526563656976657220696d706c656d656e7465720000000000000000000000006020830152604082019050919050565b6000612f6a602883613cb7565b91507f455243313135353a204552433131353552656365697665722072656a6563746560008301527f6420746f6b656e730000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612fd0601483613cb7565b91507f5061757361626c653a206e6f74207061757365640000000000000000000000006000830152602082019050919050565b6000613010602b83613cb7565b91507f455243313135353a2062616c616e636520717565727920666f7220746865207a60008301527f65726f20616464726573730000000000000000000000000000000000000000006020830152604082019050919050565b6000613076602683613cb7565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006130dc602e83613cb7565b91507f46334b20455243313135353a207472616e7366657220616d6f756e74206d757360008301527f74206571756c2062616c616e63650000000000000000000000000000000000006020830152604082019050919050565b6000613142602c83613cb7565b91507f455243313135355061757361626c653a20746f6b656e207472616e736665722060008301527f7768696c652070617573656400000000000000000000000000000000000000006020830152604082019050919050565b60006131a8602983613cb7565b91507f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008301527f20617070726f76656400000000000000000000000000000000000000000000006020830152604082019050919050565b600061320e601083613cb7565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b600061324e602683613cb7565b91507f4f776e61626c653a206e65772061646d696e20697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006132b4602583613cb7565b91507f455243313135353a207472616e7366657220746f20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061331a603283613cb7565b91507f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008301527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006020830152604082019050919050565b6000613380602083613cb7565b91507f4f776e61626c653a2063616c6c6572206973206e6f74207468652061646d696e6000830152602082019050919050565b60006133c0602383613cb7565b91507f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613426602083613cb7565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613466602a83613cb7565b91507f46334b20455243313135353a206275726e20616d6f756e74206d75737420657160008301527f756c2062616c616e6365000000000000000000000000000000000000000000006020830152604082019050919050565b60006134cc601883613cb7565b91507f46616e74617379336b3a20696e76616c696420636f756e7400000000000000006000830152602082019050919050565b600061350c602983613cb7565b91507f455243313135353a2073657474696e6720617070726f76616c2073746174757360008301527f20666f722073656c6600000000000000000000000000000000000000000000006020830152604082019050919050565b6000613572602983613cb7565b91507f455243313135353a206163636f756e747320616e6420696473206c656e67746860008301527f206d69736d6174636800000000000000000000000000000000000000000000006020830152604082019050919050565b60006135d8602883613cb7565b91507f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008301527f6d69736d617463680000000000000000000000000000000000000000000000006020830152604082019050919050565b600061363e602183613cb7565b91507f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6136a081613df8565b82525050565b6136af81613df8565b82525050565b60006136c18285612e78565b91506136cd8284612e47565b91508190509392505050565b60006020820190506136ee6000830184612d59565b92915050565b600060a0820190506137096000830188612d59565b6137166020830187612d59565b81810360408301526137288186612d68565b9050818103606083015261373c8185612d68565b905081810360808301526137508184612dd5565b90509695505050505050565b600060a0820190506137716000830188612d59565b61377e6020830187612d59565b61378b60408301866136a6565b61379860608301856136a6565b81810360808301526137aa8184612dd5565b90509695505050505050565b60006040820190506137cb6000830185612d59565b6137d860208301846136a6565b9392505050565b600060208201905081810360008301526137f98184612d68565b905092915050565b6000604082019050818103600083015261381b8185612d68565b9050818103602083015261382f8184612d68565b90509392505050565b600060208201905061384d6000830184612dc6565b92915050565b6000602082019050818103600083015261386d8184612e0e565b905092915050565b6000602082019050818103600083015261388e81612ef7565b9050919050565b600060208201905081810360008301526138ae81612f5d565b9050919050565b600060208201905081810360008301526138ce81612fc3565b9050919050565b600060208201905081810360008301526138ee81613003565b9050919050565b6000602082019050818103600083015261390e81613069565b9050919050565b6000602082019050818103600083015261392e816130cf565b9050919050565b6000602082019050818103600083015261394e81613135565b9050919050565b6000602082019050818103600083015261396e8161319b565b9050919050565b6000602082019050818103600083015261398e81613201565b9050919050565b600060208201905081810360008301526139ae81613241565b9050919050565b600060208201905081810360008301526139ce816132a7565b9050919050565b600060208201905081810360008301526139ee8161330d565b9050919050565b60006020820190508181036000830152613a0e81613373565b9050919050565b60006020820190508181036000830152613a2e816133b3565b9050919050565b60006020820190508181036000830152613a4e81613419565b9050919050565b60006020820190508181036000830152613a6e81613459565b9050919050565b60006020820190508181036000830152613a8e816134bf565b9050919050565b60006020820190508181036000830152613aae816134ff565b9050919050565b60006020820190508181036000830152613ace81613565565b9050919050565b60006020820190508181036000830152613aee816135cb565b9050919050565b60006020820190508181036000830152613b0e81613631565b9050919050565b6000602082019050613b2a60008301846136a6565b92915050565b6000604082019050613b4560008301856136a6565b613b5260208301846136a6565b9392505050565b6000604051905081810181811067ffffffffffffffff82111715613b8057613b7f613f7d565b5b8060405250919050565b600067ffffffffffffffff821115613ba557613ba4613f7d565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613bd157613bd0613f7d565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613bfd57613bfc613f7d565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115613c2d57613c2c613f7d565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613cde82613df8565b9150613ce983613df8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d1e57613d1d613ef0565b5b828201905092915050565b6000613d3482613df8565b9150613d3f83613df8565b925082613d4f57613d4e613f1f565b5b828204905092915050565b6000613d6582613df8565b9150613d7083613df8565b925082821015613d8357613d82613ef0565b5b828203905092915050565b6000613d9982613dd8565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613e2f578082015181840152602081019050613e14565b83811115613e3e576000848401525b50505050565b60006002820490506001821680613e5c57607f821691505b60208210811415613e7057613e6f613f4e565b5b50919050565b6000613e8182613df8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613eb457613eb3613ef0565b5b600182019050919050565b6000613eca82613df8565b9150613ed583613df8565b925082613ee557613ee4613f1f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b600060443d1015613fda5761407d565b60046000803e613feb600051613fbd565b6308c379a08114613ffc575061407d565b60405160043d036004823e80513d602482011167ffffffffffffffff821117156140285750505061407d565b808201805167ffffffffffffffff81111561404757505050505061407d565b8060208301013d85018111156140625750505050505061407d565b61406b82613fac565b60208401016040528296505050505050505b90565b61408981613d8e565b811461409457600080fd5b50565b6140a081613da0565b81146140ab57600080fd5b50565b6140b781613dac565b81146140c257600080fd5b50565b6140ce81613df8565b81146140d957600080fd5b5056fea26469706673582212208fa9c6a6ca06ee438477843f136e112bf9466b5eaf56e6c7daf237c2de6e1ff464736f6c634300080000330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002a68747470733a2f2f6170692e66616e74617379336b2e636f6d2f6f70656e7365612f626f782f6e66742f00000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061014c5760003560e01c8063715018a6116100c3578063b33712c51161007c578063b33712c514610351578063e985e9c51461035b578063ed8c59381461038b578063f242432a146103a7578063f2fde38b146103c3578063f851a440146103df5761014c565b8063715018a6146102c757806375794a3c146102d15780638da5cb5b146102ef57806395d89b411461030d5780639bed25d81461032b578063a22cb465146103355761014c565b80632eb2c2d6116101155780632eb2c2d61461021b57806340c10f1914610237578063439766ce146102535780634e1273f41461025d5780635be7cc161461028d5780635c975abb146102a95761014c565b8062fdd58e1461015157806301ffc9a71461018157806302fe5305146101b157806306fdde03146101cd5780630e89341c146101eb575b600080fd5b61016b60048036038101906101669190612b8e565b6103fd565b6040516101789190613b15565b60405180910390f35b61019b60048036038101906101969190612c85565b6104c6565b6040516101a89190613838565b60405180910390f35b6101cb60048036038101906101c69190612cd7565b6105a8565b005b6101d5610630565b6040516101e29190613853565b60405180910390f35b61020560048036038101906102009190612d18565b6106be565b6040516102129190613853565b60405180910390f35b61023560048036038101906102309190612a04565b6106f2565b005b610251600480360381019061024c9190612b8e565b610793565b005b61025b6108ca565b005b61027760048036038101906102729190612c19565b610950565b60405161028491906137df565b60405180910390f35b6102a760048036038101906102a2919061299f565b610b01565b005b6102b1610bf9565b6040516102be9190613838565b60405180910390f35b6102cf610c10565b005b6102d9610c98565b6040516102e69190613b15565b60405180910390f35b6102f7610ca2565b60405161030491906136d9565b60405180910390f35b610315610ccc565b6040516103229190613853565b60405180910390f35b610333610d5a565b005b61034f600480360381019061034a9190612b52565b610de2565b005b610359610df8565b005b610375600480360381019061037091906129c8565b610e7e565b6040516103829190613838565b60405180910390f35b6103a560048036038101906103a09190612bca565b610f12565b005b6103c160048036038101906103bc9190612ac3565b610fec565b005b6103dd60048036038101906103d8919061299f565b61108d565b005b6103e7611185565b6040516103f491906136d9565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561046e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610465906138d5565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061059157507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105a157506105a0826111af565b5b9050919050565b6105b0611219565b73ffffffffffffffffffffffffffffffffffffffff166105ce610ca2565b73ffffffffffffffffffffffffffffffffffffffff1614610624576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061b90613a35565b60405180910390fd5b61062d81611221565b50565b6005805461063d90613e44565b80601f016020809104026020016040519081016040528092919081815260200182805461066990613e44565b80156106b65780601f1061068b576101008083540402835291602001916106b6565b820191906000526020600020905b81548152906001019060200180831161069957829003601f168201915b505050505081565b606060026106cb8361123b565b6040516020016106dc9291906136b5565b6040516020818303038152906040529050919050565b6106fa611219565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610740575061073f8561073a611219565b610e7e565b5b61077f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610776906139d5565b60405180910390fd5b61078c85858585856113e8565b5050505050565b61079b611219565b73ffffffffffffffffffffffffffffffffffffffff166107b9611185565b73ffffffffffffffffffffffffffffffffffffffff161461080f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610806906139f5565b60405180910390fd5b600081905060008111610857576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084e90613a75565b60405180910390fd5b610874836007548360405180602001604052806000815250611747565b6007600081548092919061088790613e76565b91905055507fa8d1c8a8235643ced7ac4110147fb8a3f8c4e334fe0976112566d218a7bfb21283836040516108bd9291906137b6565b60405180910390a1505050565b6108d2611219565b73ffffffffffffffffffffffffffffffffffffffff166108f0610ca2565b73ffffffffffffffffffffffffffffffffffffffff1614610946576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093d90613a35565b60405180910390fd5b61094e6118dd565b565b60608151835114610996576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098d90613ab5565b60405180910390fd5b6000835167ffffffffffffffff8111156109d9577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610a075781602001602082028036833780820191505090505b50905060005b8451811015610af657610aa0858281518110610a52577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610a93577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516103fd565b828281518110610ad9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610aef90613e76565b9050610a0d565b508091505092915050565b610b09611219565b73ffffffffffffffffffffffffffffffffffffffff16610b27610ca2565b73ffffffffffffffffffffffffffffffffffffffff1614610b7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7490613a35565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be490613995565b60405180910390fd5b610bf681611980565b50565b6000600460149054906101000a900460ff16905090565b610c18611219565b73ffffffffffffffffffffffffffffffffffffffff16610c36610ca2565b73ffffffffffffffffffffffffffffffffffffffff1614610c8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8390613a35565b60405180910390fd5b610c966000611a46565b565b6000600754905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60068054610cd990613e44565b80601f0160208091040260200160405190810160405280929190818152602001828054610d0590613e44565b8015610d525780601f10610d2757610100808354040283529160200191610d52565b820191906000526020600020905b815481529060010190602001808311610d3557829003601f168201915b505050505081565b610d62611219565b73ffffffffffffffffffffffffffffffffffffffff16610d80611185565b73ffffffffffffffffffffffffffffffffffffffff1614610dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcd906139f5565b60405180910390fd5b610de06000611980565b565b610df4610ded611219565b8383611b0c565b5050565b610e00611219565b73ffffffffffffffffffffffffffffffffffffffff16610e1e610ca2565b73ffffffffffffffffffffffffffffffffffffffff1614610e74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6b90613a35565b60405180910390fd5b610e7c611c79565b565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610f1a611219565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610f605750610f5f83610f5a611219565b610e7e565b5b80610f9d5750610f6e611185565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610fdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd390613955565b60405180910390fd5b610fe7838383611d1b565b505050565b610ff4611219565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061103a575061103985611034611219565b610e7e565b5b611079576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107090613955565b60405180910390fd5b6110868585858585611f37565b5050505050565b611095611219565b73ffffffffffffffffffffffffffffffffffffffff166110b3610ca2565b73ffffffffffffffffffffffffffffffffffffffff1614611109576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110090613a35565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611179576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611170906138f5565b60405180910390fd5b61118281611a46565b50565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b8060029080519060200190611237929190612697565b5050565b60606000821415611283576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506113e3565b600082905060005b600082146112b557808061129e90613e76565b915050600a826112ae9190613d29565b915061128b565b60008167ffffffffffffffff8111156112f7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156113295781602001600182028036833780820191505090505b5090505b600085146113dc576001826113429190613d5a565b9150600a856113519190613ebf565b603061135d9190613cd3565b60f81b818381518110611399577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856113d59190613d29565b945061132d565b8093505050505b919050565b815183511461142c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142390613ad5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561149c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611493906139b5565b60405180910390fd5b60006114a6611219565b90506114b68187878787876121b8565b60005b84518110156116b25760008582815181106114fd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110611542577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181146115e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d990613915565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116979190613cd3565b92505081905550505050806116ab90613e76565b90506114b9565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611729929190613801565b60405180910390a461173f818787878787612216565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156117b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ae90613af5565b60405180910390fd5b60006117c1611219565b90506117e2816000876117d3886123e6565b6117dc886123e6565b876121b8565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118419190613cd3565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516118bf929190613b30565b60405180910390a46118d6816000878787876124ac565b5050505050565b6118e5610bf9565b15611925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191c90613975565b60405180910390fd5b6001600460146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611969611219565b60405161197691906136d9565b60405180910390a1565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f2931ebb3d190545dcf6801c37aa686b74f2e1000e753d0fac6e471a2aa5a621360405160405180910390a35050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7290613a95565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c6c9190613838565b60405180910390a3505050565b611c81610bf9565b611cc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb7906138b5565b60405180910390fd5b6000600460146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611d04611219565b604051611d1191906136d9565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8290613a15565b60405180910390fd5b6000611d95611219565b9050611dc581856000611da7876123e6565b611db0876123e6565b604051806020016040528060008152506121b8565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050828114611e5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5290613a55565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611f28929190613b30565b60405180910390a45050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611fa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9e906139b5565b60405180910390fd5b6000611fb1611219565b9050611fd1818787611fc2886123e6565b611fcb886123e6565b876121b8565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838114612067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205e90613915565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461211c9190613cd3565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612199929190613b30565b60405180910390a46121af8288888888886124ac565b50505050505050565b6121c686868686868661267c565b6121ce610bf9565b1561220e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220590613935565b60405180910390fd5b505050505050565b6122358473ffffffffffffffffffffffffffffffffffffffff16612684565b156123de578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161227b9594939291906136f4565b602060405180830381600087803b15801561229557600080fd5b505af19250505080156122c657506040513d601f19601f820116820180604052508101906122c39190612cae565b60015b612355576122d2613fca565b806122dd575061231a565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123119190613853565b60405180910390fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234c90613875565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146123dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d390613895565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561242b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156124595781602001602082028036833780820191505090505b5090508281600081518110612497577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b6124cb8473ffffffffffffffffffffffffffffffffffffffff16612684565b15612674578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161251195949392919061375c565b602060405180830381600087803b15801561252b57600080fd5b505af192505050801561255c57506040513d601f19601f820116820180604052508101906125599190612cae565b60015b6125eb57612568613fca565b8061257357506125b0565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a79190613853565b60405180910390fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e290613875565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612672576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266990613895565b60405180910390fd5b505b505050505050565b505050505050565b600080823b905060008111915050919050565b8280546126a390613e44565b90600052602060002090601f0160209004810192826126c5576000855561270c565b82601f106126de57805160ff191683800117855561270c565b8280016001018555821561270c579182015b8281111561270b5782518255916020019190600101906126f0565b5b509050612719919061271d565b5090565b5b8082111561273657600081600090555060010161271e565b5090565b600061274d61274884613b8a565b613b59565b9050808382526020820190508285602086028201111561276c57600080fd5b60005b8581101561279c5781612782888261288e565b84526020840193506020830192505060018101905061276f565b5050509392505050565b60006127b96127b484613bb6565b613b59565b905080838252602082019050828560208602820111156127d857600080fd5b60005b8581101561280857816127ee888261298a565b8452602084019350602083019250506001810190506127db565b5050509392505050565b600061282561282084613be2565b613b59565b90508281526020810184848401111561283d57600080fd5b612848848285613e02565b509392505050565b600061286361285e84613c12565b613b59565b90508281526020810184848401111561287b57600080fd5b612886848285613e02565b509392505050565b60008135905061289d81614080565b92915050565b600082601f8301126128b457600080fd5b81356128c484826020860161273a565b91505092915050565b600082601f8301126128de57600080fd5b81356128ee8482602086016127a6565b91505092915050565b60008135905061290681614097565b92915050565b60008135905061291b816140ae565b92915050565b600081519050612930816140ae565b92915050565b600082601f83011261294757600080fd5b8135612957848260208601612812565b91505092915050565b600082601f83011261297157600080fd5b8135612981848260208601612850565b91505092915050565b600081359050612999816140c5565b92915050565b6000602082840312156129b157600080fd5b60006129bf8482850161288e565b91505092915050565b600080604083850312156129db57600080fd5b60006129e98582860161288e565b92505060206129fa8582860161288e565b9150509250929050565b600080600080600060a08688031215612a1c57600080fd5b6000612a2a8882890161288e565b9550506020612a3b8882890161288e565b945050604086013567ffffffffffffffff811115612a5857600080fd5b612a64888289016128cd565b935050606086013567ffffffffffffffff811115612a8157600080fd5b612a8d888289016128cd565b925050608086013567ffffffffffffffff811115612aaa57600080fd5b612ab688828901612936565b9150509295509295909350565b600080600080600060a08688031215612adb57600080fd5b6000612ae98882890161288e565b9550506020612afa8882890161288e565b9450506040612b0b8882890161298a565b9350506060612b1c8882890161298a565b925050608086013567ffffffffffffffff811115612b3957600080fd5b612b4588828901612936565b9150509295509295909350565b60008060408385031215612b6557600080fd5b6000612b738582860161288e565b9250506020612b84858286016128f7565b9150509250929050565b60008060408385031215612ba157600080fd5b6000612baf8582860161288e565b9250506020612bc08582860161298a565b9150509250929050565b600080600060608486031215612bdf57600080fd5b6000612bed8682870161288e565b9350506020612bfe8682870161298a565b9250506040612c0f8682870161298a565b9150509250925092565b60008060408385031215612c2c57600080fd5b600083013567ffffffffffffffff811115612c4657600080fd5b612c52858286016128a3565b925050602083013567ffffffffffffffff811115612c6f57600080fd5b612c7b858286016128cd565b9150509250929050565b600060208284031215612c9757600080fd5b6000612ca58482850161290c565b91505092915050565b600060208284031215612cc057600080fd5b6000612cce84828501612921565b91505092915050565b600060208284031215612ce957600080fd5b600082013567ffffffffffffffff811115612d0357600080fd5b612d0f84828501612960565b91505092915050565b600060208284031215612d2a57600080fd5b6000612d388482850161298a565b91505092915050565b6000612d4d8383613697565b60208301905092915050565b612d6281613d8e565b82525050565b6000612d7382613c67565b612d7d8185613c95565b9350612d8883613c42565b8060005b83811015612db9578151612da08882612d41565b9750612dab83613c88565b925050600181019050612d8c565b5085935050505092915050565b612dcf81613da0565b82525050565b6000612de082613c72565b612dea8185613ca6565b9350612dfa818560208601613e11565b612e0381613fac565b840191505092915050565b6000612e1982613c7d565b612e238185613cb7565b9350612e33818560208601613e11565b612e3c81613fac565b840191505092915050565b6000612e5282613c7d565b612e5c8185613cc8565b9350612e6c818560208601613e11565b80840191505092915050565b60008154612e8581613e44565b612e8f8186613cc8565b94506001821660008114612eaa5760018114612ebb57612eee565b60ff19831686528186019350612eee565b612ec485613c52565b60005b83811015612ee657815481890152600182019150602081019050612ec7565b838801955050505b50505092915050565b6000612f04603483613cb7565b91507f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008301527f526563656976657220696d706c656d656e7465720000000000000000000000006020830152604082019050919050565b6000612f6a602883613cb7565b91507f455243313135353a204552433131353552656365697665722072656a6563746560008301527f6420746f6b656e730000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612fd0601483613cb7565b91507f5061757361626c653a206e6f74207061757365640000000000000000000000006000830152602082019050919050565b6000613010602b83613cb7565b91507f455243313135353a2062616c616e636520717565727920666f7220746865207a60008301527f65726f20616464726573730000000000000000000000000000000000000000006020830152604082019050919050565b6000613076602683613cb7565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006130dc602e83613cb7565b91507f46334b20455243313135353a207472616e7366657220616d6f756e74206d757360008301527f74206571756c2062616c616e63650000000000000000000000000000000000006020830152604082019050919050565b6000613142602c83613cb7565b91507f455243313135355061757361626c653a20746f6b656e207472616e736665722060008301527f7768696c652070617573656400000000000000000000000000000000000000006020830152604082019050919050565b60006131a8602983613cb7565b91507f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008301527f20617070726f76656400000000000000000000000000000000000000000000006020830152604082019050919050565b600061320e601083613cb7565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b600061324e602683613cb7565b91507f4f776e61626c653a206e65772061646d696e20697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006132b4602583613cb7565b91507f455243313135353a207472616e7366657220746f20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061331a603283613cb7565b91507f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008301527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006020830152604082019050919050565b6000613380602083613cb7565b91507f4f776e61626c653a2063616c6c6572206973206e6f74207468652061646d696e6000830152602082019050919050565b60006133c0602383613cb7565b91507f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008301527f65737300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613426602083613cb7565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613466602a83613cb7565b91507f46334b20455243313135353a206275726e20616d6f756e74206d75737420657160008301527f756c2062616c616e6365000000000000000000000000000000000000000000006020830152604082019050919050565b60006134cc601883613cb7565b91507f46616e74617379336b3a20696e76616c696420636f756e7400000000000000006000830152602082019050919050565b600061350c602983613cb7565b91507f455243313135353a2073657474696e6720617070726f76616c2073746174757360008301527f20666f722073656c6600000000000000000000000000000000000000000000006020830152604082019050919050565b6000613572602983613cb7565b91507f455243313135353a206163636f756e747320616e6420696473206c656e67746860008301527f206d69736d6174636800000000000000000000000000000000000000000000006020830152604082019050919050565b60006135d8602883613cb7565b91507f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008301527f6d69736d617463680000000000000000000000000000000000000000000000006020830152604082019050919050565b600061363e602183613cb7565b91507f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6136a081613df8565b82525050565b6136af81613df8565b82525050565b60006136c18285612e78565b91506136cd8284612e47565b91508190509392505050565b60006020820190506136ee6000830184612d59565b92915050565b600060a0820190506137096000830188612d59565b6137166020830187612d59565b81810360408301526137288186612d68565b9050818103606083015261373c8185612d68565b905081810360808301526137508184612dd5565b90509695505050505050565b600060a0820190506137716000830188612d59565b61377e6020830187612d59565b61378b60408301866136a6565b61379860608301856136a6565b81810360808301526137aa8184612dd5565b90509695505050505050565b60006040820190506137cb6000830185612d59565b6137d860208301846136a6565b9392505050565b600060208201905081810360008301526137f98184612d68565b905092915050565b6000604082019050818103600083015261381b8185612d68565b9050818103602083015261382f8184612d68565b90509392505050565b600060208201905061384d6000830184612dc6565b92915050565b6000602082019050818103600083015261386d8184612e0e565b905092915050565b6000602082019050818103600083015261388e81612ef7565b9050919050565b600060208201905081810360008301526138ae81612f5d565b9050919050565b600060208201905081810360008301526138ce81612fc3565b9050919050565b600060208201905081810360008301526138ee81613003565b9050919050565b6000602082019050818103600083015261390e81613069565b9050919050565b6000602082019050818103600083015261392e816130cf565b9050919050565b6000602082019050818103600083015261394e81613135565b9050919050565b6000602082019050818103600083015261396e8161319b565b9050919050565b6000602082019050818103600083015261398e81613201565b9050919050565b600060208201905081810360008301526139ae81613241565b9050919050565b600060208201905081810360008301526139ce816132a7565b9050919050565b600060208201905081810360008301526139ee8161330d565b9050919050565b60006020820190508181036000830152613a0e81613373565b9050919050565b60006020820190508181036000830152613a2e816133b3565b9050919050565b60006020820190508181036000830152613a4e81613419565b9050919050565b60006020820190508181036000830152613a6e81613459565b9050919050565b60006020820190508181036000830152613a8e816134bf565b9050919050565b60006020820190508181036000830152613aae816134ff565b9050919050565b60006020820190508181036000830152613ace81613565565b9050919050565b60006020820190508181036000830152613aee816135cb565b9050919050565b60006020820190508181036000830152613b0e81613631565b9050919050565b6000602082019050613b2a60008301846136a6565b92915050565b6000604082019050613b4560008301856136a6565b613b5260208301846136a6565b9392505050565b6000604051905081810181811067ffffffffffffffff82111715613b8057613b7f613f7d565b5b8060405250919050565b600067ffffffffffffffff821115613ba557613ba4613f7d565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613bd157613bd0613f7d565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613bfd57613bfc613f7d565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115613c2d57613c2c613f7d565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613cde82613df8565b9150613ce983613df8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d1e57613d1d613ef0565b5b828201905092915050565b6000613d3482613df8565b9150613d3f83613df8565b925082613d4f57613d4e613f1f565b5b828204905092915050565b6000613d6582613df8565b9150613d7083613df8565b925082821015613d8357613d82613ef0565b5b828203905092915050565b6000613d9982613dd8565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613e2f578082015181840152602081019050613e14565b83811115613e3e576000848401525b50505050565b60006002820490506001821680613e5c57607f821691505b60208210811415613e7057613e6f613f4e565b5b50919050565b6000613e8182613df8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613eb457613eb3613ef0565b5b600182019050919050565b6000613eca82613df8565b9150613ed583613df8565b925082613ee557613ee4613f1f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b600060443d1015613fda5761407d565b60046000803e613feb600051613fbd565b6308c379a08114613ffc575061407d565b60405160043d036004823e80513d602482011167ffffffffffffffff821117156140285750505061407d565b808201805167ffffffffffffffff81111561404757505050505061407d565b8060208301013d85018111156140625750505050505061407d565b61406b82613fac565b60208401016040528296505050505050505b90565b61408981613d8e565b811461409457600080fd5b50565b6140a081613da0565b81146140ab57600080fd5b50565b6140b781613dac565b81146140c257600080fd5b50565b6140ce81613df8565b81146140d957600080fd5b5056fea26469706673582212208fa9c6a6ca06ee438477843f136e112bf9466b5eaf56e6c7daf237c2de6e1ff464736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002a68747470733a2f2f6170692e66616e74617379336b2e636f6d2f6f70656e7365612f626f782f6e66742f00000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _url (string): https://api.fantasy3k.com/opensea/box/nft/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000002a
Arg [2] : 68747470733a2f2f6170692e66616e74617379336b2e636f6d2f6f70656e7365
Arg [3] : 612f626f782f6e66742f00000000000000000000000000000000000000000000
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.