ERC-1155
Overview
Max Total Supply
82
Holders
21
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 Source Code Verified (Exact Match)
Contract Name:
ApeiroPage
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; interface USDC { function transfer(address dst, uint amt) external returns (bool); function transferFrom(address src, address dst, uint amt) external returns (bool); function balanceOf(address src) external view returns (uint); } contract ApeiroPage is ERC1155, Ownable { uint256 private _price = 1000 * (10 ** 6); //1000 USDC uint256 private _totalMinted = 0; uint256 private _canMintInBatch = 0; uint256 private _mintedInBatch = 0; uint256 private _maxMint = 0; mapping(address => bool) private whitelistedAddresses; string public cid = "QmPc683wwnpoNe8pSDk91oHhsT9sihxYEgEPzEM8o9eVfB"; USDC public usdc; constructor() ERC1155("") Ownable(){ usdc = USDC(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48); } //in the function below include the CID of the JSON folder on IPFS // TODO: Change the ipfs link to final json folder after uploading images and json function uri(uint256 _tokenId) override public view returns (string memory) { return string( abi.encodePacked( "https://ipfs.io/ipfs/", cid, "/image_", Strings.toString(_tokenId), ".json" ) ); } function updateCid(string memory _cid) public onlyOwner { cid = _cid; } function enableMint(uint256 count) public onlyOwner { if (_maxMint != 0) { require(_totalMinted < _maxMint, "Max mint exceeded"); require(_totalMinted + count <= _maxMint, "This will exceed max allowed mint"); } _canMintInBatch = count; _mintedInBatch = 0; } function mint(uint256 _amountInUsdc) external { uint256 alreadyMinted = _mintedInBatch; uint256 mintId = _totalMinted + 1; require(alreadyMinted < _canMintInBatch, "Sold out"); require(_price <= _amountInUsdc, "USDC value sent is not correct"); require(whitelistedAddresses[msg.sender], "Not in whitelist, can't mint"); // Transfer the USDC to contract bool success = usdc.transferFrom(msg.sender, address(this), _amountInUsdc); require(success, "Buy failed"); // mint the nft and send to buyer _mint(msg.sender, mintId, 1, ""); alreadyMinted++; _totalMinted = mintId; _mintedInBatch = alreadyMinted; } function setPrice(uint256 price) public onlyOwner { _price = price; } function setMaxMint(uint256 maxAmt) public onlyOwner { _maxMint = maxAmt; } function totalMinted() public view virtual returns (uint256) { return _totalMinted; } function canMintInBatch() public view virtual returns (uint256) { return _canMintInBatch; } function mintedInBatch() public view virtual returns (uint256) { return _mintedInBatch; } function maxMint() public view virtual returns (uint256) { return _maxMint; } function getPrice() public view virtual returns (uint256) { return _price; } function withdraw() external onlyOwner { usdc.transfer(owner(), usdc.balanceOf(address(this))); } function availableForWithdrawl() public view virtual returns (uint256){ return usdc.balanceOf(address(this)); } function isWhitelisted(address addr) public view virtual returns (bool) { return whitelistedAddresses[addr]; } function whitelistAddresses(address[] memory addresses) external onlyOwner { for (uint i = 0; i < addresses.length; i++) { whitelistedAddresses[addresses[i]] = true; } } function removeFromWhitelist(address[] memory addresses) external onlyOwner { for (uint i = 0; i < addresses.length; i++) { whitelistedAddresses[addresses[i]] = false; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, to, ids, amounts, data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** * @dev Handles the receipt of a single ERC1155 token type. This function is * called at the end of a `safeTransferFrom` after the balance has been updated. * * NOTE: To accept the transfer, this must return * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` * (i.e. 0xf23a6e61, or its own function selector). * * @param operator The address which initiated the transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param id The ID of the token being transferred * @param value The amount of tokens being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @dev Handles the receipt of a multiple ERC1155 token types. This function * is called at the end of a `safeBatchTransferFrom` after the balances have * been updated. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"availableForWithdrawl","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"canMintInBatch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cid","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"enableMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amountInUsdc","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintedInBatch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"removeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxAmt","type":"uint256"}],"name":"setMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPrice","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":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_cid","type":"string"}],"name":"updateCid","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"usdc","outputs":[{"internalType":"contract USDC","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"whitelistAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052633b9aca0060045560006005556000600655600060075560006008556040518060600160405280602e81526020016200470c602e9139600a908051906020019062000051929190620001e7565b503480156200005f57600080fd5b50604051806020016040528060008152506200008181620000fd60201b60201c565b50620000a2620000966200011960201b60201c565b6200012160201b60201c565b73a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620002fc565b806002908051906020019062000115929190620001e7565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001f59062000297565b90600052602060002090601f01602090048101928262000219576000855562000265565b82601f106200023457805160ff191683800117855562000265565b8280016001018555821562000265579182015b828111156200026457825182559160200191906001019062000247565b5b50905062000274919062000278565b5090565b5b808211156200029357600081600090555060010162000279565b5090565b60006002820490506001821680620002b057607f821691505b60208210811415620002c757620002c6620002cd565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b614400806200030c6000396000f3fe608060405234801561001057600080fd5b50600436106101c35760003560e01c806391b7f5ed116100f9578063c504139411610097578063e985e9c511610071578063e985e9c5146104ba578063f03f542b146104ea578063f242432a14610506578063f2fde38b14610522576101c3565b8063c504139414610462578063cd08dfca14610480578063d4c720d31461049e576101c3565b8063a22cb465116100d3578063a22cb465146103ec578063a2309ff814610408578063a731a96014610426578063aa3ec0a914610444576101c3565b806391b7f5ed1461039657806398d5fdca146103b2578063a0712d68146103d0576101c3565b80633e413bee11610166578063548db17411610140578063548db17414610334578063715018a6146103505780637501f7411461035a5780638da5cb5b14610378576101c3565b80633e413bee146102ca5780634e1273f4146102e8578063547520fe14610318576101c3565b80632bf04304116101a25780632bf04304146102585780632eb2c2d6146102745780633af32abf146102905780633ccfd60b146102c0576101c3565b8062fdd58e146101c857806301ffc9a7146101f85780630e89341c14610228575b600080fd5b6101e260048036038101906101dd9190612c45565b61053e565b6040516101ef91906137e8565b60405180910390f35b610212600480360381019061020d9190612d73565b610607565b60405161021f9190613530565b60405180910390f35b610242600480360381019061023d9190612e16565b6106e9565b60405161024f9190613566565b60405180910390f35b610272600480360381019061026d9190612c85565b61071d565b005b61028e60048036038101906102899190612a9f565b61082e565b005b6102aa60048036038101906102a59190612a32565b6108cf565b6040516102b79190613530565b60405180910390f35b6102c8610925565b005b6102d2610b04565b6040516102df919061354b565b60405180910390f35b61030260048036038101906102fd9190612cce565b610b2a565b60405161030f91906134d7565b60405180910390f35b610332600480360381019061032d9190612e16565b610c43565b005b61034e60048036038101906103499190612c85565b610cc9565b005b610358610dda565b005b610362610e62565b60405161036f91906137e8565b60405180910390f35b610380610e6c565b60405161038d919061339a565b60405180910390f35b6103b060048036038101906103ab9190612e16565b610e96565b005b6103ba610f1c565b6040516103c791906137e8565b60405180910390f35b6103ea60048036038101906103e59190612e16565b610f26565b005b61040660048036038101906104019190612c05565b611188565b005b61041061119e565b60405161041d91906137e8565b60405180910390f35b61042e6111a8565b60405161043b91906137e8565b60405180910390f35b61044c6111b2565b6040516104599190613566565b60405180910390f35b61046a611240565b60405161047791906137e8565b60405180910390f35b6104886112f2565b60405161049591906137e8565b60405180910390f35b6104b860048036038101906104b39190612e16565b6112fc565b005b6104d460048036038101906104cf9190612a5f565b61142d565b6040516104e19190613530565b60405180910390f35b61050460048036038101906104ff9190612dcd565b6114c1565b005b610520600480360381019061051b9190612b6e565b611557565b005b61053c60048036038101906105379190612a32565b6115f8565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156105af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a6906135e8565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106d257507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106e257506106e1826116f0565b5b9050919050565b6060600a6106f68361175a565b604051602001610707929190613355565b6040516020818303038152906040529050919050565b6107256118bb565b73ffffffffffffffffffffffffffffffffffffffff16610743610e6c565b73ffffffffffffffffffffffffffffffffffffffff1614610799576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610790906136e8565b60405180910390fd5b60005b815181101561082a576001600960008484815181106107be576107bd613cad565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061082290613ba6565b91505061079c565b5050565b6108366118bb565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061087c575061087b856108766118bb565b61142d565b5b6108bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b2906136a8565b60405180910390fd5b6108c885858585856118c3565b5050505050565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b61092d6118bb565b73ffffffffffffffffffffffffffffffffffffffff1661094b610e6c565b73ffffffffffffffffffffffffffffffffffffffff16146109a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610998906136e8565b60405180910390fd5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6109e7610e6c565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610a42919061339a565b60206040518083038186803b158015610a5a57600080fd5b505afa158015610a6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a929190612e43565b6040518363ffffffff1660e01b8152600401610aaf9291906134ae565b602060405180830381600087803b158015610ac957600080fd5b505af1158015610add573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b019190612d46565b50565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60608151835114610b70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6790613788565b60405180910390fd5b6000835167ffffffffffffffff811115610b8d57610b8c613cdc565b5b604051908082528060200260200182016040528015610bbb5781602001602082028036833780820191505090505b50905060005b8451811015610c3857610c08858281518110610be057610bdf613cad565b5b6020026020010151858381518110610bfb57610bfa613cad565b5b602002602001015161053e565b828281518110610c1b57610c1a613cad565b5b60200260200101818152505080610c3190613ba6565b9050610bc1565b508091505092915050565b610c4b6118bb565b73ffffffffffffffffffffffffffffffffffffffff16610c69610e6c565b73ffffffffffffffffffffffffffffffffffffffff1614610cbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb6906136e8565b60405180910390fd5b8060088190555050565b610cd16118bb565b73ffffffffffffffffffffffffffffffffffffffff16610cef610e6c565b73ffffffffffffffffffffffffffffffffffffffff1614610d45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3c906136e8565b60405180910390fd5b60005b8151811015610dd657600060096000848481518110610d6a57610d69613cad565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610dce90613ba6565b915050610d48565b5050565b610de26118bb565b73ffffffffffffffffffffffffffffffffffffffff16610e00610e6c565b73ffffffffffffffffffffffffffffffffffffffff1614610e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4d906136e8565b60405180910390fd5b610e606000611be5565b565b6000600854905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610e9e6118bb565b73ffffffffffffffffffffffffffffffffffffffff16610ebc610e6c565b73ffffffffffffffffffffffffffffffffffffffff1614610f12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f09906136e8565b60405180910390fd5b8060048190555050565b6000600454905090565b6000600754905060006001600554610f3e919061399c565b90506006548210610f84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7b90613728565b60405180910390fd5b826004541115610fc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc090613748565b60405180910390fd5b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611055576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104c906135a8565b60405180910390fd5b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330876040518463ffffffff1660e01b81526004016110b69392919061341d565b602060405180830381600087803b1580156110d057600080fd5b505af11580156110e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111089190612d46565b90508061114a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114190613668565b60405180910390fd5b6111663383600160405180602001604052806000815250611cab565b828061117190613ba6565b935050816005819055508260078190555050505050565b61119a6111936118bb565b8383611e5c565b5050565b6000600554905090565b6000600754905090565b600a80546111bf90613b43565b80601f01602080910402602001604051908101604052809291908181526020018280546111eb90613b43565b80156112385780601f1061120d57610100808354040283529160200191611238565b820191906000526020600020905b81548152906001019060200180831161121b57829003601f168201915b505050505081565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161129d919061339a565b60206040518083038186803b1580156112b557600080fd5b505afa1580156112c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ed9190612e43565b905090565b6000600654905090565b6113046118bb565b73ffffffffffffffffffffffffffffffffffffffff16611322610e6c565b73ffffffffffffffffffffffffffffffffffffffff1614611378576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136f906136e8565b60405180910390fd5b60006008541461141b57600854600554106113c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bf90613648565b60405180910390fd5b600854816005546113d9919061399c565b111561141a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141190613708565b60405180910390fd5b5b80600681905550600060078190555050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6114c96118bb565b73ffffffffffffffffffffffffffffffffffffffff166114e7610e6c565b73ffffffffffffffffffffffffffffffffffffffff161461153d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611534906136e8565b60405180910390fd5b80600a90805190602001906115539291906126e0565b5050565b61155f6118bb565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806115a557506115a48561159f6118bb565b61142d565b5b6115e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115db90613628565b60405180910390fd5b6115f18585858585611fc9565b5050505050565b6116006118bb565b73ffffffffffffffffffffffffffffffffffffffff1661161e610e6c565b73ffffffffffffffffffffffffffffffffffffffff1614611674576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166b906136e8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116db90613608565b60405180910390fd5b6116ed81611be5565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b606060008214156117a2576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506118b6565b600082905060005b600082146117d45780806117bd90613ba6565b915050600a826117cd91906139f2565b91506117aa565b60008167ffffffffffffffff8111156117f0576117ef613cdc565b5b6040519080825280601f01601f1916602001820160405280156118225781602001600182028036833780820191505090505b5090505b600085146118af5760018261183b9190613a23565b9150600a8561184a9190613bef565b6030611856919061399c565b60f81b81838151811061186c5761186b613cad565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856118a891906139f2565b9450611826565b8093505050505b919050565b600033905090565b8151835114611907576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fe906137a8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611977576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196e90613688565b60405180910390fd5b60006119816118bb565b9050611991818787878787612265565b60005b8451811015611b425760008582815181106119b2576119b1613cad565b5b6020026020010151905060008583815181106119d1576119d0613cad565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611a72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a69906136c8565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b27919061399c565b9250508190555050505080611b3b90613ba6565b9050611994565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611bb99291906134f9565b60405180910390a4611bcf81878787878761226d565b611bdd818787878787612275565b505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611d1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d12906137c8565b60405180910390fd5b6000611d256118bb565b90506000611d328561245c565b90506000611d3f8561245c565b9050611d5083600089858589612265565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611daf919061399c565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611e2d929190613803565b60405180910390a4611e448360008985858961226d565b611e53836000898989896124d6565b50505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611ecb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec290613768565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611fbc9190613530565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612039576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203090613688565b60405180910390fd5b60006120436118bb565b905060006120508561245c565b9050600061205d8561245c565b905061206d838989858589612265565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612104576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fb906136c8565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121b9919061399c565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612236929190613803565b60405180910390a461224c848a8a86868a61226d565b61225a848a8a8a8a8a6124d6565b505050505050505050565b505050505050565b505050505050565b6122948473ffffffffffffffffffffffffffffffffffffffff166126bd565b15612454578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016122da9594939291906133b5565b602060405180830381600087803b1580156122f457600080fd5b505af192505050801561232557506040513d601f19601f820116820180604052508101906123229190612da0565b60015b6123cb57612331613d0b565b806308c379a0141561238e57506123466142d8565b806123515750612390565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123859190613566565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c290613588565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612452576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612449906135c8565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561247b5761247a613cdc565b5b6040519080825280602002602001820160405280156124a95781602001602082028036833780820191505090505b50905082816000815181106124c1576124c0613cad565b5b60200260200101818152505080915050919050565b6124f58473ffffffffffffffffffffffffffffffffffffffff166126bd565b156126b5578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161253b959493929190613454565b602060405180830381600087803b15801561255557600080fd5b505af192505050801561258657506040513d601f19601f820116820180604052508101906125839190612da0565b60015b61262c57612592613d0b565b806308c379a014156125ef57506125a76142d8565b806125b257506125f1565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e69190613566565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262390613588565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146126b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126aa906135c8565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546126ec90613b43565b90600052602060002090601f01602090048101928261270e5760008555612755565b82601f1061272757805160ff1916838001178555612755565b82800160010185558215612755579182015b82811115612754578251825591602001919060010190612739565b5b5090506127629190612766565b5090565b5b8082111561277f576000816000905550600101612767565b5090565b600061279661279184613851565b61382c565b905080838252602082019050828560208602820111156127b9576127b8613d32565b5b60005b858110156127e957816127cf88826128e7565b8452602084019350602083019250506001810190506127bc565b5050509392505050565b60006128066128018461387d565b61382c565b9050808382526020820190508285602086028201111561282957612828613d32565b5b60005b85811015612859578161283f8882612a08565b84526020840193506020830192505060018101905061282c565b5050509392505050565b6000612876612871846138a9565b61382c565b90508281526020810184848401111561289257612891613d37565b5b61289d848285613b01565b509392505050565b60006128b86128b3846138da565b61382c565b9050828152602081018484840111156128d4576128d3613d37565b5b6128df848285613b01565b509392505050565b6000813590506128f68161436e565b92915050565b600082601f83011261291157612910613d2d565b5b8135612921848260208601612783565b91505092915050565b600082601f83011261293f5761293e613d2d565b5b813561294f8482602086016127f3565b91505092915050565b60008135905061296781614385565b92915050565b60008151905061297c81614385565b92915050565b6000813590506129918161439c565b92915050565b6000815190506129a68161439c565b92915050565b600082601f8301126129c1576129c0613d2d565b5b81356129d1848260208601612863565b91505092915050565b600082601f8301126129ef576129ee613d2d565b5b81356129ff8482602086016128a5565b91505092915050565b600081359050612a17816143b3565b92915050565b600081519050612a2c816143b3565b92915050565b600060208284031215612a4857612a47613d41565b5b6000612a56848285016128e7565b91505092915050565b60008060408385031215612a7657612a75613d41565b5b6000612a84858286016128e7565b9250506020612a95858286016128e7565b9150509250929050565b600080600080600060a08688031215612abb57612aba613d41565b5b6000612ac9888289016128e7565b9550506020612ada888289016128e7565b945050604086013567ffffffffffffffff811115612afb57612afa613d3c565b5b612b078882890161292a565b935050606086013567ffffffffffffffff811115612b2857612b27613d3c565b5b612b348882890161292a565b925050608086013567ffffffffffffffff811115612b5557612b54613d3c565b5b612b61888289016129ac565b9150509295509295909350565b600080600080600060a08688031215612b8a57612b89613d41565b5b6000612b98888289016128e7565b9550506020612ba9888289016128e7565b9450506040612bba88828901612a08565b9350506060612bcb88828901612a08565b925050608086013567ffffffffffffffff811115612bec57612beb613d3c565b5b612bf8888289016129ac565b9150509295509295909350565b60008060408385031215612c1c57612c1b613d41565b5b6000612c2a858286016128e7565b9250506020612c3b85828601612958565b9150509250929050565b60008060408385031215612c5c57612c5b613d41565b5b6000612c6a858286016128e7565b9250506020612c7b85828601612a08565b9150509250929050565b600060208284031215612c9b57612c9a613d41565b5b600082013567ffffffffffffffff811115612cb957612cb8613d3c565b5b612cc5848285016128fc565b91505092915050565b60008060408385031215612ce557612ce4613d41565b5b600083013567ffffffffffffffff811115612d0357612d02613d3c565b5b612d0f858286016128fc565b925050602083013567ffffffffffffffff811115612d3057612d2f613d3c565b5b612d3c8582860161292a565b9150509250929050565b600060208284031215612d5c57612d5b613d41565b5b6000612d6a8482850161296d565b91505092915050565b600060208284031215612d8957612d88613d41565b5b6000612d9784828501612982565b91505092915050565b600060208284031215612db657612db5613d41565b5b6000612dc484828501612997565b91505092915050565b600060208284031215612de357612de2613d41565b5b600082013567ffffffffffffffff811115612e0157612e00613d3c565b5b612e0d848285016129da565b91505092915050565b600060208284031215612e2c57612e2b613d41565b5b6000612e3a84828501612a08565b91505092915050565b600060208284031215612e5957612e58613d41565b5b6000612e6784828501612a1d565b91505092915050565b6000612e7c8383613337565b60208301905092915050565b612e9181613a57565b82525050565b6000612ea282613930565b612eac818561395e565b9350612eb78361390b565b8060005b83811015612ee8578151612ecf8882612e70565b9750612eda83613951565b925050600181019050612ebb565b5085935050505092915050565b612efe81613a69565b82525050565b6000612f0f8261393b565b612f19818561396f565b9350612f29818560208601613b10565b612f3281613d46565b840191505092915050565b612f4681613acb565b82525050565b6000612f5782613946565b612f618185613980565b9350612f71818560208601613b10565b612f7a81613d46565b840191505092915050565b6000612f9082613946565b612f9a8185613991565b9350612faa818560208601613b10565b80840191505092915050565b60008154612fc381613b43565b612fcd8186613991565b94506001821660008114612fe85760018114612ff95761302c565b60ff1983168652818601935061302c565b6130028561391b565b60005b8381101561302457815481890152600182019150602081019050613005565b838801955050505b50505092915050565b6000613042603483613980565b915061304d82613d64565b604082019050919050565b6000613065601c83613980565b915061307082613db3565b602082019050919050565b6000613088602883613980565b915061309382613ddc565b604082019050919050565b60006130ab602b83613980565b91506130b682613e2b565b604082019050919050565b60006130ce602683613980565b91506130d982613e7a565b604082019050919050565b60006130f1602983613980565b91506130fc82613ec9565b604082019050919050565b6000613114601183613980565b915061311f82613f18565b602082019050919050565b6000613137600a83613980565b915061314282613f41565b602082019050919050565b600061315a601583613991565b915061316582613f6a565b601582019050919050565b600061317d602583613980565b915061318882613f93565b604082019050919050565b60006131a0603283613980565b91506131ab82613fe2565b604082019050919050565b60006131c3602a83613980565b91506131ce82614031565b604082019050919050565b60006131e6600583613991565b91506131f182614080565b600582019050919050565b6000613209602083613980565b9150613214826140a9565b602082019050919050565b600061322c602183613980565b9150613237826140d2565b604082019050919050565b600061324f600883613980565b915061325a82614121565b602082019050919050565b6000613272601e83613980565b915061327d8261414a565b602082019050919050565b6000613295602983613980565b91506132a082614173565b604082019050919050565b60006132b8602983613980565b91506132c3826141c2565b604082019050919050565b60006132db602883613980565b91506132e682614211565b604082019050919050565b60006132fe602183613980565b915061330982614260565b604082019050919050565b6000613321600783613991565b915061332c826142af565b600782019050919050565b61334081613ac1565b82525050565b61334f81613ac1565b82525050565b60006133608261314d565b915061336c8285612fb6565b915061337782613314565b91506133838284612f85565b915061338e826131d9565b91508190509392505050565b60006020820190506133af6000830184612e88565b92915050565b600060a0820190506133ca6000830188612e88565b6133d76020830187612e88565b81810360408301526133e98186612e97565b905081810360608301526133fd8185612e97565b905081810360808301526134118184612f04565b90509695505050505050565b60006060820190506134326000830186612e88565b61343f6020830185612e88565b61344c6040830184613346565b949350505050565b600060a0820190506134696000830188612e88565b6134766020830187612e88565b6134836040830186613346565b6134906060830185613346565b81810360808301526134a28184612f04565b90509695505050505050565b60006040820190506134c36000830185612e88565b6134d06020830184613346565b9392505050565b600060208201905081810360008301526134f18184612e97565b905092915050565b600060408201905081810360008301526135138185612e97565b905081810360208301526135278184612e97565b90509392505050565b60006020820190506135456000830184612ef5565b92915050565b60006020820190506135606000830184612f3d565b92915050565b600060208201905081810360008301526135808184612f4c565b905092915050565b600060208201905081810360008301526135a181613035565b9050919050565b600060208201905081810360008301526135c181613058565b9050919050565b600060208201905081810360008301526135e18161307b565b9050919050565b600060208201905081810360008301526136018161309e565b9050919050565b60006020820190508181036000830152613621816130c1565b9050919050565b60006020820190508181036000830152613641816130e4565b9050919050565b6000602082019050818103600083015261366181613107565b9050919050565b600060208201905081810360008301526136818161312a565b9050919050565b600060208201905081810360008301526136a181613170565b9050919050565b600060208201905081810360008301526136c181613193565b9050919050565b600060208201905081810360008301526136e1816131b6565b9050919050565b60006020820190508181036000830152613701816131fc565b9050919050565b600060208201905081810360008301526137218161321f565b9050919050565b6000602082019050818103600083015261374181613242565b9050919050565b6000602082019050818103600083015261376181613265565b9050919050565b6000602082019050818103600083015261378181613288565b9050919050565b600060208201905081810360008301526137a1816132ab565b9050919050565b600060208201905081810360008301526137c1816132ce565b9050919050565b600060208201905081810360008301526137e1816132f1565b9050919050565b60006020820190506137fd6000830184613346565b92915050565b60006040820190506138186000830185613346565b6138256020830184613346565b9392505050565b6000613836613847565b90506138428282613b75565b919050565b6000604051905090565b600067ffffffffffffffff82111561386c5761386b613cdc565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561389857613897613cdc565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156138c4576138c3613cdc565b5b6138cd82613d46565b9050602081019050919050565b600067ffffffffffffffff8211156138f5576138f4613cdc565b5b6138fe82613d46565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006139a782613ac1565b91506139b283613ac1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156139e7576139e6613c20565b5b828201905092915050565b60006139fd82613ac1565b9150613a0883613ac1565b925082613a1857613a17613c4f565b5b828204905092915050565b6000613a2e82613ac1565b9150613a3983613ac1565b925082821015613a4c57613a4b613c20565b5b828203905092915050565b6000613a6282613aa1565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000613ad682613add565b9050919050565b6000613ae882613aef565b9050919050565b6000613afa82613aa1565b9050919050565b82818337600083830152505050565b60005b83811015613b2e578082015181840152602081019050613b13565b83811115613b3d576000848401525b50505050565b60006002820490506001821680613b5b57607f821691505b60208210811415613b6f57613b6e613c7e565b5b50919050565b613b7e82613d46565b810181811067ffffffffffffffff82111715613b9d57613b9c613cdc565b5b80604052505050565b6000613bb182613ac1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613be457613be3613c20565b5b600182019050919050565b6000613bfa82613ac1565b9150613c0583613ac1565b925082613c1557613c14613c4f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115613d2a5760046000803e613d27600051613d57565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f4e6f7420696e2077686974656c6973742c2063616e2774206d696e7400000000600082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f4d6178206d696e74206578636565646564000000000000000000000000000000600082015250565b7f427579206661696c656400000000000000000000000000000000000000000000600082015250565b7f68747470733a2f2f697066732e696f2f697066732f0000000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f546869732077696c6c20657863656564206d617820616c6c6f776564206d696e60008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b7f555344432076616c75652073656e74206973206e6f7420636f72726563740000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f2f696d6167655f00000000000000000000000000000000000000000000000000600082015250565b600060443d10156142e85761436b565b6142f0613847565b60043d036004823e80513d602482011167ffffffffffffffff8211171561431857505061436b565b808201805167ffffffffffffffff811115614336575050505061436b565b80602083010160043d03850181111561435357505050505061436b565b61436282602001850186613b75565b82955050505050505b90565b61437781613a57565b811461438257600080fd5b50565b61438e81613a69565b811461439957600080fd5b50565b6143a581613a75565b81146143b057600080fd5b50565b6143bc81613ac1565b81146143c757600080fd5b5056fea26469706673582212208e98ef006b391cab6545037c54ab01e6f21233e560d7b5e8948bfd091aa3833f64736f6c63430008070033516d506336383377776e706f4e65387053446b39316f48687354397369687859456745507a454d386f3965566642
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101c35760003560e01c806391b7f5ed116100f9578063c504139411610097578063e985e9c511610071578063e985e9c5146104ba578063f03f542b146104ea578063f242432a14610506578063f2fde38b14610522576101c3565b8063c504139414610462578063cd08dfca14610480578063d4c720d31461049e576101c3565b8063a22cb465116100d3578063a22cb465146103ec578063a2309ff814610408578063a731a96014610426578063aa3ec0a914610444576101c3565b806391b7f5ed1461039657806398d5fdca146103b2578063a0712d68146103d0576101c3565b80633e413bee11610166578063548db17411610140578063548db17414610334578063715018a6146103505780637501f7411461035a5780638da5cb5b14610378576101c3565b80633e413bee146102ca5780634e1273f4146102e8578063547520fe14610318576101c3565b80632bf04304116101a25780632bf04304146102585780632eb2c2d6146102745780633af32abf146102905780633ccfd60b146102c0576101c3565b8062fdd58e146101c857806301ffc9a7146101f85780630e89341c14610228575b600080fd5b6101e260048036038101906101dd9190612c45565b61053e565b6040516101ef91906137e8565b60405180910390f35b610212600480360381019061020d9190612d73565b610607565b60405161021f9190613530565b60405180910390f35b610242600480360381019061023d9190612e16565b6106e9565b60405161024f9190613566565b60405180910390f35b610272600480360381019061026d9190612c85565b61071d565b005b61028e60048036038101906102899190612a9f565b61082e565b005b6102aa60048036038101906102a59190612a32565b6108cf565b6040516102b79190613530565b60405180910390f35b6102c8610925565b005b6102d2610b04565b6040516102df919061354b565b60405180910390f35b61030260048036038101906102fd9190612cce565b610b2a565b60405161030f91906134d7565b60405180910390f35b610332600480360381019061032d9190612e16565b610c43565b005b61034e60048036038101906103499190612c85565b610cc9565b005b610358610dda565b005b610362610e62565b60405161036f91906137e8565b60405180910390f35b610380610e6c565b60405161038d919061339a565b60405180910390f35b6103b060048036038101906103ab9190612e16565b610e96565b005b6103ba610f1c565b6040516103c791906137e8565b60405180910390f35b6103ea60048036038101906103e59190612e16565b610f26565b005b61040660048036038101906104019190612c05565b611188565b005b61041061119e565b60405161041d91906137e8565b60405180910390f35b61042e6111a8565b60405161043b91906137e8565b60405180910390f35b61044c6111b2565b6040516104599190613566565b60405180910390f35b61046a611240565b60405161047791906137e8565b60405180910390f35b6104886112f2565b60405161049591906137e8565b60405180910390f35b6104b860048036038101906104b39190612e16565b6112fc565b005b6104d460048036038101906104cf9190612a5f565b61142d565b6040516104e19190613530565b60405180910390f35b61050460048036038101906104ff9190612dcd565b6114c1565b005b610520600480360381019061051b9190612b6e565b611557565b005b61053c60048036038101906105379190612a32565b6115f8565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156105af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105a6906135e8565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806106d257507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106e257506106e1826116f0565b5b9050919050565b6060600a6106f68361175a565b604051602001610707929190613355565b6040516020818303038152906040529050919050565b6107256118bb565b73ffffffffffffffffffffffffffffffffffffffff16610743610e6c565b73ffffffffffffffffffffffffffffffffffffffff1614610799576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610790906136e8565b60405180910390fd5b60005b815181101561082a576001600960008484815181106107be576107bd613cad565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061082290613ba6565b91505061079c565b5050565b6108366118bb565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061087c575061087b856108766118bb565b61142d565b5b6108bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b2906136a8565b60405180910390fd5b6108c885858585856118c3565b5050505050565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b61092d6118bb565b73ffffffffffffffffffffffffffffffffffffffff1661094b610e6c565b73ffffffffffffffffffffffffffffffffffffffff16146109a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610998906136e8565b60405180910390fd5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6109e7610e6c565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610a42919061339a565b60206040518083038186803b158015610a5a57600080fd5b505afa158015610a6e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a929190612e43565b6040518363ffffffff1660e01b8152600401610aaf9291906134ae565b602060405180830381600087803b158015610ac957600080fd5b505af1158015610add573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b019190612d46565b50565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60608151835114610b70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6790613788565b60405180910390fd5b6000835167ffffffffffffffff811115610b8d57610b8c613cdc565b5b604051908082528060200260200182016040528015610bbb5781602001602082028036833780820191505090505b50905060005b8451811015610c3857610c08858281518110610be057610bdf613cad565b5b6020026020010151858381518110610bfb57610bfa613cad565b5b602002602001015161053e565b828281518110610c1b57610c1a613cad565b5b60200260200101818152505080610c3190613ba6565b9050610bc1565b508091505092915050565b610c4b6118bb565b73ffffffffffffffffffffffffffffffffffffffff16610c69610e6c565b73ffffffffffffffffffffffffffffffffffffffff1614610cbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb6906136e8565b60405180910390fd5b8060088190555050565b610cd16118bb565b73ffffffffffffffffffffffffffffffffffffffff16610cef610e6c565b73ffffffffffffffffffffffffffffffffffffffff1614610d45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3c906136e8565b60405180910390fd5b60005b8151811015610dd657600060096000848481518110610d6a57610d69613cad565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610dce90613ba6565b915050610d48565b5050565b610de26118bb565b73ffffffffffffffffffffffffffffffffffffffff16610e00610e6c565b73ffffffffffffffffffffffffffffffffffffffff1614610e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4d906136e8565b60405180910390fd5b610e606000611be5565b565b6000600854905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610e9e6118bb565b73ffffffffffffffffffffffffffffffffffffffff16610ebc610e6c565b73ffffffffffffffffffffffffffffffffffffffff1614610f12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f09906136e8565b60405180910390fd5b8060048190555050565b6000600454905090565b6000600754905060006001600554610f3e919061399c565b90506006548210610f84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7b90613728565b60405180910390fd5b826004541115610fc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc090613748565b60405180910390fd5b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611055576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104c906135a8565b60405180910390fd5b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330876040518463ffffffff1660e01b81526004016110b69392919061341d565b602060405180830381600087803b1580156110d057600080fd5b505af11580156110e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111089190612d46565b90508061114a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114190613668565b60405180910390fd5b6111663383600160405180602001604052806000815250611cab565b828061117190613ba6565b935050816005819055508260078190555050505050565b61119a6111936118bb565b8383611e5c565b5050565b6000600554905090565b6000600754905090565b600a80546111bf90613b43565b80601f01602080910402602001604051908101604052809291908181526020018280546111eb90613b43565b80156112385780601f1061120d57610100808354040283529160200191611238565b820191906000526020600020905b81548152906001019060200180831161121b57829003601f168201915b505050505081565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161129d919061339a565b60206040518083038186803b1580156112b557600080fd5b505afa1580156112c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ed9190612e43565b905090565b6000600654905090565b6113046118bb565b73ffffffffffffffffffffffffffffffffffffffff16611322610e6c565b73ffffffffffffffffffffffffffffffffffffffff1614611378576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136f906136e8565b60405180910390fd5b60006008541461141b57600854600554106113c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bf90613648565b60405180910390fd5b600854816005546113d9919061399c565b111561141a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141190613708565b60405180910390fd5b5b80600681905550600060078190555050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6114c96118bb565b73ffffffffffffffffffffffffffffffffffffffff166114e7610e6c565b73ffffffffffffffffffffffffffffffffffffffff161461153d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611534906136e8565b60405180910390fd5b80600a90805190602001906115539291906126e0565b5050565b61155f6118bb565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806115a557506115a48561159f6118bb565b61142d565b5b6115e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115db90613628565b60405180910390fd5b6115f18585858585611fc9565b5050505050565b6116006118bb565b73ffffffffffffffffffffffffffffffffffffffff1661161e610e6c565b73ffffffffffffffffffffffffffffffffffffffff1614611674576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166b906136e8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116db90613608565b60405180910390fd5b6116ed81611be5565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b606060008214156117a2576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506118b6565b600082905060005b600082146117d45780806117bd90613ba6565b915050600a826117cd91906139f2565b91506117aa565b60008167ffffffffffffffff8111156117f0576117ef613cdc565b5b6040519080825280601f01601f1916602001820160405280156118225781602001600182028036833780820191505090505b5090505b600085146118af5760018261183b9190613a23565b9150600a8561184a9190613bef565b6030611856919061399c565b60f81b81838151811061186c5761186b613cad565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856118a891906139f2565b9450611826565b8093505050505b919050565b600033905090565b8151835114611907576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fe906137a8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611977576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196e90613688565b60405180910390fd5b60006119816118bb565b9050611991818787878787612265565b60005b8451811015611b425760008582815181106119b2576119b1613cad565b5b6020026020010151905060008583815181106119d1576119d0613cad565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611a72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a69906136c8565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b27919061399c565b9250508190555050505080611b3b90613ba6565b9050611994565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611bb99291906134f9565b60405180910390a4611bcf81878787878761226d565b611bdd818787878787612275565b505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611d1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d12906137c8565b60405180910390fd5b6000611d256118bb565b90506000611d328561245c565b90506000611d3f8561245c565b9050611d5083600089858589612265565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611daf919061399c565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611e2d929190613803565b60405180910390a4611e448360008985858961226d565b611e53836000898989896124d6565b50505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611ecb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec290613768565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611fbc9190613530565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612039576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203090613688565b60405180910390fd5b60006120436118bb565b905060006120508561245c565b9050600061205d8561245c565b905061206d838989858589612265565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612104576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fb906136c8565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121b9919061399c565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612236929190613803565b60405180910390a461224c848a8a86868a61226d565b61225a848a8a8a8a8a6124d6565b505050505050505050565b505050505050565b505050505050565b6122948473ffffffffffffffffffffffffffffffffffffffff166126bd565b15612454578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016122da9594939291906133b5565b602060405180830381600087803b1580156122f457600080fd5b505af192505050801561232557506040513d601f19601f820116820180604052508101906123229190612da0565b60015b6123cb57612331613d0b565b806308c379a0141561238e57506123466142d8565b806123515750612390565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123859190613566565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c290613588565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612452576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612449906135c8565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561247b5761247a613cdc565b5b6040519080825280602002602001820160405280156124a95781602001602082028036833780820191505090505b50905082816000815181106124c1576124c0613cad565b5b60200260200101818152505080915050919050565b6124f58473ffffffffffffffffffffffffffffffffffffffff166126bd565b156126b5578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161253b959493929190613454565b602060405180830381600087803b15801561255557600080fd5b505af192505050801561258657506040513d601f19601f820116820180604052508101906125839190612da0565b60015b61262c57612592613d0b565b806308c379a014156125ef57506125a76142d8565b806125b257506125f1565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e69190613566565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262390613588565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146126b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126aa906135c8565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546126ec90613b43565b90600052602060002090601f01602090048101928261270e5760008555612755565b82601f1061272757805160ff1916838001178555612755565b82800160010185558215612755579182015b82811115612754578251825591602001919060010190612739565b5b5090506127629190612766565b5090565b5b8082111561277f576000816000905550600101612767565b5090565b600061279661279184613851565b61382c565b905080838252602082019050828560208602820111156127b9576127b8613d32565b5b60005b858110156127e957816127cf88826128e7565b8452602084019350602083019250506001810190506127bc565b5050509392505050565b60006128066128018461387d565b61382c565b9050808382526020820190508285602086028201111561282957612828613d32565b5b60005b85811015612859578161283f8882612a08565b84526020840193506020830192505060018101905061282c565b5050509392505050565b6000612876612871846138a9565b61382c565b90508281526020810184848401111561289257612891613d37565b5b61289d848285613b01565b509392505050565b60006128b86128b3846138da565b61382c565b9050828152602081018484840111156128d4576128d3613d37565b5b6128df848285613b01565b509392505050565b6000813590506128f68161436e565b92915050565b600082601f83011261291157612910613d2d565b5b8135612921848260208601612783565b91505092915050565b600082601f83011261293f5761293e613d2d565b5b813561294f8482602086016127f3565b91505092915050565b60008135905061296781614385565b92915050565b60008151905061297c81614385565b92915050565b6000813590506129918161439c565b92915050565b6000815190506129a68161439c565b92915050565b600082601f8301126129c1576129c0613d2d565b5b81356129d1848260208601612863565b91505092915050565b600082601f8301126129ef576129ee613d2d565b5b81356129ff8482602086016128a5565b91505092915050565b600081359050612a17816143b3565b92915050565b600081519050612a2c816143b3565b92915050565b600060208284031215612a4857612a47613d41565b5b6000612a56848285016128e7565b91505092915050565b60008060408385031215612a7657612a75613d41565b5b6000612a84858286016128e7565b9250506020612a95858286016128e7565b9150509250929050565b600080600080600060a08688031215612abb57612aba613d41565b5b6000612ac9888289016128e7565b9550506020612ada888289016128e7565b945050604086013567ffffffffffffffff811115612afb57612afa613d3c565b5b612b078882890161292a565b935050606086013567ffffffffffffffff811115612b2857612b27613d3c565b5b612b348882890161292a565b925050608086013567ffffffffffffffff811115612b5557612b54613d3c565b5b612b61888289016129ac565b9150509295509295909350565b600080600080600060a08688031215612b8a57612b89613d41565b5b6000612b98888289016128e7565b9550506020612ba9888289016128e7565b9450506040612bba88828901612a08565b9350506060612bcb88828901612a08565b925050608086013567ffffffffffffffff811115612bec57612beb613d3c565b5b612bf8888289016129ac565b9150509295509295909350565b60008060408385031215612c1c57612c1b613d41565b5b6000612c2a858286016128e7565b9250506020612c3b85828601612958565b9150509250929050565b60008060408385031215612c5c57612c5b613d41565b5b6000612c6a858286016128e7565b9250506020612c7b85828601612a08565b9150509250929050565b600060208284031215612c9b57612c9a613d41565b5b600082013567ffffffffffffffff811115612cb957612cb8613d3c565b5b612cc5848285016128fc565b91505092915050565b60008060408385031215612ce557612ce4613d41565b5b600083013567ffffffffffffffff811115612d0357612d02613d3c565b5b612d0f858286016128fc565b925050602083013567ffffffffffffffff811115612d3057612d2f613d3c565b5b612d3c8582860161292a565b9150509250929050565b600060208284031215612d5c57612d5b613d41565b5b6000612d6a8482850161296d565b91505092915050565b600060208284031215612d8957612d88613d41565b5b6000612d9784828501612982565b91505092915050565b600060208284031215612db657612db5613d41565b5b6000612dc484828501612997565b91505092915050565b600060208284031215612de357612de2613d41565b5b600082013567ffffffffffffffff811115612e0157612e00613d3c565b5b612e0d848285016129da565b91505092915050565b600060208284031215612e2c57612e2b613d41565b5b6000612e3a84828501612a08565b91505092915050565b600060208284031215612e5957612e58613d41565b5b6000612e6784828501612a1d565b91505092915050565b6000612e7c8383613337565b60208301905092915050565b612e9181613a57565b82525050565b6000612ea282613930565b612eac818561395e565b9350612eb78361390b565b8060005b83811015612ee8578151612ecf8882612e70565b9750612eda83613951565b925050600181019050612ebb565b5085935050505092915050565b612efe81613a69565b82525050565b6000612f0f8261393b565b612f19818561396f565b9350612f29818560208601613b10565b612f3281613d46565b840191505092915050565b612f4681613acb565b82525050565b6000612f5782613946565b612f618185613980565b9350612f71818560208601613b10565b612f7a81613d46565b840191505092915050565b6000612f9082613946565b612f9a8185613991565b9350612faa818560208601613b10565b80840191505092915050565b60008154612fc381613b43565b612fcd8186613991565b94506001821660008114612fe85760018114612ff95761302c565b60ff1983168652818601935061302c565b6130028561391b565b60005b8381101561302457815481890152600182019150602081019050613005565b838801955050505b50505092915050565b6000613042603483613980565b915061304d82613d64565b604082019050919050565b6000613065601c83613980565b915061307082613db3565b602082019050919050565b6000613088602883613980565b915061309382613ddc565b604082019050919050565b60006130ab602b83613980565b91506130b682613e2b565b604082019050919050565b60006130ce602683613980565b91506130d982613e7a565b604082019050919050565b60006130f1602983613980565b91506130fc82613ec9565b604082019050919050565b6000613114601183613980565b915061311f82613f18565b602082019050919050565b6000613137600a83613980565b915061314282613f41565b602082019050919050565b600061315a601583613991565b915061316582613f6a565b601582019050919050565b600061317d602583613980565b915061318882613f93565b604082019050919050565b60006131a0603283613980565b91506131ab82613fe2565b604082019050919050565b60006131c3602a83613980565b91506131ce82614031565b604082019050919050565b60006131e6600583613991565b91506131f182614080565b600582019050919050565b6000613209602083613980565b9150613214826140a9565b602082019050919050565b600061322c602183613980565b9150613237826140d2565b604082019050919050565b600061324f600883613980565b915061325a82614121565b602082019050919050565b6000613272601e83613980565b915061327d8261414a565b602082019050919050565b6000613295602983613980565b91506132a082614173565b604082019050919050565b60006132b8602983613980565b91506132c3826141c2565b604082019050919050565b60006132db602883613980565b91506132e682614211565b604082019050919050565b60006132fe602183613980565b915061330982614260565b604082019050919050565b6000613321600783613991565b915061332c826142af565b600782019050919050565b61334081613ac1565b82525050565b61334f81613ac1565b82525050565b60006133608261314d565b915061336c8285612fb6565b915061337782613314565b91506133838284612f85565b915061338e826131d9565b91508190509392505050565b60006020820190506133af6000830184612e88565b92915050565b600060a0820190506133ca6000830188612e88565b6133d76020830187612e88565b81810360408301526133e98186612e97565b905081810360608301526133fd8185612e97565b905081810360808301526134118184612f04565b90509695505050505050565b60006060820190506134326000830186612e88565b61343f6020830185612e88565b61344c6040830184613346565b949350505050565b600060a0820190506134696000830188612e88565b6134766020830187612e88565b6134836040830186613346565b6134906060830185613346565b81810360808301526134a28184612f04565b90509695505050505050565b60006040820190506134c36000830185612e88565b6134d06020830184613346565b9392505050565b600060208201905081810360008301526134f18184612e97565b905092915050565b600060408201905081810360008301526135138185612e97565b905081810360208301526135278184612e97565b90509392505050565b60006020820190506135456000830184612ef5565b92915050565b60006020820190506135606000830184612f3d565b92915050565b600060208201905081810360008301526135808184612f4c565b905092915050565b600060208201905081810360008301526135a181613035565b9050919050565b600060208201905081810360008301526135c181613058565b9050919050565b600060208201905081810360008301526135e18161307b565b9050919050565b600060208201905081810360008301526136018161309e565b9050919050565b60006020820190508181036000830152613621816130c1565b9050919050565b60006020820190508181036000830152613641816130e4565b9050919050565b6000602082019050818103600083015261366181613107565b9050919050565b600060208201905081810360008301526136818161312a565b9050919050565b600060208201905081810360008301526136a181613170565b9050919050565b600060208201905081810360008301526136c181613193565b9050919050565b600060208201905081810360008301526136e1816131b6565b9050919050565b60006020820190508181036000830152613701816131fc565b9050919050565b600060208201905081810360008301526137218161321f565b9050919050565b6000602082019050818103600083015261374181613242565b9050919050565b6000602082019050818103600083015261376181613265565b9050919050565b6000602082019050818103600083015261378181613288565b9050919050565b600060208201905081810360008301526137a1816132ab565b9050919050565b600060208201905081810360008301526137c1816132ce565b9050919050565b600060208201905081810360008301526137e1816132f1565b9050919050565b60006020820190506137fd6000830184613346565b92915050565b60006040820190506138186000830185613346565b6138256020830184613346565b9392505050565b6000613836613847565b90506138428282613b75565b919050565b6000604051905090565b600067ffffffffffffffff82111561386c5761386b613cdc565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561389857613897613cdc565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156138c4576138c3613cdc565b5b6138cd82613d46565b9050602081019050919050565b600067ffffffffffffffff8211156138f5576138f4613cdc565b5b6138fe82613d46565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006139a782613ac1565b91506139b283613ac1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156139e7576139e6613c20565b5b828201905092915050565b60006139fd82613ac1565b9150613a0883613ac1565b925082613a1857613a17613c4f565b5b828204905092915050565b6000613a2e82613ac1565b9150613a3983613ac1565b925082821015613a4c57613a4b613c20565b5b828203905092915050565b6000613a6282613aa1565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000613ad682613add565b9050919050565b6000613ae882613aef565b9050919050565b6000613afa82613aa1565b9050919050565b82818337600083830152505050565b60005b83811015613b2e578082015181840152602081019050613b13565b83811115613b3d576000848401525b50505050565b60006002820490506001821680613b5b57607f821691505b60208210811415613b6f57613b6e613c7e565b5b50919050565b613b7e82613d46565b810181811067ffffffffffffffff82111715613b9d57613b9c613cdc565b5b80604052505050565b6000613bb182613ac1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613be457613be3613c20565b5b600182019050919050565b6000613bfa82613ac1565b9150613c0583613ac1565b925082613c1557613c14613c4f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115613d2a5760046000803e613d27600051613d57565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f4e6f7420696e2077686974656c6973742c2063616e2774206d696e7400000000600082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f4d6178206d696e74206578636565646564000000000000000000000000000000600082015250565b7f427579206661696c656400000000000000000000000000000000000000000000600082015250565b7f68747470733a2f2f697066732e696f2f697066732f0000000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f546869732077696c6c20657863656564206d617820616c6c6f776564206d696e60008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b7f555344432076616c75652073656e74206973206e6f7420636f72726563740000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f2f696d6167655f00000000000000000000000000000000000000000000000000600082015250565b600060443d10156142e85761436b565b6142f0613847565b60043d036004823e80513d602482011167ffffffffffffffff8211171561431857505061436b565b808201805167ffffffffffffffff811115614336575050505061436b565b80602083010160043d03850181111561435357505050505061436b565b61436282602001850186613b75565b82955050505050505b90565b61437781613a57565b811461438257600080fd5b50565b61438e81613a69565b811461439957600080fd5b50565b6143a581613a75565b81146143b057600080fd5b50565b6143bc81613ac1565b81146143c757600080fd5b5056fea26469706673582212208e98ef006b391cab6545037c54ab01e6f21233e560d7b5e8948bfd091aa3833f64736f6c63430008070033
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.