More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,680 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Mint Artifact | 58828228 | 154 days ago | IN | 0 POL | 0.00192688 | ||||
Mint Artifact | 58821698 | 154 days ago | IN | 0 POL | 0.00221024 | ||||
Mint Artifact | 58821688 | 154 days ago | IN | 0 POL | 0.00221024 | ||||
Mint Artifact | 58663455 | 158 days ago | IN | 0 POL | 0.00181353 | ||||
Mint Artifact | 57991185 | 175 days ago | IN | 0 POL | 0.00181353 | ||||
Mint Artifact | 57991162 | 175 days ago | IN | 0 POL | 0.00181353 | ||||
Mint Artifact | 57989772 | 175 days ago | IN | 0 POL | 0.00181353 | ||||
Mint Artifact | 55360087 | 244 days ago | IN | 0 POL | 0.00867096 | ||||
Mint Artifact | 42415872 | 575 days ago | IN | 0 POL | 0.01008699 | ||||
Mint Artifact | 42415866 | 575 days ago | IN | 0 POL | 0.00991586 | ||||
Mint Artifact | 42415859 | 575 days ago | IN | 0 POL | 0.01052801 | ||||
Mint Artifact | 42415849 | 575 days ago | IN | 0 POL | 0.00938489 | ||||
Mint Artifact | 42415834 | 575 days ago | IN | 0 POL | 0.00932171 | ||||
Mint Artifact | 42415818 | 575 days ago | IN | 0 POL | 0.00894811 | ||||
Mint Artifact | 42415806 | 575 days ago | IN | 0 POL | 0.00978181 | ||||
Mint Artifact | 42415796 | 575 days ago | IN | 0 POL | 0.0120884 | ||||
Mint Artifact | 42415787 | 575 days ago | IN | 0 POL | 0.01373 | ||||
Mint Artifact | 42415778 | 575 days ago | IN | 0 POL | 0.01380348 | ||||
Mint Artifact | 42415770 | 575 days ago | IN | 0 POL | 0.01151784 | ||||
Mint Artifact | 42415736 | 575 days ago | IN | 0 POL | 0.01153866 | ||||
Mint Artifact | 42415729 | 575 days ago | IN | 0 POL | 0.01206916 | ||||
Mint Artifact | 42415719 | 575 days ago | IN | 0 POL | 0.01096687 | ||||
Mint Artifact | 42415711 | 575 days ago | IN | 0 POL | 0.00963911 | ||||
Mint Artifact | 42415701 | 575 days ago | IN | 0 POL | 0.00912817 | ||||
Mint Artifact | 42415677 | 575 days ago | IN | 0 POL | 0.00979554 |
Loading...
Loading
Contract Name:
JerichoArtifacts
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "./utils/BaseRelayRecipient.sol"; import "./utils/CustomAttributes.sol"; contract JerichoArtifacts is BaseRelayRecipient, CustomAttributes { string public name; string public symbol; constructor( string memory _name, string memory _symbol, address _trustedForwarder ) { name = _name; symbol = _symbol; trustedForwarder = _trustedForwarder; } function uri(uint256 tokenId) public view override(ERC1155) returns (string memory) { return string( abi.encodePacked( "data:application/json;base64,", getSerializedAttributes(tokenId) ) ); } function setURI(string memory newuri) public onlyOwner { _setURI(newuri); } function contractURI() public pure returns (string memory) { return "https://ipfs.io/ipfs/bafkreia66tetuisvtwfj3y74xv5675gmoetbha3suqio6knqjexpqnilvq"; } function mintArtifact( uint256 artifact, address to, address frenWallet, string memory usernameOwner, string memory usernameFren ) public { mint(artifact, to, frenWallet, usernameOwner, usernameFren); } function setCustomAttributes( uint256 tokenId, string memory tokenName, string memory description, string memory image ) public onlyOwner { setAttributes(tokenId, tokenName, description, image); } function setTrustedForwarder(address _trustedForwarder) external onlyOwner { trustedForwarder = _trustedForwarder; } function _msgSender() internal view override(BaseRelayRecipient, Context) returns (address sender) { return BaseRelayRecipient._msgSender(); } }
// SPDX-License-Identifier: MIT pragma solidity = 0.8.9; /** * A base contract to be inherited by any contract that want to receive relayed transactions * A subclass must use "_msgSender()" instead of "msg.sender" */ abstract contract BaseRelayRecipient { /* * Forwarder singleton we accept calls from */ address public trustedForwarder; /* * require a function to be called through GSN only */ modifier trustedForwarderOnly() { require(msg.sender == address(trustedForwarder), "Function can only be called through the trusted Forwarder"); _; } function isTrustedForwarder(address forwarder) public view returns (bool) { return forwarder == trustedForwarder; } /** * return the sender of this call. * if the call came through our trusted forwarder, return the original sender. * otherwise, return `msg.sender`. * should be used in the contract anywhere instead of msg.sender */ function _msgSender() internal view virtual returns (address ret) { if (msg.data.length >= 24 && isTrustedForwarder(msg.sender)) { // At this point we know that the sender is a trusted forwarder, // so we trust that the last bytes of msg.data are the verified sender address. // extract sender address from the end of msg.data assembly { ret := shr(96, calldataload(sub(calldatasize(), 20))) } } else { return msg.sender; } } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Pausable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "../libs/Base64.sol"; import "../libs/Counters.sol"; uint256 constant NUMBER_OF_NECKLACES = 50000; contract CustomAttributes is ERC1155, ERC1155Burnable, Ownable { using Counters for Counters.Counter; Counters.Counter private _tokenIds; uint256 public constant NECKLACE_OF_FRENSHIP = 0; uint256 public constant GATE_PASS = 1; uint256 public constant HAMMER = 2; uint256 public constant ANVIL = 3; struct Attr { string name; string description; string image; } mapping(uint256 => Attr) private attributes; mapping(address => uint256[]) public necklacesOwners; mapping(address => bool) public firstBelievers; mapping(address => bool) public jerichoMembers; error MissingGatePass(); error MissingHammer(); error MissingNecklace(); error AlreadyHasGatePass(); error AlreadyHasHammer(); error IsNotJerichoMember(); error AlreadyHasAnvil(); error JerichoArtifactsNonTransferable(); constructor() ERC1155("") { // arbitrary make the counter starting at 50000 _tokenIds.setCounterValue(NUMBER_OF_NECKLACES); setAttributes( GATE_PASS, "Gate Pass", "The Gate Pass grants safe passage to Jericho.", "https://ipfs.io/ipfs/bafybeihlhjdvn6stihbuyeanckich66rq4hahvocilvhlhouhch43z75f4" ); setAttributes( HAMMER, "Rain Hammer", "The Rain Hammer is an artifact built from Bifrost's fragments. It's granted by The Guardians of Jericho to high-potential builders. It's a prerequisite to getting Jericho citizenship.", "https://ipfs.io/ipfs/bafkreibeejuj2454fkgvqltmakptt73qv65x54wgjcsacpiftcocxe52te" ); setAttributes( ANVIL, "Hudur's Anvil", "When Vulka died, her giant body was petrified on top of Mount Hudur, Jericho's biggest mountain. Her legs got destroyed in the process & scrambled into fragments we call Hudur's Stone, a unique stone that unveils true intentions. It is now used to produce Hudur's Anvils: Jericho's ID. As soon as you get one, you'll be recognized as a true Builder, and get access to all the Discord channels and our wiki.", "https://ipfs.io/ipfs/bafybeihj35lzf6k7wap7j2vh7uaudurtvqr42potwhsrwagrzbyipsyvl4" ); } function setAttributes( uint256 tokenId, string memory name, string memory description, string memory image ) internal { attributes[tokenId] = Attr({ name: name, description: description, image: image }); } function setFirstBeliever(address believer) public onlyOwner { firstBelievers[believer] = true; } function removeFirstBeliever(address addr) public onlyOwner { delete firstBelievers[addr]; } function isBeliever(address add) public view returns (bool) { return firstBelievers[add]; } function setJerichoMember(address member) public onlyOwner { jerichoMembers[member] = true; } function removeJerichoMember(address addr) public onlyOwner { delete jerichoMembers[addr]; } function isJerichoMember(address add) public view returns (bool) { return jerichoMembers[add]; } function getAttributes(uint256 tokenId) public view returns (Attr memory att) { return attributes[tokenId]; } function getSerializedAttributes(uint256 tokenId) public view returns (string memory) { return Base64.encode( abi.encodePacked( '{"name": "', attributes[tokenId].name, '",', '"image": "', attributes[tokenId].image, '",', '"description": "', attributes[tokenId].description, '"}' ) ); } function mint( uint256 artifact, address msgSender, address frenWallet, string memory usernameOwner, string memory usernameFren ) public { if (artifact == GATE_PASS) { if (balanceOf(msgSender, GATE_PASS) > 0) revert AlreadyHasGatePass(); _mint(msgSender, GATE_PASS, 1, "0x000"); } else if (artifact == HAMMER) { if (balanceOf(msgSender, GATE_PASS) == 0) revert MissingGatePass(); if (balanceOf(msgSender, HAMMER) > 0) revert AlreadyHasHammer(); _mint(msgSender, HAMMER, 1, "0x000"); } else if (artifact == NECKLACE_OF_FRENSHIP) { if (balanceOf(msgSender, GATE_PASS) == 0) revert MissingGatePass(); if (balanceOf(msgSender, HAMMER) == 0) revert MissingHammer(); if (balanceOf(frenWallet, GATE_PASS) == 0) revert MissingGatePass(); if (balanceOf(frenWallet, HAMMER) == 0) revert MissingHammer(); uint256 newItemId = _tokenIds.current(); setAttributes( newItemId, string( abi.encodePacked( "Necklace of Frenship: ", usernameOwner, " & ", usernameFren ) ), string( abi.encodePacked( "The Necklace of frenship is a pretty common artifact in Jericho. Families and frens have been exchanging Necklaces of frenship for centuries as a prayer for eternal frenship. The two fren wallets are engraved in the Necklace of frenship. You can't fake connections in Jericho. A fren is a fren. This Necklace proves that ", Strings.toHexString(uint256(uint160(msgSender)), 20), " is fren with wallet ", Strings.toHexString(uint256(uint160(frenWallet)), 20) ) ), "https://ipfs.io/ipfs/bafkreibyhgtflzzfykz7tfnvbxoueajc4yet3mge4kpd5pzcy2k7iixva4" ); necklacesOwners[msgSender].push(newItemId); necklacesOwners[frenWallet].push(newItemId); _mint(msgSender, newItemId, 1, "0x000"); _mint(frenWallet, newItemId, 1, "0x000"); _tokenIds.increment(); } else if (artifact == ANVIL) { if (balanceOf(msgSender, GATE_PASS) == 0) revert MissingGatePass(); if (balanceOf(msgSender, HAMMER) == 0) revert MissingHammer(); if (isJerichoMember(msgSender) == false) revert IsNotJerichoMember(); if ( necklacesOwners[msgSender].length == 0 && isBeliever(msgSender) == false ) revert MissingNecklace(); if (balanceOf(msgSender, ANVIL) > 0) revert AlreadyHasAnvil(); _mint(msgSender, ANVIL, 1, "0x000"); } } function forcedBurn( address addressToBurn, uint256 tokenId, uint256 value ) public onlyOwner { _burn(addressToBurn, tokenId, value); } function forcedBurnBatch( address addressToBurn, uint256[] memory tokenIds, uint256[] memory values ) public onlyOwner { _burnBatch(addressToBurn, tokenIds, values); } function safeTransferFrom( address, address, uint256, uint256, bytes memory ) public pure override { revert JerichoArtifactsNonTransferable(); } function safeBatchTransferFrom( address, address, uint256[] memory, uint256[] memory, bytes memory ) public pure override { revert JerichoArtifactsNonTransferable(); } function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal override(ERC1155) {} function supportsInterface(bytes4 interfaceId) public view override(ERC1155) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: address zero is not a valid owner"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, to, ids, amounts, data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Emits a {TransferSingle} event. * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `ids` and `amounts` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/extensions/ERC1155Burnable.sol) pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of {ERC1155} that allows token holders to destroy both their * own tokens and those that they have been approved to use. * * _Available since v3.1._ */ abstract contract ERC1155Burnable is ERC1155 { function burn( address account, uint256 id, uint256 value ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _burn(account, id, value); } function burnBatch( address account, uint256[] memory ids, uint256[] memory values ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _burnBatch(account, ids, values); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Pausable.sol) pragma solidity ^0.8.0; import "../ERC1155.sol"; import "../../../security/Pausable.sol"; /** * @dev ERC1155 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having an emergency switch for freezing all token transfers in the * event of a large bug. * * _Available since v3.1._ */ abstract contract ERC1155Pausable is ERC1155, Pausable { /** * @dev See {ERC1155-_beforeTokenTransfer}. * * Requirements: * * - the contract must not be paused. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); require(!paused(), "ERC1155Pausable: token transfer while paused"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.9; library Base64 { string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; bytes internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000" hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000" hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000" hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000"; function encode(bytes memory data) internal pure returns (string memory) { if (data.length == 0) return ''; // load the table into memory string memory table = TABLE_ENCODE; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((data.length + 2) / 3); // add some extra buffer at the end required for the writing string memory result = new string(encodedLen + 32); assembly { // set the actual output length mstore(result, encodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 3 bytes at a time for {} lt(dataPtr, endPtr) {} { // read 3 bytes dataPtr := add(dataPtr, 3) let input := mload(dataPtr) // write 4 characters mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and( input, 0x3F)))) resultPtr := add(resultPtr, 1) } // padding with '=' switch mod(mload(data), 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } } return result; } function decode(string memory _data) internal pure returns (bytes memory) { bytes memory data = bytes(_data); if (data.length == 0) return new bytes(0); require(data.length % 4 == 0, "invalid base64 decoder input"); // load the table into memory bytes memory table = TABLE_DECODE; // every 4 characters represent 3 bytes uint256 decodedLen = (data.length / 4) * 3; // add some extra buffer at the end required for the writing bytes memory result = new bytes(decodedLen + 32); assembly { // padding with '=' let lastBytes := mload(add(data, mload(data))) if eq(and(lastBytes, 0xFF), 0x3d) { decodedLen := sub(decodedLen, 1) if eq(and(lastBytes, 0xFFFF), 0x3d3d) { decodedLen := sub(decodedLen, 1) } } // set the actual output length mstore(result, decodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 4 characters at a time for {} lt(dataPtr, endPtr) {} { // read 4 characters dataPtr := add(dataPtr, 4) let input := mload(dataPtr) // write 3 bytes let output := add( add( shl(18, and(mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF)), shl(12, and(mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF))), add( shl( 6, and(mload(add(tablePtr, and(shr( 8, input), 0xFF))), 0xFF)), and(mload(add(tablePtr, and( input , 0xFF))), 0xFF) ) ) mstore(resultPtr, shl(232, output)) resultPtr := add(resultPtr, 3) } } return result; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title Counters * @author Loris Wintjens * @dev Provides counters that can be incremented, set, 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 setCounterValue(Counter storage counter, uint256 value) internal { unchecked { counter._value = value; } } 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 // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** * @dev Handles the receipt of a single ERC1155 token type. This function is * called at the end of a `safeTransferFrom` after the balance has been updated. * * NOTE: To accept the transfer, this must return * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` * (i.e. 0xf23a6e61, or its own function selector). * * @param operator The address which initiated the transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param id The ID of the token being transferred * @param value The amount of tokens being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @dev Handles the receipt of a multiple ERC1155 token types. This function * is called at the end of a `safeBatchTransferFrom` after the balances have * been updated. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_trustedForwarder","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyHasAnvil","type":"error"},{"inputs":[],"name":"AlreadyHasGatePass","type":"error"},{"inputs":[],"name":"AlreadyHasHammer","type":"error"},{"inputs":[],"name":"IsNotJerichoMember","type":"error"},{"inputs":[],"name":"JerichoArtifactsNonTransferable","type":"error"},{"inputs":[],"name":"MissingGatePass","type":"error"},{"inputs":[],"name":"MissingHammer","type":"error"},{"inputs":[],"name":"MissingNecklace","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"ANVIL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GATE_PASS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"HAMMER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NECKLACE_OF_FRENSHIP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"firstBelievers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addressToBurn","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"forcedBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addressToBurn","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"forcedBurnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getAttributes","outputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"string","name":"image","type":"string"}],"internalType":"struct CustomAttributes.Attr","name":"att","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getSerializedAttributes","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"add","type":"address"}],"name":"isBeliever","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"add","type":"address"}],"name":"isJerichoMember","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"forwarder","type":"address"}],"name":"isTrustedForwarder","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"jerichoMembers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"artifact","type":"uint256"},{"internalType":"address","name":"msgSender","type":"address"},{"internalType":"address","name":"frenWallet","type":"address"},{"internalType":"string","name":"usernameOwner","type":"string"},{"internalType":"string","name":"usernameFren","type":"string"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"artifact","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"address","name":"frenWallet","type":"address"},{"internalType":"string","name":"usernameOwner","type":"string"},{"internalType":"string","name":"usernameFren","type":"string"}],"name":"mintArtifact","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"necklacesOwners","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"removeFirstBeliever","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"removeJerichoMember","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"pure","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":"tokenId","type":"uint256"},{"internalType":"string","name":"tokenName","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"string","name":"image","type":"string"}],"name":"setCustomAttributes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"believer","type":"address"}],"name":"setFirstBeliever","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"member","type":"address"}],"name":"setJerichoMember","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_trustedForwarder","type":"address"}],"name":"setTrustedForwarder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"trustedForwarder","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620059fc380380620059fc83398181016040528101906200003791906200077a565b6040518060200160405280600081525062000058816200028860201b60201c565b50620000796200006d620002a460201b60201c565b620002c060201b60201c565b6200009661c35060056200038660201b62001afb1790919060201c565b6200011260016040518060400160405280600981526020017f47617465205061737300000000000000000000000000000000000000000000008152506040518060600160405280602d8152602001620059cf602d91396040518060800160405280605081526020016200592f605091396200039360201b60201c565b6200018e60026040518060400160405280600b81526020017f5261696e2048616d6d65720000000000000000000000000000000000000000008152506040518060e0016040528060b781526020016200587860b791396040518060800160405280605081526020016200597f605091396200039360201b60201c565b6200020d60036040518060400160405280600d81526020017f4875647572277320416e76696c00000000000000000000000000000000000000815250604051806101c001604052806101968152602001620056e2610196913960405180608001604052806050815260200162005692605091396200039360201b60201c565b82600a908051906020019062000225929190620004c8565b5081600b90805190602001906200023e929190620004c8565b50806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505062000879565b8060039080519060200190620002a0929190620004c8565b5050565b6000620002bb6200042760201b62001b081760201c565b905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8082600001819055505050565b604051806060016040528084815260200183815260200182815250600660008681526020019081526020016000206000820151816000019080519060200190620003df929190620004c8565b506020820151816001019080519060200190620003fe929190620004c8565b5060408201518160020190805190602001906200041d929190620004c8565b5090505050505050565b600060186000369050101580156200044c57506200044b336200046f60201b60201c565b5b156200046257601436033560601c90506200046b565b3390506200046c565b5b90565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b828054620004d69062000843565b90600052602060002090601f016020900481019282620004fa576000855562000546565b82601f106200051557805160ff191683800117855562000546565b8280016001018555821562000546579182015b828111156200054557825182559160200191906001019062000528565b5b50905062000555919062000559565b5090565b5b80821115620005745760008160009055506001016200055a565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620005e18262000596565b810181811067ffffffffffffffff82111715620006035762000602620005a7565b5b80604052505050565b60006200061862000578565b9050620006268282620005d6565b919050565b600067ffffffffffffffff821115620006495762000648620005a7565b5b620006548262000596565b9050602081019050919050565b60005b838110156200068157808201518184015260208101905062000664565b8381111562000691576000848401525b50505050565b6000620006ae620006a8846200062b565b6200060c565b905082815260208101848484011115620006cd57620006cc62000591565b5b620006da84828562000661565b509392505050565b600082601f830112620006fa57620006f96200058c565b5b81516200070c84826020860162000697565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620007428262000715565b9050919050565b620007548162000735565b81146200076057600080fd5b50565b600081519050620007748162000749565b92915050565b60008060006060848603121562000796576200079562000582565b5b600084015167ffffffffffffffff811115620007b757620007b662000587565b5b620007c586828701620006e2565b935050602084015167ffffffffffffffff811115620007e957620007e862000587565b5b620007f786828701620006e2565b92505060406200080a8682870162000763565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200085c57607f821691505b6020821081141562000873576200087262000814565b5b50919050565b614e0980620008896000396000f3fe608060405234801561001057600080fd5b50600436106102475760003560e01c80638da5cb5b1161013b578063da742228116100b8578063f242432a1161007c578063f242432a14610724578063f2fde38b14610740578063f5298aca1461075c578063fa983b5f14610778578063fc17c07e1461079457610247565b8063da7422281461066c578063e8a3d48514610688578063e985e9c5146106a6578063e9f032e5146106d6578063ec02035a146106f457610247565b8063a7ba35f2116100ff578063a7ba35f2146105b8578063b636eadf146105e8578063ba59358114610604578063c5af9ebd14610634578063d8b3a2291461065057610247565b80638da5cb5b1461052457806395d89b4114610542578063a1b0146014610560578063a22cb4651461057e578063a3ebeb951461059a57610247565b806348595a59116101c95780636246ebd71161018d5780636246ebd7146104a85780636b20c454146104c4578063715018a6146104e0578063797c213b146104ea5780637da0a8771461050657610247565b806348595a59146103e05780634e1273f4146103fc57806351fd3a341461042c578063572b6c051461045c5780635df839581461048c57610247565b80630759cd4d116102105780630759cd4d146103165780630e201814146103465780630e89341c146103645780632eb2c2d6146103945780634378a6e3146103b057610247565b8062fdd58e1461024c57806301ffc9a71461027c57806302fe5305146102ac57806305c2420c146102c857806306fdde03146102f8575b600080fd5b61026660048036038101906102619190612e9d565b6107b0565b6040516102739190612eec565b60405180910390f35b61029660048036038101906102919190612f5f565b61087a565b6040516102a39190612fa7565b60405180910390f35b6102c660048036038101906102c19190613108565b61088c565b005b6102e260048036038101906102dd9190613151565b6108a0565b6040516102ef9190612fa7565b60405180910390f35b6103006108c0565b60405161030d9190613206565b60405180910390f35b610330600480360381019061032b9190613151565b61094e565b60405161033d9190612fa7565b60405180910390f35b61034e61096e565b60405161035b9190612eec565b60405180910390f35b61037e60048036038101906103799190613228565b610973565b60405161038b9190613206565b60405180910390f35b6103ae60048036038101906103a991906133be565b6109a4565b005b6103ca60048036038101906103c59190613228565b6109d6565b6040516103d79190613535565b60405180910390f35b6103fa60048036038101906103f59190613557565b610bb9565b005b6104166004803603810190610411919061366d565b610bd1565b60405161042391906137a3565b60405180910390f35b61044660048036038101906104419190612e9d565b610cea565b6040516104539190612eec565b60405180910390f35b61047660048036038101906104719190613151565b610d1b565b6040516104839190612fa7565b60405180910390f35b6104a660048036038101906104a19190613151565b610d74565b005b6104c260048036038101906104bd9190613151565b610dd7565b005b6104de60048036038101906104d991906137c5565b610e31565b005b6104e8610ece565b005b61050460048036038101906104ff9190613850565b610ee2565b005b61050e611585565b60405161051b9190613912565b60405180910390f35b61052c6115a9565b6040516105399190613912565b60405180910390f35b61054a6115d3565b6040516105579190613206565b60405180910390f35b610568611661565b6040516105759190612eec565b60405180910390f35b61059860048036038101906105939190613959565b611666565b005b6105a261167c565b6040516105af9190612eec565b60405180910390f35b6105d260048036038101906105cd9190613228565b611681565b6040516105df9190613206565b60405180910390f35b61060260048036038101906105fd9190613850565b6116f5565b005b61061e60048036038101906106199190613151565b611709565b60405161062b9190612fa7565b60405180910390f35b61064e60048036038101906106499190613999565b61175f565b005b61066a60048036038101906106659190613151565b611779565b005b61068660048036038101906106819190613151565b6117d3565b005b61069061181e565b60405161069d9190613206565b60405180910390f35b6106c060048036038101906106bb9190613a54565b61183e565b6040516106cd9190612fa7565b60405180910390f35b6106de6118d2565b6040516106eb9190612eec565b60405180910390f35b61070e60048036038101906107099190613151565b6118d7565b60405161071b9190612fa7565b60405180910390f35b61073e60048036038101906107399190613a94565b61192d565b005b61075a60048036038101906107559190613151565b61195f565b005b61077660048036038101906107719190613557565b6119e3565b005b610792600480360381019061078d91906137c5565b611a80565b005b6107ae60048036038101906107a99190613151565b611a98565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610821576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081890613b9d565b60405180910390fd5b6001600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600061088582611b44565b9050919050565b610894611c26565b61089d81611ca4565b50565b60096020528060005260406000206000915054906101000a900460ff1681565b600a80546108cd90613bec565b80601f01602080910402602001604051908101604052809291908181526020018280546108f990613bec565b80156109465780601f1061091b57610100808354040283529160200191610946565b820191906000526020600020905b81548152906001019060200180831161092957829003601f168201915b505050505081565b60086020528060005260406000206000915054906101000a900460ff1681565b600381565b606061097e82611681565b60405160200161098e9190613ca6565b6040516020818303038152906040529050919050565b6040517ffd7e0c6800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109de612d31565b60066000838152602001908152602001600020604051806060016040529081600082018054610a0c90613bec565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3890613bec565b8015610a855780601f10610a5a57610100808354040283529160200191610a85565b820191906000526020600020905b815481529060010190602001808311610a6857829003601f168201915b50505050508152602001600182018054610a9e90613bec565b80601f0160208091040260200160405190810160405280929190818152602001828054610aca90613bec565b8015610b175780601f10610aec57610100808354040283529160200191610b17565b820191906000526020600020905b815481529060010190602001808311610afa57829003601f168201915b50505050508152602001600282018054610b3090613bec565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5c90613bec565b8015610ba95780601f10610b7e57610100808354040283529160200191610ba9565b820191906000526020600020905b815481529060010190602001808311610b8c57829003601f168201915b5050505050815250509050919050565b610bc1611c26565b610bcc838383611cbe565b505050565b60608151835114610c17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0e90613d3a565b60405180910390fd5b6000835167ffffffffffffffff811115610c3457610c33612fdd565b5b604051908082528060200260200182016040528015610c625781602001602082028036833780820191505090505b50905060005b8451811015610cdf57610caf858281518110610c8757610c86613d5a565b5b6020026020010151858381518110610ca257610ca1613d5a565b5b60200260200101516107b0565b828281518110610cc257610cc1613d5a565b5b60200260200101818152505080610cd890613db8565b9050610c68565b508091505092915050565b60076020528160005260406000208181548110610d0657600080fd5b90600052602060002001600091509150505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b610d7c611c26565b6001600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610ddf611c26565b600860008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff021916905550565b610e39611f07565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610e7f5750610e7e83610e79611f07565b61183e565b5b610ebe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb590613e73565b60405180910390fd5b610ec9838383611f16565b505050565b610ed6611c26565b610ee060006121e7565b565b6001851415610f77576000610ef88560016107b0565b1115610f30576040517f9409b5c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f72846001806040518060400160405280600581526020017f30783030300000000000000000000000000000000000000000000000000000008152506122ad565b61157e565b6002851415611052576000610f8d8560016107b0565b1415610fc5576040517f704bfaf300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610fd28560026107b0565b111561100a576040517ff2ef3eb600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61104d84600260016040518060400160405280600581526020017f30783030300000000000000000000000000000000000000000000000000000008152506122ad565b61157d565b60008514156113835760006110688560016107b0565b14156110a0576040517f704bfaf300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006110ad8560026107b0565b14156110e5576040517f5bb07b4a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006110f28460016107b0565b141561112a576040517f704bfaf300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006111378460026107b0565b141561116f576040517f5bb07b4a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061117b600561245f565b9050611223818484604051602001611194929190613f2b565b6040516020818303038152906040526111c48873ffffffffffffffffffffffffffffffffffffffff16601461246d565b6111e58873ffffffffffffffffffffffffffffffffffffffff16601461246d565b6040516020016111f692919061417e565b604051602081830303815290604052604051806080016040528060508152602001614d44605091396126a9565b600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819080600181540180825580915050600190039060005260206000200160009091909190915055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819080600181540180825580915050600190039060005260206000200160009091909190915055611331858260016040518060400160405280600581526020017f30783030300000000000000000000000000000000000000000000000000000008152506122ad565b611373848260016040518060400160405280600581526020017f30783030300000000000000000000000000000000000000000000000000000008152506122ad565b61137d6005612737565b5061157c565b600385141561157b5760006113998560016107b0565b14156113d1576040517f704bfaf300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006113de8560026107b0565b1415611416576040517f5bb07b4a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60001515611423856118d7565b1515141561145d576040517f7fe9e35000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490501480156114bb5750600015156114b785611709565b1515145b156114f2576040517f97230d4800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006114ff8560036107b0565b1115611537576040517f34a16acf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61157a84600360016040518060400160405280600581526020017f30783030300000000000000000000000000000000000000000000000000000008152506122ad565b5b5b5b5b5050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600b80546115e090613bec565b80601f016020809104026020016040519081016040528092919081815260200182805461160c90613bec565b80156116595780601f1061162e57610100808354040283529160200191611659565b820191906000526020600020905b81548152906001019060200180831161163c57829003601f168201915b505050505081565b600281565b611678611671611f07565b838361274d565b5050565b600181565b60606116ee6006600084815260200190815260200160002060000160066000858152602001908152602001600020600201600660008681526020019081526020016000206001016040516020016116da939291906143c8565b6040516020818303038152906040526128ba565b9050919050565b6117028585858585610ee2565b5050505050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b611767611c26565b611773848484846126a9565b50505050565b611781611c26565b600960008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff021916905550565b6117db611c26565b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060604051806080016040528060508152602001614cf460509139905090565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600081565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6040517ffd7e0c6800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611967611c26565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156119d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ce906144ad565b60405180910390fd5b6119e0816121e7565b50565b6119eb611f07565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480611a315750611a3083611a2b611f07565b61183e565b5b611a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6790613e73565b60405180910390fd5b611a7b838383611cbe565b505050565b611a88611c26565b611a93838383611f16565b505050565b611aa0611c26565b6001600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b8082600001819055505050565b60006018600036905010158015611b245750611b2333610d1b565b5b15611b3857601436033560601c9050611b40565b339050611b41565b5b90565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c0f57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611c1f5750611c1e82612a33565b5b9050919050565b611c2e611f07565b73ffffffffffffffffffffffffffffffffffffffff16611c4c6115a9565b73ffffffffffffffffffffffffffffffffffffffff1614611ca2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9990614519565b60405180910390fd5b565b8060039080519060200190611cba929190612d52565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d25906145ab565b60405180910390fd5b6000611d38611f07565b90506000611d4584612a9d565b90506000611d5284612a9d565b9050611d7283876000858560405180602001604052806000815250612b17565b60006001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015611e0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e019061463d565b60405180910390fd5b8481036001600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611ed892919061465d565b60405180910390a4611efe84886000868660405180602001604052806000815250612b1f565b50505050505050565b6000611f11611b08565b905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611f86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7d906145ab565b60405180910390fd5b8051825114611fca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc1906146f8565b60405180910390fd5b6000611fd4611f07565b9050611ff481856000868660405180602001604052806000815250612b17565b60005b835181101561214357600084828151811061201557612014613d5a565b5b60200260200101519050600084838151811061203457612033613d5a565b5b6020026020010151905060006001600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156120d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120cd9061463d565b60405180910390fd5b8181036001600085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050808061213b90613db8565b915050611ff7565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516121bb929190614718565b60405180910390a46121e181856000868660405180602001604052806000815250612b1f565b50505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561231d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612314906147c1565b60405180910390fd5b6000612327611f07565b9050600061233485612a9d565b9050600061234185612a9d565b905061235283600089858589612b17565b846001600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123b291906147e1565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62898960405161243092919061465d565b60405180910390a461244783600089858589612b1f565b61245683600089898989612b27565b50505050505050565b600081600001549050919050565b6060600060028360026124809190614837565b61248a91906147e1565b67ffffffffffffffff8111156124a3576124a2612fdd565b5b6040519080825280601f01601f1916602001820160405280156124d55781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061250d5761250c613d5a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061257157612570613d5a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026125b19190614837565b6125bb91906147e1565b90505b600181111561265b577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106125fd576125fc613d5a565b5b1a60f81b82828151811061261457612613613d5a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061265490614891565b90506125be565b506000841461269f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269690614907565b60405180910390fd5b8091505092915050565b6040518060600160405280848152602001838152602001828152506006600086815260200190815260200160002060008201518160000190805190602001906126f3929190612d52565b506020820151816001019080519060200190612710929190612d52565b50604082015181600201908051906020019061272d929190612d52565b5090505050505050565b6001816000016000828254019250508190555050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b390614999565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516128ad9190612fa7565b60405180910390a3505050565b60606000825114156128dd57604051806020016040528060008152509050612a2e565b6000604051806060016040528060408152602001614d94604091399050600060036002855161290c91906147e1565b61291691906149e8565b60046129229190614837565b9050600060208261293391906147e1565b67ffffffffffffffff81111561294c5761294b612fdd565b5b6040519080825280601f01601f19166020018201604052801561297e5781602001600182028036833780820191505090505b509050818152600183018586518101602084015b818310156129ed576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050612992565b600389510660018114612a075760028114612a1757612a22565b613d3d60f01b6002830352612a22565b603d60f81b60018303525b50505050508093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000600167ffffffffffffffff811115612abc57612abb612fdd565b5b604051908082528060200260200182016040528015612aea5781602001602082028036833780820191505090505b5090508281600081518110612b0257612b01613d5a565b5b60200260200101818152505080915050919050565b505050505050565b505050505050565b612b468473ffffffffffffffffffffffffffffffffffffffff16612d0e565b15612d06578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612b8c959493929190614a6e565b602060405180830381600087803b158015612ba657600080fd5b505af1925050508015612bd757506040513d601f19601f82011682018060405250810190612bd49190614add565b60015b612c7d57612be3614b17565b806308c379a01415612c405750612bf8614b39565b80612c035750612c42565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c379190613206565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7490614c41565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612d04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cfb90614cd3565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60405180606001604052806060815260200160608152602001606081525090565b828054612d5e90613bec565b90600052602060002090601f016020900481019282612d805760008555612dc7565b82601f10612d9957805160ff1916838001178555612dc7565b82800160010185558215612dc7579182015b82811115612dc6578251825591602001919060010190612dab565b5b509050612dd49190612dd8565b5090565b5b80821115612df1576000816000905550600101612dd9565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e3482612e09565b9050919050565b612e4481612e29565b8114612e4f57600080fd5b50565b600081359050612e6181612e3b565b92915050565b6000819050919050565b612e7a81612e67565b8114612e8557600080fd5b50565b600081359050612e9781612e71565b92915050565b60008060408385031215612eb457612eb3612dff565b5b6000612ec285828601612e52565b9250506020612ed385828601612e88565b9150509250929050565b612ee681612e67565b82525050565b6000602082019050612f016000830184612edd565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612f3c81612f07565b8114612f4757600080fd5b50565b600081359050612f5981612f33565b92915050565b600060208284031215612f7557612f74612dff565b5b6000612f8384828501612f4a565b91505092915050565b60008115159050919050565b612fa181612f8c565b82525050565b6000602082019050612fbc6000830184612f98565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61301582612fcc565b810181811067ffffffffffffffff8211171561303457613033612fdd565b5b80604052505050565b6000613047612df5565b9050613053828261300c565b919050565b600067ffffffffffffffff82111561307357613072612fdd565b5b61307c82612fcc565b9050602081019050919050565b82818337600083830152505050565b60006130ab6130a684613058565b61303d565b9050828152602081018484840111156130c7576130c6612fc7565b5b6130d2848285613089565b509392505050565b600082601f8301126130ef576130ee612fc2565b5b81356130ff848260208601613098565b91505092915050565b60006020828403121561311e5761311d612dff565b5b600082013567ffffffffffffffff81111561313c5761313b612e04565b5b613148848285016130da565b91505092915050565b60006020828403121561316757613166612dff565b5b600061317584828501612e52565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156131b857808201518184015260208101905061319d565b838111156131c7576000848401525b50505050565b60006131d88261317e565b6131e28185613189565b93506131f281856020860161319a565b6131fb81612fcc565b840191505092915050565b6000602082019050818103600083015261322081846131cd565b905092915050565b60006020828403121561323e5761323d612dff565b5b600061324c84828501612e88565b91505092915050565b600067ffffffffffffffff8211156132705761326f612fdd565b5b602082029050602081019050919050565b600080fd5b600061329961329484613255565b61303d565b905080838252602082019050602084028301858111156132bc576132bb613281565b5b835b818110156132e557806132d18882612e88565b8452602084019350506020810190506132be565b5050509392505050565b600082601f83011261330457613303612fc2565b5b8135613314848260208601613286565b91505092915050565b600067ffffffffffffffff82111561333857613337612fdd565b5b61334182612fcc565b9050602081019050919050565b600061336161335c8461331d565b61303d565b90508281526020810184848401111561337d5761337c612fc7565b5b613388848285613089565b509392505050565b600082601f8301126133a5576133a4612fc2565b5b81356133b584826020860161334e565b91505092915050565b600080600080600060a086880312156133da576133d9612dff565b5b60006133e888828901612e52565b95505060206133f988828901612e52565b945050604086013567ffffffffffffffff81111561341a57613419612e04565b5b613426888289016132ef565b935050606086013567ffffffffffffffff81111561344757613446612e04565b5b613453888289016132ef565b925050608086013567ffffffffffffffff81111561347457613473612e04565b5b61348088828901613390565b9150509295509295909350565b600082825260208201905092915050565b60006134a98261317e565b6134b3818561348d565b93506134c381856020860161319a565b6134cc81612fcc565b840191505092915050565b600060608301600083015184820360008601526134f4828261349e565b9150506020830151848203602086015261350e828261349e565b91505060408301518482036040860152613528828261349e565b9150508091505092915050565b6000602082019050818103600083015261354f81846134d7565b905092915050565b6000806000606084860312156135705761356f612dff565b5b600061357e86828701612e52565b935050602061358f86828701612e88565b92505060406135a086828701612e88565b9150509250925092565b600067ffffffffffffffff8211156135c5576135c4612fdd565b5b602082029050602081019050919050565b60006135e96135e4846135aa565b61303d565b9050808382526020820190506020840283018581111561360c5761360b613281565b5b835b8181101561363557806136218882612e52565b84526020840193505060208101905061360e565b5050509392505050565b600082601f83011261365457613653612fc2565b5b81356136648482602086016135d6565b91505092915050565b6000806040838503121561368457613683612dff565b5b600083013567ffffffffffffffff8111156136a2576136a1612e04565b5b6136ae8582860161363f565b925050602083013567ffffffffffffffff8111156136cf576136ce612e04565b5b6136db858286016132ef565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61371a81612e67565b82525050565b600061372c8383613711565b60208301905092915050565b6000602082019050919050565b6000613750826136e5565b61375a81856136f0565b935061376583613701565b8060005b8381101561379657815161377d8882613720565b975061378883613738565b925050600181019050613769565b5085935050505092915050565b600060208201905081810360008301526137bd8184613745565b905092915050565b6000806000606084860312156137de576137dd612dff565b5b60006137ec86828701612e52565b935050602084013567ffffffffffffffff81111561380d5761380c612e04565b5b613819868287016132ef565b925050604084013567ffffffffffffffff81111561383a57613839612e04565b5b613846868287016132ef565b9150509250925092565b600080600080600060a0868803121561386c5761386b612dff565b5b600061387a88828901612e88565b955050602061388b88828901612e52565b945050604061389c88828901612e52565b935050606086013567ffffffffffffffff8111156138bd576138bc612e04565b5b6138c9888289016130da565b925050608086013567ffffffffffffffff8111156138ea576138e9612e04565b5b6138f6888289016130da565b9150509295509295909350565b61390c81612e29565b82525050565b60006020820190506139276000830184613903565b92915050565b61393681612f8c565b811461394157600080fd5b50565b6000813590506139538161392d565b92915050565b600080604083850312156139705761396f612dff565b5b600061397e85828601612e52565b925050602061398f85828601613944565b9150509250929050565b600080600080608085870312156139b3576139b2612dff565b5b60006139c187828801612e88565b945050602085013567ffffffffffffffff8111156139e2576139e1612e04565b5b6139ee878288016130da565b935050604085013567ffffffffffffffff811115613a0f57613a0e612e04565b5b613a1b878288016130da565b925050606085013567ffffffffffffffff811115613a3c57613a3b612e04565b5b613a48878288016130da565b91505092959194509250565b60008060408385031215613a6b57613a6a612dff565b5b6000613a7985828601612e52565b9250506020613a8a85828601612e52565b9150509250929050565b600080600080600060a08688031215613ab057613aaf612dff565b5b6000613abe88828901612e52565b9550506020613acf88828901612e52565b9450506040613ae088828901612e88565b9350506060613af188828901612e88565b925050608086013567ffffffffffffffff811115613b1257613b11612e04565b5b613b1e88828901613390565b9150509295509295909350565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000613b87602a83613189565b9150613b9282613b2b565b604082019050919050565b60006020820190508181036000830152613bb681613b7a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613c0457607f821691505b60208210811415613c1857613c17613bbd565b5b50919050565b600081905092915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000613c5f601d83613c1e565b9150613c6a82613c29565b601d82019050919050565b6000613c808261317e565b613c8a8185613c1e565b9350613c9a81856020860161319a565b80840191505092915050565b6000613cb182613c52565b9150613cbd8284613c75565b915081905092915050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613d24602983613189565b9150613d2f82613cc8565b604082019050919050565b60006020820190508181036000830152613d5381613d17565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613dc382612e67565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613df657613df5613d89565b5b600182019050919050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b6000613e5d602f83613189565b9150613e6882613e01565b604082019050919050565b60006020820190508181036000830152613e8c81613e50565b9050919050565b7f4e65636b6c616365206f66204672656e736869703a2000000000000000000000600082015250565b6000613ec9601683613c1e565b9150613ed482613e93565b601682019050919050565b7f2026200000000000000000000000000000000000000000000000000000000000600082015250565b6000613f15600383613c1e565b9150613f2082613edf565b600382019050919050565b6000613f3682613ebc565b9150613f428285613c75565b9150613f4d82613f08565b9150613f598284613c75565b91508190509392505050565b7f546865204e65636b6c616365206f66206672656e73686970206973206120707260008201527f6574747920636f6d6d6f6e20617274696661637420696e204a65726963686f2e60208201527f2046616d696c69657320616e64206672656e732068617665206265656e20657860408201527f6368616e67696e67204e65636b6c61636573206f66206672656e73686970206660608201527f6f722063656e74757269657320617320612070726179657220666f722065746560808201527f726e616c206672656e736869702e205468652074776f206672656e2077616c6c60a08201527f6574732061726520656e67726176656420696e20746865204e65636b6c61636560c08201527f206f66206672656e736869702e20596f752063616e27742066616b6520636f6e60e08201527f6e656374696f6e7320696e204a65726963686f2e2041206672656e20697320616101008201527f206672656e2e2054686973204e65636b6c6163652070726f76657320746861746101208201527f200000000000000000000000000000000000000000000000000000000000000061014082015250565b600061411b61014183613c1e565b915061412682613f65565b61014182019050919050565b7f206973206672656e20776974682077616c6c6574200000000000000000000000600082015250565b6000614168601583613c1e565b915061417382614132565b601582019050919050565b60006141898261410d565b91506141958285613c75565b91506141a08261415b565b91506141ac8284613c75565b91508190509392505050565b7f7b226e616d65223a202200000000000000000000000000000000000000000000600082015250565b60006141ee600a83613c1e565b91506141f9826141b8565b600a82019050919050565b60008190508160005260206000209050919050565b6000815461422681613bec565b6142308186613c1e565b9450600182166000811461424b576001811461425c5761428f565b60ff1983168652818601935061428f565b61426585614204565b60005b8381101561428757815481890152600182019150602081019050614268565b838801955050505b50505092915050565b7f222c000000000000000000000000000000000000000000000000000000000000600082015250565b60006142ce600283613c1e565b91506142d982614298565b600282019050919050565b7f22696d616765223a202200000000000000000000000000000000000000000000600082015250565b600061431a600a83613c1e565b9150614325826142e4565b600a82019050919050565b7f226465736372697074696f6e223a202200000000000000000000000000000000600082015250565b6000614366601083613c1e565b915061437182614330565b601082019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b60006143b2600283613c1e565b91506143bd8261437c565b600282019050919050565b60006143d3826141e1565b91506143df8286614219565b91506143ea826142c1565b91506143f58261430d565b91506144018285614219565b915061440c826142c1565b915061441782614359565b91506144238284614219565b915061442e826143a5565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614497602683613189565b91506144a28261443b565b604082019050919050565b600060208201905081810360008301526144c68161448a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614503602083613189565b915061450e826144cd565b602082019050919050565b60006020820190508181036000830152614532816144f6565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614595602383613189565b91506145a082614539565b604082019050919050565b600060208201905081810360008301526145c481614588565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000614627602483613189565b9150614632826145cb565b604082019050919050565b600060208201905081810360008301526146568161461a565b9050919050565b60006040820190506146726000830185612edd565b61467f6020830184612edd565b9392505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006146e2602883613189565b91506146ed82614686565b604082019050919050565b60006020820190508181036000830152614711816146d5565b9050919050565b600060408201905081810360008301526147328185613745565b905081810360208301526147468184613745565b90509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006147ab602183613189565b91506147b68261474f565b604082019050919050565b600060208201905081810360008301526147da8161479e565b9050919050565b60006147ec82612e67565b91506147f783612e67565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561482c5761482b613d89565b5b828201905092915050565b600061484282612e67565b915061484d83612e67565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561488657614885613d89565b5b828202905092915050565b600061489c82612e67565b915060008214156148b0576148af613d89565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006148f1602083613189565b91506148fc826148bb565b602082019050919050565b60006020820190508181036000830152614920816148e4565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614983602983613189565b915061498e82614927565b604082019050919050565b600060208201905081810360008301526149b281614976565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006149f382612e67565b91506149fe83612e67565b925082614a0e57614a0d6149b9565b5b828204905092915050565b600081519050919050565b600082825260208201905092915050565b6000614a4082614a19565b614a4a8185614a24565b9350614a5a81856020860161319a565b614a6381612fcc565b840191505092915050565b600060a082019050614a836000830188613903565b614a906020830187613903565b614a9d6040830186612edd565b614aaa6060830185612edd565b8181036080830152614abc8184614a35565b90509695505050505050565b600081519050614ad781612f33565b92915050565b600060208284031215614af357614af2612dff565b5b6000614b0184828501614ac8565b91505092915050565b60008160e01c9050919050565b600060033d1115614b365760046000803e614b33600051614b0a565b90505b90565b600060443d1015614b4957614bcc565b614b51612df5565b60043d036004823e80513d602482011167ffffffffffffffff82111715614b79575050614bcc565b808201805167ffffffffffffffff811115614b975750505050614bcc565b80602083010160043d038501811115614bb4575050505050614bcc565b614bc38260200185018661300c565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614c2b603483613189565b9150614c3682614bcf565b604082019050919050565b60006020820190508181036000830152614c5a81614c1e565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614cbd602883613189565b9150614cc882614c61565b604082019050919050565b60006020820190508181036000830152614cec81614cb0565b905091905056fe68747470733a2f2f697066732e696f2f697066732f6261666b726569613636746574756973767477666a33793734787635363735676d6f657462686133737571696f366b6e716a657870716e696c767168747470733a2f2f697066732e696f2f697066732f6261666b7265696279686774666c7a7a66796b7a3774666e7662786f7565616a6334796574336d6765346b706435707a6379326b376969787661344142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220ed8f28a3b244635f79f0760b8c2f0ae72a643aa1d908473a1b4a98dae5992b6964736f6c6343000809003368747470733a2f2f697066732e696f2f697066732f62616679626569686a33356c7a66366b37776170376a32766837756175647572747671723432706f7477687372776167727a627969707379766c345768656e2056756c6b6120646965642c20686572206769616e7420626f64792077617320706574726966696564206f6e20746f70206f66204d6f756e742048756475722c204a65726963686f27732062696767657374206d6f756e7461696e2e20486572206c65677320676f742064657374726f79656420696e207468652070726f63657373202620736372616d626c656420696e746f20667261676d656e74732077652063616c6c20487564757227732053746f6e652c206120756e697175652073746f6e65207468617420756e7665696c73207472756520696e74656e74696f6e732e204974206973206e6f77207573656420746f2070726f64756365204875647572277320416e76696c733a204a65726963686f27732049442e20417320736f6f6e20617320796f7520676574206f6e652c20796f75276c6c206265207265636f676e697a656420617320612074727565204275696c6465722c20616e64206765742061636365737320746f20616c6c2074686520446973636f7264206368616e6e656c7320616e64206f75722077696b692e546865205261696e2048616d6d657220697320616e206172746966616374206275696c742066726f6d20426966726f7374277320667261676d656e74732e2049742773206772616e7465642062792054686520477561726469616e73206f66204a65726963686f20746f20686967682d706f74656e7469616c206275696c646572732e204974277320612070726572657175697369746520746f2067657474696e67204a65726963686f20636974697a656e736869702e68747470733a2f2f697066732e696f2f697066732f62616679626569686c686a64766e367374696862757965616e636b6963683636727134686168766f63696c76686c686f7568636834337a3735663468747470733a2f2f697066732e696f2f697066732f6261666b7265696265656a756a32343534666b6776716c746d616b70747437337176363578353477676a6373616370696674636f6378653532746554686520476174652050617373206772616e74732073616665207061737361676520746f204a65726963686f2e000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000086c80a8aa58e0a4fa09a69624c31ab2a6cad56b800000000000000000000000000000000000000000000000000000000000000114a65726963686f2041727469666163747300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034a43480000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102475760003560e01c80638da5cb5b1161013b578063da742228116100b8578063f242432a1161007c578063f242432a14610724578063f2fde38b14610740578063f5298aca1461075c578063fa983b5f14610778578063fc17c07e1461079457610247565b8063da7422281461066c578063e8a3d48514610688578063e985e9c5146106a6578063e9f032e5146106d6578063ec02035a146106f457610247565b8063a7ba35f2116100ff578063a7ba35f2146105b8578063b636eadf146105e8578063ba59358114610604578063c5af9ebd14610634578063d8b3a2291461065057610247565b80638da5cb5b1461052457806395d89b4114610542578063a1b0146014610560578063a22cb4651461057e578063a3ebeb951461059a57610247565b806348595a59116101c95780636246ebd71161018d5780636246ebd7146104a85780636b20c454146104c4578063715018a6146104e0578063797c213b146104ea5780637da0a8771461050657610247565b806348595a59146103e05780634e1273f4146103fc57806351fd3a341461042c578063572b6c051461045c5780635df839581461048c57610247565b80630759cd4d116102105780630759cd4d146103165780630e201814146103465780630e89341c146103645780632eb2c2d6146103945780634378a6e3146103b057610247565b8062fdd58e1461024c57806301ffc9a71461027c57806302fe5305146102ac57806305c2420c146102c857806306fdde03146102f8575b600080fd5b61026660048036038101906102619190612e9d565b6107b0565b6040516102739190612eec565b60405180910390f35b61029660048036038101906102919190612f5f565b61087a565b6040516102a39190612fa7565b60405180910390f35b6102c660048036038101906102c19190613108565b61088c565b005b6102e260048036038101906102dd9190613151565b6108a0565b6040516102ef9190612fa7565b60405180910390f35b6103006108c0565b60405161030d9190613206565b60405180910390f35b610330600480360381019061032b9190613151565b61094e565b60405161033d9190612fa7565b60405180910390f35b61034e61096e565b60405161035b9190612eec565b60405180910390f35b61037e60048036038101906103799190613228565b610973565b60405161038b9190613206565b60405180910390f35b6103ae60048036038101906103a991906133be565b6109a4565b005b6103ca60048036038101906103c59190613228565b6109d6565b6040516103d79190613535565b60405180910390f35b6103fa60048036038101906103f59190613557565b610bb9565b005b6104166004803603810190610411919061366d565b610bd1565b60405161042391906137a3565b60405180910390f35b61044660048036038101906104419190612e9d565b610cea565b6040516104539190612eec565b60405180910390f35b61047660048036038101906104719190613151565b610d1b565b6040516104839190612fa7565b60405180910390f35b6104a660048036038101906104a19190613151565b610d74565b005b6104c260048036038101906104bd9190613151565b610dd7565b005b6104de60048036038101906104d991906137c5565b610e31565b005b6104e8610ece565b005b61050460048036038101906104ff9190613850565b610ee2565b005b61050e611585565b60405161051b9190613912565b60405180910390f35b61052c6115a9565b6040516105399190613912565b60405180910390f35b61054a6115d3565b6040516105579190613206565b60405180910390f35b610568611661565b6040516105759190612eec565b60405180910390f35b61059860048036038101906105939190613959565b611666565b005b6105a261167c565b6040516105af9190612eec565b60405180910390f35b6105d260048036038101906105cd9190613228565b611681565b6040516105df9190613206565b60405180910390f35b61060260048036038101906105fd9190613850565b6116f5565b005b61061e60048036038101906106199190613151565b611709565b60405161062b9190612fa7565b60405180910390f35b61064e60048036038101906106499190613999565b61175f565b005b61066a60048036038101906106659190613151565b611779565b005b61068660048036038101906106819190613151565b6117d3565b005b61069061181e565b60405161069d9190613206565b60405180910390f35b6106c060048036038101906106bb9190613a54565b61183e565b6040516106cd9190612fa7565b60405180910390f35b6106de6118d2565b6040516106eb9190612eec565b60405180910390f35b61070e60048036038101906107099190613151565b6118d7565b60405161071b9190612fa7565b60405180910390f35b61073e60048036038101906107399190613a94565b61192d565b005b61075a60048036038101906107559190613151565b61195f565b005b61077660048036038101906107719190613557565b6119e3565b005b610792600480360381019061078d91906137c5565b611a80565b005b6107ae60048036038101906107a99190613151565b611a98565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610821576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081890613b9d565b60405180910390fd5b6001600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600061088582611b44565b9050919050565b610894611c26565b61089d81611ca4565b50565b60096020528060005260406000206000915054906101000a900460ff1681565b600a80546108cd90613bec565b80601f01602080910402602001604051908101604052809291908181526020018280546108f990613bec565b80156109465780601f1061091b57610100808354040283529160200191610946565b820191906000526020600020905b81548152906001019060200180831161092957829003601f168201915b505050505081565b60086020528060005260406000206000915054906101000a900460ff1681565b600381565b606061097e82611681565b60405160200161098e9190613ca6565b6040516020818303038152906040529050919050565b6040517ffd7e0c6800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109de612d31565b60066000838152602001908152602001600020604051806060016040529081600082018054610a0c90613bec565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3890613bec565b8015610a855780601f10610a5a57610100808354040283529160200191610a85565b820191906000526020600020905b815481529060010190602001808311610a6857829003601f168201915b50505050508152602001600182018054610a9e90613bec565b80601f0160208091040260200160405190810160405280929190818152602001828054610aca90613bec565b8015610b175780601f10610aec57610100808354040283529160200191610b17565b820191906000526020600020905b815481529060010190602001808311610afa57829003601f168201915b50505050508152602001600282018054610b3090613bec565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5c90613bec565b8015610ba95780601f10610b7e57610100808354040283529160200191610ba9565b820191906000526020600020905b815481529060010190602001808311610b8c57829003601f168201915b5050505050815250509050919050565b610bc1611c26565b610bcc838383611cbe565b505050565b60608151835114610c17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0e90613d3a565b60405180910390fd5b6000835167ffffffffffffffff811115610c3457610c33612fdd565b5b604051908082528060200260200182016040528015610c625781602001602082028036833780820191505090505b50905060005b8451811015610cdf57610caf858281518110610c8757610c86613d5a565b5b6020026020010151858381518110610ca257610ca1613d5a565b5b60200260200101516107b0565b828281518110610cc257610cc1613d5a565b5b60200260200101818152505080610cd890613db8565b9050610c68565b508091505092915050565b60076020528160005260406000208181548110610d0657600080fd5b90600052602060002001600091509150505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b610d7c611c26565b6001600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610ddf611c26565b600860008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff021916905550565b610e39611f07565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610e7f5750610e7e83610e79611f07565b61183e565b5b610ebe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb590613e73565b60405180910390fd5b610ec9838383611f16565b505050565b610ed6611c26565b610ee060006121e7565b565b6001851415610f77576000610ef88560016107b0565b1115610f30576040517f9409b5c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f72846001806040518060400160405280600581526020017f30783030300000000000000000000000000000000000000000000000000000008152506122ad565b61157e565b6002851415611052576000610f8d8560016107b0565b1415610fc5576040517f704bfaf300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610fd28560026107b0565b111561100a576040517ff2ef3eb600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61104d84600260016040518060400160405280600581526020017f30783030300000000000000000000000000000000000000000000000000000008152506122ad565b61157d565b60008514156113835760006110688560016107b0565b14156110a0576040517f704bfaf300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006110ad8560026107b0565b14156110e5576040517f5bb07b4a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006110f28460016107b0565b141561112a576040517f704bfaf300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006111378460026107b0565b141561116f576040517f5bb07b4a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061117b600561245f565b9050611223818484604051602001611194929190613f2b565b6040516020818303038152906040526111c48873ffffffffffffffffffffffffffffffffffffffff16601461246d565b6111e58873ffffffffffffffffffffffffffffffffffffffff16601461246d565b6040516020016111f692919061417e565b604051602081830303815290604052604051806080016040528060508152602001614d44605091396126a9565b600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819080600181540180825580915050600190039060005260206000200160009091909190915055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819080600181540180825580915050600190039060005260206000200160009091909190915055611331858260016040518060400160405280600581526020017f30783030300000000000000000000000000000000000000000000000000000008152506122ad565b611373848260016040518060400160405280600581526020017f30783030300000000000000000000000000000000000000000000000000000008152506122ad565b61137d6005612737565b5061157c565b600385141561157b5760006113998560016107b0565b14156113d1576040517f704bfaf300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006113de8560026107b0565b1415611416576040517f5bb07b4a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60001515611423856118d7565b1515141561145d576040517f7fe9e35000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490501480156114bb5750600015156114b785611709565b1515145b156114f2576040517f97230d4800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006114ff8560036107b0565b1115611537576040517f34a16acf00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61157a84600360016040518060400160405280600581526020017f30783030300000000000000000000000000000000000000000000000000000008152506122ad565b5b5b5b5b5050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600b80546115e090613bec565b80601f016020809104026020016040519081016040528092919081815260200182805461160c90613bec565b80156116595780601f1061162e57610100808354040283529160200191611659565b820191906000526020600020905b81548152906001019060200180831161163c57829003601f168201915b505050505081565b600281565b611678611671611f07565b838361274d565b5050565b600181565b60606116ee6006600084815260200190815260200160002060000160066000858152602001908152602001600020600201600660008681526020019081526020016000206001016040516020016116da939291906143c8565b6040516020818303038152906040526128ba565b9050919050565b6117028585858585610ee2565b5050505050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b611767611c26565b611773848484846126a9565b50505050565b611781611c26565b600960008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81549060ff021916905550565b6117db611c26565b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060604051806080016040528060508152602001614cf460509139905090565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600081565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6040517ffd7e0c6800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611967611c26565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156119d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ce906144ad565b60405180910390fd5b6119e0816121e7565b50565b6119eb611f07565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480611a315750611a3083611a2b611f07565b61183e565b5b611a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6790613e73565b60405180910390fd5b611a7b838383611cbe565b505050565b611a88611c26565b611a93838383611f16565b505050565b611aa0611c26565b6001600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b8082600001819055505050565b60006018600036905010158015611b245750611b2333610d1b565b5b15611b3857601436033560601c9050611b40565b339050611b41565b5b90565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c0f57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611c1f5750611c1e82612a33565b5b9050919050565b611c2e611f07565b73ffffffffffffffffffffffffffffffffffffffff16611c4c6115a9565b73ffffffffffffffffffffffffffffffffffffffff1614611ca2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9990614519565b60405180910390fd5b565b8060039080519060200190611cba929190612d52565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d25906145ab565b60405180910390fd5b6000611d38611f07565b90506000611d4584612a9d565b90506000611d5284612a9d565b9050611d7283876000858560405180602001604052806000815250612b17565b60006001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015611e0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e019061463d565b60405180910390fd5b8481036001600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611ed892919061465d565b60405180910390a4611efe84886000868660405180602001604052806000815250612b1f565b50505050505050565b6000611f11611b08565b905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611f86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7d906145ab565b60405180910390fd5b8051825114611fca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc1906146f8565b60405180910390fd5b6000611fd4611f07565b9050611ff481856000868660405180602001604052806000815250612b17565b60005b835181101561214357600084828151811061201557612014613d5a565b5b60200260200101519050600084838151811061203457612033613d5a565b5b6020026020010151905060006001600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156120d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120cd9061463d565b60405180910390fd5b8181036001600085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050808061213b90613db8565b915050611ff7565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb86866040516121bb929190614718565b60405180910390a46121e181856000868660405180602001604052806000815250612b1f565b50505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561231d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612314906147c1565b60405180910390fd5b6000612327611f07565b9050600061233485612a9d565b9050600061234185612a9d565b905061235283600089858589612b17565b846001600088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123b291906147e1565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62898960405161243092919061465d565b60405180910390a461244783600089858589612b1f565b61245683600089898989612b27565b50505050505050565b600081600001549050919050565b6060600060028360026124809190614837565b61248a91906147e1565b67ffffffffffffffff8111156124a3576124a2612fdd565b5b6040519080825280601f01601f1916602001820160405280156124d55781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061250d5761250c613d5a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061257157612570613d5a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026125b19190614837565b6125bb91906147e1565b90505b600181111561265b577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106125fd576125fc613d5a565b5b1a60f81b82828151811061261457612613613d5a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061265490614891565b90506125be565b506000841461269f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269690614907565b60405180910390fd5b8091505092915050565b6040518060600160405280848152602001838152602001828152506006600086815260200190815260200160002060008201518160000190805190602001906126f3929190612d52565b506020820151816001019080519060200190612710929190612d52565b50604082015181600201908051906020019061272d929190612d52565b5090505050505050565b6001816000016000828254019250508190555050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b390614999565b60405180910390fd5b80600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516128ad9190612fa7565b60405180910390a3505050565b60606000825114156128dd57604051806020016040528060008152509050612a2e565b6000604051806060016040528060408152602001614d94604091399050600060036002855161290c91906147e1565b61291691906149e8565b60046129229190614837565b9050600060208261293391906147e1565b67ffffffffffffffff81111561294c5761294b612fdd565b5b6040519080825280601f01601f19166020018201604052801561297e5781602001600182028036833780820191505090505b509050818152600183018586518101602084015b818310156129ed576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050612992565b600389510660018114612a075760028114612a1757612a22565b613d3d60f01b6002830352612a22565b603d60f81b60018303525b50505050508093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000600167ffffffffffffffff811115612abc57612abb612fdd565b5b604051908082528060200260200182016040528015612aea5781602001602082028036833780820191505090505b5090508281600081518110612b0257612b01613d5a565b5b60200260200101818152505080915050919050565b505050505050565b505050505050565b612b468473ffffffffffffffffffffffffffffffffffffffff16612d0e565b15612d06578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612b8c959493929190614a6e565b602060405180830381600087803b158015612ba657600080fd5b505af1925050508015612bd757506040513d601f19601f82011682018060405250810190612bd49190614add565b60015b612c7d57612be3614b17565b806308c379a01415612c405750612bf8614b39565b80612c035750612c42565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c379190613206565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c7490614c41565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612d04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cfb90614cd3565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60405180606001604052806060815260200160608152602001606081525090565b828054612d5e90613bec565b90600052602060002090601f016020900481019282612d805760008555612dc7565b82601f10612d9957805160ff1916838001178555612dc7565b82800160010185558215612dc7579182015b82811115612dc6578251825591602001919060010190612dab565b5b509050612dd49190612dd8565b5090565b5b80821115612df1576000816000905550600101612dd9565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e3482612e09565b9050919050565b612e4481612e29565b8114612e4f57600080fd5b50565b600081359050612e6181612e3b565b92915050565b6000819050919050565b612e7a81612e67565b8114612e8557600080fd5b50565b600081359050612e9781612e71565b92915050565b60008060408385031215612eb457612eb3612dff565b5b6000612ec285828601612e52565b9250506020612ed385828601612e88565b9150509250929050565b612ee681612e67565b82525050565b6000602082019050612f016000830184612edd565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612f3c81612f07565b8114612f4757600080fd5b50565b600081359050612f5981612f33565b92915050565b600060208284031215612f7557612f74612dff565b5b6000612f8384828501612f4a565b91505092915050565b60008115159050919050565b612fa181612f8c565b82525050565b6000602082019050612fbc6000830184612f98565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61301582612fcc565b810181811067ffffffffffffffff8211171561303457613033612fdd565b5b80604052505050565b6000613047612df5565b9050613053828261300c565b919050565b600067ffffffffffffffff82111561307357613072612fdd565b5b61307c82612fcc565b9050602081019050919050565b82818337600083830152505050565b60006130ab6130a684613058565b61303d565b9050828152602081018484840111156130c7576130c6612fc7565b5b6130d2848285613089565b509392505050565b600082601f8301126130ef576130ee612fc2565b5b81356130ff848260208601613098565b91505092915050565b60006020828403121561311e5761311d612dff565b5b600082013567ffffffffffffffff81111561313c5761313b612e04565b5b613148848285016130da565b91505092915050565b60006020828403121561316757613166612dff565b5b600061317584828501612e52565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156131b857808201518184015260208101905061319d565b838111156131c7576000848401525b50505050565b60006131d88261317e565b6131e28185613189565b93506131f281856020860161319a565b6131fb81612fcc565b840191505092915050565b6000602082019050818103600083015261322081846131cd565b905092915050565b60006020828403121561323e5761323d612dff565b5b600061324c84828501612e88565b91505092915050565b600067ffffffffffffffff8211156132705761326f612fdd565b5b602082029050602081019050919050565b600080fd5b600061329961329484613255565b61303d565b905080838252602082019050602084028301858111156132bc576132bb613281565b5b835b818110156132e557806132d18882612e88565b8452602084019350506020810190506132be565b5050509392505050565b600082601f83011261330457613303612fc2565b5b8135613314848260208601613286565b91505092915050565b600067ffffffffffffffff82111561333857613337612fdd565b5b61334182612fcc565b9050602081019050919050565b600061336161335c8461331d565b61303d565b90508281526020810184848401111561337d5761337c612fc7565b5b613388848285613089565b509392505050565b600082601f8301126133a5576133a4612fc2565b5b81356133b584826020860161334e565b91505092915050565b600080600080600060a086880312156133da576133d9612dff565b5b60006133e888828901612e52565b95505060206133f988828901612e52565b945050604086013567ffffffffffffffff81111561341a57613419612e04565b5b613426888289016132ef565b935050606086013567ffffffffffffffff81111561344757613446612e04565b5b613453888289016132ef565b925050608086013567ffffffffffffffff81111561347457613473612e04565b5b61348088828901613390565b9150509295509295909350565b600082825260208201905092915050565b60006134a98261317e565b6134b3818561348d565b93506134c381856020860161319a565b6134cc81612fcc565b840191505092915050565b600060608301600083015184820360008601526134f4828261349e565b9150506020830151848203602086015261350e828261349e565b91505060408301518482036040860152613528828261349e565b9150508091505092915050565b6000602082019050818103600083015261354f81846134d7565b905092915050565b6000806000606084860312156135705761356f612dff565b5b600061357e86828701612e52565b935050602061358f86828701612e88565b92505060406135a086828701612e88565b9150509250925092565b600067ffffffffffffffff8211156135c5576135c4612fdd565b5b602082029050602081019050919050565b60006135e96135e4846135aa565b61303d565b9050808382526020820190506020840283018581111561360c5761360b613281565b5b835b8181101561363557806136218882612e52565b84526020840193505060208101905061360e565b5050509392505050565b600082601f83011261365457613653612fc2565b5b81356136648482602086016135d6565b91505092915050565b6000806040838503121561368457613683612dff565b5b600083013567ffffffffffffffff8111156136a2576136a1612e04565b5b6136ae8582860161363f565b925050602083013567ffffffffffffffff8111156136cf576136ce612e04565b5b6136db858286016132ef565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61371a81612e67565b82525050565b600061372c8383613711565b60208301905092915050565b6000602082019050919050565b6000613750826136e5565b61375a81856136f0565b935061376583613701565b8060005b8381101561379657815161377d8882613720565b975061378883613738565b925050600181019050613769565b5085935050505092915050565b600060208201905081810360008301526137bd8184613745565b905092915050565b6000806000606084860312156137de576137dd612dff565b5b60006137ec86828701612e52565b935050602084013567ffffffffffffffff81111561380d5761380c612e04565b5b613819868287016132ef565b925050604084013567ffffffffffffffff81111561383a57613839612e04565b5b613846868287016132ef565b9150509250925092565b600080600080600060a0868803121561386c5761386b612dff565b5b600061387a88828901612e88565b955050602061388b88828901612e52565b945050604061389c88828901612e52565b935050606086013567ffffffffffffffff8111156138bd576138bc612e04565b5b6138c9888289016130da565b925050608086013567ffffffffffffffff8111156138ea576138e9612e04565b5b6138f6888289016130da565b9150509295509295909350565b61390c81612e29565b82525050565b60006020820190506139276000830184613903565b92915050565b61393681612f8c565b811461394157600080fd5b50565b6000813590506139538161392d565b92915050565b600080604083850312156139705761396f612dff565b5b600061397e85828601612e52565b925050602061398f85828601613944565b9150509250929050565b600080600080608085870312156139b3576139b2612dff565b5b60006139c187828801612e88565b945050602085013567ffffffffffffffff8111156139e2576139e1612e04565b5b6139ee878288016130da565b935050604085013567ffffffffffffffff811115613a0f57613a0e612e04565b5b613a1b878288016130da565b925050606085013567ffffffffffffffff811115613a3c57613a3b612e04565b5b613a48878288016130da565b91505092959194509250565b60008060408385031215613a6b57613a6a612dff565b5b6000613a7985828601612e52565b9250506020613a8a85828601612e52565b9150509250929050565b600080600080600060a08688031215613ab057613aaf612dff565b5b6000613abe88828901612e52565b9550506020613acf88828901612e52565b9450506040613ae088828901612e88565b9350506060613af188828901612e88565b925050608086013567ffffffffffffffff811115613b1257613b11612e04565b5b613b1e88828901613390565b9150509295509295909350565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000613b87602a83613189565b9150613b9282613b2b565b604082019050919050565b60006020820190508181036000830152613bb681613b7a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613c0457607f821691505b60208210811415613c1857613c17613bbd565b5b50919050565b600081905092915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000613c5f601d83613c1e565b9150613c6a82613c29565b601d82019050919050565b6000613c808261317e565b613c8a8185613c1e565b9350613c9a81856020860161319a565b80840191505092915050565b6000613cb182613c52565b9150613cbd8284613c75565b915081905092915050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613d24602983613189565b9150613d2f82613cc8565b604082019050919050565b60006020820190508181036000830152613d5381613d17565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613dc382612e67565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613df657613df5613d89565b5b600182019050919050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b6000613e5d602f83613189565b9150613e6882613e01565b604082019050919050565b60006020820190508181036000830152613e8c81613e50565b9050919050565b7f4e65636b6c616365206f66204672656e736869703a2000000000000000000000600082015250565b6000613ec9601683613c1e565b9150613ed482613e93565b601682019050919050565b7f2026200000000000000000000000000000000000000000000000000000000000600082015250565b6000613f15600383613c1e565b9150613f2082613edf565b600382019050919050565b6000613f3682613ebc565b9150613f428285613c75565b9150613f4d82613f08565b9150613f598284613c75565b91508190509392505050565b7f546865204e65636b6c616365206f66206672656e73686970206973206120707260008201527f6574747920636f6d6d6f6e20617274696661637420696e204a65726963686f2e60208201527f2046616d696c69657320616e64206672656e732068617665206265656e20657860408201527f6368616e67696e67204e65636b6c61636573206f66206672656e73686970206660608201527f6f722063656e74757269657320617320612070726179657220666f722065746560808201527f726e616c206672656e736869702e205468652074776f206672656e2077616c6c60a08201527f6574732061726520656e67726176656420696e20746865204e65636b6c61636560c08201527f206f66206672656e736869702e20596f752063616e27742066616b6520636f6e60e08201527f6e656374696f6e7320696e204a65726963686f2e2041206672656e20697320616101008201527f206672656e2e2054686973204e65636b6c6163652070726f76657320746861746101208201527f200000000000000000000000000000000000000000000000000000000000000061014082015250565b600061411b61014183613c1e565b915061412682613f65565b61014182019050919050565b7f206973206672656e20776974682077616c6c6574200000000000000000000000600082015250565b6000614168601583613c1e565b915061417382614132565b601582019050919050565b60006141898261410d565b91506141958285613c75565b91506141a08261415b565b91506141ac8284613c75565b91508190509392505050565b7f7b226e616d65223a202200000000000000000000000000000000000000000000600082015250565b60006141ee600a83613c1e565b91506141f9826141b8565b600a82019050919050565b60008190508160005260206000209050919050565b6000815461422681613bec565b6142308186613c1e565b9450600182166000811461424b576001811461425c5761428f565b60ff1983168652818601935061428f565b61426585614204565b60005b8381101561428757815481890152600182019150602081019050614268565b838801955050505b50505092915050565b7f222c000000000000000000000000000000000000000000000000000000000000600082015250565b60006142ce600283613c1e565b91506142d982614298565b600282019050919050565b7f22696d616765223a202200000000000000000000000000000000000000000000600082015250565b600061431a600a83613c1e565b9150614325826142e4565b600a82019050919050565b7f226465736372697074696f6e223a202200000000000000000000000000000000600082015250565b6000614366601083613c1e565b915061437182614330565b601082019050919050565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b60006143b2600283613c1e565b91506143bd8261437c565b600282019050919050565b60006143d3826141e1565b91506143df8286614219565b91506143ea826142c1565b91506143f58261430d565b91506144018285614219565b915061440c826142c1565b915061441782614359565b91506144238284614219565b915061442e826143a5565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614497602683613189565b91506144a28261443b565b604082019050919050565b600060208201905081810360008301526144c68161448a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614503602083613189565b915061450e826144cd565b602082019050919050565b60006020820190508181036000830152614532816144f6565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000614595602383613189565b91506145a082614539565b604082019050919050565b600060208201905081810360008301526145c481614588565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000614627602483613189565b9150614632826145cb565b604082019050919050565b600060208201905081810360008301526146568161461a565b9050919050565b60006040820190506146726000830185612edd565b61467f6020830184612edd565b9392505050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006146e2602883613189565b91506146ed82614686565b604082019050919050565b60006020820190508181036000830152614711816146d5565b9050919050565b600060408201905081810360008301526147328185613745565b905081810360208301526147468184613745565b90509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006147ab602183613189565b91506147b68261474f565b604082019050919050565b600060208201905081810360008301526147da8161479e565b9050919050565b60006147ec82612e67565b91506147f783612e67565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561482c5761482b613d89565b5b828201905092915050565b600061484282612e67565b915061484d83612e67565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561488657614885613d89565b5b828202905092915050565b600061489c82612e67565b915060008214156148b0576148af613d89565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006148f1602083613189565b91506148fc826148bb565b602082019050919050565b60006020820190508181036000830152614920816148e4565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614983602983613189565b915061498e82614927565b604082019050919050565b600060208201905081810360008301526149b281614976565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006149f382612e67565b91506149fe83612e67565b925082614a0e57614a0d6149b9565b5b828204905092915050565b600081519050919050565b600082825260208201905092915050565b6000614a4082614a19565b614a4a8185614a24565b9350614a5a81856020860161319a565b614a6381612fcc565b840191505092915050565b600060a082019050614a836000830188613903565b614a906020830187613903565b614a9d6040830186612edd565b614aaa6060830185612edd565b8181036080830152614abc8184614a35565b90509695505050505050565b600081519050614ad781612f33565b92915050565b600060208284031215614af357614af2612dff565b5b6000614b0184828501614ac8565b91505092915050565b60008160e01c9050919050565b600060033d1115614b365760046000803e614b33600051614b0a565b90505b90565b600060443d1015614b4957614bcc565b614b51612df5565b60043d036004823e80513d602482011167ffffffffffffffff82111715614b79575050614bcc565b808201805167ffffffffffffffff811115614b975750505050614bcc565b80602083010160043d038501811115614bb4575050505050614bcc565b614bc38260200185018661300c565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614c2b603483613189565b9150614c3682614bcf565b604082019050919050565b60006020820190508181036000830152614c5a81614c1e565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614cbd602883613189565b9150614cc882614c61565b604082019050919050565b60006020820190508181036000830152614cec81614cb0565b905091905056fe68747470733a2f2f697066732e696f2f697066732f6261666b726569613636746574756973767477666a33793734787635363735676d6f657462686133737571696f366b6e716a657870716e696c767168747470733a2f2f697066732e696f2f697066732f6261666b7265696279686774666c7a7a66796b7a3774666e7662786f7565616a6334796574336d6765346b706435707a6379326b376969787661344142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220ed8f28a3b244635f79f0760b8c2f0ae72a643aa1d908473a1b4a98dae5992b6964736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000086c80a8aa58e0a4fa09a69624c31ab2a6cad56b800000000000000000000000000000000000000000000000000000000000000114a65726963686f2041727469666163747300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034a43480000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Jericho Artifacts
Arg [1] : _symbol (string): JCH
Arg [2] : _trustedForwarder (address): 0x86C80a8aa58e0A4fa09A69624c31Ab2a6CAD56b8
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000086c80a8aa58e0a4fa09a69624c31ab2a6cad56b8
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [4] : 4a65726963686f20417274696661637473000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 4a43480000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 29 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.