ERC-1155
NFT
Overview
Max Total Supply
5,870 STAMPU
Holders
1,828
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Stampu
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "./IERC2981.sol"; ///////////////////////////////////////////////////////////////////// // ______ ______ ______ __ __ ______ __ __ // // /\ ___\ /\__ _\ /\ __ \ /\ "-./ \ /\ == \ /\ \/\ \ // // \ \___ \ \/_/\ \/ \ \ __ \ \ \ \-./\ \ \ \ _-/ \ \ \_\ \ // // \/\_____\ \ \_\ \ \_\ \_\ \ \_\ \ \_\ \ \_\ \ \_____\ // // \/_____/ \/_/ \/_/\/_/ \/_/ \/_/ \/_/ \/_____/ // // // ///////////////////////////////////////////////////////////////////// contract Stampu is IERC2981, ERC1155, Ownable { bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a; struct StampInfo { address payable artist; uint256 maxSupply; uint256 currentSupply; uint256 mintPrice; uint256 mintLimit; // mint limit per tx. 0 works as pause. } event SendPostcard( uint256 indexed postcardId, address indexed from, address indexed to, uint256 tokenId, string fromText, string toText, string message, uint256 value ); using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; Counters.Counter private _postcardIdCounter; string internal _baseURI; address internal _royaltyRecipient; uint8 internal _royaltyFee; // out of 1000 // Contract name string public name; // Contract symbol string public symbol; mapping(uint256 => StampInfo) public tokenIdToStampInfo; constructor( string memory _name, string memory _symbol, string memory _uri, address royaltyRecipient, uint8 royaltyFee ) ERC1155("") { name = _name; symbol = _symbol; _baseURI = _uri; setRoyaltyRecipient(royaltyRecipient); setRoyaltyFee(royaltyFee); } function setURI(string memory newuri) public onlyOwner { _baseURI = newuri; } function uri(uint256 _id) public view override returns (string memory) { require(_id < _tokenIdCounter.current(), "nonexistent token"); return string(abi.encodePacked(_baseURI, _id.toString())); } /** * @dev Adds new Stampus (mint is paused by default). */ function addStampus( address payable[] calldata artists, uint256[] calldata maxSupplies, uint256[] calldata mintPrices ) public onlyOwner { require(artists.length == maxSupplies.length && artists.length == mintPrices.length, "input lengths do not match"); for (uint256 i = 0; i < artists.length; i++) { uint256 tokenId = _tokenIdCounter.current(); _tokenIdCounter.increment(); tokenIdToStampInfo[tokenId] = StampInfo({ artist: artists[i], maxSupply: maxSupplies[i], currentSupply: 0, mintPrice: mintPrices[i], mintLimit: 0 // paused by default. Can be unpaused through `setMintLimit`. }); } } /** * @dev Updates artist address (in case of theft or lost wallet). */ function updateArtistAddress(uint256 id, address payable artist) public onlyOwner { require(id < _tokenIdCounter.current(), "nonexistent token"); require(artist != address(0), "Invalid artist address"); StampInfo storage stampInfo = tokenIdToStampInfo[id]; stampInfo.artist = artist; } /** * @dev Mints ignoring the mint limit and price (onlyOwner). */ function preMint( address account, uint256 id, uint256 amount ) public onlyOwner { require(id < _tokenIdCounter.current(), "nonexistent token"); StampInfo storage stampInfo = tokenIdToStampInfo[id]; uint256 newSupply = stampInfo.currentSupply + amount; require(newSupply <= stampInfo.maxSupply, "exceeds max supply"); stampInfo.currentSupply = newSupply; _mint(account, id, amount, ""); } /** * @dev Mints Stampu(s). */ function mint( address account, uint256 id, uint256 amount ) public payable { require(id < _tokenIdCounter.current(), "nonexistent token"); StampInfo storage stampInfo = tokenIdToStampInfo[id]; // Owner is allowed to mint even when minting is paused. if (owner() != _msgSender()) { require(amount <= stampInfo.mintLimit, "exceeds the allowed mint limit"); } require(msg.value >= stampInfo.mintPrice * amount, "insufficient mint price"); uint256 newSupply = stampInfo.currentSupply + amount; require(newSupply <= stampInfo.maxSupply, "exceeds max supply"); stampInfo.currentSupply = newSupply; uint256 artistCut = _getArtistCut(stampInfo.mintPrice * amount); (bool success, ) = stampInfo.artist.call{value: artistCut}(""); require(success, "arist payment failed"); _mint(account, id, amount, ""); } /** * @dev Sets `mintLimit` of `tokenIds`. * * Setting `mintLimit` from 0 is equivalent to unpausing mint. */ function setMintLimit(uint256[] calldata tokenIds, uint256[] calldata mintLimits) public onlyOwner { require(tokenIds.length == mintLimits.length, "input array lengths must be the same"); for (uint256 i = 0; i < tokenIds.length; i++) { uint256 tokenId = tokenIds[i]; require(tokenId < _tokenIdCounter.current(), "nonexistent token"); tokenIdToStampInfo[tokenId].mintLimit = mintLimits[i]; } } /** * @dev Sends a postcard along with a Stampu and optionally with ETH. */ function sendPostcard( address payable to, uint256 id, string calldata fromText, string calldata toText, string calldata message ) public payable { _sendPostcard(to, id, fromText, toText, message, msg.value); } function _sendPostcard( address payable to, uint256 id, string calldata fromText, string calldata toText, string calldata message, uint256 value ) private { if (value > 0) { (bool success, ) = to.call{value: value}(""); require(success, "payment failed"); } safeTransferFrom(_msgSender(), to, id, 1, ""); emit SendPostcard(_postcardIdCounter.current(), _msgSender(), to, id, fromText, toText, message, value); _postcardIdCounter.increment(); } /** * @dev Sends multiple postcards in a single transaction. */ function batchSendPostcards( address payable[] calldata toAddresses, uint256 id, string calldata fromText, string calldata toText, string calldata message ) public payable { // Value should be a multiple of the number of receipents. // The contract will keep the remainder if any. uint256 valuePerPostCard = msg.value / toAddresses.length; for (uint256 i = 0; i < toAddresses.length; i++) { _sendPostcard(toAddresses[i], id, fromText, toText, message, valuePerPostCard); } } /** * @dev Withdraws fees accumulated in the contract (onlyOwner). */ function withdrawFees() public onlyOwner { (bool sent, ) = msg.sender.call{value: address(this).balance}(""); require(sent, "failed to send collected fees"); } /** * @dev Mints and sends a postcard in a single transaction. */ function mintAndSendPostcard( address payable to, uint256 id, string calldata fromText, string calldata toText, string calldata message ) public payable { mint(_msgSender(), id, 1); uint256 valueLeft = msg.value - tokenIdToStampInfo[id].mintPrice; _sendPostcard(to, id, fromText, toText, message, valueLeft); } // Royalty functions: function setRoyaltyRecipient(address royaltyRecipient) public onlyOwner { require(royaltyRecipient != address(0), "Invalid royalty recipient address"); _royaltyRecipient = royaltyRecipient; } function setRoyaltyFee(uint8 royaltyFee) public onlyOwner { require(royaltyFee <= 1000, "Invalid royalty fee"); _royaltyFee = royaltyFee; } function royaltyInfo(uint256, uint256 _salePrice) external view override returns (address, uint256) { return (_royaltyRecipient, (_salePrice * _royaltyFee) / 1000); } function supportsInterface(bytes4 interfaceId) public view override(IERC2981, ERC1155) returns (bool) { return interfaceId == _INTERFACE_ID_ERC2981 || super.supportsInterface(interfaceId); } // Utility functions: function _getArtistCut(uint256 mintPrice) internal pure returns (uint256) { return (mintPrice * 9) / 10; } }
// SPDX-License-Identifier: MIT 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 { require(_msgSender() != operator, "ERC1155: setting approval status for self"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `account`. * * Emits a {TransferSingle} event. * * Requirements: * * - `account` cannot be the zero address. * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address account, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(account != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][account] += amount; emit TransferSingle(operator, address(0), account, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), account, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `account` * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens of token type `id`. */ function _burn( address account, uint256 id, uint256 amount ) internal virtual { require(account != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 accountBalance = _balances[id][account]; require(accountBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][account] = accountBalance - amount; } emit TransferSingle(operator, account, address(0), id, amount); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address account, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(account != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, account, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 accountBalance = _balances[id][account]; require(accountBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][account] = accountBalance - amount; } } emit TransferBatch(operator, account, address(0), ids, amounts); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT 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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * See https://eips.ethereum.org/EIPS/eip-2981 */ interface IERC2981 is IERC165 { function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view returns (address receiver, uint256 royaltyAmount); function supportsInterface(bytes4 interfaceID) external view override(IERC165) returns (bool); }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** @dev Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT 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 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 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", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_uri","type":"string"},{"internalType":"address","name":"royaltyRecipient","type":"address"},{"internalType":"uint8","name":"royaltyFee","type":"uint8"}],"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":"uint256","name":"postcardId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"fromText","type":"string"},{"indexed":false,"internalType":"string","name":"toText","type":"string"},{"indexed":false,"internalType":"string","name":"message","type":"string"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"SendPostcard","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"address payable[]","name":"artists","type":"address[]"},{"internalType":"uint256[]","name":"maxSupplies","type":"uint256[]"},{"internalType":"uint256[]","name":"mintPrices","type":"uint256[]"}],"name":"addStampus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable[]","name":"toAddresses","type":"address[]"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"string","name":"fromText","type":"string"},{"internalType":"string","name":"toText","type":"string"},{"internalType":"string","name":"message","type":"string"}],"name":"batchSendPostcards","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address payable","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"string","name":"fromText","type":"string"},{"internalType":"string","name":"toText","type":"string"},{"internalType":"string","name":"message","type":"string"}],"name":"mintAndSendPostcard","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"preMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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 payable","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"string","name":"fromText","type":"string"},{"internalType":"string","name":"toText","type":"string"},{"internalType":"string","name":"message","type":"string"}],"name":"sendPostcard","outputs":[],"stateMutability":"payable","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":"tokenIds","type":"uint256[]"},{"internalType":"uint256[]","name":"mintLimits","type":"uint256[]"}],"name":"setMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"royaltyFee","type":"uint8"}],"name":"setRoyaltyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"royaltyRecipient","type":"address"}],"name":"setRoyaltyRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToStampInfo","outputs":[{"internalType":"address payable","name":"artist","type":"address"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"currentSupply","type":"uint256"},{"internalType":"uint256","name":"mintPrice","type":"uint256"},{"internalType":"uint256","name":"mintLimit","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"address payable","name":"artist","type":"address"}],"name":"updateArtistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawFees","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162005e7c38038062005e7c833981810160405281019062000037919062000593565b604051806020016040528060008152506200005881620000f160201b60201c565b50620000796200006d6200010d60201b60201c565b6200011560201b60201c565b84600890805190602001906200009192919062000443565b508360099080519060200190620000aa92919062000443565b508260069080519060200190620000c392919062000443565b50620000d582620001db60201b60201c565b620000e6816200032160201b60201c565b5050505050620009d2565b80600290805190602001906200010992919062000443565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620001eb6200010d60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002116200041960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200026a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002619062000719565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415620002dd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002d490620006f7565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b620003316200010d60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003576200041960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620003b0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003a79062000719565b60405180910390fd5b6103e88160ff161115620003fb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003f290620006d5565b60405180910390fd5b80600760146101000a81548160ff021916908360ff16021790555050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620004519062000822565b90600052602060002090601f016020900481019282620004755760008555620004c1565b82601f106200049057805160ff1916838001178555620004c1565b82800160010185558215620004c1579182015b82811115620004c0578251825591602001919060010190620004a3565b5b509050620004d09190620004d4565b5090565b5b80821115620004ef576000816000905550600101620004d5565b5090565b60006200050a620005048462000764565b6200073b565b9050828152602081018484840111156200052357600080fd5b62000530848285620007ec565b509392505050565b60008151905062000549816200099e565b92915050565b600082601f8301126200056157600080fd5b815162000573848260208601620004f3565b91505092915050565b6000815190506200058d81620009b8565b92915050565b600080600080600060a08688031215620005ac57600080fd5b600086015167ffffffffffffffff811115620005c757600080fd5b620005d5888289016200054f565b955050602086015167ffffffffffffffff811115620005f357600080fd5b62000601888289016200054f565b945050604086015167ffffffffffffffff8111156200061f57600080fd5b6200062d888289016200054f565b9350506060620006408882890162000538565b925050608062000653888289016200057c565b9150509295509295909350565b60006200066f6013836200079a565b91506200067c82620008fd565b602082019050919050565b6000620006966021836200079a565b9150620006a38262000926565b604082019050919050565b6000620006bd6020836200079a565b9150620006ca8262000975565b602082019050919050565b60006020820190508181036000830152620006f08162000660565b9050919050565b60006020820190508181036000830152620007128162000687565b9050919050565b600060208201905081810360008301526200073481620006ae565b9050919050565b6000620007476200075a565b905062000755828262000858565b919050565b6000604051905090565b600067ffffffffffffffff821115620007825762000781620008bd565b5b6200078d82620008ec565b9050602081019050919050565b600082825260208201905092915050565b6000620007b882620007bf565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060ff82169050919050565b60005b838110156200080c578082015181840152602081019050620007ef565b838111156200081c576000848401525b50505050565b600060028204905060018216806200083b57607f821691505b602082108114156200085257620008516200088e565b5b50919050565b6200086382620008ec565b810181811067ffffffffffffffff82111715620008855762000884620008bd565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f496e76616c696420726f79616c74792066656500000000000000000000000000600082015250565b7f496e76616c696420726f79616c747920726563697069656e742061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b620009a981620007ab565b8114620009b557600080fd5b50565b620009c381620007df565b8114620009cf57600080fd5b50565b61549a80620009e26000396000f3fe60806040526004361061019b5760003560e01c80635f7ef2fa116100ec578063b4213dd91161008a578063dbe33e0111610064578063dbe33e0114610587578063e985e9c5146105a3578063f242432a146105e0578063f2fde38b146106095761019b565b8063b4213dd9146104f4578063c86e7a191461051d578063c9aaa518146105465761019b565b80638da5cb5b116100c65780638da5cb5b1461045957806395d89b41146104845780639d1c441b146104af578063a22cb465146104cb5761019b565b80635f7ef2fa146103f0578063715018a6146104195780637617e8b9146104305761019b565b80632a55205a11610159578063476343ee11610133578063476343ee146103575780634e1273f41461036e578063587e7a3d146103ab57806358e80b40146103c75761019b565b80632a55205a146102c75780632eb2c2d61461030557806341e42f301461032e5761019b565b8062fdd58e146101a057806301ffc9a7146101dd57806302fe53051461021a57806306fdde03146102435780630e89341c1461026e578063156e29f6146102ab575b600080fd5b3480156101ac57600080fd5b506101c760048036038101906101c29190613801565b610632565b6040516101d4919061473c565b60405180910390f35b3480156101e957600080fd5b5061020460048036038101906101ff9190613af9565b6106fb565b60405161021191906143df565b60405180910390f35b34801561022657600080fd5b50610241600480360381019061023c9190613b4b565b61075c565b005b34801561024f57600080fd5b506102586107f2565b60405161026591906143fa565b60405180910390f35b34801561027a57600080fd5b5061029560048036038101906102909190613b8c565b610880565b6040516102a291906143fa565b60405180910390f35b6102c560048036038101906102c0919061383d565b6108ff565b005b3480156102d357600080fd5b506102ee60048036038101906102e99190613bf1565b610bb0565b6040516102fc92919061435d565b60405180910390f35b34801561031157600080fd5b5061032c60048036038101906103279190613677565b610c0c565b005b34801561033a57600080fd5b506103556004803603810190610350919061351d565b610cad565b005b34801561036357600080fd5b5061036c610ddd565b005b34801561037a57600080fd5b506103956004803603810190610390919061388c565b610f08565b6040516103a29190614386565b60405180910390f35b6103c560048036038101906103c0919061356f565b6110b9565b005b3480156103d357600080fd5b506103ee60048036038101906103e9919061383d565b61110e565b005b3480156103fc57600080fd5b5061041760048036038101906104129190613c2d565b611272565b005b34801561042557600080fd5b5061042e611354565b005b34801561043c57600080fd5b5061045760048036038101906104529190613a84565b6113dc565b005b34801561046557600080fd5b5061046e6115b2565b60405161047b919061422d565b60405180910390f35b34801561049057600080fd5b506104996115dc565b6040516104a691906143fa565b60405180910390f35b6104c960048036038101906104c4919061399c565b61166a565b005b3480156104d757600080fd5b506104f260048036038101906104ed91906137c5565b611709565b005b34801561050057600080fd5b5061051b600480360381019061051691906138f8565b61188a565b005b34801561052957600080fd5b50610544600480360381019061053f9190613bb5565b611b31565b005b34801561055257600080fd5b5061056d60048036038101906105689190613b8c565b611cc7565b60405161057e959493929190614248565b60405180910390f35b6105a1600480360381019061059c919061356f565b611d1d565b005b3480156105af57600080fd5b506105ca60048036038101906105c5919061363b565b611d38565b6040516105d791906143df565b60405180910390f35b3480156105ec57600080fd5b5061060760048036038101906106029190613736565b611dcc565b005b34801561061557600080fd5b50610630600480360381019061062b919061351d565b611e6d565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069a9061449c565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610755575061075482611f65565b5b9050919050565b610764612047565b73ffffffffffffffffffffffffffffffffffffffff166107826115b2565b73ffffffffffffffffffffffffffffffffffffffff16146107d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107cf9061463c565b60405180910390fd5b80600690805190602001906107ee92919061310d565b5050565b600880546107ff90614b53565b80601f016020809104026020016040519081016040528092919081815260200182805461082b90614b53565b80156108785780601f1061084d57610100808354040283529160200191610878565b820191906000526020600020905b81548152906001019060200180831161085b57829003601f168201915b505050505081565b606061088c600461204f565b82106108cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c49061461c565b60405180910390fd5b60066108d88361205d565b6040516020016108e99291906141f4565b6040516020818303038152906040529050919050565b610909600461204f565b821061094a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109419061461c565b60405180910390fd5b6000600a60008481526020019081526020016000209050610969612047565b73ffffffffffffffffffffffffffffffffffffffff166109876115b2565b73ffffffffffffffffffffffffffffffffffffffff16146109ea5780600401548211156109e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e0906146fc565b60405180910390fd5b5b8181600301546109fa91906149f0565b341015610a3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a339061453c565b60405180910390fd5b6000828260020154610a4e9190614969565b90508160010154811115610a97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8e9061457c565b60405180910390fd5b8082600201819055506000610aba848460030154610ab591906149f0565b61220a565b905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051610b0690614218565b60006040518083038185875af1925050503d8060008114610b43576040519150601f19603f3d011682016040523d82523d6000602084013e610b48565b606091505b5050905080610b8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b839061451c565b60405180910390fd5b610ba78787876040518060200160405280600081525061222c565b50505050505050565b600080600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166103e8600760149054906101000a900460ff1660ff1685610bf791906149f0565b610c0191906149bf565b915091509250929050565b610c14612047565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610c5a5750610c5985610c54612047565b611d38565b5b610c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c90906145dc565b60405180910390fd5b610ca685858585856123c2565b5050505050565b610cb5612047565b73ffffffffffffffffffffffffffffffffffffffff16610cd36115b2565b73ffffffffffffffffffffffffffffffffffffffff1614610d29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d209061463c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d909061455c565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610de5612047565b73ffffffffffffffffffffffffffffffffffffffff16610e036115b2565b73ffffffffffffffffffffffffffffffffffffffff1614610e59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e509061463c565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610e7f90614218565b60006040518083038185875af1925050503d8060008114610ebc576040519150601f19603f3d011682016040523d82523d6000602084013e610ec1565b606091505b5050905080610f05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efc9061447c565b60405180910390fd5b50565b60608151835114610f4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f45906146bc565b60405180910390fd5b6000835167ffffffffffffffff811115610f91577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610fbf5781602001602082028036833780820191505090505b50905060005b84518110156110ae5761105885828151811061100a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015185838151811061104b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610632565b828281518110611091577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050806110a790614bb6565b9050610fc5565b508091505092915050565b6110cc6110c4612047565b8860016108ff565b6000600a600089815260200190815260200160002060030154346110f09190614a4a565b9050611103898989898989898989612722565b505050505050505050565b611116612047565b73ffffffffffffffffffffffffffffffffffffffff166111346115b2565b73ffffffffffffffffffffffffffffffffffffffff161461118a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111819061463c565b60405180910390fd5b611194600461204f565b82106111d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cc9061461c565b60405180910390fd5b6000600a6000848152602001908152602001600020905060008282600201546111fe9190614969565b90508160010154811115611247576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123e9061457c565b60405180910390fd5b80826002018190555061126b8585856040518060200160405280600081525061222c565b5050505050565b61127a612047565b73ffffffffffffffffffffffffffffffffffffffff166112986115b2565b73ffffffffffffffffffffffffffffffffffffffff16146112ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e59061463c565b60405180910390fd5b6103e88160ff161115611336576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132d9061443c565b60405180910390fd5b80600760146101000a81548160ff021916908360ff16021790555050565b61135c612047565b73ffffffffffffffffffffffffffffffffffffffff1661137a6115b2565b73ffffffffffffffffffffffffffffffffffffffff16146113d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c79061463c565b60405180910390fd5b6113da6000612896565b565b6113e4612047565b73ffffffffffffffffffffffffffffffffffffffff166114026115b2565b73ffffffffffffffffffffffffffffffffffffffff1614611458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144f9061463c565b60405180910390fd5b8181905084849050146114a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611497906144dc565b60405180910390fd5b60005b848490508110156115ab5760008585838181106114e9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013590506114fc600461204f565b811061153d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115349061461c565b60405180910390fd5b838383818110611576577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135600a6000838152602001908152602001600020600401819055505080806115a390614bb6565b9150506114a3565b5050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600980546115e990614b53565b80601f016020809104026020016040519081016040528092919081815260200182805461161590614b53565b80156116625780601f1061163757610100808354040283529160200191611662565b820191906000526020600020905b81548152906001019060200180831161164557829003601f168201915b505050505081565b6000898990503461167b91906149bf565b905060005b8a8a90508110156116fc576116e98b8b838181106116c7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906116dc9190613546565b8a8a8a8a8a8a8a8a612722565b80806116f490614bb6565b915050611680565b5050505050505050505050565b8173ffffffffffffffffffffffffffffffffffffffff16611728612047565b73ffffffffffffffffffffffffffffffffffffffff16141561177f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117769061469c565b60405180910390fd5b806001600061178c612047565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611839612047565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161187e91906143df565b60405180910390a35050565b611892612047565b73ffffffffffffffffffffffffffffffffffffffff166118b06115b2565b73ffffffffffffffffffffffffffffffffffffffff1614611906576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fd9061463c565b60405180910390fd5b838390508686905014801561192057508181905086869050145b61195f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119569061467c565b60405180910390fd5b60005b86869050811015611b28576000611979600461204f565b9050611985600461295c565b6040518060a001604052808989858181106119c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906119de9190613546565b73ffffffffffffffffffffffffffffffffffffffff168152602001878785818110611a32577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200160008152602001858585818110611a7e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013581526020016000815250600a600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015560808201518160040155905050508080611b2090614bb6565b915050611962565b50505050505050565b611b39612047565b73ffffffffffffffffffffffffffffffffffffffff16611b576115b2565b73ffffffffffffffffffffffffffffffffffffffff1614611bad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba49061463c565b60405180910390fd5b611bb7600461204f565b8210611bf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bef9061461c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5f9061465c565b60405180910390fd5b6000600a60008481526020019081526020016000209050818160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b600a6020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040154905085565b611d2e888888888888888834612722565b5050505050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611dd4612047565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611e1a5750611e1985611e14612047565b611d38565b5b611e59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e50906144fc565b60405180910390fd5b611e668585858585612972565b5050505050565b611e75612047565b73ffffffffffffffffffffffffffffffffffffffff16611e936115b2565b73ffffffffffffffffffffffffffffffffffffffff1614611ee9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee09061463c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f50906144bc565b60405180910390fd5b611f6281612896565b50565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061203057507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612040575061203f82612bf4565b5b9050919050565b600033905090565b600081600001549050919050565b606060008214156120a5576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612205565b600082905060005b600082146120d75780806120c090614bb6565b915050600a826120d091906149bf565b91506120ad565b60008167ffffffffffffffff811115612119577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561214b5781602001600182028036833780820191505090505b5090505b600085146121fe576001826121649190614a4a565b9150600a856121739190614bff565b603061217f9190614969565b60f81b8183815181106121bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121f791906149bf565b945061214f565b8093505050505b919050565b6000600a60098361221b91906149f0565b61222591906149bf565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561229c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122939061471c565b60405180910390fd5b60006122a6612047565b90506122c7816000876122b888612c5e565b6122c188612c5e565b87612d24565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123269190614969565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516123a49291906147c5565b60405180910390a46123bb81600087878787612d2c565b5050505050565b8151835114612406576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fd906146dc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246d906145bc565b60405180910390fd5b6000612480612047565b9050612490818787878787612d24565b60005b845181101561268d5760008582815181106124d7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600085838151811061251c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156125bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b4906145fc565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126729190614969565b925050819055505050508061268690614bb6565b9050612493565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516127049291906143a8565b60405180910390a461271a818787878787612f13565b505050505050565b60008111156127d95760008973ffffffffffffffffffffffffffffffffffffffff168260405161275190614218565b60006040518083038185875af1925050503d806000811461278e576040519150601f19603f3d011682016040523d82523d6000602084013e612793565b606091505b50509050806127d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ce9061459c565b60405180910390fd5b505b6127fd6127e4612047565b8a8a600160405180602001604052806000815250611dcc565b8873ffffffffffffffffffffffffffffffffffffffff1661281c612047565b73ffffffffffffffffffffffffffffffffffffffff1661283c600561204f565b7f37dd3f5e5fc378d8e1a214ba95ecec7ae3137a06a812e8ce99596a9ec9d5ffa18b8b8b8b8b8b8b8b604051612879989796959493929190614757565b60405180910390a461288b600561295c565b505050505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156129e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d9906145bc565b60405180910390fd5b60006129ec612047565b9050612a0c8187876129fd88612c5e565b612a0688612c5e565b87612d24565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015612aa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9a906145fc565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b589190614969565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612bd59291906147c5565b60405180910390a4612beb828888888888612d2c565b50505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000600167ffffffffffffffff811115612ca3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015612cd15781602001602082028036833780820191505090505b5090508281600081518110612d0f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b505050505050565b612d4b8473ffffffffffffffffffffffffffffffffffffffff166130fa565b15612f0b578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612d91959493929190614303565b602060405180830381600087803b158015612dab57600080fd5b505af1925050508015612ddc57506040513d601f19601f82011682018060405250810190612dd99190613b22565b60015b612e8257612de8614cec565b806308c379a01415612e455750612dfd615344565b80612e085750612e47565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3c91906143fa565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e799061441c565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612f09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f009061445c565b60405180910390fd5b505b505050505050565b612f328473ffffffffffffffffffffffffffffffffffffffff166130fa565b156130f2578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612f7895949392919061429b565b602060405180830381600087803b158015612f9257600080fd5b505af1925050508015612fc357506040513d601f19601f82011682018060405250810190612fc09190613b22565b60015b61306957612fcf614cec565b806308c379a0141561302c5750612fe4615344565b80612fef575061302e565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302391906143fa565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130609061441c565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146130f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130e79061445c565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b82805461311990614b53565b90600052602060002090601f01602090048101928261313b5760008555613182565b82601f1061315457805160ff1916838001178555613182565b82800160010185558215613182579182015b82811115613181578251825591602001919060010190613166565b5b50905061318f9190613193565b5090565b5b808211156131ac576000816000905550600101613194565b5090565b60006131c36131be84614813565b6147ee565b905080838252602082019050828560208602820111156131e257600080fd5b60005b8581101561321257816131f88882613304565b8452602084019350602083019250506001810190506131e5565b5050509392505050565b600061322f61322a8461483f565b6147ee565b9050808382526020820190508285602086028201111561324e57600080fd5b60005b8581101561327e578161326488826134f3565b845260208401935060208301925050600181019050613251565b5050509392505050565b600061329b6132968461486b565b6147ee565b9050828152602081018484840111156132b357600080fd5b6132be848285614b11565b509392505050565b60006132d96132d48461489c565b6147ee565b9050828152602081018484840111156132f157600080fd5b6132fc848285614b11565b509392505050565b600081359050613313816153da565b92915050565b600081359050613328816153f1565b92915050565b600082601f83011261333f57600080fd5b813561334f8482602086016131b0565b91505092915050565b60008083601f84011261336a57600080fd5b8235905067ffffffffffffffff81111561338357600080fd5b60208301915083602082028301111561339b57600080fd5b9250929050565b60008083601f8401126133b457600080fd5b8235905067ffffffffffffffff8111156133cd57600080fd5b6020830191508360208202830111156133e557600080fd5b9250929050565b600082601f8301126133fd57600080fd5b813561340d84826020860161321c565b91505092915050565b60008135905061342581615408565b92915050565b60008135905061343a8161541f565b92915050565b60008151905061344f8161541f565b92915050565b600082601f83011261346657600080fd5b8135613476848260208601613288565b91505092915050565b60008083601f84011261349157600080fd5b8235905067ffffffffffffffff8111156134aa57600080fd5b6020830191508360018202830111156134c257600080fd5b9250929050565b600082601f8301126134da57600080fd5b81356134ea8482602086016132c6565b91505092915050565b60008135905061350281615436565b92915050565b6000813590506135178161544d565b92915050565b60006020828403121561352f57600080fd5b600061353d84828501613304565b91505092915050565b60006020828403121561355857600080fd5b600061356684828501613319565b91505092915050565b60008060008060008060008060a0898b03121561358b57600080fd5b60006135998b828c01613319565b98505060206135aa8b828c016134f3565b975050604089013567ffffffffffffffff8111156135c757600080fd5b6135d38b828c0161347f565b9650965050606089013567ffffffffffffffff8111156135f257600080fd5b6135fe8b828c0161347f565b9450945050608089013567ffffffffffffffff81111561361d57600080fd5b6136298b828c0161347f565b92509250509295985092959890939650565b6000806040838503121561364e57600080fd5b600061365c85828601613304565b925050602061366d85828601613304565b9150509250929050565b600080600080600060a0868803121561368f57600080fd5b600061369d88828901613304565b95505060206136ae88828901613304565b945050604086013567ffffffffffffffff8111156136cb57600080fd5b6136d7888289016133ec565b935050606086013567ffffffffffffffff8111156136f457600080fd5b613700888289016133ec565b925050608086013567ffffffffffffffff81111561371d57600080fd5b61372988828901613455565b9150509295509295909350565b600080600080600060a0868803121561374e57600080fd5b600061375c88828901613304565b955050602061376d88828901613304565b945050604061377e888289016134f3565b935050606061378f888289016134f3565b925050608086013567ffffffffffffffff8111156137ac57600080fd5b6137b888828901613455565b9150509295509295909350565b600080604083850312156137d857600080fd5b60006137e685828601613304565b92505060206137f785828601613416565b9150509250929050565b6000806040838503121561381457600080fd5b600061382285828601613304565b9250506020613833858286016134f3565b9150509250929050565b60008060006060848603121561385257600080fd5b600061386086828701613304565b9350506020613871868287016134f3565b9250506040613882868287016134f3565b9150509250925092565b6000806040838503121561389f57600080fd5b600083013567ffffffffffffffff8111156138b957600080fd5b6138c58582860161332e565b925050602083013567ffffffffffffffff8111156138e257600080fd5b6138ee858286016133ec565b9150509250929050565b6000806000806000806060878903121561391157600080fd5b600087013567ffffffffffffffff81111561392b57600080fd5b61393789828a01613358565b9650965050602087013567ffffffffffffffff81111561395657600080fd5b61396289828a016133a2565b9450945050604087013567ffffffffffffffff81111561398157600080fd5b61398d89828a016133a2565b92509250509295509295509295565b600080600080600080600080600060a08a8c0312156139ba57600080fd5b60008a013567ffffffffffffffff8111156139d457600080fd5b6139e08c828d01613358565b995099505060206139f38c828d016134f3565b97505060408a013567ffffffffffffffff811115613a1057600080fd5b613a1c8c828d0161347f565b965096505060608a013567ffffffffffffffff811115613a3b57600080fd5b613a478c828d0161347f565b945094505060808a013567ffffffffffffffff811115613a6657600080fd5b613a728c828d0161347f565b92509250509295985092959850929598565b60008060008060408587031215613a9a57600080fd5b600085013567ffffffffffffffff811115613ab457600080fd5b613ac0878288016133a2565b9450945050602085013567ffffffffffffffff811115613adf57600080fd5b613aeb878288016133a2565b925092505092959194509250565b600060208284031215613b0b57600080fd5b6000613b198482850161342b565b91505092915050565b600060208284031215613b3457600080fd5b6000613b4284828501613440565b91505092915050565b600060208284031215613b5d57600080fd5b600082013567ffffffffffffffff811115613b7757600080fd5b613b83848285016134c9565b91505092915050565b600060208284031215613b9e57600080fd5b6000613bac848285016134f3565b91505092915050565b60008060408385031215613bc857600080fd5b6000613bd6858286016134f3565b9250506020613be785828601613319565b9150509250929050565b60008060408385031215613c0457600080fd5b6000613c12858286016134f3565b9250506020613c23858286016134f3565b9150509250929050565b600060208284031215613c3f57600080fd5b6000613c4d84828501613508565b91505092915050565b6000613c6283836141d6565b60208301905092915050565b613c7781614a90565b82525050565b613c8681614a7e565b82525050565b6000613c97826148f2565b613ca18185614920565b9350613cac836148cd565b8060005b83811015613cdd578151613cc48882613c56565b9750613ccf83614913565b925050600181019050613cb0565b5085935050505092915050565b613cf381614aa2565b82525050565b6000613d04826148fd565b613d0e8185614931565b9350613d1e818560208601614b20565b613d2781614d0e565b840191505092915050565b6000613d3e838561494d565b9350613d4b838584614b11565b613d5483614d0e565b840190509392505050565b6000613d6a82614908565b613d74818561494d565b9350613d84818560208601614b20565b613d8d81614d0e565b840191505092915050565b6000613da382614908565b613dad818561495e565b9350613dbd818560208601614b20565b80840191505092915050565b60008154613dd681614b53565b613de0818661495e565b94506001821660008114613dfb5760018114613e0c57613e3f565b60ff19831686528186019350613e3f565b613e15856148dd565b60005b83811015613e3757815481890152600182019150602081019050613e18565b838801955050505b50505092915050565b6000613e5560348361494d565b9150613e6082614d2c565b604082019050919050565b6000613e7860138361494d565b9150613e8382614d7b565b602082019050919050565b6000613e9b60288361494d565b9150613ea682614da4565b604082019050919050565b6000613ebe601d8361494d565b9150613ec982614df3565b602082019050919050565b6000613ee1602b8361494d565b9150613eec82614e1c565b604082019050919050565b6000613f0460268361494d565b9150613f0f82614e6b565b604082019050919050565b6000613f2760248361494d565b9150613f3282614eba565b604082019050919050565b6000613f4a60298361494d565b9150613f5582614f09565b604082019050919050565b6000613f6d60148361494d565b9150613f7882614f58565b602082019050919050565b6000613f9060178361494d565b9150613f9b82614f81565b602082019050919050565b6000613fb360218361494d565b9150613fbe82614faa565b604082019050919050565b6000613fd660128361494d565b9150613fe182614ff9565b602082019050919050565b6000613ff9600e8361494d565b915061400482615022565b602082019050919050565b600061401c60258361494d565b91506140278261504b565b604082019050919050565b600061403f60328361494d565b915061404a8261509a565b604082019050919050565b6000614062602a8361494d565b915061406d826150e9565b604082019050919050565b600061408560118361494d565b915061409082615138565b602082019050919050565b60006140a860208361494d565b91506140b382615161565b602082019050919050565b60006140cb60168361494d565b91506140d68261518a565b602082019050919050565b60006140ee600083614942565b91506140f9826151b3565b600082019050919050565b6000614111601a8361494d565b915061411c826151b6565b602082019050919050565b600061413460298361494d565b915061413f826151df565b604082019050919050565b600061415760298361494d565b91506141628261522e565b604082019050919050565b600061417a60288361494d565b91506141858261527d565b604082019050919050565b600061419d601e8361494d565b91506141a8826152cc565b602082019050919050565b60006141c060218361494d565b91506141cb826152f5565b604082019050919050565b6141df81614afa565b82525050565b6141ee81614afa565b82525050565b60006142008285613dc9565b915061420c8284613d98565b91508190509392505050565b6000614223826140e1565b9150819050919050565b60006020820190506142426000830184613c7d565b92915050565b600060a08201905061425d6000830188613c6e565b61426a60208301876141e5565b61427760408301866141e5565b61428460608301856141e5565b61429160808301846141e5565b9695505050505050565b600060a0820190506142b06000830188613c7d565b6142bd6020830187613c7d565b81810360408301526142cf8186613c8c565b905081810360608301526142e38185613c8c565b905081810360808301526142f78184613cf9565b90509695505050505050565b600060a0820190506143186000830188613c7d565b6143256020830187613c7d565b61433260408301866141e5565b61433f60608301856141e5565b81810360808301526143518184613cf9565b90509695505050505050565b60006040820190506143726000830185613c7d565b61437f60208301846141e5565b9392505050565b600060208201905081810360008301526143a08184613c8c565b905092915050565b600060408201905081810360008301526143c28185613c8c565b905081810360208301526143d68184613c8c565b90509392505050565b60006020820190506143f46000830184613cea565b92915050565b600060208201905081810360008301526144148184613d5f565b905092915050565b6000602082019050818103600083015261443581613e48565b9050919050565b6000602082019050818103600083015261445581613e6b565b9050919050565b6000602082019050818103600083015261447581613e8e565b9050919050565b6000602082019050818103600083015261449581613eb1565b9050919050565b600060208201905081810360008301526144b581613ed4565b9050919050565b600060208201905081810360008301526144d581613ef7565b9050919050565b600060208201905081810360008301526144f581613f1a565b9050919050565b6000602082019050818103600083015261451581613f3d565b9050919050565b6000602082019050818103600083015261453581613f60565b9050919050565b6000602082019050818103600083015261455581613f83565b9050919050565b6000602082019050818103600083015261457581613fa6565b9050919050565b6000602082019050818103600083015261459581613fc9565b9050919050565b600060208201905081810360008301526145b581613fec565b9050919050565b600060208201905081810360008301526145d58161400f565b9050919050565b600060208201905081810360008301526145f581614032565b9050919050565b6000602082019050818103600083015261461581614055565b9050919050565b6000602082019050818103600083015261463581614078565b9050919050565b600060208201905081810360008301526146558161409b565b9050919050565b60006020820190508181036000830152614675816140be565b9050919050565b6000602082019050818103600083015261469581614104565b9050919050565b600060208201905081810360008301526146b581614127565b9050919050565b600060208201905081810360008301526146d58161414a565b9050919050565b600060208201905081810360008301526146f58161416d565b9050919050565b6000602082019050818103600083015261471581614190565b9050919050565b60006020820190508181036000830152614735816141b3565b9050919050565b600060208201905061475160008301846141e5565b92915050565b600060a08201905061476c600083018b6141e5565b818103602083015261477f81898b613d32565b90508181036040830152614794818789613d32565b905081810360608301526147a9818587613d32565b90506147b860808301846141e5565b9998505050505050505050565b60006040820190506147da60008301856141e5565b6147e760208301846141e5565b9392505050565b60006147f8614809565b90506148048282614b85565b919050565b6000604051905090565b600067ffffffffffffffff82111561482e5761482d614cbd565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561485a57614859614cbd565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561488657614885614cbd565b5b61488f82614d0e565b9050602081019050919050565b600067ffffffffffffffff8211156148b7576148b6614cbd565b5b6148c082614d0e565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061497482614afa565b915061497f83614afa565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156149b4576149b3614c30565b5b828201905092915050565b60006149ca82614afa565b91506149d583614afa565b9250826149e5576149e4614c5f565b5b828204905092915050565b60006149fb82614afa565b9150614a0683614afa565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a3f57614a3e614c30565b5b828202905092915050565b6000614a5582614afa565b9150614a6083614afa565b925082821015614a7357614a72614c30565b5b828203905092915050565b6000614a8982614ada565b9050919050565b6000614a9b82614ada565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614b3e578082015181840152602081019050614b23565b83811115614b4d576000848401525b50505050565b60006002820490506001821680614b6b57607f821691505b60208210811415614b7f57614b7e614c8e565b5b50919050565b614b8e82614d0e565b810181811067ffffffffffffffff82111715614bad57614bac614cbd565b5b80604052505050565b6000614bc182614afa565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614bf457614bf3614c30565b5b600182019050919050565b6000614c0a82614afa565b9150614c1583614afa565b925082614c2557614c24614c5f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115614d0b5760046000803e614d08600051614d1f565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f496e76616c696420726f79616c74792066656500000000000000000000000000600082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f6661696c656420746f2073656e6420636f6c6c65637465642066656573000000600082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f696e707574206172726179206c656e67746873206d757374206265207468652060008201527f73616d6500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f6172697374207061796d656e74206661696c6564000000000000000000000000600082015250565b7f696e73756666696369656e74206d696e74207072696365000000000000000000600082015250565b7f496e76616c696420726f79616c747920726563697069656e742061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f65786365656473206d617820737570706c790000000000000000000000000000600082015250565b7f7061796d656e74206661696c6564000000000000000000000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f496e76616c696420617274697374206164647265737300000000000000000000600082015250565b50565b7f696e707574206c656e6774687320646f206e6f74206d61746368000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f657863656564732074686520616c6c6f776564206d696e74206c696d69740000600082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015615354576153d7565b61535c614809565b60043d036004823e80513d602482011167ffffffffffffffff821117156153845750506153d7565b808201805167ffffffffffffffff8111156153a257505050506153d7565b80602083010160043d0385018111156153bf5750505050506153d7565b6153ce82602001850186614b85565b82955050505050505b90565b6153e381614a7e565b81146153ee57600080fd5b50565b6153fa81614a90565b811461540557600080fd5b50565b61541181614aa2565b811461541c57600080fd5b50565b61542881614aae565b811461543357600080fd5b50565b61543f81614afa565b811461544a57600080fd5b50565b61545681614b04565b811461546157600080fd5b5056fea264697066735822122028f08144a06f78c2c8dfbc905694c9ba3e2174a19bd65781f86be095de1a268164736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000071bcfdbda9c0cee9078bca2434adba570915da37000000000000000000000000000000000000000000000000000000000000004b00000000000000000000000000000000000000000000000000000000000000065374616d7075000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000065354414d50550000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002068747470733a2f2f7374616d70752e78797a2f6170692f6d657461646174612f
Deployed Bytecode
0x60806040526004361061019b5760003560e01c80635f7ef2fa116100ec578063b4213dd91161008a578063dbe33e0111610064578063dbe33e0114610587578063e985e9c5146105a3578063f242432a146105e0578063f2fde38b146106095761019b565b8063b4213dd9146104f4578063c86e7a191461051d578063c9aaa518146105465761019b565b80638da5cb5b116100c65780638da5cb5b1461045957806395d89b41146104845780639d1c441b146104af578063a22cb465146104cb5761019b565b80635f7ef2fa146103f0578063715018a6146104195780637617e8b9146104305761019b565b80632a55205a11610159578063476343ee11610133578063476343ee146103575780634e1273f41461036e578063587e7a3d146103ab57806358e80b40146103c75761019b565b80632a55205a146102c75780632eb2c2d61461030557806341e42f301461032e5761019b565b8062fdd58e146101a057806301ffc9a7146101dd57806302fe53051461021a57806306fdde03146102435780630e89341c1461026e578063156e29f6146102ab575b600080fd5b3480156101ac57600080fd5b506101c760048036038101906101c29190613801565b610632565b6040516101d4919061473c565b60405180910390f35b3480156101e957600080fd5b5061020460048036038101906101ff9190613af9565b6106fb565b60405161021191906143df565b60405180910390f35b34801561022657600080fd5b50610241600480360381019061023c9190613b4b565b61075c565b005b34801561024f57600080fd5b506102586107f2565b60405161026591906143fa565b60405180910390f35b34801561027a57600080fd5b5061029560048036038101906102909190613b8c565b610880565b6040516102a291906143fa565b60405180910390f35b6102c560048036038101906102c0919061383d565b6108ff565b005b3480156102d357600080fd5b506102ee60048036038101906102e99190613bf1565b610bb0565b6040516102fc92919061435d565b60405180910390f35b34801561031157600080fd5b5061032c60048036038101906103279190613677565b610c0c565b005b34801561033a57600080fd5b506103556004803603810190610350919061351d565b610cad565b005b34801561036357600080fd5b5061036c610ddd565b005b34801561037a57600080fd5b506103956004803603810190610390919061388c565b610f08565b6040516103a29190614386565b60405180910390f35b6103c560048036038101906103c0919061356f565b6110b9565b005b3480156103d357600080fd5b506103ee60048036038101906103e9919061383d565b61110e565b005b3480156103fc57600080fd5b5061041760048036038101906104129190613c2d565b611272565b005b34801561042557600080fd5b5061042e611354565b005b34801561043c57600080fd5b5061045760048036038101906104529190613a84565b6113dc565b005b34801561046557600080fd5b5061046e6115b2565b60405161047b919061422d565b60405180910390f35b34801561049057600080fd5b506104996115dc565b6040516104a691906143fa565b60405180910390f35b6104c960048036038101906104c4919061399c565b61166a565b005b3480156104d757600080fd5b506104f260048036038101906104ed91906137c5565b611709565b005b34801561050057600080fd5b5061051b600480360381019061051691906138f8565b61188a565b005b34801561052957600080fd5b50610544600480360381019061053f9190613bb5565b611b31565b005b34801561055257600080fd5b5061056d60048036038101906105689190613b8c565b611cc7565b60405161057e959493929190614248565b60405180910390f35b6105a1600480360381019061059c919061356f565b611d1d565b005b3480156105af57600080fd5b506105ca60048036038101906105c5919061363b565b611d38565b6040516105d791906143df565b60405180910390f35b3480156105ec57600080fd5b5061060760048036038101906106029190613736565b611dcc565b005b34801561061557600080fd5b50610630600480360381019061062b919061351d565b611e6d565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069a9061449c565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610755575061075482611f65565b5b9050919050565b610764612047565b73ffffffffffffffffffffffffffffffffffffffff166107826115b2565b73ffffffffffffffffffffffffffffffffffffffff16146107d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107cf9061463c565b60405180910390fd5b80600690805190602001906107ee92919061310d565b5050565b600880546107ff90614b53565b80601f016020809104026020016040519081016040528092919081815260200182805461082b90614b53565b80156108785780601f1061084d57610100808354040283529160200191610878565b820191906000526020600020905b81548152906001019060200180831161085b57829003601f168201915b505050505081565b606061088c600461204f565b82106108cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c49061461c565b60405180910390fd5b60066108d88361205d565b6040516020016108e99291906141f4565b6040516020818303038152906040529050919050565b610909600461204f565b821061094a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109419061461c565b60405180910390fd5b6000600a60008481526020019081526020016000209050610969612047565b73ffffffffffffffffffffffffffffffffffffffff166109876115b2565b73ffffffffffffffffffffffffffffffffffffffff16146109ea5780600401548211156109e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e0906146fc565b60405180910390fd5b5b8181600301546109fa91906149f0565b341015610a3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a339061453c565b60405180910390fd5b6000828260020154610a4e9190614969565b90508160010154811115610a97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8e9061457c565b60405180910390fd5b8082600201819055506000610aba848460030154610ab591906149f0565b61220a565b905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051610b0690614218565b60006040518083038185875af1925050503d8060008114610b43576040519150601f19603f3d011682016040523d82523d6000602084013e610b48565b606091505b5050905080610b8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b839061451c565b60405180910390fd5b610ba78787876040518060200160405280600081525061222c565b50505050505050565b600080600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166103e8600760149054906101000a900460ff1660ff1685610bf791906149f0565b610c0191906149bf565b915091509250929050565b610c14612047565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610c5a5750610c5985610c54612047565b611d38565b5b610c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c90906145dc565b60405180910390fd5b610ca685858585856123c2565b5050505050565b610cb5612047565b73ffffffffffffffffffffffffffffffffffffffff16610cd36115b2565b73ffffffffffffffffffffffffffffffffffffffff1614610d29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d209061463c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d909061455c565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610de5612047565b73ffffffffffffffffffffffffffffffffffffffff16610e036115b2565b73ffffffffffffffffffffffffffffffffffffffff1614610e59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e509061463c565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610e7f90614218565b60006040518083038185875af1925050503d8060008114610ebc576040519150601f19603f3d011682016040523d82523d6000602084013e610ec1565b606091505b5050905080610f05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efc9061447c565b60405180910390fd5b50565b60608151835114610f4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f45906146bc565b60405180910390fd5b6000835167ffffffffffffffff811115610f91577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610fbf5781602001602082028036833780820191505090505b50905060005b84518110156110ae5761105885828151811061100a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015185838151811061104b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610632565b828281518110611091577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050806110a790614bb6565b9050610fc5565b508091505092915050565b6110cc6110c4612047565b8860016108ff565b6000600a600089815260200190815260200160002060030154346110f09190614a4a565b9050611103898989898989898989612722565b505050505050505050565b611116612047565b73ffffffffffffffffffffffffffffffffffffffff166111346115b2565b73ffffffffffffffffffffffffffffffffffffffff161461118a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111819061463c565b60405180910390fd5b611194600461204f565b82106111d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cc9061461c565b60405180910390fd5b6000600a6000848152602001908152602001600020905060008282600201546111fe9190614969565b90508160010154811115611247576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123e9061457c565b60405180910390fd5b80826002018190555061126b8585856040518060200160405280600081525061222c565b5050505050565b61127a612047565b73ffffffffffffffffffffffffffffffffffffffff166112986115b2565b73ffffffffffffffffffffffffffffffffffffffff16146112ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e59061463c565b60405180910390fd5b6103e88160ff161115611336576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132d9061443c565b60405180910390fd5b80600760146101000a81548160ff021916908360ff16021790555050565b61135c612047565b73ffffffffffffffffffffffffffffffffffffffff1661137a6115b2565b73ffffffffffffffffffffffffffffffffffffffff16146113d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c79061463c565b60405180910390fd5b6113da6000612896565b565b6113e4612047565b73ffffffffffffffffffffffffffffffffffffffff166114026115b2565b73ffffffffffffffffffffffffffffffffffffffff1614611458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144f9061463c565b60405180910390fd5b8181905084849050146114a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611497906144dc565b60405180910390fd5b60005b848490508110156115ab5760008585838181106114e9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013590506114fc600461204f565b811061153d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115349061461c565b60405180910390fd5b838383818110611576577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135600a6000838152602001908152602001600020600401819055505080806115a390614bb6565b9150506114a3565b5050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600980546115e990614b53565b80601f016020809104026020016040519081016040528092919081815260200182805461161590614b53565b80156116625780601f1061163757610100808354040283529160200191611662565b820191906000526020600020905b81548152906001019060200180831161164557829003601f168201915b505050505081565b6000898990503461167b91906149bf565b905060005b8a8a90508110156116fc576116e98b8b838181106116c7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906116dc9190613546565b8a8a8a8a8a8a8a8a612722565b80806116f490614bb6565b915050611680565b5050505050505050505050565b8173ffffffffffffffffffffffffffffffffffffffff16611728612047565b73ffffffffffffffffffffffffffffffffffffffff16141561177f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117769061469c565b60405180910390fd5b806001600061178c612047565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611839612047565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161187e91906143df565b60405180910390a35050565b611892612047565b73ffffffffffffffffffffffffffffffffffffffff166118b06115b2565b73ffffffffffffffffffffffffffffffffffffffff1614611906576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fd9061463c565b60405180910390fd5b838390508686905014801561192057508181905086869050145b61195f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119569061467c565b60405180910390fd5b60005b86869050811015611b28576000611979600461204f565b9050611985600461295c565b6040518060a001604052808989858181106119c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906119de9190613546565b73ffffffffffffffffffffffffffffffffffffffff168152602001878785818110611a32577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135815260200160008152602001858585818110611a7e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002013581526020016000815250600a600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015560808201518160040155905050508080611b2090614bb6565b915050611962565b50505050505050565b611b39612047565b73ffffffffffffffffffffffffffffffffffffffff16611b576115b2565b73ffffffffffffffffffffffffffffffffffffffff1614611bad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba49061463c565b60405180910390fd5b611bb7600461204f565b8210611bf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bef9061461c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5f9061465c565b60405180910390fd5b6000600a60008481526020019081526020016000209050818160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b600a6020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040154905085565b611d2e888888888888888834612722565b5050505050505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611dd4612047565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611e1a5750611e1985611e14612047565b611d38565b5b611e59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e50906144fc565b60405180910390fd5b611e668585858585612972565b5050505050565b611e75612047565b73ffffffffffffffffffffffffffffffffffffffff16611e936115b2565b73ffffffffffffffffffffffffffffffffffffffff1614611ee9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee09061463c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f50906144bc565b60405180910390fd5b611f6281612896565b50565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061203057507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612040575061203f82612bf4565b5b9050919050565b600033905090565b600081600001549050919050565b606060008214156120a5576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612205565b600082905060005b600082146120d75780806120c090614bb6565b915050600a826120d091906149bf565b91506120ad565b60008167ffffffffffffffff811115612119577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561214b5781602001600182028036833780820191505090505b5090505b600085146121fe576001826121649190614a4a565b9150600a856121739190614bff565b603061217f9190614969565b60f81b8183815181106121bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121f791906149bf565b945061214f565b8093505050505b919050565b6000600a60098361221b91906149f0565b61222591906149bf565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561229c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122939061471c565b60405180910390fd5b60006122a6612047565b90506122c7816000876122b888612c5e565b6122c188612c5e565b87612d24565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123269190614969565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516123a49291906147c5565b60405180910390a46123bb81600087878787612d2c565b5050505050565b8151835114612406576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fd906146dc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246d906145bc565b60405180910390fd5b6000612480612047565b9050612490818787878787612d24565b60005b845181101561268d5760008582815181106124d7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600085838151811061251c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156125bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b4906145fc565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126729190614969565b925050819055505050508061268690614bb6565b9050612493565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516127049291906143a8565b60405180910390a461271a818787878787612f13565b505050505050565b60008111156127d95760008973ffffffffffffffffffffffffffffffffffffffff168260405161275190614218565b60006040518083038185875af1925050503d806000811461278e576040519150601f19603f3d011682016040523d82523d6000602084013e612793565b606091505b50509050806127d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ce9061459c565b60405180910390fd5b505b6127fd6127e4612047565b8a8a600160405180602001604052806000815250611dcc565b8873ffffffffffffffffffffffffffffffffffffffff1661281c612047565b73ffffffffffffffffffffffffffffffffffffffff1661283c600561204f565b7f37dd3f5e5fc378d8e1a214ba95ecec7ae3137a06a812e8ce99596a9ec9d5ffa18b8b8b8b8b8b8b8b604051612879989796959493929190614757565b60405180910390a461288b600561295c565b505050505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156129e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d9906145bc565b60405180910390fd5b60006129ec612047565b9050612a0c8187876129fd88612c5e565b612a0688612c5e565b87612d24565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015612aa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9a906145fc565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b589190614969565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612bd59291906147c5565b60405180910390a4612beb828888888888612d2c565b50505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000600167ffffffffffffffff811115612ca3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015612cd15781602001602082028036833780820191505090505b5090508281600081518110612d0f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b505050505050565b612d4b8473ffffffffffffffffffffffffffffffffffffffff166130fa565b15612f0b578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612d91959493929190614303565b602060405180830381600087803b158015612dab57600080fd5b505af1925050508015612ddc57506040513d601f19601f82011682018060405250810190612dd99190613b22565b60015b612e8257612de8614cec565b806308c379a01415612e455750612dfd615344565b80612e085750612e47565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3c91906143fa565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e799061441c565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612f09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f009061445c565b60405180910390fd5b505b505050505050565b612f328473ffffffffffffffffffffffffffffffffffffffff166130fa565b156130f2578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612f7895949392919061429b565b602060405180830381600087803b158015612f9257600080fd5b505af1925050508015612fc357506040513d601f19601f82011682018060405250810190612fc09190613b22565b60015b61306957612fcf614cec565b806308c379a0141561302c5750612fe4615344565b80612fef575061302e565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302391906143fa565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130609061441c565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146130f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130e79061445c565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b82805461311990614b53565b90600052602060002090601f01602090048101928261313b5760008555613182565b82601f1061315457805160ff1916838001178555613182565b82800160010185558215613182579182015b82811115613181578251825591602001919060010190613166565b5b50905061318f9190613193565b5090565b5b808211156131ac576000816000905550600101613194565b5090565b60006131c36131be84614813565b6147ee565b905080838252602082019050828560208602820111156131e257600080fd5b60005b8581101561321257816131f88882613304565b8452602084019350602083019250506001810190506131e5565b5050509392505050565b600061322f61322a8461483f565b6147ee565b9050808382526020820190508285602086028201111561324e57600080fd5b60005b8581101561327e578161326488826134f3565b845260208401935060208301925050600181019050613251565b5050509392505050565b600061329b6132968461486b565b6147ee565b9050828152602081018484840111156132b357600080fd5b6132be848285614b11565b509392505050565b60006132d96132d48461489c565b6147ee565b9050828152602081018484840111156132f157600080fd5b6132fc848285614b11565b509392505050565b600081359050613313816153da565b92915050565b600081359050613328816153f1565b92915050565b600082601f83011261333f57600080fd5b813561334f8482602086016131b0565b91505092915050565b60008083601f84011261336a57600080fd5b8235905067ffffffffffffffff81111561338357600080fd5b60208301915083602082028301111561339b57600080fd5b9250929050565b60008083601f8401126133b457600080fd5b8235905067ffffffffffffffff8111156133cd57600080fd5b6020830191508360208202830111156133e557600080fd5b9250929050565b600082601f8301126133fd57600080fd5b813561340d84826020860161321c565b91505092915050565b60008135905061342581615408565b92915050565b60008135905061343a8161541f565b92915050565b60008151905061344f8161541f565b92915050565b600082601f83011261346657600080fd5b8135613476848260208601613288565b91505092915050565b60008083601f84011261349157600080fd5b8235905067ffffffffffffffff8111156134aa57600080fd5b6020830191508360018202830111156134c257600080fd5b9250929050565b600082601f8301126134da57600080fd5b81356134ea8482602086016132c6565b91505092915050565b60008135905061350281615436565b92915050565b6000813590506135178161544d565b92915050565b60006020828403121561352f57600080fd5b600061353d84828501613304565b91505092915050565b60006020828403121561355857600080fd5b600061356684828501613319565b91505092915050565b60008060008060008060008060a0898b03121561358b57600080fd5b60006135998b828c01613319565b98505060206135aa8b828c016134f3565b975050604089013567ffffffffffffffff8111156135c757600080fd5b6135d38b828c0161347f565b9650965050606089013567ffffffffffffffff8111156135f257600080fd5b6135fe8b828c0161347f565b9450945050608089013567ffffffffffffffff81111561361d57600080fd5b6136298b828c0161347f565b92509250509295985092959890939650565b6000806040838503121561364e57600080fd5b600061365c85828601613304565b925050602061366d85828601613304565b9150509250929050565b600080600080600060a0868803121561368f57600080fd5b600061369d88828901613304565b95505060206136ae88828901613304565b945050604086013567ffffffffffffffff8111156136cb57600080fd5b6136d7888289016133ec565b935050606086013567ffffffffffffffff8111156136f457600080fd5b613700888289016133ec565b925050608086013567ffffffffffffffff81111561371d57600080fd5b61372988828901613455565b9150509295509295909350565b600080600080600060a0868803121561374e57600080fd5b600061375c88828901613304565b955050602061376d88828901613304565b945050604061377e888289016134f3565b935050606061378f888289016134f3565b925050608086013567ffffffffffffffff8111156137ac57600080fd5b6137b888828901613455565b9150509295509295909350565b600080604083850312156137d857600080fd5b60006137e685828601613304565b92505060206137f785828601613416565b9150509250929050565b6000806040838503121561381457600080fd5b600061382285828601613304565b9250506020613833858286016134f3565b9150509250929050565b60008060006060848603121561385257600080fd5b600061386086828701613304565b9350506020613871868287016134f3565b9250506040613882868287016134f3565b9150509250925092565b6000806040838503121561389f57600080fd5b600083013567ffffffffffffffff8111156138b957600080fd5b6138c58582860161332e565b925050602083013567ffffffffffffffff8111156138e257600080fd5b6138ee858286016133ec565b9150509250929050565b6000806000806000806060878903121561391157600080fd5b600087013567ffffffffffffffff81111561392b57600080fd5b61393789828a01613358565b9650965050602087013567ffffffffffffffff81111561395657600080fd5b61396289828a016133a2565b9450945050604087013567ffffffffffffffff81111561398157600080fd5b61398d89828a016133a2565b92509250509295509295509295565b600080600080600080600080600060a08a8c0312156139ba57600080fd5b60008a013567ffffffffffffffff8111156139d457600080fd5b6139e08c828d01613358565b995099505060206139f38c828d016134f3565b97505060408a013567ffffffffffffffff811115613a1057600080fd5b613a1c8c828d0161347f565b965096505060608a013567ffffffffffffffff811115613a3b57600080fd5b613a478c828d0161347f565b945094505060808a013567ffffffffffffffff811115613a6657600080fd5b613a728c828d0161347f565b92509250509295985092959850929598565b60008060008060408587031215613a9a57600080fd5b600085013567ffffffffffffffff811115613ab457600080fd5b613ac0878288016133a2565b9450945050602085013567ffffffffffffffff811115613adf57600080fd5b613aeb878288016133a2565b925092505092959194509250565b600060208284031215613b0b57600080fd5b6000613b198482850161342b565b91505092915050565b600060208284031215613b3457600080fd5b6000613b4284828501613440565b91505092915050565b600060208284031215613b5d57600080fd5b600082013567ffffffffffffffff811115613b7757600080fd5b613b83848285016134c9565b91505092915050565b600060208284031215613b9e57600080fd5b6000613bac848285016134f3565b91505092915050565b60008060408385031215613bc857600080fd5b6000613bd6858286016134f3565b9250506020613be785828601613319565b9150509250929050565b60008060408385031215613c0457600080fd5b6000613c12858286016134f3565b9250506020613c23858286016134f3565b9150509250929050565b600060208284031215613c3f57600080fd5b6000613c4d84828501613508565b91505092915050565b6000613c6283836141d6565b60208301905092915050565b613c7781614a90565b82525050565b613c8681614a7e565b82525050565b6000613c97826148f2565b613ca18185614920565b9350613cac836148cd565b8060005b83811015613cdd578151613cc48882613c56565b9750613ccf83614913565b925050600181019050613cb0565b5085935050505092915050565b613cf381614aa2565b82525050565b6000613d04826148fd565b613d0e8185614931565b9350613d1e818560208601614b20565b613d2781614d0e565b840191505092915050565b6000613d3e838561494d565b9350613d4b838584614b11565b613d5483614d0e565b840190509392505050565b6000613d6a82614908565b613d74818561494d565b9350613d84818560208601614b20565b613d8d81614d0e565b840191505092915050565b6000613da382614908565b613dad818561495e565b9350613dbd818560208601614b20565b80840191505092915050565b60008154613dd681614b53565b613de0818661495e565b94506001821660008114613dfb5760018114613e0c57613e3f565b60ff19831686528186019350613e3f565b613e15856148dd565b60005b83811015613e3757815481890152600182019150602081019050613e18565b838801955050505b50505092915050565b6000613e5560348361494d565b9150613e6082614d2c565b604082019050919050565b6000613e7860138361494d565b9150613e8382614d7b565b602082019050919050565b6000613e9b60288361494d565b9150613ea682614da4565b604082019050919050565b6000613ebe601d8361494d565b9150613ec982614df3565b602082019050919050565b6000613ee1602b8361494d565b9150613eec82614e1c565b604082019050919050565b6000613f0460268361494d565b9150613f0f82614e6b565b604082019050919050565b6000613f2760248361494d565b9150613f3282614eba565b604082019050919050565b6000613f4a60298361494d565b9150613f5582614f09565b604082019050919050565b6000613f6d60148361494d565b9150613f7882614f58565b602082019050919050565b6000613f9060178361494d565b9150613f9b82614f81565b602082019050919050565b6000613fb360218361494d565b9150613fbe82614faa565b604082019050919050565b6000613fd660128361494d565b9150613fe182614ff9565b602082019050919050565b6000613ff9600e8361494d565b915061400482615022565b602082019050919050565b600061401c60258361494d565b91506140278261504b565b604082019050919050565b600061403f60328361494d565b915061404a8261509a565b604082019050919050565b6000614062602a8361494d565b915061406d826150e9565b604082019050919050565b600061408560118361494d565b915061409082615138565b602082019050919050565b60006140a860208361494d565b91506140b382615161565b602082019050919050565b60006140cb60168361494d565b91506140d68261518a565b602082019050919050565b60006140ee600083614942565b91506140f9826151b3565b600082019050919050565b6000614111601a8361494d565b915061411c826151b6565b602082019050919050565b600061413460298361494d565b915061413f826151df565b604082019050919050565b600061415760298361494d565b91506141628261522e565b604082019050919050565b600061417a60288361494d565b91506141858261527d565b604082019050919050565b600061419d601e8361494d565b91506141a8826152cc565b602082019050919050565b60006141c060218361494d565b91506141cb826152f5565b604082019050919050565b6141df81614afa565b82525050565b6141ee81614afa565b82525050565b60006142008285613dc9565b915061420c8284613d98565b91508190509392505050565b6000614223826140e1565b9150819050919050565b60006020820190506142426000830184613c7d565b92915050565b600060a08201905061425d6000830188613c6e565b61426a60208301876141e5565b61427760408301866141e5565b61428460608301856141e5565b61429160808301846141e5565b9695505050505050565b600060a0820190506142b06000830188613c7d565b6142bd6020830187613c7d565b81810360408301526142cf8186613c8c565b905081810360608301526142e38185613c8c565b905081810360808301526142f78184613cf9565b90509695505050505050565b600060a0820190506143186000830188613c7d565b6143256020830187613c7d565b61433260408301866141e5565b61433f60608301856141e5565b81810360808301526143518184613cf9565b90509695505050505050565b60006040820190506143726000830185613c7d565b61437f60208301846141e5565b9392505050565b600060208201905081810360008301526143a08184613c8c565b905092915050565b600060408201905081810360008301526143c28185613c8c565b905081810360208301526143d68184613c8c565b90509392505050565b60006020820190506143f46000830184613cea565b92915050565b600060208201905081810360008301526144148184613d5f565b905092915050565b6000602082019050818103600083015261443581613e48565b9050919050565b6000602082019050818103600083015261445581613e6b565b9050919050565b6000602082019050818103600083015261447581613e8e565b9050919050565b6000602082019050818103600083015261449581613eb1565b9050919050565b600060208201905081810360008301526144b581613ed4565b9050919050565b600060208201905081810360008301526144d581613ef7565b9050919050565b600060208201905081810360008301526144f581613f1a565b9050919050565b6000602082019050818103600083015261451581613f3d565b9050919050565b6000602082019050818103600083015261453581613f60565b9050919050565b6000602082019050818103600083015261455581613f83565b9050919050565b6000602082019050818103600083015261457581613fa6565b9050919050565b6000602082019050818103600083015261459581613fc9565b9050919050565b600060208201905081810360008301526145b581613fec565b9050919050565b600060208201905081810360008301526145d58161400f565b9050919050565b600060208201905081810360008301526145f581614032565b9050919050565b6000602082019050818103600083015261461581614055565b9050919050565b6000602082019050818103600083015261463581614078565b9050919050565b600060208201905081810360008301526146558161409b565b9050919050565b60006020820190508181036000830152614675816140be565b9050919050565b6000602082019050818103600083015261469581614104565b9050919050565b600060208201905081810360008301526146b581614127565b9050919050565b600060208201905081810360008301526146d58161414a565b9050919050565b600060208201905081810360008301526146f58161416d565b9050919050565b6000602082019050818103600083015261471581614190565b9050919050565b60006020820190508181036000830152614735816141b3565b9050919050565b600060208201905061475160008301846141e5565b92915050565b600060a08201905061476c600083018b6141e5565b818103602083015261477f81898b613d32565b90508181036040830152614794818789613d32565b905081810360608301526147a9818587613d32565b90506147b860808301846141e5565b9998505050505050505050565b60006040820190506147da60008301856141e5565b6147e760208301846141e5565b9392505050565b60006147f8614809565b90506148048282614b85565b919050565b6000604051905090565b600067ffffffffffffffff82111561482e5761482d614cbd565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561485a57614859614cbd565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561488657614885614cbd565b5b61488f82614d0e565b9050602081019050919050565b600067ffffffffffffffff8211156148b7576148b6614cbd565b5b6148c082614d0e565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061497482614afa565b915061497f83614afa565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156149b4576149b3614c30565b5b828201905092915050565b60006149ca82614afa565b91506149d583614afa565b9250826149e5576149e4614c5f565b5b828204905092915050565b60006149fb82614afa565b9150614a0683614afa565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a3f57614a3e614c30565b5b828202905092915050565b6000614a5582614afa565b9150614a6083614afa565b925082821015614a7357614a72614c30565b5b828203905092915050565b6000614a8982614ada565b9050919050565b6000614a9b82614ada565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614b3e578082015181840152602081019050614b23565b83811115614b4d576000848401525b50505050565b60006002820490506001821680614b6b57607f821691505b60208210811415614b7f57614b7e614c8e565b5b50919050565b614b8e82614d0e565b810181811067ffffffffffffffff82111715614bad57614bac614cbd565b5b80604052505050565b6000614bc182614afa565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614bf457614bf3614c30565b5b600182019050919050565b6000614c0a82614afa565b9150614c1583614afa565b925082614c2557614c24614c5f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115614d0b5760046000803e614d08600051614d1f565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f496e76616c696420726f79616c74792066656500000000000000000000000000600082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f6661696c656420746f2073656e6420636f6c6c65637465642066656573000000600082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f696e707574206172726179206c656e67746873206d757374206265207468652060008201527f73616d6500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f6172697374207061796d656e74206661696c6564000000000000000000000000600082015250565b7f696e73756666696369656e74206d696e74207072696365000000000000000000600082015250565b7f496e76616c696420726f79616c747920726563697069656e742061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f65786365656473206d617820737570706c790000000000000000000000000000600082015250565b7f7061796d656e74206661696c6564000000000000000000000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f496e76616c696420617274697374206164647265737300000000000000000000600082015250565b50565b7f696e707574206c656e6774687320646f206e6f74206d61746368000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f657863656564732074686520616c6c6f776564206d696e74206c696d69740000600082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015615354576153d7565b61535c614809565b60043d036004823e80513d602482011167ffffffffffffffff821117156153845750506153d7565b808201805167ffffffffffffffff8111156153a257505050506153d7565b80602083010160043d0385018111156153bf5750505050506153d7565b6153ce82602001850186614b85565b82955050505050505b90565b6153e381614a7e565b81146153ee57600080fd5b50565b6153fa81614a90565b811461540557600080fd5b50565b61541181614aa2565b811461541c57600080fd5b50565b61542881614aae565b811461543357600080fd5b50565b61543f81614afa565b811461544a57600080fd5b50565b61545681614b04565b811461546157600080fd5b5056fea264697066735822122028f08144a06f78c2c8dfbc905694c9ba3e2174a19bd65781f86be095de1a268164736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000071bcfdbda9c0cee9078bca2434adba570915da37000000000000000000000000000000000000000000000000000000000000004b00000000000000000000000000000000000000000000000000000000000000065374616d7075000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000065354414d50550000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002068747470733a2f2f7374616d70752e78797a2f6170692f6d657461646174612f
-----Decoded View---------------
Arg [0] : _name (string): Stampu
Arg [1] : _symbol (string): STAMPU
Arg [2] : _uri (string): https://stampu.xyz/api/metadata/
Arg [3] : royaltyRecipient (address): 0x71bCfDBDa9C0Cee9078Bca2434aDbA570915DA37
Arg [4] : royaltyFee (uint8): 75
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 00000000000000000000000071bcfdbda9c0cee9078bca2434adba570915da37
Arg [4] : 000000000000000000000000000000000000000000000000000000000000004b
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [6] : 5374616d70750000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [8] : 5354414d50550000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [10] : 68747470733a2f2f7374616d70752e78797a2f6170692f6d657461646174612f
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.