- Contract name:
- Linklist
- Optimization enabled
- true
- Compiler version
- v0.8.18+commit.87f61d96
- Optimization runs
- 200
- Verified at
- 2023-08-25T01:29:53.216951Z
contracts/Linklist.sol
// SPDX-License-Identifier: MIT// slither-disable-start unused-returnpragma solidity 0.8.18;import {ILinklist} from "./interfaces/ILinklist.sol";import {LinklistBase} from "./base/LinklistBase.sol";import {ERC721} from "./base/ERC721.sol";import {Events} from "./libraries/Events.sol";import {DataTypes} from "./libraries/DataTypes.sol";import {ErrCallerNotWeb3Entry,ErrCallerNotWeb3EntryOrNotOwner,ErrTokenNotExists} from "./libraries/Error.sol";import {LinklistStorage} from "./storage/LinklistStorage.sol";import {LinklistExtendStorage} from "./storage/LinklistExtendStorage.sol";import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol";import {IERC721Enumerable} from "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";import {EnumerableSet} from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";import {Initializable} from "@openzeppelin/contracts/proxy/utils/Initializable.sol";contract Linklist isILinklist,LinklistBase,LinklistStorage,Initializable,LinklistExtendStorage{using EnumerableSet for EnumerableSet.UintSet;using EnumerableSet for EnumerableSet.Bytes32Set;using EnumerableSet for EnumerableSet.AddressSet;event Transfer(address indexed from, uint256 indexed characterId, uint256 indexed tokenId);event Burn(uint256 indexed from, uint256 indexed tokenId);event UriSet(uint256 indexed tokenId, string uri);event LinkTypeSet(uint256 indexed tokenId, bytes32 indexed newlinkType);modifier onlyWeb3Entry() {if (msg.sender != Web3Entry) revert ErrCallerNotWeb3Entry();
@openzeppelin/contracts/interfaces/IERC165.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)pragma solidity ^0.8.0;import "../utils/introspection/IERC165.sol";
@openzeppelin/contracts/proxy/utils/Initializable.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/Initializable.sol)pragma solidity ^0.8.2;import "../../utils/Address.sol";/*** @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed* behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an* external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer* function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.** The initialization functions use a version number. Once a version number is used, it is consumed and cannot be* reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in* case an upgrade adds a module that needs to be initialized.** For example:** [.hljs-theme-light.nopadding]* ```solidity* contract MyToken is ERC20Upgradeable {* function initialize() initializer public {* __ERC20_init("MyToken", "MTK");* }* }** contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {* function initializeV2() reinitializer(2) public {* __ERC20Permit_init("MyToken");* }* }* ```** TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as* possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.** CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure* that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.** [CAUTION]
@openzeppelin/contracts/token/ERC721/IERC721.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol)pragma solidity ^0.8.0;import "../../utils/introspection/IERC165.sol";/*** @dev Required interface of an ERC721 compliant contract.*/interface IERC721 is IERC165 {/*** @dev Emitted when `tokenId` token is transferred from `from` to `to`.*/event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);/*** @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.*/event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);/*** @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.*/event ApprovalForAll(address indexed owner, address indexed operator, bool approved);/*** @dev Returns the number of tokens in ``owner``'s account.*/function balanceOf(address owner) external view returns (uint256 balance);/*** @dev Returns the owner of the `tokenId` token.** Requirements:** - `tokenId` must exist.*/function ownerOf(uint256 tokenId) external view returns (address owner);/**
@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)pragma solidity ^0.8.0;/*** @title ERC721 token receiver interface* @dev Interface for any contract that wants to support safeTransfers* from ERC721 asset contracts.*/interface IERC721Receiver {/*** @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}* by `operator` from `from`, this function is called.** It must return its Solidity selector to confirm the token transfer.* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.** The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.*/function onERC721Received(address operator,address from,uint256 tokenId,bytes calldata data) external returns (bytes4);}
@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)pragma solidity ^0.8.0;import "../IERC721.sol";/*** @title ERC-721 Non-Fungible Token Standard, optional enumeration extension* @dev See https://eips.ethereum.org/EIPS/eip-721*/interface IERC721Enumerable is IERC721 {/*** @dev Returns the total amount of tokens stored by the contract.*/function totalSupply() external view returns (uint256);/*** @dev Returns a token ID owned by `owner` at a given `index` of its token list.* Use along with {balanceOf} to enumerate all of ``owner``'s tokens.*/function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);/*** @dev Returns a token ID at a given `index` of all the tokens stored by the contract.* Use along with {totalSupply} to enumerate all tokens.*/function tokenByIndex(uint256 index) external view returns (uint256);}
@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)pragma solidity ^0.8.0;import "../IERC721.sol";/*** @title ERC-721 Non-Fungible Token Standard, optional metadata extension* @dev See https://eips.ethereum.org/EIPS/eip-721*/interface IERC721Metadata is IERC721 {/*** @dev Returns the token collection name.*/function name() external view returns (string memory);/*** @dev Returns the token collection symbol.*/function symbol() external view returns (string memory);/*** @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.*/function tokenURI(uint256 tokenId) external view returns (string memory);}
@openzeppelin/contracts/utils/Address.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.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** Furthermore, `isContract` will also return true if the target contract within* the same transaction is already scheduled for destruction by `SELFDESTRUCT`,* which only has an effect at the end of a transaction.* ====** [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
@openzeppelin/contracts/utils/Context.sol
// 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;}}
@openzeppelin/contracts/utils/Strings.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)pragma solidity ^0.8.0;import "./math/Math.sol";import "./math/SignedMath.sol";/*** @dev String operations.*/library Strings {bytes16 private constant _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) {unchecked {uint256 length = Math.log10(value) + 1;string memory buffer = new string(length);uint256 ptr;/// @solidity memory-safe-assemblyassembly {ptr := add(buffer, add(32, length))}while (true) {ptr--;/// @solidity memory-safe-assemblyassembly {mstore8(ptr, byte(mod(value, 10), _SYMBOLS))}value /= 10;if (value == 0) break;}return buffer;}}/**
@openzeppelin/contracts/utils/introspection/ERC165.sol
// 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;}}
@openzeppelin/contracts/utils/introspection/IERC165.sol
// 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);}
@openzeppelin/contracts/utils/math/Math.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)pragma solidity ^0.8.0;/*** @dev Standard math utilities missing in the Solidity language.*/library Math {enum Rounding {Down, // Toward negative infinityUp, // Toward infinityZero // Toward zero}/*** @dev Returns the largest of two numbers.*/function max(uint256 a, uint256 b) internal pure returns (uint256) {return a > b ? a : b;}/*** @dev Returns the smallest of two numbers.*/function min(uint256 a, uint256 b) internal pure returns (uint256) {return a < b ? a : b;}/*** @dev Returns the average of two numbers. The result is rounded towards* zero.*/function average(uint256 a, uint256 b) internal pure returns (uint256) {// (a + b) / 2 can overflow.return (a & b) + (a ^ b) / 2;}/*** @dev Returns the ceiling of the division of two numbers.*
@openzeppelin/contracts/utils/math/SignedMath.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)pragma solidity ^0.8.0;/*** @dev Standard signed math utilities missing in the Solidity language.*/library SignedMath {/*** @dev Returns the largest of two signed numbers.*/function max(int256 a, int256 b) internal pure returns (int256) {return a > b ? a : b;}/*** @dev Returns the smallest of two signed numbers.*/function min(int256 a, int256 b) internal pure returns (int256) {return a < b ? a : b;}/*** @dev Returns the average of two signed numbers without overflow.* The result is rounded towards zero.*/function average(int256 a, int256 b) internal pure returns (int256) {// Formula from the book "Hacker's Delight"int256 x = (a & b) + ((a ^ b) >> 1);return x + (int256(uint256(x) >> 255) & (a ^ b));}/*** @dev Returns the absolute unsigned value of a signed value.*/function abs(int256 n) internal pure returns (uint256) {unchecked {// must be unchecked in order to support `n = type(int256).min`return uint256(n >= 0 ? n : -n);}
@openzeppelin/contracts/utils/structs/EnumerableSet.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (utils/structs/EnumerableSet.sol)// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.pragma solidity ^0.8.0;/*** @dev Library for managing* https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive* types.** Sets have the following properties:** - Elements are added, removed, and checked for existence in constant time* (O(1)).* - Elements are enumerated in O(n). No guarantees are made on the ordering.** ```solidity* contract Example {* // Add the library methods* using EnumerableSet for EnumerableSet.AddressSet;** // Declare a set state variable* EnumerableSet.AddressSet private mySet;* }* ```** As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)* and `uint256` (`UintSet`) are supported.** [WARNING]* ====* Trying to delete such a structure from storage will likely result in data corruption, rendering the structure* unusable.* See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.** In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an* array of EnumerableSet.* ====*/library EnumerableSet {
contracts/base/ERC721.sol
// SPDX-License-Identifier: MIT// solhint-disable orderingpragma solidity 0.8.18;import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol";import {IERC721Receiver} from "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";import {IERC721Metadata} from "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";import {Address} from "@openzeppelin/contracts/utils/Address.sol";import {Context} from "@openzeppelin/contracts/utils/Context.sol";import {Strings} from "@openzeppelin/contracts/utils/Strings.sol";import {ERC165} from "@openzeppelin/contracts/utils/introspection/ERC165.sol";import {IERC165} from "@openzeppelin/contracts/interfaces/IERC165.sol";/*** @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including* the Metadata extension, but not including the Enumerable extension, which is available separately as* {ERC721Enumerable}.*/contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {using Address for address;using Strings for uint256;// Token namestring private _name;// Token symbolstring private _symbol;// Mapping from token ID to owner addressmapping(uint256 => address) private _owners;// Mapping owner address to token countmapping(address => uint256) private _balances;// Mapping from token ID to approved addressmapping(uint256 => address) private _tokenApprovals;// Mapping from owner to operator approvalsmapping(address => mapping(address => bool)) private _operatorApprovals;// slither-disable-start naming-convention
contracts/base/LinklistBase.sol
// SPDX-License-Identifier: MITpragma solidity 0.8.18;import {ERC721} from "./ERC721.sol";import {Events} from "../libraries/Events.sol";abstract contract LinklistBase is ERC721 {/*** @dev For compatibility with previous ERC721Enumerable, we need to keep the unused slots for upgradeability.*/mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // unused slot 6mapping(uint256 => uint256) private _ownedTokensIndex; // unused slot 7uint256[] private _allTokens; // unused slot 8mapping(uint256 => uint256) private _allTokensIndex; // unused slot 9function _initialize(string calldata name, string calldata symbol) internal {ERC721.__ERC721_Init(name, symbol);emit Events.BaseInitialized(name, symbol, block.timestamp);}}
contracts/interfaces/ILinklist.sol
// SPDX-License-Identifier: MITpragma solidity 0.8.18;import {DataTypes} from "../libraries/DataTypes.sol";interface ILinklist {/*** @notice Initializes the contract.* @param name_ The name of the token.* @param symbol_ The symbol of the token.* @param web3Entry_ The address of the Web3Entry contract.*/function initialize(string calldata name_,string calldata symbol_,address web3Entry_) external;/*** @notice Mints a Linklist NFT to the specified character with linkType.* This can only be called by web3Entry.* @param characterId The character ID to mint to.* @param linkType The type of link.* @return tokenId The minted token ID.*/function mint(uint256 characterId, bytes32 linkType) external returns (uint256 tokenId);/*** @notice Burns a Linklist NFT.* @dev Only web3Entry can burn the Linklist NFT.* @param tokenId The token ID to burn.*/function burn(uint256 tokenId) external;/*** @notice Sets URI for a linklist.* @dev You can set any URI for your linklist, and the functionality of this URI* is undetermined and expandable. One scenario that comes to mind is setting a cover for your liked notes* or following list in your bookmarks.* @param tokenId The token ID to set URI.* @param uri The new URI to set.
contracts/libraries/DataTypes.sol
// SPDX-License-Identifier: MIT// solhint-disable contract-name-camelcasepragma solidity 0.8.18;import {EnumerableSet} from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";/*** @title DataTypes* @notice A standard library of data types.*/library DataTypes {struct MigrateData {address account;string handle;string uri;address[] toAddresses;bytes32 linkType;}struct CreateCharacterData {address to;string handle;string uri;address linkModule;bytes linkModuleInitData;}struct createThenLinkCharacterData {uint256 fromCharacterId;address to;bytes32 linkType;}struct linkNoteData {uint256 fromCharacterId;uint256 toCharacterId;uint256 toNoteId;bytes32 linkType;bytes data;}
contracts/libraries/Error.sol
// SPDX-License-Identifier: MITpragma solidity 0.8.18;/// @dev Character ID not existserror ErrCharacterNotExists(uint256 characterId);/// @dev Not owner of addresserror ErrNotAddressOwner();/// @dev Caller is not the owner of charactererror ErrNotCharacterOwner();/// @dev Note has been lockederror ErrNoteLocked();/// @dev Handle does not existerror ErrHandleExists();/// @dev Social token address does not existerror ErrSocialTokenExists();/// @dev Handle length too long or too shorterror ErrHandleLengthInvalid();/// @dev Handle contains invalid characterserror ErrHandleContainsInvalidCharacters();/// @dev Operator has not enough permission for this charactererror ErrNotEnoughPermission();/// @dev Operator has not enough permissions for this noteerror ErrNotEnoughPermissionForThisNote();/// @dev Target address already has primary charactererror ErrTargetAlreadyHasPrimaryCharacter();/// @dev Note has been deletederror ErrNoteIsDeleted();/// @dev Note does not exist
contracts/libraries/Events.sol
// SPDX-License-Identifier: MITpragma solidity 0.8.18;library Events {event BaseInitialized(string name, string symbol, uint256 timestamp);event Web3EntryInitialized(uint256 timestamp);event LinklistNFTInitialized(uint256 timestamp);event MintNFTInitialized(uint256 characterId, uint256 noteId, uint256 timestamp);event CharacterCreated(uint256 indexed characterId,address indexed creator,address indexed to,string handle,uint256 timestamp);event SetPrimaryCharacterId(address indexed account,uint256 indexed characterId,uint256 indexed oldCharacterId);event SetHandle(address indexed account, uint256 indexed characterId, string newHandle);event SetSocialToken(address indexed account,uint256 indexed characterId,address indexed tokenAddress);event GrantOperatorPermissions(uint256 indexed characterId,address indexed operator,uint256 permissionBitMap);
contracts/storage/LinklistExtendStorage.sol
// SPDX-License-Identifier: MIT// slither-disable-start naming-conventionpragma solidity 0.8.18;contract LinklistExtendStorage {uint256 internal _tokenCount;mapping(uint256 tokenId => uint256 characterId) internal _linklistOwners;mapping(uint256 characterId => uint256 balances) internal _linklistBalances;uint256 internal _totalSupply;}// slither-disable-end naming-convention
contracts/storage/LinklistStorage.sol
// SPDX-License-Identifier: MIT// solhint-disable max-states-count// slither-disable-start naming-conventionpragma solidity 0.8.18;import {DataTypes} from "../libraries/DataTypes.sol";import {EnumerableSet} from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";contract LinklistStorage {using EnumerableSet for EnumerableSet.UintSet;using EnumerableSet for EnumerableSet.Bytes32Set;using EnumerableSet for EnumerableSet.AddressSet;// solhint-disable var-name-mixedcaseaddress public Web3Entry; // slot 10// tokenId => linkTypemapping(uint256 => bytes32) internal _linkTypes;// tokenId => characterIdsmapping(uint256 => EnumerableSet.UintSet) internal _linkingCharacters;// tokenId => external addressesmapping(uint256 => EnumerableSet.AddressSet) internal _linkingAddresses;// tokenId => LinklistIdmapping(uint256 => EnumerableSet.UintSet) internal _linkingLinklists;// tokenId => linkKeys// slither-disable-next-line unused-statemapping(uint256 => EnumerableSet.Bytes32Set) internal _linkKeys; // unused slot// linkKey => linking ERC721mapping(bytes32 => DataTypes.ERC721Struct) internal _linkingERC721s;// linkKey => linking Notemapping(bytes32 => DataTypes.NoteStruct) internal _linkNotes;// linkKey => linking CharacterLinkmapping(bytes32 => DataTypes.CharacterLinkStruct) internal _linkingCharacterLinks;// linkKey => linking Any stringmapping(bytes32 => string) internal _linkingAnys;// tokenId => characterId// slither-disable-next-line unused-statemapping(uint256 => uint256) internal _currentTakeOver; //unused slot
Compiler Settings
{"outputSelection":{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata"],"":["ast"]}},"optimizer":{"runs":200,"enabled":true},"libraries":{}}
Contract ABI
[{"type":"error","name":"ErrCallerNotWeb3Entry","inputs":[]},{"type":"error","name":"ErrCallerNotWeb3EntryOrNotOwner","inputs":[]},{"type":"error","name":"ErrTokenNotExists","inputs":[]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"approved","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"ApprovalForAll","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"bool","name":"approved","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"Burn","inputs":[{"type":"uint256","name":"from","internalType":"uint256","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"Initialized","inputs":[{"type":"uint8","name":"version","internalType":"uint8","indexed":false}],"anonymous":false},{"type":"event","name":"LinkTypeSet","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true},{"type":"bytes32","name":"newlinkType","internalType":"bytes32","indexed":true}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"uint256","name":"characterId","internalType":"uint256","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"UriSet","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true},{"type":"string","name":"uri","internalType":"string","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"Uri","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"Web3Entry","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"addLinkingAddress","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"address","name":"ethAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"addLinkingAnyUri","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"string","name":"toUri","internalType":"string"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"addLinkingCharacterId","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"toCharacterId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"addLinkingERC721","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"address","name":"tokenAddress","internalType":"address"},{"type":"uint256","name":"erc721TokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"addLinkingLinklistId","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"linklistId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"addLinkingNote","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"toCharacterId","internalType":"uint256"},{"type":"uint256","name":"toNoteId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"approve","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"balance","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"uint256","name":"characterId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"burn","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"characterOwnerOf","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"getApproved","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getCurrentTakeOver","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"getLinkType","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getLinkingAddressListLength","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address[]","name":"","internalType":"address[]"}],"name":"getLinkingAddresses","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getLinkingAnyListLength","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"getLinkingAnyUri","inputs":[{"type":"bytes32","name":"linkKey","internalType":"bytes32"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32[]","name":"","internalType":"bytes32[]"}],"name":"getLinkingAnyUriKeys","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string[]","name":"results","internalType":"string[]"}],"name":"getLinkingAnyUris","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256[]","name":"","internalType":"uint256[]"}],"name":"getLinkingCharacterIds","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getLinkingCharacterListLength","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple","name":"","internalType":"struct DataTypes.ERC721Struct","components":[{"type":"address","name":"tokenAddress","internalType":"address"},{"type":"uint256","name":"erc721TokenId","internalType":"uint256"}]}],"name":"getLinkingERC721","inputs":[{"type":"bytes32","name":"linkKey","internalType":"bytes32"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getLinkingERC721ListLength","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple[]","name":"results","internalType":"struct DataTypes.ERC721Struct[]","components":[{"type":"address","name":"tokenAddress","internalType":"address"},{"type":"uint256","name":"erc721TokenId","internalType":"uint256"}]}],"name":"getLinkingERC721s","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256[]","name":"","internalType":"uint256[]"}],"name":"getLinkingLinklistIds","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getLinkingLinklistLength","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple","name":"","internalType":"struct DataTypes.NoteStruct","components":[{"type":"uint256","name":"characterId","internalType":"uint256"},{"type":"uint256","name":"noteId","internalType":"uint256"}]}],"name":"getLinkingNote","inputs":[{"type":"bytes32","name":"linkKey","internalType":"bytes32"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getLinkingNoteListLength","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple[]","name":"results","internalType":"struct DataTypes.NoteStruct[]","components":[{"type":"uint256","name":"characterId","internalType":"uint256"},{"type":"uint256","name":"noteId","internalType":"uint256"}]}],"name":"getLinkingNotes","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getOwnerCharacterId","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"initialize","inputs":[{"type":"string","name":"name_","internalType":"string"},{"type":"string","name":"symbol_","internalType":"string"},{"type":"address","name":"web3Entry_","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isApprovedForAll","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"operator","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}],"name":"mint","inputs":[{"type":"uint256","name":"characterId","internalType":"uint256"},{"type":"bytes32","name":"linkType","internalType":"bytes32"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"ownerOf","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"removeLinkingAddress","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"address","name":"ethAddress","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"removeLinkingAnyUri","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"string","name":"toUri","internalType":"string"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"removeLinkingCharacterId","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"toCharacterId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"removeLinkingERC721","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"address","name":"tokenAddress","internalType":"address"},{"type":"uint256","name":"erc721TokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"removeLinkingLinklistId","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"linklistId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"removeLinkingNote","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"uint256","name":"toCharacterId","internalType":"uint256"},{"type":"uint256","name":"toNoteId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"bytes","name":"_data","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setApprovalForAll","inputs":[{"type":"address","name":"operator","internalType":"address"},{"type":"bool","name":"approved","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setLinkType","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"bytes32","name":"linkType","internalType":"bytes32"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setUri","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"string","name":"uri","internalType":"string"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"tokenURI","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]}]
Contract Creation Code
0x608060405234801561001057600080fd5b50612f2b806100206000396000f3fe608060405234801561001057600080fd5b50600436106103415760003560e01c80636352211e116101b8578063a22cb46511610104578063c87b56dd116100a2578063e985e9c51161007c578063e985e9c514610804578063ed386e6514610840578063ed6223cf14610853578063f61087f61461086657600080fd5b8063c87b56dd146107c3578063cf101ac2146106aa578063e64f2baa146107e457600080fd5b8063ba27f58d116100de578063ba27f58d14610777578063c1cd4f821461078a578063c5a5ed511461079d578063c70881c5146107b057600080fd5b8063a22cb4651461073e578063ac150a5414610751578063b88d4fde1461076457600080fd5b80637803f217116101715780639037c0f91161014b5780639037c0f9146106e357806395d89b411461070357806397ce7df61461070b5780639cc7f7081461071e57600080fd5b80637803f217146106aa578063782f08ae146106bd5780638fd6dc39146106d057600080fd5b80636352211e1461062b5780636c217e121461063e5780636d37d2741461065157806370a082311461066457806373fbe0121461067757806376bac0251461068a57600080fd5b80632ea24efc116102925780634aa7b87a116102305780635c369ec31161020a5780635c369ec3146105c55780635cb46be7146105e55780635e9f678b146105f85780635f799cc61461061857600080fd5b80634aa7b87a1461053d5780635440522b146105505780635956da73146105b257600080fd5b806342c1721f1161026c57806342c1721f146104aa57806348d1b16c146104bd578063493fa4dc146104d05780634a7906b9146104e457600080fd5b80632ea24efc1461047157806342842e0e1461048457806342966c681461049757600080fd5b8063081812fc116102ff57806318160ddd116102d957806318160ddd1461043057806321cb72271461043857806323b872dd1461044b578063288893d61461045e57600080fd5b8063081812fc146103df578063095ea7b31461040a5780631801fbe51461041d57600080fd5b8062fba0271461034657806301ffc9a71461036c5780630370a1611461038f578063040f7618146103a457806306fdde03146103b7578063077f224a146103cc575b600080fd5b6103596103543660046124df565b610879565b6040519081526020015b60405180910390f35b61037f61037a3660046124f8565b6108c1565b6040519015158152602001610363565b6103a261039d36600461253a565b610913565b005b6103a26103b2366004612572565b61098b565b6103bf610a0b565b60405161036391906125ee565b6103a26103da36600461264a565b610a9d565b6103f26103ed3660046124df565b610be6565b6040516001600160a01b039091168152602001610363565b6103a26104183660046126ce565b610c7b565b61035961042b3660046126fa565b610d90565b601e54610359565b6103a26104463660046126fa565b610e58565b6103a261045936600461271c565b610e9b565b6103a261046c3660046126fa565b610ec1565b61035961047f36600461253a565b610f04565b6103a261049236600461271c565b610fd2565b6103a26104a53660046124df565b610fed565b6103a26104b83660046127d8565b6110b2565b6103596104cb3660046124df565b611127565b6103596104de3660046124df565b50600090565b6105306104f23660046124df565b604080518082019091526000808252602082015250600090815260116020908152604091829020825180840190935280548352600101549082015290565b6040516103639190612833565b61035961054b3660046124df565b611175565b6105a561055e3660046124df565b604080518082019091526000808252602082015250600090815260106020908152604091829020825180840190935280546001600160a01b03168352600101549082015290565b604051610363919061284a565b6103a26105c036600461286a565b6111bc565b6105d86105d33660046124df565b6111ff565b604051610363919061289a565b6103596105f3366004612572565b611249565b61060b6106063660046124df565b611309565b60405161036391906128e7565b6103bf6106263660046124df565b61144c565b6103f26106393660046124df565b6114ee565b61035961064c3660046127d8565b6115a4565b61035961065f3660046124df565b61163f565b61035961067236600461293e565b611686565b6103a26106853660046126fa565b6117b4565b61069d6106983660046124df565b61184e565b604051610363919061295b565b6103596106b83660046124df565b611898565b6103a26106cb3660046127d8565b6118dc565b6103596106de3660046124df565b6119b4565b6106f66106f13660046124df565b6119fb565b6040516103639190612993565b6103bf611b3a565b6103596107193660046124df565b611b49565b61035961072c3660046124df565b6000908152601d602052604090205490565b6103a261074c3660046129e6565b611b90565b6103bf61075f3660046124df565b611b9f565b6103a2610772366004612a19565b611c71565b61069d6107853660046124df565b611c9c565b6103a26107983660046126fa565b611ce6565b600a546103f2906001600160a01b031681565b6103a26107be3660046126fa565b611d29565b6103bf6107d13660046124df565b5060408051602081019091526000815290565b6107f76107f23660046124df565b611d6c565b6040516103639190612a99565b61037f610812366004612afb565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6103a261084e36600461286a565b611eff565b61069d6108613660046124df565b611f42565b6103596108743660046124df565b611f8c565b6000818152601c6020526040812054829082036108a9576040516366012df560e11b815260040160405180910390fd5b6000838152600b602052604090205491505b50919050565b60006001600160e01b031982166380ac58cd60e01b14806108f257506001600160e01b03198216635b5e139f60e01b145b8061090d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600a546001600160a01b0316331461093e576040516302b6341b60e41b815260040160405180910390fd5b60008282604051602001610953929190612b29565b60408051601f1981840301815291815281516020928301206000878152601690935291209091506109849082611fd3565b5050505050565b600a546001600160a01b031633146109b6576040516302b6341b60e41b815260040160405180910390fd5b604051634e6f746560e01b6020820152602481018390526044810182905260009060640160408051601f1981840301815291815281516020928301206000878152601790935291209091506109849082611fd3565b606060008054610a1a90612b5a565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4690612b5a565b8015610a935780601f10610a6857610100808354040283529160200191610a93565b820191906000526020600020905b815481529060010190602001808311610a7657829003601f168201915b5050505050905090565b601a54600290610100900460ff16158015610abf5750601a5460ff8083169116105b610b275760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b601a805461ffff191660ff831617610100179055600a80546001600160a01b0384166001600160a01b0319909116179055601b54601e55610b6a86868686611fdf565b6040514281527fcfdec2ffedf2f5ec02de6f351c5f9b6150601f657926e9e87b16390d562af4e79060200160405180910390a1601a805461ff001916905560405160ff821681527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050505050565b6000818152600260205260408120546001600160a01b0316610c5f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b1e565b506000908152600460205260409020546001600160a01b031690565b6000610c8682612030565b9050806001600160a01b0316836001600160a01b031603610cf35760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610b1e565b336001600160a01b0382161480610d0f5750610d0f8133610812565b610d815760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b1e565b610d8b83836120a7565b505050565b600a546000906001600160a01b03163314610dbe576040516302b6341b60e41b815260040160405180910390fd5b601b60008154610dcd90612ba4565b91829055506000818152600b60209081526040808320869055601c8252808320879055868352601d9091528120805492935090610e0983612ba4565b9091555050601e8054906000610e1e83612ba4565b9091555050604051819084906000907f7fa9aafeb8bb803d77de5d84bc2f2edbd842ca91b20cd5020aa21dfe26ab0be9908290a492915050565b600a546001600160a01b03163314610e83576040516302b6341b60e41b815260040160405180910390fd5b6000828152600c60205260409020610d8b9082611fd3565b610ea53382612115565b610d8b5760405162461bcd60e51b8152600401610b1e90612bbd565b600a546001600160a01b03163314610eec576040516302b6341b60e41b815260040160405180910390fd5b6000828152600c60205260409020610d8b908261220c565b600a546000906001600160a01b03163314610f32576040516302b6341b60e41b815260040160405180910390fd5b60008383604051602001610f47929190612b29565b60405160208183030381529060405280519060200120905084600014610f81576000858152601660205260409020610f7f908261220c565b505b6040805180820182526001600160a01b0380871682526020808301878152600086815260109092529390209151825491166001600160a01b0319909116178155905160019091015590509392505050565b610d8b83838360405180602001604052806000815250611c71565b600a546001600160a01b03163314611018576040516302b6341b60e41b815260040160405180910390fd5b6000818152601c602052604081205490819003611048576040516366012df560e11b815260040160405180910390fd5b6000818152601d602090815260408083208054600019908101909155601e80549091019055848352600b8252808320839055601c90915280822082905551839183917f410c5c259085cde81fedf70c1aa308ec839373c26e9b7ada6560a2aca0254eb69190a35050565b600a546001600160a01b031633146110dd576040516302b6341b60e41b815260040160405180910390fd5b6000816040516020016110f09190612c0e565b60408051601f1981840301815291815281516020928301206000868152601990935291209091506111219082611fd3565b50505050565b6000818152601c602052604081205482908203611157576040516366012df560e11b815260040160405180910390fd5b6000838152600c6020526040902061116e90612218565b9392505050565b6000818152601c6020526040812054829082036111a5576040516366012df560e11b815260040160405180910390fd5b600083815260196020526040902061116e90612218565b600a546001600160a01b031633146111e7576040516302b6341b60e41b815260040160405180910390fd5b6000828152600d60205260409020610d8b9082612222565b6000818152601c602052604081205460609183919003611232576040516366012df560e11b815260040160405180910390fd5b6000838152600d6020526040902061116e90612237565b600a546000906001600160a01b03163314611277576040516302b6341b60e41b815260040160405180910390fd5b604051634e6f746560e01b60208201526024810184905260448101839052600090606401604051602081830303815290604052805190602001209050846000146112d55760008581526017602052604090206112d3908261220c565b505b6040805180820182529485526020808601948552600083815260119091522093518455915160019093019290925592915050565b6000818152601c60205260408120546060918391900361133c576040516366012df560e11b815260040160405180910390fd5b600083815260176020526040812061135390612237565b9050805167ffffffffffffffff81111561136f5761136f61274c565b6040519080825280602002602001820160405280156113b457816020015b604080518082019091526000808252602082015281526020019060019003908161138d5790505b50925060005b81518110156114445760008282815181106113d7576113d7612c3c565b60200260200101519050601160008281526020019081526020016000206040518060400160405290816000820154815260200160018201548152505085838151811061142557611425612c3c565b602002602001018190525050808061143c90612ba4565b9150506113ba565b505050919050565b600081815260136020526040902080546060919061146990612b5a565b80601f016020809104026020016040519081016040528092919081815260200182805461149590612b5a565b80156114e25780601f106114b7576101008083540402835291602001916114e2565b820191906000526020600020905b8154815290600101906020018083116114c557829003601f168201915b50505050509050919050565b6000818152601c60205260408120548290820361151e576040516366012df560e11b815260040160405180910390fd5b6000838152601c602052604080822054600a5491516331a9108f60e11b8152600481018290529092916001600160a01b031690636352211e90602401602060405180830381865afa158015611577573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159b9190612c52565b95945050505050565b600a546000906001600160a01b031633146115d2576040516302b6341b60e41b815260040160405180910390fd5b6000826040516020016115e59190612c0e565b6040516020818303038152906040528051906020012090508360001461161f57600084815260196020526040902061161d908261220c565b505b60008181526013602052604090206116378482612cbd565b509392505050565b6000818152601c60205260408120548290820361166f576040516366012df560e11b815260040160405180910390fd5b600083815260166020526040902061116e90612218565b600a546040516370a0823160e01b81526001600160a01b03838116600483015260009283929116906370a0823190602401602060405180830381865afa1580156116d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116f89190612d7d565b905060005b818110156117ad57600a54604051632f745c5960e01b81526001600160a01b038681166004830152602482018490526000921690632f745c5990604401602060405180830381865afa158015611757573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061177b9190612d7d565b6000818152601d60205260409020549091506117979085612d96565b93505080806117a590612ba4565b9150506116fd565b5050919050565b600a546001600160a01b031633146117df576040516302b6341b60e41b815260040160405180910390fd5b6000828152601c602052604081205483910361180e576040516366012df560e11b815260040160405180910390fd5b6000838152600b602052604080822084905551839185917ff0aea9f7b630d17e54614f5667704230d832f3c25c0ebbbd2cd7b52914ce11aa9190a3505050565b6000818152601c602052604081205460609183919003611881576040516366012df560e11b815260040160405180910390fd5b600083815260196020526040902061116e90612237565b6000818152601c6020526040812054829082036118c8576040516366012df560e11b815260040160405180910390fd5b50506000908152601c602052604090205490565b6000828152601c602052604081205483910361190b576040516366012df560e11b815260040160405180910390fd5b600a546001600160a01b03163314801590611940575061192a836114ee565b6001600160a01b0316336001600160a01b031614155b1561195e57604051631a64ce6560e11b815260040160405180910390fd5b60008381526015602052604090206119768382612cbd565b50827f6d10c59cedadc720a2e20f54f0a461ef82bd35f762430e32ef049dd6d7fc2730836040516119a791906125ee565b60405180910390a2505050565b6000818152601c6020526040812054829082036119e4576040516366012df560e11b815260040160405180910390fd5b6000838152600e6020526040902061116e90612218565b6000818152601c602052604081205460609183919003611a2e576040516366012df560e11b815260040160405180910390fd5b6000838152601660205260408120611a4590612237565b9050805167ffffffffffffffff811115611a6157611a6161274c565b604051908082528060200260200182016040528015611aa657816020015b6040805180820190915260008082526020820152815260200190600190039081611a7f5790505b50925060005b8151811015611444576000828281518110611ac957611ac9612c3c565b602090810291909101810151600081815260108352604090819020815180830190925280546001600160a01b0316825260010154928101929092528651909250869084908110611b1b57611b1b612c3c565b6020026020010181905250508080611b3290612ba4565b915050611aac565b606060018054610a1a90612b5a565b6000818152601c602052604081205482908203611b79576040516366012df560e11b815260040160405180910390fd5b6000838152600d6020526040902061116e90612218565b611b9b338383612244565b5050565b6000818152601c602052604081205460609183919003611bd2576040516366012df560e11b815260040160405180910390fd5b60008381526015602052604090208054611beb90612b5a565b80601f0160208091040260200160405190810160405280929190818152602001828054611c1790612b5a565b8015611c645780601f10611c3957610100808354040283529160200191611c64565b820191906000526020600020905b815481529060010190602001808311611c4757829003601f168201915b5050505050915050919050565b611c7b3383612115565b611c975760405162461bcd60e51b8152600401610b1e90612bbd565b611121565b6000818152601c602052604081205460609183919003611ccf576040516366012df560e11b815260040160405180910390fd5b6000838152600c6020526040902061116e90612237565b600a546001600160a01b03163314611d11576040516302b6341b60e41b815260040160405180910390fd5b6000828152600e60205260409020610d8b908261220c565b600a546001600160a01b03163314611d54576040516302b6341b60e41b815260040160405180910390fd5b6000828152600e60205260409020610d8b9082611fd3565b6000818152601c602052604081205460609183919003611d9f576040516366012df560e11b815260040160405180910390fd5b6000838152601960205260408120611db690612237565b9050805167ffffffffffffffff811115611dd257611dd261274c565b604051908082528060200260200182016040528015611e0557816020015b6060815260200190600190039081611df05790505b50925060005b8151811015611444576000828281518110611e2857611e28612c3c565b60200260200101519050601360008281526020019081526020016000208054611e5090612b5a565b80601f0160208091040260200160405190810160405280929190818152602001828054611e7c90612b5a565b8015611ec95780601f10611e9e57610100808354040283529160200191611ec9565b820191906000526020600020905b815481529060010190602001808311611eac57829003601f168201915b5050505050858381518110611ee057611ee0612c3c565b6020026020010181905250508080611ef790612ba4565b915050611e0b565b600a546001600160a01b03163314611f2a576040516302b6341b60e41b815260040160405180910390fd5b6000828152600d60205260409020610d8b9082612312565b6000818152601c602052604081205460609183919003611f75576040516366012df560e11b815260040160405180910390fd5b6000838152600e6020526040902061116e90612237565b6000818152601c602052604081205482908203611fbc576040516366012df560e11b815260040160405180910390fd5b600083815260176020526040902061116e90612218565b600061116e8383612327565b611feb8484848461241a565b7f414cd0b34676984f09a5f76ce9718d4062e50283abe0e7e274a9a5b4e0c99c308484848442604051612022959493929190612dd2565b60405180910390a150505050565b6000818152600260205260408120546001600160a01b03168061090d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610b1e565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906120dc82612030565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661218e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b1e565b600061219983612030565b9050806001600160a01b0316846001600160a01b031614806121d45750836001600160a01b03166121c984610be6565b6001600160a01b0316145b8061220457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b600061116e8383612435565b600061090d825490565b600061116e836001600160a01b038416612327565b6060600061116e83612484565b816001600160a01b0316836001600160a01b0316036122a55760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b1e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b600061116e836001600160a01b038416612435565b6000818152600183016020526040812054801561241057600061234b600183612e0c565b855490915060009061235f90600190612e0c565b90508181146123c457600086600001828154811061237f5761237f612c3c565b90600052602060002001549050808760000184815481106123a2576123a2612c3c565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806123d5576123d5612e1f565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061090d565b600091505061090d565b6000612427848683612e35565b506001610984828483612e35565b600081815260018301602052604081205461247c5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561090d565b50600061090d565b6060816000018054806020026020016040519081016040528092919081815260200182805480156114e257602002820191906000526020600020905b8154815260200190600101908083116124c05750505050509050919050565b6000602082840312156124f157600080fd5b5035919050565b60006020828403121561250a57600080fd5b81356001600160e01b03198116811461116e57600080fd5b6001600160a01b038116811461253757600080fd5b50565b60008060006060848603121561254f57600080fd5b83359250602084013561256181612522565b929592945050506040919091013590565b60008060006060848603121561258757600080fd5b505081359360208301359350604090920135919050565b60005b838110156125b95781810151838201526020016125a1565b50506000910152565b600081518084526125da81602086016020860161259e565b601f01601f19169290920160200192915050565b60208152600061116e60208301846125c2565b60008083601f84011261261357600080fd5b50813567ffffffffffffffff81111561262b57600080fd5b60208301915083602082850101111561264357600080fd5b9250929050565b60008060008060006060868803121561266257600080fd5b853567ffffffffffffffff8082111561267a57600080fd5b61268689838a01612601565b9097509550602088013591508082111561269f57600080fd5b506126ac88828901612601565b90945092505060408601356126c081612522565b809150509295509295909350565b600080604083850312156126e157600080fd5b82356126ec81612522565b946020939093013593505050565b6000806040838503121561270d57600080fd5b50508035926020909101359150565b60008060006060848603121561273157600080fd5b833561273c81612522565b9250602084013561256181612522565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561277d5761277d61274c565b604051601f8501601f19908116603f011681019082821181831017156127a5576127a561274c565b816040528093508581528686860111156127be57600080fd5b858560208301376000602087830101525050509392505050565b600080604083850312156127eb57600080fd5b82359150602083013567ffffffffffffffff81111561280957600080fd5b8301601f8101851361281a57600080fd5b61282985823560208401612762565b9150509250929050565b81518152602080830151908201526040810161090d565b81516001600160a01b03168152602080830151908201526040810161090d565b6000806040838503121561287d57600080fd5b82359150602083013561288f81612522565b809150509250929050565b6020808252825182820181905260009190848201906040850190845b818110156128db5783516001600160a01b0316835292840192918401916001016128b6565b50909695505050505050565b602080825282518282018190526000919060409081850190868401855b828110156129315761292184835180518252602090810151910152565b9284019290850190600101612904565b5091979650505050505050565b60006020828403121561295057600080fd5b813561116e81612522565b6020808252825182820181905260009190848201906040850190845b818110156128db57835183529284019291840191600101612977565b602080825282518282018190526000919060409081850190868401855b82811015612931576129d684835180516001600160a01b03168252602090810151910152565b92840192908501906001016129b0565b600080604083850312156129f957600080fd5b8235612a0481612522565b91506020830135801515811461288f57600080fd5b60008060008060808587031215612a2f57600080fd5b8435612a3a81612522565b93506020850135612a4a81612522565b925060408501359150606085013567ffffffffffffffff811115612a6d57600080fd5b8501601f81018713612a7e57600080fd5b612a8d87823560208401612762565b91505092959194509250565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015612aee57603f19888603018452612adc8583516125c2565b94509285019290850190600101612ac0565b5092979650505050505050565b60008060408385031215612b0e57600080fd5b8235612b1981612522565b9150602083013561288f81612522565b6545524337323160d01b815260609290921b6bffffffffffffffffffffffff19166006830152601a820152603a0190565b600181811c90821680612b6e57607f821691505b6020821081036108bb57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201612bb657612bb6612b8e565b5060010190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b65416e7955726960d01b815260008251612c2f81600685016020870161259e565b9190910160060192915050565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612c6457600080fd5b815161116e81612522565b601f821115610d8b57600081815260208120601f850160051c81016020861015612c965750805b601f850160051c820191505b81811015612cb557828155600101612ca2565b505050505050565b815167ffffffffffffffff811115612cd757612cd761274c565b612ceb81612ce58454612b5a565b84612c6f565b602080601f831160018114612d205760008415612d085750858301515b600019600386901b1c1916600185901b178555612cb5565b600085815260208120601f198616915b82811015612d4f57888601518255948401946001909101908401612d30565b5085821015612d6d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612d8f57600080fd5b5051919050565b8082018082111561090d5761090d612b8e565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b606081526000612de6606083018789612da9565b8281036020840152612df9818688612da9565b9150508260408301529695505050505050565b8181038181111561090d5761090d612b8e565b634e487b7160e01b600052603160045260246000fd5b67ffffffffffffffff831115612e4d57612e4d61274c565b612e6183612e5b8354612b5a565b83612c6f565b6000601f841160018114612e955760008515612e7d5750838201355b600019600387901b1c1916600186901b178355610984565b600083815260209020601f19861690835b82811015612ec65786850135825560209485019460019092019101612ea6565b5086821015612ee35760001960f88860031b161c19848701351681555b505060018560011b018355505050505056fea264697066735822122034134ebbdfe4a1f502db962d8a4a084617648da0ea6b758385e8b748935df83964736f6c63430008120033
Deployed ByteCode
0x608060405234801561001057600080fd5b50600436106103415760003560e01c80636352211e116101b8578063a22cb46511610104578063c87b56dd116100a2578063e985e9c51161007c578063e985e9c514610804578063ed386e6514610840578063ed6223cf14610853578063f61087f61461086657600080fd5b8063c87b56dd146107c3578063cf101ac2146106aa578063e64f2baa146107e457600080fd5b8063ba27f58d116100de578063ba27f58d14610777578063c1cd4f821461078a578063c5a5ed511461079d578063c70881c5146107b057600080fd5b8063a22cb4651461073e578063ac150a5414610751578063b88d4fde1461076457600080fd5b80637803f217116101715780639037c0f91161014b5780639037c0f9146106e357806395d89b411461070357806397ce7df61461070b5780639cc7f7081461071e57600080fd5b80637803f217146106aa578063782f08ae146106bd5780638fd6dc39146106d057600080fd5b80636352211e1461062b5780636c217e121461063e5780636d37d2741461065157806370a082311461066457806373fbe0121461067757806376bac0251461068a57600080fd5b80632ea24efc116102925780634aa7b87a116102305780635c369ec31161020a5780635c369ec3146105c55780635cb46be7146105e55780635e9f678b146105f85780635f799cc61461061857600080fd5b80634aa7b87a1461053d5780635440522b146105505780635956da73146105b257600080fd5b806342c1721f1161026c57806342c1721f146104aa57806348d1b16c146104bd578063493fa4dc146104d05780634a7906b9146104e457600080fd5b80632ea24efc1461047157806342842e0e1461048457806342966c681461049757600080fd5b8063081812fc116102ff57806318160ddd116102d957806318160ddd1461043057806321cb72271461043857806323b872dd1461044b578063288893d61461045e57600080fd5b8063081812fc146103df578063095ea7b31461040a5780631801fbe51461041d57600080fd5b8062fba0271461034657806301ffc9a71461036c5780630370a1611461038f578063040f7618146103a457806306fdde03146103b7578063077f224a146103cc575b600080fd5b6103596103543660046124df565b610879565b6040519081526020015b60405180910390f35b61037f61037a3660046124f8565b6108c1565b6040519015158152602001610363565b6103a261039d36600461253a565b610913565b005b6103a26103b2366004612572565b61098b565b6103bf610a0b565b60405161036391906125ee565b6103a26103da36600461264a565b610a9d565b6103f26103ed3660046124df565b610be6565b6040516001600160a01b039091168152602001610363565b6103a26104183660046126ce565b610c7b565b61035961042b3660046126fa565b610d90565b601e54610359565b6103a26104463660046126fa565b610e58565b6103a261045936600461271c565b610e9b565b6103a261046c3660046126fa565b610ec1565b61035961047f36600461253a565b610f04565b6103a261049236600461271c565b610fd2565b6103a26104a53660046124df565b610fed565b6103a26104b83660046127d8565b6110b2565b6103596104cb3660046124df565b611127565b6103596104de3660046124df565b50600090565b6105306104f23660046124df565b604080518082019091526000808252602082015250600090815260116020908152604091829020825180840190935280548352600101549082015290565b6040516103639190612833565b61035961054b3660046124df565b611175565b6105a561055e3660046124df565b604080518082019091526000808252602082015250600090815260106020908152604091829020825180840190935280546001600160a01b03168352600101549082015290565b604051610363919061284a565b6103a26105c036600461286a565b6111bc565b6105d86105d33660046124df565b6111ff565b604051610363919061289a565b6103596105f3366004612572565b611249565b61060b6106063660046124df565b611309565b60405161036391906128e7565b6103bf6106263660046124df565b61144c565b6103f26106393660046124df565b6114ee565b61035961064c3660046127d8565b6115a4565b61035961065f3660046124df565b61163f565b61035961067236600461293e565b611686565b6103a26106853660046126fa565b6117b4565b61069d6106983660046124df565b61184e565b604051610363919061295b565b6103596106b83660046124df565b611898565b6103a26106cb3660046127d8565b6118dc565b6103596106de3660046124df565b6119b4565b6106f66106f13660046124df565b6119fb565b6040516103639190612993565b6103bf611b3a565b6103596107193660046124df565b611b49565b61035961072c3660046124df565b6000908152601d602052604090205490565b6103a261074c3660046129e6565b611b90565b6103bf61075f3660046124df565b611b9f565b6103a2610772366004612a19565b611c71565b61069d6107853660046124df565b611c9c565b6103a26107983660046126fa565b611ce6565b600a546103f2906001600160a01b031681565b6103a26107be3660046126fa565b611d29565b6103bf6107d13660046124df565b5060408051602081019091526000815290565b6107f76107f23660046124df565b611d6c565b6040516103639190612a99565b61037f610812366004612afb565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6103a261084e36600461286a565b611eff565b61069d6108613660046124df565b611f42565b6103596108743660046124df565b611f8c565b6000818152601c6020526040812054829082036108a9576040516366012df560e11b815260040160405180910390fd5b6000838152600b602052604090205491505b50919050565b60006001600160e01b031982166380ac58cd60e01b14806108f257506001600160e01b03198216635b5e139f60e01b145b8061090d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b600a546001600160a01b0316331461093e576040516302b6341b60e41b815260040160405180910390fd5b60008282604051602001610953929190612b29565b60408051601f1981840301815291815281516020928301206000878152601690935291209091506109849082611fd3565b5050505050565b600a546001600160a01b031633146109b6576040516302b6341b60e41b815260040160405180910390fd5b604051634e6f746560e01b6020820152602481018390526044810182905260009060640160408051601f1981840301815291815281516020928301206000878152601790935291209091506109849082611fd3565b606060008054610a1a90612b5a565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4690612b5a565b8015610a935780601f10610a6857610100808354040283529160200191610a93565b820191906000526020600020905b815481529060010190602001808311610a7657829003601f168201915b5050505050905090565b601a54600290610100900460ff16158015610abf5750601a5460ff8083169116105b610b275760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b601a805461ffff191660ff831617610100179055600a80546001600160a01b0384166001600160a01b0319909116179055601b54601e55610b6a86868686611fdf565b6040514281527fcfdec2ffedf2f5ec02de6f351c5f9b6150601f657926e9e87b16390d562af4e79060200160405180910390a1601a805461ff001916905560405160ff821681527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050505050565b6000818152600260205260408120546001600160a01b0316610c5f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b1e565b506000908152600460205260409020546001600160a01b031690565b6000610c8682612030565b9050806001600160a01b0316836001600160a01b031603610cf35760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610b1e565b336001600160a01b0382161480610d0f5750610d0f8133610812565b610d815760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b1e565b610d8b83836120a7565b505050565b600a546000906001600160a01b03163314610dbe576040516302b6341b60e41b815260040160405180910390fd5b601b60008154610dcd90612ba4565b91829055506000818152600b60209081526040808320869055601c8252808320879055868352601d9091528120805492935090610e0983612ba4565b9091555050601e8054906000610e1e83612ba4565b9091555050604051819084906000907f7fa9aafeb8bb803d77de5d84bc2f2edbd842ca91b20cd5020aa21dfe26ab0be9908290a492915050565b600a546001600160a01b03163314610e83576040516302b6341b60e41b815260040160405180910390fd5b6000828152600c60205260409020610d8b9082611fd3565b610ea53382612115565b610d8b5760405162461bcd60e51b8152600401610b1e90612bbd565b600a546001600160a01b03163314610eec576040516302b6341b60e41b815260040160405180910390fd5b6000828152600c60205260409020610d8b908261220c565b600a546000906001600160a01b03163314610f32576040516302b6341b60e41b815260040160405180910390fd5b60008383604051602001610f47929190612b29565b60405160208183030381529060405280519060200120905084600014610f81576000858152601660205260409020610f7f908261220c565b505b6040805180820182526001600160a01b0380871682526020808301878152600086815260109092529390209151825491166001600160a01b0319909116178155905160019091015590509392505050565b610d8b83838360405180602001604052806000815250611c71565b600a546001600160a01b03163314611018576040516302b6341b60e41b815260040160405180910390fd5b6000818152601c602052604081205490819003611048576040516366012df560e11b815260040160405180910390fd5b6000818152601d602090815260408083208054600019908101909155601e80549091019055848352600b8252808320839055601c90915280822082905551839183917f410c5c259085cde81fedf70c1aa308ec839373c26e9b7ada6560a2aca0254eb69190a35050565b600a546001600160a01b031633146110dd576040516302b6341b60e41b815260040160405180910390fd5b6000816040516020016110f09190612c0e565b60408051601f1981840301815291815281516020928301206000868152601990935291209091506111219082611fd3565b50505050565b6000818152601c602052604081205482908203611157576040516366012df560e11b815260040160405180910390fd5b6000838152600c6020526040902061116e90612218565b9392505050565b6000818152601c6020526040812054829082036111a5576040516366012df560e11b815260040160405180910390fd5b600083815260196020526040902061116e90612218565b600a546001600160a01b031633146111e7576040516302b6341b60e41b815260040160405180910390fd5b6000828152600d60205260409020610d8b9082612222565b6000818152601c602052604081205460609183919003611232576040516366012df560e11b815260040160405180910390fd5b6000838152600d6020526040902061116e90612237565b600a546000906001600160a01b03163314611277576040516302b6341b60e41b815260040160405180910390fd5b604051634e6f746560e01b60208201526024810184905260448101839052600090606401604051602081830303815290604052805190602001209050846000146112d55760008581526017602052604090206112d3908261220c565b505b6040805180820182529485526020808601948552600083815260119091522093518455915160019093019290925592915050565b6000818152601c60205260408120546060918391900361133c576040516366012df560e11b815260040160405180910390fd5b600083815260176020526040812061135390612237565b9050805167ffffffffffffffff81111561136f5761136f61274c565b6040519080825280602002602001820160405280156113b457816020015b604080518082019091526000808252602082015281526020019060019003908161138d5790505b50925060005b81518110156114445760008282815181106113d7576113d7612c3c565b60200260200101519050601160008281526020019081526020016000206040518060400160405290816000820154815260200160018201548152505085838151811061142557611425612c3c565b602002602001018190525050808061143c90612ba4565b9150506113ba565b505050919050565b600081815260136020526040902080546060919061146990612b5a565b80601f016020809104026020016040519081016040528092919081815260200182805461149590612b5a565b80156114e25780601f106114b7576101008083540402835291602001916114e2565b820191906000526020600020905b8154815290600101906020018083116114c557829003601f168201915b50505050509050919050565b6000818152601c60205260408120548290820361151e576040516366012df560e11b815260040160405180910390fd5b6000838152601c602052604080822054600a5491516331a9108f60e11b8152600481018290529092916001600160a01b031690636352211e90602401602060405180830381865afa158015611577573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159b9190612c52565b95945050505050565b600a546000906001600160a01b031633146115d2576040516302b6341b60e41b815260040160405180910390fd5b6000826040516020016115e59190612c0e565b6040516020818303038152906040528051906020012090508360001461161f57600084815260196020526040902061161d908261220c565b505b60008181526013602052604090206116378482612cbd565b509392505050565b6000818152601c60205260408120548290820361166f576040516366012df560e11b815260040160405180910390fd5b600083815260166020526040902061116e90612218565b600a546040516370a0823160e01b81526001600160a01b03838116600483015260009283929116906370a0823190602401602060405180830381865afa1580156116d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116f89190612d7d565b905060005b818110156117ad57600a54604051632f745c5960e01b81526001600160a01b038681166004830152602482018490526000921690632f745c5990604401602060405180830381865afa158015611757573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061177b9190612d7d565b6000818152601d60205260409020549091506117979085612d96565b93505080806117a590612ba4565b9150506116fd565b5050919050565b600a546001600160a01b031633146117df576040516302b6341b60e41b815260040160405180910390fd5b6000828152601c602052604081205483910361180e576040516366012df560e11b815260040160405180910390fd5b6000838152600b602052604080822084905551839185917ff0aea9f7b630d17e54614f5667704230d832f3c25c0ebbbd2cd7b52914ce11aa9190a3505050565b6000818152601c602052604081205460609183919003611881576040516366012df560e11b815260040160405180910390fd5b600083815260196020526040902061116e90612237565b6000818152601c6020526040812054829082036118c8576040516366012df560e11b815260040160405180910390fd5b50506000908152601c602052604090205490565b6000828152601c602052604081205483910361190b576040516366012df560e11b815260040160405180910390fd5b600a546001600160a01b03163314801590611940575061192a836114ee565b6001600160a01b0316336001600160a01b031614155b1561195e57604051631a64ce6560e11b815260040160405180910390fd5b60008381526015602052604090206119768382612cbd565b50827f6d10c59cedadc720a2e20f54f0a461ef82bd35f762430e32ef049dd6d7fc2730836040516119a791906125ee565b60405180910390a2505050565b6000818152601c6020526040812054829082036119e4576040516366012df560e11b815260040160405180910390fd5b6000838152600e6020526040902061116e90612218565b6000818152601c602052604081205460609183919003611a2e576040516366012df560e11b815260040160405180910390fd5b6000838152601660205260408120611a4590612237565b9050805167ffffffffffffffff811115611a6157611a6161274c565b604051908082528060200260200182016040528015611aa657816020015b6040805180820190915260008082526020820152815260200190600190039081611a7f5790505b50925060005b8151811015611444576000828281518110611ac957611ac9612c3c565b602090810291909101810151600081815260108352604090819020815180830190925280546001600160a01b0316825260010154928101929092528651909250869084908110611b1b57611b1b612c3c565b6020026020010181905250508080611b3290612ba4565b915050611aac565b606060018054610a1a90612b5a565b6000818152601c602052604081205482908203611b79576040516366012df560e11b815260040160405180910390fd5b6000838152600d6020526040902061116e90612218565b611b9b338383612244565b5050565b6000818152601c602052604081205460609183919003611bd2576040516366012df560e11b815260040160405180910390fd5b60008381526015602052604090208054611beb90612b5a565b80601f0160208091040260200160405190810160405280929190818152602001828054611c1790612b5a565b8015611c645780601f10611c3957610100808354040283529160200191611c64565b820191906000526020600020905b815481529060010190602001808311611c4757829003601f168201915b5050505050915050919050565b611c7b3383612115565b611c975760405162461bcd60e51b8152600401610b1e90612bbd565b611121565b6000818152601c602052604081205460609183919003611ccf576040516366012df560e11b815260040160405180910390fd5b6000838152600c6020526040902061116e90612237565b600a546001600160a01b03163314611d11576040516302b6341b60e41b815260040160405180910390fd5b6000828152600e60205260409020610d8b908261220c565b600a546001600160a01b03163314611d54576040516302b6341b60e41b815260040160405180910390fd5b6000828152600e60205260409020610d8b9082611fd3565b6000818152601c602052604081205460609183919003611d9f576040516366012df560e11b815260040160405180910390fd5b6000838152601960205260408120611db690612237565b9050805167ffffffffffffffff811115611dd257611dd261274c565b604051908082528060200260200182016040528015611e0557816020015b6060815260200190600190039081611df05790505b50925060005b8151811015611444576000828281518110611e2857611e28612c3c565b60200260200101519050601360008281526020019081526020016000208054611e5090612b5a565b80601f0160208091040260200160405190810160405280929190818152602001828054611e7c90612b5a565b8015611ec95780601f10611e9e57610100808354040283529160200191611ec9565b820191906000526020600020905b815481529060010190602001808311611eac57829003601f168201915b5050505050858381518110611ee057611ee0612c3c565b6020026020010181905250508080611ef790612ba4565b915050611e0b565b600a546001600160a01b03163314611f2a576040516302b6341b60e41b815260040160405180910390fd5b6000828152600d60205260409020610d8b9082612312565b6000818152601c602052604081205460609183919003611f75576040516366012df560e11b815260040160405180910390fd5b6000838152600e6020526040902061116e90612237565b6000818152601c602052604081205482908203611fbc576040516366012df560e11b815260040160405180910390fd5b600083815260176020526040902061116e90612218565b600061116e8383612327565b611feb8484848461241a565b7f414cd0b34676984f09a5f76ce9718d4062e50283abe0e7e274a9a5b4e0c99c308484848442604051612022959493929190612dd2565b60405180910390a150505050565b6000818152600260205260408120546001600160a01b03168061090d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610b1e565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906120dc82612030565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661218e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b1e565b600061219983612030565b9050806001600160a01b0316846001600160a01b031614806121d45750836001600160a01b03166121c984610be6565b6001600160a01b0316145b8061220457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b600061116e8383612435565b600061090d825490565b600061116e836001600160a01b038416612327565b6060600061116e83612484565b816001600160a01b0316836001600160a01b0316036122a55760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b1e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b600061116e836001600160a01b038416612435565b6000818152600183016020526040812054801561241057600061234b600183612e0c565b855490915060009061235f90600190612e0c565b90508181146123c457600086600001828154811061237f5761237f612c3c565b90600052602060002001549050808760000184815481106123a2576123a2612c3c565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806123d5576123d5612e1f565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061090d565b600091505061090d565b6000612427848683612e35565b506001610984828483612e35565b600081815260018301602052604081205461247c5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561090d565b50600061090d565b6060816000018054806020026020016040519081016040528092919081815260200182805480156114e257602002820191906000526020600020905b8154815260200190600101908083116124c05750505050509050919050565b6000602082840312156124f157600080fd5b5035919050565b60006020828403121561250a57600080fd5b81356001600160e01b03198116811461116e57600080fd5b6001600160a01b038116811461253757600080fd5b50565b60008060006060848603121561254f57600080fd5b83359250602084013561256181612522565b929592945050506040919091013590565b60008060006060848603121561258757600080fd5b505081359360208301359350604090920135919050565b60005b838110156125b95781810151838201526020016125a1565b50506000910152565b600081518084526125da81602086016020860161259e565b601f01601f19169290920160200192915050565b60208152600061116e60208301846125c2565b60008083601f84011261261357600080fd5b50813567ffffffffffffffff81111561262b57600080fd5b60208301915083602082850101111561264357600080fd5b9250929050565b60008060008060006060868803121561266257600080fd5b853567ffffffffffffffff8082111561267a57600080fd5b61268689838a01612601565b9097509550602088013591508082111561269f57600080fd5b506126ac88828901612601565b90945092505060408601356126c081612522565b809150509295509295909350565b600080604083850312156126e157600080fd5b82356126ec81612522565b946020939093013593505050565b6000806040838503121561270d57600080fd5b50508035926020909101359150565b60008060006060848603121561273157600080fd5b833561273c81612522565b9250602084013561256181612522565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561277d5761277d61274c565b604051601f8501601f19908116603f011681019082821181831017156127a5576127a561274c565b816040528093508581528686860111156127be57600080fd5b858560208301376000602087830101525050509392505050565b600080604083850312156127eb57600080fd5b82359150602083013567ffffffffffffffff81111561280957600080fd5b8301601f8101851361281a57600080fd5b61282985823560208401612762565b9150509250929050565b81518152602080830151908201526040810161090d565b81516001600160a01b03168152602080830151908201526040810161090d565b6000806040838503121561287d57600080fd5b82359150602083013561288f81612522565b809150509250929050565b6020808252825182820181905260009190848201906040850190845b818110156128db5783516001600160a01b0316835292840192918401916001016128b6565b50909695505050505050565b602080825282518282018190526000919060409081850190868401855b828110156129315761292184835180518252602090810151910152565b9284019290850190600101612904565b5091979650505050505050565b60006020828403121561295057600080fd5b813561116e81612522565b6020808252825182820181905260009190848201906040850190845b818110156128db57835183529284019291840191600101612977565b602080825282518282018190526000919060409081850190868401855b82811015612931576129d684835180516001600160a01b03168252602090810151910152565b92840192908501906001016129b0565b600080604083850312156129f957600080fd5b8235612a0481612522565b91506020830135801515811461288f57600080fd5b60008060008060808587031215612a2f57600080fd5b8435612a3a81612522565b93506020850135612a4a81612522565b925060408501359150606085013567ffffffffffffffff811115612a6d57600080fd5b8501601f81018713612a7e57600080fd5b612a8d87823560208401612762565b91505092959194509250565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015612aee57603f19888603018452612adc8583516125c2565b94509285019290850190600101612ac0565b5092979650505050505050565b60008060408385031215612b0e57600080fd5b8235612b1981612522565b9150602083013561288f81612522565b6545524337323160d01b815260609290921b6bffffffffffffffffffffffff19166006830152601a820152603a0190565b600181811c90821680612b6e57607f821691505b6020821081036108bb57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201612bb657612bb6612b8e565b5060010190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b65416e7955726960d01b815260008251612c2f81600685016020870161259e565b9190910160060192915050565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612c6457600080fd5b815161116e81612522565b601f821115610d8b57600081815260208120601f850160051c81016020861015612c965750805b601f850160051c820191505b81811015612cb557828155600101612ca2565b505050505050565b815167ffffffffffffffff811115612cd757612cd761274c565b612ceb81612ce58454612b5a565b84612c6f565b602080601f831160018114612d205760008415612d085750858301515b600019600386901b1c1916600185901b178555612cb5565b600085815260208120601f198616915b82811015612d4f57888601518255948401946001909101908401612d30565b5085821015612d6d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612d8f57600080fd5b5051919050565b8082018082111561090d5761090d612b8e565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b606081526000612de6606083018789612da9565b8281036020840152612df9818688612da9565b9150508260408301529695505050505050565b8181038181111561090d5761090d612b8e565b634e487b7160e01b600052603160045260246000fd5b67ffffffffffffffff831115612e4d57612e4d61274c565b612e6183612e5b8354612b5a565b83612c6f565b6000601f841160018114612e955760008515612e7d5750838201355b600019600387901b1c1916600186901b178355610984565b600083815260209020601f19861690835b82811015612ec65786850135825560209485019460019092019101612ea6565b5086821015612ee35760001960f88860031b161c19848701351681555b505060018560011b018355505050505056fea264697066735822122034134ebbdfe4a1f502db962d8a4a084617648da0ea6b758385e8b748935df83964736f6c63430008120033